Gentooize ebuild & fix konqueror nnn:/

This commit is contained in:
geos_one 2007-02-19 20:53:58 +00:00
parent 8214fde635
commit ddd3e7fa42
8 changed files with 188 additions and 10 deletions

View File

@ -1,7 +1,10 @@
# ChangeLog for kde-misc/kio_slp
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
19 Feb 2007; Mario Fetka <mario-fetka@gmx.at> +kio_slp-0.4.1_p58.ebuild:
Bump Version
16 Nov 2006; Mario Fetka <mario-fetka@gmx.at> -kio_slp-0.4.1_p35.ebuild,
-kio_slp-0.4.1_p36.ebuild, +kio_slp-0.4.1_p37.ebuild,
+kio_slp-0.4.1_p39.ebuild:

View File

@ -1,5 +1,6 @@
DIST kio_slp-0.4.1-37.src.rpm 24078 RMD160 fa87ec0ade9573f3d5fb4873709d2b9f573d0f5e SHA1 ff2713e99a037ae4985835e5593c4b23ca872f1e SHA256 04d2a9c4564a45e6017259dde434f70a0496f13f9d6aca6a540550db034ae994
DIST kio_slp-0.4.1-39.src.rpm 24056 RMD160 8b42215e268b90246d6080d3f7c0898ed9319d94 SHA1 c5f075c215eab62a8b20988bc8949f49c6670d4f SHA256 6e1c559f694ad95e66499e8e9680e33c428522d9313a8604ba471c72fca08112
DIST kio_slp-0.4.1-58.src.rpm 24135 RMD160 fb41e34d1bcc9a7225611fe86364eabe30fc1d6b SHA1 686516401ab753d2628ebec641c01c2c3bd47703 SHA256 8b40f8d28555c175f1030d2edb0320e40a96bd602385c020ed5ae966e6eab65e
EBUILD kio_slp-0.4.1_p37.ebuild 897 RMD160 4a7435be2f33f5bdd283eeee0c6a8e98e59ba2ab SHA1 35583e736addcb00f9e4b8ae9b7b4eaf0349a1e9 SHA256 594955ebbd5e9c8929e4b8059b76ee349ac9fdba2b122b22053ea6bfe008d288
MD5 f450bb42368122562db2089d1910e22d kio_slp-0.4.1_p37.ebuild 897
RMD160 4a7435be2f33f5bdd283eeee0c6a8e98e59ba2ab kio_slp-0.4.1_p37.ebuild 897
@ -8,10 +9,14 @@ EBUILD kio_slp-0.4.1_p39.ebuild 897 RMD160 4a7435be2f33f5bdd283eeee0c6a8e98e59ba
MD5 f450bb42368122562db2089d1910e22d kio_slp-0.4.1_p39.ebuild 897
RMD160 4a7435be2f33f5bdd283eeee0c6a8e98e59ba2ab kio_slp-0.4.1_p39.ebuild 897
SHA256 594955ebbd5e9c8929e4b8059b76ee349ac9fdba2b122b22053ea6bfe008d288 kio_slp-0.4.1_p39.ebuild 897
MISC ChangeLog 749 RMD160 ee3f67660a8cd1ad03a3635aa27c31c4b94d872c SHA1 32f8e7b53d1acadf2dd79c628297900e74664ef7 SHA256 3a027f0ab630906139411a9e9e4fa97e4ca2b21303ac3e0087bf410fc67cc1e0
MD5 d03cdde02c103197a759f1feb0201d62 ChangeLog 749
RMD160 ee3f67660a8cd1ad03a3635aa27c31c4b94d872c ChangeLog 749
SHA256 3a027f0ab630906139411a9e9e4fa97e4ca2b21303ac3e0087bf410fc67cc1e0 ChangeLog 749
EBUILD kio_slp-0.4.1_p58.ebuild 897 RMD160 b4c8231398faf050cca1675d8c6e5f8b0a7943f7 SHA1 befda536d0465002cba547820a7c866f7f010fb6 SHA256 7df386fecad0734c1653e0edeb35f6ffad13bd6ea0a01a7a539eba6561fb23f5
MD5 429f2629e085c6ff4be60b2370fc6cc1 kio_slp-0.4.1_p58.ebuild 897
RMD160 b4c8231398faf050cca1675d8c6e5f8b0a7943f7 kio_slp-0.4.1_p58.ebuild 897
SHA256 7df386fecad0734c1653e0edeb35f6ffad13bd6ea0a01a7a539eba6561fb23f5 kio_slp-0.4.1_p58.ebuild 897
MISC ChangeLog 840 RMD160 d12b93ca7633309a09aa8ae4156408a12b0d1eaa SHA1 dd34b5d1e1593ee66b24b4b7770954943f8a93f9 SHA256 886022ee8d680e9eca7eebd630c52142e402805a065f954cd5e90779fe4ec924
MD5 34b2c5bd1b6cabe95ca420a28319780c ChangeLog 840
RMD160 d12b93ca7633309a09aa8ae4156408a12b0d1eaa ChangeLog 840
SHA256 886022ee8d680e9eca7eebd630c52142e402805a065f954cd5e90779fe4ec924 ChangeLog 840
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
@ -22,3 +27,6 @@ SHA256 10fc58f1fed257292ef18335d001f1e7684dade61a93cfc6ec3ee1822f39fbe3 files/di
MD5 e589ca343b13895d723ae555c8e486c1 files/digest-kio_slp-0.4.1_p39 250
RMD160 8e958381a7fdbafa6ea110ea11d766be62801336 files/digest-kio_slp-0.4.1_p39 250
SHA256 78d4772bba1d4f963ef66bb1935e159c556de4e67d0cccf4fd7c98df80af66cb files/digest-kio_slp-0.4.1_p39 250
MD5 9b4376189ac345bfe80ba9f3962a8540 files/digest-kio_slp-0.4.1_p58 250
RMD160 f1c5c4c5003417df24dee97d83261d1234bf6463 files/digest-kio_slp-0.4.1_p58 250
SHA256 6936811207f8f72fc42b899444a0a1044cc8ae229f89d7693c9c4cd10279a06c files/digest-kio_slp-0.4.1_p58 250

