[arch-commits] Commit in graphite/trunk (PKGBUILD pango-graphite.install)

andyrtr at archlinux.org andyrtr at archlinux.org
Fri Dec 21 19:49:15 UTC 2012


    Date: Friday, December 21, 2012 @ 14:49:15
  Author: andyrtr
Revision: 173710

upgpkg: graphite 1:1.2.0-1

upstream update 1.2.0

Modified:
  graphite/trunk/PKGBUILD
Deleted:
  graphite/trunk/pango-graphite.install

------------------------+
 PKGBUILD               |   18 ++++++++++++------
 pango-graphite.install |   12 ------------
 2 files changed, 12 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-12-21 19:18:05 UTC (rev 173709)
+++ PKGBUILD	2012-12-21 19:49:15 UTC (rev 173710)
@@ -2,30 +2,36 @@
 # Maintainer: AndyRTR <andyrtr at archlinux.org>
 
 pkgname=graphite
-pkgver=1.0.3
+pkgver=1.2.0
 pkgrel=1
 epoch=1
 arch=('i686' 'x86_64')
-url="http://graphite.sil.org/"
+url="http://projects.palaso.org/projects/graphitedev"
 pkgdesc='reimplementation of the SIL Graphite text processing engine'
-license=('custom_SIL Dual license')
+license=('LGPL' 'GPL' 'custom')
 depends=('gcc-libs')
-makedepends=('cmake' 'freetype2')
+makedepends=('cmake' 'freetype2' 'python2') 
+# 'doxygen' 'texlive-latexextra' 'graphviz' 'asciidoc' 'perl-module-build' 'icu') - only for docs - target doesn't install properly
 options=('!libtool' '!emptydirs')
 source=("http://downloads.sourceforge.net/project/silgraphite/graphite2/graphite2-${pkgver}.tgz")
-md5sums=('3bf481ca95109b14435125c0dd1f2217')
+md5sums=('f5ef3f7f10fa8c3542c6a085a233080b')
 
 build() {
   cd "${srcdir}"
+  sed -i "s:\/usr\/bin\/python:\/usr\/bin\/python2:" graphite2-${pkgver}/tests/{jsoncmp,fuzztest,defuzz,corrupt.py}
   mkdir build
   cd build
   cmake -G "Unix Makefiles" ../graphite2-${pkgver} \
-	-DCMAKE_INSTALL_PREFIX=/usr
+	-DCMAKE_INSTALL_PREFIX=/usr \
+	-DCMAKE_BUILD_TYPE:STRING=Release \
+	-DGRAPHITE2_COMPARE_RENDERER=OFF
   make
+  make docs
 }
 
 check() {
   cd "${srcdir}"/build
+  sed -i "s:python:python2:g" tests/CTestTestfile.cmake
   ctest
 }
 

Deleted: pango-graphite.install
===================================================================
--- pango-graphite.install	2012-12-21 19:18:05 UTC (rev 173709)
+++ pango-graphite.install	2012-12-21 19:49:15 UTC (rev 173710)
@@ -1,12 +0,0 @@
-post_install() {
-	usr/bin/pango-querymodules >etc/pango/pango.modules
-}
-
-post_upgrade() {
-	post_install $1
-}
-
-pre_remove() {
-        post_install $1
-}
-




More information about the arch-commits mailing list