[pacman-dev] wanted: script to list uninstalled optdepends and packages that need them

Allan McRae allan at archlinux.org
Mon Jun 15 23:36:15 EDT 2009


Dan McGee wrote:
> On Mon, Jun 15, 2009 at 8:45 PM, Allan McRae<allan at archlinux.org> wrote:
>   
>> Allan McRae wrote:
>>     
>>> Xyne wrote:
>>>       
>>>>> Cool....   but something is slightly wrong there:
>>>>>
>>>>> libburn - optional for:
>>>>>  brasero: alternative back-end
>>>>>  bzip2: alternative back-end
>>>>>
>>>>> bzip2 probably does not have a libbrun backend :)
>>>>>
>>>>> Allan
>>>>>
>>>>>           
>>>> I don't know how that happened (haven't been able to reproduce the
>>>> error here). I did find some other bugs though so maybe that one was
>>>> fixed indirectly. I've attached a new version. If it still lies, send
>>>> me the output of "pacman -Qi".
>>>>
>>>>         
>>> Works fine now.  Thanks.
>>>       
>> As an aside, what this has made me realize is that the style of optdepends
>> specification varies a bit within the packages our repos (some do not even
>> use ":"'s to separate the package name from the description).  If they are
>> going to become more than informational, this needs to become more
>> standardized.  Maybe makepkg needs to add a check on the style.
>>     
>
> Apparently my "similar to the following" text in man PKGBUILD was not enough. :(
>
> I'd be fine with a check added to makepkg, although I never wanted to
> get draconian about it (and I never meant for it to become
> machine-parseable, but it seems I am in the minority there).
>   

I know, but now they are there, it is just too tempting to leave them 
alone... 

I added a bug report so this does not get forgotten: 
http://bugs.archlinux.org/task/15125

Allan




More information about the pacman-dev mailing list