From 0f29febae1d2c4997d230d39b37c607e0453c259 Mon Sep 17 00:00:00 2001 From: William Thomson Date: Sun, 10 Dec 2006 22:26:52 +0000 Subject: [PATCH] Initial package migration to gen 2. Might still need some cleanups and etc. Possibly a stale package but still works. Upstream has not had a release since 12/05. Package-Manager: portage-2.1.2_rc3-r1 --- dev-db/jxtray/ChangeLog | 10 ++- dev-db/jxtray/Manifest | 31 +++++---- dev-db/jxtray/files/digest-jxtray-0.5 | 2 + dev-db/jxtray/files/digest-jxtray-0.5-r1 | 3 + dev-db/jxtray/jxtray-0.5-r1.ebuild | 80 ++++++++++++++++++++++++ dev-db/jxtray/metadata.xml | 17 ++--- 6 files changed, 122 insertions(+), 21 deletions(-) create mode 100644 dev-db/jxtray/files/digest-jxtray-0.5-r1 create mode 100644 dev-db/jxtray/jxtray-0.5-r1.ebuild diff --git a/dev-db/jxtray/ChangeLog b/dev-db/jxtray/ChangeLog index 3e9058c94284..f1da156fe93c 100644 --- a/dev-db/jxtray/ChangeLog +++ b/dev-db/jxtray/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-db/jxtray # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/jxtray/ChangeLog,v 1.9 2006/11/30 15:16:08 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/jxtray/ChangeLog,v 1.10 2006/12/10 22:26:52 wltjr Exp $ + +*jxtray-0.5-r1 (10 Dec 2006) + + 10 Dec 2006; William L. Thomson Jr. metadata.xml, + +jxtray-0.5-r1.ebuild: + Initial package migration to gen 2. Might still need some cleanups and etc. + Possibly a stale package but still works. Upstream has not had a release + since 12/05. 30 Nov 2006; Vlastimil Babka jxtray-0.5.ebuild: Update xerces dep for upcoming 2.6 slotmove. diff --git a/dev-db/jxtray/Manifest b/dev-db/jxtray/Manifest index 264993fb5bc7..cac6a422e89d 100644 --- a/dev-db/jxtray/Manifest +++ b/dev-db/jxtray/Manifest @@ -6,19 +6,26 @@ AUX default.properties 109 RMD160 3ab7abd2a5102ce2b8cb4fb93c63afeba91c046c SHA1 MD5 63dce73e99d8ec22a695238f0928b003 files/default.properties 109 RMD160 3ab7abd2a5102ce2b8cb4fb93c63afeba91c046c files/default.properties 109 SHA256 bd4f5887a65b1db47d2546b32ada76f9df2311bf5f9e383cacf576c57a88c4fd files/default.properties 109 -DIST jxtray-src-0.5.tgz 2476739 +DIST jxtray-src-0.5.tgz 2476739 RMD160 f35e7def1558cfcee48bfb42e1706e3ba8866e45 SHA1 3c01c781a8c9670a6e12c1a03bfc809756e2577e SHA256 ddb5d2b2399d1440d84b144fce4ef4f7ff865081745057e101deff3a38f0a849 +EBUILD jxtray-0.5-r1.ebuild 2238 RMD160 697817c6c976cd2095d366057ea530032d6388ad SHA1 7a56018c91d3fe6496096ff7f43a0c61728c21d2 SHA256 4752c1898e425740b1433dfdff26ee59f3d6f5e69f2b23fdf93b654dc422b32d +MD5 2fb995bb19a572ebc2b2a494c3a1e402 jxtray-0.5-r1.ebuild 2238 +RMD160 697817c6c976cd2095d366057ea530032d6388ad jxtray-0.5-r1.ebuild 2238 +SHA256 4752c1898e425740b1433dfdff26ee59f3d6f5e69f2b23fdf93b654dc422b32d jxtray-0.5-r1.ebuild 2238 EBUILD jxtray-0.5.ebuild 2363 RMD160 9c4abdff976219f1ddf56dd8896abc117e066249 SHA1 c9b26681c17593e0f204011c09148eaf1a588cef SHA256 66fa9011251840ad8ff0277228635d2f11140faaf9f1c5e298bdff6ad2618373 MD5 fa7e6e95cfc6312df8b884f95732e242 jxtray-0.5.ebuild 2363 RMD160 9c4abdff976219f1ddf56dd8896abc117e066249 jxtray-0.5.ebuild 2363 SHA256 66fa9011251840ad8ff0277228635d2f11140faaf9f1c5e298bdff6ad2618373 jxtray-0.5.ebuild 2363 -MISC ChangeLog 1267 RMD160 97f89b9d45e6ee60527b53161c3f11af910f8955 SHA1 74335022219574389ada7750e7c301e768e10e62 SHA256 ee1b9f2f31fa867602b6264a62241cd65f09a3ab18e9ed2d94d3a7c29334d124 -MD5 978027580a877a0829540b31a6a2196b ChangeLog 1267 -RMD160 97f89b9d45e6ee60527b53161c3f11af910f8955 ChangeLog 1267 -SHA256 ee1b9f2f31fa867602b6264a62241cd65f09a3ab18e9ed2d94d3a7c29334d124 ChangeLog 1267 -MISC metadata.xml 581 RMD160 cb9781e44b6abc76e643cc9472881c79abef3640 SHA1 b8b88a026f621919288c916b2a2ae029edbe4d96 SHA256 656341d0ece08ec91cee5738f7bd87723f23177ff665d46205af44c3833766cf -MD5 f5ddd2d4a1069f3b3c4876d2be95eaff metadata.xml 581 -RMD160 cb9781e44b6abc76e643cc9472881c79abef3640 metadata.xml 581 -SHA256 656341d0ece08ec91cee5738f7bd87723f23177ff665d46205af44c3833766cf metadata.xml 581 -MD5 f84f96f0c025c480d3404ee1ad22e3fc files/digest-jxtray-0.5 64 -RMD160 2c03f713bb5433525116d60d522f08badf600fe7 files/digest-jxtray-0.5 64 -SHA256 a81f822a52c4373aeac1b9e155c4a0374f9eb228d017d9755c41d1e1b702aa77 files/digest-jxtray-0.5 64 +MISC ChangeLog 1562 RMD160 248b7376f85a476eb3aae2567b2be3ca9eeee3db SHA1 306d8f7ca0dc90a3c5eab427bc546d2aa2e63ea1 SHA256 9ffdfe2ffc84c9ed60757abb0c14038116a076eb6664948779b6c23c7af5eaf5 +MD5 38d316dbafcc6aa647acca35f94e165c ChangeLog 1562 +RMD160 248b7376f85a476eb3aae2567b2be3ca9eeee3db ChangeLog 1562 +SHA256 9ffdfe2ffc84c9ed60757abb0c14038116a076eb6664948779b6c23c7af5eaf5 ChangeLog 1562 +MISC metadata.xml 586 RMD160 774dae3c502ca2fdb4e906211cdfb5b7ecf3e9a7 SHA1 d4a26605f4ccfbdc0a582cccec0bf6c7dcc5829d SHA256 4be3c32bfe30ef7b3d9c516caf50be3c23508dac87bf643edfcd0835f68a4aaf +MD5 594c956745248197dd33c47c01686464 metadata.xml 586 +RMD160 774dae3c502ca2fdb4e906211cdfb5b7ecf3e9a7 metadata.xml 586 +SHA256 4be3c32bfe30ef7b3d9c516caf50be3c23508dac87bf643edfcd0835f68a4aaf metadata.xml 586 +MD5 7af89aae3e508d01ce8dfab9af1d81be files/digest-jxtray-0.5 238 +RMD160 195074f5a992ba75b3228faf6ef28ac00b168a6e files/digest-jxtray-0.5 238 +SHA256 ce525836d421d7614397a7dc09f5c1f74f6431fb4e650a1e68cc6c98b15e72f4 files/digest-jxtray-0.5 238 +MD5 7af89aae3e508d01ce8dfab9af1d81be files/digest-jxtray-0.5-r1 238 +RMD160 195074f5a992ba75b3228faf6ef28ac00b168a6e files/digest-jxtray-0.5-r1 238 +SHA256 ce525836d421d7614397a7dc09f5c1f74f6431fb4e650a1e68cc6c98b15e72f4 files/digest-jxtray-0.5-r1 238 diff --git a/dev-db/jxtray/files/digest-jxtray-0.5 b/dev-db/jxtray/files/digest-jxtray-0.5 index eb8824c7c83b..928e2b1f52a2 100644 --- a/dev-db/jxtray/files/digest-jxtray-0.5 +++ b/dev-db/jxtray/files/digest-jxtray-0.5 @@ -1 +1,3 @@ MD5 2d8f90c6c597e2a50b2217c4ec4abb03 jxtray-src-0.5.tgz 2476739 +RMD160 f35e7def1558cfcee48bfb42e1706e3ba8866e45 jxtray-src-0.5.tgz 2476739 +SHA256 ddb5d2b2399d1440d84b144fce4ef4f7ff865081745057e101deff3a38f0a849 jxtray-src-0.5.tgz 2476739 diff --git a/dev-db/jxtray/files/digest-jxtray-0.5-r1 b/dev-db/jxtray/files/digest-jxtray-0.5-r1 new file mode 100644 index 000000000000..928e2b1f52a2 --- /dev/null +++ b/dev-db/jxtray/files/digest-jxtray-0.5-r1 @@ -0,0 +1,3 @@ +MD5 2d8f90c6c597e2a50b2217c4ec4abb03 jxtray-src-0.5.tgz 2476739 +RMD160 f35e7def1558cfcee48bfb42e1706e3ba8866e45 jxtray-src-0.5.tgz 2476739 +SHA256 ddb5d2b2399d1440d84b144fce4ef4f7ff865081745057e101deff3a38f0a849 jxtray-src-0.5.tgz 2476739 diff --git a/dev-db/jxtray/jxtray-0.5-r1.ebuild b/dev-db/jxtray/jxtray-0.5-r1.ebuild new file mode 100644 index 000000000000..5a395b3365e1 --- /dev/null +++ b/dev-db/jxtray/jxtray-0.5-r1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/jxtray/jxtray-0.5-r1.ebuild,v 1.1 2006/12/10 22:26:52 wltjr Exp $ + +inherit java-pkg-2 + +DESCRIPTION="Java based Database Explorer" +HOMEPAGE="http://jxtray.sourceforge.net" +SRC_URI="mirror://sourceforge/jxtray/${PN}-src-${PV}.tgz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="doc firebird mssql mysql postgres" + +RDEPEND="|| ( =virtual/jre-1.4* =virtual/jre-1.5* ) + >=dev-java/jdom-1.0_beta9 + >=dev-java/kunststoff-2.0.2 + dev-java/poi + dev-java/sax + >=dev-java/xerces-2.7 + dev-java/xml-commons + firebird? ( dev-java/jdbc-jaybird ) + mssql? ( =dev-java/jtds-0.9* ) + mysql? ( dev-java/jdbc-mysql ) + postgres? ( dev-java/jdbc3-postgresql ) + !firebird? ( !mssql? ( !postgres? ( dev-java/jdbc-mysql ) ) )" +DEPEND="|| ( =virtual/jdk-1.4* =virtual/jdk-1.5* ) + ${RDEPEND} + dev-java/ant-core" + +S="${WORKDIR}/${PN}-src-${PV}" + +src_unpack() { + unpack ${A} + cp ${FILESDIR}/build.xml ${FILESDIR}/default.properties ${S} + local cp="" + + cd ${S}/lib + rm *.jar + cp="${cp}:$(java-pkg_getjars jdom-1.0_beta9)" + cp="${cp}:$(java-pkg_getjars xerces-2)" + cp="${cp}:$(java-pkg_getjars xml-commons)" + cp="${cp}:$(java-pkg_getjars sax)" + cp="${cp}:$(java-pkg_getjars poi)" + + cd ${S}/lib/lookandfeel + rm *.jar + cp="${cp}:$(java-pkg_getjars kunststoff-2.0)" + + cd ${S}/lib/drivers + rm *.jar + use firebird && cp="${cp}:$(java-pkg_getjars jdbc-jaybird)" + use mssql && cp="${cp}:$(java-pkg_getjars jtds-0.9)" + use mysql && cp="${cp}:$(java-pkg_getjars jdbc-mysql)" + use postgres && cp="${cp}:$(java-pkg_getjars jdbc3-postgresql)" + + echo "classpath=${cp}" > ${S}/build.properties +} + +src_compile() { + eant jar $(use_doc javadocs) +} + +src_install() { + local cp="java-config -p jxtray,jdom-1.0_beta9,xerces-2,xml-commons,sax,poi,kunststoff-2.0" + + use firebird && cp="${cp},jdbc-jaybird" + use mssql && cp="${cp},jtds-0.9" + use mysql && cp="${cp},jdbc-mysql" + use postgres && cp="${cp},jdbc3-postgresql" + + java-pkg_newjar ${S}/dist/${P}.jar ${PN}.jar + + echo "#!/bin/sh" > ${PN} + echo "java -cp \$(${cp}) jxtray.Jxtray" >> ${PN} + dobin ${PN} + + dodoc CHANGELOG.txt README.txt + use doc && java-pkg_dohtml -r ${S}/javadoc/* +} diff --git a/dev-db/jxtray/metadata.xml b/dev-db/jxtray/metadata.xml index f2eb970ad837..68c7e00befb3 100644 --- a/dev-db/jxtray/metadata.xml +++ b/dev-db/jxtray/metadata.xml @@ -2,15 +2,16 @@ -java - + java -Jxtray is a database explorer written in Java. Jxtray can be used to connect to -any type of database with suitable JDBC drivers. It can provide you with -information regarding your data bases, carry out SQL queries and extract data in -the following formats: CSV, SQL, HTML, XML. The name jxtray comes from the -French word j'extrait, which means the function of retrieval of data. + + Jxtray is a database explorer written in Java. Jxtray can be used to + connect to any type of database with suitable JDBC drivers. It can + provide you with information regarding your data bases, carry out SQL + queries and extract data in the following formats: CSV, SQL, HTML, + XML. The name jxtray comes from the French word j'extrait, which means + the function of retrieval of data. + - -- 2.26.2