FS#16052 - List of [community] packages with invalid optdepends syntax

Attached to Project: Community Packages
Opened by Xavier (shining) - Sunday, 06 September 2009, 12:30 GMT
Last edited by Jaroslav Lichtblau (Dragonlord) - Sunday, 08 November 2009, 11:42 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Jaroslaw Swierczynski (swiergot)
Mikko Seppälä (Neverth)
Imanol Celaya (ornitorrincos)
Timm (gummibaerchen)
Mateusz Herych (Partition)
Kessia Pinheiro (even)
Geoffroy Carrier (gcarrier)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

More information at http://wiki.archlinux.org/index.php/Optdepends_bugs

List of problematic packages with their maintainer :

asciidoc # Maintainer: Geoffroy Carrier <geoffroy@archlinux.org>
atool # Maintainer: Jaroslav Lichtblau <dagonlord@aur.archlinux.org>
alexandria # Maintainer: Stefan Husmann <stefanh-husmann@t-online.de>
moovida # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
gnormalize # Maintainer: Corrado Primier <bardo@aur.archlinux.org>
audio-convert # Maintainer: Jaroslav Lichtblau <tu@dragonlord.cz>
gcompris # Maintainer: Evangelos Foutras <foutrelis@gmail.com>
gnome-subtitles # Maintainer: Allan McRae <allan@archlinux.org>
griffith # Maintainer: Ronald van Haren <ronald.archlinux.org>
qucs # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
impressive # Maintainer: Geoffroy Carrier <gcarrier@aur.archlinux.org>
php-gtk # Maintainer: Evangelos Foutras <foutrelis@gmail.com>
osmo # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
fotoxx # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
subtitleeditor # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
gambas2 # Maintainer : Biru Ionut <ionut@archlinux.ro>
lesspipe # Maintainer: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
solfege # Maintainer: Corrado Primier <bardo@aur.archlinux.org>
recorder # Maintainer: Alex Ciurana <icrave@gmail.com>
bugzilla # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
recoll # Maintainer: Andrea Scarpino <andrea@archlinux.org>
gpodder # Maintainer: Allan McRae <allan@archlinux.org>

List of problems :

* asciidoc :
'lilypond & imagemagick: music-filter'
* atool :
'zip/unzip: for using atool with zip archives'
* alexandria :
'ruby-htmlentities (AUR): for one provider named Deastore'
* moovida :
'xdg-user-dirs or pyxdg: for user default multimedia directories support'
'gstreamer-plugins-bad'
'gstreamer-plugins-ugly'
'gstreamer-ffmpeg'
'python-daap: for DAAP support' (python-daap is apparently in AUR)
* gnormalize :
'mac: full Monkeys Audio Codec support' (mac is apparently in AUR)
* audio-convert :
''lame id3lib: for mp3 support''
''vorbis-tools: for ogg support''
''flac: for flac support''
''faac faad2: for aac support''
''musepack-tools: for mpc support''
''mplayer: for wma support''
* gcompris :
'gnucap: for computer simulation within the electricity activity' (gnucap is apparently in AUR)
* gnome-subtitles :
'gstreamer0.10-*-plugins: video playback'
* griffith :
'griffith-extra-artwork (AUR): additional icons'
* qucs :
'freehdl: to permit digital circuit simulation' (freehdl is apparently in AUR)
'asco: to enable circuit optimization' (asco is apparently in AUR)
* impressive :
'pdftk: for retrieving PDF metadata (page titles, hyperlinks)' (pdftk is apparently in AUR)
* php-gtk :
'extra: gtk2+extra'
'html: gtkhtml'
'mozembed: xulrunner'
'sourceview: gtksourceview'
'spell: gtkspell'
* osmo :
'libsyncml' (libsyncml is apparently in AUR)
* fotoxx :
'printoxx: for printing from within fotoxx (only in AUR)' (printoxx is apparently in AUR)
* subtitleeditor :
'gstreamer0.10-plugins: to be able to view movies inside the subtitleeditor' (gstreamer0.10-plugins is apparently a group)
* gambas2 :
'rpm: to create a rpm package of your Gambas Project' (rpm is apparently in AUR)
'debhelper: to create a deb package of your Gambas Project' (debhelper is apparently in AUR)
* lesspipe :
'rpm2cpio: support for rpm file' (rpm2cpio is apparently in AUR)
* solfege :
'timidity: midi software output'
* recorder :
'vcdimager, cdrdao: Support for VCD/SVCD modes'
'mpg123, vorbis-tools: Support for mp3 and ogg files on CD Audio mode'
* bugzilla :
'perl-dbd-oracle' (perl-dbd-oracle is apparently in AUR)
* recoll :
'unzip - for the OpenOffice.org documents'
'xpdf - for pdf'
'pstotext - for postscipt'
'antiword - for msword'
'catdoc - for ms excel and powerpoint'
'unrtf - for RTF'
'tetex - for dvi support with dvips'
'djvulibre - for djvu'
'id3lib - for mp3 tags support with id3info'
* gpodder :
'pymad or python-eyed3: for ipod support'
This task depends upon

