[arch-commits] Commit in wt/repos (3 files)

Sergej Pupykin spupykin at archlinux.org
Mon Feb 27 17:31:49 UTC 2017


    Date: Monday, February 27, 2017 @ 17:31:49
  Author: spupykin
Revision: 214073

archrelease: copy trunk to community-staging-i686

Added:
  wt/repos/community-staging-i686/
  wt/repos/community-staging-i686/PKGBUILD
    (from rev 214072, wt/trunk/PKGBUILD)
  wt/repos/community-staging-i686/wt-boost-1.63.patch
    (from rev 214072, wt/trunk/wt-boost-1.63.patch)

---------------------+
 PKGBUILD            |   60 ++++++++++++++++++++++++++++++++++++++++++++++++++
 wt-boost-1.63.patch |   11 +++++++++
 2 files changed, 71 insertions(+)

Copied: wt/repos/community-staging-i686/PKGBUILD (from rev 214072, wt/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-02-27 17:31:49 UTC (rev 214073)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Denis Martinez <deuns.martinez at gmail.com>
+
+pkgname=wt
+pkgver=3.3.6
+_pkgver=3.3.6
+pkgrel=7
+pkgdesc="a C++ library and application server for developing and deploying web applications"
+arch=('i686' 'x86_64')
+url="http://www.webtoolkit.eu/"
+license=('GPL')
+depends=('boost-libs' 'libharu' 'graphicsmagick' 'pango' 'zlib')
+makedepends=('boost' 'cmake' 'postgresql-libs' 'fcgi' 'sqlite' 'mysql++' 'qt4' 'doxygen' 'mesa' 'glu')
+optdepends=('openssl: for SSL support in built-in webserver'
+	    'fcgi: for FastCGI support'
+	    'postgresql-libs: for PostgreSQL Dbo support'
+	    'sqlite: for Sqlite Dbo support'
+	    'mysql++: for the hangman example'
+	    'qt4: for the Wt/Qt interopability example (wtwithqt)')
+backup=('etc/wt/wt_config.xml')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/kdeforche/wt/archive/${_pkgver}.tar.gz"
+        wt-boost-1.63.patch)
+md5sums=('a5be5f7efa93c4eae7f1d8812ff78c70'
+         '87a0c637d7014e764892686891393d6b')
+
+prepare() {
+  cd $pkgname-$_pkgver
+  # Fix build with boost 1.63 https://github.com/emweb/wt/pull/102
+  patch -p0 -i ../wt-boost-1.63.patch
+}
+
+build() {
+  cd "$srcdir"/${pkgname}-${_pkgver}
+
+  [[ -d build ]] && rm -r build
+  mkdir -p build && cd build
+  cmake \
+      -DCONNECTOR_HTTP=ON \
+      -DWT_CPP_11_MODE=-std=c++11 \
+      -DCONFIGDIR=/etc \
+      -DWT_WRASTERIMAGE_IMPLEMENTATION=GraphicsMagick \
+      -DCMAKE_INSTALL_PREFIX=/usr \
+      -DWEBUSER=http \
+      -DWEBGROUP=http \
+      -DUSE_SYSTEM_SQLITE3=ON \
+      -DINSTALL_EXAMPLES=ON \
+      -DBUILD_EXAMPLES=ON \
+      -DINSTALL_FINDWT_CMAKE_FILE=ON \
+      ..
+  # build examples again when they are compatible with boost 1.58
+  make
+}
+
+package() {
+  cd "$srcdir"/${pkgname}-${_pkgver}/build
+
+  make DESTDIR="$pkgdir" install
+}

Copied: wt/repos/community-staging-i686/wt-boost-1.63.patch (from rev 214072, wt/trunk/wt-boost-1.63.patch)
===================================================================
--- community-staging-i686/wt-boost-1.63.patch	                        (rev 0)
+++ community-staging-i686/wt-boost-1.63.patch	2017-02-27 17:31:49 UTC (rev 214073)
@@ -0,0 +1,11 @@
+--- src/Wt/Render/CssParser.C.orig	2016-07-13 12:27:26 UTC
++++ src/Wt/Render/CssParser.C
+@@ -372,7 +372,7 @@ CssGrammer<Iterator>::CssGrammer()
+   on_error<qi::fail>
+   (
+     rulesetArray_,
+-    error_report(qi::_2, qi::_3, qi::_4, "styleSheetText()", fs_error_tag())
++    error_report(qi::_2, qi::_3, qi::_4, phoenix::val("styleSheetText()"), fs_error_tag())
+   );
+ 
+ }



More information about the arch-commits mailing list