Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291417 - New package media-player-info required for GNOME 2.28
Summary: New package media-player-info required for GNOME 2.28
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Lowest enhancement (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords: EBUILD, Inclusion, InVCS
Depends on:
Blocks: gnome2.28
  Show dependency tree
 
Reported: 2009-11-01 11:26 UTC by Giacomo Perale
Modified: 2010-01-24 23:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
media-player-info-3.ebuild (media-player-info-3.ebuild,480 bytes, text/plain)
2009-11-01 11:48 UTC, Giacomo Perale
Details
media-player-info-3.ebuild (media-player-info-3.ebuild,614 bytes, text/plain)
2009-11-01 18:53 UTC, Giacomo Perale
Details
media-player-info-3.ebuild (media-player-info-3.ebuild,598 bytes, text/plain)
2009-11-02 20:19 UTC, Giacomo Perale
Details
media-player-info-4.ebuild (media-player-info-4.ebuild,598 bytes, text/plain)
2009-12-09 20:22 UTC, Giacomo Perale
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Giacomo Perale 2009-11-01 11:26:15 UTC
After the upgrade to GNOME 2.28 my RIM Blackberry Pearl ceased to be recognized as a media-player and became a simple storage device.

It seems that with the removal of hal and the switch to gudev in several components of the GNOME stack, the information included in /usr/share/hal/fdi/information/10freedesktop/10-usb-music-players.fdi is no longer used and it has moved in a separated packages media-player-info (http://people.freedesktop.org/~teuf/media-player-info/).

I'm actually trying to figure out how that package's supposed to work, and it also seems that there are a few other missing bits in devicekit-disks/gvfs to recover all the functionality lost with the switch (see https://bugs.freedesktop.org/show_bug.cgi?id=24500 or https://bugs.launchpad.net/ubuntu/+source/devicekit-disks/+bug/440290).

I'll report later and attach an ebuild and eventually the needed patches if nobody anticipates me.
Comment 1 Giacomo Perale 2009-11-01 11:48:33 UTC
Created attachment 208934 [details]
media-player-info-3.ebuild

Ok, the attached ebuild (tentatively I put it in app-misc/media-player-info) installs the udev rule and the .mpi files.

Now my Blackberry Pearl appears in Nautilus with the appropriate media-player icon and it is recognized by rhythmbox (-hal +udev) as a media player (I can see the files already in the player, add new ones and remove them). 

Nautilus however doesn't propose to open the file with Rhythmbox, so apparently https://bugs.freedesktop.org/show_bug.cgi?id=24500 is still valid.
Comment 2 Víctor Ostorga (RETIRED) gentoo-dev 2009-11-01 18:24:12 UTC
This is maintainer-wanted stuff
Comment 3 Romain Perier (RETIRED) gentoo-dev 2009-11-01 18:26:35 UTC
- Missing sys-fs/udev dependency
- Any docs ? (uses dodoc if there are some docs to install)
- Please replace media-player-info by ${PN} in SRC_URI
Comment 4 Giacomo Perale 2009-11-01 18:53:28 UTC
Created attachment 208977 [details]
media-player-info-3.ebuild

Replaced media-player-info with ${PN} and added dodoc call.

Dependencies: strictly speaking the configure script doesn't require any specific udev version, but this package is useful only with gudev-based software and at the moment that requires at least '>=sys-fs/udev-145[extras]', so I did the same here.

(Also, I'm not sure anyone tested the new rule with old udev versions, as far as I know it could be incompatible.)
Comment 5 Romain Perier (RETIRED) gentoo-dev 2009-11-02 18:33:12 UTC
Don't include COPYING and INSTALL in dodoc.

- COPYING is useless because you can find the terms of BSD license in /usr/portage/licenses

- INSTALL is useless too, because portage installs automatically this package for you, so command line like ./configure , make and make install aren't necessary for a "lambda" user
 
Comment 6 Giacomo Perale 2009-11-02 20:19:24 UTC
Created attachment 209085 [details]
media-player-info-3.ebuild

Removed INSTALL and COPYING from dodoc arguments.
Comment 7 Giacomo Perale 2009-11-28 13:55:47 UTC
ping?
Comment 8 Giacomo Perale 2009-12-09 20:22:03 UTC
Created attachment 212567 [details]
media-player-info-4.ebuild

New release.

Ping?
Comment 9 Romain Perier (RETIRED) gentoo-dev 2009-12-20 13:44:45 UTC
looks correct for me
Comment 10 Giacomo Perale 2010-01-07 22:15:31 UTC
Ping?
Comment 11 Gilles Dartiguelongue gentoo-dev 2010-01-07 22:28:27 UTC
this will be added as soon as possible. I'm reassigning this to fdo since it's somehow the successor of hal-info and that where hal-info belongs.
Comment 12 Gilles Dartiguelongue gentoo-dev 2010-01-24 23:55:27 UTC
added to the tree under app-misc like hal-info. Thanks for reporting and the ebuild.