From: Vlastimil Babka Date: Tue, 24 Apr 2007 22:09:31 +0000 (+0000) Subject: Initial ebuild, previously developed in java-experimental overlay and contributed... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f9d84a1bf1e424abcab1592684b8d4c895db06ce;p=gentoo.git Initial ebuild, previously developed in java-experimental overlay and contributed by Marat Radchenko , bug #171472. Package-Manager: portage-2.1.2.4 --- diff --git a/dev-util/deskzilla/ChangeLog b/dev-util/deskzilla/ChangeLog new file mode 100644 index 000000000000..b758f2b8e2e9 --- /dev/null +++ b/dev-util/deskzilla/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-util/deskzilla +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/deskzilla/ChangeLog,v 1.1 2007/04/24 22:09:31 caster Exp $ + +*deskzilla-1.3 (24 Apr 2007) + + 24 Apr 2007; Vlastimil Babka + +files/deskzilla_gentoo.license, +metadata.xml, +deskzilla-1.3.ebuild: + Initial ebuild, previously developed in java-experimental overlay and + contributed by Marat Radchenko , bug #171472. + diff --git a/dev-util/deskzilla/Manifest b/dev-util/deskzilla/Manifest new file mode 100644 index 000000000000..849dedbe6ff5 --- /dev/null +++ b/dev-util/deskzilla/Manifest @@ -0,0 +1,20 @@ +AUX deskzilla_gentoo.license 1584 RMD160 35699d15d07c5b8a29e8f06d0233f9b7014abd97 SHA1 089b1815165eb208c8fc2a3733b42781a46f6b65 SHA256 a11b89eedf8211d50ca13177b7d8d1fc59645a5c9faa13761525c24a9ae84a74 +MD5 03ef5fc26c0125c252bea511b7868afe files/deskzilla_gentoo.license 1584 +RMD160 35699d15d07c5b8a29e8f06d0233f9b7014abd97 files/deskzilla_gentoo.license 1584 +SHA256 a11b89eedf8211d50ca13177b7d8d1fc59645a5c9faa13761525c24a9ae84a74 files/deskzilla_gentoo.license 1584 +DIST deskzilla-1_3_without_jre.tar.gz 6882713 RMD160 25070a37c7660c9b48a6ada1e108944c268a8298 SHA1 528fd05d61fa502a86402425d63c356d19fcabe3 SHA256 d96905cd50ad943a65b39789cd658c00d51f61404eb8ecc7c700561a4af2e289 +EBUILD deskzilla-1.3.ebuild 2511 RMD160 ca82ff00af169af283843cf3e85ed8a04257d877 SHA1 9ff1f2f55ff5da8639e459d6522d5cac7bc8fba8 SHA256 606df0c5c8ec031b4ec1d8ddeede68a5df0a5e67c3bb0834c321d300c26bebc6 +MD5 8cf9bba96686a04177427232f8f7eebd deskzilla-1.3.ebuild 2511 +RMD160 ca82ff00af169af283843cf3e85ed8a04257d877 deskzilla-1.3.ebuild 2511 +SHA256 606df0c5c8ec031b4ec1d8ddeede68a5df0a5e67c3bb0834c321d300c26bebc6 deskzilla-1.3.ebuild 2511 +MISC ChangeLog 502 RMD160 fe375a16669723ae66ee74d2abdea674f6454bd9 SHA1 76476654677f34a48eb25346beca5146781ebdf2 SHA256 be77a0585b6449f3899b77648b655873b4806c10cacd83efa88bf9a210d4aaf7 +MD5 4acd6c56691ac2b72948d77f32ffff90 ChangeLog 502 +RMD160 fe375a16669723ae66ee74d2abdea674f6454bd9 ChangeLog 502 +SHA256 be77a0585b6449f3899b77648b655873b4806c10cacd83efa88bf9a210d4aaf7 ChangeLog 502 +MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 +MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 +RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157 +SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 metadata.xml 157 +MD5 0501ed4fd43d16a9a15c61a8c56106a8 files/digest-deskzilla-1.3 280 +RMD160 30616039ed7ddde27496f438631c2fc6e690be88 files/digest-deskzilla-1.3 280 +SHA256 6c1f769ed3a7a432df1a00246654082d525d2c02014b390b10e9ba42f4d6c76e files/digest-deskzilla-1.3 280 diff --git a/dev-util/deskzilla/deskzilla-1.3.ebuild b/dev-util/deskzilla/deskzilla-1.3.ebuild new file mode 100644 index 000000000000..085b1eb01434 --- /dev/null +++ b/dev-util/deskzilla/deskzilla-1.3.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/deskzilla/deskzilla-1.3.ebuild,v 1.1 2007/04/24 22:09:31 caster Exp $ + +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 '_') +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" + +DEPEND="" +RDEPEND=">=virtual/jre-1.5 + ~dev-java/picocontainer-1.1 + >=dev-java/jdom-1.0 + >=dev-java/javolution-4.0.2 + >=dev-java/commons-codec-1.3 + >=dev-java/jgoodies-forms-1.0.7 + >=dev-java/nekohtml-0.9.5 + >=dev-java/commons-logging-1.0.4 + >=dev-java/xmlrpc-2.0.1" + +src_unpack() { + unpack ${A} + # Remove public bundled jars + local lib="${S}/lib" + local liborig="${S}/lib.orig" + mv ${lib} ${liborig} + mkdir ${lib} + # They've patched commons-httpclient (was version 3.0) + mv ${liborig}/commons-httpclient.jar ${lib} + # Almworks proprietary lib + mv ${liborig}/almworks-tracker-api.jar ${lib} + # IntelliJ IDEA proprietary lib + mv ${liborig}/forms_rt.jar ${lib} + # God knows what's this. Anyway, proprietary. + mv ${liborig}/twocents.jar ${lib} + rm -rf ${liborig} +} + +src_install () { + local dir=/opt/${P} + + 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 + java-pkg_register-dependency picocontainer-1,jdom-1.0,commons-logging,commons-codec,nekohtml,jgoodies-forms,javolution-4,xmlrpc + java-pkg_dolauncher ${PN} --main "com.almworks.launcher.Launcher" --java_args "-Xmx256M" + + newdoc README.txt README + + doicon deskzilla.png + make_desktop_entry deskzilla "Deskzilla" deskzilla.png "Development" +} + +pkg_postinst() { + einfo "The default, evaluation license allows usage for one month." + einfo "You may switch (per-user) to the license we obtained for Gentoo," + einfo "located in /opt/${P}/licenses/${PN}_gentoo.license" + einfo "It is locked to Gentoo, ALM Works and Mozilla bugzilla only." + einfo + einfo "If you are going to use Deskzilla for an open source project," + einfo "you can similarly request your own free license:" + einfo "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 000000000000..4c8825b45397 Binary files /dev/null and b/dev-util/deskzilla/files/deskzilla_gentoo.license differ diff --git a/dev-util/deskzilla/files/digest-deskzilla-1.3 b/dev-util/deskzilla/files/digest-deskzilla-1.3 new file mode 100644 index 000000000000..ea9b6064353d --- /dev/null +++ b/dev-util/deskzilla/files/digest-deskzilla-1.3 @@ -0,0 +1,3 @@ +MD5 07bccea518963482439d35d10f65f45a deskzilla-1_3_without_jre.tar.gz 6882713 +RMD160 25070a37c7660c9b48a6ada1e108944c268a8298 deskzilla-1_3_without_jre.tar.gz 6882713 +SHA256 d96905cd50ad943a65b39789cd658c00d51f61404eb8ecc7c700561a4af2e289 deskzilla-1_3_without_jre.tar.gz 6882713 diff --git a/dev-util/deskzilla/metadata.xml b/dev-util/deskzilla/metadata.xml new file mode 100644 index 000000000000..838c00a4a448 --- /dev/null +++ b/dev-util/deskzilla/metadata.xml @@ -0,0 +1,5 @@ + + + +java +