Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gpaste for openSUSE:Factory checked 
in at 2021-09-01 21:37:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gpaste (Old)
 and      /work/SRC/openSUSE:Factory/.gpaste.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gpaste"

Wed Sep  1 21:37:10 2021 rev:31 rq:915442 version:3.40.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/gpaste/gpaste.changes    2021-04-22 
18:05:58.950696735 +0200
+++ /work/SRC/openSUSE:Factory/.gpaste.new.1899/gpaste.changes  2021-09-01 
21:37:34.448905281 +0200
@@ -1,0 +2,14 @@
+Mon Aug 30 08:18:27 UTC 2021 - Dominique Leuenberger <[email protected]>
+
+- Update to version 3.40.2:
+  + fix a crash in memory usage checking.
+- Add gpaste-gnome-41.patch: conditionally applied when building
+  against mutter 41.
+- Replace pkgconfig(mutter-clutter-8) BuildRequires with
+  mutter-devel: make it easier to support multiple versions.
+- Switch to meson build system:
+  + Add meson BuildRequires.
+  + Replace configure/make/make_install macros with
+    meson/meson_build/meson_install.
+
+-------------------------------------------------------------------

Old:
----
  gpaste-3.40.1.tar.xz

New:
----
  gpaste-3.40.2.tar.xz
  gpaste-gnome-41.patch

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

Other differences:
------------------
++++++ gpaste.spec ++++++
--- /var/tmp/diff_new_pack.G9Zi7E/_old  2021-09-01 21:37:34.836905747 +0200
+++ /var/tmp/diff_new_pack.G9Zi7E/_new  2021-09-01 21:37:34.836905747 +0200
@@ -19,18 +19,21 @@
 
 %global __requires_exclude typelib\\(Clutter\\)
 Name:           gpaste
-Version:        3.40.1
+Version:        3.40.2
 Release:        0
 Summary:        Clipboard management system for GNOME
 License:        BSD-2-Clause
 Group:          System/GUI/GNOME
 URL:            https://github.com/Keruspe/GPaste
 Source0:        
http://www.imagination-land.org/files/%{name}/%{name}-%{version}.tar.xz
-
+# PATCH-FIX-OPENSUSE gpaste-gnome-41.patch [email protected] -- Fix build 
against GNOME 41
+Patch0:         gpaste-gnome-41.patch
 # For directory ownership
 BuildRequires:  gnome-shell >= 3.28
 BuildRequires:  gobject-introspection-devel >= 1.58.0
 BuildRequires:  intltool >= 0.50.0
+BuildRequires:  meson
+BuildRequires:  mutter-devel
 BuildRequires:  pkgconfig
 BuildRequires:  update-desktop-files
 BuildRequires:  pkgconfig(appstream-glib)
@@ -45,7 +48,6 @@
 BuildRequires:  pkgconfig(gobject-2.0) >= 2.58.0
 BuildRequires:  pkgconfig(gtk+-3.0) >= 3.24.0
 BuildRequires:  pkgconfig(libxml-2.0)
-BuildRequires:  pkgconfig(mutter-clutter-8)
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(vapigen) >= 0.42
 BuildRequires:  pkgconfig(x11)
@@ -112,16 +114,18 @@
 %lang_package
 
 %prep
-%autosetup -p1
+%setup -q
+%if %{pkg_vcmp mutter-devel > 41}
+%patch0 -p1
+%endif
 
 %build
 %define _lto_cflags %{nil}
-%configure --enable-vala
-make %{?_smp_mflags}
+%meson
+%meson_build
 
 %install
-%make_install
-find %{buildroot} -type f -name "*.la" -delete -print
+%meson_install
 desktop-file-edit --set-icon=edit-paste --remove-key Categories 
--add-category=Applet --add-only-show-in=GNOME 
%{buildroot}%{_datadir}/applications/org.gnome.GPaste.Ui.desktop
 %find_lang GPaste %{?no_lang_C}
 

++++++ gpaste-3.40.1.tar.xz -> gpaste-3.40.2.tar.xz ++++++
++++ 16787 lines of diff (skipped)

++++++ gpaste-gnome-41.patch ++++++
Index: gpaste-3.40.2/meson.build
===================================================================
--- gpaste-3.40.2.orig/meson.build
+++ gpaste-3.40.2/meson.build
@@ -38,7 +38,7 @@ endif
 libgpaste_deps = [ gdk_dep, gdk_pixbuf_dep, glib_dep, gtk_dep ]
 
 if get_option('introspection')
-  mutter_clutter_dep = dependency('mutter-clutter-8', version: 
mutter_clutter_req)
+  mutter_clutter_dep = dependency('mutter-clutter-9', version: 
mutter_clutter_req)
   gjs_dep = dependency('gjs-1.0', version: gjs_req)
 endif
 
Index: gpaste-3.40.2/src/gnome-shell/metadata.json.in
===================================================================
--- gpaste-3.40.2.orig/src/gnome-shell/metadata.json.in
+++ gpaste-3.40.2/src/gnome-shell/metadata.json.in
@@ -1,6 +1,7 @@
 {
     "shell-version": [
-        "40.0"
+        "40.0",
+        "41"
     ],
     "uuid": "[email protected]",
     "name": "GPaste",

Reply via email to