Accepting request 1111461 from graphics
OBS-URL: https://build.opensuse.org/request/show/1111461 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tiff?expand=0&rev=92
This commit is contained in:
commit
432a8ed212
@ -1,18 +0,0 @@
|
||||
--- tiff-4.5.0/tools/tiff2pdf.c.orig 2023-01-04 09:52:13.665734351 +0100
|
||||
+++ tiff-4.5.0/tools/tiff2pdf.c 2023-01-04 09:53:13.922053942 +0100
|
||||
@@ -1435,6 +1435,15 @@
|
||||
t2p->t2p_error = T2P_ERR_ERROR;
|
||||
return;
|
||||
}
|
||||
+ if(t2p->tiff_compression != COMPRESSION_LZW &&
|
||||
+ t2p->tiff_compression != COMPRESSION_NONE){
|
||||
+ TIFFWarning(
|
||||
+ TIFF2PDF_MODULE,
|
||||
+ "%s is not compressed with LZW or NONE.\n"
|
||||
+ "tiff2pdf result may be incorrect in that case.\n"
|
||||
+ "Consider to use tiffcp(1) to change compress algorithm first.",
|
||||
+ TIFFFileName(input) );
|
||||
+ }
|
||||
if (TIFFIsCODECConfigured(t2p->tiff_compression) == 0)
|
||||
{
|
||||
TIFFError(TIFF2PDF_MODULE,
|
@ -1,6 +1,8 @@
|
||||
--- tiff-4.5.0/libtiff/tiffiop.h.orig 2023-01-04 09:58:24.947703675 +0100
|
||||
+++ tiff-4.5.0/libtiff/tiffiop.h 2023-01-04 09:57:09.507303516 +0100
|
||||
@@ -257,7 +257,7 @@
|
||||
Index: tiff-4.6.0/libtiff/tiffiop.h
|
||||
===================================================================
|
||||
--- tiff-4.6.0.orig/libtiff/tiffiop.h
|
||||
+++ tiff-4.6.0/libtiff/tiffiop.h
|
||||
@@ -256,7 +256,7 @@ struct TIFFOpenOptions
|
||||
#define TIFFWriteFile(tif, buf, size) \
|
||||
((*(tif)->tif_writeproc)((tif)->tif_clientdata, (buf), (size)))
|
||||
#define TIFFSeekFile(tif, off, whence) \
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3c080867114c26edab3129644a63b708028a90514b7fe3126e38e11d24f9f88a
|
||||
size 2228040
|
Binary file not shown.
BIN
tiff-4.6.0.tar.xz
(Stored with Git LFS)
Normal file
BIN
tiff-4.6.0.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
tiff-4.6.0.tar.xz.sig
Normal file
BIN
tiff-4.6.0.tar.xz.sig
Normal file
Binary file not shown.
35
tiff.changes
35
tiff.changes
@ -1,3 +1,38 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 15 05:55:34 UTC 2023 - Paolo Stivanin <info@paolostivanin.com>
|
||||
|
||||
- Update to version 4.6.0:
|
||||
* API/ABI breaks: none
|
||||
* WebP decoder: validate WebP blob width, height, band count against
|
||||
TIFF parameters to avoid use of uninitialized variable, or decoding
|
||||
corrupted content without explicit error (fixes issue #581, issue #582).
|
||||
* WebP codec: turn exact mode when creating lossless files to avoid
|
||||
altering R,G,B values in areas where alpha=0
|
||||
* Fix TransferFunction writing of only two transfer functions.
|
||||
* TIFFReadDirectoryCheckOrder: avoid integer overflow. When it occurs,
|
||||
it should be harmless in practice though
|
||||
* tiffcp: remove -i option (ignore errors)
|
||||
* This version removes a big number of utilities that have suffered from
|
||||
lack of maintenance over the years and were the source of various
|
||||
reported security issues:
|
||||
+ fax2ps
|
||||
+ fax2tiff
|
||||
+ pal2rgb
|
||||
+ ppm2tiff
|
||||
+ raw2tiff
|
||||
+ rgb2ycbcr
|
||||
+ thumbnail
|
||||
+ tiff2bw
|
||||
+ tiff2rgba
|
||||
+ tiffcmp
|
||||
+ tiffcrop
|
||||
+ tiffdither
|
||||
+ tiffgt
|
||||
+ tiffmedian
|
||||
+ tiff2ps
|
||||
+ tiff2pdf
|
||||
- Remove no longer needed tiff-4.0.3-compress-warning.patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 20 07:16:56 UTC 2023 - Martin Pluskal <mpluskal@suse.com>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
%define asan_build 0
|
||||
%define debug_build 0
|
||||
Name: tiff
|
||||
Version: 4.5.1
|
||||
Version: 4.6.0
|
||||
Release: 0
|
||||
Summary: Tools for Converting from and to the Tagged Image File Format
|
||||
License: HPND
|
||||
@ -31,8 +31,6 @@ Source2: README.SUSE
|
||||
Source3: baselibs.conf
|
||||
Source99: tiff.keyring
|
||||
Patch0: tiff-4.0.3-seek.patch
|
||||
# http://bugzilla.maptools.org/show_bug.cgi?id=2442
|
||||
Patch1: tiff-4.0.3-compress-warning.patch
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libjbig-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
@ -95,11 +93,6 @@ done
|
||||
cp %{SOURCE2} .
|
||||
rm -rf %{buildroot}%{_datadir}/doc/tiff*
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
# remove pal2rgb, bsc#1071031
|
||||
for tool in pal2rgb; do
|
||||
rm %{buildroot}%{_bindir}/$tool
|
||||
rm %{buildroot}%{_mandir}/man1/$tool.1
|
||||
done
|
||||
|
||||
%check
|
||||
%if %{asan_build}
|
||||
|
Loading…
Reference in New Issue
Block a user