1 |
commit: 9641af4154f9d8bc1f0df4071089de33bcd38dc8 |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 28 22:54:29 2012 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 28 22:54:29 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/eva.git;a=commit;h=9641af41 |
7 |
|
8 |
dev-util/deskzilla: 1.7.1 → 3.1 |
9 |
|
10 |
--- |
11 |
dev-util/deskzilla/Manifest | 11 ++ |
12 |
dev-util/deskzilla/deskzilla-3.1.ebuild | 105 +++++++++++++++++++++ |
13 |
dev-util/deskzilla/files/deskzilla_gentoo.license | Bin 0 -> 1584 bytes |
14 |
dev-util/deskzilla/metadata.xml | 5 + |
15 |
4 files changed, 121 insertions(+), 0 deletions(-) |
16 |
|
17 |
diff --git a/dev-util/deskzilla/Manifest b/dev-util/deskzilla/Manifest |
18 |
new file mode 100644 |
19 |
index 0000000..fced7c6 |
20 |
--- /dev/null |
21 |
+++ b/dev-util/deskzilla/Manifest |
22 |
@@ -0,0 +1,11 @@ |
23 |
+-----BEGIN PGP SIGNED MESSAGE----- |
24 |
+Hash: SHA512 |
25 |
+ |
26 |
+DIST deskzilla-3_1_without_jre.tar.gz 14040899 SHA256 075a5949bcc42c501d91a89d58364f0c28c8b5817a5c8e260777c2c4088d4846 SHA512 564838b6b89781220bb76df0f8bcde7923221039635ce033f37f6ac4297ac862dc58cd312c11e8a82c6bea1a4d16be42023cef5fd71dfdbaf50cf881009c8271 WHIRLPOOL 21a29b45e00d44b6619fdc6b3a022634794fc123671f88517aeb5d9517baea281d0cb65da11b679f7fed71d7b32ce9b43492c63b273f3f5501d1fbc06587285b |
27 |
+-----BEGIN PGP SIGNATURE----- |
28 |
+Version: GnuPG v2.0.19 (GNU/Linux) |
29 |
+ |
30 |
+iEYEAREKAAYFAlC2liUACgkQ1fmVwcYIWAbyhgCglhwivv+vEcz6+zxfLO52CEbT |
31 |
+P18AoLVsQhQhr+x8Wv/6v6XTmkd8SOg/ |
32 |
+=hVj2 |
33 |
+-----END PGP SIGNATURE----- |
34 |
|
35 |
diff --git a/dev-util/deskzilla/deskzilla-3.1.ebuild b/dev-util/deskzilla/deskzilla-3.1.ebuild |
36 |
new file mode 100644 |
37 |
index 0000000..9600ee8 |
38 |
--- /dev/null |
39 |
+++ b/dev-util/deskzilla/deskzilla-3.1.ebuild |
40 |
@@ -0,0 +1,105 @@ |
41 |
+# Copyright 1999-2012 Gentoo Foundation |
42 |
+# Distributed under the terms of the GNU General Public License v2 |
43 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/deskzilla/deskzilla-1.7.1.ebuild,v 1.2 2012/05/21 20:04:51 ssuominen Exp $ |
44 |
+ |
45 |
+EAPI=1 |
46 |
+ |
47 |
+inherit eutils java-pkg-2 versionator |
48 |
+ |
49 |
+DESCRIPTION="A desktop client for Mozilla's Bugzilla bug tracking system." |
50 |
+HOMEPAGE="http://almworks.com/deskzilla" |
51 |
+ |
52 |
+MY_PV=$(replace_all_version_separators '_') #${PV/beta/b}) |
53 |
+MY_P="${PN}-${MY_PV}" |
54 |
+S="${WORKDIR}/${MY_P}" |
55 |
+SRC_URI="http://d1.almworks.com/.files/${MY_P}_without_jre.tar.gz" |
56 |
+LICENSE="ALMWorks-1.2" |
57 |
+# license does not allow redistributing, and they seem to silently update |
58 |
+# distfiles... |
59 |
+RESTRICT="mirror" |
60 |
+SLOT="0" |
61 |
+KEYWORDS="~amd64 ~x86" |
62 |
+IUSE="" |
63 |
+ |
64 |
+DEPEND="" |
65 |
+RDEPEND=">=virtual/jre-1.5 |
66 |
+ dev-java/picocontainer:1 |
67 |
+ dev-java/javolution:4 |
68 |
+ >=dev-java/commons-codec-1.3 |
69 |
+ >=dev-java/jgoodies-forms-1.0.7 |
70 |
+ >=dev-java/commons-logging-1.0.4 |
71 |
+ >=dev-java/xmlrpc-2.0.1 |
72 |
+ dev-java/xerces:2 |
73 |
+ dev-java/itext:0 |
74 |
+ dev-java/jazzy:0 |
75 |
+ >=dev-java/jna-3.2.7 |
76 |
+ >=dev-java/sun-javamail-1.3.3 |
77 |
+ dev-db/sqlite:3" |
78 |
+ |
79 |
+src_unpack() { |
80 |
+ unpack ${A} |
81 |
+ # Remove external unaltered bundled jars |
82 |
+ local lib="${S}/lib" |
83 |
+ local liborig="${S}/lib.orig" |
84 |
+ mv ${lib} ${liborig} || die |
85 |
+ mkdir ${lib} || die |
86 |
+ # They've patched commons-httpclient (was version 3.0) |
87 |
+ mv ${liborig}/commons-httpclient.jar ${lib} || die |
88 |
+ # They've patched nekohtml (was version 0.9.5) |
89 |
+ mv ${liborig}/nekohtml.jar ${lib} || die |
90 |
+ # Also jdom (was 1.0), soon they will patch everything and we will just unpack, yay |
91 |
+ mv ${liborig}/pjdom.jar ${lib} || die |
92 |
+ # Almworks proprietary lib |
93 |
+ mv ${liborig}/almworks-tracker-api.jar ${lib} || die |
94 |
+ # IntelliJ IDEA proprietary lib |
95 |
+ mv ${liborig}/forms_rt.jar ${lib} || die |
96 |
+ # God knows what's this. Anyway, proprietary. |
97 |
+ mv ${liborig}/twocents.jar ${lib} || die |
98 |
+ # Integers ??? |
99 |
+ mv ${liborig}/integers.jar ${lib} || die |
100 |
+ |
101 |
+ # FIXME: opensource package exists |
102 |
+ mv ${liborig}/sqlite4java.jar ${lib} || die |
103 |
+ if use amd64; then |
104 |
+ mv ${liborig}/libsqlite4java-linux-amd64.so ${lib} || die |
105 |
+ elif use i386; then |
106 |
+ mv ${liborig}/libsqlite4java-linux-i386.so ${lib} || die |
107 |
+ fi |
108 |
+ |
109 |
+ rm -rf ${liborig} || die |
110 |
+} |
111 |
+ |
112 |
+src_install () { |
113 |
+ local dir="/opt/${PN}" |
114 |
+ |
115 |
+ insinto "${dir}" |
116 |
+ doins -r components etc license lib log deskzilla.url |
117 |
+ insinto "${dir}/license" |
118 |
+ doins "${FILESDIR}"/${PN}_gentoo.license |
119 |
+ |
120 |
+ java-pkg_jarinto "${dir}" |
121 |
+ java-pkg_dojar ${PN}.jar |
122 |
+ local dep="xerces-2,picocontainer-1,commons-logging,commons-codec" |
123 |
+ dep+=",jgoodies-forms,javolution-4,xmlrpc,itext,jazzy" |
124 |
+ java-pkg_register-dependency ${dep} |
125 |
+ java-pkg_dolauncher ${PN} --main "com.almworks.launcher.Launcher" --java_args "-Xmx256M" |
126 |
+ |
127 |
+ newdoc README.txt README || die |
128 |
+ newdoc RELEASE.txt RELEASE || die |
129 |
+ |
130 |
+ doicon deskzilla.png |
131 |
+ make_desktop_entry deskzilla "Deskzilla" deskzilla "Development" |
132 |
+} |
133 |
+ |
134 |
+pkg_postinst() { |
135 |
+ elog "The default, evaluation license allows usage for one month." |
136 |
+ elog "You may switch (per-user) to the license we obtained for Gentoo," |
137 |
+ elog "located in /opt/${PN}/license/${PN}_gentoo.license" |
138 |
+ elog "It is locked to Gentoo, ALM Works and Mozilla bugzilla only." |
139 |
+ elog "Note that you need to use 1.5 VM to run deskzilla when setting" |
140 |
+ elog "license or it won't get set due to bug in 1.6+ VMs." |
141 |
+ elog |
142 |
+ elog "If you are going to use Deskzilla for an open source project," |
143 |
+ elog "you can similarly request your own free license:" |
144 |
+ elog "http://almworks.com/opensource.html?product=deskzilla" |
145 |
+} |
146 |
|
147 |
diff --git a/dev-util/deskzilla/files/deskzilla_gentoo.license b/dev-util/deskzilla/files/deskzilla_gentoo.license |
148 |
new file mode 100644 |
149 |
index 0000000..4c8825b |
150 |
Binary files /dev/null and b/dev-util/deskzilla/files/deskzilla_gentoo.license differ |
151 |
|
152 |
diff --git a/dev-util/deskzilla/metadata.xml b/dev-util/deskzilla/metadata.xml |
153 |
new file mode 100644 |
154 |
index 0000000..838c00a |
155 |
--- /dev/null |
156 |
+++ b/dev-util/deskzilla/metadata.xml |
157 |
@@ -0,0 +1,5 @@ |
158 |
+<?xml version="1.0" encoding="UTF-8"?> |
159 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
160 |
+<pkgmetadata> |
161 |
+<herd>java</herd> |
162 |
+</pkgmetadata> |