diff options
author | Alistair Bush <ali_bush@gentoo.org> | 2008-11-24 09:17:21 +0000 |
---|---|---|
committer | Alistair Bush <ali_bush@gentoo.org> | 2008-11-24 09:17:21 +0000 |
commit | 958be836a15a26e989863f4e340476b730987b87 (patch) | |
tree | 9a11463cf48703a53f46bfbdf6b2c50356c1b351 /games-puzzle/pauker | |
parent | Die on build failure, die on dobin and doman failure, fix building with --as-... (diff) | |
download | historical-958be836a15a26e989863f4e340476b730987b87.tar.gz historical-958be836a15a26e989863f4e340476b730987b87.tar.bz2 historical-958be836a15a26e989863f4e340476b730987b87.zip |
Version Bump
Package-Manager: portage-2.2_rc15/cvs/Linux 2.6.27-gentoo x86_64
Diffstat (limited to 'games-puzzle/pauker')
-rw-r--r-- | games-puzzle/pauker/ChangeLog | 8 | ||||
-rw-r--r-- | games-puzzle/pauker/Manifest | 5 | ||||
-rw-r--r-- | games-puzzle/pauker/files/pauker_bundledjars.patch | 14 | ||||
-rw-r--r-- | games-puzzle/pauker/pauker-1.8_rc6.ebuild | 75 |
4 files changed, 100 insertions, 2 deletions
diff --git a/games-puzzle/pauker/ChangeLog b/games-puzzle/pauker/ChangeLog index c6f73437be2d..b80b395ac102 100644 --- a/games-puzzle/pauker/ChangeLog +++ b/games-puzzle/pauker/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-puzzle/pauker # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pauker/ChangeLog,v 1.21 2008/07/02 19:08:43 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pauker/ChangeLog,v 1.22 2008/11/24 09:17:21 ali_bush Exp $ + +*pauker-1.8_rc6 (24 Nov 2008) + + 24 Nov 2008; Alistair Bush <ali_bush@gentoo.org> + +files/pauker_bundledjars.patch, +pauker-1.8_rc6.ebuild: + Version Bump. 02 Jul 2008; Brent Baude <ranger@gentoo.org> pauker-1.7.5-r1.ebuild: stable ppc, bug 229235 diff --git a/games-puzzle/pauker/Manifest b/games-puzzle/pauker/Manifest index c7bc0610d656..c47363d213b9 100644 --- a/games-puzzle/pauker/Manifest +++ b/games-puzzle/pauker/Manifest @@ -1,4 +1,7 @@ +AUX pauker_bundledjars.patch 899 RMD160 2dfb45876ad107e537636c0b9715950781255c6d SHA1 e6afd877dc81f25689c79eb6393c4dacf1a6adc5 SHA256 4853a7e49a247d700fcac224363acf859b185fe64633b3c06fa9d66b0709e2bf DIST pauker-1.7.5.src.jar 1666625 RMD160 d47e6343c41f4b82044cf11207aa428d333f0abb SHA1 e77a0584ffd8e9ee84b589a4c883640b54398c72 SHA256 a43da9b021994b409314d9dd395247c217799972f7816d964706e4cc17e8340d +DIST pauker-1.8RC6.src.jar 33883915 RMD160 c5c537f62006e5650318ff0ee386c2cdbd7658d4 SHA1 d00ad66515ae1db28790396187f4e94013d164f4 SHA256 60e0d20bee3107d587c27c4bb121d157ebd0f0048d63c59ee4bbb628ebd54f42 EBUILD pauker-1.7.5-r1.ebuild 1334 RMD160 0f1b35ecf2db00a41b7827f64b9aa76fddcb7c29 SHA1 71d796180af7285009c95c5a3397431300bbb39c SHA256 74be3f9eb17c7092d2412c7757c84db33d78be3cfbcfa0be64841f0cb5b594d3 -MISC ChangeLog 2552 RMD160 3fb5afa136c4b4b0d27405a0227481904edc1d43 SHA1 47db13d10cb26a959092f983b10cc20920e256b0 SHA256 bce6272c625dca26401b28534801ab40d3b856ddeef29b7f9142bb46ef8fc57d +EBUILD pauker-1.8_rc6.ebuild 1861 RMD160 ca9b20394fd6b7062af0677b72392c2c5fbbf14e SHA1 40f6a1ce159bb14ca7db7579ec1e0f82466ee6d3 SHA256 ea0d0242d3dd4940cd2b77505d5e3734ebaa1ca930c6368cb545c9636fd8e8a3 +MISC ChangeLog 2712 RMD160 3d23230c47b73e56be507f5ba336d5b8315fdf58 SHA1 3dae5ed2d924afe9482b7088dc125e5ce49878aa SHA256 f3d717546a4b5d15a3ed7ad0164f057074d9bc19d8eb14fbb4ccb0d0ef5eaef9 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 diff --git a/games-puzzle/pauker/files/pauker_bundledjars.patch b/games-puzzle/pauker/files/pauker_bundledjars.patch new file mode 100644 index 000000000000..1ed79dbe4d86 --- /dev/null +++ b/games-puzzle/pauker/files/pauker_bundledjars.patch @@ -0,0 +1,14 @@ +--- build.xml.orig 2008-11-24 20:24:55.000000000 +1300 ++++ build.xml 2008-11-24 20:25:33.000000000 +1300 +@@ -88,11 +88,6 @@ + basedir="build/classes/" + includes="pauker/**,tools/**" + excludes="pauker/Changes.txt,pauker/TODO.txt,**/*BeanInfo*,**/GraphicalStatisticPanel.gif"> +- <zipfileset src="${libs.swing-layout.classpath}"/> +- <zipfileset src="libs/jhall.jar" excludes="META-INF/**"/> +- <zipfileset src="libs/lucene-core-2.4.0.jar" excludes="META-INF/**"/> +- <zipfileset src="libs/BrowserLauncher2-1_3.jar" +- excludes="META-INF/**,classes/,source/,package?cache/,.**,*.txt,build.xml"/> + <manifest> + <attribute name="Main-Class" value="pauker.program.gui.swing.PaukerFrame"/> + <attribute name="SplashScreen-Image" value="pauker/icons/Splash.png"/> diff --git a/games-puzzle/pauker/pauker-1.8_rc6.ebuild b/games-puzzle/pauker/pauker-1.8_rc6.ebuild new file mode 100644 index 000000000000..0e797829e7e4 --- /dev/null +++ b/games-puzzle/pauker/pauker-1.8_rc6.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pauker/pauker-1.8_rc6.ebuild,v 1.1 2008/11/24 09:17:21 ali_bush Exp $ + +JAVA_PKG_IUSE="doc source" +EAPI="1" + +inherit eutils java-pkg-2 java-ant-2 games + +MY_PV="1.8RC6" + +DESCRIPTION="A java based flashcard program" +HOMEPAGE="http://pauker.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.src.jar" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +IUSE="" + +COMMON_DEP="dev-java/browserlauncher2:1.0 + dev-java/javahelp + dev-java/lucene:2.4 + dev-java/swing-layout:1" + +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEP}" +DEPEND=">=virtual/jdk-1.5 + app-arch/unzip + ${COMMON_DEP}" + +S="${WORKDIR}" + +pkg_setup() { + games_pkg_setup + java-pkg-2_pkg_setup +} + +src_unpack() { + unpack ${A} + cd "${S}" + find . -iname '*.jar' -delete + + epatch "${FILESDIR}/${PN}_bundledjars.patch" + + java-pkg_jar-from --into libs browserlauncher2-1.0 browserlauncher2.jar BrowserLauncher2-1_3.jar + java-pkg_jar-from --into libs javahelp jhall.jar + java-pkg_jar-from --into libs lucene-2.4 lucene-core.jar lucene-core-2.4.0.jar + java-pkg_jar-from --into libs swing-layout-1 swing-layout.jar +} + +src_compile() { + eant -Dfile.reference.BrowserLauncher2-1_3.jar="libs/BrowserLauncher2-1_3.jar" \ + -Dlibs.swing-layout.classpath="libs/swing-layout.jar" jar $(use_doc javadoc) +} + +#test depend on jemmy, a netbeans module. so unless it is packaged separately +#tests cannot be build. + +src_install() { + java-pkg_jarinto "${GAMES_DATADIR}/${PN}" + java-pkg_newjar "dist/${PN}-${MY_PV}.jar" + + java-pkg_dolauncher ${PN} \ + -into "${GAMES_PREFIX}" \ + --pwd "${GAMES_DATADIR}"/${PN} \ + --main pauker.program.gui.swing.PaukerFrame + + use doc && java-pkg_dojavadoc dist/javadoc + use source && java-pkg_dosrc src + + prepgamesdirs +} + |