Index: head/irc/xchat-gnome/Makefile =================================================================== --- head/irc/xchat-gnome/Makefile (revision 119433) +++ head/irc/xchat-gnome/Makefile (revision 119434) @@ -1,101 +1,98 @@ # New ports collection makefile for: xchat-gnome # Date created: 04 May 2004 # Whom: Koop Mast # # $FreeBSD$ # PORTNAME= xchat -PORTVERSION= 0.1 -PORTREVISION= 1 +PORTVERSION= 0.2 CATEGORIES= irc gnome ipv6 MASTER_SITES= http://navi.cx/releases/ \ http://members.chello.nl/~g.mast/distfiles/ PKGNAMESUFFIX= -gnome DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION} -MAINTAINER= kwm@rainbow-runner.nl +MAINTAINER= kwm@FreeBSD.org COMMENT= An IRC client for GNOME 2 (development version) USE_X_PREFIX= yes -WRKSRC= ${WRKDIR}/${PORTNAME}-${XCHAT_VER} -XCHAT_VER= 2.0.8 USE_GMAKE= yes USE_GNOME= gnomeprefix gnomehack libgnomeui USE_REINPLACE= yes USE_LIBTOOL_VER=15 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" CONFIGURE_ARGS= --enable-nls \ --enable-ipv6 \ --enable-gnomefe CONFLICTS= xchat-1* xchat2-2* .if defined(WITH_SOCKS) BUILD_DEPENDS+= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5 CONFIGURE_ARGS+= --enable-socks .endif # openssl in now default in configure .if defined(WITH_PYTHON) USE_PYTHON= yes CONFIGURE_ARGS+= --enable-python PLIST_SUB+= PYTHON="" .else CONFIGURE_ARGS+= --disable-python PLIST_SUB+= PYTHON="@comment " .endif .if defined(WITH_TCL) LIB_DEPENDS+= tcl83.1:${PORTSDIR}/lang/tcl83 CONFIGURE_ARGS+=--enable-tcl=${LOCALBASE}/lib/tcl8.3 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS} \ -I${LOCALBASE}/include/tcl8.3" \ LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS} \ -L${LOCALBASE}/lib/tcl8.3" PLIST_SUB+= TCL="" .else CONFIGURE_ARGS+=--enable-tcl=no PLIST_SUB+= TCL="@comment " .endif .include .if ${ARCH} == "amd64" || ${PERL_LEVEL} < 500600 || defined(WITHOUT_PERL) CONFIGURE_ARGS+=--disable-perl PLIST_SUB+= PERL="@comment " .else USE_PERL5= yes CONFIGURE_ARGS+=--enable-perl PLIST_SUB+= PERL="" .endif pre-everything:: .if !defined(WITH_PYTHON) || !defined(WITH_SOCKS) || !defined(WITH_TCL) @${ECHO_MSG} "You may specify the following on the command line:" @${ECHO_MSG} "" .endif .if !defined(WITH_PYTHON) @${ECHO_MSG} "WITH_PYTHON=yes for Python support" .endif .if !defined(WITH_SOCKS) @${ECHO_MSG} "WITH_SOCKS=yes for SOCKS5 proxy support" .endif .if !defined(WITH_TCL) @${ECHO_MSG} "WITH_TCL=yes for tcl support" .endif .if ${ARCH} != "amd64" && !defined(WITHOUT_PERL) @${ECHO_MSG} "WITHOUT_PERL=yes to disable Perl support" .endif post-patch: @${REINPLACE_CMD} -E -e 's|PY_LIBS=.*|PY_LIBS="-L\$$PY_EXEC_PREFIX/lib/python\$$PY_VER/config -lpython\$$PY_VER ${PTHREAD_LIBS} -lutil"|' \ ${WRKSRC}/configure # Create plugins directory even when no plugins are installed post-install: @${MKDIR} ${PREFIX}/lib/xchat/plugins .include Property changes on: head/irc/xchat-gnome/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.138 \ No newline at end of property +1.139 \ No newline at end of property Index: head/irc/xchat-gnome/distinfo =================================================================== --- head/irc/xchat-gnome/distinfo (revision 119433) +++ head/irc/xchat-gnome/distinfo (revision 119434) @@ -1,2 +1,2 @@ -MD5 (xchat-gnome-0.1.tar.gz) = 6a736ee186d06df90a610eeb19459e7d -SIZE (xchat-gnome-0.1.tar.gz) = 2558977 +MD5 (xchat-gnome-0.2.tar.gz) = 0411cd4146ccb484163d3fd145c0f114 +SIZE (xchat-gnome-0.2.tar.gz) = 2860304 Property changes on: head/irc/xchat-gnome/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.72 \ No newline at end of property +1.73 \ No newline at end of property Index: head/irc/xchat-gnome/files/patch-src_fe-gnome_fe-gnome.c =================================================================== --- head/irc/xchat-gnome/files/patch-src_fe-gnome_fe-gnome.c (revision 119433) +++ head/irc/xchat-gnome/files/patch-src_fe-gnome_fe-gnome.c (nonexistent) @@ -1,29 +0,0 @@ ---- src/fe-gnome/fe-gnome.c.orig Wed Apr 28 02:38:33 2004 -+++ src/fe-gnome/fe-gnome.c Wed Sep 1 14:16:10 2004 -@@ -249,7 +249,7 @@ - add_transfer(dcc); - break; - -- default: -+ default: ; - } - } - -@@ -260,7 +260,7 @@ - update_transfer(dcc); - break; - -- default: -+ default: ; - } - } - -@@ -272,7 +272,7 @@ - remove_transfer(dcc); - break; - -- default: -+ default: ; - } - } - Property changes on: head/irc/xchat-gnome/files/patch-src_fe-gnome_fe-gnome.c ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/irc/xchat-gnome/files/patch-src_fe-gnome_userlist_gui.c =================================================================== --- head/irc/xchat-gnome/files/patch-src_fe-gnome_userlist_gui.c (revision 119433) +++ head/irc/xchat-gnome/files/patch-src_fe-gnome_userlist_gui.c (nonexistent) @@ -1,48 +0,0 @@ ---- src/fe-gnome/userlist_gui.c.orig Wed Sep 1 14:19:24 2004 -+++ src/fe-gnome/userlist_gui.c Wed Sep 1 14:21:39 2004 -@@ -52,6 +52,22 @@ - g_signal_connect(G_OBJECT(userlist_view), "button_press_event", G_CALLBACK(userlist_click), NULL); - } - -+struct User *userlist_get_selected() { -+ GtkWidget *treeview; -+ GtkTreeSelection *select; -+ GtkTreeModel *model; -+ GtkTreeIter iter; -+ struct User *u; -+ -+ treeview = glade_xml_get_widget(gui.xml, "userlist"); -+ select = gtk_tree_view_get_selection(GTK_TREE_VIEW(treeview)); -+ if(gtk_tree_selection_get_selected(select, &model, &iter)) { -+ gtk_tree_model_get(model, &iter, 2, &u, -1); -+ return u; -+ } -+ return NULL; -+} -+ - gboolean userlist_click(GtkWidget *view, GdkEventButton *event, gpointer data) { - GtkTreePath *path; - GtkTreeSelection *select; -@@ -77,22 +93,6 @@ - return TRUE; - } - return FALSE; --} -- --struct User *userlist_get_selected() { -- GtkWidget *treeview; -- GtkTreeSelection *select; -- GtkTreeModel *model; -- GtkTreeIter iter; -- struct User *u; -- -- treeview = glade_xml_get_widget(gui.xml, "userlist"); -- select = gtk_tree_view_get_selection(GTK_TREE_VIEW(treeview)); -- if(gtk_tree_selection_get_selected(select, &model, &iter)) { -- gtk_tree_model_get(model, &iter, 2, &u, -1); -- return u; -- } -- return NULL; - } - - void userlist_context(GtkWidget *treeview, struct User *user) { Property changes on: head/irc/xchat-gnome/files/patch-src_fe-gnome_userlist_gui.c ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/irc/xchat-gnome/files/patch-src-fe-gnome-channel_list.c =================================================================== --- head/irc/xchat-gnome/files/patch-src-fe-gnome-channel_list.c (revision 119433) +++ head/irc/xchat-gnome/files/patch-src-fe-gnome-channel_list.c (revision 119434) @@ -1,19 +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 @@ +--- src/fe-gnome/channel_list.c.orig Wed Oct 13 10:27:41 2004 ++++ src/fe-gnome/channel_list.c Wed Oct 13 10:28:10 2004 +@@ -118,6 +118,7 @@ GtkSizeGroup *group; GtkTreeSelection *select; int width, height; + gchar *title; - if(sess == NULL) + if (sess == NULL) return; -@@ -122,7 +123,7 @@ +@@ -142,7 +143,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); + widget = glade_xml_get_widget (win->xml, "window 1"); +- gchar *title = g_strdup_printf ("%s Channel List", get_network (sess)); ++ title = g_strdup_printf ("%s Channel List", get_network (sess)); + gtk_window_set_title (GTK_WINDOW (widget), title); + g_free (title); + g_signal_connect (G_OBJECT (widget), "delete-event", G_CALLBACK (chanlist_delete), win); Property changes on: head/irc/xchat-gnome/files/patch-src-fe-gnome-channel_list.c ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/irc/xchat-gnome/files/patch-src-fe-gnome-userlist_gui.c =================================================================== --- head/irc/xchat-gnome/files/patch-src-fe-gnome-userlist_gui.c (revision 119433) +++ head/irc/xchat-gnome/files/patch-src-fe-gnome-userlist_gui.c (revision 119434) @@ -1,18 +1,19 @@ ---- 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 @@ - } +--- src/fe-gnome/userlist_gui.c.orig Wed Oct 13 10:27:32 2004 ++++ src/fe-gnome/userlist_gui.c Wed Oct 13 10:28:46 2004 +@@ -82,6 +82,7 @@ + { + GtkTreePath *path; + GtkTreeSelection *select; ++ struct User *u; + if (!event) + return FALSE; - 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); +@@ -105,7 +106,7 @@ + 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); +- struct User *u = userlist_get_selected (); ++ u = userlist_get_selected (); + if (u != NULL) + userlist_context (view, u); return TRUE; Property changes on: head/irc/xchat-gnome/files/patch-src-fe-gnome-userlist_gui.c ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/irc/xchat-gnome/pkg-plist =================================================================== --- head/irc/xchat-gnome/pkg-plist (revision 119433) +++ head/irc/xchat-gnome/pkg-plist (revision 119434) @@ -1,52 +1,61 @@ bin/xchat bin/xchat-gnome etc/gconf/schemas/apps_xchat.schemas.in.in %%PERL%%lib/xchat/plugins/perl.so %%PYTHON%%lib/xchat/plugins/python.so %%TCL%%lib/xchat/plugins/tcl.so +share/gnome/applications/xchat-gnome.desktop share/gnome/applications/xchat.desktop +share/gnome/pixmaps/xchat-gnome.png share/gnome/pixmaps/xchat.png share/gnome/xchat/channel-list.glade share/gnome/xchat/color.png share/gnome/xchat/dcc.png share/gnome/xchat/global-message.png share/gnome/xchat/irc.png share/gnome/xchat/newdata.png share/gnome/xchat/nicksaid.png share/gnome/xchat/plugin-manager.png share/gnome/xchat/servers.png +share/gnome/xchat/setup-dialog.glade share/gnome/xchat/soap.png share/gnome/xchat/stock_link.png share/gnome/xchat/toilet-paper.png share/gnome/xchat/transfers.glade share/gnome/xchat/xchat-gnome-small.png share/gnome/xchat/xchat-gnome.glade -share/locale/am/LC_MESSAGES/xchat.mo -share/locale/az/LC_MESSAGES/xchat.mo -share/locale/ca/LC_MESSAGES/xchat.mo -share/locale/cs/LC_MESSAGES/xchat.mo -share/locale/de/LC_MESSAGES/xchat.mo -share/locale/el/LC_MESSAGES/xchat.mo -share/locale/es/LC_MESSAGES/xchat.mo -share/locale/et/LC_MESSAGES/xchat.mo -share/locale/fi/LC_MESSAGES/xchat.mo -share/locale/fr/LC_MESSAGES/xchat.mo -share/locale/ja/LC_MESSAGES/xchat.mo -share/locale/lt/LC_MESSAGES/xchat.mo -share/locale/lv/LC_MESSAGES/xchat.mo -share/locale/mk/LC_MESSAGES/xchat.mo -share/locale/ms/LC_MESSAGES/xchat.mo -share/locale/nl/LC_MESSAGES/xchat.mo -share/locale/no/LC_MESSAGES/xchat.mo -share/locale/pt/LC_MESSAGES/xchat.mo -share/locale/ru/LC_MESSAGES/xchat.mo -share/locale/sk/LC_MESSAGES/xchat.mo -share/locale/sl/LC_MESSAGES/xchat.mo -share/locale/sr/LC_MESSAGES/xchat.mo -share/locale/sv/LC_MESSAGES/xchat.mo -share/locale/uk/LC_MESSAGES/xchat.mo -share/locale/zh_CN/LC_MESSAGES/xchat.mo +share/locale/am/LC_MESSAGES/xchat-gnome.mo +share/locale/az/LC_MESSAGES/xchat-gnome.mo +share/locale/bg/LC_MESSAGES/xchat-gnome.mo +share/locale/ca/LC_MESSAGES/xchat-gnome.mo +share/locale/cs/LC_MESSAGES/xchat-gnome.mo +share/locale/de/LC_MESSAGES/xchat-gnome.mo +share/locale/el/LC_MESSAGES/xchat-gnome.mo +share/locale/en_GB/LC_MESSAGES/xchat-gnome.mo +share/locale/es/LC_MESSAGES/xchat-gnome.mo +share/locale/et/LC_MESSAGES/xchat-gnome.mo +share/locale/eu/LC_MESSAGES/xchat-gnome.mo +share/locale/fi/LC_MESSAGES/xchat-gnome.mo +share/locale/fr/LC_MESSAGES/xchat-gnome.mo +share/locale/it/LC_MESSAGES/xchat-gnome.mo +share/locale/ja/LC_MESSAGES/xchat-gnome.mo +share/locale/ko/LC_MESSAGES/xchat-gnome.mo +share/locale/lt/LC_MESSAGES/xchat-gnome.mo +share/locale/lv/LC_MESSAGES/xchat-gnome.mo +share/locale/mk/LC_MESSAGES/xchat-gnome.mo +share/locale/ms/LC_MESSAGES/xchat-gnome.mo +share/locale/nl/LC_MESSAGES/xchat-gnome.mo +share/locale/no/LC_MESSAGES/xchat-gnome.mo +share/locale/pt/LC_MESSAGES/xchat-gnome.mo +share/locale/ru/LC_MESSAGES/xchat-gnome.mo +share/locale/sk/LC_MESSAGES/xchat-gnome.mo +share/locale/sl/LC_MESSAGES/xchat-gnome.mo +share/locale/sr/LC_MESSAGES/xchat-gnome.mo +share/locale/sv/LC_MESSAGES/xchat-gnome.mo +share/locale/uk/LC_MESSAGES/xchat-gnome.mo +share/locale/wa/LC_MESSAGES/xchat-gnome.mo +share/locale/zh_CN/LC_MESSAGES/xchat-gnome.mo @exec mkdir -p %D/lib/xchat/plugins @dirrm share/gnome/xchat @dirrm lib/xchat/plugins @dirrm lib/xchat Property changes on: head/irc/xchat-gnome/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.33 \ No newline at end of property +1.34 \ No newline at end of property