Hello community,
here is the log from the commit of package gnome-patch-translation
checked in at Tue Nov 14 19:22:20 CET 2006.
--------
--- GNOME/gnome-patch-translation/gnome-patch-translation.changes 2006-09-20 18:16:44.000000000 +0200
+++ /mounts/work_src_done/NOARCH/gnome-patch-translation/gnome-patch-translation.changes 2006-11-14 17:33:35.000000000 +0100
@@ -1,0 +2,7 @@
+Tue Nov 14 15:24:38 CET 2006 - sbrabec@suse.cz
+
+- Skip unneeded steps during compilation.
+- Merged SLE10-SP and FACTORY strings into one compendium.
+- Updated cs, fi, hu, mi, ru, vi.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gnome-patch-translation.spec ++++++
--- /var/tmp/diff_new_pack.w0kakb/_old 2006-11-14 19:20:59.000000000 +0100
+++ /var/tmp/diff_new_pack.w0kakb/_new 2006-11-14 19:20:59.000000000 +0100
@@ -12,11 +12,11 @@
Name: gnome-patch-translation
BuildRequires: gnome-filesystem
-License: GPL
+License: GNU General Public License (GPL)
Group: System/GUI/GNOME
Autoreqprov: on
Version: 0.1
-Release: 54
+Release: 67
Summary: Collect and Merge Translations From RPM Patches
Source: gnome-patch-translation-files.tar.bz2
Source1: gnome-patch-translation.tar.bz2
@@ -62,6 +62,10 @@
/opt/gnome/share/gnome-patch-translation
%changelog -n gnome-patch-translation
+* Tue Nov 14 2006 - sbrabec@suse.cz
+- Skip unneeded steps during compilation.
+- Merged SLE10-SP and FACTORY strings into one compendium.
+- Updated cs, fi, hu, mi, ru, vi.
* Wed Sep 20 2006 - sbrabec@suse.cz
- Detect, if all strings are upstreamed.
* Mon Jun 26 2006 - sbrabec@suse.cz
++++++ HEADER.pot ++++++
--- GNOME/gnome-patch-translation/HEADER.pot 2006-06-26 19:23:04.000000000 +0200
+++ /mounts/work_src_done/NOARCH/gnome-patch-translation/HEADER.pot 2006-11-14 17:21:50.000000000 +0100
@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2006-06-26 19:23+0200\n"
+"POT-Creation-Date: 2006-11-14 17:21+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
++++++ HOWTO ++++++
--- GNOME/gnome-patch-translation/HOWTO 2006-02-16 12:46:09.000000000 +0100
+++ /mounts/work_src_done/NOARCH/gnome-patch-translation/HOWTO 2006-11-14 16:31:00.000000000 +0100
@@ -13,11 +13,13 @@
- Collects actual strings in patches into gnome-patch-translation/
sub-directory in build directory.
- Prepares fuzzy translations for existing translations.
+ (only if COMPENDIUM_UPDATE_MODE=1)
- Updates actual translations in po/ using translations from
gnome-patch-translation package.
gnome-patch-translation-files.tar.bz2: Files created by
-gnome-patch-translation-update collected from all needed packages.
+COMPENDIUM_UPDATE_MODE=1 gnome-patch-translation-update collected from
+all needed packages.
gnome-patch-translation.tar.bz2: Translation files provided by
translators.
@@ -68,10 +70,10 @@
If you plan to update translations, you should do following steps:
-1) Collect all files created by gnome-patch-translation-update in all
-included packages. You can get these files by picking it from last build
-process or by calling %prep phase of rpmbuild (you have to install
-gnome-patch-translation package).
+1) Collect all files created by COMPENDIUM_UPDATE_MODE=1
+gnome-patch-translation-update in all included packages. You can get
+these files by picking it from last build process or by calling %prep
+phase of rpmbuild (you have to install gnome-patch-translation package).
2) Using upper mentioned files update
gnome-patch-translation-files.tar.bz2
++++++ gnome-patch-translation-files.tar.bz2 ++++++
++++ 238703 lines of diff (skipped)
++++++ gnome-patch-translation-update ++++++
--- GNOME/gnome-patch-translation/gnome-patch-translation-update 2006-09-20 18:14:57.000000000 +0200
+++ /mounts/work_src_done/NOARCH/gnome-patch-translation/gnome-patch-translation-update 2006-11-14 16:16:18.000000000 +0100
@@ -2,6 +2,7 @@
set -o errexit
+# This action takes some time. But run it every time to confirm, that update is still needed.
cd po
intltool-update --pot
mkdir ../gnome-patch-translation/new
@@ -17,13 +18,7 @@
echo "No unique patch specific strings in project!"
echo "You can remove gnome-patch-translation support from this project."
echo ""
- echo -en '\a'
- sleep 1
- echo -en '\a'
- sleep 1
- echo -en '\a'
- sleep 20
- exit 0
+ exit 1
fi
msgcomm --more-than=1 -o $POT-patch.pot $POT-unique.pot new/$POT.pot
@@ -31,26 +26,36 @@
cd ../po
+# Main action. Only this is really needed for package rebuild.
for PO in *.po ; do
LNG=${PO%.po}
if test -f /opt/gnome/share/gnome-patch-translation/$LNG.po ; then
echo "Updating $PO using gnome-patch-translation compendium."
- msgmerge --compendium=/opt/gnome/share/gnome-patch-translation/$LNG.po -o $PO.new $PO $POT.pot
+ if test "$COMPENDIUM_UPDATE_MODE" = 1 ; then
+ msgmerge --compendium=/opt/gnome/share/gnome-patch-translation/$LNG.po -o $PO.new $PO $POT.pot
+ else
+ # For compilation use --no-fuzzy-matching to run faster.
+ msgmerge --no-fuzzy-matching --compendium=/opt/gnome/share/gnome-patch-translation/$LNG.po -o $PO.new $PO $POT.pot
+ fi
mv $PO.new $PO
fi
done
-sed -i 's@#: \.\./@#: '$POT'/@;1,/^$/d' ../gnome-patch-translation/$POT-patch.pot
-for PO in *.po ; do
- LNG=${PO%.po}
- echo "Creting fuzzy $PO for gnome-patch-translation."
- msgmerge -o ../gnome-patch-translation/$POT-$LNG.po $PO ../gnome-patch-translation/$POT-patch.pot
- sed -i 's@#: \.\./@#: '$POT'/@;/#~/,$d' ../gnome-patch-translation/$POT-$LNG.po
-done
-
-echo "================================================================="
-echo " Translatable strings from patches were written to"
-echo " gnome-patch-translation/. If you did any translabable string"
-echo " change in any patch, please copy contents of this directory"
-echo " to the gnome-patch-translation package, file"
-echo " gnome-patch-translation-files.tar.bz2."
-echo "================================================================="
+# This action takes long time. Run it only if we really need it.
+if test "$COMPENDIUM_UPDATE_MODE" = 1 ; then
+ sed -i 's@#: \.\./@#: '$POT'/@;1,/^$/d' ../gnome-patch-translation/$POT-patch.pot
+ for PO in *.po ; do
+ LNG=${PO%.po}
+ echo "Creating fuzzy $PO for gnome-patch-translation."
+ msgmerge -o ../gnome-patch-translation/$POT-$LNG.po $PO ../gnome-patch-translation/$POT-patch.pot
+ sed -i 's@#: \.\./@#: '$POT'/@;/#~/,$d' ../gnome-patch-translation/$POT-$LNG.po
+ done
+ echo "================================================================="
+ echo " Translatable strings from patches were written to"
+ echo " gnome-patch-translation/. If you did any translabable string"
+ echo " change in any patch, please copy contents of this directory"
+ echo " to the gnome-patch-translation package, file"
+ echo " gnome-patch-translation-files.tar.bz2."
+ echo "================================================================="
+else
+ echo " Skipping compendium update. Use COMPENDIUM_UPDATE_MODE=1 to force it."
+fi
++++++ gnome-patch-translation.tar.bz2 ++++++
++++ 122198 lines of diff (skipped)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org