* bump
authorKonstantin V. Arkhipov <voxus@gentoo.org>
Wed, 19 Oct 2005 11:17:12 +0000 (11:17 +0000)
committerKonstantin V. Arkhipov <voxus@gentoo.org>
Wed, 19 Oct 2005 11:17:12 +0000 (11:17 +0000)
Package-Manager: portage-2.0.53_rc5

net-im/licq/ChangeLog
net-im/licq/Manifest
net-im/licq/files/digest-licq-1.3.2_rc3 [new file with mode: 0644]
net-im/licq/licq-1.3.2_rc3.ebuild [new file with mode: 0644]

index 8c9edfef03741a55ae15bd9440689a1dcd47d2bb..e3abf65e27e2b9872f50ce388599d25f910f7fc7 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for net-im/licq
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/licq/ChangeLog,v 1.65 2005/10/02 01:00:14 voxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/licq/ChangeLog,v 1.66 2005/10/19 11:17:12 voxus Exp $
+
+*licq-1.3.2_rc3 (19 Oct 2005)
+
+  19 Oct 2005; Konstantin Arkhipov <voxus@gentoo.org> +licq-1.3.2_rc3.ebuild:
+  Final RC.
 
 *licq-1.3.2_rc2 (02 Oct 2005)
 
index 8cf83601a7fa7e739ec5a1b4acdc2be3e8a4d043..36da0d267d6c944d3df111ee2aaa8146fa34f739 100644 (file)
@@ -1,15 +1,17 @@
-MD5 7ffeea7bd4e4e1abadd8f8323164d363 licq-1.3.2_rc2.ebuild 4868
+MD5 14afdd0f29f0a55bcd7d177e02aafdfe ChangeLog 10740
+MD5 c18e90be9c36c7efb06211733ad765ff files/1.2.7-debugflag.patch 396
+MD5 5f64e4b71c311ff7b6489953fc8bf1f9 files/1.2.7-nptl.patch 1178
+MD5 5dbb2a47d1d863a55f564e874c871d30 files/1.3.0-gpgme3_hack.patch 878
+MD5 52dadf7b64ef4fb690c7892d94b445d6 files/1.3.0-no_stupid_koloboks.patch 3160
+MD5 100dc5f1d551dc769a337a71734d0e59 files/1.3.0-suse_bool.patch 191
+MD5 3795e526fdf015e985be17fca698e2d1 files/digest-licq-1.2.7 64
+MD5 b0a924ef22c21dd596d7918631f18559 files/digest-licq-1.3.0 64
+MD5 8124caae500e8e705dc712c346268385 files/digest-licq-1.3.2_rc1 67
+MD5 95f2796fd0ca2da4e48996a4ba8f3226 files/digest-licq-1.3.2_rc2 67
+MD5 5e3f22705cf1050fac3fed1288fbabf4 files/digest-licq-1.3.2_rc3 67
 MD5 f30c97a120a37f90edd8abdf612cd52a licq-1.2.7.ebuild 3368
 MD5 f8691d71dd37438ad228897e6e32b908 licq-1.3.0.ebuild 3800
 MD5 656e37eb3e2065039c7b7f641536e9a9 licq-1.3.2_rc1.ebuild 4868
-MD5 48189a707b929475665c50b2c8fdbc65 ChangeLog 10618
+MD5 7ffeea7bd4e4e1abadd8f8323164d363 licq-1.3.2_rc2.ebuild 4868
+MD5 ff6a8226f37f7cab958792d2f56fb0fb licq-1.3.2_rc3.ebuild 4868
 MD5 7adc6310a4dbd42bad26caa80683d4ec metadata.xml 249
