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-0.9.9.1.ebuild ChangeLog
Date: Sun, 29 Apr 2012 16:57:29
Message-Id: 20120429165719.7C4EE2004B@flycatcher.gentoo.org
1 hwoarang 12/04/29 16:57:19
2
3 Modified: ChangeLog
4 Added: dispcalgui-0.9.9.1.ebuild
5 Log:
6 Version bump. Thanks to Marios Andreopoulos <opensource@×××××××××.com>. Fixes bug #413539
7
8 (Portage version: 2.1.10.57/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.11 media-gfx/dispcalgui/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/dispcalgui/ChangeLog?rev=1.11&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/dispcalgui/ChangeLog?rev=1.11&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/dispcalgui/ChangeLog?r1=1.10&r2=1.11
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-gfx/dispcalgui/ChangeLog,v
20 retrieving revision 1.10
21 retrieving revision 1.11
22 diff -u -r1.10 -r1.11
23 --- ChangeLog 1 Mar 2012 22:02:21 -0000 1.10
24 +++ ChangeLog 29 Apr 2012 16:57:19 -0000 1.11
25 @@ -1,6 +1,12 @@
26 # ChangeLog for media-gfx/dispcalgui
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/dispcalgui/ChangeLog,v 1.10 2012/03/01 22:02:21 hwoarang Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/dispcalgui/ChangeLog,v 1.11 2012/04/29 16:57:19 hwoarang Exp $
30 +
31 +*dispcalgui-0.9.9.1 (29 Apr 2012)
32 +
33 + 29 Apr 2012; Markos Chandras <hwoarang@g.o> +dispcalgui-0.9.9.1.ebuild:
34 + Version bump. Thanks to Marios Andreopoulos <opensource@×××××××××.com>. Fixes
35 + bug #413539
36
37 01 Mar 2012; Markos Chandras <hwoarang@g.o> metadata.xml:
38 add proxy-maintainers as herd
39
40
41
42 1.1 media-gfx/dispcalgui/dispcalgui-0.9.9.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/dispcalgui/dispcalgui-0.9.9.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/dispcalgui/dispcalgui-0.9.9.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: dispcalgui-0.9.9.1.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-gfx/dispcalgui/dispcalgui-0.9.9.1.ebuild,v 1.1 2012/04/29 16:57:19 hwoarang Exp $
52
53 EAPI="2"
54 PYTHON_DEPEND="2"
55 SUPPORT_PYTHON_ABIS="1"
56 RESTRICT_PYTHON_ABIS="2.4 3.* *-jython 2.7-pypy-*"
57
58 inherit distutils fdo-mime
59
60 MY_PN="dispcalGUI"
61 MY_P="${MY_PN}-${PV}"
62
63 DESCRIPTION="Display Calibration and Characterization powered by Argyll CMS"
64 HOMEPAGE="http://dispcalgui.hoech.net/"
65 SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/${MY_P}.tar.gz"
66
67 LICENSE="GPL-3"
68 SLOT="0"
69 KEYWORDS="~amd64 ~x86"
70 IUSE=""
71
72 DEPEND=">=media-gfx/argyllcms-1.1.0
73 >=dev-python/wxpython-2.8.10.1
74 >=x11-libs/libX11-1.3.3
75 >=x11-apps/xrandr-1.3.2
76 >=x11-libs/libXxf86vm-1.1.0
77 >=x11-proto/xineramaproto-1.2
78 >=x11-libs/libXinerama-1.1"
79 RDEPEND="${DEPEND}
80 >=dev-python/numpy-1.2.1"
81
82 # Just in case someone renames the ebuild
83 S=${WORKDIR}/${MY_P}
84
85 DOCS=(
86 README.html
87 )
88
89 src_prepare() {
90 # Prohibit setup from running xdg-* programs, resulting to sandbox violation
91 cd "${S}/dispcalGUI" || die "Cannot cd to source directory."
92 sed -e 's/if which(\"xdg-icon-resource\"):/if which(\"xdg-icon-resource-non-existant\"):/' \
93 -e 's/if which(\"xdg-desktop-menu\"):/if which(\"xdg-desktop-menu-non-existant\"):/' \
94 -i postinstall.py || die "sed'ing out the xdg-* setup functions failed"
95
96 # Set udev rules to install at /lib/udev/rules.d
97 cd "${S}" || die "Cannot cd to work directory."
98 for offendingFile in $(grep -r -l "/etc/udev/rules.d" *); do
99 sed -e 's|/etc/udev/rules\.d|/lib/udev/rules\.d|g' -i "${offendingFile}" || \
100 die "setting udev rules' destination directory failed"
101 done
102
103 distutils_src_prepare
104 }
105
106 pkg_postinst() {
107 # Run xdg-* programs the Gentoo way since we removed this functionality from the original package
108 fdo-mime_mime_database_update
109 fdo-mime_desktop_database_update
110 distutils_pkg_postinst
111 }
112
113 pkg_postrm() {
114 # Run xdg-* programs the Gentoo way since we removed this functionality from the original package
115 fdo-mime_mime_database_update
116 fdo-mime_desktop_database_update
117 distutils_pkg_postrm
118 }