Gentoo Archives: gentoo-commits

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