[gentoo-commits] proj/kde:master commit in: kde-apps/kdepim-l10n/

2016-10-13 Thread Johannes Huber
commit: c72c8a790d5e965074167f0ba8ab8ad18f02
Author: Johannes Huber  gentoo  org>
AuthorDate: Thu Oct 13 09:03:20 2016 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Thu Oct 13 09:03:20 2016 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=c72c8a79

kde-apps/kdepim-l10n: Remove empty

 kde-apps/kdepim-l10n/metadata.xml | 8 
 1 file changed, 8 deletions(-)

diff --git a/kde-apps/kdepim-l10n/metadata.xml 
b/kde-apps/kdepim-l10n/metadata.xml
deleted file mode 100644
index 2fdbf33..000
--- a/kde-apps/kdepim-l10n/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-http://www.gentoo.org/dtd/metadata.dtd;>
-
-   
-   k...@gentoo.org
-   Gentoo KDE Project
-   
-



[gentoo-commits] proj/kde:master commit in: kde-apps/kdepim-l10n/

2016-08-20 Thread Michael Palimaka
commit: 36e8a8179e1036075d1d73f175a0284e14c8d396
Author: Matthew Dawson  mjdsystems  ca>
AuthorDate: Sat Aug 20 05:16:18 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Aug 20 17:25:45 2016 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=36e8a817

kde-apps/kdepim-l10n: Add blocker on 

[gentoo-commits] proj/kde:master commit in: kde-apps/kdepim-l10n/

2016-07-13 Thread Johannes Huber
commit: fec1c6c2ca8e68c1c9f539ef56a5d03f3f14c516
Author: Andreas Sturmlechner  gmail  com>
AuthorDate: Sun Jul 10 15:59:57 2016 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Wed Jul 13 18:21:52 2016 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=fec1c6c2

kde-apps/kdepim-l10n: Add KDE_L10N

This adds 3 new sr variants to L10N.

Package-Manager: portage-2.2.28

Signed-off-by: Johannes Huber  gentoo.org>

 kde-apps/kdepim-l10n/kdepim-l10n-16.04.3.ebuild | 92 ++---
 1 file changed, 22 insertions(+), 70 deletions(-)

diff --git a/kde-apps/kdepim-l10n/kdepim-l10n-16.04.3.ebuild 
b/kde-apps/kdepim-l10n/kdepim-l10n-16.04.3.ebuild
index 69c0e23..f570030 100644
--- a/kde-apps/kdepim-l10n/kdepim-l10n-16.04.3.ebuild
+++ b/kde-apps/kdepim-l10n/kdepim-l10n-16.04.3.ebuild
@@ -5,12 +5,18 @@
 EAPI=6
 
 KDE_HANDBOOK="optional"
+KDE_L10N=(
+   ar ast bg bs ca ca-valencia cs da de el en-GB eo es et eu fa fi fr ga 
gl he
+   hi hr hu ia id is it ja kk km ko lt lv mr nb nds nl nn pa pl pt pt-BR 
ro ru
+   sk sl sr sr-ijekavsk sr-Latn sr-Latn-ijekavsk sv tr ug uk wa zh-CN zh-TW
+)
+KMNAME="kde-l10n"
 inherit kde5
 
 DESCRIPTION="KDE PIM internationalization package"
-HOMEPAGE="http://l10n.kde.org;
 
 KEYWORDS="~amd64 ~x86"
+IUSE=""
 
 DEPEND="
