aboutsummaryrefslogtreecommitdiffstats
path: root/net/kf
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-10-20 09:27:01 +0800
committerpav <pav@FreeBSD.org>2004-10-20 09:27:01 +0800
commit4a5ada77e1f7b3b405beff4fbf6b6b11f29f9547 (patch)
tree0795e69f838a577c7f2e734081037cba748577ec /net/kf
parentbf60254a2cf79472d0419c2799082ed51e85e080 (diff)
downloadfreebsd-ports-gnome-4a5ada77e1f7b3b405beff4fbf6b6b11f29f9547.tar.gz
freebsd-ports-gnome-4a5ada77e1f7b3b405beff4fbf6b6b11f29f9547.tar.zst
freebsd-ports-gnome-4a5ada77e1f7b3b405beff4fbf6b6b11f29f9547.zip
Add kf, simple Jabber client using the GTK+ 2.0 toolkit.
PR: ports/72858 Submitted by: Andrey Slusar <anray@inet.ua>
Diffstat (limited to 'net/kf')
-rw-r--r--net/kf/Makefile33
-rw-r--r--net/kf/distinfo2
-rw-r--r--net/kf/files/patch-src-connection.c12
-rw-r--r--net/kf/files/patch-src-popup_group.c20
-rw-r--r--net/kf/pkg-descr5
-rw-r--r--net/kf/pkg-plist118
6 files changed, 190 insertions, 0 deletions
diff --git a/net/kf/Makefile b/net/kf/Makefile
new file mode 100644
index 000000000000..ef4c07e1cde9
--- /dev/null
+++ b/net/kf/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: kf
+# Date created: Tue Oct 19 01:48:30 UTC 2004
+# Whom: Andrey Slusar <anray@inet.ua>
+#
+# $FreeBSD$
+#
+
+PORTNAME= kf
+PORTVERSION= 0.1.8
+CATEGORIES= net
+MASTER_SITES= http://www.habazie.rams.pl/kf/files/ \
+ http://www.jabberstudio.org/projects/kf/releases/
+
+MAINTAINER= anray@inet.ua
+COMMENT= A simple Jabber client using the GTK+ 2.0 toolkit
+
+LIB_DEPENDS= loudmouth-1.0:${PORTSDIR}/net/loudmouth
+
+USE_X_PREFIX= yes
+USE_GNOME= libglade2
+USE_GETOPT_LONG= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+USE_LIBTOOL_VER= 15
+
+CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+.ifndef(WITHOUT_GTKSPELL)
+LIB_DEPENDS+= gtkspell.0:${PORTSDIR}/textproc/gtkspell2
+CONFIGURE_ARGS+= --enable-gtkspell
+.endif
+
+.include <bsd.port.mk>
diff --git a/net/kf/distinfo b/net/kf/distinfo
new file mode 100644
index 000000000000..7b8847c63914
--- /dev/null
+++ b/net/kf/distinfo
@@ -0,0 +1,2 @@
+MD5 (kf-0.1.8.tar.gz) = 41838eb68bc84297e9594188fdb9c35a
+SIZE (kf-0.1.8.tar.gz) = 274044
diff --git a/net/kf/files/patch-src-connection.c b/net/kf/files/patch-src-connection.c
new file mode 100644
index 000000000000..5ad1edb6547a
--- /dev/null
+++ b/net/kf/files/patch-src-connection.c
@@ -0,0 +1,12 @@
+--- src/connection.c.orig Wed Sep 29 11:16:38 2004
++++ src/connection.c Wed Oct 20 02:48:18 2004
+@@ -71,8 +71,8 @@
+
+ void kf_connection_set_proxy (const gchar *server, gint port,
+ const gchar *uname, const gchar *passwd) {
+- foo_debug ("Setting proxy '%s'...", server);
+ LmProxy *proxy;
++ foo_debug ("Setting proxy '%s'...", server);
+ if (server) {
+ proxy = lm_proxy_new_with_server (LM_PROXY_TYPE_HTTP, server, port);
+ if (*uname == '\0') uname = NULL;
diff --git a/net/kf/files/patch-src-popup_group.c b/net/kf/files/patch-src-popup_group.c
new file mode 100644
index 000000000000..9a263429cc60
--- /dev/null
+++ b/net/kf/files/patch-src-popup_group.c
@@ -0,0 +1,20 @@
+--- src/popup_group.c.orig Wed Sep 29 11:16:39 2004
++++ src/popup_group.c Wed Oct 20 02:54:15 2004
+@@ -40,14 +40,15 @@
+ void kf_popup_groups_menu_attach (GladeXML *glade, KfJabberRosterItem *roster_item) {
+ GtkWidget *parent;
+ GtkWidget *menu;
++ GtkWidget *new_group, *separator;
++ GList *groups;
+
+ parent = glade_xml_get_widget (glade, "popup_group");
+ if ((menu = gtk_menu_item_get_submenu (GTK_MENU_ITEM (parent)))) {
+ gtk_widget_destroy (menu);
+ }
+ // } else {
+- GtkWidget *new_group, *separator;
+- GList *groups = kf_gui_get_groups ();
++ groups = kf_gui_get_groups ();
+
+ menu = gtk_menu_new ();
+
diff --git a/net/kf/pkg-descr b/net/kf/pkg-descr
new file mode 100644
index 000000000000..ed9bbcfe87ae
--- /dev/null
+++ b/net/kf/pkg-descr
@@ -0,0 +1,5 @@
+kf is Open Source Jabber client for GNU/Linux operating system.
+It aims to be both simple and powerful and is designed for
+advanced user.
+
+WWW: http://www.habazie.rams.pl/kf/
diff --git a/net/kf/pkg-plist b/net/kf/pkg-plist
new file mode 100644
index 000000000000..db37777ed33c
--- /dev/null
+++ b/net/kf/pkg-plist
@@ -0,0 +1,118 @@
+bin/kf
+share/kf/add_contact.png
+share/kf/archive.glade
+share/kf/archive.glade.h
+share/kf/away.png
+share/kf/bass.wav
+share/kf/browse.glade
+share/kf/browse.glade.h
+share/kf/browse_aim.png
+share/kf/browse_book.png
+share/kf/browse_gg.png
+share/kf/browse_icq.png
+share/kf/browse_jud.png
+share/kf/browse_mail.png
+share/kf/browse_msn.png
+share/kf/browse_news.png
+share/kf/browse_room.png
+share/kf/browse_sms.png
+share/kf/browse_tlen.png
+share/kf/browse_user.png
+share/kf/browse_user2.png
+share/kf/browse_weather.png
+share/kf/browse_yahoo.png
+share/kf/button.wav
+share/kf/button_search.png
+share/kf/chat.glade
+share/kf/chat.glade.h
+share/kf/chat.png
+share/kf/dnd.png
+share/kf/dock.glade
+share/kf/dock.glade.h
+share/kf/emoticons/beer.png
+share/kf/emoticons/bigsmile.png
+share/kf/emoticons/broken_heart.png
+share/kf/emoticons/cool.png
+share/kf/emoticons/cry.png
+share/kf/emoticons/emoticons.def
+share/kf/emoticons/evil.png
+share/kf/emoticons/heart.png
+share/kf/emoticons/icon_arrow.gif
+share/kf/emoticons/icon_biggrin.gif
+share/kf/emoticons/icon_confused.gif
+share/kf/emoticons/icon_cool.gif
+share/kf/emoticons/icon_cry.gif
+share/kf/emoticons/icon_eek.gif
+share/kf/emoticons/icon_evil.gif
+share/kf/emoticons/icon_exclaim.gif
+share/kf/emoticons/icon_frown.gif
+share/kf/emoticons/icon_idea.gif
+share/kf/emoticons/icon_lol.gif
+share/kf/emoticons/icon_mad.gif
+share/kf/emoticons/icon_mrgreen.gif
+share/kf/emoticons/icon_neutral.gif
+share/kf/emoticons/icon_question.gif
+share/kf/emoticons/icon_razz.gif
+share/kf/emoticons/icon_redface.gif
+share/kf/emoticons/icon_rolleyes.gif
+share/kf/emoticons/icon_sad.gif
+share/kf/emoticons/icon_smile.gif
+share/kf/emoticons/icon_surprised.gif
+share/kf/emoticons/icon_twisted.gif
+share/kf/emoticons/icon_wink.gif
+share/kf/emoticons/mad.png
+share/kf/emoticons/neutral.png
+share/kf/emoticons/online.png
+share/kf/emoticons/s.png
+share/kf/emoticons/sad.png
+share/kf/emoticons/smile.png
+share/kf/emoticons/tongue.png
+share/kf/emoticons/tux.png
+share/kf/emoticons/twisted.png
+share/kf/emoticons/wink.png
+share/kf/harp.wav
+share/kf/invisible.png
+share/kf/kf.glade
+share/kf/kf.glade.h
+share/kf/kf.png
+share/kf/logo.png
+share/kf/menu_configure.png
+share/kf/menu_register.png
+share/kf/menu_search.png
+share/kf/msg.glade
+share/kf/msg.glade.h
+share/kf/muc.glade
+share/kf/muc.glade.h
+share/kf/muc.png
+share/kf/muc_join.glade
+share/kf/muc_join.glade.h
+share/kf/network.png
+share/kf/new_account.glade
+share/kf/new_account.glade.h
+share/kf/online.png
+share/kf/password.png
+share/kf/pix_chat.png
+share/kf/pix_message.png
+share/kf/pix_system.png
+share/kf/plus.png
+share/kf/register.glade
+share/kf/register.glade.h
+share/kf/search.glade
+share/kf/search.glade.h
+share/kf/show_offline.png
+share/kf/status.glade
+share/kf/status.glade.h
+share/kf/subscribe.glade
+share/kf/subscribe.glade.h
+share/kf/unavailable.png
+share/kf/unavailable_desc.png
+share/kf/unknown.png
+share/kf/vcard.glade
+share/kf/vcard.glade.h
+share/kf/www.png
+share/kf/xa.png
+share/locale/pl/LC_MESSAGES/kf.mo
+@dirrm share/locale/pl/LC_MESSAGES
+@dirrm share/locale/pl
+@dirrm share/kf/emoticons
+@dirrm share/kf