1 |
commit: b07c9775dc2c3842b25866262414eaf592b3ff09 |
2 |
Author: Jonathan Scruggs <j.scruggs <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Jan 28 14:00:24 2017 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 29 17:09:25 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b07c9775 |
7 |
|
8 |
app-misc/ddcutil: Remove old. |
9 |
|
10 |
- Remove old ebuilds as they still have support for fglrx. |
11 |
|
12 |
Signed-off by: Jonathan Scruggs (j.scruggs <AT> gmail.com) |
13 |
|
14 |
app-misc/ddcutil/Manifest | 2 - |
15 |
app-misc/ddcutil/ddcutil-0.6.0.ebuild | 102 --------------------------------- |
16 |
app-misc/ddcutil/ddcutil-0.7.0.ebuild | 105 ---------------------------------- |
17 |
3 files changed, 209 deletions(-) |
18 |
|
19 |
diff --git a/app-misc/ddcutil/Manifest b/app-misc/ddcutil/Manifest |
20 |
index 070d4af..a835be4 100644 |
21 |
--- a/app-misc/ddcutil/Manifest |
22 |
+++ b/app-misc/ddcutil/Manifest |
23 |
@@ -1,3 +1 @@ |
24 |
-DIST ddcutil-0.6.0.tar.gz 323380 SHA256 ae435699578297cdb40006471e046576e825d971c6c867822568660d815e966a SHA512 ab5882c22e7cbf17f8513a80443a25b2d1698e45b2fd3bf6f163fd86691808a5244830da2664b882ddc6592a9228afbd9f4c8f6821115167fd28b114c986e172 WHIRLPOOL 37a334a0075b08f0b6e01cc721d414aedb9e06f36fc295698662616c5fbf98ca4c256eba91344748409766fa9139173335d14b8243bc0ee7404c2914a10b38c6 |
25 |
-DIST ddcutil-0.7.0.tar.gz 400076 SHA256 3da9be53ecba1b3000cf859bb4b212649bb6255526866c528d9d5b03eec77f93 SHA512 c81783fdfdfeeb88e81ee107e3bf3dfbf34541e83b4c8291816e547a1ff83b10767aec2a6db1c691895f38f6f81aba608a51cf6b6461761d756d916ad19343cf WHIRLPOOL ef5f1695c742f1617daef7f55c37ba8c8ae627b87b2ef9ea75334dad985a3ba91104f1d928d2aebe9a3ec13bfc605f07b6a93441c7d9a337fd86aa918635c03d |
26 |
DIST ddcutil-0.7.1.tar.gz 429744 SHA256 e73e2332d4b8c861026fed3886630b975e85fbda5efeba2866214ef16eaef5c6 SHA512 1bae833298d3d5dbdb235c09905c7325d98e090ee5a2c61abb843680ce1c8e13e700f2b04055d68f72f8e44a930e748e0214adc969909510fc8dcd32431323b6 WHIRLPOOL dcfc663d3e3bcdfa687c069b0c2b7ec8381505cab18e3c4b98b30f6629d2b45ff2a715547087fbaa26b8ba281d1f3c87bd4f670e3b861696041c296fded835e0 |
27 |
|
28 |
diff --git a/app-misc/ddcutil/ddcutil-0.6.0.ebuild b/app-misc/ddcutil/ddcutil-0.6.0.ebuild |
29 |
deleted file mode 100644 |
30 |
index ea8f6f0..00000000 |
31 |
--- a/app-misc/ddcutil/ddcutil-0.6.0.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,102 +0,0 @@ |
34 |
-# Copyright 1999-2016 Gentoo Foundation |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
-# $Id$ |
37 |
- |
38 |
-EAPI=6 |
39 |
- |
40 |
-inherit autotools linux-info udev user |
41 |
- |
42 |
-DESCRIPTION="Program for querying and changing monitor settings" |
43 |
-HOMEPAGE="http://www.ddcutil.com/" |
44 |
- |
45 |
-SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
46 |
- |
47 |
-# Binary drivers need special instructions compared to the open source counterparts. |
48 |
-# If a user switches drivers, they will need to set different use flags for |
49 |
-# Xorg or Wayland or Mesa, so this will trigger the rebuild against |
50 |
-# the different drivers. |
51 |
-IUSE="usb-monitor user-permissions video_cards_fglrx video_cards_nvidia" |
52 |
- |
53 |
-LICENSE="GPL-2" |
54 |
-SLOT="0" |
55 |
-KEYWORDS="~amd64 ~x86" |
56 |
- |
57 |
-RDEPEND="x11-libs/libXrandr |
58 |
- x11-libs/libX11 |
59 |
- dev-libs/glib |
60 |
- sys-apps/i2c-tools |
61 |
- virtual/udev |
62 |
- usb-monitor? ( |
63 |
- dev-libs/hidapi |
64 |
- virtual/libusb:1 |
65 |
- sys-apps/usbutils )" |
66 |
-DEPEND="video_cards_fglrx? ( x11-libs/amd-adl-sdk ) |
67 |
- virtual/pkgconfig |
68 |
- ${RDEPEND}" |
69 |
- |
70 |
-pkg_pretend() { |
71 |
- # This program needs /dev/ic2-* devices to communicate with the monitor. |
72 |
- CONFIG_CHECK="~I2C_CHARDEV" |
73 |
- ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue" |
74 |
- if use usb-monitor; then |
75 |
- CONFIG_CHECK+="~HIDRAW ~USB_HIDDEV" |
76 |
- ERROR_HIDRAW="HIDRAW is needed to support USB monitors" |
77 |
- ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors" |
78 |
- fi |
79 |
- |
80 |
- # Now do the actual checks setup above |
81 |
- check_extra_config |
82 |
-} |
83 |
- |
84 |
-src_prepare() { |
85 |
- default |
86 |
- eautoreconf |
87 |
-} |
88 |
- |
89 |
-src_configure() { |
90 |
- local myeconfargs=( |
91 |
- $(usex video_cards_fglrx "--with-adl-headers=/usr/include/ADL" "") |
92 |
- $(use_enable usb-monitor usb) |
93 |
- ) |
94 |
- |
95 |
- econf "${myeconfargs[@]}" |
96 |
-} |
97 |
- |
98 |
-src_install() { |
99 |
- default |
100 |
- if use user-permissions; then |
101 |
- udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules |
102 |
- if use usb-monitor; then |
103 |
- udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules |
104 |
- fi |
105 |
- fi |
106 |
-} |
107 |
- |
108 |
-pkg_postinst() { |
109 |
- if use user-permissions; then |
110 |
- enewgroup i2c |
111 |
- einfo "To allow non-root users access to the /dev/i2c-* devices, add those" |
112 |
- einfo "users to the i2c group: usermod -aG i2c user" |
113 |
- einfo "Restart the computer or reload the i2c-dev module to activate" |
114 |
- einfo "the new udev rule." |
115 |
- einfo "For more information read: http://www.ddcutil.com/i2c_permissions/" |
116 |
- |
117 |
- if use usb-monitor; then |
118 |
- enewgroup video |
119 |
- einfo "To allow non-root users access to USB monitors, add those users" |
120 |
- einfo "to the video group: usermod -aG video user" |
121 |
- einfo "Restart the computer, reload the hiddev and hidraw modules, or replug" |
122 |
- einfo "the monitor to activate the new udev rule." |
123 |
- einfo "For more information read: http://www.ddcutil.com/usb/" |
124 |
- fi |
125 |
- |
126 |
- udev_reload |
127 |
- fi |
128 |
- |
129 |
- if use video_cards_nvidia; then |
130 |
- einfo "==================================================================" |
131 |
- einfo "Please read the following webpage on proper usage with the nVidia " |
132 |
- einfo "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/" |
133 |
- einfo "==================================================================" |
134 |
- fi |
135 |
-} |
136 |
|
137 |
diff --git a/app-misc/ddcutil/ddcutil-0.7.0.ebuild b/app-misc/ddcutil/ddcutil-0.7.0.ebuild |
138 |
deleted file mode 100644 |
139 |
index 0c4565a..00000000 |
140 |
--- a/app-misc/ddcutil/ddcutil-0.7.0.ebuild |
141 |
+++ /dev/null |
142 |
@@ -1,105 +0,0 @@ |
143 |
-# Copyright 1999-2017 Gentoo Foundation |
144 |
-# Distributed under the terms of the GNU General Public License v2 |
145 |
-# $Id$ |
146 |
- |
147 |
-EAPI=6 |
148 |
- |
149 |
-inherit autotools linux-info udev user |
150 |
- |
151 |
-DESCRIPTION="Program for querying and changing monitor settings" |
152 |
-HOMEPAGE="http://www.ddcutil.com/" |
153 |
- |
154 |
-SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
155 |
- |
156 |
-# Binary drivers need special instructions compared to the open source counterparts. |
157 |
-# If a user switches drivers, they will need to set different use flags for |
158 |
-# Xorg or Wayland or Mesa, so this will trigger the rebuild against |
159 |
-# the different drivers. |
160 |
-IUSE="enable-api-libs usb-monitor user-permissions video_cards_fglrx video_cards_nvidia" |
161 |
- |
162 |
-LICENSE="GPL-2" |
163 |
-SLOT="0" |
164 |
-KEYWORDS="~amd64 ~x86" |
165 |
- |
166 |
-RDEPEND="x11-libs/libXrandr |
167 |
- x11-libs/libX11 |
168 |
- dev-libs/glib:2 |
169 |
- sys-apps/i2c-tools |
170 |
- virtual/udev |
171 |
- usb-monitor? ( |
172 |
- dev-libs/hidapi |
173 |
- virtual/libusb:1 |
174 |
- sys-apps/usbutils )" |
175 |
-DEPEND="video_cards_fglrx? ( x11-libs/amd-adl-sdk ) |
176 |
- virtual/pkgconfig |
177 |
- ${RDEPEND}" |
178 |
- |
179 |
-pkg_pretend() { |
180 |
- # This program needs /dev/ic2-* devices to communicate with the monitor. |
181 |
- CONFIG_CHECK="~I2C_CHARDEV" |
182 |
- ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue" |
183 |
- if use usb-monitor; then |
184 |
- CONFIG_CHECK+="~HIDRAW ~USB_HIDDEV" |
185 |
- ERROR_HIDRAW="HIDRAW is needed to support USB monitors" |
186 |
- ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors" |
187 |
- fi |
188 |
- |
189 |
- # Now do the actual checks setup above |
190 |
- check_extra_config |
191 |
-} |
192 |
- |
193 |
-src_prepare() { |
194 |
- default |
195 |
- eautoreconf |
196 |
-} |
197 |
- |
198 |
-src_configure() { |
199 |
- # Python API is still very experimental. Upstream recommends not using it. |
200 |
- local myeconfargs=( |
201 |
- $(use_enable enable-api-libs) |
202 |
- $(use_enable usb-monitor usb) |
203 |
- $(usex video_cards_fglrx "--with-adl-headers=/usr/include/ADL" "") |
204 |
- --disable-swig |
205 |
- ) |
206 |
- |
207 |
- econf "${myeconfargs[@]}" |
208 |
-} |
209 |
- |
210 |
-src_install() { |
211 |
- default |
212 |
- if use user-permissions; then |
213 |
- udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules |
214 |
- if use usb-monitor; then |
215 |
- udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules |
216 |
- fi |
217 |
- fi |
218 |
-} |
219 |
- |
220 |
-pkg_postinst() { |
221 |
- if use user-permissions; then |
222 |
- enewgroup i2c |
223 |
- einfo "To allow non-root users access to the /dev/i2c-* devices, add those" |
224 |
- einfo "users to the i2c group: usermod -aG i2c user" |
225 |
- einfo "Restart the computer or reload the i2c-dev module to activate" |
226 |
- einfo "the new udev rule." |
227 |
- einfo "For more information read: http://www.ddcutil.com/i2c_permissions/" |
228 |
- |
229 |
- if use usb-monitor; then |
230 |
- enewgroup video |
231 |
- einfo "To allow non-root users access to USB monitors, add those users" |
232 |
- einfo "to the video group: usermod -aG video user" |
233 |
- einfo "Restart the computer, reload the hiddev and hidraw modules, or replug" |
234 |
- einfo "the monitor to activate the new udev rule." |
235 |
- einfo "For more information read: http://www.ddcutil.com/usb/" |
236 |
- fi |
237 |
- |
238 |
- udev_reload |
239 |
- fi |
240 |
- |
241 |
- if use video_cards_nvidia; then |
242 |
- einfo "==================================================================" |
243 |
- einfo "Please read the following webpage on proper usage with the nVidia " |
244 |
- einfo "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/" |
245 |
- einfo "==================================================================" |
246 |
- fi |
247 |
-} |