[arch-commits] Commit in mapnik/repos (4 files)

Felix Yan felixonmars at archlinux.org
Sun Nov 12 19:29:42 UTC 2017


    Date: Sunday, November 12, 2017 @ 19:29:41
  Author: felixonmars
Revision: 266642

archrelease: copy trunk to community-staging-x86_64

Added:
  mapnik/repos/community-staging-x86_64/
  mapnik/repos/community-staging-x86_64/PKGBUILD
    (from rev 266641, mapnik/trunk/PKGBUILD)
  mapnik/repos/community-staging-x86_64/icu59.patch
    (from rev 266641, mapnik/trunk/icu59.patch)
  mapnik/repos/community-staging-x86_64/mapnik.install
    (from rev 266641, mapnik/trunk/mapnik.install)

----------------+
 PKGBUILD       |   52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 icu59.patch    |   26 ++++++++++++++++++++++++++
 mapnik.install |   11 +++++++++++
 3 files changed, 89 insertions(+)

Copied: mapnik/repos/community-staging-x86_64/PKGBUILD (from rev 266641, mapnik/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-11-12 19:29:41 UTC (rev 266642)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: David Dent <thewinch at gmail.com>
+# Contributor: orbisvicis <orbisvicis at gmail.com>
+
+pkgname=mapnik
+pkgver=3.0.13
+pkgrel=8
+pkgdesc="Free Toolkit for developing mapping applications. Above all Mapnik is about rendering beautiful maps"
+arch=('i686' 'x86_64')
+url="http://mapnik.org/"
+license=('LGPL')
+depends=('boost-libs' 'icu' 'libpng' 'libjpeg-turbo' 'libtiff' 'freetype2'
+	 'libxml2' 'python2' 'proj' 'cairo' 'cairomm' 'python2-cairo'
+	 'postgresql-libs' 'postgis' 'gdal' 'curl' 'libtool')
+optdepends=('libxslt:         Web Map Service'
+            'python2-lxml:    Web Map Service'
+            'python2-pillow:  Web Map Service'
+            'python-nose:     Web Map Service'
+            'apache:          Web Map Service'
+            'mod_fastcgi:     Web Map Service - or:'
+            'mod_fcgid:       Web Map Service - or:'
+            'mod_wsgi2:       Web Map Service')
+makedepends=('scons' 'boost' 'git')
+install="mapnik.install"
+source=("https://github.com/$pkgname/$pkgname/releases/download/v$pkgver/$pkgname-v$pkgver.tar.bz2"
+        'icu59.patch')
+sha256sums=('d6213d514a0e3cd84d9bfcb6d97208d169ffcaae1f36250f6555655cdfe57bcc'
+            'b391a775f28ec9bc7d5d2a8ef429789d8c6158bdf8023f395501fbfc8137cc22')
+
+prepare() {
+  cd "$srcdir/$pkgname-v$pkgver"
+  patch -Np1 -i ../icu59.patch
+}
+
+build() {
+  cd "$srcdir/$pkgname-v$pkgver"
+  PYTHON=python2
+  scons configure \
+    PREFIX="/usr" \
+    INPUT_PLUGINS=all \
+    XMLPARSER=libxml2 \
+    DESTDIR="$pkgdir" \
+    CUSTOM_CXXFLAGS="-DBOOST_OPTIONAL_CONFIG_USE_OLD_IMPLEMENTATION_OF_OPTIONAL"
+  scons -j1 # $MAKEFLAGS
+}
+
+package(){
+  cd "$srcdir/$pkgname-v$pkgver"
+  scons install
+}

Copied: mapnik/repos/community-staging-x86_64/icu59.patch (from rev 266641, mapnik/trunk/icu59.patch)
===================================================================
--- community-staging-x86_64/icu59.patch	                        (rev 0)
+++ community-staging-x86_64/icu59.patch	2017-11-12 19:29:41 UTC (rev 266642)
@@ -0,0 +1,26 @@
+diff -upr mapnik-v3.0.13.orig/include/mapnik/text/harfbuzz_shaper.hpp mapnik-v3.0.13/include/mapnik/text/harfbuzz_shaper.hpp
+--- mapnik-v3.0.13.orig/include/mapnik/text/harfbuzz_shaper.hpp	2017-02-08 15:13:58.000000000 +0200
++++ mapnik-v3.0.13/include/mapnik/text/harfbuzz_shaper.hpp	2017-04-26 12:14:46.156921035 +0300
+@@ -55,11 +55,7 @@ static inline hb_script_t _icu_script_to
+ static inline const uint16_t * uchar_to_utf16(const UChar* src)
+ {
+    static_assert(sizeof(UChar) == sizeof(uint16_t),"UChar is eq size to uint16_t");
+-#if defined(_MSC_VER)
+    return reinterpret_cast<const uint16_t *>(src);
+-#else
+-   return src;
+-#endif
+ }
+ 
+ struct harfbuzz_shaper
+diff -upr mapnik-v3.0.13.orig/src/unicode.cpp mapnik-v3.0.13/src/unicode.cpp
+--- mapnik-v3.0.13.orig/src/unicode.cpp	2017-02-08 15:13:58.000000000 +0200
++++ mapnik-v3.0.13/src/unicode.cpp	2017-04-26 12:14:20.346507663 +0300
+@@ -30,6 +30,7 @@
+ #pragma GCC diagnostic push
+ #include <mapnik/warning_ignore.hpp>
+ #include <unicode/ucnv.h>
++#include <unicode/unistr.h>
+ #pragma GCC diagnostic pop
+ 
+ namespace mapnik {

Copied: mapnik/repos/community-staging-x86_64/mapnik.install (from rev 266641, mapnik/trunk/mapnik.install)
===================================================================
--- community-staging-x86_64/mapnik.install	                        (rev 0)
+++ community-staging-x86_64/mapnik.install	2017-11-12 19:29:41 UTC (rev 266642)
@@ -0,0 +1,11 @@
+post_install() {
+  /sbin/ldconfig
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}


More information about the arch-commits mailing list