[arch-commits] Commit in graphviz/repos (8 files)

Gaetan Bisson bisson at nymeria.archlinux.org
Wed Oct 23 01:47:36 UTC 2013


    Date: Wednesday, October 23, 2013 @ 03:47:36
  Author: bisson
Revision: 197142

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  graphviz/repos/testing-i686/
  graphviz/repos/testing-i686/PKGBUILD
    (from rev 197141, graphviz/trunk/PKGBUILD)
  graphviz/repos/testing-i686/dotty.patch
    (from rev 197141, graphviz/trunk/dotty.patch)
  graphviz/repos/testing-i686/install
    (from rev 197141, graphviz/trunk/install)
  graphviz/repos/testing-x86_64/
  graphviz/repos/testing-x86_64/PKGBUILD
    (from rev 197141, graphviz/trunk/PKGBUILD)
  graphviz/repos/testing-x86_64/dotty.patch
    (from rev 197141, graphviz/trunk/dotty.patch)
  graphviz/repos/testing-x86_64/install
    (from rev 197141, graphviz/trunk/install)

----------------------------+
 testing-i686/PKGBUILD      |   53 +++++++++++++++++++++++++++++++++++++++++++
 testing-i686/dotty.patch   |   21 +++++++++++++++++
 testing-i686/install       |   12 +++++++++
 testing-x86_64/PKGBUILD    |   53 +++++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/dotty.patch |   21 +++++++++++++++++
 testing-x86_64/install     |   12 +++++++++
 6 files changed, 172 insertions(+)

Copied: graphviz/repos/testing-i686/PKGBUILD (from rev 197141, graphviz/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2013-10-23 01:47:36 UTC (rev 197142)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: kevin <kevin at archlinux.org>
+# Contributor: John Proctor <jproctor at prium.net>
+
+pkgname=graphviz
+pkgver=2.34.0
+pkgrel=2
+pkgdesc='Graph visualization software'
+url='http://www.graphviz.org/'
+license=('CPL')
+arch=('i686' 'x86_64')
+depends=('libltdl' 'gd' 'librsvg' 'libxaw' 'ghostscript' 'pango' 'gts')
+makedepends=('swig' 'mono' 'guile' 'lua51' 'ocaml' 'perl' 'php' 'python2' 'r' 'tk' 'qt4')
+optdepends=('mono: sharp bindings'
+            'guile: guile bindings'
+            'lua51: lua bindings'
+            'ocaml: ocaml bindings'
+            'perl: perl bindings'
+            'php: php bindings'
+            'python2: python bindings'
+            'r: r bindings'
+            'tcl: tcl bindings'
+            'qt4: gvedit')
+source=("${url}/pub/${pkgname}/stable/SOURCES/${pkgname}-${pkgver}.tar.gz"
+        'dotty.patch')
+sha1sums=('5a0c00bebe7f4c7a04523db21f40966dc9f0d441'
+          '31bc9f505c8b6470289a0d6ec31c237765cba239')
+
+options=('!libtool')
+install=install
+
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	patch -p1 -i ../dotty.patch
+	sed \
+		-e '/LIBPOSTFIX="64"/d' \
+		-i configure
+}
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	export PYTHON=python2
+	export LUA=lua5.1
+
+	./configure --prefix=/usr
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+}