Closed by  Jaroslav Lichtblau (Dragonlord)
Sunday, 08 November 2009, 11:42 GMT
Reason for closing:  Fixed
Comment by Roman Kyrylych (Romashka) - Sunday, 06 September 2009, 12:42 GMT
Note for all assigned: I assigned all TUs to make sure everyone reads it, even if your packages are fine
- please keep in mind optdepends syntax when moving new packages to community.
Comment by Andrea Scarpino (BaSh) - Sunday, 06 September 2009, 12:43 GMT Comment by Ionut Biru (wonder) - Sunday, 06 September 2009, 12:58 GMT
fixed gambas2 in trunk
Comment by Stefan Husmann (stefanhusmann) - Sunday, 06 September 2009, 14:32 GMT
What is our agreement regarding optdepends in AUR? I thought it was okay to have them. Did that change?
Comment by Roman Kyrylych (Romashka) - Sunday, 06 September 2009, 14:39 GMT
I think the point here is to get more support of optdepends in pacman by offering some extra features for it. And that requires optdepends to exist in some repo.
Xavier, please correct me if I'm incorrect here.
Comment by Stefan Husmann (stefanhusmann) - Sunday, 06 September 2009, 14:50 GMT
Well, the [http://wiki.archlinux.org/index.php/Rules_Governing_the_Community_Repo Wiki] states: "dependencies of packages who satisfy the definition of popular, including makedeps and optdeps" as an exception from the Popularity-rules. So the packages "apparently in AUR" from the list can be moved to community without a proposal.
Comment by Xavier (shining) - Sunday, 06 September 2009, 15:04 GMT
I was not sure what to do with AUR optdepends.
But thinking more about it, I realized that all features proposed by Allan only deal with the local database :
http://wiki.archlinux.org/index.php/User:Allan/Pacman_OptDepends

so for example, this is fine :
* rdiff-backup :
'pylibacl: access control list support' (pylibacl is apparently in AUR)
'pyxattr: extended attribute support' (pyxattr is apparently in AUR)

but this is not :
* alexandria :
'ruby-htmlentities (AUR): for one provider named Deastore'

The pkgname part still needs to only mentions the pkgname, and not extra information like (AUR).

And then, if we wanted these packages to be installed automatically or something like that, we still need to respect that syntax.
I am not sure pacman will implement this feature, but once we have a strict syntax, it should be easy to implement in yaourt for example (which would also be able to install AUR optdepends).

To sum up, let's say that AUR optdepends are accepted, as long as they respect the $name:$desc syntax :)
Comment by Stefan Husmann (stefanhusmann) - Sunday, 06 September 2009, 15:15 GMT
alexandria and moovida are fixed.
Comment by Xavier (shining) - Sunday, 06 September 2009, 15:35 GMT
- still some problems left for moovida :
'gstreamer-plugins-ugly'
'gstreamer-ffmpeg'

I cannot 'pacman -S' these two.

- alexandria looks ok
- fotoxx was already ok :)
Comment by Evangelos Foutras (foutrelis) - Sunday, 06 September 2009, 16:06 GMT
Added gnucap to [community] (optional dependency for gcompris). I'm not quite sure why php-gtk is included in the above list; all its optional dependencies exist in the repos.

