summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2008-02-25 17:09:04 +0000
committerCaleb Tennis <caleb@gentoo.org>2008-02-25 17:09:04 +0000
commit9034e3ac1222fa0f10a0ebd199c9903831897e12 (patch)
tree176900cee21554a01e19f8097c554daf1aa1a372 /dev-java/qtjambi
parentVersion bump. (diff)
downloadgentoo-2-9034e3ac1222fa0f10a0ebd199c9903831897e12.tar.gz
gentoo-2-9034e3ac1222fa0f10a0ebd199c9903831897e12.tar.bz2
gentoo-2-9034e3ac1222fa0f10a0ebd199c9903831897e12.zip
remove version no longer in portage
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-java/qtjambi')
-rw-r--r--dev-java/qtjambi/ChangeLog8
-rw-r--r--dev-java/qtjambi/files/generator-4.3.1.patch10
-rw-r--r--dev-java/qtjambi/qtjambi-4.3.1_p1.ebuild106
3 files changed, 6 insertions, 118 deletions
diff --git a/dev-java/qtjambi/ChangeLog b/dev-java/qtjambi/ChangeLog
index 8bbc795a5a34..b20e8c775d94 100644
--- a/dev-java/qtjambi/ChangeLog
+++ b/dev-java/qtjambi/ChangeLog
@@ -1,6 +1,10 @@
# 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.12 2007/12/30 17:24:29 jokey Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/qtjambi/ChangeLog,v 1.13 2008/02/25 17:09:04 caleb Exp $
+
+ 25 Feb 2008; Caleb Tennis <caleb@gentoo.org> -files/generator-4.3.1.patch,
+ -qtjambi-4.3.1_p1.ebuild:
+ remove version no longer in portage
30 Dec 2007; Markus Ullmann <jokey@gentoo.org> qtjambi-4.3.3_p1.ebuild:
Fix quoting
diff --git a/dev-java/qtjambi/files/generator-4.3.1.patch b/dev-java/qtjambi/files/generator-4.3.1.patch
deleted file mode 100644
index 64464f7f4baa..000000000000
--- a/dev-java/qtjambi/files/generator-4.3.1.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- generator/main.h.orig 2007-08-11 16:21:02.000000000 -0400
-+++ generator/main.h 2007-08-11 16:21:25.000000000 -0400
-@@ -74,7 +74,6 @@
- if (qtdir.isEmpty()) {
- qWarning("QTDIR environment variable not set. This may cause problems with finding the necessary include files.");
- } else {
-- qtdir += "/include";
- includes << qtdir;
- includes << (qtdir + "/QtXml");
- includes << (qtdir + "/QtNetWork");
diff --git a/dev-java/qtjambi/qtjambi-4.3.1_p1.ebuild b/dev-java/qtjambi/qtjambi-4.3.1_p1.ebuild
deleted file mode 100644
index e73364226f2a..000000000000
--- a/dev-java/qtjambi/qtjambi-4.3.1_p1.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# 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.2 2007/08/11 20:24:59 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-4.3.1.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/"
-}