Bug#931967: buster-pu: package libtk-img/1:1.4.8+dfsg-1+deb10u1 pre-approval
On Tue, Aug 20, 2019 at 11:20 PM Adam D. Barratt wrote: > > OK, thanks. Please go ahead. Done. Cheers! -- Sergei Golovan
Bug#931967: buster-pu: package libtk-img/1:1.4.8+dfsg-1+deb10u1 pre-approval
Control: tags -1 + confirmed On Mon, 2019-07-29 at 10:37 +0300, Sergei Golovan wrote: > Hi Adam, > > On Fri, Jul 26, 2019 at 10:32 PM Adam D. Barratt > wrote: > > On 2019-07-13 01:19, Sergei Golovan wrote: > > > I'd like to fix #931422 (see [1]) for buster (the bug is already > > > fixed > > > in unstable and prospectively in testing). > > > > > > The diff with the current 1:1.4.8+dfsg-1 is attaced, it's fairly > > > small. > > > > What are the implications of the change on functionality and > > consumers > > of the library? > > To my knowledge, the functionality doesn't change. It definitely > doesn't change on a script level, > on a C level there are a few internal symbols that won't be available > in the fixed library (e.g. TkimgTIFFInitJpeg), though they aren't > exported, they aren't listed in `objdump -T libtkimgtiff*.so`, > and they aren't supposed to be used by a caller to this library (and > noone calls them indeed). OK, thanks. Please go ahead. Regards, Adam
Bug#931967: buster-pu: package libtk-img/1:1.4.8+dfsg-1+deb10u1 pre-approval
Hi Adam, On Fri, Jul 26, 2019 at 10:32 PM Adam D. Barratt wrote: > On 2019-07-13 01:19, Sergei Golovan wrote: > > I'd like to fix #931422 (see [1]) for buster (the bug is already fixed > > in unstable and prospectively in testing). > > > > The diff with the current 1:1.4.8+dfsg-1 is attaced, it's fairly small. > > What are the implications of the change on functionality and consumers > of the library? To my knowledge, the functionality doesn't change. It definitely doesn't change on a script level, on a C level there are a few internal symbols that won't be available in the fixed library (e.g. TkimgTIFFInitJpeg), though they aren't exported, they aren't listed in `objdump -T libtkimgtiff*.so`, and they aren't supposed to be used by a caller to this library (and noone calls them indeed). > > > Also, I'd like to ask if I should make a source-only or binary upload > > to > > stable (and/or oldstable) now? > > Source-only would be preferred, so long as the .changes filename is > sensible (i.e. *not* _amd64.changes when no amd64 binaries are actually > included). I see, thank you for the info. > > If the issue also affects stretch and you would like to update the > package there, please open a separate appropriately-tagged request to > discuss that. Yes, I did open a separate report, and you've already answered to it. In fact, the original bug was reported to stretch. Cheers! -- Sergei Golovan
Bug#931967: buster-pu: package libtk-img/1:1.4.8+dfsg-1+deb10u1 pre-approval
Control: tags -1 + moreinfo On 2019-07-13 01:19, Sergei Golovan wrote: I'd like to fix #931422 (see [1]) for buster (the bug is already fixed in unstable and prospectively in testing). The diff with the current 1:1.4.8+dfsg-1 is attaced, it's fairly small. What are the implications of the change on functionality and consumers of the library? Also, I'd like to ask if I should make a source-only or binary upload to stable (and/or oldstable) now? Source-only would be preferred, so long as the .changes filename is sensible (i.e. *not* _amd64.changes when no amd64 binaries are actually included). If the issue also affects stretch and you would like to update the package there, please open a separate appropriately-tagged request to discuss that. Regards, Adam
Bug#931967: buster-pu: package libtk-img/1:1.4.8+dfsg-1+deb10u1 pre-approval
Package: release.debian.org Severity: normal Tags: buster User: release.debian@packages.debian.org Usertags: pu Hi release team, I'd like to fix #931422 (see [1]) for buster (the bug is already fixed in unstable and prospectively in testing). The diff with the current 1:1.4.8+dfsg-1 is attaced, it's fairly small. Also, I'd like to ask if I should make a source-only or binary upload to stable (and/or oldstable) now? -- System Information: Debian Release: 10.0 APT prefers stable-debug APT policy: (500, 'stable-debug'), (500, 'oldoldstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental'), (1, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-5-amd64 (SMP w/12 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) diff -Nru libtk-img-1.4.8+dfsg/debian/changelog libtk-img-1.4.8+dfsg/debian/changelog --- libtk-img-1.4.8+dfsg/debian/changelog 2019-02-07 14:11:34.0 +0300 +++ libtk-img-1.4.8+dfsg/debian/changelog 2019-07-12 16:35:27.0 +0300 @@ -1,3 +1,10 @@ +libtk-img (1:1.4.8+dfsg-1+deb10u1) buster; urgency=medium + + * Switch from the internal copies of Jpeg, Zlib and PixarLog codecs to the +libtiff ones (closes: #931422). + + -- Sergei Golovan Fri, 12 Jul 2019 16:35:27 +0300 + libtk-img (1:1.4.8+dfsg-1) unstable; urgency=medium * New upstream release. diff -Nru libtk-img-1.4.8+dfsg/debian/patches/libtiff.diff libtk-img-1.4.8+dfsg/debian/patches/libtiff.diff --- libtk-img-1.4.8+dfsg/debian/patches/libtiff.diff2019-02-07 14:11:34.0 +0300 +++ libtk-img-1.4.8+dfsg/debian/patches/libtiff.diff2019-07-12 16:35:27.0 +0300 @@ -327,6 +327,21 @@ TIFFTileRowSize && TIFFScanlineSize && _TIFFsetByteArray && TIFFVSetField && TIFFSwabArrayOfShort ) { +@@ -125,14 +125,10 @@ + if (Zlibtcl_InitStubs(interp, ZLIBTCL_VERSION, 0) == NULL) { + return TCL_ERROR; + } +-TIFFRegisterCODEC (COMPRESSION_DEFLATE, "Deflate", TkimgTIFFInitZip); +-TIFFRegisterCODEC (COMPRESSION_ADOBE_DEFLATE, "AdobeDeflate", TkimgTIFFInitZip); + + if (Jpegtcl_InitStubs(interp, JPEGTCL_VERSION, 0) == NULL) { + return TCL_ERROR; + } +-TIFFRegisterCODEC (COMPRESSION_JPEG, "JPEG", TkimgTIFFInitJpeg); +-TIFFRegisterCODEC (COMPRESSION_PIXARLOG, "PixarLog", TkimgTIFFInitPixar); + } + } + return TCL_OK; --- a/tiff/tiffJpeg.c +++ b/tiff/tiffJpeg.c @@ -1599,7 +1599,7 @@ @@ -360,3 +375,25 @@ sp->vgetparent = tif->tif_tagmethods.vgetfield; tif->tif_tagmethods.vgetfield = ZIPVGetField; /* hook for codec tags */ sp->vsetparent = tif->tif_tagmethods.vsetfield; +--- a/tiff/configure b/tiff/configure +@@ -6719,7 +6719,7 @@ + #--- + + +-vars="tiff.c tiffJpeg.c tiffZip.c tiffPixar.c" ++vars="tiff.c" + for i in $vars; do + case $i in + \$*) +--- a/tiff/configure.in b/tiff/configure.in +@@ -75,7 +75,7 @@ + # and PKG_TCL_SOURCES. + #--- + +-TEA_ADD_SOURCES([tiff.c tiffJpeg.c tiffZip.c tiffPixar.c]) ++TEA_ADD_SOURCES([tiff.c]) + TEA_ADD_HEADERS([]) + TEA_ADD_INCLUDES([-I\"`\${CYGPATH} \${srcdir}`\"]) + TEA_ADD_INCLUDES([-I\"`\${CYGPATH} \${tkimg_SRC_PATH}`\"])