Mail archive
alpine-aports

[alpine-aports] [PATCH] testing/php7.1: switch back to bundled libgd

From: Valery Kartel <valery.kartel_at_gmail.com>
Date: Mon, 27 Feb 2017 09:37:34 +0200

---
do not use system libgd because of bug #6936
switch off gd xpm support due to a lot of x11 dependencies
rebuild with recent libwebp, libzip
add dummy check() function
---
 testing/php7.1/APKBUILD | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/testing/php7.1/APKBUILD b/testing/php7.1/APKBUILD
index 3234471035..717daa1c96 100644
--- a/testing/php7.1/APKBUILD
+++ b/testing/php7.1/APKBUILD
_at_@ -2,7 +2,7 @@
 # Maintainer: Valery Kartel <valery.kartel_at_gmail.com>
 pkgname=php7.1
 pkgver=7.1.2
-pkgrel=2
+pkgrel=3
 _apiver=20160303
 _suffix=${pkgname#php}
 _pkgreal=${pkgname%$_suffix}
_at_@ -18,7 +18,7 @@ provides="$replaces $pkgname-cli"
 makedepends="autoconf bison re2c apache2-dev libxml2-dev libxslt-dev libzip-dev bzip2-dev zlib-dev
 	aspell-dev enchant-dev expat-dev pcre-dev curl-dev gmp-dev icu-dev imap-dev gd-dev
 	libical-dev libressl-dev openldap-dev net-snmp-dev db-dev krb5-dev gdbm-dev sqlite-dev
-	freetds-dev mariadb-dev postgresql-dev unixodbc-dev freetype-dev tidyhtml-dev libxpm-dev
+	freetds-dev mariadb-dev postgresql-dev unixodbc-dev freetype-dev tidyhtml-dev libwebp-dev
 	libpng-dev libjpeg-turbo-dev libmcrypt-dev recode-dev libedit-dev gettext-dev file-dev
 	"
 source="http://php.net/distributions/$_pkgreal-$pkgver.tar.bz2
_at_@ -98,7 +98,8 @@ _build() {
 		--with-enchant=shared \
 		--enable-exif=shared \
 		--enable-ftp=shared \
-		--with-gd=shared,/usr --enable-gd-native-ttf --disable-gd-jis-conv \
+		--with-gd=shared --with-jpeg-dir --with-png-dir --with-webp-dir --with-xpm-dir=no \
+				--enable-gd-native-ttf --disable-gd-jis-conv \
 		--with-gettext=shared \
 		--with-gmp=shared \
 		--with-iconv=shared \
_at_@ -173,6 +174,10 @@ build() {
 	make
 }
 
+check() {
+	:
+}
+
 package() {
 	pkgdesc="$pkgdesc (command line interface)"
 
-- 
2.11.1
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Mon Feb 27 2017 - 09:37:34 GMT