summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Bush <ali_bush@gentoo.org>2009-01-06 08:14:54 +0000
committerAlistair Bush <ali_bush@gentoo.org>2009-01-06 08:14:54 +0000
commit59e6a9a11c409fecc4dad74133b8257675999bc8 (patch)
treec13145324adacfe71cacb0ecc7d021168cd475aa /app-office/hourglass
parentx11-libs/libdrm: bump to 2.4.3 (GEM fixes and modesetting premises) (diff)
downloadhistorical-59e6a9a11c409fecc4dad74133b8257675999bc8.tar.gz
historical-59e6a9a11c409fecc4dad74133b8257675999bc8.tar.bz2
historical-59e6a9a11c409fecc4dad74133b8257675999bc8.zip
Adding hourglass.
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.28-gentoo x86_64
Diffstat (limited to 'app-office/hourglass')
-rw-r--r--app-office/hourglass/ChangeLog11
-rw-r--r--app-office/hourglass/Manifest5
-rw-r--r--app-office/hourglass/files/hourglass-0.7.1-build.xml.patch13
-rw-r--r--app-office/hourglass/hourglass-0.7.1.ebuild59
-rw-r--r--app-office/hourglass/metadata.xml12
5 files changed, 100 insertions, 0 deletions
diff --git a/app-office/hourglass/ChangeLog b/app-office/hourglass/ChangeLog
new file mode 100644
index 000000000000..ede3eb622655
--- /dev/null
+++ b/app-office/hourglass/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-office/hourglass
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/hourglass/ChangeLog,v 1.1 2009/01/06 08:14:53 ali_bush Exp $
+
+*hourglass-0.7.1 (06 Jan 2009)
+
+ 06 Jan 2009; Alistair Bush <ali_bush@gentoo.org>
+ +files/hourglass-0.7.1-build.xml.patch, +metadata.xml,
+ +hourglass-0.7.1.ebuild:
+ Adding hourglass.
+
diff --git a/app-office/hourglass/Manifest b/app-office/hourglass/Manifest
new file mode 100644
index 000000000000..154f5b11acb7
--- /dev/null
+++ b/app-office/hourglass/Manifest
@@ -0,0 +1,5 @@
+AUX hourglass-0.7.1-build.xml.patch 564 RMD160 9805e7681f7cfb5ce1ce75c8c8487c768c1c1e85 SHA1 58faf023fc94a64bb3ed9d02ed812013903e427c SHA256 e475a4a38c6741da97ca4ee951eeac867fe9c0309df04148804b44676609fec0
+DIST hourglass-0.7.1-src.tar.gz 115695 RMD160 9434da3380f71b1fd2769d560a279e3900987f59 SHA1 89b529e6c2c0cdaa5a19f0a29efa88561bcb2fbd SHA256 f64d56b6441d30e75a8a13ecbfa1afb3c595d5fd18c03ca03bbc7dae467ed385
+EBUILD hourglass-0.7.1.ebuild 1598 RMD160 251224c4d1d1f069bc6acb1068bcf156e6f6ea70 SHA1 ff0ca991cc464f4bfd9b84682782ff684a82014e SHA256 b7b41cf2a5ed1774e0dd64d5274440dfd283616baf5f14048d7b469d652e7888
+MISC ChangeLog 403 RMD160 b18dee8b6c3e14ff866f2f106aaeb76b60a3deaf SHA1 11f6a903df9a31e519f6b734e4d9df50bb708322 SHA256 7fca6f0ad66b8721e37dd9cb9b6b68fd464e240bf9e4f6d381c08b1e4a3decad
+MISC metadata.xml 299 RMD160 1f3c62f9d25e1041c67470071128d60c83bbfd5d SHA1 1b00ccc1b3380bca20e262e60859fa8cb7474af1 SHA256 e6700b728eb34f3013ab03561f40dbe53d222e49fc2626c54a0ee863eb5db47f
diff --git a/app-office/hourglass/files/hourglass-0.7.1-build.xml.patch b/app-office/hourglass/files/hourglass-0.7.1-build.xml.patch
new file mode 100644
index 000000000000..384c754b1e8a
--- /dev/null
+++ b/app-office/hourglass/files/hourglass-0.7.1-build.xml.patch
@@ -0,0 +1,13 @@
+--- build.xml.old 2009-01-02 13:22:01.000000000 +1300
++++ build.xml 2009-01-02 13:23:52.000000000 +1300
+@@ -105,7 +105,9 @@
+ </target>
+
+ <target name="taskdef" depends="init">
+- <ant inheritall="false" antfile="${dir.tools}/build/build.xml" target="export" />
++ <ant inheritall="false" antfile="${dir.tools}/build/build.xml" target="export" >
++ <property name="jar.ant" value="${jar.ant}" />
++ </ant>
+ <taskdef classpathref="classpath.taskdef"
+ resource="net/sourceforge/hourglass/build/hourglass-ant.properties" />
+ </target>
diff --git a/app-office/hourglass/hourglass-0.7.1.ebuild b/app-office/hourglass/hourglass-0.7.1.ebuild
new file mode 100644
index 000000000000..2716fe63f353
--- /dev/null
+++ b/app-office/hourglass/hourglass-0.7.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/hourglass/hourglass-0.7.1.ebuild,v 1.1 2009/01/06 08:14:53 ali_bush Exp $
+
+JAVA_PKG_IUSE="doc source"
+EAPI="1"
+
+inherit java-pkg-2 java-ant-2 eutils
+
+DESCRIPTION="A PSP (personal software process) time tracking utility written in Java"
+HOMEPAGE="http://hourglass.wiki.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+COMMON_DEPEND="dev-java/log4j
+ dev-java/jcommon:1.0
+ dev-java/jdom:1.0"
+
+DEPEND=">=virtual/jdk-1.5
+ dev-java/ant-core
+ ${COMMON_DEPEND}"
+RDEPEND=">=virtual/jre-1.5
+ ${COMMON_DEPEND}"
+
+S="${WORKDIR}/${P}-src"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ #Remove in next release, already upstream.
+ epatch "${FILESDIR}/${P}-build.xml.patch"
+
+ echo "jar.log4j=$(java-pkg_getjar log4j log4j.jar)" > conf/local.properties
+ echo "jar.jcommon=$(java-pkg_getjar jcommon:1.0 jcommon.jar)" >> conf/local.properties
+ echo "jar.jdom=$(java-pkg_getjar jdom:1.0 jdom.jar)" >> conf/local.properties
+ echo "jar.ant=$(java-pkg_getjar --build-only ant-core ant.jar)" >> conf/local.properties
+}
+
+EANT_BUILD_TARGET="dist"
+EANT_DOC_TARGET="javadoc"
+
+src_install() {
+ java-pkg_dojar "dist/${P}/lib/${PN}.jar"
+
+ use doc && java-pkg_dojavadoc build/doc/api
+ use source && java-pkg_dosrc src/*
+
+ java-pkg_dolauncher "${PN}" \
+ --main "net.sourceforge.hourglass.swingui.Main"
+
+ make_desktop_entry "${PN}" "Hourglass" "appointment-new" "Office"
+
+ dodoc README ChangeLog AUTHORS
+}
diff --git a/app-office/hourglass/metadata.xml b/app-office/hourglass/metadata.xml
new file mode 100644
index 000000000000..8d10aad9aa9b
--- /dev/null
+++ b/app-office/hourglass/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd></herd>
+ <maintainer>
+ <email>ali_bush@gentoo.org</email>
+ <name>Alistair Bush</name>
+ </maintainer>
+ <longdescription lang="en">
+ </longdescription>
+</pkgmetadata>
+