Skip to content

Instantly share code, notes, and snippets.

class Libvisio < Formula
desc "Interpret and import Visio diagrams"
homepage "https://wiki.documentfoundation.org/DLP/Libraries/libvisio"
url "http://dev-www.libreoffice.org/src/libvisio/libvisio-0.1.3.tar.xz"
sha256 "943e03b1e6c969af4c2133a6671c9630adf3aaf8d460156744a28f58c9f47cd8"
bottle do
cellar :any
sha256 "2baf447a0865b93ddcf93afb2fbbe0ab2c0f0e37f0d5ebe6d2f7d4b618e428f2" => :yosemite
sha256 "b2432c53569d0c8e0eb0befcb3b2f10ebdebcf8ca09c6f06299486652429a075" => :mavericks
2015-10-24 16:39:24 -0500
./configure
--prefix=/usr/local/Cellar/libetonyek/0.1.3
checking hash container type... c++0x
configure: creating ./config.status
config.status: creating Makefile
configure: creating ./config.status
config.status: creating Makefile
class Swatchbooker < Formula
desc "Reads color swatches from various file formats"
homepage "http://www.selapa.net/swatchbooker/"
url "https://launchpad.net/swatchbooker/trunk/0.7.3/+download/SwatchBooker-0.7.3.tar.gz"
sha256 "c0c8bf038156337f1eebdf6f7c99f5b7a8e8f9a332cd625c57269ddc8ba18eb7"
resource "Pillow" do
url "https://pypi.python.org/packages/source/P/Pillow/Pillow-2.9.0.zip"
sha256 "d1db8dfed77547076037d589b598e04f2cbc1a7835d3d3f137bf20c8994854d5"
end
2015-11-17 11:06:58 -0600
./configure
--without-docs
-disable-dependency-tracking
--enable-static=no
--prefix=/usr/local/Cellar/libvisio/0.1.3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
@luzpaz
luzpaz / SVG-Elements-in-Scribus.md
Last active November 30, 2015 18:06
SVG elements supported in Scribus 1.5.x
Category SVG Scribus 1.5 Notes
Shape circle 👍
Shape ellipse 👍
Shape line 👍
Shape path 👍
Shape polygon 👍
Shape polyline 👍
Shape rect 👍
Container a 👍
🍎 Test:~ sphenoid$ brew install https://raw.githubusercontent.com/luzpaz/homebrew/swatchbooker-sans-pil/Library/Formula/swatchbooker.rb --verbose
/usr/bin/curl -fLA Homebrew 0.9.5 (Ruby 2.0.0-481; OS X 10.10.5) https://raw.githubusercontent.com/luzpaz/homebrew/swatchbooker-sans-pil/Library/Formula/swatchbooker.rb -o /Library/Caches/Homebrew/Formula/swatchbooker.rb
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1754 100 1754 0 0 2048 0 --:--:-- --:--:-- --:--:-- 2049
==> Downloading https://launchpad.net/swatchbooker/trunk/0.7.3/+download/SwatchBooker-0.7.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/swatchbooker-0.7.3.tar.gz
==> Verifying swatchbooker-0.7.3.tar.gz checksum
tar xf /Library/Caches/Homebrew/swatchbooker-0.7.3.tar.gz
==> Patching
@luzpaz
luzpaz / swatchbooker.rb
Created December 26, 2015 12:20
Need to get working
class Swatchbooker < Formula
desc "Reads color swatches from various file formats"
homepage "http://www.selapa.net/swatchbooker/"
url "https://launchpad.net/swatchbooker/trunk/0.7.3/+download/SwatchBooker-0.7.3.tar.gz"
sha256 "c0c8bf038156337f1eebdf6f7c99f5b7a8e8f9a332cd625c57269ddc8ba18eb7"
resource "Pillow" do
url "https://pypi.python.org/packages/source/P/Pillow/Pillow-2.9.0.zip"
sha256 "d1db8dfed77547076037d589b598e04f2cbc1a7835d3d3f137bf20c8994854d5"
end
class Scribusale< Formula
homepage 'https://github.com/aoloe/scribus'
head "https://github.com/aoloe/scribus.git", :branch => "select-all"
depends_on 'cmake' => :build
depends_on 'little-cms2'
depends_on 'qt5'
depends_on 'cairo' # => "without-x11"
depends_on 'jpeg'
depends_on 'libtiff'
# script to download the xml files for the Resource Manager,
# 1) parse URLs out of http://services.scribus.net/scribus_spell_dicts.xml
# 2) check if the URLs and the expected files still download ok.
# Bonus 3) If possible, if there is a 301 returned, use that data to return to use to update the files with
# the 301 data is a bonus, just knowing which entries in the XML files are not valid is the most important part
import requests
from xml.dom import minidom
from colorama import init, deinit, Fore, Back
# script to download the xml files for the Resource Manager,
# 1) parse URLs out of http://services.scribus.net/scribus_spell_dicts.xml
# 2) check if the URLs and the expected files still download ok.
# Bonus 3) If possible, if there is a 301 returned, use that data to return to use to update the files with
# the 301 data is a bonus, just knowing which entries in the XML files are not valid is the most important part
import requests
from xml.dom import minidom
from colorama import init, deinit, Fore, Back