From 3425fb600e6824ef4559ac3d0596570e3e9472ad Mon Sep 17 00:00:00 2001 From: mike Date: Wed, 19 Sep 2007 16:36:31 +0000 Subject: [PATCH] 19 Sep 2007; Michael Dwyer +novell-groupwise-gwclient-7.0.2_p20070606-r4.ebuild: The novell-jre flag was not actually triggering the installation of the Novell JRE, fixed. Also made the Novell JRE mandatory for amd64 installs for the time being as it seems to be broken, even with emul-linux-x86-java-1.5 installed and set to default. --- .../novell-groupwise-gwclient/ChangeLog | 7 ++ .../novell-groupwise-gwclient/Manifest | 15 ++- ...vell-groupwise-gwclient-7.0.2_p20070606-r4 | 3 + ...oupwise-gwclient-7.0.2_p20070606-r4.ebuild | 106 ++++++++++++++++++ 4 files changed, 127 insertions(+), 4 deletions(-) create mode 100644 trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/files/digest-novell-groupwise-gwclient-7.0.2_p20070606-r4 create mode 100644 trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/novell-groupwise-gwclient-7.0.2_p20070606-r4.ebuild diff --git a/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/ChangeLog b/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/ChangeLog index 3c0a8de..ac285b0 100644 --- a/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/ChangeLog +++ b/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/ChangeLog @@ -2,6 +2,13 @@ # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 19 Sep 2007; Michael Dwyer + +novell-groupwise-gwclient-7.0.2_p20070606-r4.ebuild: + The novell-jre flag was not actually triggering the installation of + the Novell JRE, fixed. Also made the Novell JRE mandatory for amd64 + installs for the time being as it seems to be broken, even with + emul-linux-x86-java-1.5 installed and set to default. + 03 Sep 2007; Mario Fetka novell-groupwise-gwclient-7.0.2_p20070606-r3.ebuild: sed gwclient.desktop to correct icon path diff --git a/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/Manifest b/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/Manifest index 2904d8f..91b319d 100644 --- a/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/Manifest +++ b/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/Manifest @@ -13,14 +13,18 @@ EBUILD novell-groupwise-gwclient-7.0.2_p20070606-r3.ebuild 3922 RMD160 431ddf533 MD5 2422f109cfc28dee9700a36817bb51cd novell-groupwise-gwclient-7.0.2_p20070606-r3.ebuild 3922 RMD160 431ddf5334bf00ff4f721886d5e8b88e6480a3ef novell-groupwise-gwclient-7.0.2_p20070606-r3.ebuild 3922 SHA256 c2e75a8c19c99636168a892303ba83ab79854a8b1b28931fb734861214577a76 novell-groupwise-gwclient-7.0.2_p20070606-r3.ebuild 3922 +EBUILD novell-groupwise-gwclient-7.0.2_p20070606-r4.ebuild 4261 RMD160 266570d73d2ec1770e5d9730ccbdbcdb8ebeb55f SHA1 968b2c4e24f173c425f67d7899911592429bc3ff SHA256 bea415c8c2927199c16be23a72901c0f49d444b9092b82502421ba5606d27a8b +MD5 6407c44598f0b9684c850303c7ab9134 novell-groupwise-gwclient-7.0.2_p20070606-r4.ebuild 4261 +RMD160 266570d73d2ec1770e5d9730ccbdbcdb8ebeb55f novell-groupwise-gwclient-7.0.2_p20070606-r4.ebuild 4261 +SHA256 bea415c8c2927199c16be23a72901c0f49d444b9092b82502421ba5606d27a8b novell-groupwise-gwclient-7.0.2_p20070606-r4.ebuild 4261 EBUILD novell-groupwise-gwclient-7.0.2_p20070606.ebuild 1719 RMD160 bd30fc3b947d99c5d6201316d1afc3ae8afc27a5 SHA1 ab5f1726283606550a2c42184d2a0bc8126aa327 SHA256 220f539ca1f2556842cecee1231c1b93895e39a42a59c88ca80e183f341b9482 MD5 92b6d741052f5f45808e36daab3107cb novell-groupwise-gwclient-7.0.2_p20070606.ebuild 1719 RMD160 bd30fc3b947d99c5d6201316d1afc3ae8afc27a5 novell-groupwise-gwclient-7.0.2_p20070606.ebuild 1719 SHA256 220f539ca1f2556842cecee1231c1b93895e39a42a59c88ca80e183f341b9482 novell-groupwise-gwclient-7.0.2_p20070606.ebuild 1719 -MISC ChangeLog 3067 RMD160 2e336dfef8d5d1c01cb5c416eca8ef128b7dd1c0 SHA1 df9c234f2108a168183f4a5f7c0cbdbf636dc02b SHA256 30c154148d1b5dc4791b943768a0760adf3216152335b97b5ee78997dbac46af -MD5 627ce0497e4cf415b24aca33f2fe80d4 ChangeLog 3067 -RMD160 2e336dfef8d5d1c01cb5c416eca8ef128b7dd1c0 ChangeLog 3067 -SHA256 30c154148d1b5dc4791b943768a0760adf3216152335b97b5ee78997dbac46af ChangeLog 3067 +MISC ChangeLog 3436 RMD160 15ececac0e70f0c065972d45115ed6fd5200165f SHA1 f0b4df757052ff0c8212a5b809af02dd73479a7f SHA256 30207630c393a4a1883c7c61feec896214fa3ff0221cc47c331bed1c810eba3a +MD5 619ffdd0d2fe3011e1056b075e91e518 ChangeLog 3436 +RMD160 15ececac0e70f0c065972d45115ed6fd5200165f ChangeLog 3436 +SHA256 30207630c393a4a1883c7c61feec896214fa3ff0221cc47c331bed1c810eba3a ChangeLog 3436 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 @@ -37,3 +41,6 @@ SHA256 9d916e6b25b3ea464a4611c16ebe4945f0dbef9fcd5289e16736c261278d1f36 files/di MD5 763e6c662c179e602fefa3064096d5b4 files/digest-novell-groupwise-gwclient-7.0.2_p20070606-r3 265 RMD160 d5df0f3ebb6c5326c8ca158f668a3aac043dff76 files/digest-novell-groupwise-gwclient-7.0.2_p20070606-r3 265 SHA256 9d916e6b25b3ea464a4611c16ebe4945f0dbef9fcd5289e16736c261278d1f36 files/digest-novell-groupwise-gwclient-7.0.2_p20070606-r3 265 +MD5 763e6c662c179e602fefa3064096d5b4 files/digest-novell-groupwise-gwclient-7.0.2_p20070606-r4 265 +RMD160 d5df0f3ebb6c5326c8ca158f668a3aac043dff76 files/digest-novell-groupwise-gwclient-7.0.2_p20070606-r4 265 +SHA256 9d916e6b25b3ea464a4611c16ebe4945f0dbef9fcd5289e16736c261278d1f36 files/digest-novell-groupwise-gwclient-7.0.2_p20070606-r4 265 diff --git a/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/files/digest-novell-groupwise-gwclient-7.0.2_p20070606-r4 b/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/files/digest-novell-groupwise-gwclient-7.0.2_p20070606-r4 new file mode 100644 index 0000000..dd65647 --- /dev/null +++ b/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/files/digest-novell-groupwise-gwclient-7.0.2_p20070606-r4 @@ -0,0 +1,3 @@ +MD5 cbdd32e300e130d6f9969aaa5b0aecfa gw702HP1aclnxmulti.tar.gz 136232170 +RMD160 4d9665e7507b628a919d8a779490dff5e2d2cc10 gw702HP1aclnxmulti.tar.gz 136232170 +SHA256 4fb44d16a5dbbe47037fc46a8124a35175324cebb7f1c6c6cc11de375d15b5c9 gw702HP1aclnxmulti.tar.gz 136232170 diff --git a/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/novell-groupwise-gwclient-7.0.2_p20070606-r4.ebuild b/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/novell-groupwise-gwclient-7.0.2_p20070606-r4.ebuild new file mode 100644 index 0000000..3fd7688 --- /dev/null +++ b/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/novell-groupwise-gwclient-7.0.2_p20070606-r4.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils rpm + +MY_P="${P/_p/-}" +DESCRIPTION="Novell Groupwise 7 Client for Linux" +HOMEPAGE="http://www.novell.com/en/gropwise/" +SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/goosJME9mYI~/patchfiles/gw702HP1aclnxmulti.tar.gz" +LICENSE="Novell-GW-7" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="java novell-jre" +DEPEND="!net-misc/novell-groupwise-gwclient" +RDEPEND="sys-libs/glibc + sys-libs/libstdc++-v3 + sys-devel/gcc + =x11-libs/gtk+-1.2* + www-client/seamonkey + gnome-base/libgnome + system-jre? ( + || ( virtual/jdk + virtual/jre ) + amd64? ( app-emulation/emul-linux-x86-java ) + ) + amd64? ( app-emulation/emul-linux-x86-compat + app-emulation/emul-linux-x86-gtklibs )" + +RESTRICT="strip mirror" + +src_unpack() { + unpack ${A} + mkdir -p ${WORKDIR}/${MY_P} + cd ${MY_P} + rpm_unpack ${WORKDIR}/${MY_P}.i386.rpm +} + +src_compile() { :; } + +src_install() { + JRE_DIR="${WORKDIR}"/${MY_P}/opt/novell/groupwise/client/jre; + + if use amd64 && ! use novell-jre; then + ewarn "System JRE support on amd64 is broken, switching to Novell JRE." + USE="$USE novell-jre" + fi + + if use novell-jre; then +# Undo Novell funny-business with packed .jar's + for i in $JRE_DIR/lib/*.pack; do + i_b=`echo $i | sed 's/\.pack$//'`; + einfo "Unpacking `basename $i` -> `basename $i_b.jar`"; + $JRE_DIR/bin/unpack200 $i $i_b.jar || die "Unpack failed"; + done; + else + rm -rf "${WORKDIR}"/${MY_P}/opt/novell/groupwise/client/jre + + sed -i 's%/opt/novell/groupwise/client/jre/lib/i386%`java-config --jre-home`/jre/lib/i386/client:`java-config --jre-home`/jre/lib/i386/server:`java-config --jre-home`/jre/lib/i386%' "${WORKDIR}"/${MY_P}/opt/novell/groupwise/client/bin/groupwise + fi + + insinto /usr/share/applications + doins "${WORKDIR}"/${MY_P}/opt/novell/groupwise/client/gwclient.desktop + dosed "s!/opt/novell/groupwise/client/gwclient.png!gwclient.png!g" /usr/share/applications/gwclient.desktop + + if use novell-jre; then + rm ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/jre/man/ja + insinto /opt/novell/groupwise/client + doins -r ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/* + exeinto /opt/novell/groupwise/client/bin + doexe ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/bin/* + dosym /opt/novell/groupwise/client/jre/man/ja_JP.eucJP ja + else + exeinto /opt/novell/groupwise/client/lib + doexe ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/gwclhlp*.jar + insinto /opt/novell/groupwise/client/lib + doins ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/gwenlx*.fil + insinto /opt/novell/groupwise/client/lib/dicts + doins ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/dicts/*.dar + exeinto /opt/novell/groupwise/client/lib + doexe ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/activation.jar + doexe ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/azcheck.jar + doexe ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/corecomponents-linux.jar + doexe ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/gwapi.jar + doexe ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/gwclient.jar + doexe ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/iText.jar + doexe ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/jai_codec.jar + doexe ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/jai_core.jar + doexe ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/jhall.jar + doexe ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/log4j-1.2.7.jar + doexe ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/mail.jar + doexe ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/mlibwrapper_jai.jar + doexe ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/webrenderer-linux.jar + doexe ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/webrenderer.jar + into /opt/novell/groupwise/client + dolib.so ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/*.so* + dobin ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/bin/* + insinto /opt/novell/groupwise/client/lib + doins ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/lib/*.dc + fi + + doicon ${WORKDIR}/${MY_P}/opt/novell/groupwise/client/gwclient.png + + dodir /usr/bin + dosym /opt/novell/groupwise/client/bin/groupwise /opt/bin/groupwise +}