This commit is contained in:
parent
f9045910cf
commit
b177a17179
15
desktop-file-utils-0.11-encoding.patch
Normal file
15
desktop-file-utils-0.11-encoding.patch
Normal file
@ -0,0 +1,15 @@
|
||||
https://bugs.freedesktop.org/show_bug.cgi?id=10093
|
||||
================================================================================
|
||||
--- desktop-file-utils-0.11/src/validate.c.encoding 2006-07-31 16:34:44.000000000 +0200
|
||||
+++ desktop-file-utils-0.11/src/validate.c 2006-07-31 16:35:12.000000000 +0200
|
||||
@@ -719,10 +719,6 @@
|
||||
strcmp (val, "Legacy-Mixed") != 0)
|
||||
print_fatal (filename, "unknown Encoding type \"%s\", should be one of \"UTF-8\", \"Legacy-Mixed\"\n", val);
|
||||
}
|
||||
- else
|
||||
- {
|
||||
- print_fatal (filename, "required key \"Encoding\" not found\n");
|
||||
- }
|
||||
|
||||
if (!gnome_desktop_file_get_raw (df, section,
|
||||
"Name",
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 27 15:56:11 CEST 2007 - sbrabec@suse.cz
|
||||
|
||||
- Fixed invalid error for missing "Encoding" (Freedesktop#10093).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 19 12:04:11 CEST 2007 - sbrabec@suse.cz
|
||||
|
||||
|
@ -16,9 +16,10 @@ License: GNU General Public License (GPL)
|
||||
Group: Development/Tools/Other
|
||||
Autoreqprov: on
|
||||
Version: 0.12
|
||||
Release: 8
|
||||
Release: 11
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Source1: SuSEconfig.desktop-file-utils
|
||||
Patch: desktop-file-utils-0.11-encoding.patch
|
||||
PreReq: /bin/rm /bin/rmdir
|
||||
Requires: /etc/profile.d/xdg-enviroment.sh
|
||||
URL: http://www.freedesktop.org/wiki/Software_2fdesktop_2dfile_2dutils
|
||||
@ -41,6 +42,7 @@ Authors:
|
||||
|
||||
%prep
|
||||
%setup
|
||||
%patch -p1
|
||||
|
||||
%build
|
||||
%configure\
|
||||
@ -90,6 +92,8 @@ fi
|
||||
%ghost /opt/kde3/share/applications/mimeinfo.cache
|
||||
|
||||
%changelog
|
||||
* Fri Apr 27 2007 - sbrabec@suse.cz
|
||||
- Fixed invalid error for missing "Encoding" (Freedesktop#10093).
|
||||
* Thu Apr 19 2007 - sbrabec@suse.cz
|
||||
- Correctly initialize XDG_DATA_DIRS in SuSEconfig (#240603).
|
||||
* Fri Feb 23 2007 - sbrabec@suse.cz
|
||||
|
Loading…
Reference in New Issue
Block a user