OBS User unknown 2008-04-06 08:39:24 +00:00 committed by Git OBS Bridge
parent 7d2154bbf9
commit e479e5b99b
4 changed files with 24 additions and 10 deletions

View File

@ -14,10 +14,10 @@ fi
rm -rf po
mkdir po
rm -f failed
for file in $MY_LCN_CHECKOUT/*/po/update-desktop-files.*.po; do
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
test -d po/$lang || mkdir po/$lang
# package valid files only
msgfmt -o /dev/null --check $file || {
rmdir po/$lang
@ -37,7 +37,13 @@ print
next
}
{print}
' > po/$lang/entries.po
' > po/$lang/entries.po.new
if test -f po/$lang/entries.po; then
msgcat -o po/$lang/entries.po --use-first po/$lang/entries.po po/$lang/entries.po.new
rm po/$lang/entries.po.new
else
mv po/$lang/entries.po.new po/$lang/entries.po
fi
done
rm -f desktop-translations.tar.bz2
tar cfj desktop-translations.tar.bz2 po

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:335d36c1d703e881568326319c6e7b000f71390c2183f276d16589b19b133390
size 9206215
oid sha256:08908e1f39f46c9c1cdeddb81801d352b3a05042fdae63016bd4afa46820b2c8
size 8836124

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Apr 1 23:15:37 CEST 2008 - coolo@suse.de
- work with split po files - update from SVN
-------------------------------------------------------------------
Tue Mar 25 17:01:04 CET 2008 - ke@suse.de

View File

@ -1,5 +1,5 @@
#
# spec file for package update-desktop-files (Version 10.3)
# spec file for package update-desktop-files (Version 11.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@ -12,8 +12,8 @@
Name: update-desktop-files
Version: 10.3
Release: 104
Version: 11.0
Release: 1
Summary: A Build Tool to Update Desktop Files
License: GPL v2 or later
Group: Development/Tools/Building
@ -39,6 +39,7 @@ Authors:
Stephan Kulow <coolo@suse.de>
%package -n desktop-translations
License: GPL v2 or later
Summary: Desktop Files Translation updates
Group: System/GUI/Other
# we do not need them in all systems, if there is an update, we put it in translate-update-*
@ -100,6 +101,8 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root)
%changelog
* Wed Apr 02 2008 coolo@suse.de
- work with split po files - update from SVN
* Tue Mar 25 2008 ke@suse.de
- Add /etc/xdg/autostart/ for autostarted applications. Provided by
Vincent Untz; bnc#370483.
@ -402,7 +405,7 @@ rm -rf $RPM_BUILD_ROOT
(the other way arround exists and is valid)
- check for double Category entries
- add ContactManagement Category
* Mon Feb 16 2004 adrian@suse.de
* Tue Feb 17 2004 adrian@suse.de
- fix build as user
* Mon Feb 16 2004 adrian@suse.de
- Viewer is also an official tag now
@ -470,7 +473,7 @@ rm -rf $RPM_BUILD_ROOT
and to set X-SuSE- prefix automagically
* Wed Jul 30 2003 adrian@suse.de
- use $RPM_SOURCE_DIR
* Mon Jul 28 2003 adrian@suse.de
* Tue Jul 29 2003 adrian@suse.de
- add --create and --install switches for %%suse_update_desktop_file
* Thu Jul 24 2003 adrian@suse.de
- ignore desktop files with Hidden flag