summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-07-17 09:45:13 +0000
committernia <nia@pkgsrc.org>2019-07-17 09:45:13 +0000
commitd8c84f4e42588f52784df2f56c8b7cd37aea92dd (patch)
tree55cfcff2811e139c0b192bd44d537523845c347e
parent14e69e75ea5eb4d632c474f15388a218e222c1d3 (diff)
downloadpkgsrc-d8c84f4e42588f52784df2f56c8b7cd37aea92dd.tar.gz
graphite2: Update to 1.3.13
1.3.13 - Resolve minor spacing issue in rtl non-overlap kerning - python3 for graphite.py - Better fuzzing - Better building on windows 1.3.12 - Graphite no longer does dumb rendering for fonts with no smarts - Segment caching code removed. Anything attempting to use the segment cache gets given a regular face instead - Add libfuzzer support - Builds now require C++11 - Improvements to Windows 64 bit builds - Support different versions of python including 32 bit and python 3 - Various minor bug fixes
-rw-r--r--graphics/graphite2/Makefile10
-rw-r--r--graphics/graphite2/distinfo12
-rw-r--r--graphics/graphite2/patches/patch-src_CMakeLists.txt8
3 files changed, 16 insertions, 14 deletions
diff --git a/graphics/graphite2/Makefile b/graphics/graphite2/Makefile
index 3973d218637..4b0314f6b00 100644
--- a/graphics/graphite2/Makefile
+++ b/graphics/graphite2/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2019/04/25 07:32:57 maya Exp $
+# $NetBSD: Makefile,v 1.11 2019/07/17 09:45:13 nia Exp $
-DISTNAME= graphite2-1.3.11
-PKGREVISION= 2
+DISTNAME= graphite2-1.3.13
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=silgraphite/}
EXTRACT_SUFX= .tgz
@@ -11,10 +10,13 @@ HOMEPAGE= https://sourceforge.net/projects/silgraphite/
COMMENT= Cross-platform rendering for complex writing systems
LICENSE= gnu-lgpl-v2
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c c++11
USE_CMAKE= yes
USE_LIBTOOL= yes
+# C++11
+GCC_REQD+= 4.8
+
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Linux"
diff --git a/graphics/graphite2/distinfo b/graphics/graphite2/distinfo
index f3336d2c972..288f3c3a95e 100644
--- a/graphics/graphite2/distinfo
+++ b/graphics/graphite2/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.10 2019/01/24 13:42:55 tnn Exp $
+$NetBSD: distinfo,v 1.11 2019/07/17 09:45:13 nia Exp $
-SHA1 (graphite2-1.3.11.tgz) = 26b70897bac68868d964ef70002c384ec10b6572
-RMD160 (graphite2-1.3.11.tgz) = fa10a176d3e53d9d464384c828fc86e4bb2fb675
-SHA512 (graphite2-1.3.11.tgz) = fd5e997a30492a7668ad7afd78889e40cb37195cb8e11f42817ee00901b699d6a591e8230bf7a40abd1b218ae26588948a92b23e48c9fd03164fd5e2f4031afe
-Size (graphite2-1.3.11.tgz) = 4236760 bytes
-SHA1 (patch-src_CMakeLists.txt) = 97dad5f29114b9545eeb0a6fd6739103df9fb21b
+SHA1 (graphite2-1.3.13.tgz) = bd3494575a1ff1c5b4ea796444274dab1e5992c9
+RMD160 (graphite2-1.3.13.tgz) = a222c91d85d1353e76936d0239cf092aa870910f
+SHA512 (graphite2-1.3.13.tgz) = 44ac2f353c1a795a55c78b4ff72df35a3a5a94700356c0eefe105d66cd499ac93f9cfd5ab7b3ea842b575156cb8df19e0b57ff8b9dbaee8a576319ff5889c131
+Size (graphite2-1.3.13.tgz) = 6664757 bytes
+SHA1 (patch-src_CMakeLists.txt) = 24c0e719283156bb74c51a6029245b293e1c16ae
diff --git a/graphics/graphite2/patches/patch-src_CMakeLists.txt b/graphics/graphite2/patches/patch-src_CMakeLists.txt
index 7bd211ce19d..a0673a1394a 100644
--- a/graphics/graphite2/patches/patch-src_CMakeLists.txt
+++ b/graphics/graphite2/patches/patch-src_CMakeLists.txt
@@ -1,12 +1,12 @@
-$NetBSD: patch-src_CMakeLists.txt,v 1.6 2019/01/24 13:42:55 tnn Exp $
+$NetBSD: patch-src_CMakeLists.txt,v 1.7 2019/07/17 09:45:13 nia Exp $
Always install the libtool .la file.
---- src/CMakeLists.txt.orig 2018-03-05 04:05:42.000000000 +0000
+--- src/CMakeLists.txt.orig 2018-12-20 06:28:50.000000000 +0000
+++ src/CMakeLists.txt
-@@ -159,6 +159,12 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Wind
+@@ -151,6 +151,12 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Wind
COMPILE_DEFINITIONS "_SCL_SECURE_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;UNICODE;GRAPHITE2_EXPORTING")
- endif (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
+ endif()
+if (NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows" AND NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Linux" AND NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
+ target_link_libraries(graphite2 c)