$(add_frameworks_dep ki18n)
@@ -22,59 +28,24 @@ RDEPEND="
! /dev/null ||
-   elog "${my_tar}: tar extract command failed at least 
partially - continuing"
-   done
-}
-
 src_prepare() {
-   default
+   kde5_src_prepare
[[ -n ${A} ]] || return
 
-   # add all l10n to cmake
-   cat <<-EOF > CMakeLists.txt || die
-project(kdepim-l10n)
-cmake_minimum_required(VERSION 2.8.12)
-$(printf "add_subdirectory( %s )\n" \
-   `find . -mindepth 1 -maxdepth 1 -type d | sed -e "s:^\./::"`)
-EOF
-
-   # Drop KDE4-based part
-   find -maxdepth 2 -type f -name CMakeLists.txt -exec \
-   sed -i -e "/add_subdirectory(4)/ s/^/#DONT/" {} + || die
-
# Handbook optional
find -type f -name CMakeLists.txt -exec \
sed -i -e "/find_package.*KF5DocTools/ s/ REQUIRED//" {} + || 
die
@@ -84,39 +55,20 @@ EOF
fi
 
# Remove everything except kdepim, kdepimlibs, kdepim-runtime and pim
-   local LNG DIR
-   for LNG in ${MY_LANGS}; do
-   DIR="kde-l10n-${LNG}-${PV}"
-   SDIR="${S}/${DIR}/5/${LNG}"
-   if [[ -d "${DIR}" ]] ; then
-   einfo " L10N: ${LNG/[@_]/-}"
-
-   for SUBDIR in data docs messages scripts ; do
-   if [[ -d "${SDIR}/${SUBDIR}" ]] ; then
-   einfo "   ${SUBDIR} subdirectory"
-   echo > 
"${SDIR}/${SUBDIR}/CMakeLists.txt"
+   for lng in ${KDE_L10N[@]}; do
+   local dir sdir
+   dir="kde-l10n-$(kde_l10n2lingua ${lng})-${PV}"
+   sdir="${S}/${dir}/5/$(kde_l10n2lingua ${lng})"
+   if [[ -d "${dir}" ]] ; then
+   einfo " L10N: ${lng}"
+
+   for subdir in data docs messages scripts ; do
+   if [[ -d "${sdir}/${subdir}" ]] ; then
+   einfo "   ${subdir} subdirectory"
+   echo > 
"${sdir}/${subdir}/CMakeLists.txt"
for pim in ${PIM_L10N}; do
-   [[ -d 
"${SDIR}/${SUBDIR}/${pim}" ]] && \
-   ( echo 
"add_subdirectory(${pim})" >> "${SDIR}/${SUBDIR}/CMakeLists.txt" )
-   done
-   fi
-   done
-
-   # In some cases we may have sub-lingua subdirs, e.g. sr 
:(
-   for XSUBDIR in "${SDIR}/${LNG}"@* ; do
-   XLNG=$(echo ${XSUBDIR}|sed -e 's:^.*/::')
-   if [[ -d "${XSUBDIR}" ]] ; then
-   einfo "   ${XLNG} variant"
-   # remove everything except kdepim and 
kdepim-runtime
-   for SUBDIR in data docs messages 
scripts ; do
-   if [[ -d "${XSUBDIR}/${SUBDIR}" 
]] ; then
-   einfo "  ${SUBDIR} 
subdirectory"
-   echo > 
"${XSUBDIR}/${SUBDIR}/CMakeLists.txt"
-   for pim in ${PIM_L10N}; 
do
-   [[ -d 
"${XSUBDIR}/${SUBDIR}/${pim}" ]] && \
-   ( echo 
"add_subdirectory(${pim})" >> 

[gentoo-commits] proj/kde:master commit in: kde-apps/kdepim-l10n/

2016-07-03 Thread Johannes Huber
commit: 78565ea3fdb167fa375e352f70ad5eb22c0318a4
Author: Andreas Sturmlechner  gmail  com>
AuthorDate: Sun Jul  3 09:36:48 2016 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sun Jul  3 17:52:50 2016 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=78565ea3

kde-apps/kdepim-l10n: Sync LINGUAS->L10N with tree

Package-Manager: portage-2.2.28

Signed-off-by: Johannes Huber  gentoo.org>

 kde-apps/kdepim-l10n/kdepim-l10n-16.04.2.ebuild | 15 +++
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/kde-apps/kdepim-l10n/kdepim-l10n-16.04.2.ebuild 
b/kde-apps/kdepim-l10n/kdepim-l10n-16.04.2.ebuild
index 6f7fe07..69c0e23 100644
--- a/kde-apps/kdepim-l10n/kdepim-l10n-16.04.2.ebuild
+++ b/kde-apps/kdepim-l10n/kdepim-l10n-16.04.2.ebuild
@@ -27,14 +27,14 @@ MY_LANGS="ar ast bg bs ca ca@valencia cs da de el en_GB eo 
es et eu fa fi fr ga
 gl he hi hr hu ia id is it ja kk km ko lt lv mr nb nds nl nn pa pl pt pt_BR ro
 ru sk sl sr sv tr ug uk wa zh_CN zh_TW"
 
-IUSE="$(printf 'linguas_%s ' ${MY_LANGS})"
+IUSE="$(printf 'l10n_%s ' ${MY_LANGS//[@_]/-})"
 
 PIM_L10N="kdepim kdepimlibs kdepim-runtime pim"
 
 URI_BASE="${SRC_URI/-${PV}.tar.xz/}"
 SRC_URI=""
 for my_lang in ${MY_LANGS} ; do
-   SRC_URI="${SRC_URI} linguas_${my_lang}? ( 
${URI_BASE/kdepim/kde}/kde-l10n-${my_lang}-${PV}.tar.xz )"
+   SRC_URI="${SRC_URI} l10n_${my_lang/[@_]/-}? ( 
${URI_BASE/kdepim/kde}/kde-l10n-${my_lang}-${PV}.tar.xz )"
 done
 
 S="${WORKDIR}"
@@ -42,12 +42,10 @@ S="${WORKDIR}"
 pkg_setup() {
if [[ -z ${A} ]]; then
elog
-   elog "You either have the LINGUAS variable unset, or it only"
-   elog "contains languages not supported by ${P}."
-   elog "You won't have any additional language support."
+   elog "None of the requested L10N are supported by ${P}."
elog
elog "${P} supports these language codes:"
-   elog "${MY_LANGS}"
+   elog "${MY_LANGS//[@_]/-}"
elog
fi
[[ -n ${A} ]] && kde5_pkg_setup
@@ -65,7 +63,7 @@ src_prepare() {
default
[[ -n ${A} ]] || return
 
-   # add all linguas to cmake
+   # add all l10n to cmake
cat <<-EOF > CMakeLists.txt || die
 project(kdepim-l10n)
 cmake_minimum_required(VERSION 2.8.12)
@@ -87,10 +85,11 @@ EOF
 
# Remove everything except kdepim, kdepimlibs, kdepim-runtime and pim
local LNG DIR
-   for LNG in ${LINGUAS}; do
+   for LNG in ${MY_LANGS}; do
DIR="kde-l10n-${LNG}-${PV}"
SDIR="${S}/${DIR}/5/${LNG}"
if [[ -d "${DIR}" ]] ; then
+   einfo " L10N: ${LNG/[@_]/-}"
 
for SUBDIR in data docs messages scripts ; do
if [[ -d "${SDIR}/${SUBDIR}" ]] ; then



[gentoo-commits] proj/kde:master commit in: kde-apps/kdepim-l10n/

2016-06-26 Thread Michael Palimaka
commit: dba2a7b1b6bd8a7ab3349f5b79ec22f7e009cf52
Author: Andreas Sturmlechner  gmail  com>
AuthorDate: Sun Jun 26 09:08:16 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sun Jun 26 09:08:21 2016 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=dba2a7b1

kde-apps/kdepim-l10n: Drop obsolete blocker

Package-Manager: portage-2.2.28

 kde-apps/kdepim-l10n/kdepim-l10n-16.04.2.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kde-apps/kdepim-l10n/kdepim-l10n-16.04.2.ebuild 
b/kde-apps/kdepim-l10n/kdepim-l10n-16.04.2.ebuild
index 6327452..6f7fe07 100644
--- a/kde-apps/kdepim-l10n/kdepim-l10n-16.04.2.ebuild
+++ b/kde-apps/kdepim-l10n/kdepim-l10n-16.04.2.ebuild
@@ -20,7 +20,6 @@ DEPEND="
 RDEPEND="
!

[gentoo-commits] proj/kde:master commit in: kde-apps/kdepim-l10n/

2016-04-07 Thread Michael Palimaka
commit: cce8d5a8610750350059cf25f1d927bb824307c2
Author: Andreas Sturmlechner  gmail  com>
AuthorDate: Thu Mar 24 21:40:09 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Thu Apr  7 17:01:30 2016 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=cce8d5a8

kde-apps/kdepim-l10n: Add 16.03.90

Package-Manager: portage-2.2.27

 kde-apps/kdepim-l10n/kdepim-l10n-16.03.90.ebuild | 143 +++
 kde-apps/kdepim-l10n/metadata.xml|   8 ++
 2 files changed, 151 insertions(+)

diff --git a/kde-apps/kdepim-l10n/kdepim-l10n-16.03.90.ebuild 
b/kde-apps/kdepim-l10n/kdepim-l10n-16.03.90.ebuild
new file mode 100644
index 000..6327452
--- /dev/null
+++ b/kde-apps/kdepim-l10n/kdepim-l10n-16.03.90.ebuild
@@ -0,0 +1,143 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_HANDBOOK="optional"
+inherit kde5
+
+DESCRIPTION="KDE PIM internationalization package"
+HOMEPAGE="http://l10n.kde.org;
+
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+   $(add_frameworks_dep ki18n)
+   $(add_qt_dep linguist-tools)
+   sys-devel/gettext
+"
+RDEPEND="
+   ! /dev/null ||
+   elog "${my_tar}: tar extract command failed at least 
partially - continuing"
+   done
+}
+
+src_prepare() {
+   default
+   [[ -n ${A} ]] || return
+
+   # add all linguas to cmake
+   cat <<-EOF > CMakeLists.txt || die
+project(kdepim-l10n)
+cmake_minimum_required(VERSION 2.8.12)
+$(printf "add_subdirectory( %s )\n" \
+   `find . -mindepth 1 -maxdepth 1 -type d | sed -e "s:^\./::"`)
+EOF
+
+   # Drop KDE4-based part
+   find -maxdepth 2 -type f -name CMakeLists.txt -exec \
+   sed -i -e "/add_subdirectory(4)/ s/^/#DONT/" {} + || die
+
+   # Handbook optional
+   find -type f -name CMakeLists.txt -exec \
+   sed -i -e "/find_package.*KF5DocTools/ s/ REQUIRED//" {} + || 
die
+   if ! use handbook ; then
+   find -mindepth 4 -maxdepth 4 -type f -name CMakeLists.txt -exec 
\
+   sed -i -e '/add_subdirectory(docs)/ s/^/#DONT/' {} + || 
die
+   fi
+
+   # Remove everything except kdepim, kdepimlibs, kdepim-runtime and pim
+   local LNG DIR
+   for LNG in ${LINGUAS}; do
+   DIR="kde-l10n-${LNG}-${PV}"
+   SDIR="${S}/${DIR}/5/${LNG}"
+   if [[ -d "${DIR}" ]] ; then
+
+   for SUBDIR in data docs messages scripts ; do
+   if [[ -d "${SDIR}/${SUBDIR}" ]] ; then
+   einfo "   ${SUBDIR} subdirectory"
+   echo > 
"${SDIR}/${SUBDIR}/CMakeLists.txt"
+   for pim in ${PIM_L10N}; do
+   [[ -d 
"${SDIR}/${SUBDIR}/${pim}" ]] && \
+   ( echo 
"add_subdirectory(${pim})" >> "${SDIR}/${SUBDIR}/CMakeLists.txt" )
+   done
+   fi
+   done
+
+   # In some cases we may have sub-lingua subdirs, e.g. sr 
:(
+   for XSUBDIR in "${SDIR}/${LNG}"@* ; do
+   XLNG=$(echo ${XSUBDIR}|sed -e 's:^.*/::')
+   if [[ -d "${XSUBDIR}" ]] ; then
+   einfo "   ${XLNG} variant"
+   # remove everything except kdepim and 
kdepim-runtime
+   for SUBDIR in data docs messages 
scripts ; do
+   if [[ -d "${XSUBDIR}/${SUBDIR}" 
]] ; then
+   einfo "  ${SUBDIR} 
subdirectory"
+   echo > 
"${XSUBDIR}/${SUBDIR}/CMakeLists.txt"
+   for pim in ${PIM_L10N}; 
do
+   [[ -d 
"${XSUBDIR}/${SUBDIR}/${pim}" ]] && \
+   ( echo 
"add_subdirectory(${pim})" >> "${XSUBDIR}/${SUBDIR}/CMakeLists.txt" )
+   done
+   fi
+   done
+   fi
+   done
+   fi
+   done
+}
+
+src_configure() {
+   [[ -n ${A} ]] && kde5_src_configure
+}
+
+src_compile() {
+   [[ -n ${A} ]] && kde5_src_compile
+}
+
+src_test() {
+   [[ -n ${A} ]] && kde5_src_test
+}
+
+src_install() {
+   [[ -n ${A} ]] && kde5_src_install
+}

diff --git a/kde-apps/kdepim-l10n/metadata.xml 
b/kde-apps/kdepim-l10n/metadata.xml
new file mode 100644
index 000..2fdbf33
--- /dev/null
+++ 

[gentoo-commits] proj/kde:master commit in: kde-apps/kdepim-l10n/

2016-03-20 Thread Johannes Huber
commit: 3e736f3394837dc209bb8e35fd9926e9d5d64255
Author: Johannes Huber  gentoo  org>
AuthorDate: Sun Mar 20 20:16:00 2016 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sun Mar 20 20:16:00 2016 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=3e736f33

kde-apps/kdepim-l10n: Remove empty

 kde-apps/kdepim-l10n/metadata.xml | 8 
 1 file changed, 8 deletions(-)

diff --git a/kde-apps/kdepim-l10n/metadata.xml 
b/kde-apps/kdepim-l10n/metadata.xml
deleted file mode 100644
index 2fdbf33..000
--- a/kde-apps/kdepim-l10n/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-http://www.gentoo.org/dtd/metadata.dtd;>
-
-   
-   k...@gentoo.org
-   Gentoo KDE Project
-   
-



[gentoo-commits] proj/kde:master commit in: kde-apps/kdepim-l10n/

2016-02-19 Thread Michael Palimaka
commit: 65ac50ed365b62c52e0f090c8e14db823890a935
Author: Michael Palimaka  gentoo  org>
AuthorDate: Fri Feb 19 09:47:00 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Fri Feb 19 09:47:00 2016 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=65ac50ed

kde-apps/kdepim-l10n: declare mycmakeargs as local

Package-Manager: portage-2.2.27

 kde-apps/kdepim-l10n/kdepim-l10n-15.12.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-apps/kdepim-l10n/kdepim-l10n-15.12.2.ebuild 
b/kde-apps/kdepim-l10n/kdepim-l10n-15.12.2.ebuild
index 528b77e..d178704 100644
--- a/kde-apps/kdepim-l10n/kdepim-l10n-15.12.2.ebuild
+++ b/kde-apps/kdepim-l10n/kdepim-l10n-15.12.2.ebuild
@@ -121,7 +121,7 @@ src_prepare() {
 }
 
 src_configure() {
-   mycmakeargs=(
+   local mycmakeargs=(
$(cmake-utils_use_find_package handbook KF5DocTools)
)
[[ -n ${A} ]] && kde5_src_configure



[gentoo-commits] proj/kde:master commit in: kde-apps/kdepim-l10n/

2016-02-19 Thread Michael Palimaka
commit: 184b919e73766386c14ef69633dd5faf66f8b093
Author: Michael Palimaka  gentoo  org>
AuthorDate: Fri Feb 19 09:47:54 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Fri Feb 19 09:47:54 2016 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=184b919e

kde-apps/kdepim-l10n: fix EAPI 6 failure

Package-Manager: portage-2.2.27

 kde-apps/kdepim-l10n/kdepim-l10n-15.12.2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/kde-apps/kdepim-l10n/kdepim-l10n-15.12.2.ebuild 
b/kde-apps/kdepim-l10n/kdepim-l10n-15.12.2.ebuild
index d178704..5dd2b6b 100644
--- a/kde-apps/kdepim-l10n/kdepim-l10n-15.12.2.ebuild
+++ b/kde-apps/kdepim-l10n/kdepim-l10n-15.12.2.ebuild
@@ -57,10 +57,11 @@ src_unpack() {
 }
 
 src_prepare() {
+   default
+
local LNG DIR
# add all linguas to cmake
if [[ -n ${A} ]]; then
-   eapply_user
for LNG in ${LINGUAS}; do
DIR="kde-l10n-${LNG}-${PV}"
SDIR="${S}/${DIR}/5/${LNG}"



[gentoo-commits] proj/kde:master commit in: kde-apps/kdepim-l10n/

2015-12-06 Thread Alexey Shvetsov
commit: abe22ad1905b2e6347e03b67147f068ba8b62288
Author: Alexey Shvetsov  gentoo  org>
AuthorDate: Sun Dec  6 15:32:47 2015 +
Commit: Alexey Shvetsov  gentoo  org>
CommitDate: Sun Dec  6 15:32:47 2015 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=abe22ad1

kde-apps/kdepim-l10n: add 15.11.90

Package-Manager: portage-2.2.26

 kde-apps/kdepim-l10n/kdepim-l10n-15.11.90.ebuild | 139 +++
 1 file changed, 139 insertions(+)

diff --git a/kde-apps/kdepim-l10n/kdepim-l10n-15.11.90.ebuild 
b/kde-apps/kdepim-l10n/kdepim-l10n-15.11.90.ebuild
new file mode 100644
index 000..04bfd75
--- /dev/null
+++ b/kde-apps/kdepim-l10n/kdepim-l10n-15.11.90.ebuild
@@ -0,0 +1,139 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="true"
+inherit kde5
+
+DESCRIPTION="KDE PIM internationalization package"
+HOMEPAGE="http://l10n.kde.org;
+
+DEPEND="
+   $(add_frameworks_dep ki18n)
+   dev-qt/linguist-tools:5
+   sys-devel/gettext
+"
+RDEPEND="
+   !> 
"${S}"/CMakeLists.txt
+
+   # Drop KDE4-based part
+   sed -e '/add_subdirectory(4)/ s/^/#/'\
+   -i "${S}"/${DIR}/CMakeLists.txt || die
+
+   # Remove everything except kdepim, kdepimlibs, 
kdepim-runtime and pim
+   for SUBDIR in data docs messages scripts ; do
+   if [[ -d "${SDIR}/${SUBDIR}" ]] ; then
+   einfo "   ${SUBDIR} 
subdirectory"
+   echo > 
"${SDIR}/${SUBDIR}/CMakeLists.txt"
+   for pim in ${PIM_L10N}; do
+   [[ -d 
"${SDIR}/${SUBDIR}/${pim}" ]] && \
+   ( echo 
"add_subdirectory(${pim})" >> "${SDIR}/${SUBDIR}/CMakeLists.txt" )
+   done
+   fi
+   done
+
+   # In some cases we may have sub-lingua subdirs, 
e.g. sr :(
+   for XSUBDIR in "${SDIR}/${LNG}"@* ; do
+   XLNG=$(echo ${XSUBDIR}|sed -e 
's:^.*/::')
+   if [[ -d "${XSUBDIR}" ]] ; then
+   einfo "   ${XLNG} variant"
+   # remove everything except 
kdepim and kdepim-runtime
+   for SUBDIR in data docs 
messages scripts ; do
+   if [[ -d 
"${XSUBDIR}/${SUBDIR}" ]] ; then
+   einfo "  
${SUBDIR} subdirectory"
+   echo > 
"${XSUBDIR}/${SUBDIR}/CMakeLists.txt"
+   for pim in 
${PIM_L10N}; do
+   [[ -d 
"${XSUBDIR}/${SUBDIR}/${pim}" ]] && \
+   
( echo "add_subdirectory(${pim})" >> "${XSUBDIR}/${SUBDIR}/CMakeLists.txt" )
+   done
+   fi
+   done
+   fi
+   done
+
+   # Handbook optional
+   sed -e '/KF5DocTools/ s/ REQUIRED//'\
+   -i "${SDIR}"/CMakeLists.txt || die
+   if ! use handbook ; then
+   sed -e '/add_subdirectory(docs)/ 
s/^/#/'\
+   -i "${SDIR}"/CMakeLists.txt || 
die
+   fi
+
+   # Fix broken LINGUAS=sr (KDE4 leftover)
+   if [[ ${LNG} = "sr" ]] ; then
+   sed -e '/add_subdirectory(lokalize)/ 
s/^/#/'\
+   -i 
"${SDIR}"/data/kdesdk/CMakeLists.txt || die
+   fi
+   fi
+   done
+   fi
+}
+
+src_configure() {
+   mycmakeargs=(
+   $(cmake-utils_use_find_package handbook KF5DocTools)
+   )
+   [[ -n ${A} ]] && kde5_src_configure
+}
+
+src_compile() {
+   [[ -n ${A} ]] && kde5_src_compile
+}
+
+src_test() {
+   [[ -n ${A} ]] && kde5_src_test
+}
+
+src_install() {
+   [[ -n ${A} ]] && kde5_src_install
+}



[gentoo-commits] proj/kde:master commit in: kde-apps/kdepim-l10n/, kde-apps/kdontchangethehostname/, ...

2015-11-21 Thread Michael Palimaka
commit: c8c5a46ae35462c70559c603f35bdfbe27646035
Author: Andreas Sturmlechner  gmail  com>
AuthorDate: Thu Nov 19 23:29:04 2015 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Thu Nov 19 23:51:12 2015 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=c8c5a46a

kde-apps: Move 15.08.3 to tree

Package-Manager: portage-2.2.25

 kde-apps/amor/amor-15.08.3.ebuild  |  16 --
 kde-apps/attica/attica-15.08.3.ebuild  |  17 ---
 kde-apps/audiocd-kio/audiocd-kio-15.08.3.ebuild|  33 
 .../baloo-widgets/baloo-widgets-15.08.3.ebuild |  33 
 kde-apps/dolphin/dolphin-15.08.3.ebuild|  86 ---
 kde-apps/dragon/dragon-15.08.3.ebuild  |  39 -
 kde-apps/drkonqi/drkonqi-15.08.3.ebuild|  25 ---
 kde-apps/ffmpegthumbs/ffmpegthumbs-15.08.3.ebuild  |  18 ---
 kde-apps/juk/juk-15.08.3.ebuild|  27 
 .../kaccounts-integration-15.08.3.ebuild   |  42 --
 kde-apps/kate/kate-15.08.3.ebuild  |  70 -
 kde-apps/kcmshell/kcmshell-15.08.3.ebuild  |  12 --
 kde-apps/kcontrol/kcontrol-15.08.3.ebuild  |  26 
 kde-apps/kcron/kcron-15.08.3.ebuild|  27 
 .../kde-base-artwork-15.08.3.ebuild|  12 --
 kde-apps/kde-base-artwork/metadata.xml |   5 -
 kde-apps/kde-l10n/kde-l10n-15.08.3.ebuild  | 119 ---
 .../files/kde-wallpapers-15.08.0-kf5-port.patch|  15 --
 .../kde-wallpapers-15.08.3-r1.ebuild   |  33 
 kde-apps/kde-wallpapers/metadata.xml   |   8 -
 kde-apps/kde4-l10n/kde4-l10n-15.08.3.ebuild| 157 ---
 .../kdeadmin-meta/kdeadmin-meta-15.08.3.ebuild |  18 ---
 kde-apps/kdebase-data/kdebase-data-15.08.3.ebuild  |  38 -
 .../kdebase-desktoptheme-15.08.3.ebuild|  13 --
 .../kdebase-kioslaves-15.08.3.ebuild   |  51 ---
 .../kdebase-menu-icons-15.08.3.ebuild  |  13 --
 kde-apps/kdebase-menu/kdebase-menu-15.08.3.ebuild  |  13 --
 .../kdebase-runtime-meta-15.08.3.ebuild|  56 ---
 kde-apps/kdebugdialog/kdebugdialog-15.08.3.ebuild  |  13 --
 .../kdemultimedia-meta-15.08.3.ebuild  |  28 
 .../kdenetwork-filesharing-15.08.3.ebuild  |  11 --
 kde-apps/kdenlive/kdenlive-15.08.3.ebuild  |  65 
 kde-apps/kdepasswd/kdepasswd-15.08.3.ebuild|  21 ---
 kde-apps/kdepim-l10n/kdepim-l10n-15.08.3.ebuild| 139 -
 kde-apps/kdesu/kdesu-15.08.3.ebuild|  26 
 kde-apps/kdetoys-meta/kdetoys-meta-15.08.3.ebuild  |  17 ---
 kde-apps/kdialog/kdialog-15.08.3.ebuild|  12 --
 .../kdontchangethehostname-15.08.3.ebuild  |  16 --
 .../keditbookmarks/keditbookmarks-15.08.3.ebuild   |  22 ---
 .../keditfiletype/keditfiletype-15.08.3.ebuild |  15 --
 kde-apps/kfile/kfile-15.08.3.ebuild|  12 --
 kde-apps/kfind/kfind-15.08.3.ebuild|  19 ---
 kde-apps/kfmclient/kfmclient-15.08.3.ebuild|  34 -
 kde-apps/kget/kget-15.08.3.ebuild  |  40 -
 kde-apps/kglobalaccel/kglobalaccel-15.08.3.ebuild  |  21 ---
 kde-apps/kgpg/kgpg-15.08.3.ebuild  |  30 
 kde-apps/kiconfinder/kiconfinder-15.08.3.ebuild|  12 --
 kde-apps/kimgio/kimgio-15.08.3.ebuild  |  15 --
 kde-apps/kio-extras/kio-extras-15.08.3.ebuild  |  83 --
 kde-apps/kioclient/kioclient-15.08.3.ebuild|  12 --
 .../kmimetypefinder/kmimetypefinder-15.08.3.ebuild |  12 --
 kde-apps/kmix/kmix-15.08.3.ebuild  |  58 ---
 kde-apps/knetattach/knetattach-15.08.3.ebuild  |  13 --
 kde-apps/knewstuff/knewstuff-15.08.3.ebuild|  12 --
 kde-apps/knotify/knotify-15.08.3.ebuild|  12 --
 kde-apps/konq-plugins/konq-plugins-15.08.3.ebuild  |  32 
 kde-apps/konqueror/konqueror-15.08.3.ebuild|  61 
 kde-apps/konsole/konsole-15.08.3.ebuild|  60 
 kde-apps/kopete/kopete-15.08.3.ebuild  | 167 -
 .../kpasswdserver/kpasswdserver-15.08.3.ebuild |  15 --
 kde-apps/kppp/kppp-15.08.3.ebuild  |  17 ---
 kde-apps/kquitapp/kquitapp-15.08.3.ebuild  |  12 --
 kde-apps/krdc/krdc-15.08.3.ebuild  |  36 -
 kde-apps/kreadconfig/kreadconfig-15.08.3.ebuild|  12 --
 kde-apps/krfb/krfb-15.08.3.ebuild  |  37 -
 kde-apps/krfb/metadata.xml |   4 -
 kde-apps/kscd/kscd-15.08.3.ebuild  |  19 ---
 kde-apps/kstart/kstart-15.08.3.ebuild  |  12 --
 kde-apps/ksystemlog/ksystemlog-15.08.3.ebuild  |  32 
 kde-apps/ktimezoned/ktimezoned-15.08.3.ebuild  |  12 --
 kde-apps/ktp-l10n/ktp-l10n-15.08.3.ebuild  | 135 -
 .../ktraderclient/ktraderclient-15.08.3.ebuild |  12 --
 kde-apps/ktux/ktux-15.08.3.ebuild  | 

[gentoo-commits] proj/kde:master commit in: kde-apps/kdepim-l10n/

2015-09-19 Thread Manuel Rüger
commit: 73d8afe766c58b78e8d375edd821c82ee496a3c9
Author: Andreas Sturmlechner  gmail  com>
AuthorDate: Wed Sep 16 22:37:27 2015 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sat Sep 19 14:05:26 2015 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=73d8afe7

kde-apps/kdepim-l10n: Version bump

Package-Manager: portage-2.2.20.1

 kde-apps/kdepim-l10n/kdepim-l10n-15.08.1.ebuild | 138 
 kde-apps/kdepim-l10n/metadata.xml   |   5 +
 2 files changed, 143 insertions(+)

diff --git a/kde-apps/kdepim-l10n/kdepim-l10n-15.08.1.ebuild 
b/kde-apps/kdepim-l10n/kdepim-l10n-15.08.1.ebuild
new file mode 100644
index 000..9026b69
--- /dev/null
+++ b/kde-apps/kdepim-l10n/kdepim-l10n-15.08.1.ebuild
@@ -0,0 +1,138 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_HANDBOOK="true"
+inherit kde5
+
+DESCRIPTION="KDE PIM internationalization package"
+HOMEPAGE="http://l10n.kde.org;
+
+DEPEND="
+   $(add_frameworks_dep ki18n)
+   sys-devel/gettext
+"
+RDEPEND="
+   !> 
"${S}"/CMakeLists.txt
+
+   # Drop KDE4-based part
+   sed -e '/add_subdirectory(4)/ s/^/#/'\
+   -i "${S}"/${DIR}/CMakeLists.txt || die
+
+   # Remove everything except kdepim, kdepimlibs, 
kdepim-runtime and pim
+   for SUBDIR in data docs messages scripts ; do
+   if [[ -d "${SDIR}/${SUBDIR}" ]] ; then
+   einfo "   ${SUBDIR} 
subdirectory"
+   echo > 
"${SDIR}/${SUBDIR}/CMakeLists.txt"
+   for pim in ${PIM_L10N}; do
+   [[ -d 
"${SDIR}/${SUBDIR}/${pim}" ]] && \
+   ( echo 
"add_subdirectory(${pim})" >> "${SDIR}/${SUBDIR}/CMakeLists.txt" )
+   done
+   fi
+   done
+
+   # In some cases we may have sub-lingua subdirs, 
e.g. sr :(
+   for XSUBDIR in "${SDIR}/${LNG}"@* ; do
+   XLNG=$(echo ${XSUBDIR}|sed -e 
's:^.*/::')
+   if [[ -d "${XSUBDIR}" ]] ; then
+   einfo "   ${XLNG} variant"
+   # remove everything except 
kdepim and kdepim-runtime
+   for SUBDIR in data docs 
messages scripts ; do
+   if [[ -d 
"${XSUBDIR}/${SUBDIR}" ]] ; then
+   einfo "  
${SUBDIR} subdirectory"
+   echo > 
"${XSUBDIR}/${SUBDIR}/CMakeLists.txt"
+   for pim in 
${PIM_L10N}; do
+   [[ -d 
"${XSUBDIR}/${SUBDIR}/${pim}" ]] && \
+   
( echo "add_subdirectory(${pim})" >> "${XSUBDIR}/${SUBDIR}/CMakeLists.txt" )
+   done
+   fi
+   done
+   fi
+   done
+
+   # Handbook optional
+   sed -e '/KF5DocTools/ s/ REQUIRED//'\
+   -i "${SDIR}"/CMakeLists.txt || die
+   if ! use handbook ; then
+   sed -e '/add_subdirectory(docs)/ 
s/^/#/'\
+   -i "${SDIR}"/CMakeLists.txt || 
die
+   fi
+
+   # Fix broken LINGUAS=sr (KDE4 leftover)
+   if [[ ${LNG} = "sr" ]] ; then
+   sed -e '/add_subdirectory(lokalize)/ 
s/^/#/'\
+   -i 
"${SDIR}"/data/kdesdk/CMakeLists.txt || die
+   fi
+   fi
+   done
+   fi
+}
+
+src_configure() {
+   mycmakeargs=(
+   $(cmake-utils_use_find_package handbook KF5DocTools)
+   )
+   [[ -n ${A} ]] && kde5_src_configure
+}
+
+src_compile() {
+   [[ -n ${A} ]] && kde5_src_compile
+}
+
+src_test() {
+   [[ -n ${A} ]] && kde5_src_test
+}
+
+src_install() {
+   [[ -n ${A} ]] &&