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-apps/kde4-l10n/
Date: Sat, 23 May 2015 17:16:07 +0000 (UTC)	[thread overview]
Message-ID: <1432401352.18f84ec9bdaf054b51bd015d8f1900246533ebfd.kensington@gentoo> (raw)

commit:     18f84ec9bdaf054b51bd015d8f1900246533ebfd
Author:     Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Sat May 16 17:07:10 2015 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sat May 23 17:15:52 2015 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=18f84ec9

[kde-apps/kde4-l10n] Merge back legacy (4.14.3) messages

Package-Manager: portage-2.2.18

 kde-apps/kde4-l10n/kde4-l10n-15.04.1.ebuild | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/kde-apps/kde4-l10n/kde4-l10n-15.04.1.ebuild b/kde-apps/kde4-l10n/kde4-l10n-15.04.1.ebuild
index 89f88b6..f9cca27 100644
--- a/kde-apps/kde4-l10n/kde4-l10n-15.04.1.ebuild
+++ b/kde-apps/kde4-l10n/kde4-l10n-15.04.1.ebuild
@@ -23,14 +23,25 @@ RDEPEND="
 KEYWORDS=" ~amd64 ~x86"
 IUSE="minimal"
 
+LV="4.14.3"
+LEGACY_LANGS="ar bg bs ca ca@valencia cs da de el en_GB 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"
+
 # /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"
 
 URI_BASE="${SRC_URI/-${PV}.tar.xz/}"
+LURI_BASE="mirror://kde/stable/${LV}/src/${KMNAME}"
 SRC_URI=""
 
+for MY_LANG in ${LEGACY_LANGS} ; do
+	IUSE="${IUSE} linguas_${MY_LANG}"
+	SRC_URI="${SRC_URI} linguas_${MY_LANG}? ( ${LURI_BASE}/${KMNAME}-${MY_LANG}-${LV}.tar.xz )"
+done
+
 for MY_LANG in ${MY_LANGS} ; do
 	IUSE="${IUSE} linguas_${MY_LANG}"
 	SRC_URI="${SRC_URI} linguas_${MY_LANG}? ( ${URI_BASE}/${KMNAME}-${MY_LANG}-${PV}.tar.xz )"
@@ -169,6 +180,12 @@ kio_baloosearch,kio_tags,kio_timeline,plasma_runner_baloosearchrunner}.po
 					sed -i -e '/docbook/ s/^/#/'\
 						"${S}"/${DIR}/4/${LNG}/docs/kde-workspace/klipper/CMakeLists.txt
 
+				else
+					if [[ -d "${KMNAME}-${LNG}-${LV}" ]] ; then
+						# Merge legacy localisation
+						find "${KMNAME}-${LNG}-${LV}" -name "*.po" | while read file; \
+							do cp -rn "${file}" "${file/${LV}/${PV}/4/${LNG}}"; done
+					fi
 				fi
 			fi
 		done


             reply	other threads:[~2015-05-23 17:16 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-23 17:16 Michael Palimaka [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-05-23 17:16 [gentoo-commits] proj/kde:master commit in: kde-apps/kde4-l10n/ Michael Palimaka
2015-05-27 12:07 Michael Palimaka
2015-05-31 19:09 Manuel Rüger
2015-06-14 15:24 Michael Palimaka
2015-06-27 13:53 Manuel Rüger
2015-08-08 12:28 Johannes Huber
2015-08-25 21:35 Johannes Huber
2015-09-19 14:05 Manuel Rüger
2015-12-06 15:22 Alexey Shvetsov
2016-04-09 15:12 Michael Palimaka
2016-05-18 13:25 Johannes Huber
2016-07-08 17:29 Michael Palimaka
2016-07-13 18:23 Johannes Huber
2016-07-23 12:03 Johannes Huber
2017-07-25 16:55 Andreas Sturmlechner

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=1432401352.18f84ec9bdaf054b51bd015d8f1900246533ebfd.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