Hello community,

here is the log from the commit of package desktop-file-utils for 
openSUSE:Factory checked in at 2020-08-20 22:23:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/desktop-file-utils (Old)
 and      /work/SRC/openSUSE:Factory/.desktop-file-utils.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "desktop-file-utils"

Thu Aug 20 22:23:09 2020 rev:65 rq:827130 version:0.26

Changes:
--------
--- /work/SRC/openSUSE:Factory/desktop-file-utils/desktop-file-utils.changes    
2019-08-16 15:29:08.621987164 +0200
+++ 
/work/SRC/openSUSE:Factory/.desktop-file-utils.new.3399/desktop-file-utils.changes
  2020-08-20 22:23:40.495836690 +0200
@@ -1,0 +2,37 @@
+Thu Jul 16 18:38:50 UTC 2020 - andy great <[email protected]>
+
+- Clean spec file.
+
+-------------------------------------------------------------------
+Mon Jun 29 12:00:00 UTC 2020 - [email protected]
+
+- Update to version 0.26:
+  * Support for Autotools removed in the next release.
+  * update-desktop-database
+    + Fix erroneous installation as "desktop-file-update"
+      when using the Meson build system
+
+- Update to version 0.25:
+  * common
+    + Add Meson build system
+  * desktop-file-validate
+    + Allow desktop file spec version 1.4.
+    + Make it possible to deprecate keys starting with "X-".
+    + Add the "Implements" field from spec version 1.2.
+    + Add the "PrefersNonDefaultGPU" key and deprecate 
"X-KDE-RunOnDiscreteGpu".
+    + Set locale for correct output message encoding.
+    + Add coloured output support.
+    + Fix parsing of escaped double quote in quoted strings.
+    + Add GNOME Flashback, GNOME Classic desktops.
+
+- desktop-file-utils-suse-keys.patch rebased.
+
+- Switched to Meson build system.
+
+- "--with-lispdir" deleted because no build loop anymore visible.
+
+- "install_man_desktop-file-edit_as_symlink.patch" added to install
+  duplicated manual page as a symlink instead of a file copy with
+  help from added script "install_man.py".
+
+-------------------------------------------------------------------

Old:
----
  desktop-file-utils-0.24.tar.xz

New:
----
  desktop-file-utils-0.26.tar.xz
  install_man.py
  install_man_desktop-file-edit_as_symlink.patch

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

Other differences:
------------------
++++++ desktop-file-utils.spec ++++++
--- /var/tmp/diff_new_pack.6C3Rl9/_old  2020-08-20 22:23:44.027838342 +0200
+++ /var/tmp/diff_new_pack.6C3Rl9/_new  2020-08-20 22:23:44.031838344 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package desktop-file-utils
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,20 +17,23 @@
 
 
 Name:           desktop-file-utils
-Version:        0.24
+Version:        0.26
 Release:        0
 Summary:        Utilities for Manipulating Desktop Files
 License:        GPL-2.0-or-later
 Group:          Development/Tools/Other
-URL:            http://www.freedesktop.org/wiki/Software/desktop-file-utils
+URL:            https://www.freedesktop.org/wiki/Software/desktop-file-utils
 Source0:        
http://www.freedesktop.org/software/desktop-file-utils/releases/%{name}-%{version}.tar.xz
 Source1:        suse-update-mime-defaults
 Source2:        macros.desktop-file-utils
+Source3:        install_man.py
 # PATCH-FEATURE-OPENSUSE desktop-file-utils-suse-keys.patch [email protected] 
-- Handle SUSE-specific keys in validator. This is not strictly necessary, 
since they are prefixed with X-, but we can verify that the value has the right 
type.
 Patch0:         desktop-file-utils-suse-keys.patch
-
+# PATCH-FIX-OPENSUSE install_man_desktop-file-edit_as_symlink.patch -- With 
Source3 makes manual page "desktop-file-edit.1" a symlink instead of a copy.
+Patch1:         install_man_desktop-file-edit_as_symlink.patch
 BuildRequires:  glib2-devel
-BuildRequires:  pkg-config
+BuildRequires:  meson >= 0.49.0
+BuildRequires:  pkgconfig
 #!BuildIgnore:  dbus-1-x11
 # We need explicit requirement here, as these are required by
 # %%filetriggerin that could be started early during the installation
