[arch-commits] Commit in libtiff/trunk (PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Sun Jul 31 16:18:32 UTC 2022


    Date: Sunday, July 31, 2022 @ 16:18:32
  Author: dvzrv
Revision: 451790

upgpkg: libtiff 4.4.0-3: Rebuild to add symbol version to shared library.

Add configure option to build with symbol version added to shared library: https://bugs.archlinux.org/task/71330
Add debug package.
Retab file to remove tab poisoning.

Modified:
  libtiff/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-31 14:38:59 UTC (rev 451789)
+++ PKGBUILD	2022-07-31 16:18:32 UTC (rev 451790)
@@ -3,7 +3,7 @@
 
 pkgname=libtiff
 pkgver=4.4.0
-pkgrel=2
+pkgrel=3
 pkgdesc='Library for manipulation of TIFF images'
 url='http://www.simplesystems.org/libtiff/'
 arch=('x86_64')
@@ -12,6 +12,7 @@
 makedepends=('freeglut' 'glu' 'mesa' 'jbigkit')
 optdepends=('freeglut: for using tiffgt')
 provides=('libtiff.so' 'libtiffxx.so')
+options=(debug)
 source=(
   https://download.osgeo.org/libtiff/tiff-${pkgver}.tar.gz{,.sig}
   # fix CVE-2022-2056 / CVE-2022-2057 / CVE-2022-2058: https://bugs.archlinux.org/task/75360
@@ -25,7 +26,7 @@
         '2dc47541b05e6c674c3fa3f7109528d7001a494af937fc57f1862ce75dc467dd4acd6892de1bd017d182b1dcbb80242cffa27f0f3ebde3ed57ee13df5b733821')
 validpgpkeys=(
   'EBDFDB21B020EE8FD151A88DE301047DE1198975' # Bob Friesenhahn <bfriesen at simple.dallas.tx.us>
-	'B1FA7D81EEB8E66399178B9733EBBFC47B3DD87D' # Even Rouault <even.rouault at spatialys.com>
+  'B1FA7D81EEB8E66399178B9733EBBFC47B3DD87D' # Even Rouault <even.rouault at spatialys.com>
 )
 
 prepare() {
@@ -45,8 +46,9 @@
   cd tiff-${pkgver}
   ./configure \
     --prefix=/usr \
-	  --sysconfdir=/etc \
-	  --mandir=/usr/share/man \
+    --sysconfdir=/etc \
+    --enable-ld-version-script \
+    --mandir=/usr/share/man \
     --with-docdir=/usr/share/doc/${pkgname}
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make



More information about the arch-commits mailing list