* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2023-06-30 21:14 Sam James
0 siblings, 0 replies; 51+ messages in thread
From: Sam James @ 2023-06-30 21:14 UTC (permalink / raw
To: gentoo-commits
commit: 59b079c3da53feeadae9dd0bac32e1fc8c9827e3
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 30 21:13:37 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 30 21:13:37 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59b079c3
app-misc/ddcutil: Stabilize 1.3.0 arm, #904157
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-misc/ddcutil/ddcutil-1.3.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/ddcutil/ddcutil-1.3.0.ebuild b/app-misc/ddcutil/ddcutil-1.3.0.ebuild
index 132128f4644b..58c8dcad3a21 100644
--- a/app-misc/ddcutil/ddcutil-1.3.0.ebuild
+++ b/app-misc/ddcutil/ddcutil-1.3.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.
SLOT="0/4"
LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm arm64 ~loong ppc64 ~riscv x86"
+KEYWORDS="~amd64 arm arm64 ~loong ppc64 ~riscv x86"
IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
REQUIRED_USE="drm? ( X )"
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2024-10-30 19:59 Sam James
0 siblings, 0 replies; 51+ messages in thread
From: Sam James @ 2024-10-30 19:59 UTC (permalink / raw
To: gentoo-commits
commit: 43b99fac43eae2ab3736a16359ddfd4635f3c298
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 30 19:58:26 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 30 19:58:26 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43b99fac
app-misc/ddcutil: Stabilize 2.1.4 arm, #942160
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-misc/ddcutil/ddcutil-2.1.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/ddcutil/ddcutil-2.1.4.ebuild b/app-misc/ddcutil/ddcutil-2.1.4.ebuild
index 2aa00778d816..80f986094745 100644
--- a/app-misc/ddcutil/ddcutil-2.1.4.ebuild
+++ b/app-misc/ddcutil/ddcutil-2.1.4.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.
SLOT="0/5"
LICENSE="GPL-2"
-KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
REQUIRED_USE="drm? ( X )"
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2024-10-27 6:50 Arthur Zamarin
0 siblings, 0 replies; 51+ messages in thread
From: Arthur Zamarin @ 2024-10-27 6:50 UTC (permalink / raw
To: gentoo-commits
commit: eef45514dff5ec225d86918fcfc4d85d82d3cadf
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 27 06:50:12 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 27 06:50:12 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eef45514
app-misc/ddcutil: Stabilize 2.1.4 arm64, #942160
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
app-misc/ddcutil/ddcutil-2.1.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/ddcutil/ddcutil-2.1.4.ebuild b/app-misc/ddcutil/ddcutil-2.1.4.ebuild
index 34398f9bf3c1..2aa00778d816 100644
--- a/app-misc/ddcutil/ddcutil-2.1.4.ebuild
+++ b/app-misc/ddcutil/ddcutil-2.1.4.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.
SLOT="0/5"
LICENSE="GPL-2"
-KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
REQUIRED_USE="drm? ( X )"
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2024-10-25 21:25 Sam James
0 siblings, 0 replies; 51+ messages in thread
From: Sam James @ 2024-10-25 21:25 UTC (permalink / raw
To: gentoo-commits
commit: db784a98f9fd0707ee2cdc4acbec8f07da5882b3
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 25 21:25:05 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 25 21:25:05 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db784a98
app-misc/ddcutil: Stabilize 2.1.4 amd64, #942160
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-misc/ddcutil/ddcutil-2.1.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/ddcutil/ddcutil-2.1.4.ebuild b/app-misc/ddcutil/ddcutil-2.1.4.ebuild
index 9e9421283e16..34398f9bf3c1 100644
--- a/app-misc/ddcutil/ddcutil-2.1.4.ebuild
+++ b/app-misc/ddcutil/ddcutil-2.1.4.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.
SLOT="0/5"
LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
REQUIRED_USE="drm? ( X )"
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2024-10-25 21:25 Sam James
0 siblings, 0 replies; 51+ messages in thread
From: Sam James @ 2024-10-25 21:25 UTC (permalink / raw
To: gentoo-commits
commit: 4ab5847e6def1c0ae00e3f7f8a91c7dadeb7f99b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 25 21:25:04 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 25 21:25:04 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ab5847e
app-misc/ddcutil: Stabilize 2.1.4 x86, #942160
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-misc/ddcutil/ddcutil-2.1.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/ddcutil/ddcutil-2.1.4.ebuild b/app-misc/ddcutil/ddcutil-2.1.4.ebuild
index c3a3aa335775..9e9421283e16 100644
--- a/app-misc/ddcutil/ddcutil-2.1.4.ebuild
+++ b/app-misc/ddcutil/ddcutil-2.1.4.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.
SLOT="0/5"
LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
REQUIRED_USE="drm? ( X )"
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2024-10-25 21:25 Sam James
0 siblings, 0 replies; 51+ messages in thread
From: Sam James @ 2024-10-25 21:25 UTC (permalink / raw
To: gentoo-commits
commit: 9688adb64d2324b28457df696a83a521ee90e997
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 25 21:25:03 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 25 21:25:03 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9688adb6
app-misc/ddcutil: Stabilize 2.1.4 ppc64, #942160
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-misc/ddcutil/ddcutil-2.1.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/ddcutil/ddcutil-2.1.4.ebuild b/app-misc/ddcutil/ddcutil-2.1.4.ebuild
index 9d9b7dc167a3..c3a3aa335775 100644
--- a/app-misc/ddcutil/ddcutil-2.1.4.ebuild
+++ b/app-misc/ddcutil/ddcutil-2.1.4.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.
SLOT="0/5"
LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
REQUIRED_USE="drm? ( X )"
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2024-02-24 11:32 Andrew Ammerlaan
0 siblings, 0 replies; 51+ messages in thread
From: Andrew Ammerlaan @ 2024-02-24 11:32 UTC (permalink / raw
To: gentoo-commits
commit: 910f80f8bde66673c381898768c3f70970a3b912
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 24 11:27:12 2024 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Feb 24 11:31:44 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=910f80f8
app-misc/ddcutil: add 2.1.4
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
app-misc/ddcutil/Manifest | 1 +
app-misc/ddcutil/ddcutil-2.1.4.ebuild | 120 ++++++++++++++++++++++++++++++++++
2 files changed, 121 insertions(+)
diff --git a/app-misc/ddcutil/Manifest b/app-misc/ddcutil/Manifest
index cdb588dbcfa4..5db6c52a4dbb 100644
--- a/app-misc/ddcutil/Manifest
+++ b/app-misc/ddcutil/Manifest
@@ -4,3 +4,4 @@ DIST ddcutil-1.4.1.tar.gz 816782 BLAKE2B ebc8b8893fda9a1e5b278b198594619f7c26a30
DIST ddcutil-1.4.5.tar.gz 817492 BLAKE2B b6442d9f7ec3687a3e75d9784dc9f62563f42c72c82a8a2ea24a392c3c4f186578c2c2f6592ba12c324568a20b7b25082acce9e7b753c41c1ac925d9d6de62dd SHA512 c355f104b60dbc3c893dea473d841181cfcaacd0cb2e97bc41ea829185c7ccdcff19ab19189ee572e7f2f6b41cbb2bd6c569ad3c09f6d645f9e342b7d1a5310f
DIST ddcutil-2.0.0.tar.gz 882984 BLAKE2B 19f92ab7fb02130c84e029a8055fe85ea99b9bd2959ad3c86b698afba9a45844817c0828fd2ad3178b954493a12dc62e95815e2700a42d37c340f098ad9d3f16 SHA512 e1880cf0e3e724f6ac88f807a867a34f451422b58ce7d23bee7b2fc40b253ef8de13df7706749e0c8242fe5de6db8da91784d16fbf008bb5161732a598c3b9e7
DIST ddcutil-2.1.3.tar.gz 924320 BLAKE2B a7e07a1bfad4c34f585f7ba09efda15877cba20002edeef952d2c0037ed1d7f67e6634999ff51a0b25c943c7debdcee4113b17e00011a3c6f390a8f8db13f297 SHA512 e58b0c2ea3f4cd0e15a3b772fdd840486d1c5d62bb797ad1500fdb8bcafe33ac3318162b66b972393e3f6f41186b2819e87c7c3c14a7a3bb6d6d79142c7ed5d6
+DIST ddcutil-2.1.4.tar.gz 924298 BLAKE2B d11c4daa6a6b4c5c694cf45fa3a76709bcacc8a63bbe7ea331bcf2dd45a7e99dcdf890d97a9515dda909e6a54ca90c30d966e0dd5437fdd0972232878c4de581 SHA512 8c352bfacc2a5cdd22b8d84f2facd58de6d425d0d3f98de543cf36a3e6b15aa10fc86e87780c82f872f0bf0db984e1cc800aaff914bafe4dbf17602e2a7caeb0
diff --git a/app-misc/ddcutil/ddcutil-2.1.4.ebuild b/app-misc/ddcutil/ddcutil-2.1.4.ebuild
new file mode 100644
index 000000000000..9d9b7dc167a3
--- /dev/null
+++ b/app-misc/ddcutil/ddcutil-2.1.4.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Check for bumps & cleanup with app-misc/ddcui
+
+inherit autotools linux-info udev
+
+DESCRIPTION="Program for querying and changing monitor settings"
+HOMEPAGE="https://www.ddcutil.com/"
+SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0/5"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
+REQUIRED_USE="drm? ( X )"
+
+RDEPEND="
+ dev-libs/glib:2
+ >=dev-libs/jansson-2
+ sys-apps/i2c-tools
+ virtual/udev
+ drm? ( x11-libs/libdrm )
+ usb-monitor? (
+ dev-libs/hidapi
+ virtual/libusb:1
+ sys-apps/usbutils
+ )
+ user-permissions? (
+ acct-group/i2c
+ usb-monitor? ( acct-group/video )
+ )
+ X? (
+ x11-libs/libXrandr
+ x11-libs/libX11
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+# doc? ( app-text/doxygen[dot] )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.4.1-no-werror.patch
+)
+
+pkg_pretend() {
+ # This program needs /dev/ic2-* devices to communicate with the monitor.
+ CONFIG_CHECK="~I2C_CHARDEV"
+ ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
+ if use usb-monitor; then
+ CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
+ ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
+ ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
+ fi
+
+ # Now do the actual checks setup above
+ check_extra_config
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ # FAILS: doxyfile: No such file or directory
+ # $(use_enable doc doxygen)
+ $(use_enable drm)
+ --enable-udev
+ $(use_enable usb-monitor usb)
+ --enable-lib
+ $(use_enable X x11)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+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
+}
+
+pkg_postinst() {
+ if use user-permissions; then
+ einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
+ einfo "users to the i2c group: usermod -aG i2c user"
+ einfo "Restart the computer or reload the i2c-dev module to activate"
+ 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
+
+ if use video_cards_nvidia; then
+ ewarn "Please read the following webpage on proper usage with the nVidia "
+ ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
+ fi
+}
+
+pkg_postrm() {
+ if use user-permissions; then
+ udev_reload
+ fi
+}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2024-02-24 11:32 Andrew Ammerlaan
0 siblings, 0 replies; 51+ messages in thread
From: Andrew Ammerlaan @ 2024-02-24 11:32 UTC (permalink / raw
To: gentoo-commits
commit: 3d088af944b831364f6ed8d6af79b469acd4c45d
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 24 11:27:59 2024 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Feb 24 11:31:45 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d088af9
app-misc/ddcutil: drop 2.1.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
app-misc/ddcutil/Manifest | 1 -
app-misc/ddcutil/ddcutil-2.1.3.ebuild | 120 ----------------------------------
2 files changed, 121 deletions(-)
diff --git a/app-misc/ddcutil/Manifest b/app-misc/ddcutil/Manifest
index 5db6c52a4dbb..fe256b0543c7 100644
--- a/app-misc/ddcutil/Manifest
+++ b/app-misc/ddcutil/Manifest
@@ -3,5 +3,4 @@ DIST ddcutil-1.3.0.tar.gz 816789 BLAKE2B 1cb3b64961503416b85b792e1002ec67788f8cf
DIST ddcutil-1.4.1.tar.gz 816782 BLAKE2B ebc8b8893fda9a1e5b278b198594619f7c26a309e15aab90d5f8c61da352c54173076c86ce4e9d9bdcad8857e8ee45500de0c28d5de073038c841caf12080e5f SHA512 e53820662c12cd3a91b1182e02ad74841238117c129e88c8bcdede42d4e0dec22a9c1ec37a7b1e1dd512f2cf7ef410e737d9fdba62d95ea48e5912e43e6d3857
DIST ddcutil-1.4.5.tar.gz 817492 BLAKE2B b6442d9f7ec3687a3e75d9784dc9f62563f42c72c82a8a2ea24a392c3c4f186578c2c2f6592ba12c324568a20b7b25082acce9e7b753c41c1ac925d9d6de62dd SHA512 c355f104b60dbc3c893dea473d841181cfcaacd0cb2e97bc41ea829185c7ccdcff19ab19189ee572e7f2f6b41cbb2bd6c569ad3c09f6d645f9e342b7d1a5310f
DIST ddcutil-2.0.0.tar.gz 882984 BLAKE2B 19f92ab7fb02130c84e029a8055fe85ea99b9bd2959ad3c86b698afba9a45844817c0828fd2ad3178b954493a12dc62e95815e2700a42d37c340f098ad9d3f16 SHA512 e1880cf0e3e724f6ac88f807a867a34f451422b58ce7d23bee7b2fc40b253ef8de13df7706749e0c8242fe5de6db8da91784d16fbf008bb5161732a598c3b9e7
-DIST ddcutil-2.1.3.tar.gz 924320 BLAKE2B a7e07a1bfad4c34f585f7ba09efda15877cba20002edeef952d2c0037ed1d7f67e6634999ff51a0b25c943c7debdcee4113b17e00011a3c6f390a8f8db13f297 SHA512 e58b0c2ea3f4cd0e15a3b772fdd840486d1c5d62bb797ad1500fdb8bcafe33ac3318162b66b972393e3f6f41186b2819e87c7c3c14a7a3bb6d6d79142c7ed5d6
DIST ddcutil-2.1.4.tar.gz 924298 BLAKE2B d11c4daa6a6b4c5c694cf45fa3a76709bcacc8a63bbe7ea331bcf2dd45a7e99dcdf890d97a9515dda909e6a54ca90c30d966e0dd5437fdd0972232878c4de581 SHA512 8c352bfacc2a5cdd22b8d84f2facd58de6d425d0d3f98de543cf36a3e6b15aa10fc86e87780c82f872f0bf0db984e1cc800aaff914bafe4dbf17602e2a7caeb0
diff --git a/app-misc/ddcutil/ddcutil-2.1.3.ebuild b/app-misc/ddcutil/ddcutil-2.1.3.ebuild
deleted file mode 100644
index 9d9b7dc167a3..000000000000
--- a/app-misc/ddcutil/ddcutil-2.1.3.ebuild
+++ /dev/null
@@ -1,120 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Check for bumps & cleanup with app-misc/ddcui
-
-inherit autotools linux-info udev
-
-DESCRIPTION="Program for querying and changing monitor settings"
-HOMEPAGE="https://www.ddcutil.com/"
-SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-SLOT="0/5"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
-REQUIRED_USE="drm? ( X )"
-
-RDEPEND="
- dev-libs/glib:2
- >=dev-libs/jansson-2
- sys-apps/i2c-tools
- virtual/udev
- drm? ( x11-libs/libdrm )
- usb-monitor? (
- dev-libs/hidapi
- virtual/libusb:1
- sys-apps/usbutils
- )
- user-permissions? (
- acct-group/i2c
- usb-monitor? ( acct-group/video )
- )
- X? (
- x11-libs/libXrandr
- x11-libs/libX11
- )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-# doc? ( app-text/doxygen[dot] )
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.4.1-no-werror.patch
-)
-
-pkg_pretend() {
- # This program needs /dev/ic2-* devices to communicate with the monitor.
- CONFIG_CHECK="~I2C_CHARDEV"
- ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
- if use usb-monitor; then
- CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
- ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
- ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
- fi
-
- # Now do the actual checks setup above
- check_extra_config
-}
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- # FAILS: doxyfile: No such file or directory
- # $(use_enable doc doxygen)
- $(use_enable drm)
- --enable-udev
- $(use_enable usb-monitor usb)
- --enable-lib
- $(use_enable X x11)
- )
-
- econf "${myeconfargs[@]}"
-}
-
-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
-}
-
-pkg_postinst() {
- if use user-permissions; then
- einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
- einfo "users to the i2c group: usermod -aG i2c user"
- einfo "Restart the computer or reload the i2c-dev module to activate"
- 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
-
- if use video_cards_nvidia; then
- ewarn "Please read the following webpage on proper usage with the nVidia "
- ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
- fi
-}
-
-pkg_postrm() {
- if use user-permissions; then
- udev_reload
- fi
-}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2024-02-17 21:17 Sam James
0 siblings, 0 replies; 51+ messages in thread
From: Sam James @ 2024-02-17 21:17 UTC (permalink / raw
To: gentoo-commits
commit: 736f79a0513431a6a47f3dd59994f7f51e989049
Author: Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Sat Feb 17 20:00:53 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 17 21:14:55 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=736f79a0
app-misc/ddcutil: keyword 2.1.3 for sparc, bug #924443
Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de>
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-misc/ddcutil/ddcutil-2.1.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/ddcutil/ddcutil-2.1.3.ebuild b/app-misc/ddcutil/ddcutil-2.1.3.ebuild
index 746ceafd18ca..9d9b7dc167a3 100644
--- a/app-misc/ddcutil/ddcutil-2.1.3.ebuild
+++ b/app-misc/ddcutil/ddcutil-2.1.3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.
SLOT="0/5"
LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
REQUIRED_USE="drm? ( X )"
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2024-02-08 9:06 Andrew Ammerlaan
0 siblings, 0 replies; 51+ messages in thread
From: Andrew Ammerlaan @ 2024-02-08 9:06 UTC (permalink / raw
To: gentoo-commits
commit: 1560e7c6423a520bd939b415ed28079cb1ae0ae5
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 8 08:56:15 2024 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Feb 8 09:05:54 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1560e7c6
app-misc/ddcutil: drop 2.1.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
app-misc/ddcutil/Manifest | 1 -
app-misc/ddcutil/ddcutil-2.1.2.ebuild | 120 ----------------------------------
2 files changed, 121 deletions(-)
diff --git a/app-misc/ddcutil/Manifest b/app-misc/ddcutil/Manifest
index 6cdfd0498cb0..cdb588dbcfa4 100644
--- a/app-misc/ddcutil/Manifest
+++ b/app-misc/ddcutil/Manifest
@@ -3,5 +3,4 @@ DIST ddcutil-1.3.0.tar.gz 816789 BLAKE2B 1cb3b64961503416b85b792e1002ec67788f8cf
DIST ddcutil-1.4.1.tar.gz 816782 BLAKE2B ebc8b8893fda9a1e5b278b198594619f7c26a309e15aab90d5f8c61da352c54173076c86ce4e9d9bdcad8857e8ee45500de0c28d5de073038c841caf12080e5f SHA512 e53820662c12cd3a91b1182e02ad74841238117c129e88c8bcdede42d4e0dec22a9c1ec37a7b1e1dd512f2cf7ef410e737d9fdba62d95ea48e5912e43e6d3857
DIST ddcutil-1.4.5.tar.gz 817492 BLAKE2B b6442d9f7ec3687a3e75d9784dc9f62563f42c72c82a8a2ea24a392c3c4f186578c2c2f6592ba12c324568a20b7b25082acce9e7b753c41c1ac925d9d6de62dd SHA512 c355f104b60dbc3c893dea473d841181cfcaacd0cb2e97bc41ea829185c7ccdcff19ab19189ee572e7f2f6b41cbb2bd6c569ad3c09f6d645f9e342b7d1a5310f
DIST ddcutil-2.0.0.tar.gz 882984 BLAKE2B 19f92ab7fb02130c84e029a8055fe85ea99b9bd2959ad3c86b698afba9a45844817c0828fd2ad3178b954493a12dc62e95815e2700a42d37c340f098ad9d3f16 SHA512 e1880cf0e3e724f6ac88f807a867a34f451422b58ce7d23bee7b2fc40b253ef8de13df7706749e0c8242fe5de6db8da91784d16fbf008bb5161732a598c3b9e7
-DIST ddcutil-2.1.2.tar.gz 920903 BLAKE2B 2dbafc6f6da642a4cbbd245fac62c2bdac19543887de69a768f87257967a5c67902a676a3adc5a6ad90b4c6b540b36293196a4401a0f26c58951f1fbb55d024c SHA512 ed57e0d3de7c0badc0dabd81624e6425c807fb62c8e0e88660f5bd94aba954ea0a7eb2bed47cfe1d14a5917e0ccd40ca26c2b9d76c2b4b8df57d17095db7c02f
DIST ddcutil-2.1.3.tar.gz 924320 BLAKE2B a7e07a1bfad4c34f585f7ba09efda15877cba20002edeef952d2c0037ed1d7f67e6634999ff51a0b25c943c7debdcee4113b17e00011a3c6f390a8f8db13f297 SHA512 e58b0c2ea3f4cd0e15a3b772fdd840486d1c5d62bb797ad1500fdb8bcafe33ac3318162b66b972393e3f6f41186b2819e87c7c3c14a7a3bb6d6d79142c7ed5d6
diff --git a/app-misc/ddcutil/ddcutil-2.1.2.ebuild b/app-misc/ddcutil/ddcutil-2.1.2.ebuild
deleted file mode 100644
index 746ceafd18ca..000000000000
--- a/app-misc/ddcutil/ddcutil-2.1.2.ebuild
+++ /dev/null
@@ -1,120 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Check for bumps & cleanup with app-misc/ddcui
-
-inherit autotools linux-info udev
-
-DESCRIPTION="Program for querying and changing monitor settings"
-HOMEPAGE="https://www.ddcutil.com/"
-SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-SLOT="0/5"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
-IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
-REQUIRED_USE="drm? ( X )"
-
-RDEPEND="
- dev-libs/glib:2
- >=dev-libs/jansson-2
- sys-apps/i2c-tools
- virtual/udev
- drm? ( x11-libs/libdrm )
- usb-monitor? (
- dev-libs/hidapi
- virtual/libusb:1
- sys-apps/usbutils
- )
- user-permissions? (
- acct-group/i2c
- usb-monitor? ( acct-group/video )
- )
- X? (
- x11-libs/libXrandr
- x11-libs/libX11
- )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-# doc? ( app-text/doxygen[dot] )
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.4.1-no-werror.patch
-)
-
-pkg_pretend() {
- # This program needs /dev/ic2-* devices to communicate with the monitor.
- CONFIG_CHECK="~I2C_CHARDEV"
- ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
- if use usb-monitor; then
- CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
- ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
- ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
- fi
-
- # Now do the actual checks setup above
- check_extra_config
-}
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- # FAILS: doxyfile: No such file or directory
- # $(use_enable doc doxygen)
- $(use_enable drm)
- --enable-udev
- $(use_enable usb-monitor usb)
- --enable-lib
- $(use_enable X x11)
- )
-
- econf "${myeconfargs[@]}"
-}
-
-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
-}
-
-pkg_postinst() {
- if use user-permissions; then
- einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
- einfo "users to the i2c group: usermod -aG i2c user"
- einfo "Restart the computer or reload the i2c-dev module to activate"
- 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
-
- if use video_cards_nvidia; then
- ewarn "Please read the following webpage on proper usage with the nVidia "
- ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
- fi
-}
-
-pkg_postrm() {
- if use user-permissions; then
- udev_reload
- fi
-}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2024-02-08 9:06 Andrew Ammerlaan
0 siblings, 0 replies; 51+ messages in thread
From: Andrew Ammerlaan @ 2024-02-08 9:06 UTC (permalink / raw
To: gentoo-commits
commit: 648c3ba9932441cbede77ac9dd8a175733f72f67
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 8 08:56:05 2024 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Feb 8 09:05:53 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=648c3ba9
app-misc/ddcutil: add 2.1.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
app-misc/ddcutil/Manifest | 1 +
app-misc/ddcutil/ddcutil-2.1.3.ebuild | 120 ++++++++++++++++++++++++++++++++++
2 files changed, 121 insertions(+)
diff --git a/app-misc/ddcutil/Manifest b/app-misc/ddcutil/Manifest
index c794a418daf7..6cdfd0498cb0 100644
--- a/app-misc/ddcutil/Manifest
+++ b/app-misc/ddcutil/Manifest
@@ -4,3 +4,4 @@ DIST ddcutil-1.4.1.tar.gz 816782 BLAKE2B ebc8b8893fda9a1e5b278b198594619f7c26a30
DIST ddcutil-1.4.5.tar.gz 817492 BLAKE2B b6442d9f7ec3687a3e75d9784dc9f62563f42c72c82a8a2ea24a392c3c4f186578c2c2f6592ba12c324568a20b7b25082acce9e7b753c41c1ac925d9d6de62dd SHA512 c355f104b60dbc3c893dea473d841181cfcaacd0cb2e97bc41ea829185c7ccdcff19ab19189ee572e7f2f6b41cbb2bd6c569ad3c09f6d645f9e342b7d1a5310f
DIST ddcutil-2.0.0.tar.gz 882984 BLAKE2B 19f92ab7fb02130c84e029a8055fe85ea99b9bd2959ad3c86b698afba9a45844817c0828fd2ad3178b954493a12dc62e95815e2700a42d37c340f098ad9d3f16 SHA512 e1880cf0e3e724f6ac88f807a867a34f451422b58ce7d23bee7b2fc40b253ef8de13df7706749e0c8242fe5de6db8da91784d16fbf008bb5161732a598c3b9e7
DIST ddcutil-2.1.2.tar.gz 920903 BLAKE2B 2dbafc6f6da642a4cbbd245fac62c2bdac19543887de69a768f87257967a5c67902a676a3adc5a6ad90b4c6b540b36293196a4401a0f26c58951f1fbb55d024c SHA512 ed57e0d3de7c0badc0dabd81624e6425c807fb62c8e0e88660f5bd94aba954ea0a7eb2bed47cfe1d14a5917e0ccd40ca26c2b9d76c2b4b8df57d17095db7c02f
+DIST ddcutil-2.1.3.tar.gz 924320 BLAKE2B a7e07a1bfad4c34f585f7ba09efda15877cba20002edeef952d2c0037ed1d7f67e6634999ff51a0b25c943c7debdcee4113b17e00011a3c6f390a8f8db13f297 SHA512 e58b0c2ea3f4cd0e15a3b772fdd840486d1c5d62bb797ad1500fdb8bcafe33ac3318162b66b972393e3f6f41186b2819e87c7c3c14a7a3bb6d6d79142c7ed5d6
diff --git a/app-misc/ddcutil/ddcutil-2.1.3.ebuild b/app-misc/ddcutil/ddcutil-2.1.3.ebuild
new file mode 100644
index 000000000000..746ceafd18ca
--- /dev/null
+++ b/app-misc/ddcutil/ddcutil-2.1.3.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Check for bumps & cleanup with app-misc/ddcui
+
+inherit autotools linux-info udev
+
+DESCRIPTION="Program for querying and changing monitor settings"
+HOMEPAGE="https://www.ddcutil.com/"
+SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0/5"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
+REQUIRED_USE="drm? ( X )"
+
+RDEPEND="
+ dev-libs/glib:2
+ >=dev-libs/jansson-2
+ sys-apps/i2c-tools
+ virtual/udev
+ drm? ( x11-libs/libdrm )
+ usb-monitor? (
+ dev-libs/hidapi
+ virtual/libusb:1
+ sys-apps/usbutils
+ )
+ user-permissions? (
+ acct-group/i2c
+ usb-monitor? ( acct-group/video )
+ )
+ X? (
+ x11-libs/libXrandr
+ x11-libs/libX11
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+# doc? ( app-text/doxygen[dot] )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.4.1-no-werror.patch
+)
+
+pkg_pretend() {
+ # This program needs /dev/ic2-* devices to communicate with the monitor.
+ CONFIG_CHECK="~I2C_CHARDEV"
+ ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
+ if use usb-monitor; then
+ CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
+ ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
+ ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
+ fi
+
+ # Now do the actual checks setup above
+ check_extra_config
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ # FAILS: doxyfile: No such file or directory
+ # $(use_enable doc doxygen)
+ $(use_enable drm)
+ --enable-udev
+ $(use_enable usb-monitor usb)
+ --enable-lib
+ $(use_enable X x11)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+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
+}
+
+pkg_postinst() {
+ if use user-permissions; then
+ einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
+ einfo "users to the i2c group: usermod -aG i2c user"
+ einfo "Restart the computer or reload the i2c-dev module to activate"
+ 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
+
+ if use video_cards_nvidia; then
+ ewarn "Please read the following webpage on proper usage with the nVidia "
+ ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
+ fi
+}
+
+pkg_postrm() {
+ if use user-permissions; then
+ udev_reload
+ fi
+}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2024-02-01 9:41 Andrew Ammerlaan
0 siblings, 0 replies; 51+ messages in thread
From: Andrew Ammerlaan @ 2024-02-01 9:41 UTC (permalink / raw
To: gentoo-commits
commit: 55f73faa3aa6f69ab8b6ad55c954b816b3b3826c
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 1 09:08:29 2024 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Feb 1 09:41:28 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55f73faa
app-misc/ddcutil: add 2.1.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
app-misc/ddcutil/Manifest | 1 +
app-misc/ddcutil/ddcutil-2.1.2.ebuild | 120 ++++++++++++++++++++++++++++++++++
2 files changed, 121 insertions(+)
diff --git a/app-misc/ddcutil/Manifest b/app-misc/ddcutil/Manifest
index b2f8634876f9..63994a678e22 100644
--- a/app-misc/ddcutil/Manifest
+++ b/app-misc/ddcutil/Manifest
@@ -4,3 +4,4 @@ DIST ddcutil-1.4.1.tar.gz 816782 BLAKE2B ebc8b8893fda9a1e5b278b198594619f7c26a30
DIST ddcutil-1.4.5.tar.gz 817492 BLAKE2B b6442d9f7ec3687a3e75d9784dc9f62563f42c72c82a8a2ea24a392c3c4f186578c2c2f6592ba12c324568a20b7b25082acce9e7b753c41c1ac925d9d6de62dd SHA512 c355f104b60dbc3c893dea473d841181cfcaacd0cb2e97bc41ea829185c7ccdcff19ab19189ee572e7f2f6b41cbb2bd6c569ad3c09f6d645f9e342b7d1a5310f
DIST ddcutil-2.0.0.tar.gz 882984 BLAKE2B 19f92ab7fb02130c84e029a8055fe85ea99b9bd2959ad3c86b698afba9a45844817c0828fd2ad3178b954493a12dc62e95815e2700a42d37c340f098ad9d3f16 SHA512 e1880cf0e3e724f6ac88f807a867a34f451422b58ce7d23bee7b2fc40b253ef8de13df7706749e0c8242fe5de6db8da91784d16fbf008bb5161732a598c3b9e7
DIST ddcutil-2.1.0.tar.gz 915330 BLAKE2B 156c4c2b18747f0fd42cf7f2580ac336f9e5c637762af59d4cdca0552723cf3fe8af08fee9efc69728b7f4e2845148fe4a4a2fb2eb84491531100b66d7b7fb92 SHA512 d48f87427050caf8e38f6a4b0dd71c1639101762444a712d7a7d97302ebc0dc4fd7c4a5cb188b251c6a6a369b298a43dbc7d91e0eca8cdb6f51c1ae6ae7f1f4b
+DIST ddcutil-2.1.2.tar.gz 920903 BLAKE2B 2dbafc6f6da642a4cbbd245fac62c2bdac19543887de69a768f87257967a5c67902a676a3adc5a6ad90b4c6b540b36293196a4401a0f26c58951f1fbb55d024c SHA512 ed57e0d3de7c0badc0dabd81624e6425c807fb62c8e0e88660f5bd94aba954ea0a7eb2bed47cfe1d14a5917e0ccd40ca26c2b9d76c2b4b8df57d17095db7c02f
diff --git a/app-misc/ddcutil/ddcutil-2.1.2.ebuild b/app-misc/ddcutil/ddcutil-2.1.2.ebuild
new file mode 100644
index 000000000000..746ceafd18ca
--- /dev/null
+++ b/app-misc/ddcutil/ddcutil-2.1.2.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Check for bumps & cleanup with app-misc/ddcui
+
+inherit autotools linux-info udev
+
+DESCRIPTION="Program for querying and changing monitor settings"
+HOMEPAGE="https://www.ddcutil.com/"
+SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0/5"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
+REQUIRED_USE="drm? ( X )"
+
+RDEPEND="
+ dev-libs/glib:2
+ >=dev-libs/jansson-2
+ sys-apps/i2c-tools
+ virtual/udev
+ drm? ( x11-libs/libdrm )
+ usb-monitor? (
+ dev-libs/hidapi
+ virtual/libusb:1
+ sys-apps/usbutils
+ )
+ user-permissions? (
+ acct-group/i2c
+ usb-monitor? ( acct-group/video )
+ )
+ X? (
+ x11-libs/libXrandr
+ x11-libs/libX11
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+# doc? ( app-text/doxygen[dot] )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.4.1-no-werror.patch
+)
+
+pkg_pretend() {
+ # This program needs /dev/ic2-* devices to communicate with the monitor.
+ CONFIG_CHECK="~I2C_CHARDEV"
+ ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
+ if use usb-monitor; then
+ CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
+ ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
+ ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
+ fi
+
+ # Now do the actual checks setup above
+ check_extra_config
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ # FAILS: doxyfile: No such file or directory
+ # $(use_enable doc doxygen)
+ $(use_enable drm)
+ --enable-udev
+ $(use_enable usb-monitor usb)
+ --enable-lib
+ $(use_enable X x11)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+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
+}
+
+pkg_postinst() {
+ if use user-permissions; then
+ einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
+ einfo "users to the i2c group: usermod -aG i2c user"
+ einfo "Restart the computer or reload the i2c-dev module to activate"
+ 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
+
+ if use video_cards_nvidia; then
+ ewarn "Please read the following webpage on proper usage with the nVidia "
+ ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
+ fi
+}
+
+pkg_postrm() {
+ if use user-permissions; then
+ udev_reload
+ fi
+}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2024-02-01 9:41 Andrew Ammerlaan
0 siblings, 0 replies; 51+ messages in thread
From: Andrew Ammerlaan @ 2024-02-01 9:41 UTC (permalink / raw
To: gentoo-commits
commit: aa3be69fa8de7f6e1e888c34aae3a3bb3fe00ee8
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 1 09:34:32 2024 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Feb 1 09:41:29 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa3be69f
app-misc/ddcutil: drop 2.1.0-r1
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
app-misc/ddcutil/Manifest | 1 -
app-misc/ddcutil/ddcutil-2.1.0-r1.ebuild | 121 -------------------------------
2 files changed, 122 deletions(-)
diff --git a/app-misc/ddcutil/Manifest b/app-misc/ddcutil/Manifest
index 63994a678e22..c794a418daf7 100644
--- a/app-misc/ddcutil/Manifest
+++ b/app-misc/ddcutil/Manifest
@@ -3,5 +3,4 @@ DIST ddcutil-1.3.0.tar.gz 816789 BLAKE2B 1cb3b64961503416b85b792e1002ec67788f8cf
DIST ddcutil-1.4.1.tar.gz 816782 BLAKE2B ebc8b8893fda9a1e5b278b198594619f7c26a309e15aab90d5f8c61da352c54173076c86ce4e9d9bdcad8857e8ee45500de0c28d5de073038c841caf12080e5f SHA512 e53820662c12cd3a91b1182e02ad74841238117c129e88c8bcdede42d4e0dec22a9c1ec37a7b1e1dd512f2cf7ef410e737d9fdba62d95ea48e5912e43e6d3857
DIST ddcutil-1.4.5.tar.gz 817492 BLAKE2B b6442d9f7ec3687a3e75d9784dc9f62563f42c72c82a8a2ea24a392c3c4f186578c2c2f6592ba12c324568a20b7b25082acce9e7b753c41c1ac925d9d6de62dd SHA512 c355f104b60dbc3c893dea473d841181cfcaacd0cb2e97bc41ea829185c7ccdcff19ab19189ee572e7f2f6b41cbb2bd6c569ad3c09f6d645f9e342b7d1a5310f
DIST ddcutil-2.0.0.tar.gz 882984 BLAKE2B 19f92ab7fb02130c84e029a8055fe85ea99b9bd2959ad3c86b698afba9a45844817c0828fd2ad3178b954493a12dc62e95815e2700a42d37c340f098ad9d3f16 SHA512 e1880cf0e3e724f6ac88f807a867a34f451422b58ce7d23bee7b2fc40b253ef8de13df7706749e0c8242fe5de6db8da91784d16fbf008bb5161732a598c3b9e7
-DIST ddcutil-2.1.0.tar.gz 915330 BLAKE2B 156c4c2b18747f0fd42cf7f2580ac336f9e5c637762af59d4cdca0552723cf3fe8af08fee9efc69728b7f4e2845148fe4a4a2fb2eb84491531100b66d7b7fb92 SHA512 d48f87427050caf8e38f6a4b0dd71c1639101762444a712d7a7d97302ebc0dc4fd7c4a5cb188b251c6a6a369b298a43dbc7d91e0eca8cdb6f51c1ae6ae7f1f4b
DIST ddcutil-2.1.2.tar.gz 920903 BLAKE2B 2dbafc6f6da642a4cbbd245fac62c2bdac19543887de69a768f87257967a5c67902a676a3adc5a6ad90b4c6b540b36293196a4401a0f26c58951f1fbb55d024c SHA512 ed57e0d3de7c0badc0dabd81624e6425c807fb62c8e0e88660f5bd94aba954ea0a7eb2bed47cfe1d14a5917e0ccd40ca26c2b9d76c2b4b8df57d17095db7c02f
diff --git a/app-misc/ddcutil/ddcutil-2.1.0-r1.ebuild b/app-misc/ddcutil/ddcutil-2.1.0-r1.ebuild
deleted file mode 100644
index 933c0987e2ff..000000000000
--- a/app-misc/ddcutil/ddcutil-2.1.0-r1.ebuild
+++ /dev/null
@@ -1,121 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Check for bumps & cleanup with app-misc/ddcui
-
-inherit autotools linux-info udev
-
-DESCRIPTION="Program for querying and changing monitor settings"
-HOMEPAGE="https://www.ddcutil.com/"
-SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-SLOT="0/5"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
-IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
-REQUIRED_USE="drm? ( X )"
-
-RDEPEND="
- dev-libs/glib:2
- >=dev-libs/jansson-2
- sys-apps/i2c-tools
- virtual/udev
- drm? ( x11-libs/libdrm )
- usb-monitor? (
- dev-libs/hidapi
- virtual/libusb:1
- sys-apps/usbutils
- )
- user-permissions? (
- acct-group/i2c
- usb-monitor? ( acct-group/video )
- )
- X? (
- x11-libs/libXrandr
- x11-libs/libX11
- )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-# doc? ( app-text/doxygen[dot] )
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.4.1-no-werror.patch
- "${FILESDIR}"/${PN}-2.1.0-fix-build-with-usb-monitor-disabled.patch
-)
-
-pkg_pretend() {
- # This program needs /dev/ic2-* devices to communicate with the monitor.
- CONFIG_CHECK="~I2C_CHARDEV"
- ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
- if use usb-monitor; then
- CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
- ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
- ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
- fi
-
- # Now do the actual checks setup above
- check_extra_config
-}
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- # FAILS: doxyfile: No such file or directory
- # $(use_enable doc doxygen)
- $(use_enable drm)
- --enable-udev
- $(use_enable usb-monitor usb)
- --enable-lib
- $(use_enable X x11)
- )
-
- econf "${myeconfargs[@]}"
-}
-
-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
-}
-
-pkg_postinst() {
- if use user-permissions; then
- einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
- einfo "users to the i2c group: usermod -aG i2c user"
- einfo "Restart the computer or reload the i2c-dev module to activate"
- 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
-
- if use video_cards_nvidia; then
- ewarn "Please read the following webpage on proper usage with the nVidia "
- ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
- fi
-}
-
-pkg_postrm() {
- if use user-permissions; then
- udev_reload
- fi
-}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2024-01-22 13:43 Andrew Ammerlaan
0 siblings, 0 replies; 51+ messages in thread
From: Andrew Ammerlaan @ 2024-01-22 13:43 UTC (permalink / raw
To: gentoo-commits
commit: 0d939c315abcd16bd8250f75e11030a87adc973a
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 22 13:42:38 2024 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Jan 22 13:42:57 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d939c31
app-misc/ddcutil: add 2.1.0
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
app-misc/ddcutil/Manifest | 1 +
app-misc/ddcutil/ddcutil-2.1.0.ebuild | 120 ++++++++++++++++++++++++++++++++++
2 files changed, 121 insertions(+)
diff --git a/app-misc/ddcutil/Manifest b/app-misc/ddcutil/Manifest
index c259a8321369..b2f8634876f9 100644
--- a/app-misc/ddcutil/Manifest
+++ b/app-misc/ddcutil/Manifest
@@ -3,3 +3,4 @@ DIST ddcutil-1.3.0.tar.gz 816789 BLAKE2B 1cb3b64961503416b85b792e1002ec67788f8cf
DIST ddcutil-1.4.1.tar.gz 816782 BLAKE2B ebc8b8893fda9a1e5b278b198594619f7c26a309e15aab90d5f8c61da352c54173076c86ce4e9d9bdcad8857e8ee45500de0c28d5de073038c841caf12080e5f SHA512 e53820662c12cd3a91b1182e02ad74841238117c129e88c8bcdede42d4e0dec22a9c1ec37a7b1e1dd512f2cf7ef410e737d9fdba62d95ea48e5912e43e6d3857
DIST ddcutil-1.4.5.tar.gz 817492 BLAKE2B b6442d9f7ec3687a3e75d9784dc9f62563f42c72c82a8a2ea24a392c3c4f186578c2c2f6592ba12c324568a20b7b25082acce9e7b753c41c1ac925d9d6de62dd SHA512 c355f104b60dbc3c893dea473d841181cfcaacd0cb2e97bc41ea829185c7ccdcff19ab19189ee572e7f2f6b41cbb2bd6c569ad3c09f6d645f9e342b7d1a5310f
DIST ddcutil-2.0.0.tar.gz 882984 BLAKE2B 19f92ab7fb02130c84e029a8055fe85ea99b9bd2959ad3c86b698afba9a45844817c0828fd2ad3178b954493a12dc62e95815e2700a42d37c340f098ad9d3f16 SHA512 e1880cf0e3e724f6ac88f807a867a34f451422b58ce7d23bee7b2fc40b253ef8de13df7706749e0c8242fe5de6db8da91784d16fbf008bb5161732a598c3b9e7
+DIST ddcutil-2.1.0.tar.gz 915330 BLAKE2B 156c4c2b18747f0fd42cf7f2580ac336f9e5c637762af59d4cdca0552723cf3fe8af08fee9efc69728b7f4e2845148fe4a4a2fb2eb84491531100b66d7b7fb92 SHA512 d48f87427050caf8e38f6a4b0dd71c1639101762444a712d7a7d97302ebc0dc4fd7c4a5cb188b251c6a6a369b298a43dbc7d91e0eca8cdb6f51c1ae6ae7f1f4b
diff --git a/app-misc/ddcutil/ddcutil-2.1.0.ebuild b/app-misc/ddcutil/ddcutil-2.1.0.ebuild
new file mode 100644
index 000000000000..746ceafd18ca
--- /dev/null
+++ b/app-misc/ddcutil/ddcutil-2.1.0.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Check for bumps & cleanup with app-misc/ddcui
+
+inherit autotools linux-info udev
+
+DESCRIPTION="Program for querying and changing monitor settings"
+HOMEPAGE="https://www.ddcutil.com/"
+SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0/5"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
+REQUIRED_USE="drm? ( X )"
+
+RDEPEND="
+ dev-libs/glib:2
+ >=dev-libs/jansson-2
+ sys-apps/i2c-tools
+ virtual/udev
+ drm? ( x11-libs/libdrm )
+ usb-monitor? (
+ dev-libs/hidapi
+ virtual/libusb:1
+ sys-apps/usbutils
+ )
+ user-permissions? (
+ acct-group/i2c
+ usb-monitor? ( acct-group/video )
+ )
+ X? (
+ x11-libs/libXrandr
+ x11-libs/libX11
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+# doc? ( app-text/doxygen[dot] )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.4.1-no-werror.patch
+)
+
+pkg_pretend() {
+ # This program needs /dev/ic2-* devices to communicate with the monitor.
+ CONFIG_CHECK="~I2C_CHARDEV"
+ ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
+ if use usb-monitor; then
+ CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
+ ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
+ ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
+ fi
+
+ # Now do the actual checks setup above
+ check_extra_config
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ # FAILS: doxyfile: No such file or directory
+ # $(use_enable doc doxygen)
+ $(use_enable drm)
+ --enable-udev
+ $(use_enable usb-monitor usb)
+ --enable-lib
+ $(use_enable X x11)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+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
+}
+
+pkg_postinst() {
+ if use user-permissions; then
+ einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
+ einfo "users to the i2c group: usermod -aG i2c user"
+ einfo "Restart the computer or reload the i2c-dev module to activate"
+ 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
+
+ if use video_cards_nvidia; then
+ ewarn "Please read the following webpage on proper usage with the nVidia "
+ ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
+ fi
+}
+
+pkg_postrm() {
+ if use user-permissions; then
+ udev_reload
+ fi
+}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2023-12-11 7:31 Andrew Ammerlaan
0 siblings, 0 replies; 51+ messages in thread
From: Andrew Ammerlaan @ 2023-12-11 7:31 UTC (permalink / raw
To: gentoo-commits
commit: 637874b91a93d6eaca80813a60d4ad95f0f0a682
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 11 07:31:07 2023 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Dec 11 07:31:39 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=637874b9
app-misc/ddcutil: install correct udev rules
Closes: https://bugs.gentoo.org/919691
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
app-misc/ddcutil/{ddcutil-2.0.0-r1.ebuild => ddcutil-2.0.0-r2.ebuild} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-misc/ddcutil/ddcutil-2.0.0-r1.ebuild b/app-misc/ddcutil/ddcutil-2.0.0-r2.ebuild
similarity index 95%
rename from app-misc/ddcutil/ddcutil-2.0.0-r1.ebuild
rename to app-misc/ddcutil/ddcutil-2.0.0-r2.ebuild
index 404d40c2fb75..6eea72eebf9a 100644
--- a/app-misc/ddcutil/ddcutil-2.0.0-r1.ebuild
+++ b/app-misc/ddcutil/ddcutil-2.0.0-r2.ebuild
@@ -82,9 +82,9 @@ src_configure() {
src_install() {
default
if use user-permissions; then
- udev_dorules data/etc/udev/rules.d/60-ddcutil-i2c.rules
+ udev_dorules data/usr/lib/udev/rules.d/60-ddcutil-i2c.rules
if use usb-monitor; then
- udev_dorules data/etc/udev/rules.d/60-ddcutil-usb.rules
+ udev_dorules data/usr/lib/udev/rules.d/60-ddcutil-usb.rules
fi
fi
}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2023-12-01 18:58 Arthur Zamarin
0 siblings, 0 replies; 51+ messages in thread
From: Arthur Zamarin @ 2023-12-01 18:58 UTC (permalink / raw
To: gentoo-commits
commit: aac9fe6df9a8de54f0bf01a7ec966b0b7c94291b
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 1 18:57:58 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 1 18:57:58 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aac9fe6d
app-misc/ddcutil: Keyword 2.0.0-r1 ppc, #916198
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
app-misc/ddcutil/ddcutil-2.0.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/ddcutil/ddcutil-2.0.0-r1.ebuild b/app-misc/ddcutil/ddcutil-2.0.0-r1.ebuild
index 0c8b195f90ae..404d40c2fb75 100644
--- a/app-misc/ddcutil/ddcutil-2.0.0-r1.ebuild
+++ b/app-misc/ddcutil/ddcutil-2.0.0-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.
SLOT="0/5"
LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
REQUIRED_USE="drm? ( X )"
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2023-11-24 9:37 Andrew Ammerlaan
0 siblings, 0 replies; 51+ messages in thread
From: Andrew Ammerlaan @ 2023-11-24 9:37 UTC (permalink / raw
To: gentoo-commits
commit: 5cb081c64b3e0fcdfc64dd5b99d51009f73ea590
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 16 14:11:35 2023 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Nov 24 09:36:45 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cb081c6
app-misc/ddcutil: add 1.4.5
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
app-misc/ddcutil/Manifest | 1 +
app-misc/ddcutil/ddcutil-1.4.5.ebuild | 119 ++++++++++++++++++++++++++++++++++
2 files changed, 120 insertions(+)
diff --git a/app-misc/ddcutil/Manifest b/app-misc/ddcutil/Manifest
index 1e710d2da94f..cdb55c4e86ff 100644
--- a/app-misc/ddcutil/Manifest
+++ b/app-misc/ddcutil/Manifest
@@ -1,3 +1,4 @@
DIST ddcutil-1.2.2.tar.gz 803943 BLAKE2B 65cc5dc0d1ee85d1e2b6670f7c24508ab817c6eebdb596b5f6f70c7ff7b9257f12f70abfea2d735e23755e508d4829d4be6574ac16564d4d828e0b1153cf8afe SHA512 0329711e536cbcaee2efe6cf981a17181ab318846e9c6a82f2ceacc42691ba49c06df44a52d1f079568e9ccec588cc85d4de4adf19b6db83bebe4bb90ae29207
DIST ddcutil-1.3.0.tar.gz 816789 BLAKE2B 1cb3b64961503416b85b792e1002ec67788f8cf7d622be1c4930808f99e16974ff57ed582d1d02a67580e3f4d92bef54b3669fd7378462bf4c98a3643d6786be SHA512 93d69958b2e1dcb66ad700712742536179383c93f2ec1f746b6a6c78adfd6daa861275208850cc807e0c16a11ea84904cb13ceef512ca76e1daa910410303d41
DIST ddcutil-1.4.1.tar.gz 816782 BLAKE2B ebc8b8893fda9a1e5b278b198594619f7c26a309e15aab90d5f8c61da352c54173076c86ce4e9d9bdcad8857e8ee45500de0c28d5de073038c841caf12080e5f SHA512 e53820662c12cd3a91b1182e02ad74841238117c129e88c8bcdede42d4e0dec22a9c1ec37a7b1e1dd512f2cf7ef410e737d9fdba62d95ea48e5912e43e6d3857
+DIST ddcutil-1.4.5.tar.gz 817492 BLAKE2B b6442d9f7ec3687a3e75d9784dc9f62563f42c72c82a8a2ea24a392c3c4f186578c2c2f6592ba12c324568a20b7b25082acce9e7b753c41c1ac925d9d6de62dd SHA512 c355f104b60dbc3c893dea473d841181cfcaacd0cb2e97bc41ea829185c7ccdcff19ab19189ee572e7f2f6b41cbb2bd6c569ad3c09f6d645f9e342b7d1a5310f
diff --git a/app-misc/ddcutil/ddcutil-1.4.5.ebuild b/app-misc/ddcutil/ddcutil-1.4.5.ebuild
new file mode 100644
index 000000000000..7f14979cf08a
--- /dev/null
+++ b/app-misc/ddcutil/ddcutil-1.4.5.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Check for bumps & cleanup with app-misc/ddcui
+
+inherit autotools linux-info udev
+
+DESCRIPTION="Program for querying and changing monitor settings"
+HOMEPAGE="https://www.ddcutil.com/"
+SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0/4"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
+REQUIRED_USE="drm? ( X )"
+
+RDEPEND="
+ dev-libs/glib:2
+ sys-apps/i2c-tools
+ virtual/udev
+ drm? ( x11-libs/libdrm )
+ usb-monitor? (
+ dev-libs/hidapi
+ virtual/libusb:1
+ sys-apps/usbutils
+ )
+ user-permissions? (
+ acct-group/i2c
+ usb-monitor? ( acct-group/video )
+ )
+ X? (
+ x11-libs/libXrandr
+ x11-libs/libX11
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+# doc? ( app-doc/doxygen[dot] )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.4.1-no-werror.patch
+)
+
+pkg_pretend() {
+ # This program needs /dev/ic2-* devices to communicate with the monitor.
+ CONFIG_CHECK="~I2C_CHARDEV"
+ ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
+ if use usb-monitor; then
+ CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
+ ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
+ ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
+ fi
+
+ # Now do the actual checks setup above
+ check_extra_config
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ # FAILS: doxyfile: No such file or directory
+ # $(use_enable doc doxygen)
+ $(use_enable drm)
+ --enable-udev
+ $(use_enable usb-monitor usb)
+ --enable-lib
+ $(use_enable X x11)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ if use user-permissions; then
+ udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
+ if use usb-monitor; then
+ udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
+ fi
+ fi
+}
+
+pkg_postinst() {
+ if use user-permissions; then
+ einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
+ einfo "users to the i2c group: usermod -aG i2c user"
+ einfo "Restart the computer or reload the i2c-dev module to activate"
+ 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
+
+ if use video_cards_nvidia; then
+ ewarn "Please read the following webpage on proper usage with the nVidia "
+ ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
+ fi
+}
+
+pkg_postrm() {
+ if use user-permissions; then
+ udev_reload
+ fi
+}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2023-11-24 9:37 Andrew Ammerlaan
0 siblings, 0 replies; 51+ messages in thread
From: Andrew Ammerlaan @ 2023-11-24 9:37 UTC (permalink / raw
To: gentoo-commits
commit: 9d5a63064b6749e767dc59431c493d68efa0effe
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 16 14:13:34 2023 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Nov 24 09:36:46 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d5a6306
app-misc/ddcutil: add 2.0.0
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
app-misc/ddcutil/Manifest | 1 +
app-misc/ddcutil/ddcutil-2.0.0.ebuild | 119 ++++++++++++++++++++++++++++++++++
2 files changed, 120 insertions(+)
diff --git a/app-misc/ddcutil/Manifest b/app-misc/ddcutil/Manifest
index cdb55c4e86ff..c259a8321369 100644
--- a/app-misc/ddcutil/Manifest
+++ b/app-misc/ddcutil/Manifest
@@ -2,3 +2,4 @@ DIST ddcutil-1.2.2.tar.gz 803943 BLAKE2B 65cc5dc0d1ee85d1e2b6670f7c24508ab817c6e
DIST ddcutil-1.3.0.tar.gz 816789 BLAKE2B 1cb3b64961503416b85b792e1002ec67788f8cf7d622be1c4930808f99e16974ff57ed582d1d02a67580e3f4d92bef54b3669fd7378462bf4c98a3643d6786be SHA512 93d69958b2e1dcb66ad700712742536179383c93f2ec1f746b6a6c78adfd6daa861275208850cc807e0c16a11ea84904cb13ceef512ca76e1daa910410303d41
DIST ddcutil-1.4.1.tar.gz 816782 BLAKE2B ebc8b8893fda9a1e5b278b198594619f7c26a309e15aab90d5f8c61da352c54173076c86ce4e9d9bdcad8857e8ee45500de0c28d5de073038c841caf12080e5f SHA512 e53820662c12cd3a91b1182e02ad74841238117c129e88c8bcdede42d4e0dec22a9c1ec37a7b1e1dd512f2cf7ef410e737d9fdba62d95ea48e5912e43e6d3857
DIST ddcutil-1.4.5.tar.gz 817492 BLAKE2B b6442d9f7ec3687a3e75d9784dc9f62563f42c72c82a8a2ea24a392c3c4f186578c2c2f6592ba12c324568a20b7b25082acce9e7b753c41c1ac925d9d6de62dd SHA512 c355f104b60dbc3c893dea473d841181cfcaacd0cb2e97bc41ea829185c7ccdcff19ab19189ee572e7f2f6b41cbb2bd6c569ad3c09f6d645f9e342b7d1a5310f
+DIST ddcutil-2.0.0.tar.gz 882984 BLAKE2B 19f92ab7fb02130c84e029a8055fe85ea99b9bd2959ad3c86b698afba9a45844817c0828fd2ad3178b954493a12dc62e95815e2700a42d37c340f098ad9d3f16 SHA512 e1880cf0e3e724f6ac88f807a867a34f451422b58ce7d23bee7b2fc40b253ef8de13df7706749e0c8242fe5de6db8da91784d16fbf008bb5161732a598c3b9e7
diff --git a/app-misc/ddcutil/ddcutil-2.0.0.ebuild b/app-misc/ddcutil/ddcutil-2.0.0.ebuild
new file mode 100644
index 000000000000..708539105ec7
--- /dev/null
+++ b/app-misc/ddcutil/ddcutil-2.0.0.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Check for bumps & cleanup with app-misc/ddcui
+
+inherit autotools linux-info udev
+
+DESCRIPTION="Program for querying and changing monitor settings"
+HOMEPAGE="https://www.ddcutil.com/"
+SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0/5"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
+REQUIRED_USE="drm? ( X )"
+
+RDEPEND="
+ dev-libs/glib:2
+ sys-apps/i2c-tools
+ virtual/udev
+ drm? ( x11-libs/libdrm )
+ usb-monitor? (
+ dev-libs/hidapi
+ virtual/libusb:1
+ sys-apps/usbutils
+ )
+ user-permissions? (
+ acct-group/i2c
+ usb-monitor? ( acct-group/video )
+ )
+ X? (
+ x11-libs/libXrandr
+ x11-libs/libX11
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+# doc? ( app-doc/doxygen[dot] )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.4.1-no-werror.patch
+)
+
+pkg_pretend() {
+ # This program needs /dev/ic2-* devices to communicate with the monitor.
+ CONFIG_CHECK="~I2C_CHARDEV"
+ ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
+ if use usb-monitor; then
+ CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
+ ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
+ ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
+ fi
+
+ # Now do the actual checks setup above
+ check_extra_config
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ # FAILS: doxyfile: No such file or directory
+ # $(use_enable doc doxygen)
+ $(use_enable drm)
+ --enable-udev
+ $(use_enable usb-monitor usb)
+ --enable-lib
+ $(use_enable X x11)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ if use user-permissions; then
+ udev_dorules data/etc/udev/rules.d/60-ddcutil-i2c.rules
+ if use usb-monitor; then
+ udev_dorules data/etc/udev/rules.d/60-ddcutil-usb.rules
+ fi
+ fi
+}
+
+pkg_postinst() {
+ if use user-permissions; then
+ einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
+ einfo "users to the i2c group: usermod -aG i2c user"
+ einfo "Restart the computer or reload the i2c-dev module to activate"
+ 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
+
+ if use video_cards_nvidia; then
+ ewarn "Please read the following webpage on proper usage with the nVidia "
+ ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
+ fi
+}
+
+pkg_postrm() {
+ if use user-permissions; then
+ udev_reload
+ fi
+}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2023-06-30 21:14 Sam James
0 siblings, 0 replies; 51+ messages in thread
From: Sam James @ 2023-06-30 21:14 UTC (permalink / raw
To: gentoo-commits
commit: be4bb2dd0c91f58f299a048309b915b7ab4221ed
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 30 21:13:39 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 30 21:13:39 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be4bb2dd
app-misc/ddcutil: Stabilize 1.3.0 amd64, #904157
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-misc/ddcutil/ddcutil-1.3.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/ddcutil/ddcutil-1.3.0.ebuild b/app-misc/ddcutil/ddcutil-1.3.0.ebuild
index 58c8dcad3a21..d87b7c7e7d63 100644
--- a/app-misc/ddcutil/ddcutil-1.3.0.ebuild
+++ b/app-misc/ddcutil/ddcutil-1.3.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.
SLOT="0/4"
LICENSE="GPL-2"
-KEYWORDS="~amd64 arm arm64 ~loong ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
REQUIRED_USE="drm? ( X )"
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2023-06-30 21:14 Sam James
0 siblings, 0 replies; 51+ messages in thread
From: Sam James @ 2023-06-30 21:14 UTC (permalink / raw
To: gentoo-commits
commit: 7ab2e57dd388386e17db9ff2c274ef38f5a7dcd0
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 30 21:13:35 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 30 21:13:35 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ab2e57d
app-misc/ddcutil: Stabilize 1.3.0 arm64, #904157
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-misc/ddcutil/ddcutil-1.3.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/ddcutil/ddcutil-1.3.0.ebuild b/app-misc/ddcutil/ddcutil-1.3.0.ebuild
index 6f4236c8fc4b..132128f4644b 100644
--- a/app-misc/ddcutil/ddcutil-1.3.0.ebuild
+++ b/app-misc/ddcutil/ddcutil-1.3.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.
SLOT="0/4"
LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ppc64 ~riscv x86"
+KEYWORDS="~amd64 ~arm arm64 ~loong ppc64 ~riscv x86"
IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
REQUIRED_USE="drm? ( X )"
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2023-06-30 19:30 Sam James
0 siblings, 0 replies; 51+ messages in thread
From: Sam James @ 2023-06-30 19:30 UTC (permalink / raw
To: gentoo-commits
commit: dd109df8aebedfd0992567986cddcc491fc781dc
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 30 19:30:01 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 30 19:30:13 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd109df8
app-misc/ddcutil: Stabilize 1.3.0 x86, #904157
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-misc/ddcutil/ddcutil-1.3.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/ddcutil/ddcutil-1.3.0.ebuild b/app-misc/ddcutil/ddcutil-1.3.0.ebuild
index b0642bc092ca..6f4236c8fc4b 100644
--- a/app-misc/ddcutil/ddcutil-1.3.0.ebuild
+++ b/app-misc/ddcutil/ddcutil-1.3.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.
SLOT="0/4"
LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ppc64 ~riscv x86"
IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
REQUIRED_USE="drm? ( X )"
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2023-06-30 19:19 Sam James
0 siblings, 0 replies; 51+ messages in thread
From: Sam James @ 2023-06-30 19:19 UTC (permalink / raw
To: gentoo-commits
commit: 099991bce5a846dcda3d3696625d7341304d9b21
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 30 19:19:38 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 30 19:19:38 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=099991bc
app-misc/ddcutil: Stabilize 1.3.0 ppc64, #904157
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-misc/ddcutil/ddcutil-1.3.0.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-misc/ddcutil/ddcutil-1.3.0.ebuild b/app-misc/ddcutil/ddcutil-1.3.0.ebuild
index 35f885477ff1..b0642bc092ca 100644
--- a/app-misc/ddcutil/ddcutil-1.3.0.ebuild
+++ b/app-misc/ddcutil/ddcutil-1.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.
SLOT="0/4"
LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ppc64 ~riscv ~x86"
IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
REQUIRED_USE="drm? ( X )"
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2022-08-28 5:06 WANG Xuerui
0 siblings, 0 replies; 51+ messages in thread
From: WANG Xuerui @ 2022-08-28 5:06 UTC (permalink / raw
To: gentoo-commits
commit: 3a051c51c360dc7ea7bde6e868a2291b2d11ce78
Author: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 28 03:53:12 2022 +0000
Commit: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Sun Aug 28 05:05:55 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a051c51
app-misc/ddcutil: keyword 1.2.2 for ~loong
Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>
app-misc/ddcutil/ddcutil-1.2.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/ddcutil/ddcutil-1.2.2.ebuild b/app-misc/ddcutil/ddcutil-1.2.2.ebuild
index d6267f5e0cc6..2286e15815e9 100644
--- a/app-misc/ddcutil/ddcutil-1.2.2.ebuild
+++ b/app-misc/ddcutil/ddcutil-1.2.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.
SLOT="0/4"
LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
IUSE="drm introspection usb-monitor user-permissions video_cards_nvidia X"
REQUIRED_USE="drm? ( X )"
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2022-04-15 5:30 Sam James
0 siblings, 0 replies; 51+ messages in thread
From: Sam James @ 2022-04-15 5:30 UTC (permalink / raw
To: gentoo-commits
commit: 7b9d38158e270d39c7ece9479b894b9c8a361753
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 15 05:30:10 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 15 05:30:10 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b9d3815
app-misc/ddcutil: add note to bump/cleanup w app-misc/ddcui
Bug: https://bugs.gentoo.org/787020
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-misc/ddcutil/ddcutil-1.2.2.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/app-misc/ddcutil/ddcutil-1.2.2.ebuild b/app-misc/ddcutil/ddcutil-1.2.2.ebuild
index 91a57f143aeb..9aa77c1cc2d3 100644
--- a/app-misc/ddcutil/ddcutil-1.2.2.ebuild
+++ b/app-misc/ddcutil/ddcutil-1.2.2.ebuild
@@ -3,6 +3,8 @@
EAPI=8
+# Check for bumps & cleanup with app-misc/ddcui
+
inherit autotools linux-info udev
DESCRIPTION="Program for querying and changing monitor settings"
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2022-04-15 5:00 Robin H. Johnson
0 siblings, 0 replies; 51+ messages in thread
From: Robin H. Johnson @ 2022-04-15 5:00 UTC (permalink / raw
To: gentoo-commits
commit: 76f55948553c4a00bebea7334608cd16a686398e
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 15 04:59:39 2022 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Fri Apr 15 04:59:51 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76f55948
app-misc/ddcutil: cleanup
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
Closes: https://bugs.gentoo.org/787020
app-misc/ddcutil/Manifest | 1 -
app-misc/ddcutil/ddcutil-0.9.9-r3.ebuild | 117 -------------------------------
2 files changed, 118 deletions(-)
diff --git a/app-misc/ddcutil/Manifest b/app-misc/ddcutil/Manifest
index 36814e6355bf..6237ee274ea6 100644
--- a/app-misc/ddcutil/Manifest
+++ b/app-misc/ddcutil/Manifest
@@ -1,2 +1 @@
-DIST ddcutil-0.9.9.tar.gz 725207 BLAKE2B ad7b0b35ad4c2dae21da066e4194209579d774ded10f2dc0d8d7d3d94e70d5893c3d1f772b86ea01be510cfb8d51a657178228d028ca34ab20d344e86e0581d2 SHA512 f7b2b961c6b76ef59f336290b494cdd331556848de881d57e5240075d50733030df4c47131070f1276907d712a45f60dad6bebaa052a66621b8b5517ff293c21
DIST ddcutil-1.2.2.tar.gz 803943 BLAKE2B 65cc5dc0d1ee85d1e2b6670f7c24508ab817c6eebdb596b5f6f70c7ff7b9257f12f70abfea2d735e23755e508d4829d4be6574ac16564d4d828e0b1153cf8afe SHA512 0329711e536cbcaee2efe6cf981a17181ab318846e9c6a82f2ceacc42691ba49c06df44a52d1f079568e9ccec588cc85d4de4adf19b6db83bebe4bb90ae29207
diff --git a/app-misc/ddcutil/ddcutil-0.9.9-r3.ebuild b/app-misc/ddcutil/ddcutil-0.9.9-r3.ebuild
deleted file mode 100644
index 53bf5448e893..000000000000
--- a/app-misc/ddcutil/ddcutil-0.9.9-r3.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools flag-o-matic linux-info udev
-
-DESCRIPTION="Program for querying and changing monitor settings"
-HOMEPAGE="http://www.ddcutil.com/"
-SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-SLOT="0/3"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
-IUSE="drm introspection usb-monitor user-permissions video_cards_nvidia X"
-REQUIRED_USE="drm? ( X )"
-
-RDEPEND="
- dev-libs/glib:2
- sys-apps/i2c-tools
- virtual/udev
- drm? ( x11-libs/libdrm )
- introspection? ( >=dev-libs/gobject-introspection-1.54.0:= )
- usb-monitor? (
- dev-libs/hidapi
- virtual/libusb:1
- sys-apps/usbutils
- )
- user-permissions? (
- acct-group/i2c
- usb-monitor? ( acct-group/video )
- )
- X? (
- x11-libs/libXrandr
- x11-libs/libX11
- )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-pkg_pretend() {
- # This program needs /dev/ic2-* devices to communicate with the monitor.
- CONFIG_CHECK="~I2C_CHARDEV"
- ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
- if use usb-monitor; then
- CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
- ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
- ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
- fi
-
- # Now do the actual checks setup above
- check_extra_config
-}
-
-src_prepare() {
- default
- eautoreconf
- sed -e "s#usr/local/bin#usr/bin#" -i data/etc/udev/rules.d/45-ddcutil-usb.rules || die
-}
-
-src_configure() {
- # Bug 607818.
- replace-flags -O3 -O2
-
- local myeconfargs=(
- $(use_enable drm)
- $(use_enable usb-monitor usb)
- $(use_enable X x11)
- --enable-lib
- # Please read upstream's note about the original purpose of these flags before re-enabling them:
- # https://github.com/rockowitz/ddcutil/issues/128
- # As of 0.9.9 the following no longer compile:
- # Python3 & CFFI is already broken as of Python 3.7, with future removal;
- # SWIG : Python3.7 breakage as well PyFileObject vs PyCodeObject
- --disable-cffi
- --disable-cython
- --disable-swig
- $(use_enable introspection)
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
- if use user-permissions; then
- udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
- if use usb-monitor; then
- udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
- fi
- fi
-}
-
-pkg_postinst() {
- if use user-permissions; then
- einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
- einfo "users to the i2c group: usermod -aG i2c user"
- einfo "Restart the computer or reload the i2c-dev module to activate"
- 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
-
- if use video_cards_nvidia; then
- ewarn "Please read the following webpage on proper usage with the nVidia "
- ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
- fi
-}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2022-02-21 19:47 Andrew Ammerlaan
0 siblings, 0 replies; 51+ messages in thread
From: Andrew Ammerlaan @ 2022-02-21 19:47 UTC (permalink / raw
To: gentoo-commits
commit: ea1099c0aff98aa86bc594f0e8130f138456693e
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 21 19:36:28 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Feb 21 19:47:26 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea1099c0
app-misc/ddcutil: add version 1.2.2
Bug: https://bugs.gentoo.org/787020
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
app-misc/ddcutil/Manifest | 1 +
app-misc/ddcutil/ddcutil-1.2.2.ebuild | 105 ++++++++++++++++++++++++++++++++++
2 files changed, 106 insertions(+)
diff --git a/app-misc/ddcutil/Manifest b/app-misc/ddcutil/Manifest
index d99eb83d0dcd..bc023b14685c 100644
--- a/app-misc/ddcutil/Manifest
+++ b/app-misc/ddcutil/Manifest
@@ -1,2 +1,3 @@
DIST ddcutil-0.9.9.tar.gz 725207 BLAKE2B ad7b0b35ad4c2dae21da066e4194209579d774ded10f2dc0d8d7d3d94e70d5893c3d1f772b86ea01be510cfb8d51a657178228d028ca34ab20d344e86e0581d2 SHA512 f7b2b961c6b76ef59f336290b494cdd331556848de881d57e5240075d50733030df4c47131070f1276907d712a45f60dad6bebaa052a66621b8b5517ff293c21
DIST ddcutil-1.2.1.tar.gz 801196 BLAKE2B f2db3c6a88b735ec96b03e401aea21a6dcc3ee7e6fb6c30854dacc8868adf9854f63b02153ad6627ce602d7deb51073142f910631b5c2ce86c15414a53644f7a SHA512 f80c45ed47a059c71ddf7dc56e8daf9b666120960d1911175d390f95ab9691a62cffb7ce4555ddc418e3e9cfe7a575a70778c35809cdea598d7610dac915ccbc
+DIST ddcutil-1.2.2.tar.gz 803943 BLAKE2B 65cc5dc0d1ee85d1e2b6670f7c24508ab817c6eebdb596b5f6f70c7ff7b9257f12f70abfea2d735e23755e508d4829d4be6574ac16564d4d828e0b1153cf8afe SHA512 0329711e536cbcaee2efe6cf981a17181ab318846e9c6a82f2ceacc42691ba49c06df44a52d1f079568e9ccec588cc85d4de4adf19b6db83bebe4bb90ae29207
diff --git a/app-misc/ddcutil/ddcutil-1.2.2.ebuild b/app-misc/ddcutil/ddcutil-1.2.2.ebuild
new file mode 100644
index 000000000000..91a57f143aeb
--- /dev/null
+++ b/app-misc/ddcutil/ddcutil-1.2.2.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools linux-info udev
+
+DESCRIPTION="Program for querying and changing monitor settings"
+HOMEPAGE="https://www.ddcutil.com/"
+SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0/4"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="drm introspection usb-monitor user-permissions video_cards_nvidia X"
+REQUIRED_USE="drm? ( X )"
+
+RDEPEND="
+ dev-libs/glib:2
+ sys-apps/i2c-tools
+ virtual/udev
+ drm? ( x11-libs/libdrm )
+ introspection? ( >=dev-libs/gobject-introspection-1.54.0:= )
+ usb-monitor? (
+ dev-libs/hidapi
+ virtual/libusb:1
+ sys-apps/usbutils
+ )
+ user-permissions? (
+ acct-group/i2c
+ usb-monitor? ( acct-group/video )
+ )
+ X? (
+ x11-libs/libXrandr
+ x11-libs/libX11
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+pkg_pretend() {
+ # This program needs /dev/ic2-* devices to communicate with the monitor.
+ CONFIG_CHECK="~I2C_CHARDEV"
+ ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
+ if use usb-monitor; then
+ CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
+ ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
+ ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
+ fi
+
+ # Now do the actual checks setup above
+ check_extra_config
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable drm)
+ $(use_enable usb-monitor usb)
+ $(use_enable X x11)
+ --enable-lib
+ $(use_enable introspection)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ if use user-permissions; then
+ udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
+ if use usb-monitor; then
+ udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
+ fi
+ fi
+}
+
+pkg_postinst() {
+ if use user-permissions; then
+ einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
+ einfo "users to the i2c group: usermod -aG i2c user"
+ einfo "Restart the computer or reload the i2c-dev module to activate"
+ 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
+
+ if use video_cards_nvidia; then
+ ewarn "Please read the following webpage on proper usage with the nVidia "
+ ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
+ fi
+}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2022-02-21 19:47 Andrew Ammerlaan
0 siblings, 0 replies; 51+ messages in thread
From: Andrew Ammerlaan @ 2022-02-21 19:47 UTC (permalink / raw
To: gentoo-commits
commit: d580663fb6a55f4765012daa37eedf5032f59cb5
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 21 19:46:54 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Feb 21 19:47:29 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d580663f
app-misc/ddcutil: drop version 1.2.1
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
app-misc/ddcutil/Manifest | 1 -
app-misc/ddcutil/ddcutil-1.2.1.ebuild | 105 ----------------------------------
2 files changed, 106 deletions(-)
diff --git a/app-misc/ddcutil/Manifest b/app-misc/ddcutil/Manifest
index bc023b14685c..36814e6355bf 100644
--- a/app-misc/ddcutil/Manifest
+++ b/app-misc/ddcutil/Manifest
@@ -1,3 +1,2 @@
DIST ddcutil-0.9.9.tar.gz 725207 BLAKE2B ad7b0b35ad4c2dae21da066e4194209579d774ded10f2dc0d8d7d3d94e70d5893c3d1f772b86ea01be510cfb8d51a657178228d028ca34ab20d344e86e0581d2 SHA512 f7b2b961c6b76ef59f336290b494cdd331556848de881d57e5240075d50733030df4c47131070f1276907d712a45f60dad6bebaa052a66621b8b5517ff293c21
-DIST ddcutil-1.2.1.tar.gz 801196 BLAKE2B f2db3c6a88b735ec96b03e401aea21a6dcc3ee7e6fb6c30854dacc8868adf9854f63b02153ad6627ce602d7deb51073142f910631b5c2ce86c15414a53644f7a SHA512 f80c45ed47a059c71ddf7dc56e8daf9b666120960d1911175d390f95ab9691a62cffb7ce4555ddc418e3e9cfe7a575a70778c35809cdea598d7610dac915ccbc
DIST ddcutil-1.2.2.tar.gz 803943 BLAKE2B 65cc5dc0d1ee85d1e2b6670f7c24508ab817c6eebdb596b5f6f70c7ff7b9257f12f70abfea2d735e23755e508d4829d4be6574ac16564d4d828e0b1153cf8afe SHA512 0329711e536cbcaee2efe6cf981a17181ab318846e9c6a82f2ceacc42691ba49c06df44a52d1f079568e9ccec588cc85d4de4adf19b6db83bebe4bb90ae29207
diff --git a/app-misc/ddcutil/ddcutil-1.2.1.ebuild b/app-misc/ddcutil/ddcutil-1.2.1.ebuild
deleted file mode 100644
index 91a57f143aeb..000000000000
--- a/app-misc/ddcutil/ddcutil-1.2.1.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools linux-info udev
-
-DESCRIPTION="Program for querying and changing monitor settings"
-HOMEPAGE="https://www.ddcutil.com/"
-SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-SLOT="0/4"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
-IUSE="drm introspection usb-monitor user-permissions video_cards_nvidia X"
-REQUIRED_USE="drm? ( X )"
-
-RDEPEND="
- dev-libs/glib:2
- sys-apps/i2c-tools
- virtual/udev
- drm? ( x11-libs/libdrm )
- introspection? ( >=dev-libs/gobject-introspection-1.54.0:= )
- usb-monitor? (
- dev-libs/hidapi
- virtual/libusb:1
- sys-apps/usbutils
- )
- user-permissions? (
- acct-group/i2c
- usb-monitor? ( acct-group/video )
- )
- X? (
- x11-libs/libXrandr
- x11-libs/libX11
- )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-pkg_pretend() {
- # This program needs /dev/ic2-* devices to communicate with the monitor.
- CONFIG_CHECK="~I2C_CHARDEV"
- ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
- if use usb-monitor; then
- CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
- ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
- ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
- fi
-
- # Now do the actual checks setup above
- check_extra_config
-}
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- $(use_enable drm)
- $(use_enable usb-monitor usb)
- $(use_enable X x11)
- --enable-lib
- $(use_enable introspection)
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
- if use user-permissions; then
- udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
- if use usb-monitor; then
- udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
- fi
- fi
-}
-
-pkg_postinst() {
- if use user-permissions; then
- einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
- einfo "users to the i2c group: usermod -aG i2c user"
- einfo "Restart the computer or reload the i2c-dev module to activate"
- 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
-
- if use video_cards_nvidia; then
- ewarn "Please read the following webpage on proper usage with the nVidia "
- ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
- fi
-}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2022-01-10 11:47 Andrew Ammerlaan
0 siblings, 0 replies; 51+ messages in thread
From: Andrew Ammerlaan @ 2022-01-10 11:47 UTC (permalink / raw
To: gentoo-commits
commit: 9979db8b0e3ec4f1c760b70032626e7067030e74
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 10 11:20:29 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Jan 10 11:46:56 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9979db8b
app-misc/ddcutil: add subslot info, drop unused inherit, and http-->https
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
.../ddcutil/{ddcutil-0.9.9-r2.ebuild => ddcutil-0.9.9-r3.ebuild} | 4 ++--
app-misc/ddcutil/ddcutil-1.2.1.ebuild | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/app-misc/ddcutil/ddcutil-0.9.9-r2.ebuild b/app-misc/ddcutil/ddcutil-0.9.9-r3.ebuild
similarity index 98%
rename from app-misc/ddcutil/ddcutil-0.9.9-r2.ebuild
rename to app-misc/ddcutil/ddcutil-0.9.9-r3.ebuild
index c7b8c46d25c6..53bf5448e893 100644
--- a/app-misc/ddcutil/ddcutil-0.9.9-r2.ebuild
+++ b/app-misc/ddcutil/ddcutil-0.9.9-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -9,7 +9,7 @@ DESCRIPTION="Program for querying and changing monitor settings"
HOMEPAGE="http://www.ddcutil.com/"
SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-SLOT="0"
+SLOT="0/3"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
IUSE="drm introspection usb-monitor user-permissions video_cards_nvidia X"
diff --git a/app-misc/ddcutil/ddcutil-1.2.1.ebuild b/app-misc/ddcutil/ddcutil-1.2.1.ebuild
index e942872ffccf..91a57f143aeb 100644
--- a/app-misc/ddcutil/ddcutil-1.2.1.ebuild
+++ b/app-misc/ddcutil/ddcutil-1.2.1.ebuild
@@ -3,13 +3,13 @@
EAPI=8
-inherit autotools flag-o-matic linux-info udev
+inherit autotools linux-info udev
DESCRIPTION="Program for querying and changing monitor settings"
-HOMEPAGE="http://www.ddcutil.com/"
+HOMEPAGE="https://www.ddcutil.com/"
SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-SLOT="0"
+SLOT="0/4"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
IUSE="drm introspection usb-monitor user-permissions video_cards_nvidia X"
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2022-01-10 11:47 Andrew Ammerlaan
0 siblings, 0 replies; 51+ messages in thread
From: Andrew Ammerlaan @ 2022-01-10 11:47 UTC (permalink / raw
To: gentoo-commits
commit: e56bb5d2bd4bd61026b1bbf06b811e4b3f3c894e
Author: Dmitry Baranov <reagentoo <AT> gmail <DOT> com>
AuthorDate: Mon Dec 20 20:03:03 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Jan 10 11:46:55 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e56bb5d2
app-misc/ddcutil: add 1.2.1
Closes: https://bugs.gentoo.org/829724
Signed-off-by: Dmitry Baranov <reagentoo <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/23441
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
app-misc/ddcutil/Manifest | 1 +
app-misc/ddcutil/ddcutil-1.2.1.ebuild | 105 ++++++++++++++++++++++++++++++++++
2 files changed, 106 insertions(+)
diff --git a/app-misc/ddcutil/Manifest b/app-misc/ddcutil/Manifest
index 0bad323a8088..d99eb83d0dcd 100644
--- a/app-misc/ddcutil/Manifest
+++ b/app-misc/ddcutil/Manifest
@@ -1 +1,2 @@
DIST ddcutil-0.9.9.tar.gz 725207 BLAKE2B ad7b0b35ad4c2dae21da066e4194209579d774ded10f2dc0d8d7d3d94e70d5893c3d1f772b86ea01be510cfb8d51a657178228d028ca34ab20d344e86e0581d2 SHA512 f7b2b961c6b76ef59f336290b494cdd331556848de881d57e5240075d50733030df4c47131070f1276907d712a45f60dad6bebaa052a66621b8b5517ff293c21
+DIST ddcutil-1.2.1.tar.gz 801196 BLAKE2B f2db3c6a88b735ec96b03e401aea21a6dcc3ee7e6fb6c30854dacc8868adf9854f63b02153ad6627ce602d7deb51073142f910631b5c2ce86c15414a53644f7a SHA512 f80c45ed47a059c71ddf7dc56e8daf9b666120960d1911175d390f95ab9691a62cffb7ce4555ddc418e3e9cfe7a575a70778c35809cdea598d7610dac915ccbc
diff --git a/app-misc/ddcutil/ddcutil-1.2.1.ebuild b/app-misc/ddcutil/ddcutil-1.2.1.ebuild
new file mode 100644
index 000000000000..e942872ffccf
--- /dev/null
+++ b/app-misc/ddcutil/ddcutil-1.2.1.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic linux-info udev
+
+DESCRIPTION="Program for querying and changing monitor settings"
+HOMEPAGE="http://www.ddcutil.com/"
+SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="drm introspection usb-monitor user-permissions video_cards_nvidia X"
+REQUIRED_USE="drm? ( X )"
+
+RDEPEND="
+ dev-libs/glib:2
+ sys-apps/i2c-tools
+ virtual/udev
+ drm? ( x11-libs/libdrm )
+ introspection? ( >=dev-libs/gobject-introspection-1.54.0:= )
+ usb-monitor? (
+ dev-libs/hidapi
+ virtual/libusb:1
+ sys-apps/usbutils
+ )
+ user-permissions? (
+ acct-group/i2c
+ usb-monitor? ( acct-group/video )
+ )
+ X? (
+ x11-libs/libXrandr
+ x11-libs/libX11
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+pkg_pretend() {
+ # This program needs /dev/ic2-* devices to communicate with the monitor.
+ CONFIG_CHECK="~I2C_CHARDEV"
+ ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
+ if use usb-monitor; then
+ CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
+ ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
+ ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
+ fi
+
+ # Now do the actual checks setup above
+ check_extra_config
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable drm)
+ $(use_enable usb-monitor usb)
+ $(use_enable X x11)
+ --enable-lib
+ $(use_enable introspection)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ if use user-permissions; then
+ udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
+ if use usb-monitor; then
+ udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
+ fi
+ fi
+}
+
+pkg_postinst() {
+ if use user-permissions; then
+ einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
+ einfo "users to the i2c group: usermod -aG i2c user"
+ einfo "Restart the computer or reload the i2c-dev module to activate"
+ 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
+
+ if use video_cards_nvidia; then
+ ewarn "Please read the following webpage on proper usage with the nVidia "
+ ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
+ fi
+}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2021-08-18 0:35 Yixun Lan
0 siblings, 0 replies; 51+ messages in thread
From: Yixun Lan @ 2021-08-18 0:35 UTC (permalink / raw
To: gentoo-commits
commit: 3612fe36408bf726b1653e07510431fcc3c06fe8
Author: Alex Fan <alexfanqi <AT> yahoo <DOT> com>
AuthorDate: Tue Aug 17 04:08:15 2021 +0000
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Wed Aug 18 00:32:51 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3612fe36
app-misc/ddcutil: keyword 0.9.9-r2 for ~riscv
Signed-off-by: Alex Fan <alexfanqi <AT> yahoo.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>
app-misc/ddcutil/ddcutil-0.9.9-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/ddcutil/ddcutil-0.9.9-r2.ebuild b/app-misc/ddcutil/ddcutil-0.9.9-r2.ebuild
index 2517c6fbb73..c7b8c46d25c 100644
--- a/app-misc/ddcutil/ddcutil-0.9.9-r2.ebuild
+++ b/app-misc/ddcutil/ddcutil-0.9.9-r2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
IUSE="drm introspection usb-monitor user-permissions video_cards_nvidia X"
REQUIRED_USE="drm? ( X )"
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2021-07-09 22:48 Conrad Kostecki
0 siblings, 0 replies; 51+ messages in thread
From: Conrad Kostecki @ 2021-07-09 22:48 UTC (permalink / raw
To: gentoo-commits
commit: a761f1bd3c191d71f44c7f96f546af0750233491
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 9 22:47:07 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri Jul 9 22:47:07 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a761f1bd
app-misc/ddcutil: bump to EAPI=7
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
app-misc/ddcutil/ddcutil-0.9.9-r2.ebuild | 117 +++++++++++++++++++++++++++++++
1 file changed, 117 insertions(+)
diff --git a/app-misc/ddcutil/ddcutil-0.9.9-r2.ebuild b/app-misc/ddcutil/ddcutil-0.9.9-r2.ebuild
new file mode 100644
index 00000000000..2517c6fbb73
--- /dev/null
+++ b/app-misc/ddcutil/ddcutil-0.9.9-r2.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools flag-o-matic linux-info udev
+
+DESCRIPTION="Program for querying and changing monitor settings"
+HOMEPAGE="http://www.ddcutil.com/"
+SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="drm introspection usb-monitor user-permissions video_cards_nvidia X"
+REQUIRED_USE="drm? ( X )"
+
+RDEPEND="
+ dev-libs/glib:2
+ sys-apps/i2c-tools
+ virtual/udev
+ drm? ( x11-libs/libdrm )
+ introspection? ( >=dev-libs/gobject-introspection-1.54.0:= )
+ usb-monitor? (
+ dev-libs/hidapi
+ virtual/libusb:1
+ sys-apps/usbutils
+ )
+ user-permissions? (
+ acct-group/i2c
+ usb-monitor? ( acct-group/video )
+ )
+ X? (
+ x11-libs/libXrandr
+ x11-libs/libX11
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+pkg_pretend() {
+ # This program needs /dev/ic2-* devices to communicate with the monitor.
+ CONFIG_CHECK="~I2C_CHARDEV"
+ ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
+ if use usb-monitor; then
+ CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
+ ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
+ ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
+ fi
+
+ # Now do the actual checks setup above
+ check_extra_config
+}
+
+src_prepare() {
+ default
+ eautoreconf
+ sed -e "s#usr/local/bin#usr/bin#" -i data/etc/udev/rules.d/45-ddcutil-usb.rules || die
+}
+
+src_configure() {
+ # Bug 607818.
+ replace-flags -O3 -O2
+
+ local myeconfargs=(
+ $(use_enable drm)
+ $(use_enable usb-monitor usb)
+ $(use_enable X x11)
+ --enable-lib
+ # Please read upstream's note about the original purpose of these flags before re-enabling them:
+ # https://github.com/rockowitz/ddcutil/issues/128
+ # As of 0.9.9 the following no longer compile:
+ # Python3 & CFFI is already broken as of Python 3.7, with future removal;
+ # SWIG : Python3.7 breakage as well PyFileObject vs PyCodeObject
+ --disable-cffi
+ --disable-cython
+ --disable-swig
+ $(use_enable introspection)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ if use user-permissions; then
+ udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
+ if use usb-monitor; then
+ udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
+ fi
+ fi
+}
+
+pkg_postinst() {
+ if use user-permissions; then
+ einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
+ einfo "users to the i2c group: usermod -aG i2c user"
+ einfo "Restart the computer or reload the i2c-dev module to activate"
+ 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
+
+ if use video_cards_nvidia; then
+ ewarn "Please read the following webpage on proper usage with the nVidia "
+ ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
+ fi
+}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2021-07-09 22:48 Conrad Kostecki
0 siblings, 0 replies; 51+ messages in thread
From: Conrad Kostecki @ 2021-07-09 22:48 UTC (permalink / raw
To: gentoo-commits
commit: 18c85d9c62fdee60eb12e99a71986672d5cd57fb
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 9 22:47:51 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri Jul 9 22:47:51 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18c85d9c
app-misc/ddcutil: drop old version
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
app-misc/ddcutil/ddcutil-0.9.9-r1.ebuild | 116 -------------------------------
1 file changed, 116 deletions(-)
diff --git a/app-misc/ddcutil/ddcutil-0.9.9-r1.ebuild b/app-misc/ddcutil/ddcutil-0.9.9-r1.ebuild
deleted file mode 100644
index 909b06e1dad..00000000000
--- a/app-misc/ddcutil/ddcutil-0.9.9-r1.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools flag-o-matic linux-info udev
-
-DESCRIPTION="Program for querying and changing monitor settings"
-HOMEPAGE="http://www.ddcutil.com/"
-SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-IUSE="drm introspection usb-monitor user-permissions video_cards_nvidia X"
-REQUIRED_USE="drm? ( X )"
-
-RDEPEND="dev-libs/glib:2
- sys-apps/i2c-tools
- virtual/udev
- drm? ( x11-libs/libdrm )
- introspection? ( >=dev-libs/gobject-introspection-1.54.0:= )
- usb-monitor? (
- dev-libs/hidapi
- virtual/libusb:1
- sys-apps/usbutils
- )
- user-permissions? (
- acct-group/i2c
- usb-monitor? ( acct-group/video )
- )
- X? (
- x11-libs/libXrandr
- x11-libs/libX11
- )"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-pkg_pretend() {
- # This program needs /dev/ic2-* devices to communicate with the monitor.
- CONFIG_CHECK="~I2C_CHARDEV"
- ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
- if use usb-monitor; then
- CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
- ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
- ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
- fi
-
- # Now do the actual checks setup above
- check_extra_config
-}
-
-src_prepare() {
- default
- eautoreconf
- sed -i -e "s#usr/local/bin#usr/bin#" data/etc/udev/rules.d/45-ddcutil-usb.rules || die
-}
-
-src_configure() {
- # Bug 607818.
- replace-flags -O3 -O2
-
- local myeconfargs=(
- $(use_enable drm)
- $(use_enable usb-monitor usb)
- $(use_enable X x11)
- --enable-lib
- # Please read upstream's note about the original purpose of these flags before re-enabling them:
- # https://github.com/rockowitz/ddcutil/issues/128
- # As of 0.9.9 the following no longer compile:
- # Python3 & CFFI is already broken as of Python 3.7, with future removal;
- # SWIG : Python3.7 breakage as well PyFileObject vs PyCodeObject
- --disable-cffi
- --disable-cython
- --disable-swig
- $(use_enable introspection)
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
- if use user-permissions; then
- udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
- if use usb-monitor; then
- udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
- fi
- fi
-}
-
-pkg_postinst() {
- if use user-permissions; then
- einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
- einfo "users to the i2c group: usermod -aG i2c user"
- einfo "Restart the computer or reload the i2c-dev module to activate"
- 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
-
- if use video_cards_nvidia; then
- ewarn "Please read the following webpage on proper usage with the nVidia "
- ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
- fi
-}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2021-07-09 22:36 Conrad Kostecki
0 siblings, 0 replies; 51+ messages in thread
From: Conrad Kostecki @ 2021-07-09 22:36 UTC (permalink / raw
To: gentoo-commits
commit: 5ba65d9ea7311dbb822aeb08b8890eaa03cb758e
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 9 22:34:50 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri Jul 9 22:36:39 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ba65d9e
app-misc/ddcutil: drop old version
Closes: https://bugs.gentoo.org/781557
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
app-misc/ddcutil/Manifest | 2 -
app-misc/ddcutil/ddcutil-0.9.1.ebuild | 106 -------------------------------
app-misc/ddcutil/ddcutil-0.9.5.ebuild | 107 -------------------------------
app-misc/ddcutil/ddcutil-0.9.9.ebuild | 114 ----------------------------------
4 files changed, 329 deletions(-)
diff --git a/app-misc/ddcutil/Manifest b/app-misc/ddcutil/Manifest
index 65115188f11..0bad323a808 100644
--- a/app-misc/ddcutil/Manifest
+++ b/app-misc/ddcutil/Manifest
@@ -1,3 +1 @@
-DIST ddcutil-0.9.1.tar.gz 656853 BLAKE2B e4f11253176587cb5ee3c9647a01ab04d5a92ce4ca7a4098378318fc069e635e43c3716ace316498f64ceaaa00aa90db3b5f409b74b8d7089a7c25254c0e360d SHA512 b2d5866606a4bc081d89180e910822f2a2a653a2782e3df582536ddc86c7d3dc02309dbb41f8d566f6ebdc5d82d3aa11792a04c28b3d83552b024dfd59891fda
-DIST ddcutil-0.9.5.tar.gz 681534 BLAKE2B 6746c239738d4f8eb7fe56323816fadee9b8fa9ad2b66a8242782e0b2688182c0140b40b9eddb3b54ad32c7ff7d1f0cf9a28c5477a48d90cc39431ed82f5d443 SHA512 6249ebdbb398ad5a6c32f3891be8bf5328114b1ed08afd75adf4b67f10a40f19451e188ce5cd88b3153a18f317e394146a34258a7d2298f126be227d7e1c25e8
DIST ddcutil-0.9.9.tar.gz 725207 BLAKE2B ad7b0b35ad4c2dae21da066e4194209579d774ded10f2dc0d8d7d3d94e70d5893c3d1f772b86ea01be510cfb8d51a657178228d028ca34ab20d344e86e0581d2 SHA512 f7b2b961c6b76ef59f336290b494cdd331556848de881d57e5240075d50733030df4c47131070f1276907d712a45f60dad6bebaa052a66621b8b5517ff293c21
diff --git a/app-misc/ddcutil/ddcutil-0.9.1.ebuild b/app-misc/ddcutil/ddcutil-0.9.1.ebuild
deleted file mode 100644
index a0f3bc6bf4d..00000000000
--- a/app-misc/ddcutil/ddcutil-0.9.1.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools flag-o-matic linux-info udev user
-
-DESCRIPTION="Program for querying and changing monitor settings"
-HOMEPAGE="http://www.ddcutil.com/"
-SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
-REQUIRED_USE="drm? ( X )"
-
-RDEPEND="dev-libs/glib:2
- sys-apps/i2c-tools
- virtual/udev
- drm? ( x11-libs/libdrm )
- usb-monitor? (
- dev-libs/hidapi
- virtual/libusb:1
- sys-apps/usbutils
- )
- X? (
- x11-libs/libXrandr
- x11-libs/libX11
- )"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-pkg_pretend() {
- # This program needs /dev/ic2-* devices to communicate with the monitor.
- CONFIG_CHECK="~I2C_CHARDEV"
- ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
- if use usb-monitor; then
- CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
- ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
- ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
- fi
-
- # Now do the actual checks setup above
- check_extra_config
-}
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- # Bug 607818.
- replace-flags -O3 -O2
-
- local myeconfargs=(
- $(use_enable drm)
- $(use_enable usb-monitor usb)
- $(use_enable X x11)
- --enable-lib
- --disable-cffi
- --disable-cython
- --disable-swig
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
- if use user-permissions; then
- udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
- if use usb-monitor; then
- udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
- fi
- fi
-}
-
-pkg_postinst() {
- if use user-permissions; then
- enewgroup i2c
- einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
- einfo "users to the i2c group: usermod -aG i2c user"
- einfo "Restart the computer or reload the i2c-dev module to activate"
- einfo "the new udev rule."
- einfo "For more information read: http://www.ddcutil.com/i2c_permissions/"
-
- if use usb-monitor; then
- enewgroup video
- 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
-
- if use video_cards_nvidia; then
- ewarn "Please read the following webpage on proper usage with the nVidia "
- ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
- fi
-}
diff --git a/app-misc/ddcutil/ddcutil-0.9.5.ebuild b/app-misc/ddcutil/ddcutil-0.9.5.ebuild
deleted file mode 100644
index 06560df4d33..00000000000
--- a/app-misc/ddcutil/ddcutil-0.9.5.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools flag-o-matic linux-info udev user
-
-DESCRIPTION="Program for querying and changing monitor settings"
-HOMEPAGE="http://www.ddcutil.com/"
-SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
-REQUIRED_USE="drm? ( X )"
-
-RDEPEND="dev-libs/glib:2
- sys-apps/i2c-tools
- virtual/udev
- drm? ( x11-libs/libdrm )
- usb-monitor? (
- dev-libs/hidapi
- virtual/libusb:1
- sys-apps/usbutils
- )
- X? (
- x11-libs/libXrandr
- x11-libs/libX11
- )"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-pkg_pretend() {
- # This program needs /dev/ic2-* devices to communicate with the monitor.
- CONFIG_CHECK="~I2C_CHARDEV"
- ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
- if use usb-monitor; then
- CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
- ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
- ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
- fi
-
- # Now do the actual checks setup above
- check_extra_config
-}
-
-src_prepare() {
- default
- eautoreconf
- sed -i -e "s#usr/local/bin#usr/bin#" data/etc/udev/rules.d/45-ddcutil-usb.rules || die
-}
-
-src_configure() {
- # Bug 607818.
- replace-flags -O3 -O2
-
- local myeconfargs=(
- $(use_enable drm)
- $(use_enable usb-monitor usb)
- $(use_enable X x11)
- --enable-lib
- --disable-cffi
- --disable-cython
- --disable-swig
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
- if use user-permissions; then
- udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
- if use usb-monitor; then
- udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
- fi
- fi
-}
-
-pkg_postinst() {
- if use user-permissions; then
- enewgroup i2c
- einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
- einfo "users to the i2c group: usermod -aG i2c user"
- einfo "Restart the computer or reload the i2c-dev module to activate"
- einfo "the new udev rule."
- einfo "For more information read: http://www.ddcutil.com/i2c_permissions/"
-
- if use usb-monitor; then
- enewgroup video
- 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
-
- if use video_cards_nvidia; then
- ewarn "Please read the following webpage on proper usage with the nVidia "
- ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
- fi
-}
diff --git a/app-misc/ddcutil/ddcutil-0.9.9.ebuild b/app-misc/ddcutil/ddcutil-0.9.9.ebuild
deleted file mode 100644
index 08aaa306dd0..00000000000
--- a/app-misc/ddcutil/ddcutil-0.9.9.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools flag-o-matic linux-info udev user
-
-DESCRIPTION="Program for querying and changing monitor settings"
-HOMEPAGE="http://www.ddcutil.com/"
-SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-IUSE="drm introspection usb-monitor user-permissions video_cards_nvidia X"
-REQUIRED_USE="drm? ( X )"
-
-RDEPEND="dev-libs/glib:2
- sys-apps/i2c-tools
- virtual/udev
- drm? ( x11-libs/libdrm )
- introspection? ( >=dev-libs/gobject-introspection-1.54.0:= )
- usb-monitor? (
- dev-libs/hidapi
- virtual/libusb:1
- sys-apps/usbutils
- )
- X? (
- x11-libs/libXrandr
- x11-libs/libX11
- )"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-pkg_pretend() {
- # This program needs /dev/ic2-* devices to communicate with the monitor.
- CONFIG_CHECK="~I2C_CHARDEV"
- ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
- if use usb-monitor; then
- CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
- ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
- ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
- fi
-
- # Now do the actual checks setup above
- check_extra_config
-}
-
-src_prepare() {
- default
- eautoreconf
- sed -i -e "s#usr/local/bin#usr/bin#" data/etc/udev/rules.d/45-ddcutil-usb.rules || die
-}
-
-src_configure() {
- # Bug 607818.
- replace-flags -O3 -O2
-
- local myeconfargs=(
- $(use_enable drm)
- $(use_enable usb-monitor usb)
- $(use_enable X x11)
- --enable-lib
- # Please read upstream's note about the original purpose of these flags before re-enabling them:
- # https://github.com/rockowitz/ddcutil/issues/128
- # As of 0.9.9 the following no longer compile:
- # Python3 & CFFI is already broken as of Python 3.7, with future removal;
- # SWIG : Python3.7 breakage as well PyFileObject vs PyCodeObject
- --disable-cffi
- --disable-cython
- --disable-swig
- $(use_enable introspection)
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
- if use user-permissions; then
- udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
- if use usb-monitor; then
- udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
- fi
- fi
-}
-
-pkg_postinst() {
- if use user-permissions; then
- enewgroup i2c
- einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
- einfo "users to the i2c group: usermod -aG i2c user"
- einfo "Restart the computer or reload the i2c-dev module to activate"
- einfo "the new udev rule."
- einfo "For more information read: http://www.ddcutil.com/i2c_permissions/"
-
- if use usb-monitor; then
- enewgroup video
- 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
-
- if use video_cards_nvidia; then
- ewarn "Please read the following webpage on proper usage with the nVidia "
- ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
- fi
-}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2021-07-09 22:36 Conrad Kostecki
0 siblings, 0 replies; 51+ messages in thread
From: Conrad Kostecki @ 2021-07-09 22:36 UTC (permalink / raw
To: gentoo-commits
commit: 3f902a4b8af6d21527c8942cf06730f832bb547e
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 9 22:33:37 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri Jul 9 22:36:38 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f902a4b
app-misc/ddcutil: migrate to GLEP 81
Closes: https://bugs.gentoo.org/781557
Closes: https://bugs.gentoo.org/792792
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
app-misc/ddcutil/ddcutil-0.9.9-r1.ebuild | 116 +++++++++++++++++++++++++++++++
1 file changed, 116 insertions(+)
diff --git a/app-misc/ddcutil/ddcutil-0.9.9-r1.ebuild b/app-misc/ddcutil/ddcutil-0.9.9-r1.ebuild
new file mode 100644
index 00000000000..909b06e1dad
--- /dev/null
+++ b/app-misc/ddcutil/ddcutil-0.9.9-r1.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools flag-o-matic linux-info udev
+
+DESCRIPTION="Program for querying and changing monitor settings"
+HOMEPAGE="http://www.ddcutil.com/"
+SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="drm introspection usb-monitor user-permissions video_cards_nvidia X"
+REQUIRED_USE="drm? ( X )"
+
+RDEPEND="dev-libs/glib:2
+ sys-apps/i2c-tools
+ virtual/udev
+ drm? ( x11-libs/libdrm )
+ introspection? ( >=dev-libs/gobject-introspection-1.54.0:= )
+ usb-monitor? (
+ dev-libs/hidapi
+ virtual/libusb:1
+ sys-apps/usbutils
+ )
+ user-permissions? (
+ acct-group/i2c
+ usb-monitor? ( acct-group/video )
+ )
+ X? (
+ x11-libs/libXrandr
+ x11-libs/libX11
+ )"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+pkg_pretend() {
+ # This program needs /dev/ic2-* devices to communicate with the monitor.
+ CONFIG_CHECK="~I2C_CHARDEV"
+ ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
+ if use usb-monitor; then
+ CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
+ ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
+ ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
+ fi
+
+ # Now do the actual checks setup above
+ check_extra_config
+}
+
+src_prepare() {
+ default
+ eautoreconf
+ sed -i -e "s#usr/local/bin#usr/bin#" data/etc/udev/rules.d/45-ddcutil-usb.rules || die
+}
+
+src_configure() {
+ # Bug 607818.
+ replace-flags -O3 -O2
+
+ local myeconfargs=(
+ $(use_enable drm)
+ $(use_enable usb-monitor usb)
+ $(use_enable X x11)
+ --enable-lib
+ # Please read upstream's note about the original purpose of these flags before re-enabling them:
+ # https://github.com/rockowitz/ddcutil/issues/128
+ # As of 0.9.9 the following no longer compile:
+ # Python3 & CFFI is already broken as of Python 3.7, with future removal;
+ # SWIG : Python3.7 breakage as well PyFileObject vs PyCodeObject
+ --disable-cffi
+ --disable-cython
+ --disable-swig
+ $(use_enable introspection)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ if use user-permissions; then
+ udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
+ if use usb-monitor; then
+ udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
+ fi
+ fi
+}
+
+pkg_postinst() {
+ if use user-permissions; then
+ einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
+ einfo "users to the i2c group: usermod -aG i2c user"
+ einfo "Restart the computer or reload the i2c-dev module to activate"
+ 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
+
+ if use video_cards_nvidia; then
+ ewarn "Please read the following webpage on proper usage with the nVidia "
+ ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
+ fi
+}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2020-07-30 23:07 Robin H. Johnson
0 siblings, 0 replies; 51+ messages in thread
From: Robin H. Johnson @ 2020-07-30 23:07 UTC (permalink / raw
To: gentoo-commits
commit: b6a980e776954dbc69640c3afc2d1204c3a8d8f5
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 30 23:05:33 2020 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Thu Jul 30 23:07:42 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6a980e7
app-misc/ddcutil: version bump
Fixes: https://bugs.gentoo.org/713176
Fixes: https://bugs.gentoo.org/666094
Fixes: https://bugs.gentoo.org/662804
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
app-misc/ddcutil/Manifest | 1 +
app-misc/ddcutil/ddcutil-0.9.9.ebuild | 114 ++++++++++++++++++++++++++++++++++
app-misc/ddcutil/metadata.xml | 5 +-
3 files changed, 119 insertions(+), 1 deletion(-)
diff --git a/app-misc/ddcutil/Manifest b/app-misc/ddcutil/Manifest
index e60f5f8da78..65115188f11 100644
--- a/app-misc/ddcutil/Manifest
+++ b/app-misc/ddcutil/Manifest
@@ -1,2 +1,3 @@
DIST ddcutil-0.9.1.tar.gz 656853 BLAKE2B e4f11253176587cb5ee3c9647a01ab04d5a92ce4ca7a4098378318fc069e635e43c3716ace316498f64ceaaa00aa90db3b5f409b74b8d7089a7c25254c0e360d SHA512 b2d5866606a4bc081d89180e910822f2a2a653a2782e3df582536ddc86c7d3dc02309dbb41f8d566f6ebdc5d82d3aa11792a04c28b3d83552b024dfd59891fda
DIST ddcutil-0.9.5.tar.gz 681534 BLAKE2B 6746c239738d4f8eb7fe56323816fadee9b8fa9ad2b66a8242782e0b2688182c0140b40b9eddb3b54ad32c7ff7d1f0cf9a28c5477a48d90cc39431ed82f5d443 SHA512 6249ebdbb398ad5a6c32f3891be8bf5328114b1ed08afd75adf4b67f10a40f19451e188ce5cd88b3153a18f317e394146a34258a7d2298f126be227d7e1c25e8
+DIST ddcutil-0.9.9.tar.gz 725207 BLAKE2B ad7b0b35ad4c2dae21da066e4194209579d774ded10f2dc0d8d7d3d94e70d5893c3d1f772b86ea01be510cfb8d51a657178228d028ca34ab20d344e86e0581d2 SHA512 f7b2b961c6b76ef59f336290b494cdd331556848de881d57e5240075d50733030df4c47131070f1276907d712a45f60dad6bebaa052a66621b8b5517ff293c21
diff --git a/app-misc/ddcutil/ddcutil-0.9.9.ebuild b/app-misc/ddcutil/ddcutil-0.9.9.ebuild
new file mode 100644
index 00000000000..08aaa306dd0
--- /dev/null
+++ b/app-misc/ddcutil/ddcutil-0.9.9.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools flag-o-matic linux-info udev user
+
+DESCRIPTION="Program for querying and changing monitor settings"
+HOMEPAGE="http://www.ddcutil.com/"
+SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="drm introspection usb-monitor user-permissions video_cards_nvidia X"
+REQUIRED_USE="drm? ( X )"
+
+RDEPEND="dev-libs/glib:2
+ sys-apps/i2c-tools
+ virtual/udev
+ drm? ( x11-libs/libdrm )
+ introspection? ( >=dev-libs/gobject-introspection-1.54.0:= )
+ usb-monitor? (
+ dev-libs/hidapi
+ virtual/libusb:1
+ sys-apps/usbutils
+ )
+ X? (
+ x11-libs/libXrandr
+ x11-libs/libX11
+ )"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+pkg_pretend() {
+ # This program needs /dev/ic2-* devices to communicate with the monitor.
+ CONFIG_CHECK="~I2C_CHARDEV"
+ ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
+ if use usb-monitor; then
+ CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
+ ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
+ ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
+ fi
+
+ # Now do the actual checks setup above
+ check_extra_config
+}
+
+src_prepare() {
+ default
+ eautoreconf
+ sed -i -e "s#usr/local/bin#usr/bin#" data/etc/udev/rules.d/45-ddcutil-usb.rules || die
+}
+
+src_configure() {
+ # Bug 607818.
+ replace-flags -O3 -O2
+
+ local myeconfargs=(
+ $(use_enable drm)
+ $(use_enable usb-monitor usb)
+ $(use_enable X x11)
+ --enable-lib
+ # Please read upstream's note about the original purpose of these flags before re-enabling them:
+ # https://github.com/rockowitz/ddcutil/issues/128
+ # As of 0.9.9 the following no longer compile:
+ # Python3 & CFFI is already broken as of Python 3.7, with future removal;
+ # SWIG : Python3.7 breakage as well PyFileObject vs PyCodeObject
+ --disable-cffi
+ --disable-cython
+ --disable-swig
+ $(use_enable introspection)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ if use user-permissions; then
+ udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
+ if use usb-monitor; then
+ udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
+ fi
+ fi
+}
+
+pkg_postinst() {
+ if use user-permissions; then
+ enewgroup i2c
+ einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
+ einfo "users to the i2c group: usermod -aG i2c user"
+ einfo "Restart the computer or reload the i2c-dev module to activate"
+ einfo "the new udev rule."
+ einfo "For more information read: http://www.ddcutil.com/i2c_permissions/"
+
+ if use usb-monitor; then
+ enewgroup video
+ 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
+
+ if use video_cards_nvidia; then
+ ewarn "Please read the following webpage on proper usage with the nVidia "
+ ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
+ fi
+}
diff --git a/app-misc/ddcutil/metadata.xml b/app-misc/ddcutil/metadata.xml
index 4ed719a346c..e65496c2188 100644
--- a/app-misc/ddcutil/metadata.xml
+++ b/app-misc/ddcutil/metadata.xml
@@ -1,7 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person">
+ <email>robbat2@gentoo.org</email>
+ <name>Robin H. Johnson</name>
+ </maintainer>
<longdescription>
ddcutil primarily uses DDC/CI (Display Data Channel Command Interface)
to communicate with monitors implementing MCCS (Monitor Control Command
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2020-05-18 22:39 Georgy Yakovlev
0 siblings, 0 replies; 51+ messages in thread
From: Georgy Yakovlev @ 2020-05-18 22:39 UTC (permalink / raw
To: gentoo-commits
commit: 37c76253c646acf74a1457e5548c6790a6db4ffa
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Mon May 18 22:24:56 2020 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Mon May 18 22:33:45 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37c76253
app-misc/ddcutil: add ~ppc64 keyword
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
app-misc/ddcutil/ddcutil-0.9.5.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-misc/ddcutil/ddcutil-0.9.5.ebuild b/app-misc/ddcutil/ddcutil-0.9.5.ebuild
index 0e1d5aff693..06560df4d33 100644
--- a/app-misc/ddcutil/ddcutil-0.9.5.ebuild
+++ b/app-misc/ddcutil/ddcutil-0.9.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
REQUIRED_USE="drm? ( X )"
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2019-07-15 23:16 Manuel Rüger
0 siblings, 0 replies; 51+ messages in thread
From: Manuel Rüger @ 2019-07-15 23:16 UTC (permalink / raw
To: gentoo-commits
commit: d5b3afe83e9a8ab9f07b9fc0f68fe05e77556ce0
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 15 23:08:58 2019 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Mon Jul 15 23:08:58 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5b3afe8
app-misc/ddcutil: Version bump to 0.9.5
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Manuel Rüger <mrueg <AT> gentoo.org>
app-misc/ddcutil/Manifest | 1 +
app-misc/ddcutil/ddcutil-0.9.5.ebuild | 106 ++++++++++++++++++++++++++++++++++
2 files changed, 107 insertions(+)
diff --git a/app-misc/ddcutil/Manifest b/app-misc/ddcutil/Manifest
index 886483f6e13..e60f5f8da78 100644
--- a/app-misc/ddcutil/Manifest
+++ b/app-misc/ddcutil/Manifest
@@ -1 +1,2 @@
DIST ddcutil-0.9.1.tar.gz 656853 BLAKE2B e4f11253176587cb5ee3c9647a01ab04d5a92ce4ca7a4098378318fc069e635e43c3716ace316498f64ceaaa00aa90db3b5f409b74b8d7089a7c25254c0e360d SHA512 b2d5866606a4bc081d89180e910822f2a2a653a2782e3df582536ddc86c7d3dc02309dbb41f8d566f6ebdc5d82d3aa11792a04c28b3d83552b024dfd59891fda
+DIST ddcutil-0.9.5.tar.gz 681534 BLAKE2B 6746c239738d4f8eb7fe56323816fadee9b8fa9ad2b66a8242782e0b2688182c0140b40b9eddb3b54ad32c7ff7d1f0cf9a28c5477a48d90cc39431ed82f5d443 SHA512 6249ebdbb398ad5a6c32f3891be8bf5328114b1ed08afd75adf4b67f10a40f19451e188ce5cd88b3153a18f317e394146a34258a7d2298f126be227d7e1c25e8
diff --git a/app-misc/ddcutil/ddcutil-0.9.5.ebuild b/app-misc/ddcutil/ddcutil-0.9.5.ebuild
new file mode 100644
index 00000000000..a0f3bc6bf4d
--- /dev/null
+++ b/app-misc/ddcutil/ddcutil-0.9.5.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools flag-o-matic linux-info udev user
+
+DESCRIPTION="Program for querying and changing monitor settings"
+HOMEPAGE="http://www.ddcutil.com/"
+SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
+REQUIRED_USE="drm? ( X )"
+
+RDEPEND="dev-libs/glib:2
+ sys-apps/i2c-tools
+ virtual/udev
+ drm? ( x11-libs/libdrm )
+ usb-monitor? (
+ dev-libs/hidapi
+ virtual/libusb:1
+ sys-apps/usbutils
+ )
+ X? (
+ x11-libs/libXrandr
+ x11-libs/libX11
+ )"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+pkg_pretend() {
+ # This program needs /dev/ic2-* devices to communicate with the monitor.
+ CONFIG_CHECK="~I2C_CHARDEV"
+ ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
+ if use usb-monitor; then
+ CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
+ ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
+ ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
+ fi
+
+ # Now do the actual checks setup above
+ check_extra_config
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # Bug 607818.
+ replace-flags -O3 -O2
+
+ local myeconfargs=(
+ $(use_enable drm)
+ $(use_enable usb-monitor usb)
+ $(use_enable X x11)
+ --enable-lib
+ --disable-cffi
+ --disable-cython
+ --disable-swig
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ if use user-permissions; then
+ udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
+ if use usb-monitor; then
+ udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
+ fi
+ fi
+}
+
+pkg_postinst() {
+ if use user-permissions; then
+ enewgroup i2c
+ einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
+ einfo "users to the i2c group: usermod -aG i2c user"
+ einfo "Restart the computer or reload the i2c-dev module to activate"
+ einfo "the new udev rule."
+ einfo "For more information read: http://www.ddcutil.com/i2c_permissions/"
+
+ if use usb-monitor; then
+ enewgroup video
+ 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
+
+ if use video_cards_nvidia; then
+ ewarn "Please read the following webpage on proper usage with the nVidia "
+ ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
+ fi
+}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2019-07-15 23:16 Manuel Rüger
0 siblings, 0 replies; 51+ messages in thread
From: Manuel Rüger @ 2019-07-15 23:16 UTC (permalink / raw
To: gentoo-commits
commit: 33d8a9ecae0911388cd83323cc8141da926d9cdb
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 15 23:15:40 2019 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Mon Jul 15 23:15:40 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33d8a9ec
app-misc/ddcutil: Version bump to 0.9.5
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Manuel Rüger <mrueg <AT> gentoo.org>
app-misc/ddcutil/ddcutil-0.9.5.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/app-misc/ddcutil/ddcutil-0.9.5.ebuild b/app-misc/ddcutil/ddcutil-0.9.5.ebuild
index a0f3bc6bf4d..0e1d5aff693 100644
--- a/app-misc/ddcutil/ddcutil-0.9.5.ebuild
+++ b/app-misc/ddcutil/ddcutil-0.9.5.ebuild
@@ -49,6 +49,7 @@ pkg_pretend() {
src_prepare() {
default
eautoreconf
+ sed -i -e "s#usr/local/bin#usr/bin#" data/etc/udev/rules.d/45-ddcutil-usb.rules || die
}
src_configure() {
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2019-02-26 20:54 Andreas Sturmlechner
0 siblings, 0 replies; 51+ messages in thread
From: Andreas Sturmlechner @ 2019-02-26 20:54 UTC (permalink / raw
To: gentoo-commits
commit: f23a476361eddd3080c92afbcad756442ac1d033
Author: Roy Bamford <neddyseagoon <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 25 21:32:12 2019 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Feb 26 20:53:26 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f23a4763
app-misc/ddcutil: added ~arm64
Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Roy Bamford <neddyseagoon <AT> gentoo.org>
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
app-misc/ddcutil/ddcutil-0.9.1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-misc/ddcutil/ddcutil-0.9.1.ebuild b/app-misc/ddcutil/ddcutil-0.9.1.ebuild
index 4a1c2ddb93c..a0f3bc6bf4d 100644
--- a/app-misc/ddcutil/ddcutil-0.9.1.ebuild
+++ b/app-misc/ddcutil/ddcutil-0.9.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
REQUIRED_USE="drm? ( X )"
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2018-08-04 17:48 Jonathan Scruggs
0 siblings, 0 replies; 51+ messages in thread
From: Jonathan Scruggs @ 2018-08-04 17:48 UTC (permalink / raw
To: gentoo-commits
commit: 352eb4877b6fcb544b4b39ab1d8ff010f29c53e8
Author: Jonathan Scruggs <dracwyrm <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 4 17:48:02 2018 +0000
Commit: Jonathan Scruggs <dracwyrm <AT> gentoo <DOT> org>
CommitDate: Sat Aug 4 17:48:02 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=352eb487
app-misc/ddcutil: remove ~amd64 keyword
Package-Manager: Portage-2.3.44, Repoman-2.3.10
app-misc/ddcutil/ddcutil-0.9.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/ddcutil/ddcutil-0.9.1.ebuild b/app-misc/ddcutil/ddcutil-0.9.1.ebuild
index 137099e38c0..4a1c2ddb93c 100644
--- a/app-misc/ddcutil/ddcutil-0.9.1.ebuild
+++ b/app-misc/ddcutil/ddcutil-0.9.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm ~x86"
IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
REQUIRED_USE="drm? ( X )"
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2018-08-04 16:31 Jonathan Scruggs
0 siblings, 0 replies; 51+ messages in thread
From: Jonathan Scruggs @ 2018-08-04 16:31 UTC (permalink / raw
To: gentoo-commits
commit: 44413aa46b2302f9de0639a7341db3f5b7382da6
Author: Jonathan Scruggs <j.scruggs <AT> gmail <DOT> com>
AuthorDate: Sat Aug 4 11:52:53 2018 +0000
Commit: Jonathan Scruggs <dracwyrm <AT> gentoo <DOT> org>
CommitDate: Sat Aug 4 16:30:41 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44413aa4
app-misc/ddcutil: bump to version 0.9.1
Closes: https://bugs.gentoo.org/656010
Closes: https://github.com/gentoo/gentoo/pull/9436
app-misc/ddcutil/Manifest | 1 +
app-misc/ddcutil/ddcutil-0.9.1.ebuild | 106 ++++++++++++++++++++++++++++++++++
2 files changed, 107 insertions(+)
diff --git a/app-misc/ddcutil/Manifest b/app-misc/ddcutil/Manifest
index 5976b0abda9..f9693bc10f7 100644
--- a/app-misc/ddcutil/Manifest
+++ b/app-misc/ddcutil/Manifest
@@ -1,2 +1,3 @@
DIST ddcutil-0.8.4.tar.gz 558405 BLAKE2B 4bb93d6b9b28a17ef182c1f39e3b6351070c5541fd8eefccde2a6d771e28a8c656abe1e00a58ee935290cba79af09b1c2d6b611532827455b5ec83532bbb46c4 SHA512 e7bf78295a008607ef520e055873acc0bac6d94b850a6ea1f7d4a4ea9e080d23b4b7d82e5725a220ff120ab1523aa320265ba22671982625c10088521c72a14c
DIST ddcutil-0.8.6.tar.gz 613272 BLAKE2B ce7072a819c5a2aa125ae8f6d5550cf0a516714f0635672015a0c24c9e525d34139c903ce7791955e0b30b8d4c66e94453eed60f8d8d024caccb49204d6fb853 SHA512 4ec473a37dc135700f4ce06634e6aa303199f4d743fba02c04ca509d0c31d45f59da7c6cd9818efc1fd8bc20dae518c5656fc8a38e9f00057677b1e997434fb0
+DIST ddcutil-0.9.1.tar.gz 656853 BLAKE2B e4f11253176587cb5ee3c9647a01ab04d5a92ce4ca7a4098378318fc069e635e43c3716ace316498f64ceaaa00aa90db3b5f409b74b8d7089a7c25254c0e360d SHA512 b2d5866606a4bc081d89180e910822f2a2a653a2782e3df582536ddc86c7d3dc02309dbb41f8d566f6ebdc5d82d3aa11792a04c28b3d83552b024dfd59891fda
diff --git a/app-misc/ddcutil/ddcutil-0.9.1.ebuild b/app-misc/ddcutil/ddcutil-0.9.1.ebuild
new file mode 100644
index 00000000000..137099e38c0
--- /dev/null
+++ b/app-misc/ddcutil/ddcutil-0.9.1.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools flag-o-matic linux-info udev user
+
+DESCRIPTION="Program for querying and changing monitor settings"
+HOMEPAGE="http://www.ddcutil.com/"
+SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
+REQUIRED_USE="drm? ( X )"
+
+RDEPEND="dev-libs/glib:2
+ sys-apps/i2c-tools
+ virtual/udev
+ drm? ( x11-libs/libdrm )
+ usb-monitor? (
+ dev-libs/hidapi
+ virtual/libusb:1
+ sys-apps/usbutils
+ )
+ X? (
+ x11-libs/libXrandr
+ x11-libs/libX11
+ )"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+pkg_pretend() {
+ # This program needs /dev/ic2-* devices to communicate with the monitor.
+ CONFIG_CHECK="~I2C_CHARDEV"
+ ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
+ if use usb-monitor; then
+ CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
+ ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
+ ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
+ fi
+
+ # Now do the actual checks setup above
+ check_extra_config
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # Bug 607818.
+ replace-flags -O3 -O2
+
+ local myeconfargs=(
+ $(use_enable drm)
+ $(use_enable usb-monitor usb)
+ $(use_enable X x11)
+ --enable-lib
+ --disable-cffi
+ --disable-cython
+ --disable-swig
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ if use user-permissions; then
+ udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
+ if use usb-monitor; then
+ udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
+ fi
+ fi
+}
+
+pkg_postinst() {
+ if use user-permissions; then
+ enewgroup i2c
+ einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
+ einfo "users to the i2c group: usermod -aG i2c user"
+ einfo "Restart the computer or reload the i2c-dev module to activate"
+ einfo "the new udev rule."
+ einfo "For more information read: http://www.ddcutil.com/i2c_permissions/"
+
+ if use usb-monitor; then
+ enewgroup video
+ 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
+
+ if use video_cards_nvidia; then
+ ewarn "Please read the following webpage on proper usage with the nVidia "
+ ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
+ fi
+}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2018-01-27 17:19 Jonathan Scruggs
0 siblings, 0 replies; 51+ messages in thread
From: Jonathan Scruggs @ 2018-01-27 17:19 UTC (permalink / raw
To: gentoo-commits
commit: 2f28099a5c9d0ab672af0b0f345fd38759561e4e
Author: Jonathan Scruggs <j.scruggs <AT> gmail <DOT> com>
AuthorDate: Sat Jan 27 14:50:21 2018 +0000
Commit: Jonathan Scruggs <dracwyrm <AT> gentoo <DOT> org>
CommitDate: Sat Jan 27 17:18:56 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f28099a
app-misc/ddcutil: update metadata information
Closes: https://github.com/gentoo/gentoo/pull/6976
app-misc/ddcutil/metadata.xml | 4 ----
1 file changed, 4 deletions(-)
diff --git a/app-misc/ddcutil/metadata.xml b/app-misc/ddcutil/metadata.xml
index 6a7c0c183ed..7a944d0907c 100644
--- a/app-misc/ddcutil/metadata.xml
+++ b/app-misc/ddcutil/metadata.xml
@@ -5,10 +5,6 @@
<email>dracwyrm@gentoo.org</email>
<name>Jonathan Scruggs</name>
</maintainer>
- <maintainer type="project">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
<longdescription>
ddcutil primarily uses DDC/CI (Display Data Channel Command Interface)
to communicate with monitors implementing MCCS (Monitor Control Command
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2018-01-26 13:03 Jeroen Roovers
0 siblings, 0 replies; 51+ messages in thread
From: Jeroen Roovers @ 2018-01-26 13:03 UTC (permalink / raw
To: gentoo-commits
commit: 7e2b2307e494ffea695d2b3f6a71f95ff9461254
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 26 13:02:44 2018 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Fri Jan 26 13:02:59 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e2b2307
app-misc/ddcutil: Fix metadata.
Package-Manager: Portage-2.3.20, Repoman-2.3.6
app-misc/ddcutil/metadata.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/ddcutil/metadata.xml b/app-misc/ddcutil/metadata.xml
index ac2fd91b713..6a7c0c183ed 100644
--- a/app-misc/ddcutil/metadata.xml
+++ b/app-misc/ddcutil/metadata.xml
@@ -2,7 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
- <email>j.scruggs@gmail.com</email>
+ <email>dracwyrm@gentoo.org</email>
<name>Jonathan Scruggs</name>
</maintainer>
<maintainer type="project">
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2018-01-25 21:35 Jonathan Scruggs
0 siblings, 0 replies; 51+ messages in thread
From: Jonathan Scruggs @ 2018-01-25 21:35 UTC (permalink / raw
To: gentoo-commits
commit: d527691fde359c6edaf0d19f0daebfb0e49aff44
Author: Jonathan Scruggs <dracwyrm <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 25 20:13:58 2018 +0000
Commit: Jonathan Scruggs <dracwyrm <AT> gentoo <DOT> org>
CommitDate: Thu Jan 25 21:35:17 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d527691f
app-misc/ddcutil: Add 0.8.6 release.
- Added drm and X use flags to minimize depends.
Package-Manager: Portage-2.3.20, Repoman-2.3.6
app-misc/ddcutil/Manifest | 1 +
app-misc/ddcutil/ddcutil-0.8.6.ebuild | 106 ++++++++++++++++++++++++++++++++++
app-misc/ddcutil/metadata.xml | 3 +
3 files changed, 110 insertions(+)
diff --git a/app-misc/ddcutil/Manifest b/app-misc/ddcutil/Manifest
index 6ee209a81d5..5976b0abda9 100644
--- a/app-misc/ddcutil/Manifest
+++ b/app-misc/ddcutil/Manifest
@@ -1 +1,2 @@
DIST ddcutil-0.8.4.tar.gz 558405 BLAKE2B 4bb93d6b9b28a17ef182c1f39e3b6351070c5541fd8eefccde2a6d771e28a8c656abe1e00a58ee935290cba79af09b1c2d6b611532827455b5ec83532bbb46c4 SHA512 e7bf78295a008607ef520e055873acc0bac6d94b850a6ea1f7d4a4ea9e080d23b4b7d82e5725a220ff120ab1523aa320265ba22671982625c10088521c72a14c
+DIST ddcutil-0.8.6.tar.gz 613272 BLAKE2B ce7072a819c5a2aa125ae8f6d5550cf0a516714f0635672015a0c24c9e525d34139c903ce7791955e0b30b8d4c66e94453eed60f8d8d024caccb49204d6fb853 SHA512 4ec473a37dc135700f4ce06634e6aa303199f4d743fba02c04ca509d0c31d45f59da7c6cd9818efc1fd8bc20dae518c5656fc8a38e9f00057677b1e997434fb0
diff --git a/app-misc/ddcutil/ddcutil-0.8.6.ebuild b/app-misc/ddcutil/ddcutil-0.8.6.ebuild
new file mode 100644
index 00000000000..6444e7739e0
--- /dev/null
+++ b/app-misc/ddcutil/ddcutil-0.8.6.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools flag-o-matic linux-info udev user
+
+DESCRIPTION="Program for querying and changing monitor settings"
+HOMEPAGE="http://www.ddcutil.com/"
+SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
+REQUIRED_USE="drm? ( X )"
+
+RDEPEND="dev-libs/glib:2
+ sys-apps/i2c-tools
+ virtual/udev
+ drm? ( x11-libs/libdrm )
+ usb-monitor? (
+ dev-libs/hidapi
+ virtual/libusb:1
+ sys-apps/usbutils
+ )
+ X? (
+ x11-libs/libXrandr
+ x11-libs/libX11
+ )"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+pkg_pretend() {
+ # This program needs /dev/ic2-* devices to communicate with the monitor.
+ CONFIG_CHECK="~I2C_CHARDEV"
+ ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
+ if use usb-monitor; then
+ CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
+ ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
+ ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
+ fi
+
+ # Now do the actual checks setup above
+ check_extra_config
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # Bug 607818.
+ replace-flags -O3 -O2
+
+ local myeconfargs=(
+ $(use_enable drm)
+ $(use_enable usb-monitor usb)
+ $(use_enable X x11)
+ --enable-lib
+ --disable-cffi
+ --disable-cython
+ --disable-swig
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ if use user-permissions; then
+ udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
+ if use usb-monitor; then
+ udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
+ fi
+ fi
+}
+
+pkg_postinst() {
+ if use user-permissions; then
+ enewgroup i2c
+ einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
+ einfo "users to the i2c group: usermod -aG i2c user"
+ einfo "Restart the computer or reload the i2c-dev module to activate"
+ einfo "the new udev rule."
+ einfo "For more information read: http://www.ddcutil.com/i2c_permissions/"
+
+ if use usb-monitor; then
+ enewgroup video
+ 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
+
+ if use video_cards_nvidia; then
+ ewarn "Please read the following webpage on proper usage with the nVidia "
+ ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
+ fi
+}
diff --git a/app-misc/ddcutil/metadata.xml b/app-misc/ddcutil/metadata.xml
index 3eec1aa83b5..ac2fd91b713 100644
--- a/app-misc/ddcutil/metadata.xml
+++ b/app-misc/ddcutil/metadata.xml
@@ -18,6 +18,9 @@
a USB connection.
</longdescription>
<use>
+ <flag name="drm" restrict=">=app-misc/ddcutil-0.8.5">
+ Use <pkg>x11-libs/libdrm</pkg> for more verbose diagnostics.
+ </flag>
<flag name="user-permissions">
Adds a udev rules to allow non-root users in the i2c group to
access the /dev/i2c-* devices. If usb-monitor is selected, users
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2017-10-10 13:50 Michael Palimaka
0 siblings, 0 replies; 51+ messages in thread
From: Michael Palimaka @ 2017-10-10 13:50 UTC (permalink / raw
To: gentoo-commits
commit: bb2b107901f7c30b97f40ffa91923b9fea049473
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 10 13:50:24 2017 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Tue Oct 10 13:50:37 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb2b1079
app-misc/ddcutil: add ~arm keyword
Tested on Raspberry Pi 2.
Bug: https://bugs.gentoo.org/627932
Package-Manager: Portage-2.3.8, Repoman-2.3.3
app-misc/ddcutil/ddcutil-0.8.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/ddcutil/ddcutil-0.8.4.ebuild b/app-misc/ddcutil/ddcutil-0.8.4.ebuild
index 5942efa23a3..2da92097097 100644
--- a/app-misc/ddcutil/ddcutil-0.8.4.ebuild
+++ b/app-misc/ddcutil/ddcutil-0.8.4.ebuild
@@ -19,7 +19,7 @@ IUSE="usb-monitor user-permissions video_cards_nvidia"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm ~x86"
RDEPEND="x11-libs/libXrandr
x11-libs/libX11
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2017-09-23 8:38 David Seifert
0 siblings, 0 replies; 51+ messages in thread
From: David Seifert @ 2017-09-23 8:38 UTC (permalink / raw
To: gentoo-commits
commit: ec6cd66b05baeeb303f419fe800eb748f5651105
Author: Jonathan Scruggs <j.scruggs <AT> gmail <DOT> com>
AuthorDate: Thu Sep 21 17:24:42 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Sep 23 08:37:28 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec6cd66b
app-misc/ddcutil: Fix compile error with -O3 cflag
DDCUtil doesn't compile with the -O3 cflag, so replace it with -O2
Closes: https://github.com/gentoo/gentoo/pull/5758
app-misc/ddcutil/ddcutil-0.8.4.ebuild | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/app-misc/ddcutil/ddcutil-0.8.4.ebuild b/app-misc/ddcutil/ddcutil-0.8.4.ebuild
index 703177064be..5942efa23a3 100644
--- a/app-misc/ddcutil/ddcutil-0.8.4.ebuild
+++ b/app-misc/ddcutil/ddcutil-0.8.4.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-inherit autotools linux-info udev user
+inherit autotools flag-o-matic linux-info udev user
DESCRIPTION="Program for querying and changing monitor settings"
HOMEPAGE="http://www.ddcutil.com/"
@@ -53,6 +53,9 @@ src_prepare() {
}
src_configure() {
+ # Bug 607818.
+ replace-flags -O3 -O2
+
# Python API is still very experimental.
local myeconfargs=(
$(use_enable usb-monitor usb)
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2017-08-16 21:00 Michał Górny
0 siblings, 0 replies; 51+ messages in thread
From: Michał Górny @ 2017-08-16 21:00 UTC (permalink / raw
To: gentoo-commits
commit: 0ca6428b2c899847598863af3589e235a42d3573
Author: Jonathan Scruggs <j.scruggs <AT> gmail <DOT> com>
AuthorDate: Tue Aug 15 17:33:35 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Aug 16 21:00:05 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ca6428b
app-misc/ddcutil: version bump to 0.8.4
Drop use flag api-libs.
Signed-off by: Jonathan Scruggs (j.scruggs <AT> gmail.com)
app-misc/ddcutil/Manifest | 1 +
app-misc/ddcutil/ddcutil-0.8.4.ebuild | 101 ++++++++++++++++++++++++++++++++++
2 files changed, 102 insertions(+)
diff --git a/app-misc/ddcutil/Manifest b/app-misc/ddcutil/Manifest
index a835be4598e..cebe3bb32e4 100644
--- a/app-misc/ddcutil/Manifest
+++ b/app-misc/ddcutil/Manifest
@@ -1 +1,2 @@
DIST ddcutil-0.7.1.tar.gz 429744 SHA256 e73e2332d4b8c861026fed3886630b975e85fbda5efeba2866214ef16eaef5c6 SHA512 1bae833298d3d5dbdb235c09905c7325d98e090ee5a2c61abb843680ce1c8e13e700f2b04055d68f72f8e44a930e748e0214adc969909510fc8dcd32431323b6 WHIRLPOOL dcfc663d3e3bcdfa687c069b0c2b7ec8381505cab18e3c4b98b30f6629d2b45ff2a715547087fbaa26b8ba281d1f3c87bd4f670e3b861696041c296fded835e0
+DIST ddcutil-0.8.4.tar.gz 558405 SHA256 7bfa9bd1dad7aac1853cf1070d2becf47156c158b84ae874cd77e8fd7d4e44d5 SHA512 e7bf78295a008607ef520e055873acc0bac6d94b850a6ea1f7d4a4ea9e080d23b4b7d82e5725a220ff120ab1523aa320265ba22671982625c10088521c72a14c WHIRLPOOL 3637a3a03a5a4d402f1ca3dcf0ecee8cd361735cff1ffce4a2e862ad9c87fe12cd09a782c5c2b6bfd53e94547eecf29c344ce918217931593e07a4a207bf241a
diff --git a/app-misc/ddcutil/ddcutil-0.8.4.ebuild b/app-misc/ddcutil/ddcutil-0.8.4.ebuild
new file mode 100644
index 00000000000..703177064be
--- /dev/null
+++ b/app-misc/ddcutil/ddcutil-0.8.4.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools linux-info udev user
+
+DESCRIPTION="Program for querying and changing monitor settings"
+HOMEPAGE="http://www.ddcutil.com/"
+SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+# Binary drivers need special instructions compared to the open source counterparts.
+# If a user switches drivers, they will need to set different use flags for
+# Xorg or Wayland or Mesa, so this will trigger the rebuild against
+# the different drivers.
+# Remove ATI/AMD driver since it's masked for removal.
+# Will most likely need to set this for AMDGPU when in portage.
+IUSE="usb-monitor user-permissions video_cards_nvidia"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="x11-libs/libXrandr
+ x11-libs/libX11
+ dev-libs/glib:2
+ sys-apps/i2c-tools
+ virtual/udev
+ usb-monitor? (
+ dev-libs/hidapi
+ virtual/libusb:1
+ sys-apps/usbutils )"
+DEPEND="virtual/pkgconfig
+ ${RDEPEND}"
+
+pkg_pretend() {
+ # This program needs /dev/ic2-* devices to communicate with the monitor.
+ CONFIG_CHECK="~I2C_CHARDEV"
+ ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
+ if use usb-monitor; then
+ CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
+ ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
+ ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
+ fi
+
+ # Now do the actual checks setup above
+ check_extra_config
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # Python API is still very experimental.
+ local myeconfargs=(
+ $(use_enable usb-monitor usb)
+ --disable-swig
+ --enable-lib
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ if use user-permissions; then
+ udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
+ if use usb-monitor; then
+ udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
+ fi
+ fi
+}
+
+pkg_postinst() {
+ if use user-permissions; then
+ enewgroup i2c
+ einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
+ einfo "users to the i2c group: usermod -aG i2c user"
+ einfo "Restart the computer or reload the i2c-dev module to activate"
+ einfo "the new udev rule."
+ einfo "For more information read: http://www.ddcutil.com/i2c_permissions/"
+
+ if use usb-monitor; then
+ enewgroup video
+ 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
+
+ if use video_cards_nvidia; then
+ ewarn "Please read the following webpage on proper usage with the nVidia "
+ ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
+ fi
+}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2017-08-16 21:00 Michał Górny
0 siblings, 0 replies; 51+ messages in thread
From: Michał Górny @ 2017-08-16 21:00 UTC (permalink / raw
To: gentoo-commits
commit: 8b962f484155911509cb1c6e5c89881e9ab4905e
Author: Jonathan Scruggs <j.scruggs <AT> gmail <DOT> com>
AuthorDate: Wed Aug 16 12:08:10 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Aug 16 21:00:09 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b962f48
app-misc/ddcutil: remove old version
Closes: https://github.com/gentoo/gentoo/pull/5431
Signed-off by: Jonathan Scruggs (j.scruggs <AT> gmail.com)
app-misc/ddcutil/Manifest | 1 -
app-misc/ddcutil/ddcutil-0.7.1.ebuild | 104 ----------------------------------
app-misc/ddcutil/metadata.xml | 3 -
3 files changed, 108 deletions(-)
diff --git a/app-misc/ddcutil/Manifest b/app-misc/ddcutil/Manifest
index cebe3bb32e4..2200c83ca1e 100644
--- a/app-misc/ddcutil/Manifest
+++ b/app-misc/ddcutil/Manifest
@@ -1,2 +1 @@
-DIST ddcutil-0.7.1.tar.gz 429744 SHA256 e73e2332d4b8c861026fed3886630b975e85fbda5efeba2866214ef16eaef5c6 SHA512 1bae833298d3d5dbdb235c09905c7325d98e090ee5a2c61abb843680ce1c8e13e700f2b04055d68f72f8e44a930e748e0214adc969909510fc8dcd32431323b6 WHIRLPOOL dcfc663d3e3bcdfa687c069b0c2b7ec8381505cab18e3c4b98b30f6629d2b45ff2a715547087fbaa26b8ba281d1f3c87bd4f670e3b861696041c296fded835e0
DIST ddcutil-0.8.4.tar.gz 558405 SHA256 7bfa9bd1dad7aac1853cf1070d2becf47156c158b84ae874cd77e8fd7d4e44d5 SHA512 e7bf78295a008607ef520e055873acc0bac6d94b850a6ea1f7d4a4ea9e080d23b4b7d82e5725a220ff120ab1523aa320265ba22671982625c10088521c72a14c WHIRLPOOL 3637a3a03a5a4d402f1ca3dcf0ecee8cd361735cff1ffce4a2e862ad9c87fe12cd09a782c5c2b6bfd53e94547eecf29c344ce918217931593e07a4a207bf241a
diff --git a/app-misc/ddcutil/ddcutil-0.7.1.ebuild b/app-misc/ddcutil/ddcutil-0.7.1.ebuild
deleted file mode 100644
index 767bfc74867..00000000000
--- a/app-misc/ddcutil/ddcutil-0.7.1.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools linux-info udev user
-
-DESCRIPTION="Program for querying and changing monitor settings"
-HOMEPAGE="http://www.ddcutil.com/"
-
-SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-# Binary drivers need special instructions compared to the open source counterparts.
-# If a user switches drivers, they will need to set different use flags for
-# Xorg or Wayland or Mesa, so this will trigger the rebuild against
-# the different drivers.
-# Remove ATI/AMD driver since it's masked for removal.
-# Will most likely need to set this for AMDGPU when in portage.
-IUSE="enable-api-libs usb-monitor user-permissions video_cards_nvidia"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="x11-libs/libXrandr
- x11-libs/libX11
- dev-libs/glib:2
- sys-apps/i2c-tools
- virtual/udev
- usb-monitor? (
- dev-libs/hidapi
- virtual/libusb:1
- sys-apps/usbutils )"
-DEPEND="virtual/pkgconfig
- ${RDEPEND}"
-
-pkg_pretend() {
- # This program needs /dev/ic2-* devices to communicate with the monitor.
- CONFIG_CHECK="~I2C_CHARDEV"
- ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
- if use usb-monitor; then
- CONFIG_CHECK+="~HIDRAW ~USB_HIDDEV"
- ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
- ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
- fi
-
- # Now do the actual checks setup above
- check_extra_config
-}
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- # Python API is still very experimental.
- local myeconfargs=(
- $(use_enable enable-api-libs lib)
- $(use_enable usb-monitor usb)
- --disable-swig
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
- if use user-permissions; then
- udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
- if use usb-monitor; then
- udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
- fi
- fi
-}
-
-pkg_postinst() {
- if use user-permissions; then
- enewgroup i2c
- einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
- einfo "users to the i2c group: usermod -aG i2c user"
- einfo "Restart the computer or reload the i2c-dev module to activate"
- einfo "the new udev rule."
- einfo "For more information read: http://www.ddcutil.com/i2c_permissions/"
-
- if use usb-monitor; then
- enewgroup video
- 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
-
- if use video_cards_nvidia; then
- einfo "=================================================================="
- einfo "Please read the following webpage on proper usage with the nVidia "
- einfo "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
- einfo "=================================================================="
- fi
-}
diff --git a/app-misc/ddcutil/metadata.xml b/app-misc/ddcutil/metadata.xml
index 06e461b1804..3eec1aa83b5 100644
--- a/app-misc/ddcutil/metadata.xml
+++ b/app-misc/ddcutil/metadata.xml
@@ -18,9 +18,6 @@
a USB connection.
</longdescription>
<use>
- <flag name="enable-api-libs" restrict=">=app-misc/ddcutil-0.7.0">
- Enables the C/C++ API.
- </flag>
<flag name="user-permissions">
Adds a udev rules to allow non-root users in the i2c group to
access the /dev/i2c-* devices. If usb-monitor is selected, users
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2017-01-29 17:09 Michael Palimaka
0 siblings, 0 replies; 51+ messages in thread
From: Michael Palimaka @ 2017-01-29 17:09 UTC (permalink / raw
To: gentoo-commits
commit: 872d51e819679ec7f878aaeae6e1fe873e4f9478
Author: Jonathan Scruggs <j.scruggs <AT> gmail <DOT> com>
AuthorDate: Sat Jan 28 13:59:22 2017 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sun Jan 29 17:09:25 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=872d51e8
app-misc/ddcutil: Bump version to 0.7.1.
- Removed video_cards_fglrx suppot as those drivers are now masked.
- 0.7.0 had issues with API Libs which are now fixed.
Signed-off by: Jonathan Scruggs (j.scruggs <AT> gmail.com)
app-misc/ddcutil/Manifest | 1 +
app-misc/ddcutil/ddcutil-0.7.1.ebuild | 105 ++++++++++++++++++++++++++++++++++
2 files changed, 106 insertions(+)
diff --git a/app-misc/ddcutil/Manifest b/app-misc/ddcutil/Manifest
index bf05b2f..070d4af 100644
--- a/app-misc/ddcutil/Manifest
+++ b/app-misc/ddcutil/Manifest
@@ -1,2 +1,3 @@
DIST ddcutil-0.6.0.tar.gz 323380 SHA256 ae435699578297cdb40006471e046576e825d971c6c867822568660d815e966a SHA512 ab5882c22e7cbf17f8513a80443a25b2d1698e45b2fd3bf6f163fd86691808a5244830da2664b882ddc6592a9228afbd9f4c8f6821115167fd28b114c986e172 WHIRLPOOL 37a334a0075b08f0b6e01cc721d414aedb9e06f36fc295698662616c5fbf98ca4c256eba91344748409766fa9139173335d14b8243bc0ee7404c2914a10b38c6
DIST ddcutil-0.7.0.tar.gz 400076 SHA256 3da9be53ecba1b3000cf859bb4b212649bb6255526866c528d9d5b03eec77f93 SHA512 c81783fdfdfeeb88e81ee107e3bf3dfbf34541e83b4c8291816e547a1ff83b10767aec2a6db1c691895f38f6f81aba608a51cf6b6461761d756d916ad19343cf WHIRLPOOL ef5f1695c742f1617daef7f55c37ba8c8ae627b87b2ef9ea75334dad985a3ba91104f1d928d2aebe9a3ec13bfc605f07b6a93441c7d9a337fd86aa918635c03d
+DIST ddcutil-0.7.1.tar.gz 429744 SHA256 e73e2332d4b8c861026fed3886630b975e85fbda5efeba2866214ef16eaef5c6 SHA512 1bae833298d3d5dbdb235c09905c7325d98e090ee5a2c61abb843680ce1c8e13e700f2b04055d68f72f8e44a930e748e0214adc969909510fc8dcd32431323b6 WHIRLPOOL dcfc663d3e3bcdfa687c069b0c2b7ec8381505cab18e3c4b98b30f6629d2b45ff2a715547087fbaa26b8ba281d1f3c87bd4f670e3b861696041c296fded835e0
diff --git a/app-misc/ddcutil/ddcutil-0.7.1.ebuild b/app-misc/ddcutil/ddcutil-0.7.1.ebuild
new file mode 100644
index 00000000..1955c9b
--- /dev/null
+++ b/app-misc/ddcutil/ddcutil-0.7.1.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools linux-info udev user
+
+DESCRIPTION="Program for querying and changing monitor settings"
+HOMEPAGE="http://www.ddcutil.com/"
+
+SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+# Binary drivers need special instructions compared to the open source counterparts.
+# If a user switches drivers, they will need to set different use flags for
+# Xorg or Wayland or Mesa, so this will trigger the rebuild against
+# the different drivers.
+# Remove ATI/AMD driver since it's masked for removal.
+# Will most likely need to set this for AMDGPU when in portage.
+IUSE="enable-api-libs usb-monitor user-permissions video_cards_nvidia"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="x11-libs/libXrandr
+ x11-libs/libX11
+ dev-libs/glib:2
+ sys-apps/i2c-tools
+ virtual/udev
+ usb-monitor? (
+ dev-libs/hidapi
+ virtual/libusb:1
+ sys-apps/usbutils )"
+DEPEND="virtual/pkgconfig
+ ${RDEPEND}"
+
+pkg_pretend() {
+ # This program needs /dev/ic2-* devices to communicate with the monitor.
+ CONFIG_CHECK="~I2C_CHARDEV"
+ ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
+ if use usb-monitor; then
+ CONFIG_CHECK+="~HIDRAW ~USB_HIDDEV"
+ ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
+ ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
+ fi
+
+ # Now do the actual checks setup above
+ check_extra_config
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # Python API is still very experimental.
+ local myeconfargs=(
+ $(use_enable enable-api-libs lib)
+ $(use_enable usb-monitor usb)
+ --disable-swig
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ if use user-permissions; then
+ udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
+ if use usb-monitor; then
+ udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
+ fi
+ fi
+}
+
+pkg_postinst() {
+ if use user-permissions; then
+ enewgroup i2c
+ einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
+ einfo "users to the i2c group: usermod -aG i2c user"
+ einfo "Restart the computer or reload the i2c-dev module to activate"
+ einfo "the new udev rule."
+ einfo "For more information read: http://www.ddcutil.com/i2c_permissions/"
+
+ if use usb-monitor; then
+ enewgroup video
+ 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
+
+ if use video_cards_nvidia; then
+ einfo "=================================================================="
+ einfo "Please read the following webpage on proper usage with the nVidia "
+ einfo "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
+ einfo "=================================================================="
+ fi
+}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2017-01-29 17:09 Michael Palimaka
0 siblings, 0 replies; 51+ messages in thread
From: Michael Palimaka @ 2017-01-29 17:09 UTC (permalink / raw
To: gentoo-commits
commit: b07c9775dc2c3842b25866262414eaf592b3ff09
Author: Jonathan Scruggs <j.scruggs <AT> gmail <DOT> com>
AuthorDate: Sat Jan 28 14:00:24 2017 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sun Jan 29 17:09:25 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b07c9775
app-misc/ddcutil: Remove old.
- Remove old ebuilds as they still have support for fglrx.
Signed-off by: Jonathan Scruggs (j.scruggs <AT> gmail.com)
app-misc/ddcutil/Manifest | 2 -
app-misc/ddcutil/ddcutil-0.6.0.ebuild | 102 ---------------------------------
app-misc/ddcutil/ddcutil-0.7.0.ebuild | 105 ----------------------------------
3 files changed, 209 deletions(-)
diff --git a/app-misc/ddcutil/Manifest b/app-misc/ddcutil/Manifest
index 070d4af..a835be4 100644
--- a/app-misc/ddcutil/Manifest
+++ b/app-misc/ddcutil/Manifest
@@ -1,3 +1 @@
-DIST ddcutil-0.6.0.tar.gz 323380 SHA256 ae435699578297cdb40006471e046576e825d971c6c867822568660d815e966a SHA512 ab5882c22e7cbf17f8513a80443a25b2d1698e45b2fd3bf6f163fd86691808a5244830da2664b882ddc6592a9228afbd9f4c8f6821115167fd28b114c986e172 WHIRLPOOL 37a334a0075b08f0b6e01cc721d414aedb9e06f36fc295698662616c5fbf98ca4c256eba91344748409766fa9139173335d14b8243bc0ee7404c2914a10b38c6
-DIST ddcutil-0.7.0.tar.gz 400076 SHA256 3da9be53ecba1b3000cf859bb4b212649bb6255526866c528d9d5b03eec77f93 SHA512 c81783fdfdfeeb88e81ee107e3bf3dfbf34541e83b4c8291816e547a1ff83b10767aec2a6db1c691895f38f6f81aba608a51cf6b6461761d756d916ad19343cf WHIRLPOOL ef5f1695c742f1617daef7f55c37ba8c8ae627b87b2ef9ea75334dad985a3ba91104f1d928d2aebe9a3ec13bfc605f07b6a93441c7d9a337fd86aa918635c03d
DIST ddcutil-0.7.1.tar.gz 429744 SHA256 e73e2332d4b8c861026fed3886630b975e85fbda5efeba2866214ef16eaef5c6 SHA512 1bae833298d3d5dbdb235c09905c7325d98e090ee5a2c61abb843680ce1c8e13e700f2b04055d68f72f8e44a930e748e0214adc969909510fc8dcd32431323b6 WHIRLPOOL dcfc663d3e3bcdfa687c069b0c2b7ec8381505cab18e3c4b98b30f6629d2b45ff2a715547087fbaa26b8ba281d1f3c87bd4f670e3b861696041c296fded835e0
diff --git a/app-misc/ddcutil/ddcutil-0.6.0.ebuild b/app-misc/ddcutil/ddcutil-0.6.0.ebuild
deleted file mode 100644
index ea8f6f0..00000000
--- a/app-misc/ddcutil/ddcutil-0.6.0.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-inherit autotools linux-info udev user
-
-DESCRIPTION="Program for querying and changing monitor settings"
-HOMEPAGE="http://www.ddcutil.com/"
-
-SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-# Binary drivers need special instructions compared to the open source counterparts.
-# If a user switches drivers, they will need to set different use flags for
-# Xorg or Wayland or Mesa, so this will trigger the rebuild against
-# the different drivers.
-IUSE="usb-monitor user-permissions video_cards_fglrx video_cards_nvidia"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="x11-libs/libXrandr
- x11-libs/libX11
- dev-libs/glib
- sys-apps/i2c-tools
- virtual/udev
- usb-monitor? (
- dev-libs/hidapi
- virtual/libusb:1
- sys-apps/usbutils )"
-DEPEND="video_cards_fglrx? ( x11-libs/amd-adl-sdk )
- virtual/pkgconfig
- ${RDEPEND}"
-
-pkg_pretend() {
- # This program needs /dev/ic2-* devices to communicate with the monitor.
- CONFIG_CHECK="~I2C_CHARDEV"
- ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
- if use usb-monitor; then
- CONFIG_CHECK+="~HIDRAW ~USB_HIDDEV"
- ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
- ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
- fi
-
- # Now do the actual checks setup above
- check_extra_config
-}
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- $(usex video_cards_fglrx "--with-adl-headers=/usr/include/ADL" "")
- $(use_enable usb-monitor usb)
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
- if use user-permissions; then
- udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
- if use usb-monitor; then
- udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
- fi
- fi
-}
-
-pkg_postinst() {
- if use user-permissions; then
- enewgroup i2c
- einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
- einfo "users to the i2c group: usermod -aG i2c user"
- einfo "Restart the computer or reload the i2c-dev module to activate"
- einfo "the new udev rule."
- einfo "For more information read: http://www.ddcutil.com/i2c_permissions/"
-
- if use usb-monitor; then
- enewgroup video
- 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
-
- if use video_cards_nvidia; then
- einfo "=================================================================="
- einfo "Please read the following webpage on proper usage with the nVidia "
- einfo "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
- einfo "=================================================================="
- fi
-}
diff --git a/app-misc/ddcutil/ddcutil-0.7.0.ebuild b/app-misc/ddcutil/ddcutil-0.7.0.ebuild
deleted file mode 100644
index 0c4565a..00000000
--- a/app-misc/ddcutil/ddcutil-0.7.0.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-inherit autotools linux-info udev user
-
-DESCRIPTION="Program for querying and changing monitor settings"
-HOMEPAGE="http://www.ddcutil.com/"
-
-SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-# Binary drivers need special instructions compared to the open source counterparts.
-# If a user switches drivers, they will need to set different use flags for
-# Xorg or Wayland or Mesa, so this will trigger the rebuild against
-# the different drivers.
-IUSE="enable-api-libs usb-monitor user-permissions video_cards_fglrx video_cards_nvidia"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="x11-libs/libXrandr
- x11-libs/libX11
- dev-libs/glib:2
- sys-apps/i2c-tools
- virtual/udev
- usb-monitor? (
- dev-libs/hidapi
- virtual/libusb:1
- sys-apps/usbutils )"
-DEPEND="video_cards_fglrx? ( x11-libs/amd-adl-sdk )
- virtual/pkgconfig
- ${RDEPEND}"
-
-pkg_pretend() {
- # This program needs /dev/ic2-* devices to communicate with the monitor.
- CONFIG_CHECK="~I2C_CHARDEV"
- ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
- if use usb-monitor; then
- CONFIG_CHECK+="~HIDRAW ~USB_HIDDEV"
- ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
- ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
- fi
-
- # Now do the actual checks setup above
- check_extra_config
-}
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- # Python API is still very experimental. Upstream recommends not using it.
- local myeconfargs=(
- $(use_enable enable-api-libs)
- $(use_enable usb-monitor usb)
- $(usex video_cards_fglrx "--with-adl-headers=/usr/include/ADL" "")
- --disable-swig
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
- if use user-permissions; then
- udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
- if use usb-monitor; then
- udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
- fi
- fi
-}
-
-pkg_postinst() {
- if use user-permissions; then
- enewgroup i2c
- einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
- einfo "users to the i2c group: usermod -aG i2c user"
- einfo "Restart the computer or reload the i2c-dev module to activate"
- einfo "the new udev rule."
- einfo "For more information read: http://www.ddcutil.com/i2c_permissions/"
-
- if use usb-monitor; then
- enewgroup video
- 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
-
- if use video_cards_nvidia; then
- einfo "=================================================================="
- einfo "Please read the following webpage on proper usage with the nVidia "
- einfo "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
- einfo "=================================================================="
- fi
-}
^ permalink raw reply related [flat|nested] 51+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
@ 2017-01-15 11:14 David Seifert
0 siblings, 0 replies; 51+ messages in thread
From: David Seifert @ 2017-01-15 11:14 UTC (permalink / raw
To: gentoo-commits
commit: dd4559fe50fce623f6507857a68695a40446a4a3
Author: Jonathan Scruggs <j.scruggs <AT> gmail <DOT> com>
AuthorDate: Sat Jan 7 16:14:20 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jan 15 11:14:16 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd4559fe
media-libs/ddcutil: Version bump to 0.7.0
* Added use flag to enable the new C/C++ API
* Python API is in flux and upstream recommends not using it.
It will be enabled when it's more stable.
Closes: https://github.com/gentoo/gentoo/pull/3360
app-misc/ddcutil/Manifest | 1 +
app-misc/ddcutil/ddcutil-0.7.0.ebuild | 105 ++++++++++++++++++++++++++++++++++
app-misc/ddcutil/metadata.xml | 3 +
3 files changed, 109 insertions(+)
diff --git a/app-misc/ddcutil/Manifest b/app-misc/ddcutil/Manifest
index c224ff2..bf05b2f 100644
--- a/app-misc/ddcutil/Manifest
+++ b/app-misc/ddcutil/Manifest
@@ -1 +1,2 @@
DIST ddcutil-0.6.0.tar.gz 323380 SHA256 ae435699578297cdb40006471e046576e825d971c6c867822568660d815e966a SHA512 ab5882c22e7cbf17f8513a80443a25b2d1698e45b2fd3bf6f163fd86691808a5244830da2664b882ddc6592a9228afbd9f4c8f6821115167fd28b114c986e172 WHIRLPOOL 37a334a0075b08f0b6e01cc721d414aedb9e06f36fc295698662616c5fbf98ca4c256eba91344748409766fa9139173335d14b8243bc0ee7404c2914a10b38c6
+DIST ddcutil-0.7.0.tar.gz 400076 SHA256 3da9be53ecba1b3000cf859bb4b212649bb6255526866c528d9d5b03eec77f93 SHA512 c81783fdfdfeeb88e81ee107e3bf3dfbf34541e83b4c8291816e547a1ff83b10767aec2a6db1c691895f38f6f81aba608a51cf6b6461761d756d916ad19343cf WHIRLPOOL ef5f1695c742f1617daef7f55c37ba8c8ae627b87b2ef9ea75334dad985a3ba91104f1d928d2aebe9a3ec13bfc605f07b6a93441c7d9a337fd86aa918635c03d
diff --git a/app-misc/ddcutil/ddcutil-0.7.0.ebuild b/app-misc/ddcutil/ddcutil-0.7.0.ebuild
new file mode 100644
index 00000000..0c4565a
--- /dev/null
+++ b/app-misc/ddcutil/ddcutil-0.7.0.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools linux-info udev user
+
+DESCRIPTION="Program for querying and changing monitor settings"
+HOMEPAGE="http://www.ddcutil.com/"
+
+SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+# Binary drivers need special instructions compared to the open source counterparts.
+# If a user switches drivers, they will need to set different use flags for
+# Xorg or Wayland or Mesa, so this will trigger the rebuild against
+# the different drivers.
+IUSE="enable-api-libs usb-monitor user-permissions video_cards_fglrx video_cards_nvidia"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="x11-libs/libXrandr
+ x11-libs/libX11
+ dev-libs/glib:2
+ sys-apps/i2c-tools
+ virtual/udev
+ usb-monitor? (
+ dev-libs/hidapi
+ virtual/libusb:1
+ sys-apps/usbutils )"
+DEPEND="video_cards_fglrx? ( x11-libs/amd-adl-sdk )
+ virtual/pkgconfig
+ ${RDEPEND}"
+
+pkg_pretend() {
+ # This program needs /dev/ic2-* devices to communicate with the monitor.
+ CONFIG_CHECK="~I2C_CHARDEV"
+ ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
+ if use usb-monitor; then
+ CONFIG_CHECK+="~HIDRAW ~USB_HIDDEV"
+ ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
+ ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
+ fi
+
+ # Now do the actual checks setup above
+ check_extra_config
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # Python API is still very experimental. Upstream recommends not using it.
+ local myeconfargs=(
+ $(use_enable enable-api-libs)
+ $(use_enable usb-monitor usb)
+ $(usex video_cards_fglrx "--with-adl-headers=/usr/include/ADL" "")
+ --disable-swig
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ if use user-permissions; then
+ udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
+ if use usb-monitor; then
+ udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
+ fi
+ fi
+}
+
+pkg_postinst() {
+ if use user-permissions; then
+ enewgroup i2c
+ einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
+ einfo "users to the i2c group: usermod -aG i2c user"
+ einfo "Restart the computer or reload the i2c-dev module to activate"
+ einfo "the new udev rule."
+ einfo "For more information read: http://www.ddcutil.com/i2c_permissions/"
+
+ if use usb-monitor; then
+ enewgroup video
+ 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
+
+ if use video_cards_nvidia; then
+ einfo "=================================================================="
+ einfo "Please read the following webpage on proper usage with the nVidia "
+ einfo "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
+ einfo "=================================================================="
+ fi
+}
diff --git a/app-misc/ddcutil/metadata.xml b/app-misc/ddcutil/metadata.xml
index 6d0486b..d40fbb0 100644
--- a/app-misc/ddcutil/metadata.xml
+++ b/app-misc/ddcutil/metadata.xml
@@ -19,6 +19,9 @@
</longdescription>
<use>
+ <flag name="enable-api-libs" restrict=">=app-misc/ddcutil-0.7.0">
+ Enables the C/C++ API.
+ </flag>
<flag name="user-permissions">
Adds a udev rules to allow non-root users in the i2c group to
access the /dev/i2c-* devices. If usb-monitor is selected, users
^ permalink raw reply related [flat|nested] 51+ messages in thread
end of thread, other threads:[~2024-10-30 19:59 UTC | newest]
Thread overview: 51+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-30 21:14 [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2024-10-30 19:59 Sam James
2024-10-27 6:50 Arthur Zamarin
2024-10-25 21:25 Sam James
2024-10-25 21:25 Sam James
2024-10-25 21:25 Sam James
2024-02-24 11:32 Andrew Ammerlaan
2024-02-24 11:32 Andrew Ammerlaan
2024-02-17 21:17 Sam James
2024-02-08 9:06 Andrew Ammerlaan
2024-02-08 9:06 Andrew Ammerlaan
2024-02-01 9:41 Andrew Ammerlaan
2024-02-01 9:41 Andrew Ammerlaan
2024-01-22 13:43 Andrew Ammerlaan
2023-12-11 7:31 Andrew Ammerlaan
2023-12-01 18:58 Arthur Zamarin
2023-11-24 9:37 Andrew Ammerlaan
2023-11-24 9:37 Andrew Ammerlaan
2023-06-30 21:14 Sam James
2023-06-30 21:14 Sam James
2023-06-30 19:30 Sam James
2023-06-30 19:19 Sam James
2022-08-28 5:06 WANG Xuerui
2022-04-15 5:30 Sam James
2022-04-15 5:00 Robin H. Johnson
2022-02-21 19:47 Andrew Ammerlaan
2022-02-21 19:47 Andrew Ammerlaan
2022-01-10 11:47 Andrew Ammerlaan
2022-01-10 11:47 Andrew Ammerlaan
2021-08-18 0:35 Yixun Lan
2021-07-09 22:48 Conrad Kostecki
2021-07-09 22:48 Conrad Kostecki
2021-07-09 22:36 Conrad Kostecki
2021-07-09 22:36 Conrad Kostecki
2020-07-30 23:07 Robin H. Johnson
2020-05-18 22:39 Georgy Yakovlev
2019-07-15 23:16 Manuel Rüger
2019-07-15 23:16 Manuel Rüger
2019-02-26 20:54 Andreas Sturmlechner
2018-08-04 17:48 Jonathan Scruggs
2018-08-04 16:31 Jonathan Scruggs
2018-01-27 17:19 Jonathan Scruggs
2018-01-26 13:03 Jeroen Roovers
2018-01-25 21:35 Jonathan Scruggs
2017-10-10 13:50 Michael Palimaka
2017-09-23 8:38 David Seifert
2017-08-16 21:00 Michał Górny
2017-08-16 21:00 Michał Górny
2017-01-29 17:09 Michael Palimaka
2017-01-29 17:09 Michael Palimaka
2017-01-15 11:14 David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox