Re: [Fink-users] listing packages nothing depends on?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lars Eggert wrote: | Hi, | | is there a way to list those installed packages that no other | installed package depends on? | | I'd like to build a little script that provides the functionality of | FreeBSD's pkg_cutleaves for fink. (http://www.freshports.org/sysutils/pkg_cutleaves/ | ) fink install debfoster ;) - -- Benjamin Reed a.k.a. Ranger Rick Fink, KDE, and Mac OS X development http://www.racoonfink.com/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.8 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHvYwyUu+jZtP2Zf4RAt9VAJ45PAqoHqpejACwa7izFW7Ares8eACdHX5m fu8XzO3NMnfciNYPchYlWGs= =sMYA -END PGP SIGNATURE- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] listing packages nothing depends on?
Lars Eggert wrote: Hi, is there a way to list those installed packages that no other installed package depends on? I'd like to build a little script that provides the functionality of FreeBSD's pkg_cutleaves for fink. (http://www.freshports.org/sysutils/pkg_cutleaves/ ) Thanks, Lars I don't think the fink command has a convenient mode to deal with that. For binaries (local or otherwise) apt-cache showpkg includes a Reverse Depends field--that's one option to get it. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] listing packages nothing depends on?
On 2008-2-21, at 16:35, ext Benjamin Reed wrote: fink install debfoster Thank you! Lars - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] listing packages nothing depends on?
Lars Eggert [EMAIL PROTECTED] said: Hi, is there a way to list those installed packages that no other installed package depends on? I think 'fink list --dotty' will give a list of all dependencies, so you could cut that apart to find all depended-on packages and grep them out of the 'fink list' list of all packages. I don't know if --dotty is Depends or BuildDepends (or if that's controllable), but at worst, just gotta hack a line or two in Engine.pm to use both fields together. 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 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] listing packages nothing depends on?
On Thu, Feb 21, 2008 at 09:35:30AM -0500, Benjamin Reed wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lars Eggert wrote: | Hi, | | is there a way to list those installed packages that no other | installed package depends on? | | I'd like to build a little script that provides the functionality of | FreeBSD's pkg_cutleaves for fink. (http://www.freshports.org/sysutils/pkg_cutleaves/ | ) fink install debfoster ;) Anybody know of a way to get debfoster to consider build-depends as a dependency? Something like the UseRecommends option, except UseBuildDepends would be useful to avoid uninstalling/reinstalling a lot of builddepends packages whenever a new version of something comes out. --- James - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] listing packages nothing depends on?
On Thursday 21 February 2008 07:41:41 pm James Bunton wrote: On Thu, Feb 21, 2008 at 09:35:30AM -0500, Benjamin Reed wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lars Eggert wrote: | Hi, | | is there a way to list those installed packages that no other | installed package depends on? | | I'd like to build a little script that provides the functionality of | FreeBSD's pkg_cutleaves for fink. (http://www.freshports.org/sysutils/pkg_cutleaves/ | ) fink install debfoster ;) Anybody know of a way to get debfoster to consider build-depends as a dependency? Something like the UseRecommends option, except UseBuildDepends would be useful to avoid uninstalling/reinstalling a lot of builddepends packages whenever a new version of something comes out. --- James debfoster only knows about the fields that get coded into a .deb file, and BuildDepends do not. One could hack the control file and repackage the .deb, but that seems like a lot of work. -- Alexander K. Hansen akh AT finkproject DOT org Fink User Liaison and Documenter - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] listing packages nothing depends on?
On Thursday 21 February 2008 10:14:49 pm Alexander K. Hansen wrote: On Thursday 21 February 2008 07:41:41 pm James Bunton wrote: On Thu, Feb 21, 2008 at 09:35:30AM -0500, Benjamin Reed wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lars Eggert wrote: | Hi, | | is there a way to list those installed packages that no other | installed package depends on? | | I'd like to build a little script that provides the functionality of | FreeBSD's pkg_cutleaves for fink. (http://www.freshports.org/sysutils/pkg_cutleaves/ | ) fink install debfoster ;) Anybody know of a way to get debfoster to consider build-depends as a dependency? Something like the UseRecommends option, except UseBuildDepends would be useful to avoid uninstalling/reinstalling a lot of builddepends packages whenever a new version of something comes out. --- James debfoster only knows about the fields that get coded into a .deb file, and BuildDepends do not. One could hack the control file and repackage the .deb, but that seems like a lot of work. rangerrick said that we do code BuildDepends into the control file now, but since that's not a Debian-standard field debfoster wouldn't know how to deal with them without some hacking--either hacking the control file or debfoster itself. -- Alexander K. Hansen akh AT finkproject DOT org Fink User Liaison and Documenter - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] listing packages nothing depends on?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexander K. Hansen wrote: | rangerrick said that we do code BuildDepends into the control file now, but | since that's not a Debian-standard field debfoster wouldn't know how to deal | with them without some hacking--either hacking the control file or debfoster | itself. I was wrong, actually, although it would be easy to do it. ;) We encode BuildDependsOnly: but not the actual BuildDepends. :P - -- Benjamin Reed a.k.a. Ranger Rick Fink, KDE, and Mac OS X development http://www.racoonfink.com/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.8 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHvkCtUu+jZtP2Zf4RAnuOAJ4vYQd8/jHMnaR5KHrEORvHvQ4kEACeMv4Q NykftY7tgbWTG7s2kmFbG/o= =rcAz -END PGP SIGNATURE- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users