From bed4af5a8d058e2455c10166858aa320efc65f48 Mon Sep 17 00:00:00 2001 From: Michael Imhof Date: Tue, 2 Jan 2007 20:59:40 +0000 Subject: [PATCH] Fixed USE logic. Bumped version. Cleaned out old ebuilds. Closes #144701, #146701. Package-Manager: portage-2.1.2_rc4-r4 --- app-office/taskjuggler/ChangeLog | 13 +++- .../files/digest-taskjuggler-2.2.0-r1 | 3 + .../files/digest-taskjuggler-2.3.0 | 3 + .../taskjuggler/taskjuggler-2.2.0-r1.ebuild | 73 +++++++++++++++++++ .../taskjuggler/taskjuggler-2.3.0.ebuild | 73 +++++++++++++++++++ 5 files changed, 163 insertions(+), 2 deletions(-) create mode 100644 app-office/taskjuggler/files/digest-taskjuggler-2.2.0-r1 create mode 100644 app-office/taskjuggler/files/digest-taskjuggler-2.3.0 create mode 100644 app-office/taskjuggler/taskjuggler-2.2.0-r1.ebuild create mode 100644 app-office/taskjuggler/taskjuggler-2.3.0.ebuild diff --git a/app-office/taskjuggler/ChangeLog b/app-office/taskjuggler/ChangeLog index c913f1975e98..82bd16164de7 100644 --- a/app-office/taskjuggler/ChangeLog +++ b/app-office/taskjuggler/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for app-office/taskjuggler -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/taskjuggler/ChangeLog,v 1.4 2006/04/17 12:19:09 dertobi123 Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/taskjuggler/ChangeLog,v 1.5 2007/01/02 20:59:40 tantive Exp $ + +*taskjuggler-2.3.0 (02 Jan 2007) +*taskjuggler-2.2.0-r1 (02 Jan 2007) + + 02 Jan 2007; Michael Imhof -taskjuggler-2.1.1.ebuild, + -taskjuggler-2.1.1-r1.ebuild, -taskjuggler-2.2.0.ebuild, + +taskjuggler-2.2.0-r1.ebuild, +taskjuggler-2.3.0.ebuild: + Fixed USE logic. Bumped version. Cleaned out old ebuilds. Closes #144701, + #146701. 17 Apr 2006; Tobias Scherbaum taskjuggler-2.2.0.ebuild: diff --git a/app-office/taskjuggler/files/digest-taskjuggler-2.2.0-r1 b/app-office/taskjuggler/files/digest-taskjuggler-2.2.0-r1 new file mode 100644 index 000000000000..574be8116744 --- /dev/null +++ b/app-office/taskjuggler/files/digest-taskjuggler-2.2.0-r1 @@ -0,0 +1,3 @@ +MD5 0f7a0301a6e1ec82378bbf4e2539af66 taskjuggler-2.2.0.tar.bz2 1231701 +RMD160 c5221622c236131f4b6efa62a8b9c079f81bdf2b taskjuggler-2.2.0.tar.bz2 1231701 +SHA256 1499174951cbf4857bb98728b6bb4069112fc28d074149bd3efb61fcb5c98d2e taskjuggler-2.2.0.tar.bz2 1231701 diff --git a/app-office/taskjuggler/files/digest-taskjuggler-2.3.0 b/app-office/taskjuggler/files/digest-taskjuggler-2.3.0 new file mode 100644 index 000000000000..54d04addce84 --- /dev/null +++ b/app-office/taskjuggler/files/digest-taskjuggler-2.3.0 @@ -0,0 +1,3 @@ +MD5 c45b95507caf96ba39b7f40065c9f34b taskjuggler-2.3.0.tar.bz2 1238644 +RMD160 b6e1d9b5fd4e10e01b9297ee1fc1352f3894229a taskjuggler-2.3.0.tar.bz2 1238644 +SHA256 2c5c0ee8724058b8c1421d889dff23e6b8d0ceb5ccef835303f5a93c4e24da30 taskjuggler-2.3.0.tar.bz2 1238644 diff --git a/app-office/taskjuggler/taskjuggler-2.2.0-r1.ebuild b/app-office/taskjuggler/taskjuggler-2.2.0-r1.ebuild new file mode 100644 index 000000000000..d43f6aaf1d6f --- /dev/null +++ b/app-office/taskjuggler/taskjuggler-2.2.0-r1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/taskjuggler/taskjuggler-2.2.0-r1.ebuild,v 1.1 2007/01/02 20:59:40 tantive Exp $ + +inherit eutils qt3 + +DESCRIPTION="project management tool for Linux and UNIX system-based operating systems" +SRC_URI="http://www.taskjuggler.org/download/${P}.tar.bz2" +HOMEPAGE="http://taskjuggler.org" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" + +IUSE="arts kde" +SLOT="0" + +# Otherwise compilation will break for amd64 or when using -Os +DEPEND=">=x11-libs/qt-3.3 + kde? ( >=kde-base/kdelibs-3 + || ( kde-base/libkdepim kde-base/kdepim ) + || ( kde-base/libkcal kde-base/kdepim ) ) + app-text/openjade + dev-libs/libxslt + >=dev-perl/Class-MethodMaker-2.02 + dev-perl/Date-Calc + dev-perl/PostScript-Simple + dev-perl/XML-Parser + net-print/poster" + +src_compile() { + # 'db2html' does not know '--xencoding utf8' and is called 'docbook2html' in gentoo + # also 'db2ps --pdf' should be 'docbook2pdf' and 'db2ps' should be 'docbook2ps' + # see http://lists.suse.com/archive/taskjuggler-devel/2005-Mar/0011.html + sed -i -e 's/--xencoding utf-8//g' docs/en/Makefile.* + sed -i -e 's/db2ps --pdf/docbook2pdf/g' docs/en/Makefile.* + sed -i -e 's/db2ps/docbook2ps/g' docs/en/Makefile.* + + # Need to fake out QT or we'll get sandbox probles + # from http://www.gentoo.org/cgi-bin/viewcvs.cgi/dev-db/tora/tora-1.3.13.ebuild?r1=1.2&r2=1.3 + REALHOME="$HOME" + mkdir -p $T/fakehome/.kde + mkdir -p $T/fakehome/.qt + export HOME="$T/fakehome" + addwrite "${QTDIR}/etc/settings" + + local myconf + myconf="--with-kde-support" + use kde \ + && myconf="${myconf}=yes" \ + || myconf="${myconf}=no" + + myconf="${myconf} `use_with arts`" + + econf \ + ${myconf} \ + || die "configure failed" + + # don't build docs, fails in docbook2html and docbook2pdf... + sed -i -e 's/ docs / /g' Makefile + + emake || die "emake failed" +} + +src_install() { +# dodir /usr/share/apps/katepart/syntax +# doins Contrib/kate/taskjuggler.xml || die + make install DESTDIR=${D} || die "install failed" + if use kde; then + cd Contrib/kate + make install DESTDIR=${D} || die "install kate-addons failed" + fi +} + diff --git a/app-office/taskjuggler/taskjuggler-2.3.0.ebuild b/app-office/taskjuggler/taskjuggler-2.3.0.ebuild new file mode 100644 index 000000000000..b67507340348 --- /dev/null +++ b/app-office/taskjuggler/taskjuggler-2.3.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/taskjuggler/taskjuggler-2.3.0.ebuild,v 1.1 2007/01/02 20:59:40 tantive Exp $ + +inherit eutils qt3 + +DESCRIPTION="project management tool for Linux and UNIX system-based operating systems" +SRC_URI="http://www.taskjuggler.org/download/${P}.tar.bz2" +HOMEPAGE="http://taskjuggler.org" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" + +IUSE="arts kde" +SLOT="0" + +# Otherwise compilation will break for amd64 or when using -Os +DEPEND=">=x11-libs/qt-3.3 + kde? ( >=kde-base/kdelibs-3 + || ( kde-base/libkdepim kde-base/kdepim ) + || ( kde-base/libkcal kde-base/kdepim ) ) + app-text/openjade + dev-libs/libxslt + >=dev-perl/Class-MethodMaker-2.02 + dev-perl/Date-Calc + dev-perl/PostScript-Simple + dev-perl/XML-Parser + net-print/poster" + +src_compile() { + # 'db2html' does not know '--xencoding utf8' and is called 'docbook2html' in gentoo + # also 'db2ps --pdf' should be 'docbook2pdf' and 'db2ps' should be 'docbook2ps' + # see http://lists.suse.com/archive/taskjuggler-devel/2005-Mar/0011.html + sed -i -e 's/--xencoding utf-8//g' docs/en/Makefile.* + sed -i -e 's/db2ps --pdf/docbook2pdf/g' docs/en/Makefile.* + sed -i -e 's/db2ps/docbook2ps/g' docs/en/Makefile.* + + # Need to fake out QT or we'll get sandbox probles + # from http://www.gentoo.org/cgi-bin/viewcvs.cgi/dev-db/tora/tora-1.3.13.ebuild?r1=1.2&r2=1.3 + REALHOME="$HOME" + mkdir -p $T/fakehome/.kde + mkdir -p $T/fakehome/.qt + export HOME="$T/fakehome" + addwrite "${QTDIR}/etc/settings" + + local myconf + myconf="--with-kde-support" + use kde \ + && myconf="${myconf}=yes" \ + || myconf="${myconf}=no" + + myconf="${myconf} `use_with arts`" + + econf \ + ${myconf} \ + || die "configure failed" + + # don't build docs, fails in docbook2html and docbook2pdf... + sed -i -e 's/ docs / /g' Makefile + + emake || die "emake failed" +} + +src_install() { +# dodir /usr/share/apps/katepart/syntax +# doins Contrib/kate/taskjuggler.xml || die + make install DESTDIR=${D} || die "install failed" + if use kde; then + cd Contrib/kate + make install DESTDIR=${D} || die "install kate-addons failed" + fi +} + -- 2.26.2