Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 438114 - media-gfx/argyllcms: installs udev rules into /etc/udev/rules.d
Summary: media-gfx/argyllcms: installs udev rules into /etc/udev/rules.d
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: udevdir
  Show dependency tree
 
Reported: 2012-10-12 13:55 UTC by poncho
Modified: 2012-10-13 11:00 UTC (History)
1 user (show)

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


Attachments
fix udev rules location (udev-rules-location.patch,872 bytes, patch)
2012-10-12 19:33 UTC, poncho
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description poncho 2012-10-12 13:55:28 UTC
no other package on my system installs the udev rules into /etc/udev
the rules should be installed into /lib/udev/rules.d or into /usr/lib/udev/rules.d

the ebuild should use something like

inherit toolchain-funcs

DEPEND="virtual/pkgconfig"

local udevdir=/lib/udev
has_version sys-fs/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
insinto "${udevdir}"/rules.d

from https://bugs.gentoo.org/show_bug.cgi?id=433904#c3

Reproducible: Always
Comment 1 poncho 2012-10-12 13:58:36 UTC
actually, the rules should be installed into /usr/lib/udev/rules.d because /lib/udev/rules.d is depreciated.

see https://bugs.gentoo.org/show_bug.cgi?id=433916
Comment 2 William Hubbs gentoo-dev 2012-10-12 15:22:20 UTC
Actually the method using pkg-config is correct.
Comment 3 poncho 2012-10-12 19:33:47 UTC
Created attachment 326394 [details, diff]
fix udev rules location

(In reply to comment #2)
> Actually the method using pkg-config is correct.

here is a patch against the current ebuild
Comment 4 Sergey Popov gentoo-dev 2012-10-13 11:00:40 UTC
+  13 Oct 2012; Sergey Popov <pinkbyte@gentoo.org> argyllcms-1.4.0.ebuild:
+  Fix location for installing udev rules wrt bug #438114. Thanks to poncho for
+  discovering this issue and providing fix for it

Fixed without revision bump