View | Details | Raw Unified | Return to bug 16017
Collapse All | Expand All

(-)/usr/home/cj/ports/bitchx/Makefile (-20 / +89 lines)
Lines 1-36 Link Here
1
# New ports collection makefile for:	BitchX ircII client
1
# New ports collection makefile for:	BitchX ircII client
2
# Version required:	75p3
2
# Version required:	1.0c15
3
# Date created:		26 Jan 1998
3
# Date created:		9 January 2000
4
# Whom:			griffin
4
# Whom:			LoRd_CJ
5
#
5
#
6
# $FreeBSD: ports/irc/bitchx/Makefile,v 1.7 1999/08/25 06:12:35 obrien Exp $
6
# $FreeBSD: ports/irc/bitchx/Makefile,v 1.7 1999/08/25 06:12:35 obrien Exp $
7
#
8
7
9
DISTNAME=	ircii-pana-75p3
8
DISTNAME=	BitchX-1.0c15
10
PKGNAME=	bitchx-75p3
11
CATEGORIES=	irc
9
CATEGORIES=	irc
12
MASTER_SITES=	ftp://ftp.bitchx.org/pub/BitchX/source/ \
10
MASTER_SITES=	ftp://ftp.bitchx.com/pub/	\
13
		ftp://ftp.buk.net/pub/software/bitchx/source/
11
		ftp://bitchx.dimension6.com/pub/
14
12
15
MAINTAINER=	griffin@blackhole.iceworld.org
13
MAINTAINER=	griffin@blackhole.iceworld.org
16
14
17
GNU_CONFIGURE=	yes
15
.if defined(GUI)
16
LIB_DEPENDS+=	gtk12.2:${PORTSDIR}/x11-toolkits/gtk12	\
17
		esd.2:${PORTSDIR}/audio/esound		\
18
		Imlib.5:${PORTSDIR}/graphics/imlib	\
19
		gnome.3:${PORTSDIR}/x11/gnomelibs
20
.endif
18
21
22
GLIB_CONFIG?=	${LOCALBASE}/bin/glib12-config
23
GTK_CONFIG?=	${X11BASE}/bin/gtk12-config
19
WRKSRC=		${WRKDIR}/BitchX
24
WRKSRC=		${WRKDIR}/BitchX
20
25
21
MAN1=		BitchX.1
26
GNU_CONFIGURE=	yes
22
MANCOMPRESSED=	yes
27
USE_GMAKE=	yes
23
28
24
post-patch:
29
.if defined(GUI)
25
	@${SED} -e s,__PREFIX__,$(PREFIX), $(WRKSRC)/include/config.h > $(WRKSRC)/include/config.h.new
30
CONFIGURE_ARGS+=		--with-gtk --enable-sound --with-plugins
26
	@${MV} $(WRKSRC)/include/config.h.new $(WRKSRC)/include/config.h
31
.else
32
CONFIGURE_ARGS+=		--with-plugins
33
.endif
34
35
CONFIGURE_ENV=		GLIB_CONFIG="${GLIB_CONFIG}"	\
36
			GTK_CONFIG="${GTK_CONFIG}"
37
38
pre-configure:
39
		@${ECHO_MSG} "***********************************"
40
		@${ECHO_MSG} " To compile with GTK type make GUI"
41
		@${ECHO_MSG} "***********************************"
42
.if defined(GUI)
43
		${CP} ${FILESDIR}/plist.common ${PKGDIR}/PLIST
44
		${ECHO}	bin/gtkBitchX >> ${PKGDIR}/PLIST
45
		${ECHO} bin/gtkbxsetup >> ${PKGDIR}/PLIST
46
		${ECHO} share/bx/gtkbitchxrc >> ${PKGDIR}/PLIST
47
		${ECHO} lib/bx/plugins/nicklist.so >> ${PKGDIR}/PLIST
48
.else
49
		${CP} ${FILESDIR}/plist.common ${PKGDIR}/PLIST
50
		${ECHO} bin/BitchX >> ${PKGDIR}/PLIST
51
		${ECHO} bin/scr-bx >> ${PKGDIR}/PLIST
52
		${ECHO} bin/bxsetup >> ${PKGDIR}/PLIST
53
		${ECHO} lib/bx/wserv >> ${PKGDIR}/PLIST
54
		${ECHO} share/bx/bitchxrc >> ${PKGDIR}/PLIST
55
.endif
56
		${ECHO} @dirrm share/bx/translation >> ${PKGDIR}/PLIST
57
		${ECHO}	@dirrm share/bx/script >> ${PKGDIR}/PLIST
58
		${ECHO} @dirrm share/bx >> ${PKGDIR}/PLIST
59
		${ECHO} @dirrm share/doc/BitchX >> ${PKGDIR}/PLIST
60
		${ECHO} @dirrm lib/bx/plugins >> ${PKGDIR}/PLIST
61
		${ECHO} @dirrm lib/bx >> ${PKGDIR}/PLIST
27
62
28
do-install:
63
do-install:
29
	${MKDIR} ${PREFIX}/lib/bx
64
		${MKDIR} ${PREFIX}/share/bx
30
	${INSTALL_PROGRAM} ${WRKSRC}/source/BitchX ${PREFIX}/bin
65
		${MKDIR} ${PREFIX}/share/bx/script
31
	${INSTALL_PROGRAM} ${WRKSRC}/source/scr-bx ${PREFIX}/bin
66
		${MKDIR} ${PREFIX}/share/bx/translation
32
	${INSTALL_PROGRAM} ${WRKSRC}/source/wserv ${PREFIX}/bin
67
		${MKDIR} ${PREFIX}/share/doc/BitchX
33
	${INSTALL_DATA} ${WRKSRC}/BitchX.help ${PREFIX}/lib/bx
68
		${MKDIR} ${PREFIX}/lib/bx
34
	${INSTALL_MAN} ${WRKSRC}/BitchX.1.gz ${PREFIX}/man/man1
69
		${MKDIR} ${PREFIX}/lib/bx/plugins
70
.if defined(GUI)
71
		${INSTALL_PROGRAM} ${WRKSRC}/source/gtkBitchX ${PREFIX}/bin
72
.else
73
		${INSTALL_PROGRAM} ${WRKSRC}/source/BitchX ${PREFIX}/bin
74
		${INSTALL_PROGRAM} ${WRKSRC}/source/wserv ${PREFIX}/lib/bx
75
		${INSTALL_PROGRAM} ${WRKSRC}/source/scr-bx ${PREFIX}/bin
