summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Januszewski <spock@gentoo.org>2004-07-03 00:10:36 +0000
committerMichael Januszewski <spock@gentoo.org>2004-07-03 00:10:36 +0000
commit74fe774e9a790ed56671861db00936c74558e2d1 (patch)
tree1d176c14ff8ea4eed60361c705d0a74396a39324 /net-im/gnugadu
parentGCC-3.4 patch. Closes bug #53186. (Manifest recommit) (diff)
downloadgentoo-2-74fe774e9a790ed56671861db00936c74558e2d1.tar.gz
gentoo-2-74fe774e9a790ed56671861db00936c74558e2d1.tar.bz2
gentoo-2-74fe774e9a790ed56671861db00936c74558e2d1.zip
Added a fix for aspell.
Diffstat (limited to 'net-im/gnugadu')
-rw-r--r--net-im/gnugadu/ChangeLog9
-rw-r--r--net-im/gnugadu/files/digest-gnugadu-2.0.3-r11
-rw-r--r--net-im/gnugadu/files/gnugadu-2.0.3-aspell-link.patch29
-rw-r--r--net-im/gnugadu/gnugadu-2.0.3-r1.ebuild62
4 files changed, 100 insertions, 1 deletions
diff --git a/net-im/gnugadu/ChangeLog b/net-im/gnugadu/ChangeLog
index bff503aee37e..e197642bacaa 100644
--- a/net-im/gnugadu/ChangeLog
+++ b/net-im/gnugadu/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-im/gnugadu
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/gnugadu/ChangeLog,v 1.15 2004/06/28 21:37:10 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/gnugadu/ChangeLog,v 1.16 2004/07/03 00:10:36 spock Exp $
+
+*gnugadu-2.0.3-r1 (03 Jul 2004)
+
+ 03 Jul 2004; Michal Januszewski <spock@gentoo.org>
+ +files/gnugadu-2.0.3-aspell-link.patch, +gnugadu-2.0.3-r1.ebuild:
+ Included a fix for aspell. Gnugadu can now be compiled with gtkspell support,
+ if the 'spell' USE flag is set. Thanks to Azarah for the patch.
28 Jun 2004; Aron Griffis <agriffis@gentoo.org> gnugadu-2.0.1.ebuild,
gnugadu-2.0.2.ebuild, gnugadu-2.0.3.ebuild, gnugadu-2.0.ebuild:
diff --git a/net-im/gnugadu/files/digest-gnugadu-2.0.3-r1 b/net-im/gnugadu/files/digest-gnugadu-2.0.3-r1
new file mode 100644
index 000000000000..01f00ab1af46
--- /dev/null
+++ b/net-im/gnugadu/files/digest-gnugadu-2.0.3-r1
@@ -0,0 +1 @@
+MD5 e8795ba49b9817a1db5e8628c9c9e30a gg2-2.0.3.tar.bz2 1182315
diff --git a/net-im/gnugadu/files/gnugadu-2.0.3-aspell-link.patch b/net-im/gnugadu/files/gnugadu-2.0.3-aspell-link.patch
new file mode 100644
index 000000000000..9bba5bd22c2b
--- /dev/null
+++ b/net-im/gnugadu/files/gnugadu-2.0.3-aspell-link.patch
@@ -0,0 +1,29 @@
+--- gg2-2.0.3/configure.in 2004-06-21 13:10:45.819949608 +0200
++++ gg2-2.0.3.aspell/configure.in 2004-06-21 13:24:03.032754840 +0200
+@@ -202,6 +202,9 @@
+ PKG_CHECK_MODULES(GTKSPELL,gtkspell-2.0 >= 2.0.0,[],want_gtkspell=no)
+ if test "$want_gtkspell" = "no"; then
+ AC_MSG_WARN([*** gtkspell support has been disabled ***])
++ else
++ GTKSPELL_LIBS="$GTKSPELL_LIBS -laspell" # with spell support it needs to link to libaspell
++ # for some reason
+ fi
+ AC_SUBST(GTKSPELL_CFLAGS)
+ AC_SUBST(GTKSPELL_LIBS)
+--- gg2-2.0.3/configure 2004-06-21 13:10:33.474826352 +0200
++++ gg2-2.0.3.aspell/configure 2004-06-21 13:24:28.509881728 +0200
+-for ac_prog in awk mawk gawk nawk
++for ac_prog in gawk mawk nawk awk
+ do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
+@@ -28878,6 +28881,9 @@
+ if test "$want_gtkspell" = "no"; then
+ { echo "$as_me:$LINENO: WARNING: *** gtkspell support has been disabled ***" >&5
+ echo "$as_me: WARNING: *** gtkspell support has been disabled ***" >&2;}
++ else
++ GTKSPELL_LIBS="$GTKSPELL_LIBS -laspell" # with spell support it needs to link to libaspell
++ # for some reason
+ fi
+
+
diff --git a/net-im/gnugadu/gnugadu-2.0.3-r1.ebuild b/net-im/gnugadu/gnugadu-2.0.3-r1.ebuild
new file mode 100644
index 000000000000..a35fd7a8b448
--- /dev/null
+++ b/net-im/gnugadu/gnugadu-2.0.3-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/gnugadu/gnugadu-2.0.3-r1.ebuild,v 1.1 2004/07/03 00:10:36 spock Exp $
+
+IUSE="debug tlen esd oss xosd arts jabber perl"
+
+MY_P="gg2-2.0.3"
+S="${WORKDIR}/${MY_P}"
+DESCRIPTION="GTK-based Gadu-Gadu, Tlen and Jabber IM client"
+SRC_URI="mirror://sourceforge/ggadu/${MY_P}.tar.bz2"
+HOMEPAGE="http://gadu.gnu.pl/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+
+inherit eutils
+
+DEPEND=">=x11-libs/gtk+-2.2.0
+ sys-devel/gettext
+ >=sys-devel/automake-1.7
+ >=sys-devel/libtool-1.4
+ jabber? ( >=net-libs/loudmouth-0.15.1 )
+ xosd? ( x11-libs/xosd )
+ perl? ( dev-lang/perl dev-perl/XML-Parser )
+ arts? ( >=kde-base/arts-0.9.5 )
+ esd? ( media-sound/esound )
+ tlen? ( net-libs/libtlen )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-aspell-link.patch
+}
+
+src_compile() {
+
+ myconf="--with-gui --with-gadu --with-remote --with-docklet_system_tray --with-docklet_dockapp --with-sms --with-update --with-external"
+ use spell && myconf="${myconf} --with-gtkspell"
+
+ if use arts; then
+ myconf="${myconf} --with-arts --with-arts-prefix=`artsc-config --arts-prefix`"
+ fi
+
+ econf ${myconf} \
+ `use_enable debug` \
+ `use_with oss` \
+ `use_with esd` \
+ `use_with xosd` \
+ `use_with arts` \
+ `use_with perl` \
+ `use_with tlen` \
+ `use_with jabber` || die
+ emake || die
+}
+
+src_install () {
+
+ make DESTDIR=${D} install || die
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}
+