Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package screengrab for openSUSE:Factory 
checked in at 2022-09-01 22:12:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/screengrab (Old)
 and      /work/SRC/openSUSE:Factory/.screengrab.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "screengrab"

Thu Sep  1 22:12:37 2022 rev:12 rq:1000717 version:2.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/screengrab/screengrab.changes    2021-11-09 
23:54:56.819962914 +0100
+++ /work/SRC/openSUSE:Factory/.screengrab.new.2083/screengrab.changes  
2022-09-01 22:13:13.352572847 +0200
@@ -1,0 +2,18 @@
+Sun Aug 28 18:27:32 UTC 2022 - Shawn Dunn <[email protected]>
+
+- Add patch to correct failing build.  [gh#lxqt/screengrab#310]
+  * fix-no-undefined-builderror.patch
+- Cleaned up %build section
+- Modified %files, due to new additions from upstream
+
+-------------------------------------------------------------------
+Fri Apr 29 06:31:47 UTC 2022 - Michael Vetter <[email protected]>
+
+- Update to 2.4.0:
+  * Used an SVG icon instead of the blurry PNG icon.
+  * Fixed several problems in calling external editors or default app.
+  * Added metadata file.
+- Use -DSG_EXT_EDIT=ON
+- Add screengrab-link.patch
+
+-------------------------------------------------------------------

Old:
----
  screengrab-2.3.0.tar.xz
  screengrab-2.3.0.tar.xz.asc

New:
----
  fix-no-undefined-builderror.patch
  screengrab-2.4.0.tar.xz
  screengrab-2.4.0.tar.xz.asc
  screengrab-link.patch

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

Other differences:
------------------
++++++ screengrab.spec ++++++
--- /var/tmp/diff_new_pack.XuMXud/_old  2022-09-01 22:13:13.948574327 +0200
+++ /var/tmp/diff_new_pack.XuMXud/_new  2022-09-01 22:13:13.952574337 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package screengrab
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           screengrab
-Version:        2.3.0
+Version:        2.4.0
 Release:        0
 Summary:        Qt tool for creating screenshots
 License:        GPL-2.0-only
@@ -26,6 +26,9 @@
 Source:         
https://github.com/lxqt/screengrab/releases/download/%{version}/%{name}-%{version}.tar.xz
 Source1:        
https://github.com/lxqt/screengrab/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
 Source2:        %{name}.keyring
+Patch0:         screengrab-link.patch
+# PATCH-FIX-UPSTREAM fix-no-undefined-builderror.patch gh#lxqt/screengrab#310
+Patch1:         fix-no-undefined-builderror.patch
 BuildRequires:  cmake >= 3.1.0
 BuildRequires:  gcc-c++
 BuildRequires:  hicolor-icon-theme
@@ -38,7 +41,8 @@
 BuildRequires:  pkgconfig(Qt5Network)
 BuildRequires:  pkgconfig(Qt5Widgets)
 BuildRequires:  pkgconfig(Qt5X11Extras)
-BuildRequires:  pkgconfig(Qt5Xdg) >= 3.8.0
+BuildRequires:  pkgconfig(Qt5Xdg) >= 3.9.0
+BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(x11)
 BuildRequires:  pkgconfig(x11-xcb)
 BuildRequires:  pkgconfig(xcb)
@@ -53,15 +57,12 @@
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
-%cmake \
-    -DCMAKE_SKIP_RPATH:BOOL=ON \
-    -DSG_DBUS_NOTIFY=ON \
-    -DSG_EXT_EDIT=OFF \
-    -DSG_EXT_UPLOADS=OFF \
-    -DSG_GLOBALSHORTCUTS=OFF \
-    -DUPDATE_TRANSLATIONS=OFF
+%cmake
+%cmake_build
 
 %install
 %cmake_install
@@ -76,6 +77,7 @@
 %{_datadir}/applications/%{name}.desktop
 %{_datadir}/icons/hicolor/*/apps/%{name}.??g
 %{_datadir}/screengrab/screengrab.conf
+%{_datadir}/metainfo/%{name}.metainfo.xml
 
 %files lang -f %{name}.lang
 %dir %{_datadir}/%{name}

++++++ fix-no-undefined-builderror.patch ++++++
diff -ruNp screengrab-orig/src/modules/extedit/CMakeLists.txt 
screengrab/src/modules/extedit/CMakeLists.txt
--- screengrab-orig/src/modules/extedit/CMakeLists.txt
+++ screengrab/src/modules/extedit/CMakeLists.txt
@@ -24,12 +24,10 @@ qt5_translation_loader(extedit_QM_LOADER
 )
 
 add_library(extedit
-    SHARED
+    STATIC
         ${extedit_SRC}
         ${extedit_QMS}
         ${extedit_QM_LOADER}
 )
-set_property (TARGET extedit PROPERTY SOVERSION 1.0.0)
-install(TARGETS extedit DESTINATION ${SG_LIBDIR})
 
 target_link_libraries(extedit Qt5::Widgets Qt5::X11Extras Qt5Xdg)


++++++ screengrab-2.3.0.tar.xz -> screengrab-2.4.0.tar.xz ++++++
++++ 2982 lines of diff (skipped)

++++++ screengrab-link.patch ++++++
Index: screengrab-2.4.0/CMakeLists.txt
===================================================================
--- screengrab-2.4.0.orig/CMakeLists.txt
+++ screengrab-2.4.0/CMakeLists.txt
@@ -183,7 +183,7 @@ add_executable(screengrab
 )
 
 if(SG_EXT_EDIT)
-    target_link_libraries(screengrab extedit)
+    target_link_libraries(screengrab extedit Qt5Xdg)
 endif()
 
 if(SG_DBUS_NOTIFY)

Reply via email to