summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2007-08-09 20:17:28 +0000
committerCaleb Tennis <caleb@gentoo.org>2007-08-09 20:17:28 +0000
commit17366e0f1434fe2347affdcdf0e53248e505a33c (patch)
tree888c64eb2005d83c224d760b3bf193677badcea7 /dev-java/qtjambi
parentFixing Manifest (diff)
downloadhistorical-17366e0f1434fe2347affdcdf0e53248e505a33c.tar.gz
historical-17366e0f1434fe2347affdcdf0e53248e505a33c.tar.bz2
historical-17366e0f1434fe2347affdcdf0e53248e505a33c.zip
Version bump
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'dev-java/qtjambi')
-rw-r--r--dev-java/qtjambi/ChangeLog7
-rw-r--r--dev-java/qtjambi/Manifest16
-rw-r--r--dev-java/qtjambi/files/digest-qtjambi-4.3.1_p13
-rw-r--r--dev-java/qtjambi/qtjambi-4.3.1_p1.ebuild106
4 files changed, 127 insertions, 5 deletions
diff --git a/dev-java/qtjambi/ChangeLog b/dev-java/qtjambi/ChangeLog
index 125a10d6188b..bb6a752b2ffa 100644
--- a/dev-java/qtjambi/ChangeLog
+++ b/dev-java/qtjambi/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/qtjambi
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/qtjambi/ChangeLog,v 1.4 2007/06/18 12:01:21 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/qtjambi/ChangeLog,v 1.5 2007/08/09 20:17:27 caleb Exp $
+
+*qtjambi-4.3.1_p1 (09 Aug 2007)
+
+ 09 Aug 2007; Caleb Tennis <caleb@gentoo.org> +qtjambi-4.3.1_p1.ebuild:
+ Version bump
*qtjambi-4.3.0_p1-r2 (18 Jun 2007)
diff --git a/dev-java/qtjambi/Manifest b/dev-java/qtjambi/Manifest
index 03c2cf449589..c1f06addc61f 100644
--- a/dev-java/qtjambi/Manifest
+++ b/dev-java/qtjambi/Manifest
@@ -31,6 +31,7 @@ MD5 df02cb01b4ec84657cda5b0845e21b94 files/shared_global_p.h 1848
RMD160 38ba966bb930d2ca65e1049e7580530f79e4dc97 files/shared_global_p.h 1848
SHA256 bdbb728b1633dad6ead39c62d11c432395d4435434ced6558796f4f61fd2518d files/shared_global_p.h 1848
DIST qtjambi-gpl-src-4.3.0_01.tar.gz 3371479 RMD160 bf9b0ed24abcb831228f4c8de4c7fffdb843255e SHA1 3c567e98734dda169c36739d9674e16a120683bc SHA256 dcbf214c96a39871868e43bef04b552f563359df400d4b05576b60ccb03e7dc3
+DIST qtjambi-gpl-src-4.3.1_01.tar.gz 3752087 RMD160 fd1e1a99b787f9cd0a92f3e45148be701980d53c SHA1 dbc497d7bdf787c649db04cf6f9a2041b1b959a0 SHA256 bef26d5d3b04e0eb6505bbd784854536c8b128306059945fe71359963bd6c844
EBUILD qtjambi-4.3.0_p1-r1.ebuild 2503 RMD160 26bc9881e4e9d4ad9999bf836ef29ceebf6ae64e SHA1 6e73cdd224cf69ef3719d7ac1910044a4f8cba4b SHA256 862b099ff58d5ed996095eb3056e1669b7d93915ec0dd78aad4c1baa611dc6ac
MD5 ac0cf286ea9bbedf4b3db1aac387c5b8 qtjambi-4.3.0_p1-r1.ebuild 2503
RMD160 26bc9881e4e9d4ad9999bf836ef29ceebf6ae64e qtjambi-4.3.0_p1-r1.ebuild 2503
@@ -43,10 +44,14 @@ EBUILD qtjambi-4.3.0_p1.ebuild 2437 RMD160 a754af3698fb871a734861c32fa92f9f1db3d
MD5 67a647b5c2ce86fb0af46b56c5fd0de3 qtjambi-4.3.0_p1.ebuild 2437
RMD160 a754af3698fb871a734861c32fa92f9f1db3db4d qtjambi-4.3.0_p1.ebuild 2437
SHA256 d939aa83e31ecac164967a9217a778c8237e28ae0ad987f75444ea0408207e7d qtjambi-4.3.0_p1.ebuild 2437
-MISC ChangeLog 1078 RMD160 f67218f1a797bd10871b8ac20eb0131da99d2f40 SHA1 b15a58bf5cc36fb02b1bf865fe6ddeb551f7ed10 SHA256 30ba6f5b661aed59c4358fddab066676c9e6ba7ebc6ef5494e22815c2547fbeb
-MD5 afb227b1ca3081816975c887a0bc3fcb ChangeLog 1078
-RMD160 f67218f1a797bd10871b8ac20eb0131da99d2f40 ChangeLog 1078
-SHA256 30ba6f5b661aed59c4358fddab066676c9e6ba7ebc6ef5494e22815c2547fbeb ChangeLog 1078
+EBUILD qtjambi-4.3.1_p1.ebuild 3244 RMD160 13c2101df276a4e38c3885f3080f002080ea4b31 SHA1 83f67d37cbe75e1ed203f20a38d7e966d6a57c01 SHA256 6324c5b74b1e616833f1a3520930aeadb4fa952709912417bc2dfa709f723300
+MD5 d8b23bb9e8089fc5c67fe0f5f5216dcd qtjambi-4.3.1_p1.ebuild 3244
+RMD160 13c2101df276a4e38c3885f3080f002080ea4b31 qtjambi-4.3.1_p1.ebuild 3244
+SHA256 6324c5b74b1e616833f1a3520930aeadb4fa952709912417bc2dfa709f723300 qtjambi-4.3.1_p1.ebuild 3244
+MISC ChangeLog 1200 RMD160 9fb3c9ab4d3b0cf72b4f76e916db055081508ad6 SHA1 1a275b200b6483ebb690fb2b06953e77c5320f49 SHA256 ad88ac0103be4fc2950ac805eb07efeeeca041734965a0b760c48f6ecedf4081
+MD5 b59eba6e0af047f53879343e389a776b ChangeLog 1200
+RMD160 9fb3c9ab4d3b0cf72b4f76e916db055081508ad6 ChangeLog 1200
+SHA256 ad88ac0103be4fc2950ac805eb07efeeeca041734965a0b760c48f6ecedf4081 ChangeLog 1200
MISC metadata.xml 156 RMD160 d76590850d56864c8d99e6877ed15841b55ef1fc SHA1 e872bab086832a9db3f0fa9b1897c70577d3af21 SHA256 94c4f580c1a55f8a5e1a1dcdd6dedfea0b8bd78c1d7137c354938d73c49e4448
MD5 512150b47a904b0240101e319856aab1 metadata.xml 156
RMD160 d76590850d56864c8d99e6877ed15841b55ef1fc metadata.xml 156
@@ -60,3 +65,6 @@ SHA256 d196bb56d25f637ad7fe36ce905ac68b7c6970dfa576741a5c82ccb8a3d03941 files/di
MD5 cd2e1c67282c8e16f0500760edb6ecb5 files/digest-qtjambi-4.3.0_p1-r2 277
RMD160 ee6e1f73e8412c6c1e099d46531d81032dd28c30 files/digest-qtjambi-4.3.0_p1-r2 277
SHA256 d196bb56d25f637ad7fe36ce905ac68b7c6970dfa576741a5c82ccb8a3d03941 files/digest-qtjambi-4.3.0_p1-r2 277
+MD5 1dc6923008e0dc9063e592b09eb2b4a7 files/digest-qtjambi-4.3.1_p1 277
+RMD160 81ea003e6ffffceb2387c2f5bd42ebe4cbed2616 files/digest-qtjambi-4.3.1_p1 277
+SHA256 2554db1fa59fe4c31be88ff0faf781d4b040758df8abb3c35e1f5ec544970a9a files/digest-qtjambi-4.3.1_p1 277
diff --git a/dev-java/qtjambi/files/digest-qtjambi-4.3.1_p1 b/dev-java/qtjambi/files/digest-qtjambi-4.3.1_p1
new file mode 100644
index 000000000000..d77eae597e4b
--- /dev/null
+++ b/dev-java/qtjambi/files/digest-qtjambi-4.3.1_p1
@@ -0,0 +1,3 @@
+MD5 b482d90f31d5270659e84f3ae4c2d71d qtjambi-gpl-src-4.3.1_01.tar.gz 3752087
+RMD160 fd1e1a99b787f9cd0a92f3e45148be701980d53c qtjambi-gpl-src-4.3.1_01.tar.gz 3752087
+SHA256 bef26d5d3b04e0eb6505bbd784854536c8b128306059945fe71359963bd6c844 qtjambi-gpl-src-4.3.1_01.tar.gz 3752087
diff --git a/dev-java/qtjambi/qtjambi-4.3.1_p1.ebuild b/dev-java/qtjambi/qtjambi-4.3.1_p1.ebuild
new file mode 100644
index 000000000000..1be0e60eca06
--- /dev/null
+++ b/dev-java/qtjambi/qtjambi-4.3.1_p1.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/qtjambi/qtjambi-4.3.1_p1.ebuild,v 1.1 2007/08/09 20:17:27 caleb Exp $
+
+inherit eutils java-pkg-2
+
+QTVERSION=4.3.1
+PATCHRELEASE=01
+
+DESCRIPTION="QtJambi is a set of Java bindings and utilities for the Qt C++ toolkit."
+HOMEPAGE="http://www.trolltech.com/"
+
+MY_PV=${QTVERSION}_${PATCHRELEASE}
+
+SRC_URI="ftp://ftp.trolltech.com/pub/qtjambi/source/qtjambi-gpl-src-${MY_PV}.tar.gz"
+S=${WORKDIR}/qtjambi-gpl-src-${MY_PV}
+
+LICENSE="GPL-2"
+SLOT="4"
+KEYWORDS="~x86"
+
+IUSE=""
+
+DEPEND="~x11-libs/qt-${QTVERSION}
+ >=virtual/jdk-1.5"
+
+RDEPEND="~x11-libs/qt-${QTVERSION}
+ >=virtual/jre-1.5"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/generator.patch
+ epatch ${FILESDIR}/qtjambi_base.pri.diff
+ epatch ${FILESDIR}/jambi.pri.diff
+
+ # If Qt wasn't built with accessibility use flag, then we needto remove some files from
+ # the list.
+ if ! built_with_use =x11-libs/qt-4* accessibility; then
+ epatch ${FILESDIR}/java_files_remove_accessibility.diff
+ fi
+ if ! built_with_use =x11-libs/qt-4* ssl; then
+ epatch ${FILESDIR}/java_files_remove_ssl.diff
+ fi
+}
+
+src_compile() {
+
+ # Step 1, build the source generator
+ einfo "Building the source generator"
+ cd ${S}/generator
+ /usr/bin/qmake && make || die "Error building generator"
+
+ # Step 2, run the generator
+ einfo "Running the generator. This may take a few minutes."
+ QTDIR=/usr/include/qt4 ./generator
+
+ # Step 3, build the generated sources
+ export JAVADIR=$JDK_HOME
+ einfo "Building the generated sources."
+ cd ${S} && /usr/bin/qmake && make || die "Error building generated sources"
+
+ # Step 4, generate Ui_.java files
+ einfo "Running juic"
+ cd ${S} && ./bin/juic -cp .
+
+ # Step 5, compiling java files
+ einfo "Compiling java files"
+ mkdir -p ${S}/class
+ cd ${S} && ejavac -d class @java_files
+
+ # Step 6, build the jar file
+ cd ${S}/class && jar cf ../qtjambi.jar com/trolltech/qt com/trolltech/tools
+ # copy built classes for demos and examples
+ cd ${S}/class && cp -r com/trolltech/demos com/trolltech/examples com/trolltech/launcher ../com/trolltech
+ cd ${S} && jar cf qtjambi-src.jar com
+
+ # generate start scripts
+ jcp="/usr/share/qtjambi-4/lib"
+ cd ${S} && echo "#!/bin/sh" > bin/jambi-designer
+ cd ${S} && echo "LD_LIBRARY_PATH=/usr/lib/qt4 CLASSPATH=${jcp}/qtjambi.jar:${jcp}/qtjambi-src.jar:$CLASSPATH /usr/bin/designer" >> bin/jambi-designer
+
+ cd ${S} && echo "#!/bin/sh" > bin/jambi
+ cd ${S} && echo "LD_LIBRARY_PATH=/usr/lib/qt4 java -cp ${jcp}/qtjambi.jar:${jcp}/qtjambi-src.jar com.trolltech.launcher.Launcher" >> bin/jambi
+}
+
+src_install() {
+ # Install built jar
+ java-pkg_dojar qtjambi.jar
+ java-pkg_dojar qtjambi-src.jar
+
+ # Install designer plugins
+ insinto /usr/$(get_libdir)/qt4/plugins/designer
+ insopts -m0755
+ doins plugins/designer/*.so
+
+ cp -dpPR ${S}/lib/* ${D}/usr/$(get_libdir)/qt4
+
+ # Install binaries
+ dobin bin/*
+
+ einfo "eclipse - Project->Properties->Java Build Path->Libraries:"
+ einfo "library: /usr/share/qtjambi-4/lib/qtjambi.jar"
+ einfo "source (& demos): /usr/share/qtjambi-4/lib/qtjambi-src.jar"
+ einfo "native library location: /usr/$(get_libdir)/qt4/"
+}