On 3/30/10 8:14 PM, David Lowe wrote:
>       Before i put this in the tracker, i'd welcome any and all comments.

You're not declaring several dependencies (libgettext8-shlibs, 
cairo-shlibs, libiconv, among others).  Also, there's a dependency on 
libgl, but I don't see any linkage to it.

$ otool -L /sw/bin/freeciv-gtk2 | sort
        /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 
(compatibility version 45.0.0, current version 949.54.0)
        
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
 (compatibility version 1.0.0, current version 34.0.0)
        /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa 
(compatibility version 1.0.0, current version 12.0.0)
        
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 
(compatibility version 150.0.0, current version 476.19.0)
        /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation 
(compatibility version 300.0.0, current version 677.26.0)
        /sw/lib/freetype219/lib/libfreetype.6.dylib (compatibility version 
10.0.0, current version 10.19.0)
        /sw/lib/libSDL-1.2.0.dylib (compatibility version 12.0.0, current 
version 12.3.0)
        /sw/lib/libSDL_mixer-1.2.0.dylib (compatibility version 11.0.0, current 
version 11.1.0)
        /sw/lib/libatk-1.0.0.dylib (compatibility version 2610.0.0, current 
version 2610.1.0)
        /sw/lib/libbz2.1.dylib (compatibility version 1.0.1, current version 
1.0.5)
        /sw/lib/libcairo.2.dylib (compatibility version 10803.0.0, current 
version 10803.8.0)
        /sw/lib/libexpat.1.dylib (compatibility version 7.0.0, current version 
7.2.0)
        /sw/lib/libgdk-x11-2.0.0.dylib (compatibility version 1601.0.0, current 
version 1601.6.0)
        /sw/lib/libgdk_pixbuf-2.0.0.dylib (compatibility version 1601.0.0, 
current version 1601.6.0)
        /sw/lib/libgio-2.0.0.dylib (compatibility version 2001.0.0, current 
version 2001.5.0)
        /sw/lib/libglib-2.0.0.dylib (compatibility version 2001.0.0, current 
version 2001.5.0)
        /sw/lib/libgmodule-2.0.0.dylib (compatibility version 2001.0.0, current 
version 2001.5.0)
        /sw/lib/libgobject-2.0.0.dylib (compatibility version 2001.0.0, current 
version 2001.5.0)
        /sw/lib/libgtk-x11-2.0.0.dylib (compatibility version 1601.0.0, current 
version 1601.6.0)
        /sw/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 
7.0.0)
        /sw/lib/libintl.8.dylib (compatibility version 9.0.0, current version 
9.2.0)
        /sw/lib/pango-ft219/lib/libpango-1.0.0.dylib (compatibility version 
2401.0.0, current version 2401.5.0)
        /sw/lib/pango-ft219/lib/libpangocairo-1.0.0.dylib (compatibility 
version 2401.0.0, current version 2401.5.0)
        /sw/lib/pango-ft219/lib/libpangoft2-1.0.0.dylib (compatibility version 
2401.0.0, current version 2401.5.0)
        /usr/X11/lib/libfontconfig.1.dylib (compatibility version 6.0.0, 
current version 6.1.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 111.1.4)
        /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 
1.0.0)
        /usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 
7.0.0)
        /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 
227.0.0)
        /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 
1.2.3)

It's also linking to both /usr/lib/libiconv.2.dylib and 
/sw/lib/libiconv.2.dylib, which is likely to cause problems.  There's 
probably a way to reorder the linker flags in some Makefile to have it 
link only to Fink's libiconv.

And ./configure checks for libggz, but I don't know if it actually uses 
it if found.  If libggz is being used if present, your options then are 
to either 1) explicitly declare a dependency on libggz so that it will 
always be used, or 2) disable using libggz (if possible) to never use it.

Running /sw/bin/civmanual does nothing, by the way.

Is the SDL frontend still experimental?  Since it's only linking to 
/usr/X11/lib/libfontconfig.1.dylib but also to libSDL (probably through 
SDL-mixer), maybe the SDL frontend will work with sounds.

Fink's .info file variants are perfect for this.  Within one single 
file, you can have the descriptions for two similar packages (this is 
very common in Qt packages that have both x11 and aqua/mac variants 
available).  So you could have freeciv/freeciv-sdl (probably best for 
compatibility with older versions), or freeciv-gtk/freeciv-sdl, etc 
(exact naming up to you).  After you stabilize the current version, if 
you wish to set up variants, I can walk you through the process of doing 
that.

Hanspeter

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to