76
.endif
77
		${INSTALL_DATA} ${WRKSRC}/script/*.* ${PREFIX}/share/bx/script
78
		${INSTALL_DATA} ${WRKSRC}/BitchX.help ${PREFIX}/share/bx
79
		${INSTALL_DATA} ${WRKSRC}/BitchX.quit ${PREFIX}/share/bx
80
		${INSTALL_DATA} ${WRKSRC}/BitchX.reasons ${PREFIX}/share/bx
81
		${INSTALL_DATA} ${WRKSRC}/BitchX.ircnames ${PREFIX}/share/bx
82
		${INSTALL_DATA} ${WRKSRC}/doc/bxfaq.html ${PREFIX}/share/doc/BitchX
83
		${INSTALL_DATA}	${WRKSRC}/doc/BitchX.doc ${PREFIX}/share/doc/BitchX
84
85
post-install:
86
		${CP} ${WRKSRC}/dll/*.so ${PREFIX}/lib/bx/plugins
87
		${CP} -r ${WRKSRC}/translation/ ${PREFIX}/share/bx/translation
88
.if defined(GUI)
89
		${CHMOD} +x ${FILESDIR}/gtkbxsetup
90
		${CP} ${FILESDIR}/gtkbxsetup ${PREFIX}/bin
91
		${INSTALL_DATA} ${FILESDIR}/gtkbitchxrc ${PREFIX}/share/bx
92
		@${ECHO_MSG} "***************************************************************************"
93
		@${ECHO_MSG} " Please run gtkbxsetup to properly setup data files for your users account  "
94
		@${ECHO_MSG} "***************************************************************************"
95
.else
96
		${CHMOD} +x ${FILESDIR}/bxsetup
97
		${CP} ${FILESDIR}/bxsetup ${PREFIX}/bin
98
		${INSTALL_DATA} ${FILESDIR}/bitchxrc ${PREFIX}/share/bx
99
		@${ECHO_MSG} "*****************************************************************************"
100
		@${ECHO_MSG} "    Please run bxsetup to properly setup data files for your users account   "
101
		@${ECHO_MSG} "*****************************************************************************"
102
103
.endif
35
104
36
.include <bsd.port.mk>
105
.include <bsd.port.mk>
(-)/usr/home/cj/ports/bitchx/files/bitchxrc (+2 lines)
Line 0 Link Here
1
set LOAD_PATH ~/.BitchX:~/.BitchX/plugins:.:/usr/local/lib/bx/plugins:/usr/local/lib/bx:/usr/local/share/bx/script:/usr/local/share/bx
2
set BITCHX_HELP /usr/local/share/bx/BitchX.help
(-)/usr/home/cj/ports/bitchx/files/bxsetup (+13 lines)
Line 0 Link Here
1
#!/bin/sh
2
3
echo "Installing for user"
4
mv ~/.bitchxrc .bitchxrc~
5
echo "Backing up existing .bitchxrc"
6
cp /usr/local/share/bx/bitchxrc ~/.bitchxrc
7
chmod -x+rw ~/.bitchxrc
8
echo "Creating .bitchxrc"
9
mkdir ~/.BitchX 
10
echo "Creating .BitchX directory"
11
echo "DONE!"
12
13
exit 0
(-)/usr/home/cj/ports/bitchx/files/gtkbitchxrc (+3 lines)
Line 0 Link Here
1
set LOAD_PATH ~/.BitchX:~/.BitchX/plugins:.:/usr/local/lib/bx/plugins:/usr/local/lib/bx:/usr/local/share/bx/script:/usr/local/share/bx
2
set BITCHX_HELP /usr/local/share/bx/BitchX.help
3
load menu.bx
(-)/usr/home/cj/ports/bitchx/files/gtkbxsetup (+13 lines)
Line 0 Link Here
1
#!/bin/sh
2
3
echo "Installing for user"
4
mv ~/.bitchxrc .bitchxrc~
5
echo "Backing up existing .bitchxrc"
6
cp /usr/local/share/bx/gtkbitchxrc ~/.bitchxrc
7
chmod -x+rw ~/.bitchxrc
8
echo "Creating .bitchxrc"
9
mkdir ~/.BitchX 
10
echo "Creating .BitchX directory"
11
echo "DONE!"
12
13
exit 0
(-)/usr/home/cj/ports/bitchx/files/md5 (-1 / +1 lines)
Line 1 Link Here
1
MD5 (ircii-pana-75p3.tar.gz) = c8365cc2b7aa187c7857cbf0483fd254
1
MD5 (BitchX-1.0c15.tar.gz) = 5048fd8d6b64302df5b52511e0acc19a
(-)/usr/home/cj/ports/bitchx/files/plist.common (+57 lines)
Line 0 Link Here
1
share/bx/BitchX.help
2
share/bx/BitchX.quit
3
share/bx/BitchX.reasons
4
share/bx/BitchX.ircnames
5
share/bx/script/actplug.gmz
6
share/bx/script/bxtcl.tcl
7
share/bx/script/file.tcl
8
share/bx/script/fserve+vfs.tar.gz
9
share/bx/script/menu.bx
10
share/doc/BitchX/bxfaq.html
11
share/doc/BitchX/BitchX.doc
12
lib/bx/plugins/acro.so
13
lib/bx/plugins/amp.so
14
lib/bx/plugins/autobot.so
15
lib/bx/plugins/blowfish.so
16
lib/bx/plugins/encrypt.so
17
lib/bx/plugins/fserv.so
18
lib/bx/plugins/hint.so
19
lib/bx/plugins/nap.so
20
lib/bx/plugins/pkga.so
21
lib/bx/plugins/possum.so
22
lib/bx/plugins/qmail.so
23
lib/bx/plugins/scan.so
24
lib/bx/plugins/wavplay.so
25
share/bx/translation/ASCII
26
share/bx/translation/CP437
27
share/bx/translation/CP850
28
share/bx/translation/DANISH
29
share/bx/translation/DEC_MCS
30
share/bx/translation/DG_MCS
31
share/bx/translation/DUTCH
32
share/bx/translation/FINNISH
33
share/bx/translation/FRENCH
34
share/bx/translation/FRENCH_CANADIAN
35
share/bx/translation/GERMAN
36
share/bx/translation/HP_MCS
37
share/bx/translation/IRV
38
share/bx/translation/ITALIAN
39
share/bx/translation/JIS
40
share/bx/translation/MACINTOSH
41
share/bx/translation/NEXT
42
share/bx/translation/NORWEGIAN_1
43
share/bx/translation/NORWEGIAN_2
44
share/bx/translation/POLISH
45
share/bx/translation/POLISH_NOPL
46
share/bx/translation/PORTUGUESE
47
share/bx/translation/PORTUGUESE_COM
48
share/bx/translation/RUSSIAN
49
share/bx/translation/RUSSIAN_ALT
50
share/bx/translation/RUSSIAN_WIN
51
share/bx/translation/SPANISH
52
share/bx/translation/SWEDISH
53
share/bx/translation/SWEDISH_NAMES
54
share/bx/translation/SWEDISH_NAMES_COM
55
share/bx/translation/SWISS
56
share/bx/translation/UNITED_KINGDOM
57
share/bx/translation/UNITED_KINGDOM_COM
(-)/usr/home/cj/ports/bitchx/patches/patch-aa (-8 / +12 lines)
Lines 1-9 Link Here
1
--- include/config.h.orig	Sun Apr 11 00:40:33 1999
1
--- source/irc.c.old	Thu Jan  6 14:03:02 2000
2
+++ include/config.h	Sun Apr 11 00:42:28 1999
2
+++ source/irc.c	Thu Jan  6 14:03:31 2000
3
@@ -188,7 +188,7 @@
3
@@ -53,6 +53,10 @@
4
  * translation tables from ircII for this to work. Also enable /set TRANSLATE
4
 #include <signame.h>
5
  */
