summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2004-08-04 10:15:12 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2004-08-04 10:15:12 +0000
commit1bf41588c6af1fc20bf329c53f2b31fd87e2e7a4 (patch)
tree59d65f975042d2b920da054c7b384eee00c4d90d /app-office
parentHOMEPAGE changed. (diff)
downloadhistorical-1bf41588c6af1fc20bf329c53f2b31fd87e2e7a4.tar.gz
historical-1bf41588c6af1fc20bf329c53f2b31fd87e2e7a4.tar.bz2
historical-1bf41588c6af1fc20bf329c53f2b31fd87e2e7a4.zip
Initial import. Fixes #56358.
Diffstat (limited to 'app-office')
-rw-r--r--app-office/ganttproject/ChangeLog9
-rw-r--r--app-office/ganttproject/Manifest7
-rw-r--r--app-office/ganttproject/files/build.xml.patch10
-rw-r--r--app-office/ganttproject/files/digest-ganttproject-1.9.111
-rw-r--r--app-office/ganttproject/files/ganttcalendar.patch13
-rw-r--r--app-office/ganttproject/files/ganttproject.desktop11
-rw-r--r--app-office/ganttproject/ganttproject-1.9.11.ebuild51
-rw-r--r--app-office/ganttproject/metadata.xml5
8 files changed, 107 insertions, 0 deletions
diff --git a/app-office/ganttproject/ChangeLog b/app-office/ganttproject/ChangeLog
new file mode 100644
index 000000000000..47fccd0b04ae
--- /dev/null
+++ b/app-office/ganttproject/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-office/ganttproject
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/ganttproject/ChangeLog,v 1.1 2004/08/04 10:15:12 karltk Exp $
+
+*ganttproject-1.9.11 (04 Aug 2004)
+
+ 04 Aug 2004; Karl Trygve Kalleberg <karltk@gentoo.org>
+ ganttproject-1.9.11.ebuild: Initial import. Ebuild submitted by Lars Trieloff
+ <lars@trieloff.net>. Fixes #56358.
diff --git a/app-office/ganttproject/Manifest b/app-office/ganttproject/Manifest
new file mode 100644
index 000000000000..9a9d6b512b2a
--- /dev/null
+++ b/app-office/ganttproject/Manifest
@@ -0,0 +1,7 @@
+MD5 e9a6f7d0d6b07e0004fc52ca0ecfbaa4 ganttproject-1.9.11.ebuild 1390
+MD5 ae272cead09e462384b983e3dc0fa818 ChangeLog 430
+MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+MD5 4a2e2fa0e3d18c41b5e92a279a829bdb files/ganttproject.desktop 278
+MD5 1a7ebb9c3b242f9ad9360f9c1c3c3098 files/digest-ganttproject-1.9.11 73
+MD5 5bf249fbdc82ec777581b234abb54d1e files/ganttcalendar.patch 494
+MD5 4da2a79a26daa7f76bcb5ed140ae2b44 files/build.xml.patch 281
diff --git a/app-office/ganttproject/files/build.xml.patch b/app-office/ganttproject/files/build.xml.patch
new file mode 100644
index 000000000000..6cc68e10088b
--- /dev/null
+++ b/app-office/ganttproject/files/build.xml.patch
@@ -0,0 +1,10 @@
+Index: build.xml
+===================================================================
+RCS file: /cvsroot/ganttproject/ganttproject/build.xml,v
+retrieving revision 1.72
+diff -r1.72 build.xml
+161a162,163
+> encoding="ISO-8859-1"
+> source="1.4"
+395a398
+> encoding="ISO-8859-1"
diff --git a/app-office/ganttproject/files/digest-ganttproject-1.9.11 b/app-office/ganttproject/files/digest-ganttproject-1.9.11
new file mode 100644
index 000000000000..7dc49b6b8204
--- /dev/null
+++ b/app-office/ganttproject/files/digest-ganttproject-1.9.11
@@ -0,0 +1 @@
+MD5 6bf6f999791ab8d23c90206ca9c1336c ganttproject-1.9.11-src.zip 4562369
diff --git a/app-office/ganttproject/files/ganttcalendar.patch b/app-office/ganttproject/files/ganttcalendar.patch
new file mode 100644
index 000000000000..a6c4e3d68091
--- /dev/null
+++ b/app-office/ganttproject/files/ganttcalendar.patch
@@ -0,0 +1,13 @@
+Index: src/net/sourceforge/ganttproject/GanttCalendar.java
+===================================================================
+RCS file: /cvsroot/ganttproject/ganttproject/src/net/sourceforge/ganttproject/GanttCalendar.java,v
+retrieving revision 1.14
+diff -r1.14 GanttCalendar.java
+249,251c249,251
+< public int compareTo(Object o) {
+< return compareTo((GanttCalendar)o);
+< }
+---
+> //public int compareTo(Object o) {
+> // return compareTo((GanttCalendar)o);
+> //}
diff --git a/app-office/ganttproject/files/ganttproject.desktop b/app-office/ganttproject/files/ganttproject.desktop
new file mode 100644
index 000000000000..8c4e54b894db
--- /dev/null
+++ b/app-office/ganttproject/files/ganttproject.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Ganttproject
+Name[de]=Ganttproject Projektverwaltung
+Comment=Ganttproject Project Management
+Exec=ganttproject %F
+Icon=gnome-ganttproject.png
+Terminal=false
+Type=Application
+Categories=Application;Office;ProjectManagement;
+StartupNotify=true
diff --git a/app-office/ganttproject/ganttproject-1.9.11.ebuild b/app-office/ganttproject/ganttproject-1.9.11.ebuild
new file mode 100644
index 000000000000..cefa5278dc00
--- /dev/null
+++ b/app-office/ganttproject/ganttproject-1.9.11.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/ganttproject/ganttproject-1.9.11.ebuild,v 1.1 2004/08/04 10:15:12 karltk Exp $
+
+inherit java-pkg
+
+IUSE="doc gnome"
+
+DESCRIPTION="Project Management tool to create Gantt Charts"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip"
+HOMEPAGE="http://ganttproject.sourceforge.net/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~ppc"
+
+DEPEND=">=virtual/jdk-1.4
+ >=dev-java/ant-1.5.4"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/build.xml.patch
+ epatch ${FILESDIR}/ganttcalendar.patch
+}
+
+src_compile() {
+ ant || die "Failed building classes"
+ if use doc; then
+ ant javadocs || die "Failed building javadocs"
+ fi
+ echo "#! /bin/sh" > ganttproject
+ echo "export CLASSPATH=$(java-config -p ganttproject)" >> ganttproject
+ echo "java net.sourceforge.ganttproject.GanttProject $@" >> ganttproject
+}
+
+src_install () {
+ java-pkg_dojar build/*.jar
+ java-pkg_dojar lib/optional/*.jar
+ exeinto /usr/bin
+ doexe ganttproject
+ dodoc AUTHORS COPYING README
+ if use doc; then
+ dohtml -r build/docs/api
+ fi
+ if use gnome; then
+ mkdir -p ${D}/usr/share/gnome/apps/Office/
+ mkdir -p ${D}/usr/share/pixmaps
+ cp ${FILESDIR}/ganttproject.desktop ${D}/usr/share/gnome/apps/Office/
+ cp data/resources/icons/ganttproject.png ${D}/usr/share/pixmaps
+ fi
+}
diff --git a/app-office/ganttproject/metadata.xml b/app-office/ganttproject/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/app-office/ganttproject/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+</pkgmetadata>