public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Remi Collet <remi@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/ImageMagick] epel9: add upstream patch to revert soname change
Date: Wed, 22 Jul 2026 08:17:30 GMT	[thread overview]
Message-ID: <178470825073.1.7052276122990234830.rpms-ImageMagick-567534542df2@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/ImageMagick
Branch : epel9
Commit : 567534542df25b4d8d517ef84465af67524332cc
Author : Remi Collet <remi@fedoraproject.org>
Date   : 2026-07-22T10:17:23+02:00
Stats  : +73/-3 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/ImageMagick/c/567534542df25b4d8d517ef84465af67524332cc?branch=epel9

Log:
add upstream patch to revert soname change

---
diff --git a/0001-Fix-437-revert-soname-change.patch b/0001-Fix-437-revert-soname-change.patch
new file mode 100644
index 0000000..39a6509
--- /dev/null
+++ b/0001-Fix-437-revert-soname-change.patch
@@ -0,0 +1,65 @@
+From 9342d1e9687f0430538d93edc949ac638395be74 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Wed, 24 Jun 2026 07:45:10 +0200
+Subject: [PATCH] Fix #437 revert soname change
+
+---
+ configure                | 4 ++--
+ m4/version.m4            | 4 ++--
+ magick/libMagickCore.map | 2 +-
+ wand/libMagickWand.map   | 2 +-
+ 4 files changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/configure b/configure
+index 5c32fcc57..2b6fd5223 100755
+--- a/configure
++++ b/configure
+@@ -5338,8 +5338,8 @@ MAGICK_GIT_REVISION=c1e211d2b:20260621
+ 
+ 
+ # Substitute library versioning
+-MAGICK_LIBRARY_CURRENT=8
+-MAGICK_LIBRARY_REVISION=0
++MAGICK_LIBRARY_CURRENT=7
++MAGICK_LIBRARY_REVISION=1
+ MAGICK_LIBRARY_AGE=0
+ MAGICK_LIBRARY_CURRENT_MIN=`expr $MAGICK_LIBRARY_CURRENT - $MAGICK_LIBRARY_AGE`
+ 
+diff --git a/m4/version.m4 b/m4/version.m4
+index d21a5b8d4..e9f11d0e6 100644
+--- a/m4/version.m4
++++ b/m4/version.m4
+@@ -52,8 +52,8 @@ m4_define([magick_tarname], [ImageMagick])
+ # files if you raise these versions.
+ #
+ # Bump the minor release # whenever there is an SOVersion bump.
+-m4_define([magick_library_current], [8])
+-m4_define([magick_library_revision], [0])
++m4_define([magick_library_current], [7])
++m4_define([magick_library_revision], [1])
+ m4_define([magick_library_age], [0])
+ 
+ m4_define([magickpp_library_current], [9])
+diff --git a/magick/libMagickCore.map b/magick/libMagickCore.map
+index 823a45ffa..85297c9a6 100644
+--- a/magick/libMagickCore.map
++++ b/magick/libMagickCore.map
+@@ -1,4 +1,4 @@
+- VERS_8.0 {
++ VERS_7.0 {
+      	 global:
+      		 *;
+      };
+diff --git a/wand/libMagickWand.map b/wand/libMagickWand.map
+index 823a45ffa..85297c9a6 100644
+--- a/wand/libMagickWand.map
++++ b/wand/libMagickWand.map
+@@ -1,4 +1,4 @@
+- VERS_8.0 {
++ VERS_7.0 {
+      	 global:
+      		 *;
+      };
+-- 
+2.54.0
+

diff --git a/ImageMagick.spec b/ImageMagick.spec
index 4679da3..92766dc 100644
--- a/ImageMagick.spec
+++ b/ImageMagick.spec
@@ -10,7 +10,7 @@ Epoch:          1
 Epoch:          0
 %endif
 Version:        6.9.13.52
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        An X application for displaying and manipulating images
 
 %global VER %(foo=%{version}; echo ${foo:0:6})
@@ -19,6 +19,8 @@ License:        ImageMagick
 Url:            https://legacy.imagemagick.org/
 Source0:        https://download.imagemagick.org/archive/%{name}-%{VER}-%{Patchlevel}.tar.xz
 
+Patch0:         0001-Fix-437-revert-soname-change.patch
+
 BuildRequires:  pkgconfig(bzip2), pkgconfig(freetype2), pkgconfig(libjpeg), pkgconfig(libpng)
 BuildRequires:  pkgconfig(libtiff-4), giflib-devel, pkgconfig(zlib), perl-devel >= 5.8.1
 BuildRequires:  perl-generators
@@ -277,8 +279,8 @@ rm PerlMagick/demo/Generic.ttf
 
 %files libs
 %doc LICENSE NOTICE AUTHORS.txt QuickStart.txt
-%{_libdir}/libMagickCore-6.Q16.so.8*
-%{_libdir}/libMagickWand-6.Q16.so.8*
+%{_libdir}/libMagickCore-6.Q16.so.7*
+%{_libdir}/libMagickWand-6.Q16.so.7*
 %{_libdir}/%{name}-%{VER}
 %{_datadir}/%{name}-6
 %exclude %{_libdir}/%{name}-%{VER}/modules-Q16/coders/djvu.*
@@ -338,6 +340,9 @@ rm PerlMagick/demo/Generic.ttf
 %doc PerlMagick/demo/ PerlMagick/Changelog PerlMagick/README.txt
 
 %changelog
+* Wed Jul 22 2026 Remi Collet <remi@fedoraproject.org>  - 1:6.9.13.52-2
+- add upstream patch to revert soname change
+
 * Mon Jul 13 2026 Luya Tshimbalanga <luya@fedoraproject.org> - 1:6.9.13.52-1
 - Update ImageMagick to 6.9.13.52
 

                 reply	other threads:[~2026-07-22  8:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178470825073.1.7052276122990234830.rpms-ImageMagick-567534542df2@fedoraproject.org \
    --to=remi@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox