* [gentoo-commits] proj/kde:master commit in: kde-apps/kdepim-l10n/
@ 2015-09-19 14:05 Manuel Rüger
0 siblings, 0 replies; 11+ messages in thread
From: Manuel Rüger @ 2015-09-19 14:05 UTC (permalink / raw
To: gentoo-commits
commit: 73d8afe766c58b78e8d375edd821c82ee496a3c9
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Wed Sep 16 22:37:27 2015 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sat Sep 19 14:05:26 2015 +0000
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 0000000..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="
+ !<kde-apps/kde-l10n-15.08.0-r1
+ !<kde-apps/kde4-l10n-4.14.3-r1
+ !kde-base/kdepim-l10n
+"
+
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# /usr/portage/distfiles $ ls -1 kde-l10n-*-${PV}.* |sed -e 's:-${PV}.tar.xz::' -e 's:kde-l10n-::' |tr '\n' ' '
+MY_LANGS="ar 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"
+
+PIM_L10N="kdepim kdepimlibs kdepim-runtime pim"
+
+URI_BASE="${SRC_URI/-${PV}.tar.xz/}"
+SRC_URI=""
+
+for MY_LANG in ${MY_LANGS} ; do
+ IUSE="${IUSE} linguas_${MY_LANG}"
+ SRC_URI="${SRC_URI} linguas_${MY_LANG}? ( ${URI_BASE/kdepim/kde}/kde-l10n-${MY_LANG}-${PV}.tar.xz )"
+done
+
+S="${WORKDIR}"
+
+src_unpack() {
+ 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
+ elog "${P} supports these language codes:"
+ elog "${MY_LANGS}"
+ elog
+ fi
+
+ [[ -n ${A} ]] && unpack ${A}
+}
+
+src_prepare() {
+ local LNG DIR
+ # add all linguas to cmake
+ if [[ -n ${A} ]]; then
+ for LNG in ${LINGUAS}; do
+ DIR="kde-l10n-${LNG}-${PV}"
+ SDIR="${S}/${DIR}/5/${LNG}"
+ if [[ -d "${DIR}" ]] ; then
+ echo "add_subdirectory( ${DIR} )" >> "${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
+}
diff --git a/kde-apps/kdepim-l10n/metadata.xml b/kde-apps/kdepim-l10n/metadata.xml
new file mode 100644
index 0000000..a23f444
--- /dev/null
+++ b/kde-apps/kdepim-l10n/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>kde</herd>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] proj/kde:master commit in: kde-apps/kdepim-l10n/
@ 2015-12-06 15:32 Alexey Shvetsov
0 siblings, 0 replies; 11+ messages in thread
From: Alexey Shvetsov @ 2015-12-06 15:32 UTC (permalink / raw
To: gentoo-commits
commit: abe22ad1905b2e6347e03b67147f068ba8b62288
Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 6 15:32:47 2015 +0000
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Sun Dec 6 15:32:47 2015 +0000
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 0000000..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="
+ !<kde-apps/kde-l10n-15.08.0-r1
+ !<kde-apps/kde4-l10n-4.14.3-r1
+ !kde-base/kdepim-l10n
+"
+
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# /usr/portage/distfiles $ ls -1 kde-l10n-*-${PV}.* |sed -e 's:-${PV}.tar.xz::' -e 's:kde-l10n-::' |tr '\n' ' '
+MY_LANGS="ar 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"
+
+PIM_L10N="kdepim kdepimlibs kdepim-runtime pim"
+
+URI_BASE="${SRC_URI/-${PV}.tar.xz/}"
+SRC_URI=""
+
+for MY_LANG in ${MY_LANGS} ; do
+ IUSE="${IUSE} linguas_${MY_LANG}"
+ SRC_URI="${SRC_URI} linguas_${MY_LANG}? ( ${URI_BASE/kdepim/kde}/kde-l10n-${MY_LANG}-${PV}.tar.xz )"
+done
+
+S="${WORKDIR}"
+
+src_unpack() {
+ 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
+ elog "${P} supports these language codes:"
+ elog "${MY_LANGS}"
+ elog
+ fi
+
+ [[ -n ${A} ]] && unpack ${A}
+}
+
+src_prepare() {
+ local LNG DIR
+ # add all linguas to cmake
+ if [[ -n ${A} ]]; then
+ for LNG in ${LINGUAS}; do
+ DIR="kde-l10n-${LNG}-${PV}"
+ SDIR="${S}/${DIR}/5/${LNG}"
+ if [[ -d "${DIR}" ]] ; then
+ echo "add_subdirectory( ${DIR} )" >> "${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
+}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] proj/kde:master commit in: kde-apps/kdepim-l10n/
@ 2016-02-19 9:48 Michael Palimaka
0 siblings, 0 replies; 11+ messages in thread
From: Michael Palimaka @ 2016-02-19 9:48 UTC (permalink / raw
To: gentoo-commits
commit: 65ac50ed365b62c52e0f090c8e14db823890a935
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 19 09:47:00 2016 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Fri Feb 19 09:47:00 2016 +0000
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
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] proj/kde:master commit in: kde-apps/kdepim-l10n/
@ 2016-02-19 9:48 Michael Palimaka
0 siblings, 0 replies; 11+ messages in thread
From: Michael Palimaka @ 2016-02-19 9:48 UTC (permalink / raw
To: gentoo-commits
commit: 184b919e73766386c14ef69633dd5faf66f8b093
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 19 09:47:54 2016 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Fri Feb 19 09:47:54 2016 +0000
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}"
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] proj/kde:master commit in: kde-apps/kdepim-l10n/
@ 2016-03-20 20:43 Johannes Huber
0 siblings, 0 replies; 11+ messages in thread
From: Johannes Huber @ 2016-03-20 20:43 UTC (permalink / raw
To: gentoo-commits
commit: 3e736f3394837dc209bb8e35fd9926e9d5d64255
Author: Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 20 20:16:00 2016 +0000
Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Sun Mar 20 20:16:00 2016 +0000
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..0000000
--- a/kde-apps/kdepim-l10n/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>kde@gentoo.org</email>
- <name>Gentoo KDE Project</name>
- </maintainer>
-</pkgmetadata>
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] proj/kde:master commit in: kde-apps/kdepim-l10n/
@ 2016-04-07 17:01 Michael Palimaka
0 siblings, 0 replies; 11+ messages in thread
From: Michael Palimaka @ 2016-04-07 17:01 UTC (permalink / raw
To: gentoo-commits
commit: cce8d5a8610750350059cf25f1d927bb824307c2
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Thu Mar 24 21:40:09 2016 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Apr 7 17:01:30 2016 +0000
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 0000000..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="
+ !<kde-apps/kde-l10n-15.08.0-r1
+ !<kde-apps/kde4-l10n-4.14.3-r1
+ !kde-base/kdepim-l10n
+"
+
+# /usr/portage/distfiles $ ls -1 kde-l10n-*-${PV}.* |sed -e 's:-${PV}.tar.xz::' -e 's:kde-l10n-::' |tr '\n' ' '
+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})"
+
+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 )"
+done
+
+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
+ elog "${P} supports these language codes:"
+ elog "${MY_LANGS}"
+ elog
+ fi
+ [[ -n ${A} ]] && kde5_pkg_setup
+}
+
+src_unpack() {
+ for my_tar in ${A}; do
+ tar -xpf "${DISTDIR}/${my_tar}" --xz \
+ "${my_tar/.tar.xz/}/CMakeLists.txt" "${my_tar/.tar.xz/}/5" 2> /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 0000000..2fdbf33
--- /dev/null
+++ b/kde-apps/kdepim-l10n/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+ </maintainer>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] proj/kde:master commit in: kde-apps/kdepim-l10n/
@ 2016-06-26 16:50 Michael Palimaka
0 siblings, 0 replies; 11+ messages in thread
From: Michael Palimaka @ 2016-06-26 16:50 UTC (permalink / raw
To: gentoo-commits
commit: dba2a7b1b6bd8a7ab3349f5b79ec22f7e009cf52
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Sun Jun 26 09:08:16 2016 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sun Jun 26 09:08:21 2016 +0000
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="
!<kde-apps/kde-l10n-15.08.0-r1
!<kde-apps/kde4-l10n-4.14.3-r1
- !kde-base/kdepim-l10n
"
# /usr/portage/distfiles $ ls -1 kde-l10n-*-${PV}.* |sed -e 's:-${PV}.tar.xz::' -e 's:kde-l10n-::' |tr '\n' ' '
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] proj/kde:master commit in: kde-apps/kdepim-l10n/
@ 2016-07-03 17:53 Johannes Huber
0 siblings, 0 replies; 11+ messages in thread
From: Johannes Huber @ 2016-07-03 17:53 UTC (permalink / raw
To: gentoo-commits
commit: 78565ea3fdb167fa375e352f70ad5eb22c0318a4
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Sun Jul 3 09:36:48 2016 +0000
Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Sun Jul 3 17:52:50 2016 +0000
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 <johu <AT> 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
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] proj/kde:master commit in: kde-apps/kdepim-l10n/
@ 2016-07-13 18:23 Johannes Huber
0 siblings, 0 replies; 11+ messages in thread
From: Johannes Huber @ 2016-07-13 18:23 UTC (permalink / raw
To: gentoo-commits
commit: fec1c6c2ca8e68c1c9f539ef56a5d03f3f14c516
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Sun Jul 10 15:59:57 2016 +0000
Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Wed Jul 13 18:21:52 2016 +0000
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 <johu <AT> 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="
!<kde-apps/kde4-l10n-4.14.3-r1
"
-# /usr/portage/distfiles $ ls -1 kde-l10n-*-${PV}.* |sed -e 's:-${PV}.tar.xz::' -e 's:kde-l10n-::' |tr '\n' ' '
-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 '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} l10n_${my_lang/[@_]/-}? ( ${URI_BASE/kdepim/kde}/kde-l10n-${my_lang}-${PV}.tar.xz )"
-done
-
-S="${WORKDIR}"
-
pkg_setup() {
if [[ -z ${A} ]]; then
elog
elog "None of the requested L10N are supported by ${P}."
elog
elog "${P} supports these language codes:"
- elog "${MY_LANGS//[@_]/-}"
+ elog "${KDE_L10N[@]}"
elog
fi
[[ -n ${A} ]] && kde5_pkg_setup
}
-src_unpack() {
- for my_tar in ${A}; do
- tar -xpf "${DISTDIR}/${my_tar}" --xz \
- "${my_tar/.tar.xz/}/CMakeLists.txt" "${my_tar/.tar.xz/}/5" 2> /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})" >> "${XSUBDIR}/${SUBDIR}/CMakeLists.txt" )
- done
- fi
+ [[ -d "${sdir}/${subdir}/${pim}" ]] && \
+ ( echo "add_subdirectory(${pim})" >> "${sdir}/${subdir}/CMakeLists.txt" )
done
fi
done
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] proj/kde:master commit in: kde-apps/kdepim-l10n/
@ 2016-08-20 17:25 Michael Palimaka
0 siblings, 0 replies; 11+ messages in thread
From: Michael Palimaka @ 2016-08-20 17:25 UTC (permalink / raw
To: gentoo-commits
commit: 36e8a8179e1036075d1d73f175a0284e14c8d396
Author: Matthew Dawson <matthew <AT> mjdsystems <DOT> ca>
AuthorDate: Sat Aug 20 05:16:18 2016 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sat Aug 20 17:25:45 2016 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=36e8a817
kde-apps/kdepim-l10n: Add blocker on <kde-apps/kde-l10n-16.04.3 for sr
Package-Manager: portage-2.2.28
kde-apps/kdepim-l10n/kdepim-l10n-16.08.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kde-apps/kdepim-l10n/kdepim-l10n-16.08.0.ebuild b/kde-apps/kdepim-l10n/kdepim-l10n-16.08.0.ebuild
index f570030..42970ea 100644
--- a/kde-apps/kdepim-l10n/kdepim-l10n-16.08.0.ebuild
+++ b/kde-apps/kdepim-l10n/kdepim-l10n-16.08.0.ebuild
@@ -24,7 +24,7 @@ DEPEND="
sys-devel/gettext
"
RDEPEND="
- !<kde-apps/kde-l10n-15.08.0-r1
+ !<kde-apps/kde-l10n-16.04.3
!<kde-apps/kde4-l10n-4.14.3-r1
"
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] proj/kde:master commit in: kde-apps/kdepim-l10n/
@ 2016-10-13 9:05 Johannes Huber
0 siblings, 0 replies; 11+ messages in thread
From: Johannes Huber @ 2016-10-13 9:05 UTC (permalink / raw
To: gentoo-commits
commit: c72c8a790d5e9650766664167f0ba8ab8ad18f02
Author: Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 13 09:03:20 2016 +0000
Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Thu Oct 13 09:03:20 2016 +0000
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..0000000
--- a/kde-apps/kdepim-l10n/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>kde@gentoo.org</email>
- <name>Gentoo KDE Project</name>
- </maintainer>
-</pkgmetadata>
^ permalink raw reply related [flat|nested] 11+ messages in thread
end of thread, other threads:[~2016-10-13 9:05 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-20 20:43 [gentoo-commits] proj/kde:master commit in: kde-apps/kdepim-l10n/ Johannes Huber
-- strict thread matches above, loose matches on Subject: below --
2016-10-13 9:05 Johannes Huber
2016-08-20 17:25 Michael Palimaka
2016-07-13 18:23 Johannes Huber
2016-07-03 17:53 Johannes Huber
2016-06-26 16:50 Michael Palimaka
2016-04-07 17:01 Michael Palimaka
2016-02-19 9:48 Michael Palimaka
2016-02-19 9:48 Michael Palimaka
2015-12-06 15:32 Alexey Shvetsov
2015-09-19 14:05 Manuel Rüger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox