Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/dispcalgui: dispcalgui-1.1.2.1.ebuild dispcalgui-1.1.0.0.ebuild dispcalgui-0.9.9.1.ebuild ChangeLog dispcalgui-1.0.7.7.ebuild
Date: Fri, 02 Nov 2012 22:15:58
Message-Id: 20121102221541.EE0D420E47@flycatcher.gentoo.org
1 hwoarang 12/11/02 22:15:41
2
3 Modified: dispcalgui-1.1.0.0.ebuild dispcalgui-0.9.9.1.ebuild
4 ChangeLog
5 Added: dispcalgui-1.1.2.1.ebuild
6 Removed: dispcalgui-1.0.7.7.ebuild
7 Log:
8 Version bump. Fix old ebuilds to not install udev rules in order to avoid collisions with media-gfx/argyllcms. Thanks to Marios Andreopoulos <opensource@×××××××××.com>. Bug #440932. Remove old
9
10 (Portage version: 2.1.11.30/cvs/Linux x86_64, signed Manifest commit with key B4AFF2C2)
11
12 Revision Changes Path
13 1.2 media-gfx/dispcalgui/dispcalgui-1.1.0.0.ebuild
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/dispcalgui/dispcalgui-1.1.0.0.ebuild?rev=1.2&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/dispcalgui/dispcalgui-1.1.0.0.ebuild?rev=1.2&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/dispcalgui/dispcalgui-1.1.0.0.ebuild?r1=1.1&r2=1.2
18
19 Index: dispcalgui-1.1.0.0.ebuild
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/media-gfx/dispcalgui/dispcalgui-1.1.0.0.ebuild,v
22 retrieving revision 1.1
23 retrieving revision 1.2
24 diff -u -r1.1 -r1.2
25 --- dispcalgui-1.1.0.0.ebuild 23 Sep 2012 09:55:57 -0000 1.1
26 +++ dispcalgui-1.1.0.0.ebuild 2 Nov 2012 22:15:41 -0000 1.2
27 @@ -1,6 +1,6 @@
28 # Copyright 1999-2012 Gentoo Foundation
29 # Distributed under the terms of the GNU General Public License v2
30 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/dispcalgui/dispcalgui-1.1.0.0.ebuild,v 1.1 2012/09/23 09:55:57 hwoarang Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/dispcalgui/dispcalgui-1.1.0.0.ebuild,v 1.2 2012/11/02 22:15:41 hwoarang Exp $
32
33 EAPI="2"
34 PYTHON_DEPEND="2"
35 @@ -45,13 +45,6 @@
36 -e 's/if which(\"xdg-desktop-menu\"):/if which(\"xdg-desktop-menu-non-existant\"):/' \
37 -i postinstall.py || die "sed'ing out the xdg-* setup functions failed"
38
39 -# Set udev rules to install at /lib/udev/rules.d
40 - cd "${S}" || die "Cannot cd to work directory."
41 - for offendingFile in $(grep -r -l "/etc/udev/rules.d" .); do
42 - sed -e 's|/etc/udev/rules\.d|/lib/udev/rules\.d|g' -i "${offendingFile}" || \
43 - die "setting udev rules' destination directory failed"
44 - done
45 -
46 # Remove deprecated Encoding key from .desktop file
47 cd "${S}" || die "Cannot cd to work directory."
48 for offendingFile in $(grep -r -l "Encoding=UTF-8" .); do
49 @@ -62,6 +55,12 @@
50 distutils_src_prepare
51 }
52
53 +src_install() {
54 + distutils_src_install
55 + #remove udev files
56 + rm "${D}"/etc/udev/rules.d/55-Argyll.rules || die
57 +}
58 +
59 pkg_postinst() {
60 # Run xdg-* programs the Gentoo way since we removed this functionality from the original package
61 fdo-mime_mime_database_update
62
63
64
65 1.4 media-gfx/dispcalgui/dispcalgui-0.9.9.1.ebuild
66
67 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/dispcalgui/dispcalgui-0.9.9.1.ebuild?rev=1.4&view=markup
68 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/dispcalgui/dispcalgui-0.9.9.1.ebuild?rev=1.4&content-type=text/plain
69 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/dispcalgui/dispcalgui-0.9.9.1.ebuild?r1=1.3&r2=1.4
70
71 Index: dispcalgui-0.9.9.1.ebuild
72 ===================================================================
73 RCS file: /var/cvsroot/gentoo-x86/media-gfx/dispcalgui/dispcalgui-0.9.9.1.ebuild,v
74 retrieving revision 1.3
75 retrieving revision 1.4
76 diff -u -r1.3 -r1.4
77 --- dispcalgui-0.9.9.1.ebuild 2 Aug 2012 21:20:07 -0000 1.3
78 +++ dispcalgui-0.9.9.1.ebuild 2 Nov 2012 22:15:41 -0000 1.4
79 @@ -1,6 +1,6 @@
80 # Copyright 1999-2012 Gentoo Foundation
81 # Distributed under the terms of the GNU General Public License v2
82 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/dispcalgui/dispcalgui-0.9.9.1.ebuild,v 1.3 2012/08/02 21:20:07 hwoarang Exp $
83 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/dispcalgui/dispcalgui-0.9.9.1.ebuild,v 1.4 2012/11/02 22:15:41 hwoarang Exp $
84
85 EAPI="2"
86 PYTHON_DEPEND="2"
87 @@ -45,16 +45,15 @@
88 -e 's/if which(\"xdg-desktop-menu\"):/if which(\"xdg-desktop-menu-non-existant\"):/' \
89 -i postinstall.py || die "sed'ing out the xdg-* setup functions failed"
90
91 -# Set udev rules to install at /lib/udev/rules.d
92 - cd "${S}" || die "Cannot cd to work directory."
93 - for offendingFile in $(grep -r -l "/etc/udev/rules.d" *); do
94 - sed -e 's|/etc/udev/rules\.d|/lib/udev/rules\.d|g' -i "${offendingFile}" || \
95 - die "setting udev rules' destination directory failed"
96 - done
97 -
98 distutils_src_prepare
99 }
100
101 +src_install() {
102 + distutils_src_install
103 + #remove udev files
104 + rm "${D}"/etc/udev/rules.d/55-Argyll.rules || die
105 +}
106 +
107 pkg_postinst() {
108 # Run xdg-* programs the Gentoo way since we removed this functionality from the original package
109 fdo-mime_mime_database_update
110
111
112
113 1.17 media-gfx/dispcalgui/ChangeLog
114
115 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/dispcalgui/ChangeLog?rev=1.17&view=markup
116 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/dispcalgui/ChangeLog?rev=1.17&content-type=text/plain
117 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/dispcalgui/ChangeLog?r1=1.16&r2=1.17
118
119 Index: ChangeLog
120 ===================================================================
121 RCS file: /var/cvsroot/gentoo-x86/media-gfx/dispcalgui/ChangeLog,v
122 retrieving revision 1.16
123 retrieving revision 1.17
124 diff -u -r1.16 -r1.17
125 --- ChangeLog 23 Sep 2012 09:55:57 -0000 1.16
126 +++ ChangeLog 2 Nov 2012 22:15:41 -0000 1.17
127 @@ -1,6 +1,15 @@
128 # ChangeLog for media-gfx/dispcalgui
129 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
130 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/dispcalgui/ChangeLog,v 1.16 2012/09/23 09:55:57 hwoarang Exp $
131 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/dispcalgui/ChangeLog,v 1.17 2012/11/02 22:15:41 hwoarang Exp $
132 +
133 +*dispcalgui-1.1.2.1 (02 Nov 2012)
134 +
135 + 02 Nov 2012; Markos Chandras <hwoarang@g.o> +dispcalgui-1.1.2.1.ebuild,
136 + -dispcalgui-1.0.7.7.ebuild, dispcalgui-0.9.9.1.ebuild,
137 + dispcalgui-1.1.0.0.ebuild:
138 + Version bump. Fix old ebuilds to not install udev rules in order to avoid
139 + collisions with media-gfx/argyllcms. Thanks to Marios Andreopoulos
140 + <opensource@×××××××××.com>. Bug #440932. Remove old
141
142 *dispcalgui-1.1.0.0 (23 Sep 2012)
143
144
145
146
147 1.1 media-gfx/dispcalgui/dispcalgui-1.1.2.1.ebuild
148
149 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/dispcalgui/dispcalgui-1.1.2.1.ebuild?rev=1.1&view=markup
150 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/dispcalgui/dispcalgui-1.1.2.1.ebuild?rev=1.1&content-type=text/plain
151
152 Index: dispcalgui-1.1.2.1.ebuild
153 ===================================================================
154 # Copyright 1999-2012 Gentoo Foundation
155 # Distributed under the terms of the GNU General Public License v2
156 # $Header: /var/cvsroot/gentoo-x86/media-gfx/dispcalgui/dispcalgui-1.1.2.1.ebuild,v 1.1 2012/11/02 22:15:41 hwoarang Exp $
157
158 EAPI="2"
159 PYTHON_DEPEND="2"
160 SUPPORT_PYTHON_ABIS="1"
161 RESTRICT_PYTHON_ABIS="2.4 3.* *-jython 2.7-pypy-*"
162
163 inherit distutils fdo-mime
164
165 MY_PN="dispcalGUI"
166 MY_P="${MY_PN}-${PV}"
167
168 DESCRIPTION="Display Calibration and Characterization powered by Argyll CMS"
169 HOMEPAGE="http://dispcalgui.hoech.net/"
170 SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/${MY_P}.tar.gz"
171
172 LICENSE="GPL-3"
173 SLOT="0"
174 KEYWORDS="~amd64 ~x86"
175 IUSE=""
176
177 DEPEND=">=media-gfx/argyllcms-1.1.0
178 >=dev-python/wxpython-2.8.10.1
179 >=x11-libs/libX11-1.3.3
180 >=x11-apps/xrandr-1.3.2
181 >=x11-libs/libXxf86vm-1.1.0
182 >=x11-proto/xineramaproto-1.2
183 >=x11-libs/libXinerama-1.1"
184 RDEPEND="${DEPEND}
185 >=dev-python/numpy-1.2.1"
186
187 # Just in case someone renames the ebuild
188 S=${WORKDIR}/${MY_P}
189
190 DOCS=(
191 README.html
192 )
193
194 src_prepare() {
195 # Prohibit setup from running xdg-* programs, resulting to sandbox violation
196 cd "${S}/dispcalGUI" || die "Cannot cd to source directory."
197 sed -e 's/if which(\"xdg-icon-resource\"):/if which(\"xdg-icon-resource-non-existant\"):/' \
198 -e 's/if which(\"xdg-desktop-menu\"):/if which(\"xdg-desktop-menu-non-existant\"):/' \
199 -i postinstall.py || die "sed'ing out the xdg-* setup functions failed"
200
201 # Remove deprecated Encoding key from .desktop file
202 cd "${S}" || die "Cannot cd to work directory."
203 for offendingFile in $(grep -r -l "Encoding=UTF-8" .); do
204 sed -e '/Encoding=UTF-8/d' -i "${offendingFile}" || \
205 die "removing deprecated Encoding key from .desktop files failed"
206 done
207
208 distutils_src_prepare
209 }
210
211 src_install() {
212 distutils_src_install
213 #remove udev files
214 rm "${D}"/etc/udev/rules.d/55-Argyll.rules || die
215 }
216
217 pkg_postinst() {
218 # Run xdg-* programs the Gentoo way since we removed this functionality from the original package
219 fdo-mime_mime_database_update
220 fdo-mime_desktop_database_update
221 distutils_pkg_postinst
222 }
223
224 pkg_postrm() {
225 # Run xdg-* programs the Gentoo way since we removed this functionality from the original package
226 fdo-mime_mime_database_update
227 fdo-mime_desktop_database_update
228 distutils_pkg_postrm
229 }