-MD5 8124caae500e8e705dc712c346268385 files/digest-licq-1.3.2_rc1 67
-MD5 95f2796fd0ca2da4e48996a4ba8f3226 files/digest-licq-1.3.2_rc2 67
-MD5 3795e526fdf015e985be17fca698e2d1 files/digest-licq-1.2.7 64
-MD5 b0a924ef22c21dd596d7918631f18559 files/digest-licq-1.3.0 64
-MD5 52dadf7b64ef4fb690c7892d94b445d6 files/1.3.0-no_stupid_koloboks.patch 3160
-MD5 c18e90be9c36c7efb06211733ad765ff files/1.2.7-debugflag.patch 396
-MD5 100dc5f1d551dc769a337a71734d0e59 files/1.3.0-suse_bool.patch 191
-MD5 5f64e4b71c311ff7b6489953fc8bf1f9 files/1.2.7-nptl.patch 1178
-MD5 5dbb2a47d1d863a55f564e874c871d30 files/1.3.0-gpgme3_hack.patch 878
diff --git a/net-im/licq/files/digest-licq-1.3.2_rc3 b/net-im/licq/files/digest-licq-1.3.2_rc3
new file mode 100644 (file)
index 0000000..9bd726a
--- /dev/null
@@ -0,0 +1 @@
+MD5 83663a9034da5ac25fcd1544e7c1b4e3 licq-1.3.2RC3.tar.bz2 3776482
diff --git a/net-im/licq/licq-1.3.2_rc3.ebuild b/net-im/licq/licq-1.3.2_rc3.ebuild
new file mode 100644 (file)
index 0000000..ebe4163
--- /dev/null
@@ -0,0 +1,218 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/licq/licq-1.3.2_rc3.ebuild,v 1.1 2005/10/19 11:17:12 voxus Exp $
+
+inherit eutils kde-functions multilib
+
+DESCRIPTION="ICQ Client with v8 support"
+HOMEPAGE="http://www.licq.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P/_rc/RC}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~ia64 ~amd64"
+IUSE="ssl socks5 qt kde ncurses crypt msn"
+
+# 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:
+RDEPEND="kde? ( >=kde-base/kdelibs-3.0 )"
+DEPEND="kde? ( >=kde-base/kdelibs-3.0 )
+       ssl? ( >=dev-libs/openssl-0.9.6 )
+       qt? ( =x11-libs/qt-3* )
+       ncurses? ( sys-libs/ncurses >=dev-libs/cdk-4.9.11.20031210-r1 )
+       crypt? ( >=app-crypt/gpgme-1.0.0 )"
+
+S="${WORKDIR}/${P/_rc/RC}"
+
+src_unpack() {
+       unpack ${A}
+
+       cd ${S}
+
+       use ncurses && epatch ${FILESDIR}/1.3.0-suse_bool.patch
+
+       if use kde
+       then
+               # fix for #12436
+               inherit
+               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
+
+       # Install plugins in the correct libdir
+       sed -i -e "s:lib/licq/:$(get_libdir)/licq/:" \
+               ${S}/include/licq_constants.h || die "sed failed"
+       sed -i -e 's:$(prefix)/lib:@libdir@:' \
+               ${S}/plugins/*/src/Makefile.{in,am} || die "sed failed"
+}
+
+src_compile() {
+
+       use ssl         || myconf="${myconf} --disable-openssl"
+       use socks5      && myconf="${myconf} --enable-socks5"
+
+       if use crypt
+       then
+               myconf="${myconf} --enable-gpgme"
+       else
+               myconf="${myconf} --disable-gpgme"
+       fi
+
+       for n in `echo auto-reply console email msn osd qt-gui rms`; do
+               cd ${S}/plugins/${n}
+
+               ebegin "Recreating configure in plugins/${n}"
+               rm -f Makefile && make -f Makefile.cvs 2>&1 > /dev/null
+               eend ${?}
+       done
+
+       cd ${S}
+
+       # bug #21009
+       find . -name 'configure' -exec sed -e "s:sed 's/-g:sed 's/^-g:" -i {} \;
+
+       econf ${myconf} || die
+
+       use crypt && {
+               # workaround for gpgme's headers inclusion path
+               sed \
+                       -e "s:FAULT_INCLUDES =:FAULT_INCLUDES = -I/usr/include/gpgme:" \
+                       -i ${S}/src/Makefile
+       }
+
+       emake || die
+
+       # Create the various plug-ins
+
+       # First, the Qt plug-in
+       if use qt
+       then
+               set-qtdir 3
+               set-kdedir 3
+
+               use kde && myconf="${myconf} --with-kde"
+
+               # Problems finding qt on multilib systems
+               myconf="${myconf} --with-qt-libraries=${QTDIR}/$(get_libdir)"
+
+               # 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"
+               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
+
+       # MSN PLugin
+       if use msn
+       then
+               cd ${S}/plugins/msn
+               einfo "Compiling MSN plug-in"
+               econf || die
+               emake || die
+       fi
+
+       # Email PLugin
+       cd ${S}/plugins/email
+       einfo "Compiling Email plug-in"
+       econf || die
+       emake || die
+}
+
+src_install() {
+       make DESTDIR=${D} install || die
+
+       dodoc ChangeLog 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
+
+       if use msn
+       then
+               cd ${S}/plugins/msn
+               make DESTDIR=${D} install || die
+               docinto plugins/msn
+               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
+
+       exeinto /usr/share/${PN}/upgrade
+       doexe ${S}/upgrade/*
+
+       # fixes bug #22136
+       rm -fR ${D}/var
+}
+
+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 look into: /usr/share/licq/upgrade for scripts."
+       ewarn
+       echo
+}