Version bump. Marked as unstable. Please comment on bug #9303.
authorNick Hadaway <raker@gentoo.org>
Tue, 22 Oct 2002 05:01:11 +0000 (05:01 +0000)
committerNick Hadaway <raker@gentoo.org>
Tue, 22 Oct 2002 05:01:11 +0000 (05:01 +0000)
Patched c++ code to compile properly and added CXX="g++" to the ebuild.

net-irc/quirc/ChangeLog
net-irc/quirc/files/0.9.83-gentoo.diff [new file with mode: 0644]
net-irc/quirc/files/digest-quirc-0.9.83 [new file with mode: 0644]
net-irc/quirc/quirc-0.9.83.ebuild [new file with mode: 0644]

index 82c58aa1fb0ee60940b8ae03368392d91cffb2f4..fb5d30f0735744f283bbd1a7de887de183eb14cf 100644 (file)
@@ -1,10 +1,16 @@
 # ChangeLog for net-irc/quirc
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-irc/quirc/ChangeLog,v 1.1 2002/04/25 20:40:20 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/quirc/ChangeLog,v 1.2 2002/10/22 05:01:11 raker Exp $
+
+*quirc-0.9.83 (21 Oct 2002)
+
+  21 Oct 20002; Nick Hadaway <raker@gentoo.org> quirc-0.9.83.ebuild,
+  files/digest-quirc-0.9.83, files/0.9.83-gentoo.diff :
+  Version bump to fix some minor bugs.  Added a diff to fix c++ code.
+  Currently marked unstable.  See bug #9303
 
 *quirc-0.9.82 (25 Apr 2002)
 
   25 Apr 2002; Semant Kulleen <seemant@gentoo.org> quirc-0.9.82.ebuild
   files/digest-quirc-0.9.82
-
   New package added to portage.
diff --git a/net-irc/quirc/files/0.9.83-gentoo.diff b/net-irc/quirc/files/0.9.83-gentoo.diff
new file mode 100644 (file)
index 0000000..d798a57
--- /dev/null
@@ -0,0 +1,35 @@
+diff -urN quirc-0.9.83/server.cc quirc-0.9.83-modified/server.cc
+--- quirc-0.9.83/server.cc     2002-10-02 01:19:22.000000000 -0500
++++ quirc-0.9.83-modified/server.cc    2002-10-21 23:54:37.000000000 -0500
+@@ -11,7 +11,8 @@
+ #include <ctype.h>
+ #include <netdb.h> 
+ #include <stdarg.h>
+-#include <iostream.h>
++
++using namespace std;
+ 
+ #include "config.h"
+ 
+diff -urN quirc-0.9.83/servertcl.cc quirc-0.9.83-modified/servertcl.cc
+--- quirc-0.9.83/servertcl.cc  2002-10-02 01:18:59.000000000 -0500
++++ quirc-0.9.83-modified/servertcl.cc 2002-10-21 23:53:04.000000000 -0500
+@@ -1,6 +1,7 @@
+ #include <sys/types.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
++#include <ctype.h>
+ 
+ #ifdef DMALLOC
+ #include <dmalloc.h>
+diff -urN quirc-0.9.83/tcl.cc quirc-0.9.83-modified/tcl.cc
+--- quirc-0.9.83/tcl.cc        2002-10-01 03:32:32.000000000 -0500
++++ quirc-0.9.83-modified/tcl.cc       2002-10-21 23:52:06.000000000 -0500
+@@ -1,6 +1,7 @@
+ #include <sys/time.h>
+ #include <unistd.h>
+ #include <sys/socket.h>
++#include <ctype.h>
+ 
+ #ifdef DMALLOC
+ #include <dmalloc.h>
diff --git a/net-irc/quirc/files/digest-quirc-0.9.83 b/net-irc/quirc/files/digest-quirc-0.9.83
new file mode 100644 (file)
index 0000000..0bae989
--- /dev/null
@@ -0,0 +1 @@
+MD5 27f357aac1f305682ae79c9f0163c069 quirc-0.9.83.tar.gz 297139
diff --git a/net-irc/quirc/quirc-0.9.83.ebuild b/net-irc/quirc/quirc-0.9.83.ebuild
new file mode 100644 (file)
index 0000000..6f66a67
--- /dev/null
@@ -0,0 +1,56 @@
+# Copyright 2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/quirc/quirc-0.9.83.ebuild,v 1.1 2002/10/22 05:01:11 raker Exp $
+
+S=${WORKDIR}/${P}
+
+DESCRIPTION="A GUI IRC client scriptable in Tcl/Tk"
+SRC_URI="http://quirc.org/${P}.tar.gz"
+HOMEPAGE="http://quirc.org/"
+
+DEPEND="dev-lang/tcl 
+       dev-lang/tk"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+src_unpack() {
+
+       unpack ${A}
+       cd ${S}
+       patch -p1 < ${FILESDIR}/0.9.83-gentoo.diff || die "patch failed"
+
+}
+
+src_compile() {
+
+       export CXX="g++"
+
+       econf \
+               --datadir=/usr/share/quirc \
+               || die "./configure failed"
+
+       emake || die
+
+}
+
+src_install () {
+
+       exeinto /usr/bin
+       doexe quirc
+
+       insinto /usr/share/quirc
+       doins data/*.tcl data/quedit data/fontsel data/servers data/VERSION
+
+       insinto /usr/share/quirc/common
+       doins ${S}/data/common/*.tcl
+
+       insinto /usr/share/quirc/themes
+       doins ${S}/data/themes/*.tcl
+
+       # this package installs docs, but we would rather do that ourselves
+       dodoc README NEWS INSTALL FAQ ChangeLog* COPYING AUTHORS
+       dodoc doc/*.txt
+
+}