@@ -47,15 +50,15 @@
 http://freedesktop.org/wiki/Specifications/desktop-entry-spec
 
 %prep
-%autosetup -p0
+%autosetup -p1
+cp %{SOURCE3} man/install_man.py
 
 %build
-%configure \
-       --with-lispdir=%{_datadir}/emacs/site-lisp
-%make_build
+%meson
+%meson_build
 
 %install
-%make_install
+%meson_install
 # Install suse-update-mime-defaults
 install -m0755 %{SOURCE1} %{buildroot}%{_bindir}/suse-update-mime-defaults
 # Install rpm macros
@@ -75,7 +78,6 @@
 fi
 
 %files
-%defattr(-, root, root)
 %license COPYING
 %doc AUTHORS ChangeLog NEWS README
 %{_bindir}/desktop-file-edit
@@ -84,10 +86,10 @@
 %{_bindir}/suse-update-mime-defaults
 %{_bindir}/update-desktop-database
 %ghost %{_datadir}/applications/mimeinfo.cache
-%{_mandir}/man1/desktop-file-edit.1*
-%{_mandir}/man1/desktop-file-install.1*
-%{_mandir}/man1/desktop-file-validate.1*
-%{_mandir}/man1/update-desktop-database.1*
+%{_mandir}/man1/desktop-file-edit.1%{?ext_man}
+%{_mandir}/man1/desktop-file-install.1%{?ext_man}
+%{_mandir}/man1/desktop-file-validate.1%{?ext_man}
+%{_mandir}/man1/update-desktop-database.1%{?ext_man}
 # Own directories to not require emacs installed.
 %dir %{_datadir}/emacs
 %dir %{_datadir}/emacs/site-lisp

++++++ desktop-file-utils-0.24.tar.xz -> desktop-file-utils-0.26.tar.xz ++++++
++++ 14024 lines of diff (skipped)

++++++ desktop-file-utils-suse-keys.patch ++++++
--- /var/tmp/diff_new_pack.6C3Rl9/_old  2020-08-20 22:23:44.147838398 +0200
+++ /var/tmp/diff_new_pack.6C3Rl9/_new  2020-08-20 22:23:44.147838398 +0200
@@ -1,15 +1,17 @@
-Index: src/validate.c
-===================================================================
---- src/validate.c.orig        2016-06-18 19:00:22.000000000 +0200
-+++ src/validate.c     2016-10-15 13:05:26.067464415 +0200
-@@ -319,6 +319,10 @@ static DesktopKeyDefinition registered_d
- 
+diff -r -U 5 a/src/validate.c b/src/validate.c
+--- a/src/validate.c   2020-06-19
++++ b/src/validate.c   2020-06-29
+@@ -324,10 +324,13 @@
    { DESKTOP_BOOLEAN_TYPE,           "DBusActivatable",   FALSE, FALSE, FALSE, 
handle_dbus_activatable_key },
  
+   /* Since 1.4 */
+   { DESKTOP_BOOLEAN_TYPE,           "PrefersNonDefaultGPU", FALSE, FALSE, 
FALSE, NULL },
+ 
 +  /* SuSE specific */
 +  { DESKTOP_BOOLEAN_TYPE,      "X-SuSE-translate",  FALSE, FALSE, FALSE, NULL 
},
 +
-+
    /* Keys reserved for KDE */
  
    /* since 0.9.4 */
+   { DESKTOP_STRING_TYPE,            "ServiceTypes",      FALSE, FALSE, TRUE,  
NULL },
+   { DESKTOP_STRING_TYPE,            "DocPath",           FALSE, FALSE, TRUE,  
NULL },

++++++ install_man.py ++++++
#!/usr/bin/env python3

import os

os.symlink(
    'desktop-file-install.1',
    os.getenv('MESON_INSTALL_DESTDIR_PREFIX') + 
'/share/man/man1/desktop-file-edit.1'
)
++++++ install_man_desktop-file-edit_as_symlink.patch ++++++
diff -r -U 5 a/man/meson.build b/man/meson.build
--- a/man/meson.build   2020-06-19
+++ b/man/meson.build   2020-06-29
@@ -6,7 +6,7 @@
 
 install_man([
   'desktop-file-validate.1',
   'desktop-file-install.1',
   'update-desktop-database.1',
-  desktop_file_edit_man,
 ])
+meson.add_install_script('install_man.py')

Reply via email to