(Removing myself from the assignees.)
Comment by Stefan Husmann (stefanhusmann) - Sunday, 06 September 2009, 16:14 GMT
Xavier: according to the wiki mentioned above the colon and the are optional.
Comment by Stefan Husmann (stefanhusmann) - Sunday, 06 September 2009, 16:20 GMT
Xavier: Sorry lokking closer to the package names I know what you mean.
Comment by Xavier (shining) - Sunday, 06 September 2009, 17:38 GMT
To foutrelis :
* php-gtk :
'extra: gtk2+extra'
'html: gtkhtml'
'mozembed: xulrunner'
'sourceview: gtksourceview'
'spell: gtkspell'

Unfortunately, the order also has to be respected. it is name:desc, not desc:name
Also the purpose of the description is to describe in a quick sentence what this optdepends is adding.
If the desc is as cryptic as the name, just don't put any (it is optional).

So, for example, you have these two choices :
'xulrunner'
or
'xulrunner: to embed mozilla things in gtk apps'
Comment by Evangelos Foutras (foutrelis) - Sunday, 06 September 2009, 17:46 GMT
Xavier: I see. Thanks. :)
Comment by Stefan Husmann (stefanhusmann) - Sunday, 06 September 2009, 20:06 GMT
I added printoxx (optdepend of fotoxx) and python-daap (optdepend of moovida) to community. moovida was considered again and should be fixed now.
Comment by Xavier (shining) - Sunday, 06 September 2009, 20:14 GMT
Stefan : indeed everything looks ok now, thanks !
So feel free to remove yourself from the assignees (unless you also want to fix packages from other people :) )
Comment by Sergej Pupykin (sergej) - Sunday, 06 September 2009, 20:25 GMT
as I understand I should replace my optdeps with

ptdepends=('aur/freehdl: to permit digital circuit simulation'
'aur/asco: to enable circuit optimization')

?
Comment by Stefan Husmann (stefanhusmann) - Sunday, 06 September 2009, 20:30 GMT
Dragonlord is inactive, I will take a look at them.
Comment by Roman Kyrylych (Romashka) - Sunday, 06 September 2009, 21:38 GMT
@Sergej: I believe 'aur/' part should be omitted, so
optdepends=('freehdl: to permit digital circuit simulation'
'asco: to enable circuit optimization')

@Xavier: please confirm the above
Comment by Xavier (shining) - Sunday, 06 September 2009, 21:59 GMT
I had the idea of the aur/ part at one moment, but now I realize it was a bad one (for example, if the aur package moves to community, the optdepends becomes invalid...)

So yes I confirm that just the plain pkgname should be used, even for AUR packages.
Comment by Stefan Husmann (stefanhusmann) - Sunday, 06 September 2009, 22:13 GMT
corrected atool, audio-convert and subtitleeditor.
Comment by Sergej Pupykin (sergej) - Monday, 07 September 2009, 13:56 GMT
@Roman: so my packages is ok and I resign myself from this bug?
Comment by Xavier (shining) - Monday, 07 September 2009, 14:00 GMT
Sergej : your packages are ok indeed, sorry, I was not sure what to do with AUR packages when I opened this bug

How can I edit the list of problems and maintainers ?
All the "is apparently in AUR" lines should be removed.
And several optdepends were already fixed.
Comment by Roman Kyrylych (Romashka) - Monday, 07 September 2009, 16:43 GMT
Xavier: you cannot because you don't have enough permissions in Community Packages project.
Comment by Xavier (shining) - Tuesday, 08 September 2009, 09:57 GMT
So I updated the list at http://wiki.archlinux.org/index.php/Optdepends_bugs#community
without the already fixed packages and without all the AUR entries , it looks much more manageable :)

