Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package deepin-image-editor for 
openSUSE:Factory checked in at 2022-11-24 12:25:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/deepin-image-editor (Old)
 and      /work/SRC/openSUSE:Factory/.deepin-image-editor.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "deepin-image-editor"

Thu Nov 24 12:25:32 2022 rev:3 rq:1037837 version:1.0.19

Changes:
--------
--- /work/SRC/openSUSE:Factory/deepin-image-editor/deepin-image-editor.changes  
2022-09-01 22:11:22.348277199 +0200
+++ 
/work/SRC/openSUSE:Factory/.deepin-image-editor.new.1597/deepin-image-editor.changes
        2022-11-24 12:25:33.062182802 +0100
@@ -1,0 +2,11 @@
+Mon Nov 21 11:10:45 UTC 2022 - Bjørn Lie <[email protected]>
+
+- Replace pkgconfig(opencv) with pkgconfig(opencv4) BuildRequires,
+  (use current version of opencv).
+
+-------------------------------------------------------------------
+Tue Oct 11 12:49:28 UTC 2022 - Hillwood Yang <[email protected]>
+
+- Add fix-library-link.patch, fix build on Leap 15.x
+
+-------------------------------------------------------------------

New:
----
  fix-library-link.patch

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

Other differences:
------------------
++++++ deepin-image-editor.spec ++++++
--- /var/tmp/diff_new_pack.D2mlH3/_old  2022-11-24 12:25:33.782187377 +0100
+++ /var/tmp/diff_new_pack.D2mlH3/_new  2022-11-24 12:25:33.786187403 +0100
@@ -27,7 +27,12 @@
 Group:          System/Libraries
 URL:            https://github.com/linuxdeepin/image-editor
 Source0:        
https://github.com/linuxdeepin/image-editor/archive/%{version}/%{_name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM recompile-with-fPIC.patch [email protected] - Fix 
build on 64bit arch
 Patch0:         recompile-with-fPIC.patch
+%if 0%{?suse_version} <= 1500
+# PATCH-FIX-OPENSUSE fix-library-link.patch [email protected] - Neet link 
dl for Leap 15.x
+Patch1:         fix-library-link.patch
+%endif
 BuildRequires:  deepin-gettext-tools
 BuildRequires:  dtkcore >= 5.0.0
 BuildRequires:  fdupes
@@ -43,7 +48,7 @@
 BuildRequires:  pkgconfig(Qt5DBus)
 BuildRequires:  pkgconfig(Qt5Concurrent)
 BuildRequires:  pkgconfig(Qt5PrintSupport)
-BuildRequires:  pkgconfig(opencv)
+BuildRequires:  pkgconfig(opencv4)
 BuildRequires:  pkgconfig(dtkcore)
 BuildRequires:  pkgconfig(dtkwidget)
 BuildRequires:  pkgconfig(dtkgui)

++++++ fix-library-link.patch ++++++
diff -Nur image-editor-1.0.19/libimageviewer/CMakeLists.txt 
image-editor-1.0.19-new/libimageviewer/CMakeLists.txt
--- image-editor-1.0.19/libimageviewer/CMakeLists.txt   2022-08-08 
11:46:06.000000000 +0800
+++ image-editor-1.0.19-new/libimageviewer/CMakeLists.txt       2022-10-11 
20:41:27.350074683 +0800
@@ -93,7 +93,7 @@
 
 
 target_include_directories(${CMD_NAME} PUBLIC ${3rd_lib_INCLUDE_DIRS}  )
-target_link_libraries(imageviewer ${3rd_lib_LIBRARIES} freeimage )
+target_link_libraries(imageviewer ${3rd_lib_LIBRARIES} freeimage dl)
 
 include(GNUInstallDirs)
 configure_file(libimageviewer.pc.in ${PROJECT_BINARY_DIR}/libimageviewer.pc 
@ONLY)

Reply via email to