View File

@ -0,0 +1,3 @@
MD5 03d376114bb91ff9d57a4d4be797566e kio_slp-0.4.1-58.src.rpm 24135
RMD160 fb41e34d1bcc9a7225611fe86364eabe30fc1d6b kio_slp-0.4.1-58.src.rpm 24135
SHA256 8b40f8d28555c175f1030d2edb0320e40a96bd602385c020ed5ae966e6eab65e kio_slp-0.4.1-58.src.rpm 24135

View File

@ -0,0 +1,43 @@
# Copyright 1999-2007 Gentoo Foundation, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit autotools rpm kde
MY_P=${P/_p/-}
DESCRIPTION="KDE kio slave for slp (using openslp)"
HOMEPAGE="http://opensuse.org"
SRC_URI="http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/suse/src/${MY_P}.src.rpm
http://lepetitfou.dyndns.org/download/distfiles/${MY_P}.src.rpm"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
KEYWORDS="~x86 ~amd64"
RDEPEND="net-libs/openslp"
DEPEND="|| ( kde-base/kapptemplate kde-base/kdesdk )
${RDEPEND}"
S=${WORKDIR}/${PN}
need-kde 3.4
src_unpack() {
rpm_src_unpack
cd ${PN}
cp -a ${KDEDIR}/share/apps/kapptemplate/admin admin
chmod +x admin/detect-autoconf.pl
}
pkg_postinst()
{
echo
einfo "To start using the services provided by kio_slp,"
einfo "point Konqueror to 'service:/', 'slp:/' and/or 'mdns:/'"
echo
}

View File

@ -1,7 +1,11 @@
# ChangeLog for kde-misc/novell-konqueror-plugin
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
19 Feb 2007; Mario Fetka <mario-fetka@gmx.at>
+novell-konqueror-plugin-1.2.0_p323-r5.ebuild:
Gentooize ebuild & fix nnn:/
16 Nov 2006; Mario Fetka <mario-fetka@gmx.at>
+novell-konqueror-plugin-1.2.0_p323-r4.ebuild:
Readd *.la with corrected libtool path

View File

