Projects
home:rottame:vhosts-ng
ImageMagick6
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 3
View file
ImageMagick6.spec
Changed
@@ -440,6 +440,10 @@ Patch366: ImageMagick-xwd.c-update.patch # CVE-2019-11007 bsc#1132060 Patch367: ImageMagick-CVE-2019-11007.patch +# build with libjpeg-turbo 3 (Leap 16) +Patch368: ImageMagick-libjpeg-turbo3.patch +# build with autoconf 2.72 (Leap 16): empty -D_FILE_OFFSET_BITS= in LFS_CPPFLAGS +Patch369: ImageMagick-autoconf272-lfs.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %package -n perl-PerlMagick @@ -879,6 +883,10 @@ %patch -P 365 -p1 %patch -P 366 -p1 %patch -P 367 -p1 +%if 0%{?suse_version} >= 1600 +%patch -P 368 -p1 +%patch -P 369 -p1 +%endif %build %if %{debug_build} @@ -897,6 +905,8 @@ CHANGES=`stat --format="%y" %SOURCE1|cut --characters=1-10` # Use mtime of .changes for build time sed -i -e "s|^PACKAGE_RELEASE_DATE.*$|PACKAGE_RELEASE_DATE=\"$CHANGES\"|" version.sh +# bundled copy of AC_FUNC_FSEEKO uses _AC_SYS_LARGEFILE_MACRO_VALUE, removed in autoconf 2.72: use autoconf's own +rm -f m4/ac_func_fseeko.m4 autoreconf --force --install -v automake %configure --with-pic \
View file
ImageMagick-autoconf272-lfs.patch
Added
@@ -0,0 +1,14 @@ +autoconf 2.72 no longer sets ac_cv_sys_file_offset_bits: an empty value produced +-D_FILE_OFFSET_BITS= in LFS_CPPFLAGS (PerlMagick build). Treat it as 'no'. + +--- a/configure.ac ++++ b/configure.ac +@@ -558,7 +558,7 @@ + LFS_CPPFLAGS='' + if test "$enable_largefile" != no; then + case $ac_cv_sys_file_offset_bits in +- no) ++ no|'') + # nothing to do here as the host supports LFS fine + ;; + unknown)
View file
ImageMagick-libjpeg-turbo3.patch
Added
@@ -0,0 +1,24 @@ +libjpeg-turbo 3 defines D_LOSSLESS_SUPPORTED/C_LOSSLESS_SUPPORTED but does not +provide the old lossless libjpeg API (jpeg_info.process, JPROC_*, jpeg_simple_lossless): +use that API only with a non-turbo libjpeg. + +--- a/coders/jpeg.c ++++ b/coders/jpeg.c +@@ -1103,7 +1103,7 @@ + "Scale factor: %.20g",(double) scale_factor); + } + #if (JPEG_LIB_VERSION >= 61) && defined(D_PROGRESSIVE_SUPPORTED) +-#if defined(D_LOSSLESS_SUPPORTED) ++#if defined(D_LOSSLESS_SUPPORTED) && !defined(LIBJPEG_TURBO_VERSION_NUMBER) + image->interlace=jpeg_info.process == JPROC_PROGRESSIVE ? + JPEGInterlace : NoInterlace; + image->compression=jpeg_info.process == JPROC_LOSSLESS ? +@@ -2278,7 +2278,7 @@ + } + else + { +-#if !defined(C_LOSSLESS_SUPPORTED) ++#if !defined(C_LOSSLESS_SUPPORTED) || defined(LIBJPEG_TURBO_VERSION_NUMBER) + quality=100; + if (image->debug != MagickFalse) + (void) LogMagickEvent(CoderEvent,GetMagickModule(),"Quality: 100");
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.