Hello community,

here is the log from the commit of package translation-update-upstream for 
openSUSE:Factory
checked in at Mon Sep 19 18:06:29 CEST 2011.



--------
--- translation-update-upstream/translation-update-upstream.changes     
2011-07-07 21:29:08.000000000 +0200
+++ translation-update-upstream/translation-update-upstream.changes     
2011-09-07 14:45:33.000000000 +0200
@@ -1,0 +2,9 @@
+Wed Sep  7 14:44:21 CEST 2011 - [email protected]
+
+- Supplementary scripts improvements:
+  * Support for pot-only run (COLLECT_UPSTREAM=false).
+  * Implemented check for possible strings in patches.
+  * Support for import of strings from different gettext domain.
+  * Allow to skip time consuming update by setting SKIP_TUU=true.
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ create-tlst-step2-create-gnome_gtp.sh ++++++
--- /var/tmp/diff_new_pack.UNrXQa/_old  2011-09-19 18:06:23.000000000 +0200
+++ /var/tmp/diff_new_pack.UNrXQa/_new  2011-09-19 18:06:23.000000000 +0200
@@ -12,16 +12,15 @@
 
 source ${0%create-tlst-step2-create-gnome_gtp.sh}upstream-collect.conf
 
-rm -f create-tlst-temp-osc-projects.lst
 for REPOSITORY in ${OSC_REPOSITORIES[@]} ; do
-       osc ${OSC_APIURL:+--apiurl=$OSC_APIURL} list $REPOSITORY 
>create-tlst-temp-osc-projects.lst
-done
+       osc ${OSC_APIURL:+--apiurl=$OSC_APIURL} list $REPOSITORY
+done | sort -u >create-tlst-temp-osc-projects.lst
 
 # branches tried for all apps:
-KNOWN_BRANCHES="gnome-2-32"
+KNOWN_BRANCHES="gnome-3-0"
 # branches tried apps with the same name base:
 # Do not forget hardcoded strings in the code below!
-APP_BRANCHES="|gimp-2-6"
+APP_BRANCHES="|gimp-2-6|gtk-3-0|glib-2-28"
 # FIXME: support for libgda:release-3-0-branch gnome-background:gnome-2-22
 
 echo "# This file was generated $(LANG=C LC_ALL=C date) by 
create-tlst-step2-create-gnome_gtp.sh." >upstream-gnome_gtp.tlst

++++++ misc.tlst ++++++
--- /var/tmp/diff_new_pack.UNrXQa/_old  2011-09-19 18:06:23.000000000 +0200
+++ /var/tmp/diff_new_pack.UNrXQa/_new  2011-09-19 18:06:23.000000000 +0200
@@ -1,6 +1,5 @@
 # package                   domain                  method repository          
                                         dir                 branch
-# PAM CVS is currently broken:
-#pam                         Linux-PAM                 cvs  
pam.cvs.sourceforge.net:/cvsroot/pam                         Linux-PAM/po
+pam                         Linux-PAM                 cvs  
pam.cvs.sourceforge.net:/cvsroot/pam                         Linux-PAM/po
 # No update available yet:
-#pidgin                      pidgin                    tbz  
http://downloads.sourceforge.net/pidgin/pidgin-2.7.10.tar.bz2 pidgin-2.7.10/po
+#pidgin                      pidgin                    tbz  
http://downloads.sourceforge.net/pidgin/pidgin-2.7.11.tar.bz2 pidgin-2.7.11/po
 gtkspell                    gtkspell                   tgz  
http://downloads.sourceforge.net/gtkspell/gtkspell-2.0.16.tar.gz 
gtkspell-2.0.16/po

++++++ translation-update-upstream-embedded.patch ++++++
--- /var/tmp/diff_new_pack.UNrXQa/_old  2011-09-19 18:06:23.000000000 +0200
+++ /var/tmp/diff_new_pack.UNrXQa/_new  2011-09-19 18:06:23.000000000 +0200
@@ -1,6 +1,6 @@
 --- translation-update-upstream-embedded.sh
 +++ translation-update-upstream-embedded.sh
-@@ -34,6 +34,7 @@
+@@ -44,6 +44,7 @@
        fi
  }
  
@@ -8,7 +8,7 @@
  DIR=${1:-po}
  DOMAIN=$2
  
-@@ -91,7 +92,7 @@
+@@ -144,7 +145,7 @@
                echo "WARNING: Missing $DOMAIN in translation-update-upstream 
configuration! No updates available."
            fi
        else

++++++ translation-update-upstream.in ++++++
--- /var/tmp/diff_new_pack.UNrXQa/_old  2011-09-19 18:06:23.000000000 +0200
+++ /var/tmp/diff_new_pack.UNrXQa/_new  2011-09-19 18:06:23.000000000 +0200
@@ -60,8 +60,9 @@
 fi
 
 POT_NOT_UNIQUE=false
-MISSING=true
+NO_POT=true
 for POT in *.pot ; do
+    MISSING=true
     if $POT_NOT_UNIQUE ; then
        echo "ERROR: Directory $DIR contains more than one .pot file."
        exit 1
@@ -82,7 +83,12 @@
                    PO=${PO_PATH##*/}
                    LNG=${PO%.po}
                    if test -f $PO ; then
+                       if test "$SKIP_TUU" = true ; then
+                               echo "SKIP_TUU is set. Skipping update of $PO."
+                               continue
+                       fi
                        echo "Updating $PO using translation-update-upstream."
+                       echo "(You can skip update by setting environment 
variable SKIP_TUU=true.)"
                        # PO_PATH is first: Update any string, even if it was 
already translated.
                        # Swap $PO_PATH and $PO to disable this behavior.
                        msgcat --use-first $PO_PATH $PO -o $PO.new
@@ -109,7 +115,12 @@
                    PO=${PO_PATH##*/}
                    LNG=${PO%.po}
                    if test -f $PO ; then
+                       if test "$SKIP_TUU" = true ; then
+                               echo "SKIP_TUU is set. Skipping update of $PO."
+                               continue
+                       fi
                        echo "Updating $PO using translation-update-upstream 
mandatory source."
+                       echo "(You can skip update by setting environment 
variable SKIP_TUU=true.)"
                        # PO_PATH is first: Update any string, even if it was 
already translated.
                        # Swap $PO_PATH and $PO to disable this behavior.
                        msgcat --use-first $PO_PATH $PO -o $PO.new
@@ -137,4 +148,9 @@
            exit 1
        fi
     fi
+    NO_POT=false
 done
+if $NO_POT ; then
+    echo "ERROR: Pot file was not created. Please fix or set command line 
arguments properly!"
+    exit 1
+fi

++++++ upstream-collect.sh ++++++
++++ 789 lines (skipped)
++++ between translation-update-upstream/upstream-collect.sh
++++ and translation-update-upstream/upstream-collect.sh


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to