Hello community, here is the log from the commit of package update-desktop-files checked in at Fri May 11 10:35:59 CEST 2007. -------- --- update-desktop-files/update-desktop-files.changes 2007-05-02 19:18:57.000000000 +0200 +++ /mounts/work_src_done/NOARCH/update-desktop-files/update-desktop-files.changes 2007-05-07 14:01:57.941418000 +0200 @@ -1,0 +2,7 @@ +Mon May 7 14:00:51 CEST 2007 - coolo@suse.de + +- add Encoding=UTF-8 to generated .desktop files to keep (older) + desktop-file-validate happy +- fix script error + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ update-desktop-files.spec ++++++ --- /var/tmp/diff_new_pack.os3531/_old 2007-05-11 10:35:52.000000000 +0200 +++ /var/tmp/diff_new_pack.os3531/_new 2007-05-11 10:35:52.000000000 +0200 @@ -12,7 +12,7 @@ Name: update-desktop-files Version: 10.3 -Release: 14 +Release: 17 Summary: A Build Tool to Update Desktop Files License: GNU General Public License (GPL) Group: Development/Tools/Building @@ -123,6 +123,10 @@ /usr/share/locale/*/LC_MESSAGES/*mo %changelog +* Mon May 07 2007 - coolo@suse.de +- add Encoding=UTF-8 to generated .desktop files to keep (older) + desktop-file-validate happy +- fix script error * Wed May 02 2007 - coolo@suse.de - add support for untranslate (so we can grab upstream translations reliable) ++++++ suse_update_desktop_file.sh ++++++ --- update-desktop-files/suse_update_desktop_file.sh 2007-05-02 20:36:47.000000000 +0200 +++ /mounts/work_src_done/NOARCH/update-desktop-files/suse_update_desktop_file.sh 2007-05-07 14:01:27.972423000 +0200 @@ -93,6 +93,7 @@ mkdir -p $RPM_BUILD_ROOT/usr/share/applications/ cat > $RPM_SOURCE_DIR/$APPLICATION.desktop << EOF [Desktop Entry] +Encoding=UTF-8 Name=$NAME GenericName=$GNAME Type=Application @@ -319,9 +320,9 @@ perl /usr/share/update-desktop-files/translate.pl $L $FILE > ${FILE}_ && mv ${FILE}_ $FILE || exit 1 done perl /usr/share/update-desktop-files/untranslate.pl $FILE > ${FILE}.new - if ! cmp -s ${FILE}.old {FILE}.new; then + if ! cmp -s ${FILE}.old ${FILE}.new; then echo "UNTRANSLATE DOES NOT WORK" - diff -u ${FILE}.old {FILE}.new + diff -u ${FILE}.old ${FILE}.new fi rm -f ${FILE}.old ${FILE}.new else ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org