@ -11,10 +11,14 @@ EBUILD novell-konqueror-plugin-1.2.0_p323-r4.ebuild 5211 RMD160 36a1e37ce0e6427d
MD5 fa5dc37143e13ebe067b2697ccacb43d novell-konqueror-plugin-1.2.0_p323-r4.ebuild 5211
RMD160 36a1e37ce0e6427d4e7a1a744e372485020dd892 novell-konqueror-plugin-1.2.0_p323-r4.ebuild 5211
SHA256 bc6651fa7447d2b1d10e0f2ec71f27956a0a1862a876501d4a6b30f555f1d884 novell-konqueror-plugin-1.2.0_p323-r4.ebuild 5211
MISC ChangeLog 818 RMD160 894180264895a835c9e4b78a2eb3d8bfaedf00a5 SHA1 396843b770808701e540a80674a17282eb9eca92 SHA256 919f2b97e5606b51f897646044435af086a567477235f745235b6cd4e3cbc04f
MD5 8c22a56c6690f44489503a477dd2701b ChangeLog 818
RMD160 894180264895a835c9e4b78a2eb3d8bfaedf00a5 ChangeLog 818
SHA256 919f2b97e5606b51f897646044435af086a567477235f745235b6cd4e3cbc04f ChangeLog 818
EBUILD novell-konqueror-plugin-1.2.0_p323-r5.ebuild 5351 RMD160 19b38ad34c1328c2ed625f77a61978a649c40e94 SHA1 6c3c24ddbc03d5bab861b42fdcf9cdfa780edcbd SHA256 0c6062f5f50849c13a441eaf16b7a75db0bcfef9fa20e5d82c564fd62565636e
MD5 9d48d642d300b6a5a21f3ec60a045eb5 novell-konqueror-plugin-1.2.0_p323-r5.ebuild 5351
RMD160 19b38ad34c1328c2ed625f77a61978a649c40e94 novell-konqueror-plugin-1.2.0_p323-r5.ebuild 5351
SHA256 0c6062f5f50849c13a441eaf16b7a75db0bcfef9fa20e5d82c564fd62565636e novell-konqueror-plugin-1.2.0_p323-r5.ebuild 5351
MISC ChangeLog 947 RMD160 02aac5a5208a738b023cec9673bba23ab59c83bf SHA1 c26420fdae572d598cd8ff2471df4297757668b8 SHA256 a67a35d634f9e8016f80e894171bd209f8f40af6e456e311972f430910db7b57
MD5 4dc3bc8ef34a53e0df9e1f6261a44a8d ChangeLog 947
RMD160 02aac5a5208a738b023cec9673bba23ab59c83bf ChangeLog 947
SHA256 a67a35d634f9e8016f80e894171bd209f8f40af6e456e311972f430910db7b57 ChangeLog 947
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
@ -25,3 +29,6 @@ SHA256 aa21d5b182ad571f4bedf0694cc608f211146d09e0af2bdd1addd6415a2bf0b8 files/di
MD5 dcdc80c8269e53d3a5ecd72aa4034a06 files/digest-novell-konqueror-plugin-1.2.0_p323-r4 277
RMD160 4767389e6f47ba8fb5b8907a954b9f80ce106b78 files/digest-novell-konqueror-plugin-1.2.0_p323-r4 277
SHA256 aa21d5b182ad571f4bedf0694cc608f211146d09e0af2bdd1addd6415a2bf0b8 files/digest-novell-konqueror-plugin-1.2.0_p323-r4 277
MD5 dcdc80c8269e53d3a5ecd72aa4034a06 files/digest-novell-konqueror-plugin-1.2.0_p323-r5 277
RMD160 4767389e6f47ba8fb5b8907a954b9f80ce106b78 files/digest-novell-konqueror-plugin-1.2.0_p323-r5 277
SHA256 aa21d5b182ad571f4bedf0694cc608f211146d09e0af2bdd1addd6415a2bf0b8 files/digest-novell-konqueror-plugin-1.2.0_p323-r5 277

View File

@ -0,0 +1,3 @@
MD5 2aab6c7358a733d1d8d9a4e893500a36 novell-client-1.2-SLE10.tar.gz 13963983
RMD160 98a0aa1ecd9c4f36c158fa2cce77f51927d2f693 novell-client-1.2-SLE10.tar.gz 13963983
SHA256 ddf55b7a757a4f4e104c4aefb04639f4022d43c31171d0a914d1b765d6e78241 novell-client-1.2-SLE10.tar.gz 13963983

View File

@ -0,0 +1,107 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils rpm qt3 kde
need-kde 3.5
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell Network Konqueror Plugin"
HOMEPAGE="http://www.novell.com"
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/2JyMn7sWP_Q~/novell-client-1.2-SLE10.tar.gz"
LICENSE="Novell-NCL"
SLOT="0"
KEYWORDS="~x86"
IUSE="gtk linguas_cs_CZ linguas_de_DE linguas_en_US linguas_es_ES linguas_fr_FR linguas_hu_HU linguas_it_IT linguas_ja_JP linguas_pl_PL linguas_pt_BR linguas_ru_RU linguas_sk_SK linguas_zh_CN linguas_zh_TW"
DEPEND=""
RDEPEND="virtual/libc
virtual/fam
$(qt_min_version 3.3)
>=dev-libs/expat-2.0
>=kde-misc/novell-ui-base-1.2.0
>=media-libs/fontconfig-2.3.1
>=media-libs/freetype-1.3.1
>=media-libs/libart_lgpl-2.3.17
>=media-libs/libpng-1.2.8
>=net-dns/libidn-0.6.0
>=sys-apps/acl-2.2.34
>=sys-apps/attr-2.4.28
>=sys-libs/novell-xplatlib-1.0.2
>=x11-libs/libICE-1.0
>=x11-libs/libSM-1.0
>=x11-libs/libX11-1.0
>=x11-libs/libXcursor-1.1
>=x11-libs/libXext-1.0
>=x11-libs/libXft-2.0
>=x11-libs/libXi-1.0
>=x11-libs/libXinerama-1.0
>=x11-libs/libXrandr-1.1
>=x11-libs/libXrender-0.9
>=sys-devel/gcc-4.1
>=sys-libs/zlib-1.2.3
>=kde-misc/kio_slp-0.4.1
!net-misc/novell-konqueror-plugin"
RESTRICT="nomirror nostrip"
src_unpack() {
unpack ${A}
mkdir -p ${WORKDIR}/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack ${WORKDIR}/ncl_build_711/NCL_disk/novell/i586/${PN}-${MY_PV}.code10.i586.rpm
}
src_compile() { :; }
src_install() {
for x in cs_CZ de_DE en_US es_ES fr_FR hu_HU it_IT ja_JP pl_PL pt_BR ru_RU sk_SK zh_CN zh_TW
do
if use linguas_${x}
then
cp ${WORKDIR}/${PN}-${MY_PV}/usr/share/locale/${x}/LC_MESSAGES/${PN}.mo ${WORKDIR}/${x}.mo
domo ${WORKDIR}/${x}.mo
fi
done
into ${KDEDIR}
dolib.so ${WORKDIR}/${PN}-${MY_PV}/opt/kde3/lib/*
exeinto ${KDEDIR}/lib/kde3
doexe ${WORKDIR}/${PN}-${MY_PV}/opt/kde3/lib/kde3/*
for i in kde3/kio_nauthkios.la kde3/kio_nndskios.la kde3/kio_nnetscankios.la kde3/kio_nvkios.la libnkios.la
do
dosed "s%/usr/lib/qt3%${QTDIR}%g" ${KDEDIR}/lib/${i}
dosed "s%/usr/X11R6/lib%/usr/lib%g" ${KDEDIR}/lib/${i}
dosed "s%/opt/kde3%${KDEDIR}%g" ${KDEDIR}/lib/${i}
dosed "s%/usr/lib/gcc/i586-suse-linux/4.1.0/../../../libstdc++.la%%g" ${KDEDIR}/lib/${i}
dosed "s%/usr/lib/gcc/i586-suse-linux/4.1.0/../../..//libstdc++.la%%g" ${KDEDIR}/lib/${i}
dosed "s%-L/home/sbjensen/suebuild/ncl+/kpl/nkioslib/debug/nkioslib /home/sbjensen/suebuild/ncl+/kpl/nkioslib/debug/nkioslib%-L${KDEDIR}/lib ${KDEDIR}/lib%g" ${KDEDIR}/lib/${i}
dosed "s%-L/home/sbjensen/suebuild/ncl+/lib/core/debug/ncplib /home/sbjensen/suebuild/ncl+/lib/core/debug/ncplib%-L/opt/novell/lib /opt/novell/lib%g" ${KDEDIR}/lib/${i}
dosed "s%-L/home/sbjensen/suebuild/ncl+/lib/core/debug/ncplib2 /home/sbjensen/suebuild/ncl+/lib/core/debug/ncplib2%-L/opt/novell/lib /opt/novell/lib%g" ${KDEDIR}/lib/${i}
dosed "s%-L/home/sbjensen/suebuild/ncl+/lib/core/debug/ncl_libgeneral /home/sbjensen/suebuild/ncl+/lib/core/debug/ncl_libgeneral%-L/opt/novell/lib /opt/novell/lib%g" ${KDEDIR}/lib/${i}
dosed "s%-L/home/sbjensen/suebuild/ncl+/lib/core/debug/ncl_slpscanner /home/sbjensen/suebuild/ncl+/lib/core/debug/ncl_slpscanner%-L/opt/novell/lib /opt/novell/lib%g" ${KDEDIR}/lib/${i}
dosed "s%-L/home/sbjensen/suebuild/ncl+/lib/core/debug/ncl_libABS /home/sbjensen/suebuild/ncl+/lib/core/debug/ncl_libABS%-L/opt/novell/lib /opt/novell/lib%g" ${KDEDIR}/lib/${i}
dosed "s%-L/home/sbjensen/suebuild/ncl+/lib/core/debug/ncl_libNDS /home/sbjensen/suebuild/ncl+/lib/core/debug/ncl_libNDS%-L/opt/novell/lib /opt/novell/lib%g" ${KDEDIR}/lib/${i}
dosed "s%-L/home/sbjensen/suebuild/ncl+/kpl/nncpkios/debug/nnds /home/sbjensen/suebuild/ncl+/lib/core/debug/ncl_slpscanner%-L/opt/novell/lib /opt/novell/lib%g" ${KDEDIR}/lib/${i}
dosed "s%-L/home/sbjensen/suebuild/ncl+/lib/core/debug/ncl_libNFS /home/sbjensen/suebuild/ncl+/lib/core/debug/ncl_libNFS%-L/opt/novell/lib /opt/novell/lib%g" ${KDEDIR}/lib/${i}
dosed "s%-L/home/sbjensen/suebuild/ncl+/kpl/nncpkios/debug/nnetscan /home/sbjensen/suebuild/ncl+/lib/core/debug/ncl_slpscanner%-L/opt/novell/lib /opt/novell/lib%g" ${KDEDIR}/lib/${i}
dosed "s%/home/sbjensen/suebuild/ncl+/lib/cpllib/debug/cpllib%/opt/novell/lib%g" ${KDEDIR}/lib/${i}
dosed "s%home/sbjensen/suebuild/ncl+/lib/cpl/debug/cpllib%/opt/novell/lib%g" ${KDEDIR}/lib/${i}
dosed "s%/home/sbjensen/suebuild/ncl+/lib/core/debug/ncl_libNCP%/opt/novell/lib%g" ${KDEDIR}/lib/${i}
dosed "s%/.libs%%g" ${KDEDIR}/lib/${i}
done
exeinto /opt/novell/ncl/bin/metascripts
doexe ${WORKDIR}/${PN}-${MY_PV}/opt/novell/ncl/bin/metascripts/nnn2*
insinto ${KDEDIR}/share/apps/konqueror/servicemenus
doins ${WORKDIR}/${PN}-${MY_PV}/opt/novell/ncl/bin/metascripts/NCL*.desktop
insinto ${KDEDIR}/share/apps/konqsidebartng/entries
doins ${WORKDIR}/${PN}-${MY_PV}/opt/novell/ncl/bin/metascripts/nnn.desktop
insinto ${KDEDIR}/share
doins -r ${WORKDIR}/${PN}-${MY_PV}/opt/kde3/share/*
dosym ..${KDEDIR} /opt/kde3
dodoc ${WORKDIR}/${PN}-${MY_PV}/usr/share/doc/packages/${PN}/*
doenvd "${FILESDIR}"/80novell-client
}