Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/ddcutil/
Date: Fri, 09 Jul 2021 22:37:03
Message-Id: 1625870199.5ba65d9ea7311dbb822aeb08b8890eaa03cb758e.conikost@gentoo
1 commit: 5ba65d9ea7311dbb822aeb08b8890eaa03cb758e
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 9 22:34:50 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 9 22:36:39 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ba65d9e
7
8 app-misc/ddcutil: drop old version
9
10 Closes: https://bugs.gentoo.org/781557
11 Package-Manager: Portage-3.0.20, Repoman-3.0.3
12 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
13
14 app-misc/ddcutil/Manifest | 2 -
15 app-misc/ddcutil/ddcutil-0.9.1.ebuild | 106 -------------------------------
16 app-misc/ddcutil/ddcutil-0.9.5.ebuild | 107 -------------------------------
17 app-misc/ddcutil/ddcutil-0.9.9.ebuild | 114 ----------------------------------
18 4 files changed, 329 deletions(-)
19
20 diff --git a/app-misc/ddcutil/Manifest b/app-misc/ddcutil/Manifest
21 index 65115188f11..0bad323a808 100644
22 --- a/app-misc/ddcutil/Manifest
23 +++ b/app-misc/ddcutil/Manifest
24 @@ -1,3 +1 @@
25 -DIST ddcutil-0.9.1.tar.gz 656853 BLAKE2B e4f11253176587cb5ee3c9647a01ab04d5a92ce4ca7a4098378318fc069e635e43c3716ace316498f64ceaaa00aa90db3b5f409b74b8d7089a7c25254c0e360d SHA512 b2d5866606a4bc081d89180e910822f2a2a653a2782e3df582536ddc86c7d3dc02309dbb41f8d566f6ebdc5d82d3aa11792a04c28b3d83552b024dfd59891fda
26 -DIST ddcutil-0.9.5.tar.gz 681534 BLAKE2B 6746c239738d4f8eb7fe56323816fadee9b8fa9ad2b66a8242782e0b2688182c0140b40b9eddb3b54ad32c7ff7d1f0cf9a28c5477a48d90cc39431ed82f5d443 SHA512 6249ebdbb398ad5a6c32f3891be8bf5328114b1ed08afd75adf4b67f10a40f19451e188ce5cd88b3153a18f317e394146a34258a7d2298f126be227d7e1c25e8
27 DIST ddcutil-0.9.9.tar.gz 725207 BLAKE2B ad7b0b35ad4c2dae21da066e4194209579d774ded10f2dc0d8d7d3d94e70d5893c3d1f772b86ea01be510cfb8d51a657178228d028ca34ab20d344e86e0581d2 SHA512 f7b2b961c6b76ef59f336290b494cdd331556848de881d57e5240075d50733030df4c47131070f1276907d712a45f60dad6bebaa052a66621b8b5517ff293c21
28
29 diff --git a/app-misc/ddcutil/ddcutil-0.9.1.ebuild b/app-misc/ddcutil/ddcutil-0.9.1.ebuild
30 deleted file mode 100644
31 index a0f3bc6bf4d..00000000000
32 --- a/app-misc/ddcutil/ddcutil-0.9.1.ebuild
33 +++ /dev/null
34 @@ -1,106 +0,0 @@
35 -# Copyright 1999-2019 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=6
39 -
40 -inherit autotools flag-o-matic linux-info udev user
41 -
42 -DESCRIPTION="Program for querying and changing monitor settings"
43 -HOMEPAGE="http://www.ddcutil.com/"
44 -SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
45 -
46 -SLOT="0"
47 -LICENSE="GPL-2"
48 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
49 -IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
50 -REQUIRED_USE="drm? ( X )"
51 -
52 -RDEPEND="dev-libs/glib:2
53 - sys-apps/i2c-tools
54 - virtual/udev
55 - drm? ( x11-libs/libdrm )
56 - usb-monitor? (
57 - dev-libs/hidapi
58 - virtual/libusb:1
59 - sys-apps/usbutils
60 - )
61 - X? (
62 - x11-libs/libXrandr
63 - x11-libs/libX11
64 - )"
65 -
66 -DEPEND="${RDEPEND}
67 - virtual/pkgconfig"
68 -
69 -pkg_pretend() {
70 - # This program needs /dev/ic2-* devices to communicate with the monitor.
71 - CONFIG_CHECK="~I2C_CHARDEV"
72 - ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
73 - if use usb-monitor; then
74 - CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
75 - ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
76 - ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
77 - fi
78 -
79 - # Now do the actual checks setup above
80 - check_extra_config
81 -}
82 -
83 -src_prepare() {
84 - default
85 - eautoreconf
86 -}
87 -
88 -src_configure() {
89 - # Bug 607818.
90 - replace-flags -O3 -O2
91 -
92 - local myeconfargs=(
93 - $(use_enable drm)
94 - $(use_enable usb-monitor usb)
95 - $(use_enable X x11)
96 - --enable-lib
97 - --disable-cffi
98 - --disable-cython
99 - --disable-swig
100 - )
101 -
102 - econf "${myeconfargs[@]}"
103 -}
104 -
105 -src_install() {
106 - default
107 - if use user-permissions; then
108 - udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
109 - if use usb-monitor; then
110 - udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
111 - fi
112 - fi
113 -}
114 -
115 -pkg_postinst() {
116 - if use user-permissions; then
117 - enewgroup i2c
118 - einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
119 - einfo "users to the i2c group: usermod -aG i2c user"
120 - einfo "Restart the computer or reload the i2c-dev module to activate"
121 - einfo "the new udev rule."
122 - einfo "For more information read: http://www.ddcutil.com/i2c_permissions/"
123 -
124 - if use usb-monitor; then
125 - enewgroup video
126 - einfo "To allow non-root users access to USB monitors, add those users"
127 - einfo "to the video group: usermod -aG video user"
128 - einfo "Restart the computer, reload the hiddev and hidraw modules, or replug"
129 - einfo "the monitor to activate the new udev rule."
130 - einfo "For more information read: http://www.ddcutil.com/usb/"
131 - fi
132 -
133 - udev_reload
134 - fi
135 -
136 - if use video_cards_nvidia; then
137 - ewarn "Please read the following webpage on proper usage with the nVidia "
138 - ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
139 - fi
140 -}
141
142 diff --git a/app-misc/ddcutil/ddcutil-0.9.5.ebuild b/app-misc/ddcutil/ddcutil-0.9.5.ebuild
143 deleted file mode 100644
144 index 06560df4d33..00000000000
145 --- a/app-misc/ddcutil/ddcutil-0.9.5.ebuild
146 +++ /dev/null
147 @@ -1,107 +0,0 @@
148 -# Copyright 1999-2020 Gentoo Authors
149 -# Distributed under the terms of the GNU General Public License v2
150 -
151 -EAPI=6
152 -
153 -inherit autotools flag-o-matic linux-info udev user
154 -
155 -DESCRIPTION="Program for querying and changing monitor settings"
156 -HOMEPAGE="http://www.ddcutil.com/"
157 -SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
158 -
159 -SLOT="0"
160 -LICENSE="GPL-2"
161 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
162 -IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
163 -REQUIRED_USE="drm? ( X )"
164 -
165 -RDEPEND="dev-libs/glib:2
166 - sys-apps/i2c-tools
167 - virtual/udev
168 - drm? ( x11-libs/libdrm )
169 - usb-monitor? (
170 - dev-libs/hidapi
171 - virtual/libusb:1
172 - sys-apps/usbutils
173 - )
174 - X? (
175 - x11-libs/libXrandr
176 - x11-libs/libX11
177 - )"
178 -
179 -DEPEND="${RDEPEND}
180 - virtual/pkgconfig"
181 -
182 -pkg_pretend() {
183 - # This program needs /dev/ic2-* devices to communicate with the monitor.
184 - CONFIG_CHECK="~I2C_CHARDEV"
185 - ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
186 - if use usb-monitor; then
187 - CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
188 - ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
189 - ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
190 - fi
191 -
192 - # Now do the actual checks setup above
193 - check_extra_config
194 -}
195 -
196 -src_prepare() {
197 - default
198 - eautoreconf
199 - sed -i -e "s#usr/local/bin#usr/bin#" data/etc/udev/rules.d/45-ddcutil-usb.rules || die
200 -}
201 -
202 -src_configure() {
203 - # Bug 607818.
204 - replace-flags -O3 -O2
205 -
206 - local myeconfargs=(
207 - $(use_enable drm)
208 - $(use_enable usb-monitor usb)
209 - $(use_enable X x11)
210 - --enable-lib
211 - --disable-cffi
212 - --disable-cython
213 - --disable-swig
214 - )
215 -
216 - econf "${myeconfargs[@]}"
217 -}
218 -
219 -src_install() {
220 - default
221 - if use user-permissions; then
222 - udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
223 - if use usb-monitor; then
224 - udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
225 - fi
226 - fi
227 -}
228 -
229 -pkg_postinst() {
230 - if use user-permissions; then
231 - enewgroup i2c
232 - einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
233 - einfo "users to the i2c group: usermod -aG i2c user"
234 - einfo "Restart the computer or reload the i2c-dev module to activate"
235 - einfo "the new udev rule."
236 - einfo "For more information read: http://www.ddcutil.com/i2c_permissions/"
237 -
238 - if use usb-monitor; then
239 - enewgroup video
240 - einfo "To allow non-root users access to USB monitors, add those users"
241 - einfo "to the video group: usermod -aG video user"
242 - einfo "Restart the computer, reload the hiddev and hidraw modules, or replug"
243 - einfo "the monitor to activate the new udev rule."
244 - einfo "For more information read: http://www.ddcutil.com/usb/"
245 - fi
246 -
247 - udev_reload
248 - fi
249 -
250 - if use video_cards_nvidia; then
251 - ewarn "Please read the following webpage on proper usage with the nVidia "
252 - ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
253 - fi
254 -}
255
256 diff --git a/app-misc/ddcutil/ddcutil-0.9.9.ebuild b/app-misc/ddcutil/ddcutil-0.9.9.ebuild
257 deleted file mode 100644
258 index 08aaa306dd0..00000000000
259 --- a/app-misc/ddcutil/ddcutil-0.9.9.ebuild
260 +++ /dev/null
261 @@ -1,114 +0,0 @@
262 -# Copyright 1999-2020 Gentoo Authors
263 -# Distributed under the terms of the GNU General Public License v2
264 -
265 -EAPI=6
266 -
267 -inherit autotools flag-o-matic linux-info udev user
268 -
269 -DESCRIPTION="Program for querying and changing monitor settings"
270 -HOMEPAGE="http://www.ddcutil.com/"
271 -SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
272 -
273 -SLOT="0"
274 -LICENSE="GPL-2"
275 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
276 -IUSE="drm introspection usb-monitor user-permissions video_cards_nvidia X"
277 -REQUIRED_USE="drm? ( X )"
278 -
279 -RDEPEND="dev-libs/glib:2
280 - sys-apps/i2c-tools
281 - virtual/udev
282 - drm? ( x11-libs/libdrm )
283 - introspection? ( >=dev-libs/gobject-introspection-1.54.0:= )
284 - usb-monitor? (
285 - dev-libs/hidapi
286 - virtual/libusb:1
287 - sys-apps/usbutils
288 - )
289 - X? (
290 - x11-libs/libXrandr
291 - x11-libs/libX11
292 - )"
293 -
294 -DEPEND="${RDEPEND}
295 - virtual/pkgconfig"
296 -
297 -pkg_pretend() {
298 - # This program needs /dev/ic2-* devices to communicate with the monitor.
299 - CONFIG_CHECK="~I2C_CHARDEV"
300 - ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
301 - if use usb-monitor; then
302 - CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
303 - ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
304 - ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
305 - fi
306 -
307 - # Now do the actual checks setup above
308 - check_extra_config
309 -}
310 -
311 -src_prepare() {
312 - default
313 - eautoreconf
314 - sed -i -e "s#usr/local/bin#usr/bin#" data/etc/udev/rules.d/45-ddcutil-usb.rules || die
315 -}
316 -
317 -src_configure() {
318 - # Bug 607818.
319 - replace-flags -O3 -O2
320 -
321 - local myeconfargs=(
322 - $(use_enable drm)
323 - $(use_enable usb-monitor usb)
324 - $(use_enable X x11)
325 - --enable-lib
326 - # Please read upstream's note about the original purpose of these flags before re-enabling them:
327 - # https://github.com/rockowitz/ddcutil/issues/128
328 - # As of 0.9.9 the following no longer compile:
329 - # Python3 & CFFI is already broken as of Python 3.7, with future removal;
330 - # SWIG : Python3.7 breakage as well PyFileObject vs PyCodeObject
331 - --disable-cffi
332 - --disable-cython
333 - --disable-swig
334 - $(use_enable introspection)
335 - )
336 -
337 - econf "${myeconfargs[@]}"
338 -}
339 -
340 -src_install() {
341 - default
342 - if use user-permissions; then
343 - udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
344 - if use usb-monitor; then
345 - udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
346 - fi
347 - fi
348 -}
349 -
350 -pkg_postinst() {
351 - if use user-permissions; then
352 - enewgroup i2c
353 - einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
354 - einfo "users to the i2c group: usermod -aG i2c user"
355 - einfo "Restart the computer or reload the i2c-dev module to activate"
356 - einfo "the new udev rule."
357 - einfo "For more information read: http://www.ddcutil.com/i2c_permissions/"
358 -
359 - if use usb-monitor; then
360 - enewgroup video
361 - einfo "To allow non-root users access to USB monitors, add those users"
362 - einfo "to the video group: usermod -aG video user"
363 - einfo "Restart the computer, reload the hiddev and hidraw modules, or replug"
364 - einfo "the monitor to activate the new udev rule."
365 - einfo "For more information read: http://www.ddcutil.com/usb/"
366 - fi
367 -
368 - udev_reload
369 - fi
370 -
371 - if use video_cards_nvidia; then
372 - ewarn "Please read the following webpage on proper usage with the nVidia "
373 - ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
374 - fi
375 -}