Creating a native Mac OS X package for gf

Finally I found time to check the other way: I made a directory tree for GF.framework (to reside at /Library/Frameworks) and copied there the files from the Intel Mac binary distribution at gf download page.

Then, I wrote a bash script (the actual executable) setting the right values of GHOME and GF_LIB_PATH (this one pointing to the present subdirectory of the library)

Using Apple's Package Maker, I created a set for a new package. Then I:

  • Inserted the directory as a new component;

  • Added the gf logo;

  • Added the license document;

and build the package. It works for me. If you want to try it in your computer just ask.

Notes

  • To uninstall simply remove /Library/Frameworks/GF.framework

  • The package creates an alias for the gf executable in the Desktop.

Comments

New package

I attach below the package. Following the suggestion from Aarne GF_LIB_PATH now points to lib instead of lib/present. The package also creates an alias for the executable in the mac desktop.

--Jordi Saludes

Upload limit

It seems that Drupal has a limit of 8 Mb for uploaded files. Dou you know of alternative places to put the package?

--Jordi Saludes

Finally the package is here

Thomas found out that my package was much larger that it should be. It seems that, for some reason, each time I rebuilt the package the size of it increased as if the new one merged with the old.

Now the problem appears to be solved (don't ask me why) and, since the package falls under the tight size limit for Drupal uploads, I'm been able to attach it to this very page.

--Jordi Saludes

Link to /usr/local/bin

Thomas suggested to add a link to /usr/local/bin/gf. I made a new package but it takes forever to upload it, so I put it in http://www.grammaticalframework.org/~jordi/gf-3.1.6-leopard.pkg instead.

--Jordi Saludes

The package

Thanks to Thomas for providing a place. You can find the package here.

edit: You can find the package in this page instead.

--Jordi Saludes