public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-misc/kcm-ufw/files/, kde-misc/kcm-ufw/
Date: Wed,  3 Jul 2013 08:36:14 +0000 (UTC)	[thread overview]
Message-ID: <1372840432.1b2baa4260887ee1876b459feeaa64c9ba69c51e.kensington@gentoo> (raw)

commit:     1b2baa4260887ee1876b459feeaa64c9ba69c51e
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Wed Jul  3 08:33:25 2013 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<herd>kde</herd>
+	<maintainer>
+		<email>thev00d00@gentoo.org</email>
+		<name>Ian Whyman</name>
+	</maintainer>
+</pkgmetadata>


             reply	other threads:[~2013-07-03  8:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-03  8:36 Michael Palimaka [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-07-11  9:11 [gentoo-commits] proj/kde:master commit in: kde-misc/kcm-ufw/files/, kde-misc/kcm-ufw/ Michael Palimaka

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=1372840432.1b2baa4260887ee1876b459feeaa64c9ba69c51e.kensington@gentoo \
    --to=kensington@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