On 9/10/2014 12:37 AM, Trevor Harmon wrote: > Hi, > > I’m trying to update an old package (xxdiff) for the latest Fink on OS X > 10.9. The upstream code now requires Qt 4 instead of Qt 3, but it seems the > Qt 4 packages in Fink are much different. Also I’m very rusty at writing > .infos, so I’m having difficulty understanding how to specify the Qt > dependencies. > > I tried to find some other Qt 4 app in Fink to use as an example but could > not locate one. Does anyone know of a package like this, or better yet some > docs on how to write a package that depends on Qt 4?
Fink's Qt4 (mac or x11) lives in a private directory, so you have to tell the build script where to find things. Also, the package has been split up so that the libraries are all in separate SplitOffs, so you'll need to know which libraries (or Frameworks if you decide to use the -mac variant) it needs. There is just one headers/etc package for BuildDepends: qt4-base-x11 or qt4-base-mac. CompileScript usually just needs the following line near the beginning: export PATH=%p/lib/qt4-%type_pkg[qt4]/bin:$PATH If that's not sufficient, 'fink info qt4-base-mac' has other compiler flags to try. Hanspeter ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel