[arch-commits] Commit in antlr2/repos (12 files)
Guillaume Alaux
guillaume at archlinux.org
Mon Oct 1 19:24:16 UTC 2012
Date: Monday, October 1, 2012 @ 15:24:15
Author: guillaume
Revision: 167380
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
antlr2/repos/extra-i686/PKGBUILD
(from rev 167379, antlr2/trunk/PKGBUILD)
antlr2/repos/extra-i686/gcc4.4.patch
(from rev 167379, antlr2/trunk/gcc4.4.patch)
antlr2/repos/extra-i686/runantlr2.sh
(from rev 167379, antlr2/trunk/runantlr2.sh)
antlr2/repos/extra-x86_64/PKGBUILD
(from rev 167379, antlr2/trunk/PKGBUILD)
antlr2/repos/extra-x86_64/gcc4.4.patch
(from rev 167379, antlr2/trunk/gcc4.4.patch)
antlr2/repos/extra-x86_64/runantlr2.sh
(from rev 167379, antlr2/trunk/runantlr2.sh)
Deleted:
antlr2/repos/extra-i686/PKGBUILD
antlr2/repos/extra-i686/gcc4.4.patch
antlr2/repos/extra-i686/runantlr2.sh
antlr2/repos/extra-x86_64/PKGBUILD
antlr2/repos/extra-x86_64/gcc4.4.patch
antlr2/repos/extra-x86_64/runantlr2.sh
---------------------------+
extra-i686/PKGBUILD | 117 ++++++++++++++++++++++----------------------
extra-i686/gcc4.4.patch | 42 +++++++--------
extra-i686/runantlr2.sh | 10 +--
extra-x86_64/PKGBUILD | 117 ++++++++++++++++++++++----------------------
extra-x86_64/gcc4.4.patch | 42 +++++++--------
extra-x86_64/runantlr2.sh | 10 +--
6 files changed, 170 insertions(+), 168 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2012-10-01 19:22:43 UTC (rev 167379)
+++ extra-i686/PKGBUILD 2012-10-01 19:24:15 UTC (rev 167380)
@@ -1,58 +0,0 @@
-# $Id$
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: George Giorgidze <giorgidze (at) gmail.com>
-# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
-
-pkgbase=antlr2
-pkgname=('antlr2' 'python-antlr2')
-pkgver=2.7.7
-pkgrel=2
-arch=('i686' 'x86_64')
-url="http://www.antlr2.org/"
-license=('custom')
-makedepends=('java-environment' 'python2' 'sh')
-source=("http://www.antlr2.org/download/antlr-${pkgver}.tar.gz"
- 'runantlr2.sh'
- 'gcc4.4.patch')
-md5sums=('01cc9a2a454dd33dcd8c856ec89af090'
- 'e4aa827cf78f97c4e5fae086831192d6'
- '8574c93f40e6477e83c29f9b07de49da')
-
-build() {
- cd "${srcdir}/antlr-${pkgver}"
-
- patch -Np0 -i ${srcdir}/gcc4.4.patch
-
- ./configure --prefix=/usr \
- --disable-examples \
- --disable-csharp
- make
-}
-
-package_antlr2() {
- pkgdesc="ANother Tool for Language Recognition, (formerly PCCTS) is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing C++ or Java actions"
- depends=('java-runtime' 'sh')
- replaces=('antlr')
- conflicts=('antlr')
- provides=("antlr=${pkgver}")
-
- cd ${srcdir}/antlr-${pkgver}/lib/cpp
- make prefix="${pkgdir}/usr" install
-
- install -Dm644 ${srcdir}/antlr-${pkgver}/antlr/antlr.jar \
- "${pkgdir}/usr/share/java/antlr2.jar"
- install -Dm755 ${srcdir}/runantlr2.sh ${pkgdir}/usr/bin/runantlr2
- install -Dm644 ${srcdir}/antlr-${pkgver}/LICENSE.txt \
- "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python-antlr2() {
- pkgdesc="ANother Tool for Language Recognition, (formerly PCCTS) is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing C++ or Java actions (Python version)"
- depends=('antlr2' 'python2')
- replaces=('python-antlr')
- conflicts=('python-antlr')
- provides=("python-antlr=${pkgver}")
-
- cd ${srcdir}/antlr-${pkgver}/lib/python
- python2 setup.py install --root="${pkgdir}" --optimize=1
-}
Copied: antlr2/repos/extra-i686/PKGBUILD (from rev 167379, antlr2/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2012-10-01 19:24:15 UTC (rev 167380)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: George Giorgidze <giorgidze (at) gmail.com>
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+
+pkgbase=antlr2
+pkgname=('antlr2' 'python2-antlr2')
+pkgver=2.7.7
+pkgrel=3
+# Arch dependant files in /usr/lib/libantlr.a
+arch=('i686' 'x86_64')
+url="http://www.antlr2.org/"
+license=('custom')
+makedepends=('java-environment' 'python2' 'sh')
+source=("http://www.antlr2.org/download/antlr-${pkgver}.tar.gz"
+ 'runantlr2.sh'
+ 'gcc4.4.patch')
+md5sums=('01cc9a2a454dd33dcd8c856ec89af090'
+ 'e4aa827cf78f97c4e5fae086831192d6'
+ '8574c93f40e6477e83c29f9b07de49da')
+
+build() {
+ cd "${srcdir}/antlr-${pkgver}"
+
+ patch -Np0 -i ${srcdir}/gcc4.4.patch
+
+ ./configure --prefix=/usr \
+ --disable-examples \
+ --disable-csharp
+ make
+}
+
+package_antlr2() {
+ pkgdesc="ANother Tool for Language Recognition, (formerly PCCTS) is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing C++ or Java actions"
+ depends=('java-runtime' 'sh')
+ replaces=('antlr')
+ conflicts=('antlr')
+ provides=("antlr=${pkgver}")
+
+ cd ${srcdir}/antlr-${pkgver}/lib/cpp
+ make prefix="${pkgdir}/usr" install
+
+ install -Dm644 ${srcdir}/antlr-${pkgver}/antlr/antlr.jar \
+ "${pkgdir}/usr/share/java/antlr2.jar"
+ install -Dm755 ${srcdir}/runantlr2.sh ${pkgdir}/usr/bin/runantlr2
+ install -Dm644 ${srcdir}/antlr-${pkgver}/LICENSE.txt \
+ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-antlr2() {
+ pkgdesc="ANother Tool for Language Recognition, (formerly PCCTS) is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing C++ or Java actions (Python version)"
+ depends=('antlr2' 'python2')
+ replaces=('python-antlr')
+ conflicts=('python-antlr')
+ provides=("python-antlr=${pkgver}")
+
+ cd ${srcdir}/antlr-${pkgver}/lib/python
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+}
Deleted: extra-i686/gcc4.4.patch
===================================================================
--- extra-i686/gcc4.4.patch 2012-10-01 19:22:43 UTC (rev 167379)
+++ extra-i686/gcc4.4.patch 2012-10-01 19:24:15 UTC (rev 167380)
@@ -1,21 +0,0 @@
-diff -Naur antlr-2.7.7.orig/lib/cpp/antlr/CharScanner.hpp antlr-2.7.7/lib/cpp/antlr/CharScanner.hpp
---- lib/cpp/antlr/CharScanner.hpp 2006-11-01 22:37:17.000000000 +0100
-+++ lib/cpp/antlr/CharScanner.hpp 2008-03-19 20:09:21.000000000 +0100
-@@ -10,6 +10,7 @@
-
- #include <antlr/config.hpp>
-
-+#include <cstring>
- #include <map>
-
- #ifdef HAS_NOT_CCTYPE_H
---- lib/cpp/antlr/CharScanner.hpp~ 2008-11-11 21:24:02.000000000 +0000
-+++ lib/cpp/antlr/CharScanner.hpp 2008-11-11 21:24:33.000000000 +0000
-@@ -10,6 +10,7 @@
-
- #include <antlr/config.hpp>
-
-+#include <cstdio>
- #include <cstring>
- #include <map>
-
Copied: antlr2/repos/extra-i686/gcc4.4.patch (from rev 167379, antlr2/trunk/gcc4.4.patch)
===================================================================
--- extra-i686/gcc4.4.patch (rev 0)
+++ extra-i686/gcc4.4.patch 2012-10-01 19:24:15 UTC (rev 167380)
@@ -0,0 +1,21 @@
+diff -Naur antlr-2.7.7.orig/lib/cpp/antlr/CharScanner.hpp antlr-2.7.7/lib/cpp/antlr/CharScanner.hpp
+--- lib/cpp/antlr/CharScanner.hpp 2006-11-01 22:37:17.000000000 +0100
++++ lib/cpp/antlr/CharScanner.hpp 2008-03-19 20:09:21.000000000 +0100
+@@ -10,6 +10,7 @@
+
+ #include <antlr/config.hpp>
+
++#include <cstring>
+ #include <map>
+
+ #ifdef HAS_NOT_CCTYPE_H
+--- lib/cpp/antlr/CharScanner.hpp~ 2008-11-11 21:24:02.000000000 +0000
++++ lib/cpp/antlr/CharScanner.hpp 2008-11-11 21:24:33.000000000 +0000
+@@ -10,6 +10,7 @@
+
+ #include <antlr/config.hpp>
+
++#include <cstdio>
+ #include <cstring>
+ #include <map>
+
Deleted: extra-i686/runantlr2.sh
===================================================================
--- extra-i686/runantlr2.sh 2012-10-01 19:22:43 UTC (rev 167379)
+++ extra-i686/runantlr2.sh 2012-10-01 19:24:15 UTC (rev 167380)
@@ -1,5 +0,0 @@
-#!/bin/sh
-echo Running 'java antlr.Tool $*' with /usr/share/java/antlr2.jar appended to the CLASSPATH variable
-export CLASSPATH
-CLASSPATH=$CLASSPATH:/usr/share/java/antlr2.jar
-java antlr.Tool $*
Copied: antlr2/repos/extra-i686/runantlr2.sh (from rev 167379, antlr2/trunk/runantlr2.sh)
===================================================================
--- extra-i686/runantlr2.sh (rev 0)
+++ extra-i686/runantlr2.sh 2012-10-01 19:24:15 UTC (rev 167380)
@@ -0,0 +1,5 @@
+#!/bin/sh
+echo Running 'java antlr.Tool $*' with /usr/share/java/antlr2.jar appended to the CLASSPATH variable
+export CLASSPATH
+CLASSPATH=$CLASSPATH:/usr/share/java/antlr2.jar
+java antlr.Tool $*
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2012-10-01 19:22:43 UTC (rev 167379)
+++ extra-x86_64/PKGBUILD 2012-10-01 19:24:15 UTC (rev 167380)
@@ -1,58 +0,0 @@
-# $Id$
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: George Giorgidze <giorgidze (at) gmail.com>
-# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
-
-pkgbase=antlr2
-pkgname=('antlr2' 'python-antlr2')
-pkgver=2.7.7
-pkgrel=2
-arch=('i686' 'x86_64')
-url="http://www.antlr2.org/"
-license=('custom')
-makedepends=('java-environment' 'python2' 'sh')
-source=("http://www.antlr2.org/download/antlr-${pkgver}.tar.gz"
- 'runantlr2.sh'
- 'gcc4.4.patch')
-md5sums=('01cc9a2a454dd33dcd8c856ec89af090'
- 'e4aa827cf78f97c4e5fae086831192d6'
- '8574c93f40e6477e83c29f9b07de49da')
-
-build() {
- cd "${srcdir}/antlr-${pkgver}"
-
- patch -Np0 -i ${srcdir}/gcc4.4.patch
-
- ./configure --prefix=/usr \
- --disable-examples \
- --disable-csharp
- make
-}
-
-package_antlr2() {
- pkgdesc="ANother Tool for Language Recognition, (formerly PCCTS) is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing C++ or Java actions"
- depends=('java-runtime' 'sh')
- replaces=('antlr')
- conflicts=('antlr')
- provides=("antlr=${pkgver}")
-
- cd ${srcdir}/antlr-${pkgver}/lib/cpp
- make prefix="${pkgdir}/usr" install
-
- install -Dm644 ${srcdir}/antlr-${pkgver}/antlr/antlr.jar \
- "${pkgdir}/usr/share/java/antlr2.jar"
- install -Dm755 ${srcdir}/runantlr2.sh ${pkgdir}/usr/bin/runantlr2
- install -Dm644 ${srcdir}/antlr-${pkgver}/LICENSE.txt \
- "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python-antlr2() {
- pkgdesc="ANother Tool for Language Recognition, (formerly PCCTS) is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing C++ or Java actions (Python version)"
- depends=('antlr2' 'python2')
- replaces=('python-antlr')
- conflicts=('python-antlr')
- provides=("python-antlr=${pkgver}")
-
- cd ${srcdir}/antlr-${pkgver}/lib/python
- python2 setup.py install --root="${pkgdir}" --optimize=1
-}
Copied: antlr2/repos/extra-x86_64/PKGBUILD (from rev 167379, antlr2/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2012-10-01 19:24:15 UTC (rev 167380)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: George Giorgidze <giorgidze (at) gmail.com>
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+
+pkgbase=antlr2
+pkgname=('antlr2' 'python2-antlr2')
+pkgver=2.7.7
+pkgrel=3
+# Arch dependant files in /usr/lib/libantlr.a
+arch=('i686' 'x86_64')
+url="http://www.antlr2.org/"
+license=('custom')
+makedepends=('java-environment' 'python2' 'sh')
+source=("http://www.antlr2.org/download/antlr-${pkgver}.tar.gz"
+ 'runantlr2.sh'
+ 'gcc4.4.patch')
+md5sums=('01cc9a2a454dd33dcd8c856ec89af090'
+ 'e4aa827cf78f97c4e5fae086831192d6'
+ '8574c93f40e6477e83c29f9b07de49da')
+
+build() {
+ cd "${srcdir}/antlr-${pkgver}"
+
+ patch -Np0 -i ${srcdir}/gcc4.4.patch
+
+ ./configure --prefix=/usr \
+ --disable-examples \
+ --disable-csharp
+ make
+}
+
+package_antlr2() {
+ pkgdesc="ANother Tool for Language Recognition, (formerly PCCTS) is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing C++ or Java actions"
+ depends=('java-runtime' 'sh')
+ replaces=('antlr')
+ conflicts=('antlr')
+ provides=("antlr=${pkgver}")
+
+ cd ${srcdir}/antlr-${pkgver}/lib/cpp
+ make prefix="${pkgdir}/usr" install
+
+ install -Dm644 ${srcdir}/antlr-${pkgver}/antlr/antlr.jar \
+ "${pkgdir}/usr/share/java/antlr2.jar"
+ install -Dm755 ${srcdir}/runantlr2.sh ${pkgdir}/usr/bin/runantlr2
+ install -Dm644 ${srcdir}/antlr-${pkgver}/LICENSE.txt \
+ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-antlr2() {
+ pkgdesc="ANother Tool for Language Recognition, (formerly PCCTS) is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing C++ or Java actions (Python version)"
+ depends=('antlr2' 'python2')
+ replaces=('python-antlr')
+ conflicts=('python-antlr')
+ provides=("python-antlr=${pkgver}")
+
+ cd ${srcdir}/antlr-${pkgver}/lib/python
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+}
Deleted: extra-x86_64/gcc4.4.patch
===================================================================
--- extra-x86_64/gcc4.4.patch 2012-10-01 19:22:43 UTC (rev 167379)
+++ extra-x86_64/gcc4.4.patch 2012-10-01 19:24:15 UTC (rev 167380)
@@ -1,21 +0,0 @@
-diff -Naur antlr-2.7.7.orig/lib/cpp/antlr/CharScanner.hpp antlr-2.7.7/lib/cpp/antlr/CharScanner.hpp
---- lib/cpp/antlr/CharScanner.hpp 2006-11-01 22:37:17.000000000 +0100
-+++ lib/cpp/antlr/CharScanner.hpp 2008-03-19 20:09:21.000000000 +0100
-@@ -10,6 +10,7 @@
-
- #include <antlr/config.hpp>
-
-+#include <cstring>
- #include <map>
-
- #ifdef HAS_NOT_CCTYPE_H
---- lib/cpp/antlr/CharScanner.hpp~ 2008-11-11 21:24:02.000000000 +0000
-+++ lib/cpp/antlr/CharScanner.hpp 2008-11-11 21:24:33.000000000 +0000
-@@ -10,6 +10,7 @@
-
- #include <antlr/config.hpp>
-
-+#include <cstdio>
- #include <cstring>
- #include <map>
-
Copied: antlr2/repos/extra-x86_64/gcc4.4.patch (from rev 167379, antlr2/trunk/gcc4.4.patch)
===================================================================
--- extra-x86_64/gcc4.4.patch (rev 0)
+++ extra-x86_64/gcc4.4.patch 2012-10-01 19:24:15 UTC (rev 167380)
@@ -0,0 +1,21 @@
+diff -Naur antlr-2.7.7.orig/lib/cpp/antlr/CharScanner.hpp antlr-2.7.7/lib/cpp/antlr/CharScanner.hpp
+--- lib/cpp/antlr/CharScanner.hpp 2006-11-01 22:37:17.000000000 +0100
++++ lib/cpp/antlr/CharScanner.hpp 2008-03-19 20:09:21.000000000 +0100
+@@ -10,6 +10,7 @@
+
+ #include <antlr/config.hpp>
+
++#include <cstring>
+ #include <map>
+
+ #ifdef HAS_NOT_CCTYPE_H
+--- lib/cpp/antlr/CharScanner.hpp~ 2008-11-11 21:24:02.000000000 +0000
++++ lib/cpp/antlr/CharScanner.hpp 2008-11-11 21:24:33.000000000 +0000
+@@ -10,6 +10,7 @@
+
+ #include <antlr/config.hpp>
+
++#include <cstdio>
+ #include <cstring>
+ #include <map>
+
Deleted: extra-x86_64/runantlr2.sh
===================================================================
--- extra-x86_64/runantlr2.sh 2012-10-01 19:22:43 UTC (rev 167379)
+++ extra-x86_64/runantlr2.sh 2012-10-01 19:24:15 UTC (rev 167380)
@@ -1,5 +0,0 @@
-#!/bin/sh
-echo Running 'java antlr.Tool $*' with /usr/share/java/antlr2.jar appended to the CLASSPATH variable
-export CLASSPATH
-CLASSPATH=$CLASSPATH:/usr/share/java/antlr2.jar
-java antlr.Tool $*
Copied: antlr2/repos/extra-x86_64/runantlr2.sh (from rev 167379, antlr2/trunk/runantlr2.sh)
===================================================================
--- extra-x86_64/runantlr2.sh (rev 0)
+++ extra-x86_64/runantlr2.sh 2012-10-01 19:24:15 UTC (rev 167380)
@@ -0,0 +1,5 @@
+#!/bin/sh
+echo Running 'java antlr.Tool $*' with /usr/share/java/antlr2.jar appended to the CLASSPATH variable
+export CLASSPATH
+CLASSPATH=$CLASSPATH:/usr/share/java/antlr2.jar
+java antlr.Tool $*
More information about the arch-commits
mailing list