From 87a19ca7afbedd2571becb848c8d58260a080f3a Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Mon, 27 Jun 2016 02:13:28 -0500 Subject: Removing java/jna: This package is in [pcr] repo --- java/jna/PKGBUILD | 115 ----------------------------------- java/jna/bugfix-type-inference.patch | 13 ---- java/jna/libre-without-clover.patch | 71 --------------------- java/jna/webstart-test.keystore | Bin 679 -> 0 bytes 4 files changed, 199 deletions(-) delete mode 100644 java/jna/PKGBUILD delete mode 100644 java/jna/bugfix-type-inference.patch delete mode 100644 java/jna/libre-without-clover.patch delete mode 100644 java/jna/webstart-test.keystore (limited to 'java') diff --git a/java/jna/PKGBUILD b/java/jna/PKGBUILD deleted file mode 100644 index b4f37778e..000000000 --- a/java/jna/PKGBUILD +++ /dev/null @@ -1,115 +0,0 @@ -# Maintainer: Luke Shumaker - -pkgname=jna -pkgver=3.4.2 - -pkgdesc="Provides Java programs easy access to native shared libraries" -url="https://github.com/twall/jna" -license=('LGPL') -source=("git://github.com/twall/jna.git#tag=${pkgver}" - 'libre-without-clover.patch' - 'bugfix-type-inference.patch' - 'webstart-test.keystore') - -#### - -pkgrel=2 -arch=('i686' 'x86_64' 'mips64el') -depends=('java-environment' 'libffi') -makedepends=('apache-ant' 'zip' 'makepkg-git' 'git') -checkdepends=('icedtea-web-java7' 'junit' 'libxtst') -options=('!makeflags') - -unset _JAVA_OPTIONS -_M2_LOCALREPO='/usr/share/maven/repository' - -_ant_options=( - '-Ddynlink.native=true' # use the system install of libffi -) - -#### - -prepare() { - cd "$srcdir/jna" - find . -name '*.jar' -delete - rm -rf dist - rm -rf native/libffi # make sure it doesn't cheat - rm lib/clover.license - rm w32ce-test.lnk - - ln -s /usr/share/java/junit.jar lib/ - - # Create an emtpy zip (jar) file - cd "$srcdir" - touch file - zip empty.zip file - zip -d empty.zip file - rm file -} - -#### - -build() { - cd "$srcdir/jna" - - # Because JNA's release process is ridiculous, it wants a jar file for every - # architecture to be present. So let's just dump in an empty jar file! - sed -n 's|\s* klass = Class.forName(args[i]); -+ junit.textui.TestRunner.run((Class)klass); - } - catch(Throwable e) { - e.printStackTrace(); diff --git a/java/jna/libre-without-clover.patch b/java/jna/libre-without-clover.patch deleted file mode 100644 index b4947e8b2..000000000 --- a/java/jna/libre-without-clover.patch +++ /dev/null @@ -1,71 +0,0 @@ -diff -ru jna-3.4.2.orig/build.xml jna-3.4.2/build.xml ---- jna-3.4.2.orig/build.xml 2012-09-06 06:55:52.000000000 -0400 -+++ jna-3.4.2/build.xml 2012-09-24 15:49:59.000000000 -0400 -@@ -230,7 +230,6 @@ - - - -- - - - -@@ -536,12 +535,11 @@ - - - -- - - - - -- -+ - - - -@@ -626,7 +624,7 @@ - - - View test report in file://${reports.junit}/index.html -- One or more tests failed -+ One or more tests failed - - - -@@ -640,27 +638,6 @@ - - - -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Reports generated in ${reports.clover} -- -- - - - -@@ -881,7 +858,7 @@ - - - -- -+ - - - diff --git a/java/jna/webstart-test.keystore b/java/jna/webstart-test.keystore deleted file mode 100644 index 1bbe8c829..000000000 Binary files a/java/jna/webstart-test.keystore and /dev/null differ -- cgit v1.2.3-2-g168b