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

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-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 instructe

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 librarie

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 librarie

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 Peter O'Gorman
On 04/01/2010 12:42 AM, David Lowe wrote: > On 31 Mar, 2010, at 4:14 PM, Peter O'Gorman wrote: > >> On 03/31/2010 05:55 PM, David Lowe wrote: >> >>> With me being a beginner at this, can it ever be the case that a >>> package got linked in due to poor configuration but is never actually used?

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 is useful to find out what's >> being linked to by a binary, and dpkg -S is useful to figure out >> what package provides a file (such as a dylib fro

Re: [Fink-devel] New Freeciv Package

2010-03-31 Thread David Lowe
On 31 Mar, 2010, at 12:33 PM, Hanspeter Niederstrasser wrote: > In case you didn't know, otool -L is useful to find out what's > being linked to by a binary, and dpkg -S is useful to figure out > what package provides a file (such as a dylib from the otool -L output). With me being a

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

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 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 (buil

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 is useful to find out what's being linked to by a binary, and dpkg -S is useful to figure out what package provides a file (such as a dylib from the otool -L output). >> And ./configure checks for libggz,

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

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. $ otoo

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 >>> t

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], s

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 burd