OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/update-desktop-files?expand=0&rev=19
This commit is contained in:
parent
6deb894103
commit
c1354337ae
@ -13,16 +13,38 @@ fi
|
||||
|
||||
rm -rf po
|
||||
mkdir po
|
||||
:> failed
|
||||
for file in $MY_LCN_CHECKOUT/*/po/update-desktop-files.*.po; do
|
||||
lang=`echo $file | sed -e "s,/po/up.*,,; s,.*/,,"`
|
||||
echo $lang
|
||||
mkdir po/$lang
|
||||
cp $file po/$lang/entries.po
|
||||
# package valid files only
|
||||
msgfmt --check $file || {
|
||||
rmdir po/$lang
|
||||
echo $file >>failed
|
||||
continue
|
||||
}
|
||||
# cp $file po/$lang/entries.po
|
||||
# instead of copying, convert to the old inline format
|
||||
msgattrib -o - --no-obsolete $file | awk '/^msgctxt/ {
|
||||
body = 1
|
||||
ctxt=gensub(/msgctxt \"(.+)\"/, "\\1", "g")
|
||||
next
|
||||
}
|
||||
/^msgid/ && body == 1 {
|
||||
sub(/msgid \"/, "&" ctxt ": ")
|
||||
print
|
||||
next
|
||||
}
|
||||
{print}
|
||||
' > po/$lang/entries.po
|
||||
done
|
||||
rm -f desktop-translations.tar.bz2
|
||||
tar cfj desktop-translations.tar.bz2 po
|
||||
rm -rf po
|
||||
exit
|
||||
echo broken files, skipped:
|
||||
cat failed
|
||||
exit 0
|
||||
|
||||
rm -rf kappfinder
|
||||
svn export svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/kdebase/kappfinder/apps kappfinder
|
||||
@ -56,3 +78,5 @@ rm -f kappfinder-icons.tar.bz2
|
||||
tar cfj kappfinder-icons.tar.bz2 kappfinder-icons
|
||||
rm -rf kappfinder-icons
|
||||
rm -rf kappfinder
|
||||
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:163b6408dd100084e08827f5075eb508d176e979f29dcee31810cb86c3d52a43
|
||||
size 7610988
|
||||
oid sha256:57fd4735b10707a073b8743a1042932f51fb4ed4c73f6e1f7a3e609bc86f0023
|
||||
size 7263616
|
||||
|
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 15 15:38:23 CEST 2007 - ke@suse.de
|
||||
|
||||
- Update translations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 14 13:22:09 CEST 2007 - ke@suse.de
|
||||
|
||||
- Adjust PREPARE_PACKAGE to create the old inline format; debugged by
|
||||
Stephan Kulow [#299607]
|
||||
- Update translations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 10 12:08:17 CEST 2007 - ke@suse.de
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
Name: update-desktop-files
|
||||
Version: 10.3
|
||||
Release: 47
|
||||
Release: 49
|
||||
Summary: A Build Tool to Update Desktop Files
|
||||
License: GPL v2 or later
|
||||
Group: Development/Tools/Building
|
||||
@ -120,6 +120,12 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Aug 15 2007 - ke@suse.de
|
||||
- Update translations.
|
||||
* Tue Aug 14 2007 - ke@suse.de
|
||||
- Adjust PREPARE_PACKAGE to create the old inline format; debugged by
|
||||
Stephan Kulow [#299607]
|
||||
- Update translations.
|
||||
* Fri Aug 10 2007 - ke@suse.de
|
||||
- Update for 10.3 beta2.
|
||||
* Mon Aug 06 2007 - ke@suse.de
|
||||
|
Loading…
Reference in New Issue
Block a user