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 9A4631381F3 for ; Wed, 3 Jul 2013 08:36:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 463C3E0944; Wed, 3 Jul 2013 08:36:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B71A0E0944 for ; Wed, 3 Jul 2013 08:36:17 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8B61C33BDD7 for ; Wed, 3 Jul 2013 08:36:16 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id DF666E468F for ; Wed, 3 Jul 2013 08:36:14 +0000 (UTC) From: "Michael Palimaka" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" Message-ID: <1372840432.1b2baa4260887ee1876b459feeaa64c9ba69c51e.kensington@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-misc/kcm-ufw/files/, kde-misc/kcm-ufw/ X-VCS-Repository: proj/kde X-VCS-Files: kde-misc/kcm-ufw/files/kcm-ufw-0.4.3-linguas.patch kde-misc/kcm-ufw/kcm-ufw-0.4.3-r1.ebuild kde-misc/kcm-ufw/metadata.xml X-VCS-Directories: kde-misc/kcm-ufw/files/ kde-misc/kcm-ufw/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: 1b2baa4260887ee1876b459feeaa64c9ba69c51e X-VCS-Branch: master Date: Wed, 3 Jul 2013 08:36: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: 5261d196-10f1-4617-a8e3-88125c414e7e X-Archives-Hash: 25ae3ef15c28df4c5ac034d27553faab commit: 1b2baa4260887ee1876b459feeaa64c9ba69c51e Author: Michael Palimaka gentoo org> AuthorDate: Wed Jul 3 08:33:25 2013 +0000 Commit: Michael Palimaka gentoo org> CommitDate: Wed Jul 3 08:33:52 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=1b2baa42 [kde-misc/kcm-ufw] Proposed changes for bug #472206. Package-Manager: portage-2.1.12.11 --- kde-misc/kcm-ufw/files/kcm-ufw-0.4.3-linguas.patch | 26 ++++++++++++++ kde-misc/kcm-ufw/kcm-ufw-0.4.3-r1.ebuild | 42 ++++++++++++++++++++++ kde-misc/kcm-ufw/metadata.xml | 9 +++++ 3 files changed, 77 insertions(+) diff --git a/kde-misc/kcm-ufw/files/kcm-ufw-0.4.3-linguas.patch b/kde-misc/kcm-ufw/files/kcm-ufw-0.4.3-linguas.patch new file mode 100644 index 0000000..6fc3c90 --- /dev/null +++ b/kde-misc/kcm-ufw/files/kcm-ufw-0.4.3-linguas.patch @@ -0,0 +1,26 @@ +Comply with standard KDE conventions so that linguas may be handled by the eclass, +instead of implementing package-specific hacks. + +--- po/CMakeLists.txt ++++ po/CMakeLists.txt +@@ -8,19 +8,7 @@ + set(catalogname kcm_ufw) + add_custom_target(translations ALL) + +- if (UFW_ES_TRANSLATION) +- LIST(APPEND PO_FILES "${CMAKE_CURRENT_SOURCE_DIR}/es.po") +- endif (UFW_ES_TRANSLATION) +- +- if (UFW_FR_TRANSLATION) +- LIST(APPEND PO_FILES "${CMAKE_CURRENT_SOURCE_DIR}/fr.po") +- endif (UFW_FR_TRANSLATION) +- +- if (UFW_LT_TRANSLATION) +- LIST(APPEND PO_FILES "${CMAKE_CURRENT_SOURCE_DIR}/lt.po") +- endif (UFW_LT_TRANSLATION) +- +- # file(GLOB PO_FILES *.po) ++ file(GLOB PO_FILES *.po) + foreach(_poFile ${PO_FILES}) + get_filename_component(_poFileName ${_poFile} NAME) + string(REGEX REPLACE "^${catalogname}_?" "" _langCode ${_poFileName} ) diff --git a/kde-misc/kcm-ufw/kcm-ufw-0.4.3-r1.ebuild b/kde-misc/kcm-ufw/kcm-ufw-0.4.3-r1.ebuild new file mode 100644 index 0000000..df95406 --- /dev/null +++ b/kde-misc/kcm-ufw/kcm-ufw-0.4.3-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-misc/kcm-ufw/kcm-ufw-0.4.3.ebuild,v 1.2 2012/06/14 19:42:36 thev00d00 Exp $ + +EAPI=5 + +KDE_DOC_DIRS="docs/%lingua" +KDE_HANDBOOK="optional" +KDE_LINGUAS="es fr lt" +PYTHON_COMPAT=( python{2_5,2_6,2_7} ) +inherit python-r1 kde4-base + +MY_P="${P/-/_}" + +DESCRIPTION="KCM module to control the Uncomplicated Firewall" +HOMEPAGE="http://kde-apps.org/content/show.php?content=137789" +SRC_URI="http://craigd.wikispaces.com/file/view/${MY_P}.tar.bz2" + +LICENSE="GPL-3" +KEYWORDS="~amd64 ~x86" +SLOT="4" +IUSE="debug" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + ${PYTHON_DEPS} + >=net-firewall/ufw-0.31 + sys-auth/polkit-kde-agent +" +RDEPEND="${DEPEND} + $(add_kdebase_dep kcmshell) +" + +S=${WORKDIR}/${MY_P} + +PATCHES=( "${FILESDIR}/${P}-linguas.patch" ) + +src_install() { + kde4-base_src_install + python_replicate_script "${D}"/usr/lib64/kde4/libexec/kcm_ufw_helper.py +} diff --git a/kde-misc/kcm-ufw/metadata.xml b/kde-misc/kcm-ufw/metadata.xml new file mode 100644 index 0000000..87c9432 --- /dev/null +++ b/kde-misc/kcm-ufw/metadata.xml @@ -0,0 +1,9 @@ + + + + kde + + thev00d00@gentoo.org + Ian Whyman + +