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-2.6.0.0.ebuild
Date: Sat, 31 Jan 2015 13:34:04
Message-Id: 20150131133401.0AD2310C2F@oystercatcher.gentoo.org
1 hwoarang 15/01/31 13:34:01
2
3 Modified: ChangeLog
4 Added: dispcalgui-2.6.0.0.ebuild
5 Log:
6 Version bump. Bug #532974
7
8 (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 09BF4F54C2BA7F3C!)
9
10 Revision Changes Path
11 1.25 media-gfx/dispcalgui/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/dispcalgui/ChangeLog?rev=1.25&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/dispcalgui/ChangeLog?rev=1.25&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/dispcalgui/ChangeLog?r1=1.24&r2=1.25
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-gfx/dispcalgui/ChangeLog,v
20 retrieving revision 1.24
21 retrieving revision 1.25
22 diff -u -r1.24 -r1.25
23 --- ChangeLog 14 Sep 2014 09:38:58 -0000 1.24
24 +++ ChangeLog 31 Jan 2015 13:34:01 -0000 1.25
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-gfx/dispcalgui
27 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/dispcalgui/ChangeLog,v 1.24 2014/09/14 09:38:58 hwoarang Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/dispcalgui/ChangeLog,v 1.25 2015/01/31 13:34:01 hwoarang Exp $
31 +
32 +*dispcalgui-2.6.0.0 (31 Jan 2015)
33 +
34 + 31 Jan 2015; Markos Chandras <hwoarang@g.o> +dispcalgui-2.6.0.0.ebuild:
35 + Version bump. Bug #532974
36
37 *dispcalgui-2.5.0.0 (14 Sep 2014)
38
39
40
41
42 1.1 media-gfx/dispcalgui/dispcalgui-2.6.0.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/dispcalgui/dispcalgui-2.6.0.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/dispcalgui/dispcalgui-2.6.0.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: dispcalgui-2.6.0.0.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-gfx/dispcalgui/dispcalgui-2.6.0.0.ebuild,v 1.1 2015/01/31 13:34:01 hwoarang Exp $
52
53 EAPI="5"
54 PYTHON_COMPAT=( python2_7 )
55
56 inherit distutils-r1 fdo-mime eutils
57
58 MY_PN="dispcalGUI"
59 MY_P="${MY_PN}-${PV}"
60
61 DESCRIPTION="Display Calibration and Characterization powered by Argyll CMS"
62 HOMEPAGE="http://dispcalgui.hoech.net/"
63 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
64
65 LICENSE="GPL-3"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68 IUSE=""
69
70 DEPEND=">=media-gfx/argyllcms-1.1.0
71 dev-python/wxpython:2.8
72 >=x11-libs/libX11-1.3.3
73 >=x11-apps/xrandr-1.3.2
74 >=x11-libs/libXxf86vm-1.1.0
75 >=x11-proto/xineramaproto-1.2
76 >=x11-libs/libXinerama-1.1"
77 RDEPEND="${DEPEND}
78 >=dev-python/numpy-1.2.1"
79
80 # Just in case someone renames the ebuild
81 S=${WORKDIR}/${MY_P}
82
83 DOCS=(
84 README.html
85 )
86
87 src_prepare() {
88 # Prohibit setup from running xdg-* programs, resulting to sandbox violation
89 cd "${S}/dispcalGUI" || die "Cannot cd to source directory."
90 sed -e 's/if which(\"xdg-icon-resource\"):/if which(\"xdg-icon-resource-non-existant\"):/' \
91 -e 's/if which(\"xdg-desktop-menu\"):/if which(\"xdg-desktop-menu-non-existant\"):/' \
92 -i postinstall.py || die "sed'ing out the xdg-* setup functions failed"
93
94 # Remove deprecated Encoding key from .desktop file
95 cd "${S}" || die "Cannot cd to work directory."
96 for offendingFile in $(grep -r -l "Encoding=UTF-8" .); do
97 sed -e '/Encoding=UTF-8/d' -i "${offendingFile}" || \
98 die "removing deprecated Encoding key from .desktop files failed"
99 done
100
101 distutils-r1_src_prepare
102 }
103
104 src_install() {
105 distutils-r1_src_install
106 #remove udev files
107 rm -rf "${D}"/etc/udev/rules.d
108 }
109
110 pkg_postinst() {
111 # Run xdg-* programs the Gentoo way since we removed this functionality from the original package
112 fdo-mime_mime_database_update
113 fdo-mime_desktop_database_update
114 }
115
116 pkg_postrm() {
117 # Run xdg-* programs the Gentoo way since we removed this functionality from the original package
118 fdo-mime_mime_database_update
119 fdo-mime_desktop_database_update
120 }