Clone in a terminal:
Commit cc332b1
Johan Mattsson - 2013-02-25T23:18:27+00:00
cc332b181310b2d42bfa6ed9f354109047515e1cjohan.mattsson.m@gmail.com

Correct location in ID loadcommand for Macports

Changed files (3)

Diff

diff --git a/NEWS b/NEWSindex e131010..748eeba 100644--- a/NEWS+++ b/NEWS@@ -1,3 +1,21 @@+birdfont (0.16) stable;++  * Correct location in ID loadcommand for Macports++ -- Johan Mattsson <johan.mattsson.m@gmail.com>  Sun Feb 25 23:46:00 CET 2013++birdfont (0.14) stable;++  * Macports file++ -- Johan Mattsson <johan.mattsson.m@gmail.com>  Sun Feb 25 23:46:00 CET 2013++birdfont (0.14) stable;++  * Build on Linux++ -- Johan Mattsson <johan.mattsson.m@gmail.com>  Sun Feb 25 23:46:00 CET 2013+ birdfont (0.13) stable;    * Bugfixesdiff --git a/scripts/macport_build.py b/scripts/macport_build.pyindex 7f621c8..369ea33 100755--- a/scripts/macport_build.py+++ b/scripts/macport_build.py@@ -15,7 +15,7 @@ def run(cmd): 		print("Error: " + cmd) 		exit(1) -def build ():+def build (prefix): 	#libbirdfont 	run("rm -rf build") 	run("mkdir -p build/libbirdfont")@@ -29,6 +29,7 @@ def build ():  	run("gcc -dynamiclib -Wl,-headerpad_max_install_names,-undefined,dynamic_lookup,-compatibility_version,1.0,-current_version,1.0,-install_name,/usr/local/lib/libbirdfont.dylib -shared build/libbirdfont/*.o $(pkg-config --cflags --libs libxml-2.0) $(pkg-config --cflags --libs gio-2.0) $(pkg-config --cflags --libs cairo) $(pkg-config --cflags --libs glib-2.0) $(pkg-config --cflags --libs gdk-pixbuf-2.0) $(pkg-config --cflags --libs webkit-1.0) -shared -o libbirdfont.dylib") 	run("mv libbirdfont.dylib build/bin/")+	run ("install_name_tool -id " + prefix + "/lib/libbirdfont.dylib build/bin/libbirdfont.dylib")  	# birdfont 	run("mkdir -p build/birdfont")@@ -68,13 +69,14 @@ def build_app ():  parser = OptionParser() parser.add_option ("-a", "--application-launcher", dest="app", help="create application launcher in /Applications, set to no to skip it.", metavar="APP")+parser.add_option ("-p", "--prefix", dest="prefix", help="install prefix", metavar="PREFIX")  (options, args) = parser.parse_args() -if not options.app:-	options.prefix = "yes"+if not options.prefix:+	options.prefix = "/opt/local" -build ()+build (options.prefix)  if not options.app == "no": 	build_app ()diff --git a/scripts/version.py b/scripts/version.pyindex 5fa45da..502f4ed 100644--- a/scripts/version.py+++ b/scripts/version.py@@ -1,2 +1,2 @@ #!/usr/bin/python-VERSION = '0.15'+VERSION = '0.15-beta1'

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112