|
From: strk <st...@ke...> - 2005-05-02 09:26:28
|
On Sun, May 01, 2005 at 11:42:03PM +0900, Motoi Washida wrote: > Hi Ming developers, > > I'm trying to make Ming package for Fink. Fink is software to maintain > open source software easily on Mac OS X, like RPM, Debian package, or > Portage of Gentoo/Linux. > http://fink.sourceforge.net > > Each Fink package is made from one package info file and one small > patch file, if needed. The package info file contains information about > its software, version, etc. One of the most important information is a > process to install the software from source, such as configure options > and make target. > > At first, I thought making package from Ming 0.3 beta1, but I had to > make a long patch. CVS version of Ming looked better, and I can install > shared libraries now. But there is still a few problems to make a > package: > 1. Fink installs libraries on /sw/lib, and I want to use -L/sw/lib > linker option to use /sw/lib/libpng.dylib and /sw/lib/libgif.dylib. But > I can't find how to set such option without any patch. I'm happy if I > can set those options by running configure like this: > $ ./configure --prefix=/sw CPPFLAGS=/sw/include LDFLAGS=/sw/lib > > 2. Fink does not allow installing files directly. Instead, Fink > installs those files on a temporary directory such as > /sw/src/root-ming-0.3-1/ and create .deb package. We can specify such a > directory if the Makefile of the software supports running command > like: > $ make install DESTDIR=/sw/src/root-ming-0.3-1 > > Any thoughts? I will write a patch if you like. LDFLAGS=-L/sw/lib should definitely work. If it doesn't patch is accepted. (probably Makefile.config needs using += when setting LDFLAGS if it doesn't work). DESTDIR should be --prefix=, agains should work already - patch welcome otherwise. About packaging, I think we can make an effort toward a release, but the code under utils/ is still unstable. Maybe I did the wrong thing getting the patches from Stuart as he's not finding time to fixing things up. He did a good job reducing the codebase but we currently don't have a listswf working the way it did before (listing tags instead of decompiling). Decompile has always been unstable, but listing tags worked fine... I think this is one of the things to fix before release. --strk; > > Thanks, > -- > Motoi Washida > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 > _______________________________________________ > Ming-devr mailing list > Min...@li... > https://lists.sourceforge.net/lists/listinfo/ming-devr |