FS#21709 - libgphoto2: udev rules should be 40-gphoto.rules, not 54-gphoto.rules

Attached to Project: Arch Linux
Opened by Alex Merry (pippin) - Monday, 15 November 2010, 23:26 GMT
Last edited by Ionut Biru (wonder) - Tuesday, 16 November 2010, 00:30 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The help for /usr/lib/libgphoto2/print-camera-list (used to generate the udev rules) says that they should be installed as /lib/udev/rules.d/40-libgphoto2.rules, but they are installed in Arch as /lib/udev/rules.d/54-gphoto.rules.

This is actually important when media-player-info (currently in the AUR) is installed. media-player-info installs its udev rules as /lib/udev/rules.d/40-usb-media-players.rules. Both media-player-info and libgphoto2 set the ID_MEDIA_PLAYER env var in the udev database for devices they match (and there may well be some overlap). The difference is that media-player-info stores information in this variable, whereas libgphoto2 just sets it to 1. So media-player-info's rules should take precedence.

Note that this change should be made to libgphoto2 rather than media-player-info, because with media-player-info, the name of the rules file is set by upstream, not by the PKGBUILD.
This task depends upon

Closed by  Ionut Biru (wonder)
Tuesday, 16 November 2010, 00:30 GMT
Reason for closing:  Fixed
Additional comments about closing:  libgphoto2-2.4.10.1

Loading...