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