Re: [Fink-devel] New Freeciv Package

2010-04-29 Thread David Lowe
On 31 Mar, 2010, at 9:07 AM, Hanspeter Niederstrasser wrote: 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.

Re: [Fink-devel] New Freeciv Package

2010-04-29 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 4/29/10 1:30 PM, David Lowe wrote: On 31 Mar, 2010, at 9:07 AM, Hanspeter Niederstrasser wrote: 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

[Fink-devel] New Freeciv Package, Round 2

2010-04-14 Thread David Lowe
freeciv.info Description: Binary data I've left in the '-dead_strip_dylibs' stuff as i never received an answer to my previous query dated April 1st 1:47:45 PM PDT. I hope i've encapsulated all the concerns as comments in the info file itself. I also expanded the DescUsage field

Re: [Fink-devel] New Freeciv Package

2010-04-01 Thread David Lowe
On 1 Apr, 2010, at 8:38 AM, Peter O'Gorman wrote: [re-added fink-devel, please try to keep the list in CC] D'oh! Sorry!! Well, if you want to convince yourself that all the linked libraries are actually needed, you can try it once with LDFLAGS=-Wl,-dead_strip_dylibs and check to

Re: [Fink-devel] New Freeciv Package

2010-04-01 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 4/1/10 12:25 PM, David Lowe wrote: On 1 Apr, 2010, at 8:38 AM, Peter O'Gorman wrote: [re-added fink-devel, please try to keep the list in CC] D'oh! Sorry!! Well, if you want to convince yourself that all the linked libraries are

Re: [Fink-devel] New Freeciv Package

2010-04-01 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 4/1/10 12:25 PM, David Lowe wrote: On 1 Apr, 2010, at 8:38 AM, Peter O'Gorman wrote: [re-added fink-devel, please try to keep the list in CC] D'oh! Sorry!! Well, if you want to convince yourself that all the linked libraries are

Re: [Fink-devel] New Freeciv Package

2010-04-01 Thread David Lowe
On 1 Apr, 2010, at 9:28 AM, Alexander Hansen wrote: I believe putting SetLDFLAGS: -Wl,-dead_strip_dylibs in the .info file should do it. Thanks, Alexander. Based on this experiment, i've added bzip2-[shlibs/dev] and libgettext8-[shlibs/dev] to the requirements and instructed

Re: [Fink-devel] New Freeciv Package

2010-03-31 Thread Hanspeter Niederstrasser
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. $

Re: [Fink-devel] New Freeciv Package

2010-03-31 Thread David Lowe
On 31 Mar, 2010, at 9:07 AM, Hanspeter Niederstrasser wrote: 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. It's also linking to both /usr/lib/libiconv.2.dylib and

Re: [Fink-devel] New Freeciv Package

2010-03-31 Thread Hanspeter Niederstrasser
On 3/31/10 2:23 PM, David Lowe wrote: (missing deps) In case you didn't know, otool -L FOO is useful to find out what's being linked to by a binary, and dpkg -S BAR is useful to figure out what package provides a file (such as a dylib from the otool -L output). And ./configure checks for

Re: [Fink-devel] New Freeciv Package

2010-03-31 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/31/10 3:33 PM, Hanspeter Niederstrasser wrote: On 3/31/10 2:23 PM, David Lowe wrote: Evidently SDL-mixer is bringing this in. Is it okeh to leave as an implicit dependency or should i declare this? No. You should declare

Re: [Fink-devel] New Freeciv Package

2010-03-31 Thread David Lowe
On 31 Mar, 2010, at 12:41 PM, Alexander Hansen wrote: Amplifying a bit: Depends can be implicit--though if they're libraries it's normally better to spell them out. BuildDepends can *never* be implicit, because we don't currently have a mechanism to allow for their inheritance.

Re: [Fink-devel] New Freeciv Package

2010-03-31 Thread Hanspeter Niederstrasser
On 3/31/10 5:23 PM, David Lowe wrote: On 31 Mar, 2010, at 12:41 PM, Alexander Hansen wrote: Amplifying a bit: Depends can be implicit--though if they're libraries it's normally better to spell them out. BuildDepends can *never* be implicit, because we don't currently have a mechanism to

Re: [Fink-devel] New Freeciv Package

2010-03-31 Thread Peter O'Gorman
On 03/31/2010 05:55 PM, David Lowe wrote: On 31 Mar, 2010, at 12:33 PM, Hanspeter Niederstrasser wrote: In case you didn't know, otool -L FOO is useful to find out what's being linked to by a binary, and dpkg -S BAR is useful to figure out what package provides a file (such as a dylib from

[Fink-devel] New Freeciv Package

2010-03-30 Thread David Lowe
Before i put this in the tracker, i'd welcome any and all comments. freeciv.info Description: Binary data There is a known [to me] problem in that the resultant binary is not using the built in sounds. I am awaiting a reply from upstream but maybe in the meanwhile you guys

[Fink-devel] New FreeCiv Package

2010-02-25 Thread David Lowe
Greetings, FreeCiv 2.2.0 did build successfully on my system. This is still a work in progress [DescUsage at least is outdated, and i think the dependencies should be freshened], so i won't burden the list with my info file yet. However, i will be glad to share it with anybody who

Re: [Fink-devel] New FreeCiv Package

2010-02-25 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2/25/10 2:38 PM, David Lowe wrote: Greetings, FreeCiv 2.2.0 did build successfully on my system. This is still a work in progress [DescUsage at least is outdated, and i think the dependencies should be freshened], so i won't burden

Re: [Fink-devel] New FreeCiv Package

2010-02-25 Thread David Lowe
On 25 Feb, 2010, at 12:20 PM, Alexander Hansen wrote: On 2/25/10 2:38 PM, David Lowe wrote: Greetings, FreeCiv 2.2.0 did build successfully on my system. This is still a work in progress [DescUsage at least is outdated, and i think the dependencies should be freshened], so i won't

Re: [Fink-devel] New FreeCiv Package

2010-02-25 Thread Hanspeter Niederstrasser
On 2/25/10 6:19 PM, David Lowe wrote: On 25 Feb, 2010, at 12:20 PM, Alexander Hansen wrote: On 2/25/10 2:38 PM, David Lowe wrote: Greetings, FreeCiv 2.2.0 did build successfully on my system. This is still a work in progress [DescUsage at least is outdated, and i think the dependencies