Re: [Fink-devel] Most efficient way to list Fink packages by category

2013-03-01 Thread Kevin Walzer
On 2/28/13 9:32 PM, Kevin Walzer wrote: > Further research indicates that, in fact, fpkg_list.pl from the > FinkCommander source tree is a good starting point and can easily be > called as a external process to feed the relevant data to my app. What I came up with is posted below. I'm quite surp

Re: [Fink-devel] Most efficient way to list Fink packages by category

2013-02-28 Thread Alexander Hansen
On 2/28/13 8:37 AM, Kevin Walzer wrote: > I develop a GUI for Fink that attempts, among other things, to provide a > one-screen view of all Fink packages, including their > categories/sections. Historically the fink command-line tool has > provided a flag to query the packages by a single catego

Re: [Fink-devel] Most efficient way to list Fink packages by category

2013-02-28 Thread Kevin Walzer
On 2/28/13 10:37 AM, Kevin Walzer wrote: > Is there any better way to get a > complete list of packages and their categories in a single pass that I'm > not aware of, perhaps using some Perl and calling Fink's API directly as > a module? Further research indicates that, in fact, fpkg_list.pl from

[Fink-devel] Most efficient way to list Fink packages by category

2013-02-28 Thread Kevin Walzer
I develop a GUI for Fink that attempts, among other things, to provide a one-screen view of all Fink packages, including their categories/sections. Historically the fink command-line tool has provided a flag to query the packages by a single category, e.g. fink list --section=foo, but no other