Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/displaycal/
Date: Sat, 25 Jun 2016 15:26:28
Message-Id: 1466866640.4d3c4d8199988e057b75f0c09929b823cbae223b.monsieurp@gentoo
1 commit: 4d3c4d8199988e057b75f0c09929b823cbae223b
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 25 14:55:27 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 25 14:57:20 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d3c4d81
7
8 media-gfx/displaycal: Clean up old.
9
10 Package-Manager: portage-2.2.28
11
12 Gentoo-Bug: https://bugs.gentoo.org/586808
13
14 media-gfx/displaycal/Manifest | 1 -
15 media-gfx/displaycal/displaycal-3.0.6.0.ebuild | 79 --------------------------
16 2 files changed, 80 deletions(-)
17
18 diff --git a/media-gfx/displaycal/Manifest b/media-gfx/displaycal/Manifest
19 index 164e024..c732731 100644
20 --- a/media-gfx/displaycal/Manifest
21 +++ b/media-gfx/displaycal/Manifest
22 @@ -1,3 +1,2 @@
23 -DIST DisplayCAL-3.0.6.0.tar.gz 16228 SHA256 ff19c4299e33a587103ab475d136e446bfc7a5b631c8b90563227fe6b9898077 SHA512 003110ddb26b01e1517a2605d341649600b64dfa4b55c3cb8e38b5160c5d2b0d876ae76e6a5b4571740b0030c3c713958bc1d7723d5c0c31e626ac4c702e91ee WHIRLPOOL 30ebaf130f0ae3765fd2ada8852d4bd9443ce24b3b53cdd3c111abe9d5b4715e42214ddf69747b2dc806f119106f93436d3f894fc0dcf00c5748b701f08af8a7
24 DIST DisplayCAL-3.1.2.0.tar.gz 9361108 SHA256 78dbfd2be1cf7542657cc0f5ed9e16e27558206a4878ffae5ce68bd62460680d SHA512 2c14ed0230e6bdd6f8876a5e8887498e3005941e2f68aedad2926f9b8dda642e909f9aa70205977123b1b7c1376dd3f361ad08ecc5015bfae77342ff1b848837 WHIRLPOOL 74f311618190974e6e9c0c5b895ab7f0dba18de06e52dcf1cca4df0373a278b4c4e170b6add51bdf550b21499ff1ecf249cae6f2eb2f3e0813c666bd0bc4f941
25 DIST DisplayCAL-3.1.3.1.tar.gz 9555280 SHA256 d48e0b12c0b4fe75e0c99eb5fd85c8651afc2c3a2e72d29ade9bb0a76e61f645 SHA512 ef560155cf0eebf4fcd9beab699afd6f0e766901e44d6aba8f33242662aae68a5644e6e253f3bdfe2bb687b30e967190ddf746ef4467c41c9cda06c6bd9326ef WHIRLPOOL b696c68d7b25388b51c056534ca37f7e14d0f918b2471cd1e6662cfadc186eb989ad9429c3a40bc74992c9352d762c40e05add69773a834e99971ac46339f015
26
27 diff --git a/media-gfx/displaycal/displaycal-3.0.6.0.ebuild b/media-gfx/displaycal/displaycal-3.0.6.0.ebuild
28 deleted file mode 100644
29 index 5fd3dff..0000000
30 --- a/media-gfx/displaycal/displaycal-3.0.6.0.ebuild
31 +++ /dev/null
32 @@ -1,79 +0,0 @@
33 -# Copyright 1999-2016 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -# $Id$
36 -
37 -EAPI="5"
38 -PYTHON_COMPAT=( python2_7 )
39 -
40 -inherit distutils-r1 fdo-mime eutils
41 -
42 -MY_PN="DisplayCAL"
43 -MY_P="${MY_PN}-${PV}"
44 -
45 -DESCRIPTION="Display Calibration and Characterization powered by Argyll CMS"
46 -HOMEPAGE="https://dispcalgui.hoech.net/"
47 -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
48 -
49 -LICENSE="GPL-3"
50 -SLOT="0"
51 -KEYWORDS="amd64 x86"
52 -IUSE=""
53 -
54 -DEPEND=">=media-gfx/argyllcms-1.1.0
55 - dev-python/wxpython:2.8
56 - >=x11-libs/libX11-1.3.3
57 - >=x11-apps/xrandr-1.3.2
58 - >=x11-libs/libXxf86vm-1.1.0
59 - >=x11-proto/xineramaproto-1.2
60 - >=x11-libs/libXinerama-1.1"
61 -RDEPEND="${DEPEND}
62 - >=dev-python/numpy-1.2.1"
63 -
64 -# Just in case someone renames the ebuild
65 -S=${WORKDIR}/${MY_P}
66 -
67 -DOCS=(
68 - README.html
69 -)
70 -
71 -src_prepare() {
72 - # Prohibit setup from running xdg-* programs, resulting to sandbox violation
73 - cd "${S}/dispcalGUI" || die "Cannot cd to source directory."
74 - sed -e 's/if which(\"xdg-icon-resource\"):/if which(\"xdg-icon-resource-non-existant\"):/' \
75 - -e 's/if which(\"xdg-desktop-menu\"):/if which(\"xdg-desktop-menu-non-existant\"):/' \
76 - -i postinstall.py || die "sed'ing out the xdg-* setup functions failed"
77 -
78 - # Remove deprecated Encoding key from .desktop file
79 - cd "${S}" || die "Cannot cd to work directory."
80 - for offendingFile in $(grep -r -l "Encoding=UTF-8" .); do
81 - sed -e '/Encoding=UTF-8/d' -i "${offendingFile}" || \
82 - die "removing deprecated Encoding key from .desktop files failed"
83 - done
84 -
85 - # Remove x-world Media Type
86 - cd "${S}/misc" || die "Cannot cd to misc directory."
87 - sed -e 's/x\-world\/x\-vrml\;//g' -i "dispcalGUI-VRML-to-X3D-converter.desktop" \
88 - || die "removing x-world media type failed"
89 -
90 - distutils-r1_src_prepare
91 -}
92 -
93 -src_install() {
94 - distutils-r1_src_install
95 - #remove udev files
96 - rm -rf "${D}"/etc/udev/rules.d
97 -}
98 -
99 -pkg_postinst() {
100 - # Run xdg-* programs the Gentoo way since we removed this
101 - # functionality from the original package
102 - fdo-mime_mime_database_update
103 - fdo-mime_desktop_database_update
104 -}
105 -
106 -pkg_postrm() {
107 - # Run xdg-* programs the Gentoo way since we removed this
108 - # functionality from the original package
109 - fdo-mime_mime_database_update
110 - fdo-mime_desktop_database_update
111 -}