summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2012-11-28 23:54:29 +0100
committerGilles Dartiguelongue <eva@gentoo.org>2012-11-28 23:54:29 +0100
commit9641af4154f9d8bc1f0df4071089de33bcd38dc8 (patch)
treee9bcdd8c92a38631f0bc1830923c14bfa64d63d5 /dev-util
parentmedia-gfx/eog-plugins: moved to gnome overlay (diff)
downloadeva-9641af4154f9d8bc1f0df4071089de33bcd38dc8.tar.gz
eva-9641af4154f9d8bc1f0df4071089de33bcd38dc8.tar.bz2
eva-9641af4154f9d8bc1f0df4071089de33bcd38dc8.zip
dev-util/deskzilla: 1.7.1 → 3.1
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/deskzilla/Manifest11
-rw-r--r--dev-util/deskzilla/deskzilla-3.1.ebuild105
-rw-r--r--dev-util/deskzilla/files/deskzilla_gentoo.licensebin0 -> 1584 bytes
-rw-r--r--dev-util/deskzilla/metadata.xml5
4 files changed, 121 insertions, 0 deletions
diff --git a/dev-util/deskzilla/Manifest b/dev-util/deskzilla/Manifest
new file mode 100644
index 0000000..fced7c6
--- /dev/null
+++ b/dev-util/deskzilla/Manifest
@@ -0,0 +1,11 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA512
+
+DIST deskzilla-3_1_without_jre.tar.gz 14040899 SHA256 075a5949bcc42c501d91a89d58364f0c28c8b5817a5c8e260777c2c4088d4846 SHA512 564838b6b89781220bb76df0f8bcde7923221039635ce033f37f6ac4297ac862dc58cd312c11e8a82c6bea1a4d16be42023cef5fd71dfdbaf50cf881009c8271 WHIRLPOOL 21a29b45e00d44b6619fdc6b3a022634794fc123671f88517aeb5d9517baea281d0cb65da11b679f7fed71d7b32ce9b43492c63b273f3f5501d1fbc06587285b
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iEYEAREKAAYFAlC2liUACgkQ1fmVwcYIWAbyhgCglhwivv+vEcz6+zxfLO52CEbT
+P18AoLVsQhQhr+x8Wv/6v6XTmkd8SOg/
+=hVj2
+-----END PGP SIGNATURE-----
diff --git a/dev-util/deskzilla/deskzilla-3.1.ebuild b/dev-util/deskzilla/deskzilla-3.1.ebuild
new file mode 100644
index 0000000..9600ee8
--- /dev/null
+++ b/dev-util/deskzilla/deskzilla-3.1.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/deskzilla/deskzilla-1.7.1.ebuild,v 1.2 2012/05/21 20:04:51 ssuominen Exp $
+
+EAPI=1
+
+inherit eutils java-pkg-2 versionator
+
+DESCRIPTION="A desktop client for Mozilla's Bugzilla bug tracking system."
+HOMEPAGE="http://almworks.com/deskzilla"
+
+MY_PV=$(replace_all_version_separators '_') #${PV/beta/b})
+MY_P="${PN}-${MY_PV}"
+S="${WORKDIR}/${MY_P}"
+SRC_URI="http://d1.almworks.com/.files/${MY_P}_without_jre.tar.gz"
+LICENSE="ALMWorks-1.2"
+# license does not allow redistributing, and they seem to silently update
+# distfiles...
+RESTRICT="mirror"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=">=virtual/jre-1.5
+ dev-java/picocontainer:1
+ dev-java/javolution:4
+ >=dev-java/commons-codec-1.3
+ >=dev-java/jgoodies-forms-1.0.7
+ >=dev-java/commons-logging-1.0.4
+ >=dev-java/xmlrpc-2.0.1
+ dev-java/xerces:2
+ dev-java/itext:0
+ dev-java/jazzy:0
+ >=dev-java/jna-3.2.7
+ >=dev-java/sun-javamail-1.3.3
+ dev-db/sqlite:3"
+
+src_unpack() {
+ unpack ${A}
+ # Remove external unaltered bundled jars
+ local lib="${S}/lib"
+ local liborig="${S}/lib.orig"
+ mv ${lib} ${liborig} || die
+ mkdir ${lib} || die
+ # They've patched commons-httpclient (was version 3.0)
+ mv ${liborig}/commons-httpclient.jar ${lib} || die
+ # They've patched nekohtml (was version 0.9.5)
+ mv ${liborig}/nekohtml.jar ${lib} || die
+ # Also jdom (was 1.0), soon they will patch everything and we will just unpack, yay
+ mv ${liborig}/pjdom.jar ${lib} || die
+ # Almworks proprietary lib
+ mv ${liborig}/almworks-tracker-api.jar ${lib} || die
+ # IntelliJ IDEA proprietary lib
+ mv ${liborig}/forms_rt.jar ${lib} || die
+ # God knows what's this. Anyway, proprietary.
+ mv ${liborig}/twocents.jar ${lib} || die
+ # Integers ???
+ mv ${liborig}/integers.jar ${lib} || die
+
+ # FIXME: opensource package exists
+ mv ${liborig}/sqlite4java.jar ${lib} || die
+ if use amd64; then
+ mv ${liborig}/libsqlite4java-linux-amd64.so ${lib} || die
+ elif use i386; then
+ mv ${liborig}/libsqlite4java-linux-i386.so ${lib} || die
+ fi
+
+ rm -rf ${liborig} || die
+}
+
+src_install () {
+ local dir="/opt/${PN}"
+
+ insinto "${dir}"
+ doins -r components etc license lib log deskzilla.url
+ insinto "${dir}/license"
+ doins "${FILESDIR}"/${PN}_gentoo.license
+
+ java-pkg_jarinto "${dir}"
+ java-pkg_dojar ${PN}.jar
+ local dep="xerces-2,picocontainer-1,commons-logging,commons-codec"
+ dep+=",jgoodies-forms,javolution-4,xmlrpc,itext,jazzy"
+ java-pkg_register-dependency ${dep}
+ java-pkg_dolauncher ${PN} --main "com.almworks.launcher.Launcher" --java_args "-Xmx256M"
+
+ newdoc README.txt README || die
+ newdoc RELEASE.txt RELEASE || die
+
+ doicon deskzilla.png
+ make_desktop_entry deskzilla "Deskzilla" deskzilla "Development"
+}
+
+pkg_postinst() {
+ elog "The default, evaluation license allows usage for one month."
+ elog "You may switch (per-user) to the license we obtained for Gentoo,"
+ elog "located in /opt/${PN}/license/${PN}_gentoo.license"
+ elog "It is locked to Gentoo, ALM Works and Mozilla bugzilla only."
+ elog "Note that you need to use 1.5 VM to run deskzilla when setting"
+ elog "license or it won't get set due to bug in 1.6+ VMs."
+ elog
+ elog "If you are going to use Deskzilla for an open source project,"
+ elog "you can similarly request your own free license:"
+ elog "http://almworks.com/opensource.html?product=deskzilla"
+}
diff --git a/dev-util/deskzilla/files/deskzilla_gentoo.license b/dev-util/deskzilla/files/deskzilla_gentoo.license
new file mode 100644
index 0000000..4c8825b
--- /dev/null
+++ b/dev-util/deskzilla/files/deskzilla_gentoo.license
Binary files differ
diff --git a/dev-util/deskzilla/metadata.xml b/dev-util/deskzilla/metadata.xml
new file mode 100644
index 0000000..838c00a
--- /dev/null
+++ b/dev-util/deskzilla/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>