From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 23C1D138334 for ; Wed, 19 Sep 2018 17:40:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BC27EE0942; Wed, 19 Sep 2018 17:40:20 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 77EADE0942 for ; Wed, 19 Sep 2018 17:40:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9D5E5335D1F for ; Wed, 19 Sep 2018 17:40:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B8FAC3D4 for ; Wed, 19 Sep 2018 17:40:14 +0000 (UTC) From: "Bernard Cafarelli" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Bernard Cafarelli" Message-ID: <1537378794.a17ae9f097b032c2db0944b5365d4f8c4085e1b7.voyageur@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/displaycal/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/displaycal/Manifest media-gfx/displaycal/displaycal-3.6.2.0.ebuild X-VCS-Directories: media-gfx/displaycal/ X-VCS-Committer: voyageur X-VCS-Committer-Name: Bernard Cafarelli X-VCS-Revision: a17ae9f097b032c2db0944b5365d4f8c4085e1b7 X-VCS-Branch: master Date: Wed, 19 Sep 2018 17:40:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 107d5d6c-71c2-43a8-9d05-a7173642d3c7 X-Archives-Hash: dcc38d7b335c75bf57022170eeae1b23 commit: a17ae9f097b032c2db0944b5365d4f8c4085e1b7 Author: Bernard Cafarelli gentoo org> AuthorDate: Wed Sep 19 17:39:40 2018 +0000 Commit: Bernard Cafarelli gentoo org> CommitDate: Wed Sep 19 17:39:54 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a17ae9f0 media-gfx/displaycal: 3.6.2.0 bump Package-Manager: Portage-2.3.49, Repoman-2.3.10 media-gfx/displaycal/Manifest | 1 + media-gfx/displaycal/displaycal-3.6.2.0.ebuild | 63 ++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/media-gfx/displaycal/Manifest b/media-gfx/displaycal/Manifest index 65fe7534ed8..1b80a7db2b4 100644 --- a/media-gfx/displaycal/Manifest +++ b/media-gfx/displaycal/Manifest @@ -1,3 +1,4 @@ DIST DisplayCAL-3.5.3.0.tar.gz 10559161 BLAKE2B a3eb968dcd0b5edbcf22a0ec84da55d8660ffa8782135a908db8ea7a6480ce7be9a59528d35a73b7eb57c9c0dd46996407ea3de834a85e6da1c5d006b8aa33b3 SHA512 ddb405c1d8b7bc5aefac80fb79edbb03c2a3b32821c8bbbdd6d095312fff57e8ffe5e53cc5b53c56fa32e6bcbc10cd76598441d750008c38a512ed1f62d7cd9c DIST DisplayCAL-3.6.0.0.tar.gz 10565171 BLAKE2B 394a925d28f513ededc1bc40b3ce7b5a2687a0c172006fd14b9081188e3ca80c0cd5f634ac84a9917d6aa301e083bffd05db622e292262f6d41db2a86c23a920 SHA512 6d0cff6344bb0dfcff58e88f93e2d0f7a3cf5f8e32b596f9f5e07b0e80ccb9b4ff429aa9fa63b5941f7622e0a7dcd227d0a1066e82d0843454f01d96dea97993 DIST DisplayCAL-3.6.1.1.tar.gz 10433827 BLAKE2B 3e06ea90d820bcc96eb8de8d2fabf9d60997092e1529b3a0a6544bfd42f89380bb2525e27c075a3b8c55721d659b485188e8e7f2e872622ed9e6b6ebc87ac662 SHA512 03835117f53fb8c9d7cedfe67719b70878c3b62c20894a999c971d1d820dc7ec386ad68b8d4cf19496005abf2235e789526e6632b11d82f971f944b5f4dfdac6 +DIST DisplayCAL-3.6.2.0.tar.gz 10437261 BLAKE2B c476c7834e2c723c48fb9ad9d2ea7f4919c2636814078d8f1a83a6af0e91586e0762ea3787c90f8625cba672ac72ef5e1d2dd6906fd3fd7f3b67637a180b81e3 SHA512 e66a20edf46d460caf5d2f7ddbc93cfe7c37937cd4933d2a2b7d141676696c6f22aadc07d229fbaefe0ced62066fc99d3290352c3e8fc9db4b95a8d0541f0be7 diff --git a/media-gfx/displaycal/displaycal-3.6.2.0.ebuild b/media-gfx/displaycal/displaycal-3.6.2.0.ebuild new file mode 100644 index 00000000000..72a722b6435 --- /dev/null +++ b/media-gfx/displaycal/displaycal-3.6.2.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 gnome2-utils xdg + +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:3.0 + >=x11-libs/libX11-1.3.3 + >=x11-apps/xrandr-1.3.2 + >=x11-libs/libXxf86vm-1.1.0 + >=x11-libs/libXinerama-1.1 +" +RDEPEND="${DEPEND} + >=dev-python/numpy-1.2.1 +" + +# Just in case someone renames the ebuild +S="${WORKDIR}/${MY_P}" + +src_prepare() { + # Do not generate udev/hotplug files + sed -e '/if os.path.isdir/s#/etc/udev/rules.d\|/etc/hotplug#\0-non-existant#' \ + -i DisplayCAL/setup.py || die + # Prohibit setup from running xdg-* programs, resulting to sandbox violation + sed -e '/if which/s#xdg-icon-resource#\0-non-existant#' \ + -e '/if which/s#xdg-desktop-menu#\0-non-existant#' \ + -i DisplayCAL/postinstall.py || die + + # Remove deprecated Encoding key from .desktop file + sed -e '/Encoding=UTF-8/d' -i misc/*.desktop || die + + # Remove x-world Media Type + sed -e 's/x\-world\/x\-vrml\;//g' \ + -i misc/displaycal-vrml-to-x3d-converter.desktop || die + + distutils-r1_src_prepare +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_icon_cache_update +}