From dcc3f7d9ebb01a4eea15928ba5421babc603438a Mon Sep 17 00:00:00 2001 From: geos_one Date: Sat, 8 May 2010 14:35:21 +0000 Subject: [PATCH] net-print/novell-iprint-xclient: Bump --- .../net-print/novell-iprint-xclient/ChangeLog | 6 +- .../net-print/novell-iprint-xclient/Manifest | 4 +- ...ll-iprint-xclient-6.502.20090929_p1.ebuild | 119 ++++++++++++++++++ 3 files changed, 127 insertions(+), 2 deletions(-) create mode 100644 trunk/novell4gentoo/net-print/novell-iprint-xclient/novell-iprint-xclient-6.502.20090929_p1.ebuild diff --git a/trunk/novell4gentoo/net-print/novell-iprint-xclient/ChangeLog b/trunk/novell4gentoo/net-print/novell-iprint-xclient/ChangeLog index 589a74c..0d0221b 100644 --- a/trunk/novell4gentoo/net-print/novell-iprint-xclient/ChangeLog +++ b/trunk/novell4gentoo/net-print/novell-iprint-xclient/ChangeLog @@ -1,7 +1,11 @@ # ChangeLog for net-print/novell-iprint-xclient -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 08 May 2010; Mario Fetka + +novell-iprint-xclient-6.502.20090929_p1.ebuild: + Bump + *novell-iprint-xclient-6.500.20081007_p1 (03 Sep 2009) 03 Sep 2009; Mario Fetka diff --git a/trunk/novell4gentoo/net-print/novell-iprint-xclient/Manifest b/trunk/novell4gentoo/net-print/novell-iprint-xclient/Manifest index e8174e2..716349b 100644 --- a/trunk/novell4gentoo/net-print/novell-iprint-xclient/Manifest +++ b/trunk/novell4gentoo/net-print/novell-iprint-xclient/Manifest @@ -4,8 +4,10 @@ AUX post-high 1982 RMD160 6bc0f5f30af9456b74312d5155e9fe1d95d5494b SHA1 462b945d AUX post-low 1915 RMD160 d99e230e53fb9fc61fa2c29903f06d41c4b24f95 SHA1 822a3cedcd3e6efb4e97c30181bf79f273bc9d9f SHA256 5a7aa0c41c63676f53d284b5bdc50a50a58dd6ef550945dce9014b175b40da2d DIST OES2-i386-CD1.iso 451971072 RMD160 05862048a73feed632aafb5fd4f25a4e9c5ecc6a SHA1 6286002ebef39929eceecee47e6e2a095e66ba71 SHA256 10b3921c5a833bb8fc992e8bd699b28e045471f8338d3480863ca86413161f63 DIST iprntlinuxclient438.tar.gz 967940 RMD160 dd580658f9649656345e9188fce98b8bb823ed9e SHA1 37130888ea997dee810491a05dbf7aa59c133317 SHA256 1f1b87f36efae0d3e1f65580eb6e993fc57024731e0b6cfa91bafb46d61dcd1e +DIST iprntlinuxclient500.tar.gz.tar.gz 2077867 RMD160 998e9dca727cb176d460c80f20a6004c8267b6da SHA1 93994a5a02257094e0baaca46edd3608be35ba60 SHA256 8ae471de06fba07586ad1d7b9545670c4ffb9b042432a9d4de35bc05001b98e0 EBUILD novell-iprint-xclient-6.500.20070508_p1-r1.ebuild 5072 RMD160 857276c10b11b5c6e2d1f960496c22c49996dc41 SHA1 6feb8a39a0218a7aafc143b276e0a3b9eb060f6d SHA256 bc1ab4010b05303fc48526e59e1bfb32d60c44bc958c398cf9b94d79493862d6 EBUILD novell-iprint-xclient-6.500.20070508_p1.ebuild 3614 RMD160 0e5fa61cf33248f403ead431cfe18a956e771328 SHA1 c7700e5b54253af6db5ef6cd52e7e07479effffa SHA256 93e36d8de8d01768de058a2221c90a1baef197e2cf37559e1af98efab8ce146e EBUILD novell-iprint-xclient-6.500.20081007_p1.ebuild 3663 RMD160 064420f7a24094bab542d9bb05286ea5e4ae76e1 SHA1 79b39202986baff5edd74de7a1b43672d2a90e6e SHA256 ab8bdef45dfcda45cba7b36ffca8576a8184abd423c69ba87d334c6ae5aa2a8a -MISC ChangeLog 814 RMD160 d5140cb1e5e009dc818e7725600a324ff43abf0d SHA1 c8c345c57dd62266bb3392d4d5848845527bd79d SHA256 53509ffc38d8fda89fd7b828fde15d709e17fb54a53ca2af1ccb63f298136ae1 +EBUILD novell-iprint-xclient-6.502.20090929_p1.ebuild 3834 RMD160 51754ba95c57d127e75492815c93ed417cfccb12 SHA1 fe5a05ae5869e4e1973a138d9372c586bf16e980 SHA256 5471b1f52434328b146f464e7c6f0d6301ece8d92eb8abbba8bb1de79bbe1680 +MISC ChangeLog 924 RMD160 aef967cec28ce086e13017ae5a2c86c2a02e9181 SHA1 c09a7a2efbb96f25efc3e1f7ad408bf965900e78 SHA256 3200cf0e346287a9060074acc7e083c3ea5ee74927be67c1cc9d305bf069c14d MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/trunk/novell4gentoo/net-print/novell-iprint-xclient/novell-iprint-xclient-6.502.20090929_p1.ebuild b/trunk/novell4gentoo/net-print/novell-iprint-xclient/novell-iprint-xclient-6.502.20090929_p1.ebuild new file mode 100644 index 0000000..e89d5a0 --- /dev/null +++ b/trunk/novell4gentoo/net-print/novell-iprint-xclient/novell-iprint-xclient-6.502.20090929_p1.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +NOVELL_BUILDID="tZdGahk3mvg~" +NOVELL_FILE32="iprntlinuxclient500.tar.gz.tar.gz" +RESTRICT="mirror strip" + +inherit novell eutils rpm5 nsplugins + +MY_PV="${PV/_p/-}" + +DESCRIPTION="Novell iPrint Client for Linux Low Security" +HOMEPAGE="http://www.novell.com" +SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE32}" + +LICENSE="Novell-NCL" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="gtk linguas_cs linguas_de linguas_es linguas_fr linguas_hu linguas_it linguas_ja linguas_pl linguas_pt linguas_ru linguas_sl linguas_zh_cn linguas_zh_tw" + +DEPEND="media-gfx/imagemagick" + +RDEPEND="virtual/libc + dev-libs/atk + dev-libs/expat + dev-libs/glib + media-libs/fontconfig + media-libs/freetype + media-libs/glitz + media-libs/libpng + >=net-print/cups-1.2 + sys-libs/zlib + www-client/mozilla-firefox + x11-libs/gtk+ + x11-libs/pango + x11-libs/cairo + x11-libs/libXrender + x11-libs/libX11 + x11-libs/libXext + !net-print/novell-iprint-xclient-sh + !net-print/novell-iprint-xclient-sl" + +src_unpack() { + unpack ${A} + mkdir -p "${WORKDIR}"/${PN}-${MY_PV} + cd ${PN}-${MY_PV} + if use x86 + then + ndir=x86 + narch=i586 + nlib=lib + elif use amd64 + then + ndir=x86_64 + narch=x86_64 + nlib=lib64 + fi + rpm5_unpack "${WORKDIR}"/iprntlinuxclient500.tar.gz/linux-sled11/${ndir}/novell-iprint-xclient-sl-${MY_PV}.${narch}.rpm +} + +src_compile() { + CUPSDIR=`cups-config --serverbin` +} + +src_install() { + for x in cs de es fr hu it ja pl pt ru sl zh_cn zh_tw + do + if use linguas_${x} + then + cp "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/iprint/share/locale/${x}/LC_MESSAGES/iprint-client.mo "${WORKDIR}"/${x}.mo + domo "${WORKDIR}"/${x}.mo + fi + done + insinto /etc/opt/novell/iprint + doins "${WORKDIR}"/${PN}-${MY_PV}/etc/opt/novell/iprint/* + into /opt/novell/iprint + dobin "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/iprint/bin/* + insinto /opt/novell/iprint/plugin + doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/iprint/plugin/npnipp.so + doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/iprint/plugin/libiprint-plugin.so + inst_plugin /opt/novell/iprint/plugin/npnipp.so + inst_plugin /opt/novell/iprint/plugin/libiprint-plugin.so + insinto /usr/share/applications + doins "${WORKDIR}"/${PN}-${MY_PV}/usr/share/applications/*.desktop + dosed "s:/opt/novell/iprint/share/icons/iprint_32.gif:iprint.png:g" /usr/share/applications/novell-iprint.desktop + dosym ../applications/novell-iprint.desktop /usr/share/autostart/novell-iprint.desktop + exeinto ${CUPSDIR}/backend + doexe "${WORKDIR}"/${PN}-${MY_PV}/usr/${nlib}/cups/backend/* + dosym ${CUPSDIR} /usr/$(get_libdir)/cups + keepdir /var/opt/novell/log/iprint/client + into /opt/novell + dolib "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/${nlib}/* + doman "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/man/*/* + convert -size 32x32 "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/iprint/share/icons/iprint_32.gif "${WORKDIR}"/iprint_32.png + newicon "${WORKDIR}"/iprint_32.png iprint.png + + if use x86 + then + doenvd "${FILESDIR}"/80novell-iprint + elif use amd64 + then + doenvd "${FILESDIR}"/80novell-iprint64 + fi +} + +pkg_nofetch() { + einfo "This files require you to register at ${HOMEPAGE} (free account)" + einfo "Please download following file:" + einfo " - ${NOVELL_FILE32}" + 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 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" +}