aboutsummaryrefslogtreecommitdiffstats
path: root/irc/xchat-gnome/files
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-05-05 06:38:11 +0800
committerpav <pav@FreeBSD.org>2004-05-05 06:38:11 +0800
commit9427d91652cac8c78f1c11a38c85321749eeb1e0 (patch)
treea1846bf240efebe85fe104bf0eeb97a65f4bf7ec /irc/xchat-gnome/files
parente2a6c75e526c33521a22eb8743db8d5ae3dd1ad9 (diff)
downloadfreebsd-ports-gnome-9427d91652cac8c78f1c11a38c85321749eeb1e0.tar.gz
freebsd-ports-gnome-9427d91652cac8c78f1c11a38c85321749eeb1e0.tar.zst
freebsd-ports-gnome-9427d91652cac8c78f1c11a38c85321749eeb1e0.zip
After repocopy from irc/xchat2, add xchat-gnome 0.1, a fork of IRC client
for GNOME 2, with bias on GNOME integration and HIG compliance. Submitted by: kwm at irc.freenode.org in #freebsd-gnome
Diffstat (limited to 'irc/xchat-gnome/files')
-rw-r--r--irc/xchat-gnome/files/patch-Makefile.in11
-rw-r--r--irc/xchat-gnome/files/patch-configure17
-rw-r--r--irc/xchat-gnome/files/patch-ltmain.sh58
-rw-r--r--irc/xchat-gnome/files/patch-socks522
-rw-r--r--irc/xchat-gnome/files/patch-src-fe-gnome-channel_list.c19
-rw-r--r--irc/xchat-gnome/files/patch-src-fe-gnome-userlist_gui.c18
6 files changed, 37 insertions, 108 deletions
diff --git a/irc/xchat-gnome/files/patch-Makefile.in b/irc/xchat-gnome/files/patch-Makefile.in
deleted file mode 100644
index 5625f2e60ee5..000000000000
--- a/irc/xchat-gnome/files/patch-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.in.old Thu Jul 31 05:24:26 2003
-+++ Makefile.in Thu Jul 31 19:03:06 2003
-@@ -211,7 +211,7 @@
- icondir = $(datadir)/pixmaps
-
- util_DATA = xchat.desktop
--utildir = $(datadir)/applications
-+utildir = $(datadir)/apps/Internet
- subdir = .
- ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
diff --git a/irc/xchat-gnome/files/patch-configure b/irc/xchat-gnome/files/patch-configure
deleted file mode 100644
index 576821f6fed2..000000000000
--- a/irc/xchat-gnome/files/patch-configure
+++ /dev/null
@@ -1,17 +0,0 @@
---- configure.orig Tue Sep 23 18:58:15 2003
-+++ configure Tue Sep 23 19:04:29 2003
-@@ -21462,12 +21462,12 @@
- /* end confdefs.h. */
- #include <libintl.h>
- extern int _nl_msg_cat_cntr;
--extern int *_nl_domain_bindings;
-+extern int *libintl_nl_domain_bindings;
- int
- main ()
- {
- bindtextdomain ("", "");
--return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
-+return (int) gettext ("") + _nl_msg_cat_cntr + *libintl_nl_domain_bindings
- ;
- return 0;
- }
diff --git a/irc/xchat-gnome/files/patch-ltmain.sh b/irc/xchat-gnome/files/patch-ltmain.sh
deleted file mode 100644
index 2162ffd95a2c..000000000000
--- a/irc/xchat-gnome/files/patch-ltmain.sh
+++ /dev/null
@@ -1,58 +0,0 @@
---- ltmain.sh.old Thu Jun 12 05:09:04 2003
-+++ ltmain.sh Thu Jul 31 19:03:06 2003
-@@ -1280,7 +1280,7 @@
- esac
- elif test "X$arg" = "X-lc_r"; then
- case $host in
-- *-*-openbsd* | *-*-freebsd*)
-+ *-*-openbsd* | *-*-freebsd4*)
- # Do not include libc_r directly, use -pthread flag.
- continue
- ;;
-@@ -1290,8 +1290,16 @@
- continue
- ;;
-
-+ -pthread)
-+ compile_command="$compile_command -pthread"
-+ finalize_command="$finalize_command -pthread"
-+ compiler_flags="$compiler_flags -pthread"
-+ continue
-+ ;;
-+
- -module)
- module=yes
-+ build_old_libs=no
- continue
- ;;
-
-@@ -4305,11 +4313,11 @@
- $show "(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
- $run eval '(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
-
-- # Clean up the generated files.
-- $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
-- $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T"
--
-- # Transform the symbol file into the correct name.
-+ # Clean up the generated files.
-+ $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
-+ $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T"
-+
-+ # Transform the symbol file into the correct name.
- compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
- finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
- ;;
-@@ -5428,10 +5436,12 @@
- fi
-
- # Install the pseudo-library for information purposes.
-+ if /usr/bin/false; then
- name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- instname="$dir/$name"i
- $show "$install_prog $instname $destdir/$name"
- $run eval "$install_prog $instname $destdir/$name" || exit $?
-+ fi
-
- # Maybe install the static library, too.
- test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/irc/xchat-gnome/files/patch-socks5 b/irc/xchat-gnome/files/patch-socks5
deleted file mode 100644
index 5aa617cc3f82..000000000000
--- a/irc/xchat-gnome/files/patch-socks5
+++ /dev/null
@@ -1,22 +0,0 @@
-# Fix broken Socks5 traversal in xchat <= 2.0.8
-diff -ru xchat-2.0.8/src/common/server.c xchat-2.0.9/src/common/server.c
---- src/common/server.c 2004-03-16 15:33:47.000000000 +1100
-+++ src/common/server.c 2004-04-05 15:33:15.000000000 +1000
-@@ -1054,7 +1054,7 @@
- struct sock5_connect1 sc1;
- unsigned char *sc2;
- unsigned int packetlen, addrlen;
-- unsigned char buf[10];
-+ unsigned char buf[260];
-
- sc1.version = 5;
- sc1.nmethods = 1;
-@@ -1095,7 +1095,7 @@
- {
- if (recv (sok, buf, 1, 0) != 1)
- return 1;
-- packetlen = buf[0] + 2;
-+ packetlen = buf[0] + 2; /* can't exceed 260 */
- if (recv (sok, buf, packetlen, 0) != packetlen)
- return 1;
- }
diff --git a/irc/xchat-gnome/files/patch-src-fe-gnome-channel_list.c b/irc/xchat-gnome/files/patch-src-fe-gnome-channel_list.c
new file mode 100644
index 000000000000..0f7200433846
--- /dev/null
+++ b/irc/xchat-gnome/files/patch-src-fe-gnome-channel_list.c
@@ -0,0 +1,19 @@
+--- src/fe-gnome/channel_list.c.orig Sun Apr 25 01:14:31 2004
++++ src/fe-gnome/channel_list.c Wed May 5 00:02:05 2004
+@@ -98,6 +98,7 @@
+ GtkSizeGroup *group;
+ GtkTreeSelection *select;
+ int width, height;
++ gchar *title;
+
+ if(sess == NULL)
+ return;
+@@ -122,7 +123,7 @@
+ }
+
+ widget = glade_xml_get_widget(win->xml, "window 1");
+- gchar *title = g_strdup_printf("%s Channel List", sess->server->networkname);
++ title = g_strdup_printf("%s Channel List", sess->server->networkname);
+ gtk_window_set_title(GTK_WINDOW(widget), title);
+ g_free(title);
+ g_signal_connect(G_OBJECT(widget), "delete-event", G_CALLBACK(chanlist_delete), win);
diff --git a/irc/xchat-gnome/files/patch-src-fe-gnome-userlist_gui.c b/irc/xchat-gnome/files/patch-src-fe-gnome-userlist_gui.c
new file mode 100644
index 000000000000..03a57b46abd0
--- /dev/null
+++ b/irc/xchat-gnome/files/patch-src-fe-gnome-userlist_gui.c
@@ -0,0 +1,18 @@
+--- src/fe-gnome/userlist_gui.c.orig Sun Apr 25 01:14:29 2004
++++ src/fe-gnome/userlist_gui.c Wed May 5 00:16:02 2004
+@@ -64,13 +64,14 @@
+ }
+
+ if(event->button == 3) {
++ struct User *u;
+ if(gtk_tree_view_get_path_at_pos(GTK_TREE_VIEW(view), event->x, event->y, &path, 0, 0, 0)) {
+ select = gtk_tree_view_get_selection(GTK_TREE_VIEW(view));
+ gtk_tree_selection_unselect_all(select);
+ gtk_tree_selection_select_path(select, path);
+ gtk_tree_path_free(path);
+ }
+- struct User *u = userlist_get_selected();
++ u = userlist_get_selected();
+ if(u != NULL)
+ userlist_context(view, u);
+ return TRUE;