From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 828B01382BD for ; Fri, 17 Jun 2016 17:39:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BB819141F7; Fri, 17 Jun 2016 17:39:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 68FC9141E5 for ; Fri, 17 Jun 2016 17:39:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 76F0834081F for ; Fri, 17 Jun 2016 17:39:18 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0EB882429 for ; Fri, 17 Jun 2016 17:39:13 +0000 (UTC) From: "NP Hardass" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "NP Hardass" Message-ID: <1466184944.82819bd0444b1adb7aabcdc2ae44cd648f137a88.np-hardass@gentoo> Subject: [gentoo-commits] proj/gentoo-mate:master commit in: x11-misc/mozo/ X-VCS-Repository: proj/gentoo-mate X-VCS-Files: x11-misc/mozo/Manifest x11-misc/mozo/metadata.xml x11-misc/mozo/mozo-1.12.0.ebuild x11-misc/mozo/mozo-9999.ebuild X-VCS-Directories: x11-misc/mozo/ X-VCS-Committer: np-hardass X-VCS-Committer-Name: NP Hardass X-VCS-Revision: 82819bd0444b1adb7aabcdc2ae44cd648f137a88 X-VCS-Branch: master Date: Fri, 17 Jun 2016 17:39:13 +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: 758078e5-8d7e-405a-9899-d2ed7c98df7a X-Archives-Hash: c435f52ec5cca5c599cac13037b55686 commit: 82819bd0444b1adb7aabcdc2ae44cd648f137a88 Author: NP-Hardass gentoo org> AuthorDate: Fri Apr 15 07:28:59 2016 +0000 Commit: NP Hardass gentoo org> CommitDate: Fri Jun 17 17:35:44 2016 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-mate.git/commit/?id=82819bd0 x11-misc/mozo: Version bump to 1.12.1, add 9999, add gtk3 Package-Manager: portage-2.2.26 x11-misc/mozo/Manifest | 2 ++ x11-misc/mozo/metadata.xml | 3 ++ x11-misc/mozo/mozo-1.12.0.ebuild | 76 ++++++++++++++++++++++++++++++++++++++++ x11-misc/mozo/mozo-9999.ebuild | 65 ++++++++++++++++++++++++++++++++++ 4 files changed, 146 insertions(+) diff --git a/x11-misc/mozo/Manifest b/x11-misc/mozo/Manifest index 0dea73f..27cf776 100644 --- a/x11-misc/mozo/Manifest +++ b/x11-misc/mozo/Manifest @@ -1 +1,3 @@ DIST mozo-1.10.1.tar.xz 163456 SHA256 91e97700d67cddaf39ec5f06d1bddaf585458d7677d76d72a4a527cfd030ecd8 SHA512 767f81c84642f83ba7579fde5eceedb588d934e52f0dd8f8a405e596e445aa68d0e3828db909130d121298e4fc7822736b45af7eda8f2c01f809b9df294a4aea WHIRLPOOL 6542017d320840a8a1f53e8e44c4a38a81efa62352ebe46c7f5b50bca9cde19401ff3cf07b08f4f85f15c555964af26dc539c95ec8062fd31bed8e25dafaa299 +DIST mozo-1.12.0-gtk3.patch.bz2 6562 SHA256 b8aed33b49bd7d5c09d9546770ba79d8643b8d7eb56a0d512e1105c8e8ffd32d SHA512 9f86a77f29fb359fb59092d819634d2223b74c5eb149917b1442589306d989cfb87df2cc8c4f1e36fd086ba57a75274feccb4978cc0156e20cfd73712ea2a48b WHIRLPOOL 3b78ad3496b6f31e90effff345c83805d6e35a910a4298cfd35a048810425cc26283b8da72cb5134d84a81fa124a0197fa1ba446aa99c0add1eeafc24ae5c31c +DIST mozo-1.12.0.tar.xz 163820 SHA256 59ab1c873064177e5515ba31c493fe9fd158c37b1054f7ae638c6571640aecc7 SHA512 93e760b791a74b6a6ca0377d5aaa060c8bf339dcfde91fcb146ef1e37cc25912b3c93fa2b4d612c0abf2bbd00597c80b58769bc88b57925ec4c465967f32c05b WHIRLPOOL 188419370e749b984d6cc1437baf67dc2611e255d9e18ee2cee113eff578cde8db078064050d63e523d457d5b1fa391a6f1a1db0e95f23c0c79742e484670932 diff --git a/x11-misc/mozo/metadata.xml b/x11-misc/mozo/metadata.xml index 5d6c45d..97db2f6 100644 --- a/x11-misc/mozo/metadata.xml +++ b/x11-misc/mozo/metadata.xml @@ -5,6 +5,9 @@ mate@gentoo.org Gentoo MATE Desktop + + Build with GTK+3 instead of GTK+2 + mate-desktop/mozo diff --git a/x11-misc/mozo/mozo-1.12.0.ebuild b/x11-misc/mozo/mozo-1.12.0.ebuild new file mode 100644 index 0000000..6623f83 --- /dev/null +++ b/x11-misc/mozo/mozo-1.12.0.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="xml" + +inherit python-r1 mate + +SRC_URI="${SRC_URI} gtk3? ( https://dev.gentoo.org/~np-hardass/distfiles/${PN}/${P}-gtk3.patch.bz2 )" +KEYWORDS="~amd64 ~arm ~x86" + +DESCRIPTION="Mozo menu editor for MATE" +LICENSE="GPL-2" +SLOT="0" + +IUSE="gtk3" + +RDEPEND="${PYTHON_DEPS} + >=mate-base/mate-menus-1.6[introspection] + x11-libs/gdk-pixbuf:2[introspection] + virtual/libintl:0 + !!x11-misc/mate-menu-editor + !gtk3? ( + >=dev-python/pygobject-2.15.1:2[${PYTHON_USEDEP}] + >=dev-python/pygtk-2.13:2[${PYTHON_USEDEP}] + >=mate-base/mate-menus-1.6[python] + x11-libs/gtk+:2[introspection] + ) + gtk3? ( + >=dev-python/pygobject-3:3[${PYTHON_USEDEP}] + x11-libs/gtk+:3[introspection] + )" + +DEPEND="${COMMON_DEPEND} + >=dev-util/intltool-0.40:* + sys-devel/gettext:* + virtual/pkgconfig:*" + +src_prepare() { + if use gtk3; then + eapply "${WORKDIR}/${P}-gtk3.patch" + FORCE_AUTORECONF=true + fi + mate_src_prepare + python_copy_sources +} + +src_configure() { + python_foreach_impl run_in_build_dir mate_src_configure \ + --disable-icon-update +} + +src_compile() { + python_foreach_impl run_in_build_dir default +} + +src_test() { + python_foreach_impl run_in_build_dir emake check +} + +src_install() { + installing() { + mate_src_install + + # Massage shebang to make python_doscript happy + sed -e 's:#! '"${PYTHON}:#!/usr/bin/python:" \ + -i mozo || die + + python_doscript mozo + } + + python_foreach_impl run_in_build_dir installing +} diff --git a/x11-misc/mozo/mozo-9999.ebuild b/x11-misc/mozo/mozo-9999.ebuild new file mode 100644 index 0000000..a2eeb91 --- /dev/null +++ b/x11-misc/mozo/mozo-9999.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="xml" + +inherit python-r1 mate + +if [[ ${PV} != 9999 ]]; then + KEYWORDS="~amd64 ~arm ~x86" +fi + +DESCRIPTION="Mozo menu editor for MATE" +LICENSE="GPL-2" +SLOT="0" + +IUSE="gtk3" + +RDEPEND="${PYTHON_DEPS} + >=dev-python/pygobject-3:3[${PYTHON_USEDEP}] + >=mate-base/mate-menus-1.6[introspection] + x11-libs/gdk-pixbuf:2[introspection] + x11-libs/gtk+:3[introspection] + virtual/libintl:0 + !!x11-misc/mate-menu-editor" + +DEPEND="${COMMON_DEPEND} + >=dev-util/intltool-0.40:* + sys-devel/gettext:* + virtual/pkgconfig:*" + +src_prepare() { + mate_src_prepare + python_copy_sources +} + +src_configure() { + python_foreach_impl run_in_build_dir mate_src_configure \ + --disable-icon-update +} + +src_compile() { + python_foreach_impl run_in_build_dir default +} + +src_test() { + python_foreach_impl run_in_build_dir emake check +} + +src_install() { + installing() { + mate_src_install + + # Massage shebang to make python_doscript happy + sed -e 's:#! '"${PYTHON}:#!/usr/bin/python:" \ + -i mozo || die + + python_doscript mozo + } + + python_foreach_impl run_in_build_dir installing +}