kde-misc/novell-qtgui: add xcb 1.2 fix binary patch svn add *hack hacksvn add *

This commit is contained in:
geos_one 2009-04-15 18:11:44 +00:00
parent 0810067667
commit 1afc81812f
4 changed files with 161 additions and 1 deletions

View File

@ -2,6 +2,10 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $ # $Header: $
15 Apr 2009; Mario Fetka <mario.fetka@gmail.com> +files/xcb-xlib-fix-list,
+novell-qtgui-3.0.508.17-r1.ebuild:
add xcb 1.2 fix binary patch svn add *hack hacksvn add *
10 Apr 2009; Mario Fetka <mario.fetka@gmail.com> 10 Apr 2009; Mario Fetka <mario.fetka@gmail.com>
-novell-qtgui-2.0.0_p9.ebuild, -novell-qtgui-3.0.508.0.6.ebuild, -novell-qtgui-2.0.0_p9.ebuild, -novell-qtgui-3.0.508.0.6.ebuild,
-novell-qtgui-3.0.508.8.ebuild, novell-qtgui-3.0.508.12.ebuild, -novell-qtgui-3.0.508.8.ebuild, novell-qtgui-3.0.508.12.ebuild,

View File

@ -1,8 +1,10 @@
AUX xcb-xlib-fix-list 601 RMD160 e7a1ab216ce9eccde6e7d54b976a06352c237a11 SHA1 5784e9cf43b6f346c3e1f3bfb4dcbc29fd348cd3 SHA256 94b423ff1d9c859dd2bbc4784ec9ce17fda27a9ebed4b10d482c2c0a40b1cf44
DIST Novell_Client_SLE11-i586-20081218-CD1.iso 8058880 RMD160 4a2a4146e82f0bb6f3f64e47f992fafcd20ce2e4 SHA1 e688c2571d90d5726928ff325e8da274f863d89f SHA256 7c3a6487879ae7846f3859e906e52811321b049667cbb04cb48fac079e6aee2e DIST Novell_Client_SLE11-i586-20081218-CD1.iso 8058880 RMD160 4a2a4146e82f0bb6f3f64e47f992fafcd20ce2e4 SHA1 e688c2571d90d5726928ff325e8da274f863d89f SHA256 7c3a6487879ae7846f3859e906e52811321b049667cbb04cb48fac079e6aee2e
DIST Novell_Client_SLE11-x86_64-20081218-CD1.iso 8388608 RMD160 749d45b32a1317a8e48f5c4346ea235078bab721 SHA1 7bb062942005e1316539e8b97e961c8cbb0a0c2e SHA256 cc0be51b5f3c61bd071751c26c65fd3fc0a5cea495622bbce2e811973fa70d59 DIST Novell_Client_SLE11-x86_64-20081218-CD1.iso 8388608 RMD160 749d45b32a1317a8e48f5c4346ea235078bab721 SHA1 7bb062942005e1316539e8b97e961c8cbb0a0c2e SHA256 cc0be51b5f3c61bd071751c26c65fd3fc0a5cea495622bbce2e811973fa70d59
DIST novell-client-2.0-sp2-sle11-i586.iso 8083456 RMD160 2cbd4ff77d1c4894621efed58a92c728ee9adfe1 SHA1 4e61f5421b369a44966c848671c6db20aa478d1d SHA256 9aa9f5cc4cd415476bcfaae278c38947c5809802c36ae40855252d9167189a1f DIST novell-client-2.0-sp2-sle11-i586.iso 8083456 RMD160 2cbd4ff77d1c4894621efed58a92c728ee9adfe1 SHA1 4e61f5421b369a44966c848671c6db20aa478d1d SHA256 9aa9f5cc4cd415476bcfaae278c38947c5809802c36ae40855252d9167189a1f
DIST novell-client-2.0-sp2-sle11-x86_64.iso 8400896 RMD160 92fe3ecfdb89e28cc3b417d1305e2ea8d79970f5 SHA1 b8241956f966ce55a24572aee25aa4747826f760 SHA256 cfb27415884042ecde16be9f671dc8910d578fb850b57aeb57bc96d26329dee9 DIST novell-client-2.0-sp2-sle11-x86_64.iso 8400896 RMD160 92fe3ecfdb89e28cc3b417d1305e2ea8d79970f5 SHA1 b8241956f966ce55a24572aee25aa4747826f760 SHA256 cfb27415884042ecde16be9f671dc8910d578fb850b57aeb57bc96d26329dee9
EBUILD novell-qtgui-3.0.508.12.ebuild 3933 RMD160 81a7ae98952d162c99e158d232ac2c142379312b SHA1 4ca2e300137871f40cff01a5ce8e5b90610d02b8 SHA256 07093f34e55f6886fb9ce82ca68072e56711b36c7c7828e8eda964d108e9a52c EBUILD novell-qtgui-3.0.508.12.ebuild 3933 RMD160 81a7ae98952d162c99e158d232ac2c142379312b SHA1 4ca2e300137871f40cff01a5ce8e5b90610d02b8 SHA256 07093f34e55f6886fb9ce82ca68072e56711b36c7c7828e8eda964d108e9a52c
EBUILD novell-qtgui-3.0.508.17-r1.ebuild 4142 RMD160 ab98ff305d630ae292e3df36c5b52db57607ab1c SHA1 cf25244517c945ca5e1e5d0f82e12be823b9cb39 SHA256 473ccd860bc62f23bcc46ff2b366c42a149b58366c232a9c52b76940ed25ff72
EBUILD novell-qtgui-3.0.508.17.ebuild 3922 RMD160 f6369698156ce3b3dfb12f3f0fd0642020b16e16 SHA1 8ee7ec26c4b38a543724ab12bc3fa9e55b132dc1 SHA256 e13d1916dd740399062f1c825d82cd7b78d4365b37bcb09c428df64ac6b119c0 EBUILD novell-qtgui-3.0.508.17.ebuild 3922 RMD160 f6369698156ce3b3dfb12f3f0fd0642020b16e16 SHA1 8ee7ec26c4b38a543724ab12bc3fa9e55b132dc1 SHA256 e13d1916dd740399062f1c825d82cd7b78d4365b37bcb09c428df64ac6b119c0
MISC ChangeLog 2488 RMD160 b22a9e9bb701ccf5991548d8dced870e4ca9a4f6 SHA1 8466cc9f128eb3ce0106a48351232473893e643f SHA256 4d6b452f7f20d447e8cbe6ebedb0ea7d7c6310fe40492a2103c11eaf12443239 MISC ChangeLog 2663 RMD160 9685cdcd22af6db6df46a80b925c40a0c2168d1e SHA1 8d8badbcf173de05f652b39388be1d1391c01420 SHA256 649dca1a253a867e52cc83c59f16adaef3d71b3e6c340e56541798a7ca9252e1
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -0,0 +1,20 @@
/opt/novell/ncl/bin/gnwconnections
/opt/novell/ncl/bin/gnwlogin
/opt/novell/ncl/bin/gnwneproperty
/opt/novell/ncl/bin/gnwpurge
/opt/novell/ncl/bin/gnwsalvage
/opt/novell/ncl/bin/gnwslpwarning
/opt/novell/ncl/bin/ncl_scanner
/opt/novell/ncl/bin/ncl_tray
/opt/novell/ncl/bin/nwconnections
/opt/novell/ncl/bin/nwcopy
/opt/novell/ncl/bin/nwflag
/opt/novell/ncl/bin/nwlogin
/opt/novell/ncl/bin/nwlogout
/opt/novell/ncl/bin/nwpurge
/opt/novell/ncl/bin/nwrights
/opt/novell/ncl/bin/nwrunscripts
/opt/novell/ncl/bin/nwsalvage
/opt/novell/ncl/bin/nwsend
/opt/novell/ncl/bin/nwusers
/opt/novell/ncl/bin/slpinfo

