Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gmic for openSUSE:Factory checked in 
at 2025-12-27 12:48:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gmic (Old)
 and      /work/SRC/openSUSE:Factory/.gmic.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gmic"

Sat Dec 27 12:48:32 2025 rev:50 rq:1324480 version:3.6.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/gmic/gmic.changes        2025-12-08 
11:55:48.678155501 +0100
+++ /work/SRC/openSUSE:Factory/.gmic.new.1928/gmic.changes      2025-12-27 
12:48:41.060590697 +0100
@@ -1,0 +2,24 @@
+Sun Dec 21 11:43:02 UTC 2025 - Marcus Rueckert <[email protected]>
+
+- bump memory constraint to 8GB to fix linking now that we build
+  more gmic targets in parallel
+
+-------------------------------------------------------------------
+Sat Dec 20 11:48:08 UTC 2025 - Marcus Rueckert <[email protected]>
+
+- add libcgmic subpackage for gmic-gegl-plugin
+
+-------------------------------------------------------------------
+Sat Dec 20 11:43:28 UTC 2025 - Marcus Rueckert <[email protected]>
+
+- Add fix-libc.patch - fix cross dependencies between the different
+  targets so that they properly build with -j > 1
+  https://discuss.pixls.us/t/gmic-gegl-release-0-1-0/54859/10
+
+-------------------------------------------------------------------
+Sat Dec 20 11:15:05 UTC 2025 - Marcus Rueckert <[email protected]>
+
+- Update to 3.6.5
+  https://discuss.pixls.us/t/on-the-road-to-3-7/52265/23
+
+-------------------------------------------------------------------
@@ -11 +35 @@
-  https://discuss.pixls.us/t/on-the-road-to-3-7/52265/13?u=darix
+  https://discuss.pixls.us/t/on-the-road-to-3-7/52265/13

Old:
----
  gmic_3.6.4.tar.gz

New:
----
  fix-libc.patch
  gmic_3.6.5.tar.gz

----------(New B)----------
  New:
- Add fix-libc.patch - fix cross dependencies between the different
  targets so that they properly build with -j > 1
----------(New E)----------

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

Other differences:
------------------
++++++ gmic.spec ++++++
--- /var/tmp/diff_new_pack.ygU30i/_old  2025-12-27 12:48:42.060631603 +0100
+++ /var/tmp/diff_new_pack.ygU30i/_new  2025-12-27 12:48:42.064631766 +0100
@@ -40,7 +40,7 @@
 %define gmic_datadir %{_datadir}/gmic
 
 Name:           gmic
-Version:        3.6.4
+Version:        3.6.5
 Release:        0
 Summary:        GREYC's Magick for Image Computing (denoise and others)
 # gmic-qt is GPL-3.0-or-later, zart is CECILL-2.0, libgmic and cli program are
@@ -53,6 +53,8 @@
 Patch0:         krita5.patch
 # PATCH-FEATURE-OPENSUSE
 Patch1:         0001-Find-the-local-gmic-library.patch
+# PATCH-FEATURE-OPENSUSE
+Patch2:         fix-libc.patch
 #
 # SECTION pkg_vcmp
 #
@@ -118,15 +120,24 @@
 Summary:        Shared library that belongs to gmic
 License:        CECILL-2.1
 
+%package -n libcgmic3
+Summary:        Shared library that belongs to gmic
+License:        CECILL-2.1
+
 %package -n libgmic-devel
 Summary:        Header and library from gmic for use in other C++ projects
 License:        CECILL-2.1
+Requires:       libcgmic3 = %{version}
 Requires:       libgmic3 = %{version}
 
 %description -n libgmic3
 This shared library allows using gmic functionality from other
 programs.
 
+%description -n libcgmic3
+This shared library allows using gmic functionality from other
+programs.
+
 %description -n libgmic-devel
 Header and library from gmic to needed to develop C++ code that
 uses the gmic functionality provided by the gmic library.
@@ -193,9 +204,9 @@
 # The file is moved post-install in a directory not owned by gimp
 sed -i 's#/usr/lib/gimp/2.0/plug-ins#%{gmic_datadir}#' src/gmic_stdlib.gmic
 
