[Fink-devel] variants and patching
Hi, For a package I maintain only one of the variants needs to be patched. How can I add that in the .info file? thanks, - Koen. --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] 403 forbidden errors
David == David R Morrison [EMAIL PROTECTED] writes: David As soon as a new version of the fink-mirrors package propagates David throught the system, you can cure this by moving away from David sourceforge as your apt-get repository. David After updating to fink-mirrors-0.24.4.1 (and either fink-0.24.4 David or fink-0.23.8) -- being sure to allow the switch to the new David apt mirroring site during the update -- run fink reinstall David fink to activate the new apt-get site, and then run sudo David apt-get update to switch apt's indexing to the new site. It's been a day... I've self-updated even as of just now, and yet I still get: localhost:~ % fink list -t fink Information about 2163 packages read in 6 seconds. i fink0.23.8-11 The Fink package manager i fink-mirrors0.24.3.1-1 Mirror infrastructure i fink-prebinding 0.7.1-2 Tools for enabling prebinding in Fink How long before fink-mirrors goes to 24.4.1 ? (Note, I'm not using unstable.) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 merlyn@stonehenge.com 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! --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] cyrus21-imapd
Hello I am having problems building cyrus21 with fink. I get the following error message: checking for db.h... no configure: error: this version requires Berkeley DB 3.x or later. (Get it from http://www.sleepycat.com/). You may need to suppply the --with-bdb-libdir or --with-bdb-incdir configure options. ### execution of ./configure failed, exit code 1 Removing build lock... dpkg -r fink-buildlock-cyrus21-2.1.13-11 (Reading database ... 146495 files and directories currently installed.) Removing fink-buildlock-cyrus21-2.1.13-11 ... Failed: phase compiling: cyrus21-2.1.13-11 failed This seems a bit strange since db4 is installed, etc. The configure parameters are (cut and paste): ./configure --prefix=/sw --with-bdb-incdir=/sw/include/db4 ... I have no idea what is wrong... Best Wishes, Johan Glimming --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] variants and patching
On Apr 24, 2005, at 8:57 AM, Koen van der Drift wrote: For a package I maintain only one of the variants needs to be patched. How can I add that in the .info file? Probably the best way is to use a PatchScript: PatchScript: #!/bin/sh -ev if [ %type_raw[-foo] = -foo ]; then patch -p1 %a/%{Ni}.patch fi Do we currently have a policy for multiple patch-files? Eg: If your package 'foo' already has a 'Patch: %n.patch' for all cases, but one variant 'bar' needs a supplemental patch, what should be done? The options I can think of are: 1) Have a %a/foo-bar.patch in CVS, which is applied in a PatchScript. 2) Have your regular patch-file, in addition to patching normal files, also add the secondary patch-file into the package build dir. Then just apply it with 'patch -p1 foo-bar.patch' in the PatchScript. 3) Try really, really hard to make everything dependent on, say, env vars or -Ddefine's, so that a supplementary patch isn't needed. Any preferences? Dave PGP.sig Description: This is a digitally signed message part
Re: [Fink-devel] variants and patching
Thanks Dave, that works fine. - Koen. On Apr 24, 2005, at 2:15 PM, Dave Vasilevsky wrote: On Apr 24, 2005, at 8:57 AM, Koen van der Drift wrote: For a package I maintain only one of the variants needs to be patched. How can I add that in the .info file? Probably the best way is to use a PatchScript: PatchScript: #!/bin/sh -ev if [ %type_raw[-foo] = -foo ]; then patch -p1 %a/%{Ni}.patch fi Do we currently have a policy for multiple patch-files? Eg: If your package 'foo' already has a 'Patch: %n.patch' for all cases, but one variant 'bar' needs a supplemental patch, what should be done? The options I can think of are: 1) Have a %a/foo-bar.patch in CVS, which is applied in a PatchScript. 2) Have your regular patch-file, in addition to patching normal files, also add the secondary patch-file into the package build dir. Then just apply it with 'patch -p1 foo-bar.patch' in the PatchScript. 3) Try really, really hard to make everything dependent on, say, env vars or -Ddefine's, so that a supplementary patch isn't needed. Any preferences? Dave --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] variants and patching
On 24 Apr 2005, at 20:15, Dave Vasilevsky wrote: Do we currently have a policy for multiple patch-files? Eg: If your package 'foo' already has a 'Patch: %n.patch' for all cases, but one variant 'bar' needs a supplemental patch, what should be done? The options I can think of are: 1) Have a %a/foo-bar.patch in CVS, which is applied in a PatchScript. 2) Have your regular patch-file, in addition to patching normal files, also add the secondary patch-file into the package build dir. Then just apply it with 'patch -p1 foo-bar.patch' in the PatchScript. 3) Try really, really hard to make everything dependent on, say, env vars or -Ddefine's, so that a supplementary patch isn't needed. Any preferences? For me : 3 : a patch should be something that can/should go upstream, thus, not only independent of the specific variant chosen, but even applicable to any other system, or other configuration options. Nothing against multiplicity _ on the contrary, if they are functionally different. In response to 2: There is no problem of sourcing _ conditionally if desired _ multiple functionally different patch-files anywhere within any {Patch,Compile,Install}Script ... And there are pkgs doing this (cf eg the pgsql pkgs). No need to have the setup of (2). But, to adhere to the above ideology, patches should be unconditional _ and applicable to the real original sources. Jean-François --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95alloc_id396op=click ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] package renaming
Hi, I recently took over maintainership for the package 'python-biopython-py'. However, I think the name biopython-py would be more appropriate. Unless there is a special reason why (some) python packages have the python prefix, but most not. Would it be a big problem, if I rename the package? I can leave in the old info files, and add the new ones. The new ones will only be updated in the future. cheers, - Koen. --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] cyrus21-imapd
On Apr 24, 2005, at 10:36 AM, Johan Glimming wrote: Hello I am having problems building cyrus21 with fink. I get the following error message: checking for db.h... no configure: error: this version requires Berkeley DB 3.x or later. (Get it from http://www.sleepycat.com/). You may need to suppply the --with-bdb-libdir or --with-bdb-incdir configure options. ### execution of ./configure failed, exit code 1 Removing build lock... dpkg -r fink-buildlock-cyrus21-2.1.13-11 (Reading database ... 146495 files and directories currently installed.) Removing fink-buildlock-cyrus21-2.1.13-11 ... Failed: phase compiling: cyrus21-2.1.13-11 failed This seems a bit strange since db4 is installed, etc. The configure parameters are (cut and paste): ./configure --prefix=/sw --with-bdb-incdir=/sw/include/db4 ... I have no idea what is wrong... Best Wishes, Johan Glimming Check the config.log file under the build directory for cyrus21-imapd ( /sw/src/cyrus21... ) -- Alexander K. Hansen Associate Research Scientist, Columbia University visiting MIT Plasma Science and Fusion Center Levitated Dipole Experiment 175 Albany Street, NW17-219 Cambridge, MA 02139-4213 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] /sw/lib/libgcc_s.dylib
Hi, gpc installs /sw/lib/libgcc_s.dylib . I would think no pkg should install such files _ even compilers. I get pkgs linked to this that have nothing to do with pascal.. Can't a layout be used like for the other compilers (gcc4, etc) ? Jean-François Mertens --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95alloc_id396op=click ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel