summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2015-04-03 21:10:32 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2015-04-03 21:10:32 +0000
commit89984c149b1dc08c23bdbcf6340667c595862a31 (patch)
tree6f435880bbcf5f8f990d1fe46ed441cd28fc55ee /mail-client
parentThe Novell Groupwise client needs a 32bit java vm and will never work on no-m... (diff)
downloadgentoo-2-89984c149b1dc08c23bdbcf6340667c595862a31.tar.gz
gentoo-2-89984c149b1dc08c23bdbcf6340667c595862a31.tar.bz2
gentoo-2-89984c149b1dc08c23bdbcf6340667c595862a31.zip
Always use the JRE provided by Novell
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0B08240A96F66571)
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/novell-groupwise-client/ChangeLog8
-rw-r--r--mail-client/novell-groupwise-client/metadata.xml3
-rw-r--r--mail-client/novell-groupwise-client/novell-groupwise-client-8.0.2.96933.ebuild58
3 files changed, 35 insertions, 34 deletions
diff --git a/mail-client/novell-groupwise-client/ChangeLog b/mail-client/novell-groupwise-client/ChangeLog
index 33a2163939ce..1ecd1455883c 100644
--- a/mail-client/novell-groupwise-client/ChangeLog
+++ b/mail-client/novell-groupwise-client/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for mail-client/novell-groupwise-client
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/novell-groupwise-client/ChangeLog,v 1.3 2014/09/07 15:20:29 ulm Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-client/novell-groupwise-client/ChangeLog,v 1.4 2015/04/03 21:10:32 dilfridge Exp $
+
+ 03 Apr 2015; Andreas K. Huettel <dilfridge@gentoo.org>
+ novell-groupwise-client-8.0.2.96933.ebuild, metadata.xml:
+ Always use the JRE provided by Novell
07 Sep 2014; Ulrich Müller <ulm@gentoo.org>
novell-groupwise-client-8.0.2.96933.ebuild:
diff --git a/mail-client/novell-groupwise-client/metadata.xml b/mail-client/novell-groupwise-client/metadata.xml
index 6302c2e5e5d1..606b5ed6bb4d 100644
--- a/mail-client/novell-groupwise-client/metadata.xml
+++ b/mail-client/novell-groupwise-client/metadata.xml
@@ -4,7 +4,4 @@
<maintainer>
<email>dilfridge@gentoo.org</email>
</maintainer>
- <use>
- <flag name="novell-jre">Use the Java Runtime Environment provided by Novell</flag>
- </use>
</pkgmetadata>
diff --git a/mail-client/novell-groupwise-client/novell-groupwise-client-8.0.2.96933.ebuild b/mail-client/novell-groupwise-client/novell-groupwise-client-8.0.2.96933.ebuild
index 1e532747a1e7..4b733e0fdae1 100644
--- a/mail-client/novell-groupwise-client/novell-groupwise-client-8.0.2.96933.ebuild
+++ b/mail-client/novell-groupwise-client/novell-groupwise-client-8.0.2.96933.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/novell-groupwise-client/novell-groupwise-client-8.0.2.96933.ebuild,v 1.3 2014/09/07 15:20:29 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/novell-groupwise-client/novell-groupwise-client-8.0.2.96933.ebuild,v 1.4 2015/04/03 21:10:32 dilfridge Exp $
-RESTRICT="binchecks fetch mirror strip"
+EAPI=5
inherit eutils rpm multilib versionator
@@ -16,19 +16,29 @@ SRC_URI="gw802_hp3_client_linux_multi.tar.gz"
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="novell-jre multilib"
+IUSE=""
+
DEPEND=""
-RDEPEND="sys-libs/libstdc++-v3
- !novell-jre? (
- || ( virtual/jdk
- virtual/jre )
- multilib? (
- amd64? ( app-emulation/emul-linux-x86-java ) ) )"
+RDEPEND="
+ sys-libs/libstdc++-v3
+ >=x11-libs/libX11-1.6.2[abi_x86_32(-)]
+ >=x11-libs/libXau-1.0.8[abi_x86_32(-)]
+ >=x11-libs/libXcursor-1.1.14[abi_x86_32(-)]
+ >=x11-libs/libXdmcp-1.1.1-r1[abi_x86_32(-)]
+ >=x11-libs/libXext-1.3.3[abi_x86_32(-)]
+ >=x11-libs/libXfixes-5.0.1[abi_x86_32(-)]
+ >=x11-libs/libXi-1.7.4[abi_x86_32(-)]
+ >=x11-libs/libXrender-0.9.8[abi_x86_32(-)]
+ >=x11-libs/libXtst-1.2.2[abi_x86_32(-)]
+ >=x11-libs/libxcb-1.11-r1[abi_x86_32(-)]
+"
+
+RESTRICT="binchecks fetch mirror strip"
src_unpack() {
unpack ${A}
- mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
- cd ${PN}-${MY_PV}
+ mkdir -p "${WORKDIR}"/${PN}-${MY_PV} || die
+ cd ${PN}-${MY_PV} || die
rpm_unpack ./../gw${MY_PV}_client_linux_multi/${PN}-${MY_PV}.i586.rpm
}
@@ -37,26 +47,16 @@ src_compile() { :; }
src_install() {
JRE_DIR="${WORKDIR}"/${PN}-${MY_PV}/opt/novell/groupwise/client/java;
- if use novell-jre; then
- # Undo Sun's 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
- if use multilib; then
- rm -rf "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/groupwise/client/java
- sed -i 's%/opt/novell/groupwise/client/java/lib/i386%`java-config --select-vm=emul-linux-x86-java --jre-home`/lib/i386/client:`java-config --select-vm=emul-linux-x86-java --jre-home`/lib/i386/server:`java-config --select-vm=emul-linux-x86-java --jre-home`/lib/i386%' "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/groupwise/client/bin/groupwise
- else
- rm -rf "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/groupwise/client/java
- sed -i 's%/opt/novell/groupwise/client/java/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}"/${PN}-${MY_PV}/opt/novell/groupwise/client/bin/groupwise
- fi
- fi
+ # Undo Sun's 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;
domenu "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/groupwise/client/gwclient.desktop
- mv "${WORKDIR}"/${PN}-${MY_PV}/opt "${D}"/ || die "mv opt"
+ mv "${WORKDIR}"/${PN}-${MY_PV}/opt "${D}"/ || die "mv opt failed"
dodir /opt/bin
dosym /opt/novell/groupwise/client/bin/groupwise /opt/bin/groupwise