Make or-pkgs possible (totem|totem-xine)

Bug #13754 reported by Nafallo Bjälevik on 2005-03-10
Affects Status Importance Assigned to Milestone
gnome-app-install (Ubuntu)

Bug Description

I got totem-xine installed instead of totem-gstreamer.
Therefore totem shows as not installed.

Nafallo Bjälevik (nafallo) wrote :

Created an attachment (id=2034)
Patch by Mikko Virkkilä

Look for package totem instead of totem-gstreamer.

Matt Zimmerman (mdz) wrote :

This won't have the desired effect; when removed, only the 'totem' package will
be removed, and (totem-gstreamer | totem-xine) will remain installed (and still
be in the menu, etc.).

Michael Vogt (mvo) wrote :

gnome-app-install does not support multiple packages provding the same
application (e.g. totem-xine, totem-gstreamer). I think we should support a
simple notation of or-style dependencies for g-a-i. The semantic should be
(example: (totem-gstreamer | totem-xine)
1. For new installs:
   - pick the first in the | line (e.g. totem-gstreamer)
2. For removals:
   - remove all in the | line (e.g. totem-gstreamer and totem-xine
3. For install checks:
   - check if one or the other is installed

Niran, what do you think?

Niran Babalola (niran) wrote :

(In reply to comment #3)
This sounds good, but we'd have to maintain diffs for each menu entry we change,
since regenerating them from a repository will put the old packages back. This
could present a problem sometime in the future, since pyxdg doesn't maintain the
line order in .desktop files, but diff might be able to handle that (?). The
actual support probably easy to do with a Debian package, but I don't really
know how. I'll go ahead and add support for that syntax, and while I'm at it,
I'll probably take care of ANDs (i.e. "abiword & abiword-plugins" as well.

Michael Vogt (mvo) wrote :

There is some work being done to support "or" for packages:
<email address hidden>/gnome-app-install--boolean--0
http://<email address hidden>

Michael Vogt (mvo) on 2006-05-15
Changed in gnome-app-install:
assignee: jdub → mvo

Could this be called Confirmed?

Michael Vogt (mvo) on 2006-10-06
Changed in gnome-app-install:
assignee: mvo → nobody
status: Unconfirmed → Confirmed
Nafallo Bjälevik (nafallo) wrote :

Does this work yet? I think your plan might work Michael :-).

Sebastian Heinlein (glatzor) wrote :

Perhaps this should be solved by the packaging of totem itself. Common files of both totem packages should move to a totem-common package.

Niran Babalola (niran) wrote :

I doubt any of this is still relevant, but I thought I should point out that although the branches Michael pointed out don't exist on my server anymore, they're still on the supermirror: http://<email address hidden>/

Phillip Susi (psusi) wrote :

This package has been removed from Ubuntu. Closing all related bugs.

Changed in gnome-app-install (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.