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.7.3.7.ebuild ChangeLog
Date: Fri, 30 Sep 2011 17:14:01
Message-Id: 20110930171345.DE09220036@flycatcher.gentoo.org
1 hwoarang 11/09/30 17:13:45
2
3 Modified: ChangeLog
4 Added: dispcalgui-0.7.3.7.ebuild
5 Log:
6 Version bump. Bug #384035
7
8 (Portage version: 2.2.0_alpha55/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.2 media-gfx/dispcalgui/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/dispcalgui/ChangeLog?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/dispcalgui/ChangeLog?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/dispcalgui/ChangeLog?r1=1.1&r2=1.2
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-gfx/dispcalgui/ChangeLog,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- ChangeLog 6 Jun 2011 10:59:08 -0000 1.1
24 +++ ChangeLog 30 Sep 2011 17:13:45 -0000 1.2
25 @@ -1,6 +1,12 @@
26 # ChangeLog for media-gfx/dispcalgui
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/dispcalgui/ChangeLog,v 1.1 2011/06/06 10:59:08 hwoarang Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/dispcalgui/ChangeLog,v 1.2 2011/09/30 17:13:45 hwoarang Exp $
30 +
31 +*dispcalgui-0.7.3.7 (30 Sep 2011)
32 +
33 + 30 Sep 2011; Markos Chandras <hwoarang@g.o>
34 + +dispcalgui-0.7.3.7.ebuild:
35 + Version bump. Bug #384035
36
37 *dispcalgui-0.7.0.7 (06 Jun 2011)
38
39
40
41
42 1.1 media-gfx/dispcalgui/dispcalgui-0.7.3.7.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/dispcalgui/dispcalgui-0.7.3.7.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/dispcalgui/dispcalgui-0.7.3.7.ebuild?rev=1.1&content-type=text/plain
46
47 Index: dispcalgui-0.7.3.7.ebuild
48 ===================================================================
49 # Copyright 1999-2011 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.7.3.7.ebuild,v 1.1 2011/09/30 17:13:45 hwoarang Exp $
52
53 EAPI="2"
54 PYTHON_DEPEND="2"
55 SUPPORT_PYTHON_ABIS="1"
56 RESTRICT_PYTHON_ABIS="3.*"
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://dispcalgui.hoech.net/archive/${PV}/${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 distutils_src_prepare
97 }
98
99 pkg_postinst() {
100 # Run xdg-* programs the Gentoo way since we removed this functionality from the original package
101 fdo-mime_mime_database_update
102 fdo-mime_desktop_database_update
103 distutils_pkg_postinst
104 }
105
106 pkg_postrm() {
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_postrm
111 }