From d56c9affd4c3f46dd4c615dc6c8636e0c2cbdb24 Mon Sep 17 00:00:00 2001 From: geos_one Date: Tue, 6 Mar 2007 22:55:33 +0000 Subject: [PATCH] Gentooize iPrint client & cups 1.2 support --- .../novell-iprint-xclient-sh/ChangeLog | 10 ++- .../novell-iprint-xclient-sh/Manifest | 7 ++ .../files/80novell-iprint | 5 ++ ...ovell-iprint-xclient-sh-1.0.20050722_p1-r1 | 3 + ...print-xclient-sh-1.0.20050722_p1-r1.ebuild | 74 +++++++++++++++++++ .../novell-iprint-xclient-sl/ChangeLog | 7 +- .../novell-iprint-xclient-sl/Manifest | 11 +++ .../files/80novell-iprint | 5 ++ ...ovell-iprint-xclient-sl-1.0.20050722_p1-r1 | 3 + ...print-xclient-sl-1.0.20050722_p1-r1.ebuild | 74 +++++++++++++++++++ 10 files changed, 197 insertions(+), 2 deletions(-) create mode 100644 trunk/novell4gentoo/net-print/novell-iprint-xclient-sh/files/80novell-iprint create mode 100644 trunk/novell4gentoo/net-print/novell-iprint-xclient-sh/files/digest-novell-iprint-xclient-sh-1.0.20050722_p1-r1 create mode 100644 trunk/novell4gentoo/net-print/novell-iprint-xclient-sh/novell-iprint-xclient-sh-1.0.20050722_p1-r1.ebuild create mode 100644 trunk/novell4gentoo/net-print/novell-iprint-xclient-sl/files/80novell-iprint create mode 100644 trunk/novell4gentoo/net-print/novell-iprint-xclient-sl/files/digest-novell-iprint-xclient-sl-1.0.20050722_p1-r1 create mode 100644 trunk/novell4gentoo/net-print/novell-iprint-xclient-sl/novell-iprint-xclient-sl-1.0.20050722_p1-r1.ebuild diff --git a/trunk/novell4gentoo/net-print/novell-iprint-xclient-sh/ChangeLog b/trunk/novell4gentoo/net-print/novell-iprint-xclient-sh/ChangeLog index 6c1b8b1..48c4d00 100644 --- a/trunk/novell4gentoo/net-print/novell-iprint-xclient-sh/ChangeLog +++ b/trunk/novell4gentoo/net-print/novell-iprint-xclient-sh/ChangeLog @@ -1,7 +1,15 @@ # ChangeLog for net-print/novell-iprint-xclient-sh -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 06 Mar 2007; Mario Fetka +files/80novell-iprint, + +novell-iprint-xclient-sh-1.0.20050722_p1-r1.ebuild: + Add Missing file + + 06 Mar 2007; Mario Fetka + +novell-iprint-xclient-sh-1.0.20050722_p1-r1.ebuild: + Gentooize and add support for cups 1.2 + 13 Aug 2006; Mario Fetka novell-iprint-xclient-sh-1.0.20050722_p1.ebuild, +metadata.xml: Correct Typo diff --git a/trunk/novell4gentoo/net-print/novell-iprint-xclient-sh/Manifest b/trunk/novell4gentoo/net-print/novell-iprint-xclient-sh/Manifest index ff20328..491df4a 100644 --- a/trunk/novell4gentoo/net-print/novell-iprint-xclient-sh/Manifest +++ b/trunk/novell4gentoo/net-print/novell-iprint-xclient-sh/Manifest @@ -1,4 +1,8 @@ DIST iprntlnxclnt.tar.gz 1109937 RMD160 65c002691365e72bf1ccf1061884971ee9271b59 SHA1 e9e01deb0b859d2175fd8be0c23f91e518344087 SHA256 ab111fba79153b68c2711d7219a1ee6d0bece716c94012c5b3dc889b05bac260 +EBUILD novell-iprint-xclient-sh-1.0.20050722_p1-r1.ebuild 2420 RMD160 f1bbc3f1b037d6a01fd68b104296a4bb76445bbf SHA1 e953eadcd362e607ca3e9861f4dd5ae1c307e320 SHA256 2dd4a595fef67bc79d0f07690445c0075e90bf2961d93aa98bb9e89e134a9c5a +MD5 cbb6cbbcbc341fd1b1337df766f5e329 novell-iprint-xclient-sh-1.0.20050722_p1-r1.ebuild 2420 +RMD160 f1bbc3f1b037d6a01fd68b104296a4bb76445bbf novell-iprint-xclient-sh-1.0.20050722_p1-r1.ebuild 2420 +SHA256 2dd4a595fef67bc79d0f07690445c0075e90bf2961d93aa98bb9e89e134a9c5a novell-iprint-xclient-sh-1.0.20050722_p1-r1.ebuild 2420 EBUILD novell-iprint-xclient-sh-1.0.20050722_p1.ebuild 1603 RMD160 87ae125787a72e3c1f8318409ee448d61fd434b8 SHA1 1694632c1fc15643e8a3c96ebdeaa6fb346748a8 SHA256 adeb47eeaec93ef39e27bb548cea0afae58c9f791442174c33966cc766559de9 MD5 5987392ffa1f6530f53eae45947ab25a novell-iprint-xclient-sh-1.0.20050722_p1.ebuild 1603 RMD160 87ae125787a72e3c1f8318409ee448d61fd434b8 novell-iprint-xclient-sh-1.0.20050722_p1.ebuild 1603 @@ -14,3 +18,6 @@ SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata MD5 e0ebf79dcd4fbfc33d26c44b82e7f276 files/digest-novell-iprint-xclient-sh-1.0.20050722_p1 241 RMD160 9a1dc93e930d53ff7c9cff1148e09d0397d4c6db files/digest-novell-iprint-xclient-sh-1.0.20050722_p1 241 SHA256 821a225881205a948604ada6d5f26453926b349227617ca35d66b61f2e8a2abd files/digest-novell-iprint-xclient-sh-1.0.20050722_p1 241 +MD5 e0ebf79dcd4fbfc33d26c44b82e7f276 files/digest-novell-iprint-xclient-sh-1.0.20050722_p1-r1 241 +RMD160 9a1dc93e930d53ff7c9cff1148e09d0397d4c6db files/digest-novell-iprint-xclient-sh-1.0.20050722_p1-r1 241 +SHA256 821a225881205a948604ada6d5f26453926b349227617ca35d66b61f2e8a2abd files/digest-novell-iprint-xclient-sh-1.0.20050722_p1-r1 241 diff --git a/trunk/novell4gentoo/net-print/novell-iprint-xclient-sh/files/80novell-iprint b/trunk/novell4gentoo/net-print/novell-iprint-xclient-sh/files/80novell-iprint new file mode 100644 index 0000000..f576fe5 --- /dev/null +++ b/trunk/novell4gentoo/net-print/novell-iprint-xclient-sh/files/80novell-iprint @@ -0,0 +1,5 @@ +NOVELL_IPRINT_DIR=/opt/novell/iprint +PATH=/opt/novell/iprint/bin +ROOTPATH=/opt/novell/iprint/bin +LDPATH=/opt/novell/lib +PRELINK_PATH_MASK=/opt/novell/lib:/opt/novell/iprint/bin \ No newline at end of file diff --git a/trunk/novell4gentoo/net-print/novell-iprint-xclient-sh/files/digest-novell-iprint-xclient-sh-1.0.20050722_p1-r1 b/trunk/novell4gentoo/net-print/novell-iprint-xclient-sh/files/digest-novell-iprint-xclient-sh-1.0.20050722_p1-r1 new file mode 100644 index 0000000..426cbff --- /dev/null +++ b/trunk/novell4gentoo/net-print/novell-iprint-xclient-sh/files/digest-novell-iprint-xclient-sh-1.0.20050722_p1-r1 @@ -0,0 +1,3 @@ +MD5 87beedddd43a4313c84dfe19ddf6a274 iprntlnxclnt.tar.gz 1109937 +RMD160 65c002691365e72bf1ccf1061884971ee9271b59 iprntlnxclnt.tar.gz 1109937 +SHA256 ab111fba79153b68c2711d7219a1ee6d0bece716c94012c5b3dc889b05bac260 iprntlnxclnt.tar.gz 1109937 diff --git a/trunk/novell4gentoo/net-print/novell-iprint-xclient-sh/novell-iprint-xclient-sh-1.0.20050722_p1-r1.ebuild b/trunk/novell4gentoo/net-print/novell-iprint-xclient-sh/novell-iprint-xclient-sh-1.0.20050722_p1-r1.ebuild new file mode 100644 index 0000000..00d565b --- /dev/null +++ b/trunk/novell4gentoo/net-print/novell-iprint-xclient-sh/novell-iprint-xclient-sh-1.0.20050722_p1-r1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils rpm nsplugins + +MY_PV="${PV/_p/-}" + +DESCRIPTION="Novell iPrint Client for Linux High Security" +HOMEPAGE="http://www.novell.com" +SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/IK6VPhcUEko~/patchfiles/iprntlnxclnt.tar.gz" + +LICENSE="Novell-NCL" +SLOT="0" +KEYWORDS="~x86" +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="" + +RDEPEND="virtual/libc + dev-libs/atk + dev-libs/glib + net-print/cups + x11-libs/gtk+ + x11-libs/pango + sys-libs/zlib + www-client/mozilla-firefox + !net-misc/novell-iprint-xclient-sh + !net-print/novell-iprint-xclient-sl" + +RESTRICT="nomirror nostrip" + +src_unpack() { + unpack ${A} + mkdir -p ${WORKDIR}/${PN}-${MY_PV} + cd ${PN}-${MY_PV} + rpm_unpack ${WORKDIR}/iprntlnxclnt/${PN}-${MY_PV}.i586.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-xclient.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/* + inst_plugin /opt/novell/iprint/plugin/npnipp.so + insinto /usr/share/autostart + doins ${WORKDIR}/${PN}-${MY_PV}/opt/kde3/share/autostart/*.desktop + dosed "s:/usr/share/pixmaps/iprint_32:iprint.gif:g" /usr/share/autostart/iprint.desktop + exeinto ${CUPSDIR}/backend + doexe ${WORKDIR}/${PN}-${MY_PV}/usr/lib/cups/backend/* + dosym ${CUPSDIR} /usr/$(get_libdir)/cups + keepdir /var/opt/novell/log/iprint/xclient + into /opt/novell + dolib ${WORKDIR}/${PN}-${MY_PV}/opt/novell/lib/* + doman ${WORKDIR}/${PN}-${MY_PV}/opt/novell/man/*/* + newicon ${WORKDIR}/${PN}-${MY_PV}/opt/novell/iprint/share/icons/iprint_16.gif iprint.gif + newicon ${WORKDIR}/${PN}-${MY_PV}/opt/novell/iprint/share/icons/iprint_32.gif iprint.gif + + doenvd "${FILESDIR}"/80novell-iprint +} \ No newline at end of file diff --git a/trunk/novell4gentoo/net-print/novell-iprint-xclient-sl/ChangeLog b/trunk/novell4gentoo/net-print/novell-iprint-xclient-sl/ChangeLog index ceabd6b..2bbb72f 100644 --- a/trunk/novell4gentoo/net-print/novell-iprint-xclient-sl/ChangeLog +++ b/trunk/novell4gentoo/net-print/novell-iprint-xclient-sl/ChangeLog @@ -1,7 +1,12 @@ # ChangeLog for net-print/novell-iprint-xclient-sl -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 06 Mar 2007; Mario Fetka + +novell-iprint-xclient-sl-1.0.20050722_p1-r1.ebuild, + +files/80novell-iprint: + Gentooize ebuild and add cups 1.2 support + 13 Aug 2006; Mario Fetka novell-iprint-xclient-sl-1.0.20050722_p1.ebuild, +metadata.xml: Correct Typo diff --git a/trunk/novell4gentoo/net-print/novell-iprint-xclient-sl/Manifest b/trunk/novell4gentoo/net-print/novell-iprint-xclient-sl/Manifest index 1f8853c..45e2093 100644 --- a/trunk/novell4gentoo/net-print/novell-iprint-xclient-sl/Manifest +++ b/trunk/novell4gentoo/net-print/novell-iprint-xclient-sl/Manifest @@ -1,4 +1,12 @@ +AUX 80novell-iprint 176 RMD160 e6190bfcde19e2da265b790012582d4200c20668 SHA1 8d9051acc2390dd4fd40fb8221043b1ed0c80fe4 SHA256 a8eea0f270391a658d311a6de6f3b543db62a14767d6c9a966b15d845783d9b4 +MD5 d8bbb288c5f6d0366444af4f29e78108 files/80novell-iprint 176 +RMD160 e6190bfcde19e2da265b790012582d4200c20668 files/80novell-iprint 176 +SHA256 a8eea0f270391a658d311a6de6f3b543db62a14767d6c9a966b15d845783d9b4 files/80novell-iprint 176 DIST iprntlnxclnt.tar.gz 1109937 RMD160 65c002691365e72bf1ccf1061884971ee9271b59 SHA1 e9e01deb0b859d2175fd8be0c23f91e518344087 SHA256 ab111fba79153b68c2711d7219a1ee6d0bece716c94012c5b3dc889b05bac260 +EBUILD novell-iprint-xclient-sl-1.0.20050722_p1-r1.ebuild 2419 RMD160 dec096c7fe5ca188458814845cd6a136d49e025e SHA1 a86502af612fb4a34fd6bb79ea0b4ea2e8221a81 SHA256 6b9d7c01c0aca25b238d49b8b550705134c52194bd74628bc7f99d00a0f5e557 +MD5 4c6348c47c981a4a2d51eb7670208cd4 novell-iprint-xclient-sl-1.0.20050722_p1-r1.ebuild 2419 +RMD160 dec096c7fe5ca188458814845cd6a136d49e025e novell-iprint-xclient-sl-1.0.20050722_p1-r1.ebuild 2419 +SHA256 6b9d7c01c0aca25b238d49b8b550705134c52194bd74628bc7f99d00a0f5e557 novell-iprint-xclient-sl-1.0.20050722_p1-r1.ebuild 2419 EBUILD novell-iprint-xclient-sl-1.0.20050722_p1.ebuild 1603 RMD160 26749add5526eadd827a6d6495447ebdb59bb582 SHA1 c9b7c7035450847a081ef6b39e4bdf8701dcc4f9 SHA256 184a0d7ce9ee7b8e737aea6855f205246ea86b77c09fca03cd3c374d2f676d89 MD5 f94976237f4e35ca3eff2564cf62a91a novell-iprint-xclient-sl-1.0.20050722_p1.ebuild 1603 RMD160 26749add5526eadd827a6d6495447ebdb59bb582 novell-iprint-xclient-sl-1.0.20050722_p1.ebuild 1603 @@ -14,3 +22,6 @@ SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata MD5 e0ebf79dcd4fbfc33d26c44b82e7f276 files/digest-novell-iprint-xclient-sl-1.0.20050722_p1 241 RMD160 9a1dc93e930d53ff7c9cff1148e09d0397d4c6db files/digest-novell-iprint-xclient-sl-1.0.20050722_p1 241 SHA256 821a225881205a948604ada6d5f26453926b349227617ca35d66b61f2e8a2abd files/digest-novell-iprint-xclient-sl-1.0.20050722_p1 241 +MD5 e0ebf79dcd4fbfc33d26c44b82e7f276 files/digest-novell-iprint-xclient-sl-1.0.20050722_p1-r1 241 +RMD160 9a1dc93e930d53ff7c9cff1148e09d0397d4c6db files/digest-novell-iprint-xclient-sl-1.0.20050722_p1-r1 241 +SHA256 821a225881205a948604ada6d5f26453926b349227617ca35d66b61f2e8a2abd files/digest-novell-iprint-xclient-sl-1.0.20050722_p1-r1 241 diff --git a/trunk/novell4gentoo/net-print/novell-iprint-xclient-sl/files/80novell-iprint b/trunk/novell4gentoo/net-print/novell-iprint-xclient-sl/files/80novell-iprint new file mode 100644 index 0000000..f576fe5 --- /dev/null +++ b/trunk/novell4gentoo/net-print/novell-iprint-xclient-sl/files/80novell-iprint @@ -0,0 +1,5 @@ +NOVELL_IPRINT_DIR=/opt/novell/iprint +PATH=/opt/novell/iprint/bin +ROOTPATH=/opt/novell/iprint/bin +LDPATH=/opt/novell/lib +PRELINK_PATH_MASK=/opt/novell/lib:/opt/novell/iprint/bin \ No newline at end of file diff --git a/trunk/novell4gentoo/net-print/novell-iprint-xclient-sl/files/digest-novell-iprint-xclient-sl-1.0.20050722_p1-r1 b/trunk/novell4gentoo/net-print/novell-iprint-xclient-sl/files/digest-novell-iprint-xclient-sl-1.0.20050722_p1-r1 new file mode 100644 index 0000000..426cbff --- /dev/null +++ b/trunk/novell4gentoo/net-print/novell-iprint-xclient-sl/files/digest-novell-iprint-xclient-sl-1.0.20050722_p1-r1 @@ -0,0 +1,3 @@ +MD5 87beedddd43a4313c84dfe19ddf6a274 iprntlnxclnt.tar.gz 1109937 +RMD160 65c002691365e72bf1ccf1061884971ee9271b59 iprntlnxclnt.tar.gz 1109937 +SHA256 ab111fba79153b68c2711d7219a1ee6d0bece716c94012c5b3dc889b05bac260 iprntlnxclnt.tar.gz 1109937 diff --git a/trunk/novell4gentoo/net-print/novell-iprint-xclient-sl/novell-iprint-xclient-sl-1.0.20050722_p1-r1.ebuild b/trunk/novell4gentoo/net-print/novell-iprint-xclient-sl/novell-iprint-xclient-sl-1.0.20050722_p1-r1.ebuild new file mode 100644 index 0000000..a0aeab4 --- /dev/null +++ b/trunk/novell4gentoo/net-print/novell-iprint-xclient-sl/novell-iprint-xclient-sl-1.0.20050722_p1-r1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils rpm 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/IK6VPhcUEko~/patchfiles/iprntlnxclnt.tar.gz" + +LICENSE="Novell-NCL" +SLOT="0" +KEYWORDS="~x86" +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="" + +RDEPEND="virtual/libc + dev-libs/atk + dev-libs/glib + net-print/cups + x11-libs/gtk+ + x11-libs/pango + sys-libs/zlib + www-client/mozilla-firefox + !net-misc/novell-iprint-xclient-sl + !net-print/novell-iprint-xclient-sh" + +RESTRICT="nomirror nostrip" + +src_unpack() { + unpack ${A} + mkdir -p ${WORKDIR}/${PN}-${MY_PV} + cd ${PN}-${MY_PV} + rpm_unpack ${WORKDIR}/iprntlnxclnt/${PN}-${MY_PV}.i586.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-xclient.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/* + inst_plugin /opt/novell/iprint/plugin/npnipp.so + insinto /usr/share/autostart + doins ${WORKDIR}/${PN}-${MY_PV}/opt/kde3/share/autostart/*.desktop + dosed "s:/usr/share/pixmaps/iprint_32:iprint.gif:g" /usr/share/autostart/iprint.desktop + exeinto ${CUPSDIR}/backend + doexe ${WORKDIR}/${PN}-${MY_PV}/usr/lib/cups/backend/* + dosym ${CUPSDIR} /usr/$(get_libdir)/cups + keepdir /var/opt/novell/log/iprint/xclient + into /opt/novell + dolib ${WORKDIR}/${PN}-${MY_PV}/opt/novell/lib/* + doman ${WORKDIR}/${PN}-${MY_PV}/opt/novell/man/*/* + newicon ${WORKDIR}/${PN}-${MY_PV}/opt/novell/iprint/share/icons/iprint_16.gif iprint.gif + newicon ${WORKDIR}/${PN}-${MY_PV}/opt/novell/iprint/share/icons/iprint_32.gif iprint.gif + + doenvd "${FILESDIR}"/80novell-iprint +} \ No newline at end of file