View File

@ -0,0 +1,134 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=1
NOVELL_BUILDID="_xf1ppPR2xA~"
NOVELL_FILE32="novell-client-2.0-sp2-sle11-i586.iso"
NOVELL_FILE64="novell-client-2.0-sp2-sle11-x86_64.iso"
RESTRICT="mirror strip"
inherit novell eutils rpm5 qt4 versionator
MY_PVV=$(replace_version_separator 3 '-' $(replace_version_separator 2 '_') )
MY_PV="${MY_PVV/_/.b}"
DESCRIPTION="Novell Client UI Base"
HOMEPAGE="http://www.novell.com"
SRC_URI="x86? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE32} )
amd64? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE64} )"
LICENSE="Novell-NCL"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="linguas_cs linguas_de linguas_da linguas_en linguas_es linguas_fi linguas_fr linguas_hu linguas_it linguas_ja linguas_nb linguas_pl linguas_pt linguas_ru linguas_sk linguas_zh"
DEPEND=">=app-arch/p7zip-4.15"
RDEPEND="virtual/libc
virtual/fam
net-misc/novell-client-env
x11-libs/qt:4
>=net-fs/novell-novfsd-3.0.0.14
>=dev-libs/expat-2.0
>=net-nds/openldap-2.4
>=dev-libs/openssl-0.9.8f
>=net-libs/openslp-1.2.1
>=kde-misc/novell-ui-base-3.0.508.5
>=kde-base/kdelibs-3.5.1
>=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/pam-0.99.3
>=sys-libs/novell-xplatlib-1.0.3.39
>=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
>=x11-libs/libXau-1.0
>=x11-libs/libxcb-1.0
>=sys-devel/gcc-4.2
>=sys-libs/zlib-1.2.3"
src_unpack() {
cd "${WORKDIR}"
if use x86
then
narch=i586
nlib=lib
7z x "${DISTDIR}"/${NOVELL_FILE32}
elif use amd64
then
narch=x86_64
nlib=lib64
7z x "${DISTDIR}"/${NOVELL_FILE64}
fi
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm5_unpack "${WORKDIR}"/suse/${narch}/${PN}-${MY_PV}.${narch}.rpm
}
src_compile() { :; }
src_install() {
if has_version ">x11-libs/libxcb-1.1.90.1"; then
for f in $(<${FILESDIR}/xcb-xlib-fix-list) ; do
einfo "binary patch ${f}"
sed -i 's/libxcb-xlib/libxcb-sync/g' "${WORKDIR}"/${PN}-${MY_PV}/${f}
done
fi
for x in cs de da en es fi fr hu it ja nb pl pt ru sk zh
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 /opt/novell
dolib.so "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/${nlib}/*
into /opt/novell/ncl
dobin "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/ncl/bin/*
exeinto /opt/novell/ncl/bin/lscript
doexe "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/ncl/bin/lscript/*
exeinto /opt/novell/ncl/bin/metascripts
doexe "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/ncl/bin/metascripts/*
insinto /usr/share/applications/
doins "${WORKDIR}"/${PN}-${MY_PV}/usr/share/applications/*.desktop
insinto /usr/share/icons
doins -r "${WORKDIR}"/${PN}-${MY_PV}/opt/kde3/share/icons/*
doman "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/man/*/*
dodoc "${WORKDIR}"/${PN}-${MY_PV}/usr/share/doc/packages/${PN}/*
}
pkg_nofetch() {
einfo "This files require you to register at ${HOMEPAGE} (free account)"
einfo "Please download following file:"
if use x86
then
einfo " - ${NOVELL_FILE32}"
elif use amd64
then
einfo " - ${NOVELL_FILE64}"
fi
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"
}