[packages/GraphicsMagick] Up to 1.3.49

arekm arekm at pld-linux.org
Thu Oct 15 11:13:53 CEST 2026


commit 3f316a344c85227fd490d2415d89944b261d03f1
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Oct 15 11:12:25 2026 +0200

    Up to 1.3.49
    
    Fixes CVE-2025-55154 CVE-2026-25799 CVE-2026-28690 CVE-2026-30883
    CVE-2026-33535 CVE-2026-42050 CVE-2026-56379 CVE-2026-61464
    CVE-2026-61870 CVE-2026-103118

 GraphicsMagick-link.patch | 14 +++++++-------
 GraphicsMagick.spec       | 14 +++++---------
 2 files changed, 12 insertions(+), 16 deletions(-)
---
diff --git a/GraphicsMagick.spec b/GraphicsMagick.spec
index f79b4aa..b9438ad 100644
--- a/GraphicsMagick.spec
+++ b/GraphicsMagick.spec
@@ -2,7 +2,6 @@
 # Conditional build:
 %bcond_with	broken	# broken/dangerous coders (currently PSD)
 %bcond_without	fpx	# FlashPIX module (which uses fpx library)
-%bcond_with	gs	# PostScript support through ghostscript library (warning: breaks jpeg!)
 %bcond_without	jasper	# JPEG2000 module (which uses jasper library)
 %bcond_without	libjxl	# JPEG-XL module (which uses libjxl library)
 %bcond_without	cxx	# Magick++ library
@@ -21,29 +20,28 @@ Summary(ru.UTF-8):	Просмотр, конвертирование, обраб
 Summary(tr.UTF-8):	X altında resim gösterme, çevirme ve değişiklik yapma
 Summary(uk.UTF-8):	Перегляд, конвертування та обробка зображень під X Window
 Name:		GraphicsMagick
-Version:	1.3.45
-Release:	6
+Version:	1.3.49
+Release:	1
 License:	MIT
 Group:		X11/Applications/Graphics
 Source0:	https://downloads.sourceforge.net/graphicsmagick/%{name}-%{version}.tar.xz
-# Source0-md5:	5eb76e9af7b887a8828fce11aa1e2f1c
+# Source0-md5:	8658f5d02cd25fd5e0316081805738e1
 Patch0:		%{name}-link.patch
 Patch1:		%{name}-ldflags.patch
 URL:		http://www.graphicsmagick.org/
-BuildRequires:	autoconf >= 2.69
+BuildRequires:	autoconf >= 2.71
 BuildRequires:	automake >= 1:1.11
 BuildRequires:	bzip2-devel >= 1.0.1
 BuildRequires:	expat-devel >= 1.95.7
 BuildRequires:	freetype-devel >= 2.0.2-2
 %{?with_openmp:BuildRequires:	gcc >= 6:4.2}
-%{?with_gs:BuildRequires:	ghostscript-devel}
 %{?with_jasper:BuildRequires:	jasper-devel >= 1.900.1}
 BuildRequires:	jbigkit-devel >= 1.6
 BuildRequires:	lcms2-devel >= 2.0
 %{?with_libjxl:BuildRequires:	libbrotli-devel}
 %{?with_fpx:BuildRequires:	libfpx-devel >= 1.2.0.4-3}
 %{?with_openmp:BuildRequires:	libgomp-devel}
-BuildRequires:	libheif-devel
+BuildRequires:	libheif-devel >= 1.14.0
 BuildRequires:	libjpeg-turbo-devel >= 3.0
 %{?with_libjxl:BuildRequires:	libjxl-devel >= 0.8.0}
 BuildRequires:	libltdl-devel >= 2:2.2
@@ -621,10 +619,8 @@ find PerlMagick scripts www -type f -exec perl -pi -e 's=!%{_prefix}/local/bin/p
 	--enable-fast-install \
 	--enable-shared \
 	%{!?with_openmp:--disable-openmp} \
-	--without-dps \
 	--with-fpx%{!?with_fpx:=no} \
 	--with-gs-font-dir=%{_fontsdir}/Type1 \
-	--with-gslib%{!?with_gs:=no} \
 	--with-jp2%{!?with_jasper:=no} \
 	%{!?with_libjxl:--without-jxl} \
 	--with-magick_plus_plus%{!?with_cxx:=no} \
diff --git a/GraphicsMagick-link.patch b/GraphicsMagick-link.patch
index 11420c5..adf5014 100644
--- a/GraphicsMagick-link.patch
+++ b/GraphicsMagick-link.patch
@@ -1,11 +1,11 @@
---- GraphicsMagick-1.1.7/configure.ac.orig	2006-03-08 19:14:08.830531000 +0100
-+++ GraphicsMagick-1.1.7/configure.ac	2006-03-08 20:08:46.747388750 +0100
-@@ -1344,7 +1344,7 @@
- if test "$no_x" != 'yes'
- then
+--- GraphicsMagick-1.3.49/configure.ac.orig	2026-10-15 09:06:30.796134261 +0200
++++ GraphicsMagick-1.3.49/configure.ac	2026-10-15 09:06:30.799467594 +0200
+@@ -1991,7 +1991,7 @@
+ AC_PATH_XTRA
+ if test "$no_x" != 'yes' ; then
    LDFLAGS="$LDFLAGS $X_LIBS"
--  LIB_X11="$X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
-+  LIB_X11="-lX11 $X_EXTRA_LIBS"
+-  LIB_X11=`echo $X_PRE_LIBS -lX11 $X_EXTRA_LIBS | sed -e 's/  */ /g'`
++  LIB_X11=`echo -lX11 $X_EXTRA_LIBS | sed -e 's/  */ /g'`
    LIBS="$LIB_X11 $LIBS"
    CPPFLAGS="$CPPFLAGS $X_CFLAGS"
  
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/GraphicsMagick.git/commitdiff/3f316a344c85227fd490d2415d89944b261d03f1



More information about the pld-cvs-commit mailing list