* [gentoo-commits] gentoo-x86 commit in net-im/qtwitter: metadata.xml qtwitter-0.10.0-r1.ebuild ChangeLog
@ 2012-07-26 7:27 Ben de Groot (yngwin)
0 siblings, 0 replies; only message in thread
From: Ben de Groot (yngwin) @ 2012-07-26 7:27 UTC (permalink / raw
To: gentoo-commits
yngwin 12/07/26 07:27:25
Modified: metadata.xml qtwitter-0.10.0-r1.ebuild ChangeLog
Log:
Use l10n.eclass for handling locales.
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Revision Changes Path
1.7 net-im/qtwitter/metadata.xml
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/qtwitter/metadata.xml?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/qtwitter/metadata.xml?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/qtwitter/metadata.xml?r1=1.6&r2=1.7
Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-im/qtwitter/metadata.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- metadata.xml 13 Sep 2011 19:15:32 -0000 1.6
+++ metadata.xml 26 Jul 2012 07:27:24 -0000 1.7
@@ -1,8 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>qt</herd>
-<longdescription lang="en">
-</longdescription>
+ <herd>qt</herd>
</pkgmetadata>
1.4 net-im/qtwitter/qtwitter-0.10.0-r1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/qtwitter/qtwitter-0.10.0-r1.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/qtwitter/qtwitter-0.10.0-r1.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/qtwitter/qtwitter-0.10.0-r1.ebuild?r1=1.3&r2=1.4
Index: qtwitter-0.10.0-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-im/qtwitter/qtwitter-0.10.0-r1.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- qtwitter-0.10.0-r1.ebuild 4 Jun 2012 11:26:11 -0000 1.3
+++ qtwitter-0.10.0-r1.ebuild 26 Jul 2012 07:27:25 -0000 1.4
@@ -1,13 +1,11 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/qtwitter/qtwitter-0.10.0-r1.ebuild,v 1.3 2012/06/04 11:26:11 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/qtwitter/qtwitter-0.10.0-r1.ebuild,v 1.4 2012/07/26 07:27:25 yngwin Exp $
EAPI=4
+PLOCALES="ca_ES cs_CZ de_DE es_ES fr_FR it_IT ja_JP nb_NO pl_PL pt_BR"
-LANGS="nb_NO pt_BR"
-LANGSLONG="ca_ES cs_CZ de_DE es_ES fr_FR it_IT ja_JP pl_PL"
-
-inherit qt4-r2
+inherit l10n qt4-r2
DESCRIPTION="A Qt-based microblogging client"
HOMEPAGE="http://www.qt-apps.org/content/show.php/qTwitter?content=99087"
@@ -33,19 +31,10 @@
echo "CONFIG += nostrip" >> "${S}"/${PN}.pro
- local langs=
- for lingua in $LINGUAS; do
- if has $lingua $LANGS; then
- langs="$langs ${lingua}"
- else
- for a in $LANGSLONG; do
- if [[ $lingua == ${a%_*} ]]; then
- langs="$langs ${a}"
- fi
- done
- fi
- done
+ l10n_find_plocales_changes "${S}/translations" '${PN}' '.ts'
+ local langs
+ langs="$(l10n_get_locales)"
# remove translations and add only the selected ones
sed -e '/^ *LANGS/,/^$/s/^/#/' \
-e "/LANGS =/s/.*/LANGS = ${langs}/" \
1.31 net-im/qtwitter/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/qtwitter/ChangeLog?rev=1.31&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/qtwitter/ChangeLog?rev=1.31&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/qtwitter/ChangeLog?r1=1.30&r2=1.31
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-im/qtwitter/ChangeLog,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- ChangeLog 4 Jun 2012 11:28:54 -0000 1.30
+++ ChangeLog 26 Jul 2012 07:27:25 -0000 1.31
@@ -1,6 +1,10 @@
# ChangeLog for net-im/qtwitter
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/qtwitter/ChangeLog,v 1.30 2012/06/04 11:28:54 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/qtwitter/ChangeLog,v 1.31 2012/07/26 07:27:25 yngwin Exp $
+
+ 26 Jul 2012; Ben de Groot <yngwin@gentoo.org> metadata.xml,
+ qtwitter-0.10.0-r1.ebuild:
+ Use l10n.eclass for handling locales.
04 Jun 2012; Johannes Huber <johu@gentoo.org> -qtwitter-0.10.0.ebuild:
Remove old.
@@ -138,4 +142,3 @@
+qtwitter-0.6.0-r1.ebuild:
Initial commit for qtwitter application. Thanks to Dominik Kapusta
<d@ayoy.net> for the ebuild and for writting this great application. Fixes bug #259293
-
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-07-26 7:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-26 7:27 [gentoo-commits] gentoo-x86 commit in net-im/qtwitter: metadata.xml qtwitter-0.10.0-r1.ebuild ChangeLog Ben de Groot (yngwin)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox