From: "Wolfram Schlich" <wschlich@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/displaycal/
Date: Sat, 10 Sep 2016 11:24:56 +0000 (UTC) [thread overview]
Message-ID: <1473506690.b073447f376f7692c550f5c07a06987c9460775b.wschlich@gentoo> (raw)
commit: b073447f376f7692c550f5c07a06987c9460775b
Author: Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 10 11:24:11 2016 +0000
Commit: Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
CommitDate: Sat Sep 10 11:24:50 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b073447f
media-gfx/displaycal: version bump
Package-Manager: portage-2.2.28
media-gfx/displaycal/Manifest | 1 +
media-gfx/displaycal/displaycal-3.1.6.0.ebuild | 79 ++++++++++++++++++++++++++
2 files changed, 80 insertions(+)
diff --git a/media-gfx/displaycal/Manifest b/media-gfx/displaycal/Manifest
index c732731..463325f 100644
--- a/media-gfx/displaycal/Manifest
+++ b/media-gfx/displaycal/Manifest
@@ -1,2 +1,3 @@
DIST DisplayCAL-3.1.2.0.tar.gz 9361108 SHA256 78dbfd2be1cf7542657cc0f5ed9e16e27558206a4878ffae5ce68bd62460680d SHA512 2c14ed0230e6bdd6f8876a5e8887498e3005941e2f68aedad2926f9b8dda642e909f9aa70205977123b1b7c1376dd3f361ad08ecc5015bfae77342ff1b848837 WHIRLPOOL 74f311618190974e6e9c0c5b895ab7f0dba18de06e52dcf1cca4df0373a278b4c4e170b6add51bdf550b21499ff1ecf249cae6f2eb2f3e0813c666bd0bc4f941
DIST DisplayCAL-3.1.3.1.tar.gz 9555280 SHA256 d48e0b12c0b4fe75e0c99eb5fd85c8651afc2c3a2e72d29ade9bb0a76e61f645 SHA512 ef560155cf0eebf4fcd9beab699afd6f0e766901e44d6aba8f33242662aae68a5644e6e253f3bdfe2bb687b30e967190ddf746ef4467c41c9cda06c6bd9326ef WHIRLPOOL b696c68d7b25388b51c056534ca37f7e14d0f918b2471cd1e6662cfadc186eb989ad9429c3a40bc74992c9352d762c40e05add69773a834e99971ac46339f015
+DIST DisplayCAL-3.1.6.0.tar.gz 9592426 SHA256 fc27814cf29b3643f8a44973f2139518c133f6a2549ffe51658e765a67cd02fd SHA512 ea5d0c5028c9dcfc834c03bd50d9e4cd5f4528ac0adf1312117128f8969533f857eaab738019d561b8197ad595ca73ad085db4feb36101df1e303933e1edbd87 WHIRLPOOL 6a23f57e606852838b43834d81acd346be1746040d47ac5884c997d828130ddf5b2049b8684d2de42b555ab7b6b6fb4d0430544d2586ca388eb769fbecc86be6
diff --git a/media-gfx/displaycal/displaycal-3.1.6.0.ebuild b/media-gfx/displaycal/displaycal-3.1.6.0.ebuild
new file mode 100644
index 00000000..0d69de9
--- /dev/null
+++ b/media-gfx/displaycal/displaycal-3.1.6.0.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 fdo-mime eutils
+
+MY_PN="DisplayCAL"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Display calibration and characterization powered by Argyll CMS"
+HOMEPAGE="https://displaycal.net/"
+SRC_URI="mirror://sourceforge/dispcalgui/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=media-gfx/argyllcms-1.1.0
+ dev-python/wxpython:2.8
+ >=x11-libs/libX11-1.3.3
+ >=x11-apps/xrandr-1.3.2
+ >=x11-libs/libXxf86vm-1.1.0
+ >=x11-proto/xineramaproto-1.2
+ >=x11-libs/libXinerama-1.1"
+RDEPEND="${DEPEND}
+ >=dev-python/numpy-1.2.1"
+
+# Just in case someone renames the ebuild
+S=${WORKDIR}/${MY_P}
+
+DOCS=(
+ README.html
+)
+
+src_prepare() {
+ # Prohibit setup from running xdg-* programs, resulting to sandbox violation
+ cd "${S}/DisplayCAL" || die "Cannot cd to source directory."
+ sed -e 's/if which(\"xdg-icon-resource\"):/if which(\"xdg-icon-resource-non-existant\"):/' \
+ -e 's/if which(\"xdg-desktop-menu\"):/if which(\"xdg-desktop-menu-non-existant\"):/' \
+ -i postinstall.py || die "sed'ing out the xdg-* setup functions failed"
+
+ # Remove deprecated Encoding key from .desktop file
+ cd "${S}" || die "Cannot cd to work directory."
+ for offendingFile in $(grep -r -l "Encoding=UTF-8" .); do
+ sed -e '/Encoding=UTF-8/d' -i "${offendingFile}" || \
+ die "removing deprecated Encoding key from .desktop files failed"
+ done
+
+ # Remove x-world Media Type
+ cd "${S}/misc" || die "Cannot cd to misc directory."
+ sed -e 's/x\-world\/x\-vrml\;//g' -i "displaycal-vrml-to-x3d-converter.desktop" \
+ || die "removing x-world media type failed"
+
+ distutils-r1_src_prepare
+}
+
+src_install() {
+ distutils-r1_src_install
+ #remove udev files
+ rm -rf "${D}"/etc/udev/rules.d
+}
+
+pkg_postinst() {
+ # Run xdg-* programs the Gentoo way since we removed this
+ # functionality from the original package
+ fdo-mime_mime_database_update
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ # Run xdg-* programs the Gentoo way since we removed this
+ # functionality from the original package
+ fdo-mime_mime_database_update
+ fdo-mime_desktop_database_update
+}
next reply other threads:[~2016-09-10 11:25 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-10 11:24 Wolfram Schlich [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-04-10 8:32 [gentoo-commits] repo/gentoo:master commit in: media-gfx/displaycal/ Bernard Cafarelli
2020-03-02 9:01 Bernard Cafarelli
2020-01-22 21:50 Michał Górny
2020-01-16 6:05 Michał Górny
2019-12-05 18:36 Bernard Cafarelli
2019-11-14 8:07 Bernard Cafarelli
2019-10-17 10:37 Bernard Cafarelli
2019-10-17 10:37 Bernard Cafarelli
2019-09-24 12:56 Bernard Cafarelli
2019-08-23 13:44 Bernard Cafarelli
2019-07-03 8:24 Bernard Cafarelli
2019-05-26 16:07 Bernard Cafarelli
2019-05-26 16:07 Bernard Cafarelli
2019-04-03 21:29 Bernard Cafarelli
2019-04-03 21:29 Bernard Cafarelli
2019-02-09 8:33 Bernard Cafarelli
2019-02-09 8:33 Bernard Cafarelli
2018-12-28 0:39 Bernard Cafarelli
2018-11-29 12:45 Bernard Cafarelli
2018-11-29 12:45 Bernard Cafarelli
2018-11-05 7:34 Bernard Cafarelli
2018-09-19 17:40 Bernard Cafarelli
2018-08-08 7:51 Bernard Cafarelli
2018-07-24 13:16 Bernard Cafarelli
2018-07-24 13:16 Bernard Cafarelli
2018-04-29 22:49 Bernard Cafarelli
2018-04-28 0:56 Matt Turner
2018-04-28 0:56 Matt Turner
2018-04-05 8:47 Bernard Cafarelli
2018-03-22 13:39 Bernard Cafarelli
2018-02-23 13:49 Bernard Cafarelli
2018-01-02 10:28 Bernard Cafarelli
2018-01-02 10:28 Bernard Cafarelli
2017-11-02 12:54 Bernard Cafarelli
2017-09-19 10:08 Bernard Cafarelli
2017-09-19 10:08 Bernard Cafarelli
2017-08-30 11:33 Bernard Cafarelli
2017-07-03 14:32 Bernard Cafarelli
2017-06-09 11:11 Bernard Cafarelli
2017-06-02 22:31 Bernard Cafarelli
2017-06-02 22:31 Bernard Cafarelli
2017-03-01 10:15 Bernard Cafarelli
2017-01-18 11:38 Bernard Cafarelli
2017-01-03 16:02 Bernard Cafarelli
2017-01-03 14:21 Bernard Cafarelli
2016-12-07 12:29 Pacho Ramos
2016-12-07 12:29 Pacho Ramos
2016-12-06 22:48 Göktürk Yüksek
2016-08-16 7:55 Matthias Maier
2016-06-25 15:26 Patrice Clement
2016-06-10 16:59 Patrice Clement
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1473506690.b073447f376f7692c550f5c07a06987c9460775b.wschlich@gentoo \
--to=wschlich@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox