add novell messenger

This commit is contained in:
geos_one 2009-12-17 20:32:33 +00:00
parent e10296d5f6
commit 84764b1d64
6 changed files with 223 additions and 0 deletions

View File

@ -0,0 +1,21 @@
# ChangeLog for net-im/novell-messenger-client
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
03 Sep 2007; Mario Fetka <mario-fetka@gmx.at>
novell-messenger-client-2.0.2_p20070608.ebuild:
correct Typo launcher is in .../bin not .../
01 Sep 2007; Mario Fetka <mario-fetka@gmx.at> ChangeLog:
Correct small typo
01 Sep 2007; Mario Fetka <mario-fetka@gmx.at>
novell-messenger-client-2.0.2_p20070608.ebuild:
Correct small typo
01 Sep 2007; Mario Fetka <mario-fetka@gmx.at> +metadata.xml:
add the heavely modified Messenger Client Ebuild (created by Garami Gábor)
to the tree based on the new style for downloading files (idea by Garami
Gábor) this way if someone dont want to add novell accound infos to the
system the package is RESTRICT="fetch"

View File

@ -0,0 +1,7 @@
AUX nmclient-2.0-pre 360 RMD160 8b69ee521b6581b3ad9baf1811be3c72488e05b2 SHA1 c6c7fa5337a325c720307c6b063aa45b3351d0b4 SHA256 aee1b8042b71240593ed74c39f70813d17ed48798e8eaa70321d281d42f033dc
DIST GWM202HP1CLNX.TGZ 19896002 RMD160 a89d18ea11453a9bb78a4ef1cfd73a696bdaaa8e SHA1 74ef0a8cfbcea2295d94cc57f1e0c23f6aeca23d SHA256 f51a8d1494e55a473d32de885b9a4ffbac7034c40eb1a38bebd9da9d507c823b
DIST gvm204_client_linux_multi.tar.gz 19494141 RMD160 83e4d726a324a6abffc2bee5b74bbab56a90e564 SHA1 7a250b5d7f858f77c1dd8038f38c6ee5ea15786a SHA256 bbf605bd71de2e77ca824d3f55c2887c5adc74569b9c32bbecc0ad6220bd20c9
EBUILD novell-messenger-client-2.0.2_p20070608.ebuild 3166 RMD160 e0024509b08b6e413ccd6c6d6f06acfed9146901 SHA1 c510a438dbbd263cace816272cfea00df1688db9 SHA256 c03298479242c0ea1565a44c91ddec0285a8830e449c6c2b6e6d907f57a82758
EBUILD novell-messenger-client-2.0.4_p20080930.ebuild 3209 RMD160 bf6a953fd3b1a41b010f839dcff00695df885f1f SHA1 61b2e85fd6b76c646cb5c6ec223a2e4005b3acbc SHA256 3ce31917c7cdd499e5e25e2496725bef5b3698afbd19e9ce059e8c18ae0066bf
MISC ChangeLog 811 RMD160 71bd90a4f49fc354552f686a11d29abc85e3c0a4 SHA1 0741d0aa80e265b139aec1af7b3be800af032afe SHA256 c33c4f4b4619d7c5ea873e4612afc67697e9d13bd2975d1624ac50b477ca1bf1
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -0,0 +1,12 @@
#
# Copyright (c) 2007, Mario Fetka <mario-fetka@gmx.at>
#
# Licensed under the GNU General Public License, v2
if [ "`uname -m`" = "x86_64" ] ; then
export GENTOO_VM="emul-linux-x86-java-1.6"
echo "using emul-linux-x86-java-1.6 java VM"
fi
export LD_LIBRARY_PATH=/opt/novell/messenger/client/lib:/opt/novell/messenger/client/lib32:$LD_LIBRARY_PATH

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>maintainer-wanted</herd>
</pkgmetadata>

View File

@ -0,0 +1,88 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
NOVELL_BUILDID="qAcGecdScA8~"
NOVELL_FILE="patchfiles/GWM202HP1CLNX.TGZ"
RESTRICT="mirror strip"
inherit novell rpm java-pkg-2 eutils
MY_P="${P/_p/-}"
DESCRIPTION="Novell Groupwise Messenger"
HOMEPAGE="http://www.novell.com"
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE}"
LICENSE="Novell-Messenger-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="linguas_en linguas_hu linguas_ar
linguas_cs linguas_da linguas_de linguas_es linguas_fi
linguas_fr linguas_he linguas_it linguas_ja linguas_ko
linguas_nl linguas_no linguas_pl linguas_pt linguas_ru
linguas_sv linguas_zh_CN linguas_zh_TW"
DEPEND=">=virtual/jre-1.4"
S=${WORKDIR}/nmclient
src_unpack() {
cp ${DISTDIR}/GWM202HP1CLNX.TGZ ${WORKDIR}/${P}.tar.gz
DISTDIR=${WORKDIR}
unpack ${P}.tar.gz || die
unpack_makeself nvlmsgr.bin 36 tail || die
mkdir -p ${WORKDIR}/${MY_P}
cd ${MY_P}
rpm_unpack ../work/nmclient/${MY_P}.i586.rpm || die "rpm unpack failed"
}
src_compile() { :; }
src_install() {
for x in en hu ar cs da de es fi fr he it ja ko nl no pl pt ru sv zh_CN zh_TW ; do
if use linguas_${x}
then
[[ ${x} == "zh_CN" ]] && x="zhcn"
[[ ${x} == "zh_TW" ]] && x="zhtw"
docinto ${x}
dodoc ${WORKDIR}/${MY_P}/opt/novell/messenger/client/docs/${x}/*.htm
fi
done
java-pkg_jarinto /opt/novell/messenger/client/$(get_libdir)
for x in jh.jar nmclhlp.jar nmclient.jar; do
java-pkg_dojar ${WORKDIR}/${MY_P}/opt/novell/messenger/client/${x}
done
java-pkg_sointo /opt/novell/messenger/client/$(get_libdir)
for x in libeggtray.so libidlex.so; do
java-pkg_doso ${WORKDIR}/${MY_P}/opt/novell/messenger/client/${x}
done
insinto ${JAVA_PKG_JARDEST}
doins ${WORKDIR}/${MY_P}/opt/novell/messenger/client/*.wav
insinto ${JAVA_PKG_JARDEST}/icons
doins ${WORKDIR}/${MY_P}/opt/novell/messenger/client/icons/*
doicon ${WORKDIR}/${MY_P}/opt/novell/messenger/client/nmclient.png
# insinto ${JAVA_PKG_JARDEST}/docs
into /opt/novell/messenger/client
java-pkg_dolauncher nmclient --main com.novell.messenger.client.Messenger \
-pre ${FILESDIR}/nmclient-2.0-pre \
--java_args "-Xms5M -Dawt.toolkit=sun.awt.motif.MToolkit"
make_desktop_entry /opt/novell/messenger/client/bin/nmclient "GroupWise Messenger" nmclient.png Network
dosym /opt/novell/messenger/client/bin/nmclient /usr/bin/nmclient
}
pkg_nofetch() {
einfo "This files require you to register at ${HOMEPAGE} (free account)"
einfo "Please download following file:"
einfo " - ${NOVELL_FILE}"
einfo "from http://download.novell.com/Download?buildid=${NOVELL_BUILDID}"
einfo "and place it in ${DISTDIR}"
einfo ""
einfo "To get rid of downloading files from ${HOMEPAGE}"
einfo "you can create a file /etc/portage/novell.acc"
einfo "containing the the novell account infos with following commands"
einfo "# echo \"NOVELL_ACCOUNT_USERNAME=\\\"balduin\\\"\" >> /etc/portage/novell.acc"
einfo "# echo \"NOVELL_ACCOUNT_PASSWORD=\\\"derfisch\\\"\" >> /etc/portage/novell.acc"
}

View File

@ -0,0 +1,90 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
NOVELL_BUILDID="iTGfb2Ug1mU~"
NOVELL_FILE="patchfiles/gvm204_client_linux_multi.tar.gz"
RESTRICT="mirror strip"
inherit novell rpm java-pkg-2 eutils
MY_P="${P/_p/-}"
DESCRIPTION="Novell Groupwise Messenger"
HOMEPAGE="http://www.novell.com"
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE}"
LICENSE="Novell-Messenger-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="linguas_en linguas_hu linguas_ar
linguas_cs linguas_da linguas_de linguas_es linguas_fi
linguas_fr linguas_he linguas_it linguas_ja linguas_ko
linguas_nl linguas_no linguas_pl linguas_pt linguas_ru
linguas_sv linguas_zh_CN linguas_zh_TW"
DEPEND=">=virtual/jre-1.4
amd64? ( >=virtual/jdk-1.4
=app-emulation/emul-linux-x86-java-1.6* )"
S=${WORKDIR}/nmclient
src_unpack() {
unpack ${A} || die
unpack_makeself nvlmsgr.bin 36 tail || die
mkdir -p ${WORKDIR}/${MY_P}
cd ${MY_P}
rpm_unpack ../work/nmclient/${MY_P}.i586.rpm || die "rpm unpack failed"
}
src_compile() { :; }
src_install() {
has_multilib_profile && ABI="x86"
for x in en hu ar cs da de es fi fr he it ja ko nl no pl pt ru sv zh_CN zh_TW ; do
if use linguas_${x}
then
[[ ${x} == "zh_CN" ]] && x="zhcn"
[[ ${x} == "zh_TW" ]] && x="zhtw"
docinto ${x}
dodoc ${WORKDIR}/${MY_P}/opt/novell/messenger/client/docs/${x}/*.htm
fi
done
java-pkg_jarinto /opt/novell/messenger/client/$(get_libdir)
for x in jh.jar nmclhlp.jar nmclient.jar; do
java-pkg_dojar ${WORKDIR}/${MY_P}/opt/novell/messenger/client/${x}
done
java-pkg_sointo /opt/novell/messenger/client/$(get_libdir)
for x in libeggtray.so libidlex.so; do
java-pkg_doso ${WORKDIR}/${MY_P}/opt/novell/messenger/client/${x}
done
insinto ${JAVA_PKG_JARDEST}
doins ${WORKDIR}/${MY_P}/opt/novell/messenger/client/*.wav
insinto ${JAVA_PKG_JARDEST}/icons
doins ${WORKDIR}/${MY_P}/opt/novell/messenger/client/icons/*
doicon ${WORKDIR}/${MY_P}/opt/novell/messenger/client/nmclient.png
# insinto ${JAVA_PKG_JARDEST}/docs
into /opt/novell/messenger/client
java-pkg_dolauncher nmclient --main com.novell.messenger.client.Messenger \
-pre ${FILESDIR}/nmclient-2.0-pre \
--java_args "-Xms5M -Dawt.toolkit=sun.awt.motif.MToolkit"
make_desktop_entry /opt/novell/messenger/client/bin/nmclient "GroupWise Messenger" nmclient.png Network
dosym /opt/novell/messenger/client/bin/nmclient /usr/bin/nmclient
}
pkg_nofetch() {
einfo "This files require you to register at ${HOMEPAGE} (free account)"
einfo "Please download following file:"
einfo " - ${NOVELL_FILE}"
einfo "from http://download.novell.com/Download?buildid=${NOVELL_BUILDID}"
einfo "and place it in ${DISTDIR}"
einfo ""
einfo "To get rid of downloading files from ${HOMEPAGE}"
einfo "you can create a file /etc/portage/novell.acc"
einfo "containing the the novell account infos with following commands"
einfo "# echo \"NOVELL_ACCOUNT_USERNAME=\\\"balduin\\\"\" >> /etc/portage/novell.acc"
einfo "# echo \"NOVELL_ACCOUNT_PASSWORD=\\\"derfisch\\\"\" >> /etc/portage/novell.acc"
}