[152642] trunk/dports/graphics/gd2
ryandesign at macports.org
ryandesign at macports.org
Wed Sep 14 04:30:21 PDT 2016
Revision: 152642
https://trac.macports.org/changeset/152642
Author: ryandesign at macports.org
Date: 2016-09-14 04:30:21 -0700 (Wed, 14 Sep 2016)
Log Message:
-----------
gd2: update to 2.2.3
Modified Paths:
--------------
trunk/dports/graphics/gd2/Portfile
trunk/dports/graphics/gd2/files/patch-src-gdft.c.diff
Removed Paths:
-------------
trunk/dports/graphics/gd2/files/patch-src-webpimg.c.diff
Modified: trunk/dports/graphics/gd2/Portfile
===================================================================
--- trunk/dports/graphics/gd2/Portfile 2016-09-14 10:55:03 UTC (rev 152641)
+++ trunk/dports/graphics/gd2/Portfile 2016-09-14 11:30:21 UTC (rev 152642)
@@ -2,12 +2,11 @@
# $Id$
PortSystem 1.0
-PortGroup bitbucket 1.0
+PortGroup github 1.0
PortGroup muniversal 1.0
-bitbucket.setup libgd gd-libgd 2.1.1 libgd-
+github.setup libgd libgd 2.2.3 gd-
name gd2
-revision 1
categories graphics
maintainers ryandesign
license gd
@@ -28,15 +27,13 @@
you are looking in the wrong place. If you are not \
a programmer, you are looking in the wrong place.
-bitbucket.tarball_from downloads
-distname libgd-${version}
+github.tarball_from releases
use_xz yes
-checksums rmd160 8d564caf9a953d344fb9a5e169d241510a2c71f1 \
- sha256 9ada1ed45594abc998ebc942cef12b032fbad672e73efc22bc9ff54f5df2b285
+checksums rmd160 e6c29133c2ea33c8ba16571892d2798ef0f5afea \
+ sha256 746b6cbd6769a22ff3ba6f5756f3512a769bd4cdf4695dff17f4867f25fa7d3c
-depends_build port:gettext \
- port:libvpx
+depends_build port:gettext
depends_lib port:expat \
port:freetype \
@@ -45,18 +42,19 @@
port:libiconv \
port:libpng \
port:tiff \
+ port:webp \
port:zlib
-patchfiles patch-src-gdft.c.diff \
- patch-src-webpimg.c.diff
+patchfiles patch-src-gdft.c.diff
configure.args-append --with-freetype=${prefix} \
--with-fontconfig=${prefix} \
--with-jpeg=${prefix} \
--with-png=${prefix} \
--with-tiff=${prefix} \
- --with-vpx=${prefix} \
+ --with-webp=${prefix} \
--with-zlib=${prefix} \
+ --without-liq \
--without-x \
--without-xpm
Modified: trunk/dports/graphics/gd2/files/patch-src-gdft.c.diff
===================================================================
--- trunk/dports/graphics/gd2/files/patch-src-gdft.c.diff 2016-09-14 10:55:03 UTC (rev 152641)
+++ trunk/dports/graphics/gd2/files/patch-src-gdft.c.diff 2016-09-14 11:30:21 UTC (rev 152642)
@@ -1,6 +1,6 @@
---- src/gdft.c.orig 2013-04-21 08:46:52.000000000 -0500
-+++ src/gdft.c 2013-05-07 02:06:21.000000000 -0500
-@@ -1327,7 +1327,7 @@
+--- src/gdft.c.orig 2016-07-21 03:32:27.000000000 -0500
++++ src/gdft.c 2016-09-14 04:25:52.000000000 -0500
+@@ -1471,7 +1471,7 @@
#include <fontconfig/fontconfig.h>
Deleted: trunk/dports/graphics/gd2/files/patch-src-webpimg.c.diff
===================================================================
--- trunk/dports/graphics/gd2/files/patch-src-webpimg.c.diff 2016-09-14 10:55:03 UTC (rev 152641)
+++ trunk/dports/graphics/gd2/files/patch-src-webpimg.c.diff 2016-09-14 11:30:21 UTC (rev 152642)
@@ -1,26 +0,0 @@
-Fix build with libvpx 1.4+
-https://github.com/libgd/libgd/commit/d41eb72cd4545c394578332e5c102dee69e02ee8
---- src/webpimg.c.orig 2015-01-06 01:16:03.000000000 -0800
-+++ src/webpimg.c 2015-05-31 19:11:49.000000000 -0700
-@@ -711,14 +711,14 @@
- codec_ctl(&enc, VP8E_SET_STATIC_THRESHOLD, 0);
- codec_ctl(&enc, VP8E_SET_TOKEN_PARTITIONS, 2);
-
-- vpx_img_wrap(&img, IMG_FMT_I420,
-+ vpx_img_wrap(&img, VPX_IMG_FMT_I420,
- y_width, y_height, 16, (uint8*)(Y));
-- img.planes[PLANE_Y] = (uint8*)(Y);
-- img.planes[PLANE_U] = (uint8*)(U);
-- img.planes[PLANE_V] = (uint8*)(V);
-- img.stride[PLANE_Y] = y_stride;
-- img.stride[PLANE_U] = uv_stride;
-- img.stride[PLANE_V] = uv_stride;
-+ img.planes[VPX_PLANE_Y] = (uint8*)(Y);
-+ img.planes[VPX_PLANE_U] = (uint8*)(U);
-+ img.planes[VPX_PLANE_V] = (uint8*)(V);
-+ img.stride[VPX_PLANE_Y] = y_stride;
-+ img.stride[VPX_PLANE_U] = uv_stride;
-+ img.stride[VPX_PLANE_V] = uv_stride;
-
- res = vpx_codec_encode(&enc, &img, 0, 1, 0, VPX_DL_BEST_QUALITY);
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160914/8b0388b6/attachment-0001.html>
More information about the macports-changes
mailing list