From d37ce12d1b391dee47c429bf0bada19546b94f52bf39d2fc632da2fe29feecaf Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Tue, 19 Mar 2013 17:15:10 +0000 Subject: [PATCH] Accepting request 160016 from home:sbrabec:branches:proposed-translation-fixes - Supplementary scripts update: * GTP: Update to the new GTP web engine. - Remove glib.glib-2-30.gu.po file that comes from GTP (bnc#808436). OBS-URL: https://build.opensuse.org/request/show/160016 OBS-URL: https://build.opensuse.org/package/show/Base:System/translation-update-upstream?expand=0&rev=52 --- translation-update-upstream.changes | 12 ++++++++++++ translation-update-upstream.spec | 3 ++- upstream-collect.sh | 6 +++--- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/translation-update-upstream.changes b/translation-update-upstream.changes index e9a724b..1d2c75b 100644 --- a/translation-update-upstream.changes +++ b/translation-update-upstream.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed Mar 13 20:29:06 CET 2013 - sbrabec@suse.cz + +- Supplementary scripts update: + * GTP: Update to the new GTP web engine. + +------------------------------------------------------------------- +Fri Mar 8 22:02:53 CET 2013 - sbrabec@suse.cz + +- Remove glib.glib-2-30.gu.po file that comes from GTP + (bnc#808436). + ------------------------------------------------------------------- Thu Feb 14 20:30:28 CET 2013 - sbrabec@suse.cz diff --git a/translation-update-upstream.spec b/translation-update-upstream.spec index 2e76263..b4164b5 100644 --- a/translation-update-upstream.spec +++ b/translation-update-upstream.spec @@ -120,8 +120,9 @@ rm -fv $RPM_BUILD_ROOT%{_datadir}/%{name}/po/*/ara.po rm -fv $RPM_BUILD_ROOT%{_datadir}/%{name}/po/*/en_IGID.po # short form of these locales should be used rm -fv $RPM_BUILD_ROOT%{_datadir}/%{name}/po/*/my_MM.po -# this is a nonsense +# these are nonsenses rm -v $RPM_BUILD_ROOT%{_datadir}/%{name}/po/glib-networking/master.po +rm -v $RPM_BUILD_ROOT%{_datadir}/%{name}/po/glib20/glib.glib-2-30.gu.po # # go through valid locales and fail in invalid ones # diff --git a/upstream-collect.sh b/upstream-collect.sh index 0bc3500..a1133f4 100644 --- a/upstream-collect.sh +++ b/upstream-collect.sh @@ -388,7 +388,7 @@ for TLST in *.tlst ; do CGIT_BRANCH=${BRANCH:+?id=$BRANCH} CGIT_SERVER=${CGIT_URI#http://} CGIT_SERVER=${CGIT_SERVER%%/*} - curl $CGIT_URI/tree/${REPODIR#*/}$CGIT_BRANCH | sed -n 's:^.*class='\''ls-blob[^'\'']*'\'' href='\''\([^'\'']*\)'\''.*$:\1:p' | + curl $CGIT_URI/tree/${REPODIR#*/}$CGIT_BRANCH | sed -n 's:^.*src="/icons/text\.gif" .* href="\([^"]*\)".*$:\1:p' | while read ; do wget -N http://$CGIT_SERVER${REPLY/\/tree\///plain/} done @@ -413,13 +413,13 @@ for TLST in *.tlst ; do gtk20-properties ) GTP_NAME_BASE=gtk+-properties ;; libgweather-locations ) GTP_NAME_BASE=locations ;; esac - curl http://$REPO/${REPODIR%%/*}.${BRANCH:-master}/ | sed -n 's:^.*href="\([^"]*\.po\)".*$:\1:p' | + curl https://$REPO/${REPODIR%%/*}.${BRANCH:-master}/ | sed -n 's:^.*href="\([^"]*\.po\)".*$:\1:p' | while read ; do case $REPLY in *.reduced.po ) ;; $GTP_NAME_BASE.${BRANCH:-master}.*) - wget -N http://$REPO/${REPODIR%%/*}.${BRANCH:-master}/$REPLY + wget -N https://$REPO/${REPODIR%%/*}.${BRANCH:-master}/$REPLY mv $REPLY ${REPLY#$GTP_NAME_BASE.${BRANCH:-master}.} ;; esac