Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 39634 Details for
Bug 63111
Licq-1.3.0_pre5 doesn't compile gpgme
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
licq-1.3.0_pre-r6.ebuild
licq-1.3.0_pre-r6.ebuild (text/plain), 4.76 KB, created by
Daniel Black (RETIRED)
on 2004-09-15 05:00:30 UTC
(
hide
)
Description:
licq-1.3.0_pre-r6.ebuild
Filename:
MIME Type:
Creator:
Daniel Black (RETIRED)
Created:
2004-09-15 05:00:30 UTC
Size:
4.76 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/net-im/licq/licq-1.3.0_pre-r5.ebuild,v 1.1 2004/08/22 19:33:46 voxus Exp $ > >inherit eutils kde > >DESCRIPTION="ICQ Client with v8 support" >HOMEPAGE="http://www.licq.org/" >SRC_URI="mirror://sourceforge/${PN}/${P/_pre/-PRE}.tar.bz2" > >LICENSE="GPL-2" >SLOT="2" >KEYWORDS="~x86 ~ppc ~sparc ~alpha ~ia64 ~amd64" >IUSE="ssl socks5 qt kde ncurses crypt debug" > ># we can't have conditional dependencies so "use kde && inherit kde" ># won't work -- messes up dep caching. > ># need-kde and their eclass friends inject things into DEPEND. But we only ># want them enabled if the kde USE flag is set. We get around this in the ># following dep lines: >DEPEND="kde? ( >=kde-base/kdelibs-3.0 ) > ssl? ( >=dev-libs/openssl-0.9.6 ) > qt? ( >=x11-libs/qt-3.0.0 ) > ncurses? ( sys-libs/ncurses ) > crypt? ( =app-crypt/gpgme-0.3.14-r1 ) > socks5? ( net-misc/dante )" > >S=${WORKDIR}/${PN}-${PV/_pre/-PRE} > >src_unpack() { > unpack ${A} > epatch ${FILESDIR}/${PF}-gpgme3_hack.patch > > if use kde > then > # fix for #12436 > ebegin "Setting kde plugin as default..." > cp ${S}/src/licq.conf.h ${T} > sed "s:Plugin1 = qt-gui:Plugin1 = kde-gui:" \ > ${T}/licq.conf.h > ${S}/src/licq.conf.h > eend $? > else > if ! use qt > then > ebegin "Setting console plugin as default..." > cp ${S}/src/licq.conf.h ${T} > sed "s:Plugin1 = qt-gui:Plugin1 = console:" \ > ${T}/licq.conf.h > ${S}/src/licq.conf.h > eend $? > fi > fi > > > cd ${S}/src && epatch ${FILESDIR}/${PV/_pre/}-upgradepath.patch || \ > ewarn "Fail to fix upgrade path, forget it" > > cd ${S}/plugins/qt-gui && \ > epatch ${FILESDIR}/1.3.0-no_stupid_koloboks.patch || \ > ewarn "Fail to kill koloboks, forget it" > > cd src && epatch ${FILESDIR}/1.3.0-gcc3.4.patch || \ > ewarn "GCC3.4 patch failed.." > > cd ${S} && epatch ${FILESDIR}/1.3.0-flaghacker.patch || \ > die "failed flag hacker patch" > > > cd ${S} && epatch ${FILESDIR}/1.3.0-makefile-locale.patch || \ > die "failed makefile patch" > >} > >src_compile() { > local myconf="`use_enable ssl openssl` `use_enable socks5 socks5` `use_enable debug`" > #use ssl || myconf="${myconf} --disable-openssl" > #use socks5 && myconf="${myconf} --enable-socks5" > if useq crypt; > then > export GPGME_CONFIG=${ROOT}usr/bin/gpgme3-config > myconf="${myconf} --enable-gpgme" > else > myconf="${myconf} --disable-gpgme" > fi > > aclocal -I m4 || die "bad aclocal" > automake --foreign Makefile || die "bad automake" > autoconf || die "bad autoconf" > > econf ${myconf} || die "econf die" > > # make -C plugins/qt-gui/po Makefile > emake || die "make die" > > # Create the various plug-ins > > # First, the Qt plug-in > if useq qt; > then > # A hack to build against the latest QT: > local v > for v in /usr/qt/[0-9] > do > [ -d "${v}" ] && export QTDIR="${v}" > done > use kde && kde_src_compile myconf > use kde && myconf="${myconf} --with-kde" > > # note! watch the --prefix=/usr placement; > # licq itself installs into /usr, but the > # optional kde/qt interface (to which second_conf belogns) > # installs its files in $KDE3DIR/{lib,share}/licq > > cd ${S}/plugins/qt-gui > einfo "Compiling Qt GUI plug-in" > econf ${myconf} || die > emake || die > fi > > # Now the console plug-in > if use ncurses; > then > cd ${S}/plugins/console > einfo "Compiling the Console plug-in" > aclocal || die > automake || die > econf || die > emake || die > fi > > # The Auto-Responder plug-in > cd ${S}/plugins/auto-reply > einfo "Compiling the Auto-Reply plug-in" > econf || die > emake || die > > # The Remote Management Service > cd ${S}/plugins/rms > einfo "Compiling Remote Management Services plug-in" > econf || die > emake || die >} > >src_install() { > make DESTDIR=${D} install || die > > dodoc INSTALL README* doc/* > > # Install the plug-ins > if use qt > then > cd ${S}/plugins/qt-gui > make DESTDIR=${D} install || die > docinto plugins/qt-gui > dodoc README* > > fi > > if use ncurses > then > cd ${S}/plugins/console > make DESTDIR=${D} install || die > docinto plugins/console > dodoc README > fi > > > cd ${S}/plugins/auto-reply > make DESTDIR=${D} install || die > docinto plugins/auto-reply > dodoc README licq_autoreply.conf > > cd ${S}/plugins/rms > make DESTDIR=${D} install || die > docinto plugins/rms > dodoc README licq_rms.conf > > insinto /usr/share/${PN}/upgrade > doins ${S}/upgrade/* > > # fixes bug #22136 > rm -fR ${D}/var > > chmod 555 ${D}/usr/share/licq/upgrade/upgrade-1.3.0.sh > > if use kde; > then > echo -e "#!/usr/bin/sh\nkonqueror --mimetype text/html $1" >> ${D}/usr/bin/viewurl-netscape.sh > chmod guo+x ${D}/usr/bin/viewurl-netscape.sh > fi >} > >pkg_postinst() { > echo > ewarn > ewarn "If you're upgrading from <=licq-1.3.0 - you have to manually " > ewarn "upgrade your existing licq installation. Please backup your " > ewarn "settings and run: /usr/share/licq/upgrade/upgrade-1.3.0.sh" > ewarn > echo >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 63111
: 39634 |
39635
|
39636
|
39637