5
 #endif
6
  
7
-#define TRANSLATION_PATH "/usr/local/lib/bx/translation"
8
+#define TRANSLATION_PATH "__PREFIX__/lib/bx/translation"
9
 
6
 
7
+#ifdef GTK
8
+extern int gtkipcin[2];
9
+#endif
10
+
11
 #ifndef VERSION
12
 	const char irc_version[] = "BitchX-1.0c15";
13
 #else
(-)/usr/home/cj/ports/bitchx/patches/patch-ab (+59 lines)
Line 0 Link Here
1
--- source/gtkbitchx.c.old	Thu Jan  6 14:03:02 2000
2
+++ source/gtkbitchx.c	Thu Jan  6 14:03:38 2000
3
@@ -1765,10 +1765,10 @@
4
 
5
 void gui_init(void)
6
 {
7
-	TI_cols = 80;
8
-	TI_lines = 25;
9
-	li = TI_lines;
10
-	co = TI_cols;
11
+	current_term->TI_cols = 80;
12
+	current_term->TI_lines = 25;
13
+	li = current_term->TI_lines;
14
+	co = current_term->TI_cols;
15
 
16
 	pthread_mutex_init(&evmutex, NULL);
17
 	pthread_cond_init(&evcond, NULL);
18
@@ -1936,7 +1936,7 @@
19
 /* This section is for portability considerations */
20
 void gui_clreol(void)
21
 {
22
-	gtkprintf(TI_el);
23
+	gtkprintf(current_term->TI_el);
24
 }
25
 
26
 void gui_gotoxy(int col, int row)
27
@@ -1984,27 +1984,27 @@
28
 	else
29
 		rn = n;
30
 
31
-	if (TI_csr && (TI_ri || TI_rin) && (TI_ind || TI_indn))
32
+	if (current_term->TI_csr && (current_term->TI_ri || current_term->TI_rin) && (current_term->TI_ind || current_term->TI_indn))
33
 	{
34
 		/*
35
 		 * Previously there was a test to see if the entire scrolling
36
 		 * region was the full screen.  That test *always* fails,
37
 		 * because we never scroll the bottom line of the screen.
38
 		 */
39
-		strcpy(start, (char *)tparm(TI_csr, top, bot));
40
-		strcpy(final, (char *)tparm(TI_csr, 0, TI_lines-1));
41
+		strcpy(start, (char *)tparm(current_term->TI_csr, top, bot));
42
+		strcpy(final, (char *)tparm(current_term->TI_csr, 0, current_term->TI_lines-1));
43
 
44
 		if (n > 0)
45
 		{
46
 			sr = bot;
47
 			er = top;
48
-			strcpy(thing, TI_ind);
49
+			strcpy(thing, current_term->TI_ind);
50
 		}
51
 		else
52
 		{
53
 			sr = top;
54
 			er = bot;
55
-			strcpy (thing, TI_ri);
56
+			strcpy (thing, current_term->TI_ri);
57
 		}
58
 	}
59
 
(-)/usr/home/cj/ports/bitchx/patches/patch-ad (-13 lines)
Lines 1-13 Link Here
1
--- include/color.h.orig       Sun Apr 11 01:40:51 1999
2
+++ include/color.h    Sun Apr 11 01:41:11 1999
3
@@ -707,8 +707,8 @@
4
       
5
 #define DEFAULT_FORMAT_NICK_MSG_FSET "$0 $1 $2-"
6
 
7
-#define DEFAULT_FORMAT_NICK_COMP_FSET "$0\002:\002$1-"
8
-#define DEFAULT_FORMAT_NICK_AUTO_FSET "$0\002:\002$1-"
9
+#define DEFAULT_FORMAT_NICK_COMP_FSET "$0:$1-"
10
+#define DEFAULT_FORMAT_NICK_AUTO_FSET "$0:$1-"
11
 
12
 #define DEFAULT_FORMAT_STATUS_FSET "%4%W$0-"
13
 #define DEFAULT_FORMAT_STATUS1_FSET "%4%W$0-"
(-)/usr/home/cj/ports/bitchx/patches.alpha/patch-ae (-38 lines)
Lines 1-38 Link Here
1
--- source/misc.c.orig	Sat Sep 18 17:41:15 1999
2
+++ source/misc.c	Sat Sep 18 17:46:53 1999
3
@@ -4332,7 +4332,7 @@
4
 #define MAX_RECURSE 5
5
 #define RECURSE_CPARSE
6
 
7
-char *convert_output_format_raw(const char *format, const char *str, va_list args)
8
+char *convert_output_format_raw(const char *format, const char *str, ...)
9
 {
10
 static unsigned char buffer[MAX_RECURSE*BIG_BUFFER_SIZE+1];
11
 char buffer2[3*BIG_BUFFER_SIZE+1];
12
@@ -4344,7 +4344,7 @@
13
 int old_who_level = who_level;
14
 int bold = 0;
15
 extern int in_chelp;
16
-/*va_list args;*/
17
+va_list args;
18
 int arg_flags;
19
 char color_mod[] = "kbgcrmywKBGCRMYWn"; 
20
 
21
@@ -4362,7 +4362,7 @@
22
 	{
23
 
24
 		p = (char *)str;
25
-/*		va_start(args, str);*/
26
+		va_start(args, str);
27
 		while(p && *p)
28
 		{
29
 			if (*p == '%')
30
@@ -4433,7 +4433,7 @@
31
 				p++;
32
 			}
33
 		}
34
-/*		va_end(args);*/
35
+		va_end(args);
36
 	} 
37
 	else if (str)
38
 		strcpy(buffer2, str);
(-)/usr/home/cj/ports/bitchx/pkg/COMMENT (-1 / +1 lines)
Line 1 Link Here
1
An alternative ircII color client
1
BitchX IRC client
(-)/usr/home/cj/ports/bitchx/pkg/DESCR (-3 / +7 lines)
Lines 1-3 Link Here
1
BitchX is an enhanced ircII client.  It includes many built-in features
1
BitchX is an IRC (Internet Relay Chat) client by Colten Edwards aka
2
normally found only in scripts. Including, full ANSI color, userlists,
2
panasync@efnet, it is based on it's predecessors ircII and EPIC.
3
flood protection, and built CDCC (XDCC) file offering.
3
BitchX was originally started as a script by Trench and HappyCrappy
4
for the popular UNIX IRC client ircII. Around Christmas of 1994 the
5
script was patched directly into the client by panasync.
6
7
WWW: http://www.bitchx.com
(-)/usr/home/cj/ports/bitchx/pkg/PLIST (-4 / +66 lines)
Lines 1-5 Link Here
1
bin/BitchX
1
share/bx/BitchX.help
2
bin/scr-bx
2
share/bx/BitchX.quit
3
bin/wserv
3
share/bx/BitchX.reasons
4
lib/bx/BitchX.help
4
share/bx/BitchX.ircnames
5
share/bx/script/actplug.gmz
6
share/bx/script/bxtcl.tcl
7
share/bx/script/file.tcl
8
share/bx/script/fserve+vfs.tar.gz
9
share/bx/script/menu.bx
10
share/doc/BitchX/bxfaq.html
11
share/doc/BitchX/BitchX.doc
12
lib/bx/plugins/acro.so
13
lib/bx/plugins/amp.so
14
lib/bx/plugins/autobot.so
15
lib/bx/plugins/blowfish.so
16
lib/bx/plugins/encrypt.so
17
lib/bx/plugins/fserv.so
18
lib/bx/plugins/hint.so
19
lib/bx/plugins/nap.so
20
lib/bx/plugins/pkga.so
21
lib/bx/plugins/possum.so
22
lib/bx/plugins/qmail.so
23
lib/bx/plugins/scan.so
24
lib/bx/plugins/wavplay.so
25
share/bx/translation/ASCII
26
share/bx/translation/CP437
27
share/bx/translation/CP850
28
share/bx/translation/DANISH
29
share/bx/translation/DEC_MCS
30
share/bx/translation/DG_MCS
31
share/bx/translation/DUTCH
32
share/bx/translation/FINNISH
33
share/bx/translation/FRENCH
34
share/bx/translation/FRENCH_CANADIAN
35
share/bx/translation/GERMAN
36
share/bx/translation/HP_MCS
37
share/bx/translation/IRV
38
share/bx/translation/ITALIAN
39
share/bx/translation/JIS
40
share/bx/translation/MACINTOSH
41
share/bx/translation/NEXT
42
share/bx/translation/NORWEGIAN_1
43
share/bx/translation/NORWEGIAN_2
44
share/bx/translation/POLISH
45
share/bx/translation/POLISH_NOPL
46
share/bx/translation/PORTUGUESE
47
share/bx/translation/PORTUGUESE_COM
48
share/bx/translation/RUSSIAN
49
share/bx/translation/RUSSIAN_ALT
50
share/bx/translation/RUSSIAN_WIN
51
share/bx/translation/SPANISH
52
share/bx/translation/SWEDISH
53
share/bx/translation/SWEDISH_NAMES
54
share/bx/translation/SWEDISH_NAMES_COM
55
share/bx/translation/SWISS
56
share/bx/translation/UNITED_KINGDOM
57
share/bx/translation/UNITED_KINGDOM_COM
58
bin/gtkBitchX
59
bin/gtkbxsetup
60
share/bx/gtkbitchxrc
61
lib/bx/plugins/nicklist.so
62
@dirrm share/bx/translation
63
@dirrm share/bx/script
64
@dirrm share/bx
65
@dirrm share/doc/BitchX
66
@dirrm lib/bx/plugins
5
@dirrm lib/bx
67
@dirrm lib/bx

Return to bug 16017