if your name is not in that list, you can remove yourself from assignees :
Allan McRae <allan@archlinux.org>
Alex Ciurana <icrave@gmail.com>
Jaroslav Lichtblau <tu@dragonlord.cz>
Stefan Husmann <stefan-husmann@t-online.de>
Evangelos Foutras <foutrelis@gmail.com>
Ronald van Haren <ronald.archlinux.org>
Geoffroy Carrier <geoffroy@archlinux.org>
Corrado Primier <bardo@aur.archlinux.org>

(kept Stefan because of a remaining problem with Jaroslav packages)
Comment by Corrado Primier (bardo) - Tuesday, 08 September 2009, 15:53 GMT
gnormalize is not a bug; I fixed solfege for x86_64. I have some strange problems with my i686 virtual machine (can't run makechrootpkg, probably related to aufs over xfs). Could anybody please rebuild solfege for i686? Thanks.
Comment by Evangelos Foutras (foutrelis) - Tuesday, 08 September 2009, 15:57 GMT
@Corrado: I'm on it.
Comment by Evangelos Foutras (foutrelis) - Tuesday, 08 September 2009, 16:28 GMT
@Corrado: Done.

PS: `archrelease community-i686' kept failing with "svnmerge: Invalid path identifier ''". I was unable to make it work and so, I deleted "repos/community-i686" and archrelease'd once more. If this persists (probably with other packages as well), we should look into it.
Comment by Corrado Primier (bardo) - Tuesday, 08 September 2009, 16:33 GMT Comment by Aaron Bull Schaefer (elasticdog) - Friday, 18 September 2009, 16:15 GMT
So, before I remove myself prematurely, AUR optdepends are okay if the syntax is correct?
Comment by Roman Kyrylych (Romashka) - Friday, 18 September 2009, 18:56 GMT
yes, optdepends with correct syntax are okay
(and obviously they should contain a name of the real existing package, which can be either in binary repo or in AUR)
Comment by Allan McRae (Allan) - Saturday, 19 September 2009, 08:23 GMT Comment by Ronald van Haren (pressh) - Friday, 02 October 2009, 09:19 GMT Comment by Allan McRae (Allan) - Sunday, 04 October 2009, 20:33 GMT
Asciidoc has become worse...
Comment by Xavier (shining) - Sunday, 04 October 2009, 22:10 GMT
Btw I prefer to update the wiki page myself, by just running the script again, to make sure the new optdepends are fine and abs was updated.

For example the directories need to be cleaned up for griffith :
http://repos.archlinux.org/viewvc.cgi/griffith/repos/?root=community

About asciidoc, the pkgbuild says the maintainer is gcarrier, but the one doing the updates is ibiru, and the owner in the web interface is cbrannon ?

Another thing, if you need to use an OR in optdepends, like :
'lynx or w3m: text generation'
It would be better to only list one of them, or to use a common provides (and create a common provides if there isnt any).
Comment by Roman Kyrylych (Romashka) - Sunday, 04 October 2009, 22:35 GMT
To summarize what was said on IRC:
optdepends=("foo: feature" "bar: feature") should mean "and"
if you really have "or", then either list one, or list the common provides (e.g. optdepends=("xyz: feature") where both foo and bar provides="xyz")
EDIT: oops, didn't see the last line of your comment, Xavier :)
Comment by Dan Griffiths (Ghost1227) - Thursday, 08 October 2009, 18:37 GMT
dvdstyler fixed, dvdisaster moved to community.
pinot - if stefan doesn't mind moving catdvi to community that'll resolve the issue there
Comment by Dan Griffiths (Ghost1227) - Friday, 09 October 2009, 20:44 GMT
catdvi has been moved to community, removed myself from the list
Comment by Chris Brannon (cmb) - Saturday, 07 November 2009, 18:38 GMT
I'm fixing asciidoc right now. Sorry, I didn't notice this bug when
I adopted it early last month. Will edit the wiki page when done.
Comment by Chris Brannon (cmb) - Saturday, 07 November 2009, 19:19 GMT
I'm fixing asciidoc right now. Sorry, I didn't notice this bug when
I adopted it early last month. Will edit the wiki page when done.
Comment by Jaroslav Lichtblau (Dragonlord) - Saturday, 07 November 2009, 22:10 GMT
Packages fixed, removing myself from asignees.

Loading...