1 |
ercpe 14/03/02 07:30:00 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: deskzilla-1.7.1-r1.ebuild |
5 |
Removed: deskzilla-1.6.1.ebuild deskzilla-1.7.1.ebuild |
6 |
Log: |
7 |
Moved gentoo license from FILESDIR to mirror system (bug #373271) |
8 |
|
9 |
Dropped 1.6.1 because the distfile isn't available on upstream servers |
10 |
|
11 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 77C501ED) |
12 |
|
13 |
Revision Changes Path |
14 |
1.16 dev-util/deskzilla/ChangeLog |
15 |
|
16 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/deskzilla/ChangeLog?rev=1.16&view=markup |
17 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/deskzilla/ChangeLog?rev=1.16&content-type=text/plain |
18 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/deskzilla/ChangeLog?r1=1.15&r2=1.16 |
19 |
|
20 |
Index: ChangeLog |
21 |
=================================================================== |
22 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/deskzilla/ChangeLog,v |
23 |
retrieving revision 1.15 |
24 |
retrieving revision 1.16 |
25 |
diff -u -r1.15 -r1.16 |
26 |
--- ChangeLog 21 May 2012 20:04:51 -0000 1.15 |
27 |
+++ ChangeLog 2 Mar 2014 07:30:00 -0000 1.16 |
28 |
@@ -1,6 +1,14 @@ |
29 |
# ChangeLog for dev-util/deskzilla |
30 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
31 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/deskzilla/ChangeLog,v 1.15 2012/05/21 20:04:51 ssuominen Exp $ |
32 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
33 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/deskzilla/ChangeLog,v 1.16 2014/03/02 07:30:00 ercpe Exp $ |
34 |
+ |
35 |
+*deskzilla-1.7.1-r1 (02 Mar 2014) |
36 |
+ |
37 |
+ 02 Mar 2014; Johann Schmitz <ercpe@g.o> +deskzilla-1.7.1-r1.ebuild, |
38 |
+ -deskzilla-1.6.1.ebuild, -deskzilla-1.7.1.ebuild, |
39 |
+ -files/deskzilla_gentoo.license: |
40 |
+ Moved gentoo license from FILESDIR to mirror system (bug #373271) Dropped |
41 |
+ 1.6.1 because the distfile isn't available on upstream servers |
42 |
|
43 |
21 May 2012; Samuli Suominen <ssuominen@g.o> deskzilla-1.6.1.ebuild, |
44 |
deskzilla-1.7.1.ebuild: |
45 |
@@ -80,4 +88,3 @@ |
46 |
+files/deskzilla_gentoo.license, +metadata.xml, +deskzilla-1.3.ebuild: |
47 |
Initial ebuild, previously developed in java-experimental overlay and |
48 |
contributed by Marat Radchenko <valder@××××××.ru>, bug #171472. |
49 |
- |
50 |
|
51 |
|
52 |
|
53 |
1.1 dev-util/deskzilla/deskzilla-1.7.1-r1.ebuild |
54 |
|
55 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/deskzilla/deskzilla-1.7.1-r1.ebuild?rev=1.1&view=markup |
56 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/deskzilla/deskzilla-1.7.1-r1.ebuild?rev=1.1&content-type=text/plain |
57 |
|
58 |
Index: deskzilla-1.7.1-r1.ebuild |
59 |
=================================================================== |
60 |
# Copyright 1999-2014 Gentoo Foundation |
61 |
# Distributed under the terms of the GNU General Public License v2 |
62 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/deskzilla/deskzilla-1.7.1-r1.ebuild,v 1.1 2014/03/02 07:30:00 ercpe Exp $ |
63 |
|
64 |
EAPI=5 |
65 |
|
66 |
inherit java-pkg-2 versionator |
67 |
|
68 |
DESCRIPTION="A desktop client for Mozilla's Bugzilla bug tracking system." |
69 |
HOMEPAGE="http://almworks.com/deskzilla" |
70 |
|
71 |
MY_PV=$(replace_all_version_separators '_') #${PV/beta/b}) |
72 |
MY_P="${PN}-${MY_PV}" |
73 |
S="${WORKDIR}/${MY_P}" |
74 |
SRC_URI="http://d1.almworks.com/.files/${MY_P}_without_jre.tar.gz |
75 |
http://dev.gentoo.org/~ercpe/distfiles/${CATEGORY}/${PN}/deskzilla_gentoo.license" |
76 |
LICENSE="ALMWorks-1.2" |
77 |
# license does not allow redistributing, and they seem to silently update |
78 |
# distfiles... |
79 |
RESTRICT="mirror" |
80 |
SLOT="0" |
81 |
KEYWORDS="~amd64 ~ppc ~x86" |
82 |
IUSE="" |
83 |
|
84 |
DEPEND="" |
85 |
RDEPEND=">=virtual/jre-1.5 |
86 |
dev-java/picocontainer:1 |
87 |
dev-java/javolution:4 |
88 |
>=dev-java/commons-codec-1.3 |
89 |
>=dev-java/jgoodies-forms-1.0.7 |
90 |
>=dev-java/commons-logging-1.0.4 |
91 |
>=dev-java/xmlrpc-2.0.1 |
92 |
dev-java/xerces:2 |
93 |
dev-java/itext:0 |
94 |
dev-java/jazzy:0" |
95 |
|
96 |
src_unpack() { |
97 |
unpack ${A} |
98 |
# Remove external unaltered bundled jars |
99 |
local lib="${S}/lib" |
100 |
local liborig="${S}/lib.orig" |
101 |
mv ${lib} ${liborig} || die |
102 |
mkdir ${lib} || die |
103 |
# They've patched commons-httpclient (was version 3.0) |
104 |
mv ${liborig}/commons-httpclient.jar ${lib} || die |
105 |
# They've patched nekohtml (was version 0.9.5) |
106 |
mv ${liborig}/nekohtml.jar ${lib} || die |
107 |
# Also jdom (was 1.0), soon they will patch everything and we will just unpack, yay |
108 |
mv ${liborig}/pjdom.jar ${lib} || die |
109 |
# Almworks proprietary lib |
110 |
mv ${liborig}/almworks-tracker-api.jar ${lib} || die |
111 |
# IntelliJ IDEA proprietary lib |
112 |
mv ${liborig}/forms_rt.jar ${lib} || die |
113 |
# God knows what's this. Anyway, proprietary. |
114 |
mv ${liborig}/twocents.jar ${lib} || die |
115 |
rm -rf ${liborig} || die |
116 |
} |
117 |
|
118 |
src_install () { |
119 |
local dir="/opt/${PN}" |
120 |
|
121 |
insinto "${dir}" |
122 |
doins -r components etc license lib log deskzilla.url |
123 |
insinto "${dir}/license" |
124 |
doins "${DISTDIR}"/deskzilla_gentoo.license |
125 |
|
126 |
java-pkg_jarinto "${dir}" |
127 |
java-pkg_dojar ${PN}.jar |
128 |
local dep="xerces-2,picocontainer-1,commons-logging,commons-codec" |
129 |
dep+=",jgoodies-forms,javolution-4,xmlrpc,itext,jazzy" |
130 |
java-pkg_register-dependency ${dep} |
131 |
java-pkg_dolauncher ${PN} --main "com.almworks.launcher.Launcher" --java_args "-Xmx256M" |
132 |
|
133 |
newdoc README.txt README || die |
134 |
newdoc RELEASE.txt RELEASE || die |
135 |
|
136 |
doicon deskzilla.png |
137 |
make_desktop_entry deskzilla "Deskzilla" deskzilla "Development" |
138 |
} |
139 |
|
140 |
pkg_postinst() { |
141 |
elog "The default, evaluation license allows usage for one month." |
142 |
elog "You may switch (per-user) to the license we obtained for Gentoo," |
143 |
elog "located in /opt/${PN}/license/${PN}_gentoo.license" |
144 |
elog "It is locked to Gentoo, ALM Works and Mozilla bugzilla only." |
145 |
elog "Note that you need to use 1.5 VM to run deskzilla when setting" |
146 |
elog "license or it won't get set due to bug in 1.6+ VMs." |
147 |
elog |
148 |
elog "If you are going to use Deskzilla for an open source project," |
149 |
elog "you can similarly request your own free license:" |
150 |
elog "http://almworks.com/opensource.html?product=deskzilla" |
151 |
} |