Copied: graphviz/repos/testing-i686/dotty.patch (from rev 197141, graphviz/trunk/dotty.patch)
===================================================================
--- testing-i686/dotty.patch	                        (rev 0)
+++ testing-i686/dotty.patch	2013-10-23 01:47:36 UTC (rev 197142)
@@ -0,0 +1,21 @@
+diff -Naur old/cmd/dotty/dotty_layout.lefty new/cmd/dotty/dotty_layout.lefty
+--- old/cmd/dotty/dotty_layout.lefty	2013-09-06 15:07:52.000000000 -1000
++++ new/cmd/dotty/dotty_layout.lefty	2013-10-22 15:23:50.153028328 -1000
+@@ -5,7 +5,7 @@
+     local fd;
+ 
+     if (~dotty.lservers[lserver] | tablesize (dotty.lservers[lserver]) == 0) {
+-        if (~((fd = openio ('pipe', lserver, 'r+', '%e -Txdot')) >= 0)) {
++        if (~((fd = openio ('pipe', lserver, 'r+', '%e -Txdot1.2')) >= 0)) {
+             dotty.message (0, concat ('cannot start ', lserver));
+             return null;
+         }
+@@ -438,6 +438,8 @@
+             }
+         } else if (t[i] == 'I') {
+             i = i + 7;
++        } else if (t[i] == 't') {
++            i = i + 2;
+         } else {
+             dotty.message (0, concat ('draw language parser error: ', t[i]));
+             return null;

Copied: graphviz/repos/testing-i686/install (from rev 197141, graphviz/trunk/install)
===================================================================
--- testing-i686/install	                        (rev 0)
+++ testing-i686/install	2013-10-23 01:47:36 UTC (rev 197142)
@@ -0,0 +1,12 @@
+post_install() {
+	rm -f usr/lib/graphviz/config{,6}
+	usr/bin/dot -c
+}
+
+post_upgrade() {
+	post_install
+}
+
+pre_remove() {
+	rm -f usr/lib/graphviz/config{,6}
+}

Copied: graphviz/repos/testing-x86_64/PKGBUILD (from rev 197141, graphviz/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2013-10-23 01:47:36 UTC (rev 197142)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: kevin <kevin at archlinux.org>
+# Contributor: John Proctor <jproctor at prium.net>
+
+pkgname=graphviz
+pkgver=2.34.0
+pkgrel=2
+pkgdesc='Graph visualization software'
+url='http://www.graphviz.org/'
+license=('CPL')
+arch=('i686' 'x86_64')
+depends=('libltdl' 'gd' 'librsvg' 'libxaw' 'ghostscript' 'pango' 'gts')
+makedepends=('swig' 'mono' 'guile' 'lua51' 'ocaml' 'perl' 'php' 'python2' 'r' 'tk' 'qt4')
+optdepends=('mono: sharp bindings'
+            'guile: guile bindings'
+            'lua51: lua bindings'
+            'ocaml: ocaml bindings'
+            'perl: perl bindings'
+            'php: php bindings'
+            'python2: python bindings'
+            'r: r bindings'
+            'tcl: tcl bindings'
+            'qt4: gvedit')
+source=("${url}/pub/${pkgname}/stable/SOURCES/${pkgname}-${pkgver}.tar.gz"
+        'dotty.patch')
+sha1sums=('5a0c00bebe7f4c7a04523db21f40966dc9f0d441'
+          '31bc9f505c8b6470289a0d6ec31c237765cba239')
+
+options=('!libtool')
+install=install
+
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	patch -p1 -i ../dotty.patch
+	sed \
+		-e '/LIBPOSTFIX="64"/d' \
+		-i configure
+}
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	export PYTHON=python2
+	export LUA=lua5.1
+
+	./configure --prefix=/usr
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+}

Copied: graphviz/repos/testing-x86_64/dotty.patch (from rev 197141, graphviz/trunk/dotty.patch)
===================================================================
--- testing-x86_64/dotty.patch	                        (rev 0)
+++ testing-x86_64/dotty.patch	2013-10-23 01:47:36 UTC (rev 197142)
@@ -0,0 +1,21 @@
+diff -Naur old/cmd/dotty/dotty_layout.lefty new/cmd/dotty/dotty_layout.lefty
+--- old/cmd/dotty/dotty_layout.lefty	2013-09-06 15:07:52.000000000 -1000
++++ new/cmd/dotty/dotty_layout.lefty	2013-10-22 15:23:50.153028328 -1000
+@@ -5,7 +5,7 @@
+     local fd;
+ 
+     if (~dotty.lservers[lserver] | tablesize (dotty.lservers[lserver]) == 0) {
+-        if (~((fd = openio ('pipe', lserver, 'r+', '%e -Txdot')) >= 0)) {
++        if (~((fd = openio ('pipe', lserver, 'r+', '%e -Txdot1.2')) >= 0)) {
+             dotty.message (0, concat ('cannot start ', lserver));
+             return null;
+         }
+@@ -438,6 +438,8 @@
+             }
+         } else if (t[i] == 'I') {
+             i = i + 7;
++        } else if (t[i] == 't') {
++            i = i + 2;
+         } else {
+             dotty.message (0, concat ('draw language parser error: ', t[i]));
+             return null;

Copied: graphviz/repos/testing-x86_64/install (from rev 197141, graphviz/trunk/install)
===================================================================
--- testing-x86_64/install	                        (rev 0)
+++ testing-x86_64/install	2013-10-23 01:47:36 UTC (rev 197142)
@@ -0,0 +1,12 @@
+post_install() {
+	rm -f usr/lib/graphviz/config{,6}
+	usr/bin/dot -c
+}
+
+post_upgrade() {
+	post_install
+}
+
+pre_remove() {
+	rm -f usr/lib/graphviz/config{,6}
+}




More information about the arch-commits mailing list