Gentooize iPrint client & cups 1.2 support

This commit is contained in:
geos_one 2007-03-06 22:55:33 +00:00
parent 589bab01c2
commit d56c9affd4
10 changed files with 197 additions and 2 deletions

View File

@ -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 <mario-fetka@gmx.at> +files/80novell-iprint,
+novell-iprint-xclient-sh-1.0.20050722_p1-r1.ebuild:
Add Missing file
06 Mar 2007; Mario Fetka <mario-fetka@gmx.at>
+novell-iprint-xclient-sh-1.0.20050722_p1-r1.ebuild:
Gentooize and add support for cups 1.2
13 Aug 2006; Mario Fetka <mario-fetka@gmx.at>
novell-iprint-xclient-sh-1.0.20050722_p1.ebuild, +metadata.xml:
Correct Typo

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,3 @@
MD5 87beedddd43a4313c84dfe19ddf6a274 iprntlnxclnt.tar.gz 1109937
RMD160 65c002691365e72bf1ccf1061884971ee9271b59 iprntlnxclnt.tar.gz 1109937
SHA256 ab111fba79153b68c2711d7219a1ee6d0bece716c94012c5b3dc889b05bac260 iprntlnxclnt.tar.gz 1109937

View File

@ -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
}

View File

@ -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 <mario-fetka@gmx.at>
+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 <mario-fetka@gmx.at>
novell-iprint-xclient-sl-1.0.20050722_p1.ebuild, +metadata.xml:
Correct Typo

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,3 @@
MD5 87beedddd43a4313c84dfe19ddf6a274 iprntlnxclnt.tar.gz 1109937
RMD160 65c002691365e72bf1ccf1061884971ee9271b59 iprntlnxclnt.tar.gz 1109937
SHA256 ab111fba79153b68c2711d7219a1ee6d0bece716c94012c5b3dc889b05bac260 iprntlnxclnt.tar.gz 1109937

View File

@ -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
}