Re: [Fink-devel] gnome shlib depends

2007-09-25 Thread Martin Costabel
Philip Lamb wrote:
[]

 When a package you are building has BuildDepends, you need to look into 
 the .info file of each and every one of the packages that are depended 
 upon, and add their BuildDepends to your BuildDepends line.

In addition to what Daniel said:

There are a couple of packages (two dozen or so in the gnome section) 
that help you with this by including a list of inheritable 
builddependencies. In their DescPackaging field, they say

Any package which BuildDepends on this one must also BuildDepend on:

This doesn't mean, of course, that packages which don't have this text 
can never have similar requirements.

OTOH, watching the configure output for build dependencies is not a 
purely mechanical task either. Lots of configure scripts needlessly test 
for Fortran compilers, for example, and there may be many similar tests 
for things that are never used in the package.

-- 
Martin


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] force reinstall passwd? How?

2007-09-25 Thread Randal L. Schwartz
 Randal == Randal L Schwartz [EMAIL PROTECTED] writes:

Randal The Apple migration tool apparently didn't copy over my fink-added 
users.
Randal How do I force install passwd to get them recreated?

Randal (This may be a FAQ, sorry.)

Never post before the first caffiene of the day.  fink reinstall passwd.
Got it.


-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
[EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] Tool to bundle-ize shlibs from fink

2007-09-25 Thread Philip Lamb

Hi all,

This might seem like a sacreligious quesion to ask, but has anyone  
made a tool to automate the process of bundle-izing a given set of  
shlibs from a fink installation?


By bundle-ize, I mean making a copy of a given library and all its  
dependencies that live in /sw, and rewriting (with install_name_tool)  
the install name of the libs and their connections with each other so  
that they hang off @executable_path/ instead of /sw/lib.


I ask because it could be a really useful tool for developers.. you  
generate some libraries using Fink, and then bundle them (paying  
attention to the license terms of course) inside an application which  
can then be distributed without any dependence on fink.


At the moment I'm doing this manually, but with two libraries with  
another 6 dependent libraries, its time consuming to repeat each time  
the libs change.


Regards,
Phil.

smime.p7s
Description: S/MIME cryptographic signature
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] Conditional use of InfoDocs: in .info file

2007-09-25 Thread Philip Lamb

Hi all,

The package I am curently working on has two variants, with only one  
of them building a particular .info doc (to be installed in /sw/share/ 
info). However, it seems that the InfoDocs field in fink doesn't  
support the conditional syntax like:


InfoDocs: (%type_raw[-variant] = -variant) somedoc.info

Is there some other means to allow conditional use of the InfoDocs  
field?


Regards,
Phil.

smime.p7s
Description: S/MIME cryptographic signature
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Tool to bundle-ize shlibs from fink

2007-09-25 Thread Kevin Walzer
Philip Lamb wrote:
 Hi all,
 
 This might seem like a sacreligious quesion to ask, but has anyone made 
 a tool to automate the process of bundle-izing a given set of shlibs 
 from a fink installation?
 
 By bundle-ize, I mean making a copy of a given library and all its 
 dependencies that live in /sw, and rewriting (with install_name_tool) 
 the install name of the libs and their connections with each other so 
 that they hang off @executable_path/ instead of /sw/lib.
 
 I ask because it could be a really useful tool for developers.. you 
 generate some libraries using Fink, and then bundle them (paying 
 attention to the license terms of course) inside an application which 
 can then be distributed without any dependence on fink.
 
 At the moment I'm doing this manually, but with two libraries with 
 another 6 dependent libraries, its time consuming to repeat each time 
 the libs change.
 
 Regards,
 Phil.
 


macho_standalone, a part of py2app, might do the trick. See 
http://www.undefined.org/python/ for information on py2app.

-- 
Kevin Walzer
Code by Kevin
http://www.codebykevin.com

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Tool to bundle-ize shlibs from fink

2007-09-25 Thread Charles Lepple
On 9/25/07, Philip Lamb [EMAIL PROTECTED] wrote:
 This might seem like a sacreligious quesion to ask, but has anyone
 made a tool to automate the process of bundle-izing a given set of
 shlibs from a fink installation?

You could also check to see how they do it for Gimp.app.

-- 
- Charles Lepple

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Tool to bundle-ize shlibs from fink

2007-09-25 Thread Daniel Macks
On Wed, Sep 26, 2007 at 10:22:32AM +1200, Philip Lamb wrote:
 
 This might seem like a sacreligious quesion to ask, but has anyone  
 made a tool to automate the process of bundle-izing a given set of  
 shlibs from a fink installation?
 
 By bundle-ize, I mean making a copy of a given library and all its  
 dependencies that live in /sw, and rewriting (with install_name_tool)  
 the install name of the libs and their connections with each other so  
 that they hang off @executable_path/ instead of /sw/lib.

http://bugzilla.gnome.org/show_bug.cgi?id=474278 suggests someone does
have such a script.

There's a further complication for packages that have external data
files, in that those file locations are often hard-coded and not
managed by dyld. These might not matter for what you're doing (if you
don't care about multilingual support for diagnostic messages, you
wouldn't care if glib couldn't find its gettext catalogs), but other
data files might be important for whatever you're doing. Try running
'strings /sw/bin/libwhatever.dylib | grep /sw' to see what comes up.

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel