aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/fontforge.rb
AgeCommit message (Collapse)Author
2013-10-03FontForge HEAD now requires uuidDave Crossland
Closes #22990. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-09-21fontforge: use spec depsJack Nagel
2013-09-15fontforge: fix --HEADDave Crossland
Closes #22581. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-09-05Improve python tests for brew botsSamuel John
Allow `build.with?` and similar methods to be used during the test phase. The BuildOptions (`build`) are initialized with the `Tab.used_options` unless explicitly overwritten on the command line. So basically `build.with?` works in `def install` and in `test do` as one would naively expect. (For the test, gramatically it should be `built.with?` but who cares) If a formula was installed `--with-python`, now the tests are also run `--with-python`. This enables us to use the `python do ... end` in a meaningful manner. Using `python do ... end` blocks for the tests, because the bot.brew.sh has system python per default and we need to set the PYTHONPATH for the test. Potentially to different values for Python 2.x and 3.x.
2013-09-02Fix various Python import tests.Mike McQuaid
2013-08-15Add MacOS.preferred_archMisty De Meo
Replaced the plethora of ternaries we've used all over the place to determine whether x86_64 or i386 is called for.
2013-06-03fontforge: fix X depJack Nagel
2013-06-03Python 2.x and 3.x supportSamuel John
New `depends_on :python` Dependency. New `depends_on :python3` Dependency. To avoid having multiple formulae with endings -py2 and -py3, we will handle support for different pythons (2.x vs. 3.x) in the same formula. Further brewed vs. external python will be transparently supported. The formula also gets a new object `python`, which is false if no Python is available or the user has disabled it. Otherwise it is defined and provides several support methods: python.site_packages # the site-packages in the formula's Cellar python.global_site_packages python.binary # the full path to the python binary python.prefix python.version python.version.major python.version.minor python.xy # => e.g. "python2.7" python.incdir # includes of python python.libdir # the python dylib library python.pkg_config_path # used internally by brew python.from_osx? python.framework? python.universal? python.pypy? python.standard_caveats # Text to set PYTHONPATH for python.from_osx? python.if3then3 # => "" for 2.x and to "3" for 3.x. Further, to avoid code duplication, `python` takes an optional block that is run twice if the formula defines depends_on :python AND :python3. python do system python, 'setup.py', "--prefix=#{prefix}" end Read more in the Homebrew wiki.
2013-03-05fontforge: fix compilation errors on 10.8.2Ruben Fonseca
Closes #18206. Closes #18046. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-02-23fontforge: update homepageAdam Vandenberg
2013-02-23fontforge: fix compilation without 10.7 SDKKevin Ballard
FontForge uses the FlatCarbon headers, which are gone in Mountain Lion. To fix this, the formula was adjusted to use the 10.7 SDK. However, this prevents compiling FontForge on a system without the 10.7 SDK. Fix this by replacing the FlatCarbon imports with the correct imports to the non-flat headers. Closes #17909. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-02-02fontforge: use optional depsJack Nagel
2012-11-25caveat and other cleanupsAdam Vandenberg
2012-11-19fontforge: add missing deps on png, jpeg, tiffnibbles 2bits
This commits adds recommended deps on png, jpeg, and libtiff to FontForge, otherwise it will get various build errors and runtime problems doing some font conversions. Lilypond for one needs this. Also add an option to build in Gif support to round out the image handling. Closes #16001. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-09-14Use `env`.Adam Vandenberg
2012-09-10Clean up MacOS version method usageJack Nagel
The MacOS.version? family of methods (other than "leopard?") are poorly defined and lead to confusing code. Replace them in formulae with more explicit comparisons. "MacOS.version" is a special version object that can be compared to numerics, symbols, and strings using the standard Ruby comparison methods. The old methods were moved to compat when the version comparison code was merged, and they must remain there "forever", but they should not be used in new code. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-04fontforge: fix caveats and X11 dependency.Mike McQuaid
2012-08-28fontforge: force 10.7 SDK, fix hard-coded includesnibbles 2bits
fontforge fails to build on 10.8 due to being designed for 10.7 through the use of `<FlatCarbon/Files.h>`. Force the formula to use 10.7 SDK. Patch the hard-coded paths with the HB variable `MacOS.sdk_path(10.7)}` as needed. Tested on 10.8 using clang and from XCode-4.4.1. Fixes #14421 Closes #14482. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-24FontForge: Added reason why it depends_on :xcodesamueljohn
Closes #14437. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-22FontForge: enable Spiro featuresDave Crossland
Closes #14357. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-22Fix Fontforge regression for Xcode < 4.3Max Howell
2012-08-21Fontforge works with Xcode 4.3+Max Howell
Shouldn't break for previous versions. We hope. Fixes #13635. Fixes #14097.
2012-08-21fontforge: update HEAD urlDave Crossland
Closes #14241. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-17Use new :xcode dependencyAdam Vandenberg
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-04fontforge 20120731Michael Ummels
Closes #13911. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-07-27fontforge: Enable Python extensionMichael Ummels
Build the Python extension by default and install it to the right location. Fixes #4689. Closes #12535. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-07-25Use new Xcode moduleJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-01Update formulae for XQuartz compatibilityJack Nagel
2012-04-23fontforge: fix carbon header paths, close #10572Sorin Ionescu
Signed-off-by: Adam Vandenberg <flangy@gmail.com> Find the developer prefix and use that, like MaPorts - @adamv
2012-04-01Use new fails_with DSL syntaxJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-21fontforge: Add build number to LLVM failureJørgen P. Tjernø
Tried this build with Xcode 4.2/LLVM 2336.1.00 - still fails. Builds fine with Clang. Fixes #8589. Closes #9711. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-07-29fontforge: more specific Makefile editsAdam Vandenberg
Be more specific about the edits we do to the make file. We only want to change paths in the install section near the bottom. Also take out `sudo` from the app linking instructions.
2011-06-13fontforge: add --without-python optionAdam Vandenberg
FontForge will compile with newer Homebrew-built versions of Python, but I have an older one and needed this to work to test Lilypad builds.
2011-04-04Rewrite caveats to new style.Adam Vandenberg
To make it easier to copy and paste multiline scripts from caveats, no longer use $ as a prompt marker.
2011-04-03fontforge: Python 2.7 compilation works nowAdam Vandenberg
2011-03-25Update fails_with_llvm in formulaeAdam Vandenberg
2011-03-15Add new fontforge git repo as HEADcodingisacopingstrategy
Fontforge recently switched to git: http://sourceforge.net/mailarchive/message.php?msg_id=27054558 Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-13fontforge - fix linking w/ gettext 0.18Adam Vandenberg
2011-03-12Use ruby style for inheritance.Adam Vandenberg
2011-03-01fontforge 20110222Alexis Hildebrandt
Version bump to 20110222 Add fails_with_llvm Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-22fontforge: look for png libraries in /usr/X11Michael Morgan
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-12Mark scons, cmake & pkg-config as build-time depsAdam Vandenberg
2010-09-09Update Formula: fontforgeAlexis Hildebrandt
Make formula installable as non-superuser Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-06-10fontforge 20100501kmowery
Outline font editor. Signed-off-by: Adam Vandenberg <flangy@gmail.com>