From 80b6d46a5c9da3f9d0db207d9d0adc265899a915 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 21 Oct 2012 09:47:14 -0700 Subject: Sun Oct 21 09:47:14 PDT 2012 --- java-ugly/junit/PKGBUILD | 55 + java-ugly/maven/PKGBUILD | 76 + java-ugly/maven/maven.csh | 2 + java-ugly/maven/maven.sh | 3 + java-ugly/not-working/java-bnd/PKGBUILD | 24 + java/apache-ant/PKGBUILD | 110 + java/apache-ant/apache-ant.csh | 2 + java/apache-ant/apache-ant.sh | 2 + java/arduino/PKGBUILD | 101 + java/arduino/arduino.desktop | 9 + java/arduino/arduino.install | 10 + java/arduino/arduino.png | Bin 0 -> 47981 bytes java/arduino/sig-patch.diff | 256 + java/java-asm2/PKGBUILD | 18 + java/java-asm2/PKGBUILD-bootstrap | 23 + java/java-asm2/common.sh | 59 + java/java-asm3/PKGBUILD | 17 + java/java-jarjar/PKGBUILD | 49 + java/java-jarjar/PKGBUILD-1.4 | 41 + java/java-ow-util-ant-tasks/PKGBUILD | 27 + java/java-ow-util-ant-tasks/SRCBUILD | 29 + java/java-rxtx/ChangeLog.txt | 8 + java/java-rxtx/PKGBUILD | 54 + java/java-rxtx/destdir.patch | 20 + java/java-rxtx/java7-configure.patch | 38 + java/java-sonatype-oss-parent/PKGBUILD | 27 + java/jh/PKGBUILD | 24 + java/jna/PKGBUILD | 117 + java/jna/bugfix-type-inference.patch | 13 + java/jna/libre-without-clover.patch | 71 + java/jna/webstart-test.keystore | Bin 0 -> 679 bytes java/not-working/closure-compiler/PKGBUILD | 73 + java/not-working/closure-compiler/TODO | 2 + java/not-working/java-asm4/PKGBUILD | 17 + java/not-working/java-asm4/TODO | 1 + java/not-working/java-guava/PKGBUILD | 34 + java/not-working/java-guava/TODO | 2 + java/not-working/junit-truth/PKGBUILD | 45 + java/not-working/junit-truth/TODO | 1 + java/not-working/protobuf/PKGBUILD | 99 + java/not-working/protobuf/TODO | 5 + libre/blender-libre/PKGBUILD | 135 +- libre/blender-libre/blender-libre.install | 13 + libre/django13/PKGBUILD | 47 + libre/django13/PKGBUILD.orig | 40 + ...ranches_releases_1.3.X-from-16768-to-17460.diff | 1573 +++++++ ...ranches_releases_1.3.X-from-16771-to-17460.diff | 1575 +++++++ libre/luxblend25/PKGBUILD | 46 +- libre/parabola-archiso/PKGBUILD | 22 + libre/parabolaweb-utils/PKGBUILD | 46 + libre/parabolaweb-utils/helper.sh | 39 + libre/parabolaweb-utils/parabolaweb-fcgi | 12 + libre/parabolaweb-utils/parabolaweb-update | 81 + libre/parabolaweb-utils/parabolaweb.conf | 3 + libre/parabolaweb-utils/parabolaweb.rc | 43 + libre/parabolaweb-utils/parabolaweb.service | 10 + libre/tp_smapi-libre-lts/PKGBUILD | 60 + libre/tp_smapi-libre-lts/tp_smapi-lts.install | 13 + libre/virtualbox-libre-modules-lts/PKGBUILD | 10 +- libre/virtualbox-libre-modules/PKGBUILD | 4 +- libre/virtualbox-libre/001-vboxdrv-reference.patch | 112 + .../002-change_default_driver_dir.patch | 18 + libre/virtualbox-libre/003-remove_qt_fa_IR.patch | 23 + libre/virtualbox-libre/PKGBUILD | 38 +- libre/virtualbox-libre/libre.patch | 4907 -------------------- ...Make-the-Reset-Firefox-feature-more-gener.patch | 20 +- libre/xulrunner-libre/PKGBUILD | 8 +- pcr/zoneminder/PKGBUILD | 84 +- pcr/zoneminder/httpd-zm.conf | 8 +- pcr/zoneminder/zoneminder.install | 44 +- 70 files changed, 5561 insertions(+), 5037 deletions(-) create mode 100644 java-ugly/junit/PKGBUILD create mode 100755 java-ugly/maven/PKGBUILD create mode 100755 java-ugly/maven/maven.csh create mode 100755 java-ugly/maven/maven.sh create mode 100644 java-ugly/not-working/java-bnd/PKGBUILD create mode 100755 java/apache-ant/PKGBUILD create mode 100755 java/apache-ant/apache-ant.csh create mode 100755 java/apache-ant/apache-ant.sh create mode 100644 java/arduino/PKGBUILD create mode 100644 java/arduino/arduino.desktop create mode 100644 java/arduino/arduino.install create mode 100644 java/arduino/arduino.png create mode 100644 java/arduino/sig-patch.diff create mode 100644 java/java-asm2/PKGBUILD create mode 100644 java/java-asm2/PKGBUILD-bootstrap create mode 100644 java/java-asm2/common.sh create mode 100644 java/java-asm3/PKGBUILD create mode 100644 java/java-jarjar/PKGBUILD create mode 100644 java/java-jarjar/PKGBUILD-1.4 create mode 100644 java/java-ow-util-ant-tasks/PKGBUILD create mode 100644 java/java-ow-util-ant-tasks/SRCBUILD create mode 100644 java/java-rxtx/ChangeLog.txt create mode 100644 java/java-rxtx/PKGBUILD create mode 100644 java/java-rxtx/destdir.patch create mode 100644 java/java-rxtx/java7-configure.patch create mode 100644 java/java-sonatype-oss-parent/PKGBUILD create mode 100644 java/jh/PKGBUILD create mode 100644 java/jna/PKGBUILD create mode 100644 java/jna/bugfix-type-inference.patch create mode 100644 java/jna/libre-without-clover.patch create mode 100644 java/jna/webstart-test.keystore create mode 100644 java/not-working/closure-compiler/PKGBUILD create mode 100644 java/not-working/closure-compiler/TODO create mode 100644 java/not-working/java-asm4/PKGBUILD create mode 100644 java/not-working/java-asm4/TODO create mode 100644 java/not-working/java-guava/PKGBUILD create mode 100644 java/not-working/java-guava/TODO create mode 100644 java/not-working/junit-truth/PKGBUILD create mode 100644 java/not-working/junit-truth/TODO create mode 100644 java/not-working/protobuf/PKGBUILD create mode 100644 java/not-working/protobuf/TODO create mode 100755 libre/blender-libre/blender-libre.install create mode 100644 libre/django13/PKGBUILD create mode 100644 libre/django13/PKGBUILD.orig create mode 100644 libre/django13/diff-django_branches_releases_1.3.X-from-16768-to-17460.diff create mode 100644 libre/django13/diff-django_branches_releases_1.3.X-from-16771-to-17460.diff create mode 100755 libre/parabola-archiso/PKGBUILD create mode 100644 libre/parabolaweb-utils/PKGBUILD create mode 100644 libre/parabolaweb-utils/helper.sh create mode 100644 libre/parabolaweb-utils/parabolaweb-fcgi create mode 100644 libre/parabolaweb-utils/parabolaweb-update create mode 100644 libre/parabolaweb-utils/parabolaweb.conf create mode 100644 libre/parabolaweb-utils/parabolaweb.rc create mode 100644 libre/parabolaweb-utils/parabolaweb.service create mode 100644 libre/tp_smapi-libre-lts/PKGBUILD create mode 100644 libre/tp_smapi-libre-lts/tp_smapi-lts.install create mode 100644 libre/virtualbox-libre/001-vboxdrv-reference.patch create mode 100755 libre/virtualbox-libre/002-change_default_driver_dir.patch create mode 100644 libre/virtualbox-libre/003-remove_qt_fa_IR.patch diff --git a/java-ugly/junit/PKGBUILD b/java-ugly/junit/PKGBUILD new file mode 100644 index 000000000..7204cd5c9 --- /dev/null +++ b/java-ugly/junit/PKGBUILD @@ -0,0 +1,55 @@ +# Maintainer: Luke Shumaker +# Maintainer (Arch): Guillaume ALAUX + +pkgname=junit +pkgver=4.10 +pkgrel=1 +pkgdesc="Automated testing framework for Java" +arch=('any') +url="http://www.junit.org/" +license=('CPL') +depends=('java-runtime') +makedepends=('apache-ant' 'jh') +source=("$pkgname::git://github.com/KentBeck/junit.git#tag=r$pkgver") + +mksource() { + cd "${srcdir}/${pkgname}" + #find . -name '*.jar' -delete + + # Shut up some warnings from javac 1.7 + sed -ri 's|target="([0-9.]+)"|\0 source="\1"|' build.xml +} + +build() { + mksource + cd "${srcdir}/${pkgname}" + + # Shut up some warnings from javac 1.7 + sed -ri 's|target="([0-9.]+)"$|\0 source="\1"|' build.xml + + ant jars + for pkg in junit junit-dep; do + sed \ + -e "s|@artifactID@|$pkg|" \ + -e "s|@version@|$pkgver|" \ + < build/maven/pom-template.xml > $pkgname$pkgver/$pkg-$pkgver.pom + done +} + +package() { + cd "${srcdir}/${pkgname}" + install -Dm644 cpl-v10.html "$pkgdir/usr/share/licenses/junit/cpl-v10.html" + + cd "${srcdir}/${pkgname}/${pkgname}${pkgver}" + + export DESTDIR="$pkgdir" + jh mvn-install $pkgname junit $pkgver junit-$pkgver.{jar,pom} + jh mvn-install $pkgname junit-dep $pkgver junit-dep-$pkgver.{jar,pom} + install -d "${pkgdir}/usr/share/java/${pkgname}" + ln -s `jh mvn-basename $pkgname junit $pkgver`.jar "${pkgdir}/usr/share/java/${pkgname}" + ln -s `jh mvn-basename $pkgname junit-dep $pkgver`.jar "${pkgdir}/usr/share/java/${pkgname}" + ln -s ${pkgname}/${pkgname}-${pkgver}.jar ${pkgdir}/usr/share/java/${pkgname}.jar + ln -s ${pkgname}/${pkgname}-dep-${pkgver}.jar ${pkgdir}/usr/share/java/${pkgname}-dep.jar +} + +md5sums=('SKIP') diff --git a/java-ugly/maven/PKGBUILD b/java-ugly/maven/PKGBUILD new file mode 100755 index 000000000..2bd99940e --- /dev/null +++ b/java-ugly/maven/PKGBUILD @@ -0,0 +1,76 @@ +# Maintainer: Luke Shumaker +# Maintainer (Arch): Sergej Pupykin +# Contributor: William Rea + +_pkgname=maven +pkgname=maven-libre +pkgver=3.0.4 + +provides=("$_pkgname=$pkgver") +replaces=("$_pkgname") +conflicts=("$_pkgname") + +pkgrel=1 +pkgdesc="A Java project management and project comprehension tool" +arch=('any') +url="http://maven.apache.org" +license=('Apache') +depends=('java-environment') +makedepends=('apache-ant') +backup=('etc/maven/settings.xml') + +_mirror=http://archive.apache.org/dist +source=($_mirror/maven/source/apache-maven-$pkgver-src.tar.gz + maven.sh maven.csh) + +_M2_LOCALREPO="/usr/share/maven/repository" + +# FIXME: This also does tasks for package() +build() { + cd $srcdir/apache-maven-$pkgver + + . /etc/profile.d/jre.sh + . /etc/profile.d/jdk.sh + + export MAVEN_OPTS=-Xmx512m + export M2_HOME="$pkgdir"/opt/maven + export PATH="$PATH:$M2_HOME/bin" + + # FIXME: Downloads many deps from Internet. They should be + # packaged separately and added to depends=() + install -d "$pkgdir`dirname $_M2_LOCALREPO`" + cp -r $_M2_LOCALREPO "$pkgdir$_M2_LOCALREPO" + install -d "$pkgdir"/opt + ant -Dmaven.repo.local="$pkgdir$_M2_LOCALREPO" + rm "$pkgdir"/opt/maven/*.txt +} + +package() { + install -d "$pkgdir$_M2_LOCALREPO" + + # Install config file in /etc + # Unlike the other directories, we symlink from the system to /opt/maven + # because that way all conf files stay in /etc + install -d "$pkgdir"/etc/maven + sed "55i$_M2_LOCALREPO" \ + < "$pkgdir"/opt/maven/conf/settings.xml \ + > "$pkgdir"/etc/maven/settings.xml + rm -rf "$pkgdir"/opt/maven/conf + ln -s /etc/maven "$pkgdir"/opt/maven/conf + + # Install profile.d settings + install -d "$pkgdir"/etc/profile.d + install -m 755 "$srcdir"/maven.{csh,sh} "$pkgdir"/etc/profile.d + + # Link executables to /usr/bin + install -d "$pkgdir"/usr/bin + ln -s /opt/maven/bin/{mvn,mvnDebug,mvnyjp} "$pkgdir"/usr/bin + + # Link jar files to appropriate place in /usr/share + install -d "$pkgdir"/usr/share/java + ln -s /opt/maven/lib "$pkgdir"/usr/share/java/maven +} + +md5sums=('17ca94d5be05a78c6ab12425b7a0ee10' + '58820067a4d7384477daa134023d9b57' + 'e2bbdeffed100cd51d05b2ba8ebd6321') diff --git a/java-ugly/maven/maven.csh b/java-ugly/maven/maven.csh new file mode 100755 index 000000000..f5750cfc8 --- /dev/null +++ b/java-ugly/maven/maven.csh @@ -0,0 +1,2 @@ +setenv MAVEN_OPTS -Xmx512m +setenv M2_HOME=/opt/maven diff --git a/java-ugly/maven/maven.sh b/java-ugly/maven/maven.sh new file mode 100755 index 000000000..b6655cc22 --- /dev/null +++ b/java-ugly/maven/maven.sh @@ -0,0 +1,3 @@ +#!/bin/bash +export MAVEN_OPTS=-Xmx512m +export M2_HOME=/opt/maven diff --git a/java-ugly/not-working/java-bnd/PKGBUILD b/java-ugly/not-working/java-bnd/PKGBUILD new file mode 100644 index 000000000..86820469a --- /dev/null +++ b/java-ugly/not-working/java-bnd/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Luke Shumaker + +_pkgname=bnd +pkgname=java-bnd +pkgver=1.50.0 +pkgdesc="A swiss army knife for OSGi" +url="http://www.aqute.biz/Bnd/" +license=('Apache2') + +pkgrel=1 +arch=(any) +makedepends=('apache-ant' 'junit') +source=("git://github.com/bndtools/bnd.git") + +build() { + cd "$srcdir/$_pkgname" + ant dist +} + +package() { + : +} + +md5sums=('SKIP') diff --git a/java/apache-ant/PKGBUILD b/java/apache-ant/PKGBUILD new file mode 100755 index 000000000..77e0dfe94 --- /dev/null +++ b/java/apache-ant/PKGBUILD @@ -0,0 +1,110 @@ +# Maintainer: Luke Shumaker +# Maintainer (Arch): Paul Mattal +# Contributor: Andrew Wright + +pkgname=apache-ant +pkgver=1.8.4 + +provides=("apache-ant-libre=$pkgver") +replaces=("apache-ant-libre") +conflicts=("apache-ant-libre") + +pkgrel=1.1 +pkgdesc="A Java-based build tool" +arch=('any') +license=('Apache') +url="http://ant.apache.org/" +_mirror=http://archive.apache.org/dist +source=($_mirror/ant/source/${pkgname}-${pkgver}-src.tar.bz2 + ${pkgname}.sh ${pkgname}.csh) +depends=('java-environment') + +# This list is adapted from https://ant.apache.org/manual/install.html#librarydependencies +declare -A _opts +_opts[junit]='to have JUnit on the classpath in javac tasks;/usr/share/java/junit.jar' +_opts[xalan-java]=' task;/usr/share/java/xalan.jar' +_opts[antlr2]=' task;/usr/share/java/antlr2.jar::antlr.jar' +#_opts[java-bsf]='