Hello community,

here is the log from the commit of package wine for openSUSE:Factory checked in 
at 2016-01-21 23:44:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/wine (Old)
 and      /work/SRC/openSUSE:Factory/.wine.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "wine"

Changes:
--------
--- /work/SRC/openSUSE:Factory/wine/wine.changes        2016-01-12 
16:12:53.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.wine.new/wine.changes   2016-01-22 
01:10:33.000000000 +0100
@@ -1,0 +2,10 @@
+Tue Jan 12 16:08:11 UTC 2016 - [email protected]
+
+- make sure wine desktop files installed under correct categories
+  * currently they land in "unspecific category"
+  * "Emulator" can only be used after "System" or "Game" according
+    to freedesktop specification
+  * "Wine" itself is not a valid category
+  * "Documentation" doesn't fit wine related stuff
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ wine.spec ++++++
--- /var/tmp/diff_new_pack.p1hONc/_old  2016-01-22 01:10:37.000000000 +0100
+++ /var/tmp/diff_new_pack.p1hONc/_new  2016-01-22 01:10:37.000000000 +0100
@@ -166,7 +166,7 @@
 make install DESTDIR=%{buildroot}
 # install desktop file
 install -d %{buildroot}%{_datadir}/applications/
-%suse_update_desktop_file %{SOURCE4} Emulator
+%suse_update_desktop_file %{SOURCE4} System Emulator
 
 install -m 0644 %SOURCE4 %{buildroot}%{_datadir}/applications/
 install -m 0644 %SOURCE6 %{buildroot}%{_datadir}/applications/
@@ -190,10 +190,22 @@
         # Install application-specific desktop files
         install -d %{buildroot}%{_datadir}/applications
         install -c -m 644 *.desktop %{buildroot}%{_datadir}/applications/
+        sed -i "/X-SuSE-translate/d" 
%{buildroot}%{_datadir}/applications/*.desktop
 
         install -d %{buildroot}%{_datadir}/desktop-directories/
         install -c -m 644 *.directory 
%{buildroot}%{_datadir}/desktop-directories/
 
+           # Correct desktop files' categories
+           %suse_update_desktop_file -n -r wine-notepad Utility TextEditor
+           %suse_update_desktop_file -n -r wine-uninstaller System Emulator
+           %suse_update_desktop_file -n -r wine-winecfg System Emulator
+        %suse_update_desktop_file -n -r wine-regedit System Emulator
+        %suse_update_desktop_file -n -r wine-winehelp System Emulator
+        %suse_update_desktop_file -n -r wine-msi System Emulator
+        %suse_update_desktop_file -n -r wine-browsedrive System Emulator
+           %suse_update_desktop_file -n -r wine-winefile System FileManager
+           %suse_update_desktop_file -n -r wine-winemine Game BoardGame
+
         # Install icons
         install -d %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
         install -c -m 644 *.svg 
%{buildroot}%{_datadir}/icons/hicolor/scalable/apps/




Reply via email to