commit:     0b2bf07ae3e33d72f7369c42ccb529c3947b7ba0
Author:     Kostadin Shishmanov <kostadinshishmanov <AT> protonmail <DOT> com>
AuthorDate: Thu Feb 27 15:32:34 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 27 16:03:42 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b2bf07a

app-misc/ddcutil: don't install a removed udev rule

Remove installation of udev rule file that was dropped upstream [1].
Also remove dependency on acct-group/video because it's no longer
mentioned in the usb udev rule that still exists [2].

[1] https://github.com/rockowitz/ddcutil/commit/0938023
[2] https://github.com/rockowitz/ddcutil/commit/e906c51

Closes: https://bugs.gentoo.org/950300
Signed-off-by: Kostadin Shishmanov <kostadinshishmanov <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/40794
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-misc/ddcutil/ddcutil-2.2.0.ebuild | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/app-misc/ddcutil/ddcutil-2.2.0.ebuild 
b/app-misc/ddcutil/ddcutil-2.2.0.ebuild
index fe7e24722485..6adf7566eaf0 100644
--- a/app-misc/ddcutil/ddcutil-2.2.0.ebuild
+++ b/app-misc/ddcutil/ddcutil-2.2.0.ebuild
@@ -31,7 +31,6 @@ RDEPEND="
        )
        user-permissions? (
                acct-group/i2c
-               usb-monitor? ( acct-group/video )
        )
        X? (
                x11-libs/libXrandr
@@ -86,9 +85,6 @@ src_install() {
        default
        if use user-permissions; then
                udev_dorules data/usr/lib/udev/rules.d/60-ddcutil-i2c.rules
-               if use usb-monitor; then
-                       udev_dorules 
data/usr/lib/udev/rules.d/60-ddcutil-usb.rules
-               fi
        fi
 }
 
@@ -100,14 +96,6 @@ pkg_postinst() {
                einfo "the new udev rule."
                einfo "For more information read: 
http://www.ddcutil.com/i2c_permissions/";
 
-               if use usb-monitor; then
-                       einfo "To allow non-root users access to USB monitors, 
add those users"
-                       einfo "to the video group: usermod -aG video user"
-                       einfo "Restart the computer, reload the hiddev and 
hidraw modules, or replug"
-                       einfo "the monitor to activate the new udev rule."
-                       einfo "For more information read: 
http://www.ddcutil.com/usb/";
-               fi
-
                udev_reload
        fi
 

Reply via email to