-# There's no concept of build order in the crappy Makefile provided
-EXTRA_CFLAGS='%{optflags}' NOSTRIP=1 %__make lib %{?_smp_mflags}
-EXTRA_CFLAGS='%{optflags}' NOSTRIP=1 %__make cli_shared %{?_smp_mflags}
+for target in lib cli_shared libc ; do
+  EXTRA_CFLAGS='%{optflags}' NOSTRIP=1 %__make ${target} %{?_smp_mflags}
+done
 
 # Build gmic{_gimp|_krita}_qt
 pushd gmic-qt
@@ -254,6 +265,7 @@
 popd
 
 %ldconfig_scriptlets -n libgmic3
+%ldconfig_scriptlets -n libcgmic3
 
 %files
 %doc README gmic-qt/README.md
@@ -281,11 +293,16 @@
 %license COPYING
 %{_libdir}/libgmic.so.*
 
+%files -n libcgmic3
+%license COPYING
+%{_libdir}/libcgmic.so.*
+
 %files -n libgmic-devel
 %{_includedir}/CImg.h
 %{_includedir}/gmic.h
 %{_includedir}/gmic_libc.h
 %{_libdir}/libgmic.so
+%{_libdir}/libcgmic.so
 
 %files bash-completion
 %dir %{_datadir}/bash-completion/completions

++++++ _constraints ++++++
--- /var/tmp/diff_new_pack.ygU30i/_old  2025-12-27 12:48:42.120634057 +0100
+++ /var/tmp/diff_new_pack.ygU30i/_new  2025-12-27 12:48:42.124634220 +0100
@@ -1,18 +1,20 @@
 <constraints>
  <hardware>
   <memory>
-   <size unit="G">4</size>
+   <size unit="G">8</size>
   </memory>
  </hardware>
+ <!--
   <overwrite>
     <conditions>
       <arch>ppc64le</arch>
     </conditions>
     <hardware>
      <memory>
-      <size unit="G">5</size>
+      <size unit="G">8</size>
      </memory>
     </hardware>
   </overwrite>
+-->
 </constraints>
 

++++++ fix-libc.patch ++++++
Index: gmic-3.6.5/src/Makefile
===================================================================
--- gmic-3.6.5.orig/src/Makefile
+++ gmic-3.6.5/src/Makefile
@@ -502,7 +502,7 @@ displayless:
 
 # CLI (shared)
 #--------------
-cli_shared:
+cli_shared: lib
        $(MAKE) "CFLAGS+=$(GMIC_STD_CFLAGS) $(OPT_CFLAGS)" 
"LIBS+=$(GMIC_STD_LIBS) $(OPT_LIBS) -lgmic" _lib _cli
        $(STRIP) gmic$(EXE)
 
@@ -546,7 +546,7 @@ libcgmic_files:
        fi
        @echo " done!"
 
-libcgmic.so: libcgmic.o
+libcgmic.so: libcgmic.o libgmic.o
        ar rcs libcgmic.a libcgmic.o
 ifeq ($(OS),Darwin)
        $(CXX) -dynamiclib -o libcgmic.$(SOVERSION).dylib -install_name 
$(USR)/lib/libcgmic.$(SOVERSION).dylib -compatibility_version $(SOVERSION) 
-current_version $(SVERSION) $(MANDATORY_CFLAGS) libcgmic.o libgmic.o $(LIBS)
@@ -569,8 +569,8 @@ endif
 libcgmic.o: gmic_libc.cpp CImg.h gmic_libc.h gmic.h
        $(CXX) -o libcgmic.o -c gmic_libc.cpp -Dgmic_core $(PIC) $(CFLAGS)
 
-use_libcgmic: use_libcgmic.c gmic_libc.h
-       $(CC) -std=c99 -o use_libcgmic use_libcgmic.c -lcgmic $(LIBS)
+use_libcgmic: use_libcgmic.c gmic_libc.h libcgmic.so
+       $(CC) -std=c99 -o use_libcgmic use_libcgmic.c -L. -lcgmic $(LIBS)
 
 # libcgmic (static)
 #-------------------

++++++ gmic_3.6.4.tar.gz -> gmic_3.6.5.tar.gz ++++++
/work/SRC/openSUSE:Factory/gmic/gmic_3.6.4.tar.gz 
/work/SRC/openSUSE:Factory/.gmic.new.1928/gmic_3.6.5.tar.gz differ: char 5, 
line 1

Reply via email to