summaryrefslogtreecommitdiff
path: root/dev-util/deskzilla
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-util/deskzilla
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-util/deskzilla')
-rw-r--r--dev-util/deskzilla/Manifest6
-rw-r--r--dev-util/deskzilla/deskzilla-1.7.1-r1.ebuild87
-rw-r--r--dev-util/deskzilla/metadata.xml8
3 files changed, 101 insertions, 0 deletions
diff --git a/dev-util/deskzilla/Manifest b/dev-util/deskzilla/Manifest
new file mode 100644
index 000000000000..90747427a809
--- /dev/null
+++ b/dev-util/deskzilla/Manifest
@@ -0,0 +1,6 @@
+DIST deskzilla-1_7_1_without_jre.tar.gz 9248721 SHA256 8c643e2c828bfa14aa3b1ec668d92602aeb21edce67319c279f4bb5879425ebf SHA512 86997ebed6b01b39408e8c27ee0c560e506368cc9b12dfc82134addd47c1be746e74cdf908c9e9ee794d6337bb32971f2a07ce7c283b81e4f506027894edbac7 WHIRLPOOL 946f9a5b10a01dbe19d257712e788640823b360433dd0b6a2155699e77d8e59fd77aa0e2c4de93b3a40d9c732ec7f973051f8957e6521b7e7db8c20a3858f8eb
+DIST deskzilla_gentoo.license 1584 SHA256 a11b89eedf8211d50ca13177b7d8d1fc59645a5c9faa13761525c24a9ae84a74 SHA512 60437ba4ed872abc37d41974717a10fb290dcdf8bde31b3bc493fd71d8abbcdec63e236148720558f1867b773b804bc49d4cce6ea5f1b002c39eca5f074e5e9a WHIRLPOOL b9bc69f6fc53542b97a802c5ba426540ad68e49ff2020b0b8e5d86caf608b1dbf8826df52b8815af57add5ac3d59d4c47054650291c653ff04849ad7e08e4142
+EBUILD deskzilla-1.7.1-r1.ebuild 2797 SHA256 408eadacb6d44842bbf508ef7f259c4ea8692f16fcc1ce99ffd26ec35664286b SHA512 154dd3acb983673aabd7ade188d93f8ec1db15f113547107eb8b8b14c966f100aec68e2b9364dd85a5ea9a68fdccbd0c2e20b589e76dfc47d84c1b6d14c4753d WHIRLPOOL edae4f6a590adb89d97e3d91c8d13d367c7e911b6dd01e08a94dfc3b2619ffbd27b67a802d46d9d1518bb9a9d9f994a6bae212547c8f2b3e3fa8b399a1fcbd2e
+MISC ChangeLog 2611 SHA256 f759a5b191d70cf3574f425066d78dccd74efd367ca3eb49976de4d3fc821534 SHA512 642565214279f7970a0f6baf1475287a3bd2412d9154f0c757b08648307c389e435dd37bd1d5a621a853279a89b18fc81c19db3bee6c44254fac0d69b1997248 WHIRLPOOL af22e3cd6b8bde41f13db45c4c4b72c52ebcc4050ef423d06a5ec5e18f75c8d2eb35a4d8a5d4b3c123788161e5b04b1a542859e3add7a23b59ec51968fce394b
+MISC ChangeLog-2015 3264 SHA256 00931465394b99f869e932836ce27c7055489da37ba8fb2f5a1a7fc84b2f2dfa SHA512 f8c881ee57d32fdf820ba48e8f8a38f28826839b1c70a7eb6475fb864e1980b3dc6ac7f8027147e8a748c6f54e1eda71526ae48ad90b2c2107eb94f8a8fd4705 WHIRLPOOL e1c8714e738b4eadabd2e71b69f890cfbc7280d435ff94398ef7b3dc2f670ed97cd535d23f894891b42b7d4c0fc11541d8ffa8859aad5aa58837e3fe3cc3c9c4
+MISC metadata.xml 232 SHA256 0c8d91b3d514ac42d0eaca567346ab909c0f947049c85c25a380ec2400f1b3fb SHA512 00beaf2c81112ff757c4395f4ea47e85f2d48e369e241f10ddf200090dd6513d52ae2b1aef6d28b7417f1cf34608a7258a167eb307d5670323a2190f3710f893 WHIRLPOOL 3a1a6d054edc9177d85ca868f9b0a6e84ee51bab4fbdbb9b1ead1a03874036bcc3f96e903fb751dc4d29fdb7d6b5f3d8dbe7b042fc697c887e23f41cc9c8c4ac
diff --git a/dev-util/deskzilla/deskzilla-1.7.1-r1.ebuild b/dev-util/deskzilla/deskzilla-1.7.1-r1.ebuild
new file mode 100644
index 000000000000..66b5d1cf350c
--- /dev/null
+++ b/dev-util/deskzilla/deskzilla-1.7.1-r1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit 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
+ https://dev.gentoo.org/~ercpe/distfiles/${CATEGORY}/${PN}/deskzilla_gentoo.license"
+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"
+
+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
+ 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 "${DISTDIR}"/deskzilla_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."
+}
diff --git a/dev-util/deskzilla/metadata.xml b/dev-util/deskzilla/metadata.xml
new file mode 100644
index 000000000000..2444066aa02b
--- /dev/null
+++ b/dev-util/deskzilla/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+</maintainer>
+</pkgmetadata>