ports/80438: New port: net/gajim

Vsevolod Stakhov vsevolod at highsecure.ru
Thu Apr 28 16:50:03 UTC 2005


>Number:         80438
>Category:       ports
>Synopsis:       New port: net/gajim
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 28 16:50:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Vsevolod Stakhov
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD nemezida.highsecure.ru 5.3-STABLE FreeBSD 5.3-STABLE #2: Fri Jan 28 02:15:40 MSK 2005 root at nemezida.highsecure.ru:/mnt/data/usr/obj/mnt/data/usr/src/sys/NK i386

>Description:
Gajim is a Jabber client based on a plugin system written on python. GUI plugin
that uses py-gtk2 is now available. (Thanks to Pavel Gubin for testing)

>How-To-Repeat:
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	gajim
#	gajim/Makefile
#	gajim/pkg-descr
#	gajim/distinfo
#	gajim/files
#	gajim/files/patch-Makefile
#	gajim/files/patch-plugins::gtkui::Makefile
#	gajim/files/patch-common::Makefile
#	gajim/files/patch-common::setup.py
#	gajim/pkg-plist
#
echo c - gajim
mkdir -p gajim > /dev/null 2>&1
echo x - gajim/Makefile
sed 's/^X//' >gajim/Makefile << 'END-of-gajim/Makefile'
X# New ports collection makefile for:	gajim
X# Date created:				27 April 2005
X# Whom:					Vsevolod Stakhov <vsevolod at highsecure.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gajim
XPORTVERSION=	0.6.1
XCATEGORIES=	net
XMASTER_SITES=	http://www.gajim.org/downloads/
X
XMAINTAINER=	vsevolod at highsecure.ru
XCOMMENT=	Gajim is a Jabber client based on a plugin system
X
XBUILD_DEPENDS=	${PYTHON_SITELIBDIR}/pygtk.py:${PORTSDIR}/x11-toolkits/py-gtk2
X
XUSE_X_PREFIX=	yes
XUSE_PYTHON=	2.3+
XUSE_GMAKE=	yes
X
XMAKE_ENV+=	PY_CFLAGS=-I${PYTHON_INCLUDEDIR} \
X		PY_PREFIX=${LOCALBASE}
X
X.include <bsd.port.mk>
END-of-gajim/Makefile
echo x - gajim/pkg-descr
sed 's/^X//' >gajim/pkg-descr << 'END-of-gajim/pkg-descr'
XGajim is a Jabber client based on a plugin system.  At this time, 2 plugins
Xhave been written: one in GTK2 and one that log messages.
X
XFEATURES:
X
X    * Tabbed chat windows
X    * Groupchat support (with MUC protocol)
X    * Emoticons, URL grabber
X    * Systray icon
X    * GPG support
X    * Multiple accounts support
X
XWWW: http://www.gajim.org/
END-of-gajim/pkg-descr
echo x - gajim/distinfo
sed 's/^X//' >gajim/distinfo << 'END-of-gajim/distinfo'
XMD5 (gajim-0.6.1.tar.gz) = fc84c9297a185565f5ba6ad4ea83c5bf
XSize (gajim-0.6.1.tar.gz) = 434627
END-of-gajim/distinfo
echo c - gajim/files
mkdir -p gajim/files > /dev/null 2>&1
echo x - gajim/files/patch-Makefile
sed 's/^X//' >gajim/files/patch-Makefile << 'END-of-gajim/files/patch-Makefile'
X--- Makefile.orig	Sun Apr  3 14:40:02 2005
X+++ Makefile	Thu Apr 28 16:13:52 2005
X@@ -1,16 +1,21 @@
X VERSION		?= 0.6.1
X 
X MODULES		= common plugins/gtkgui
X-PREFIX		= /usr
X+PREFIX		?= /usr/local
X DESTDIR		= /
X+MAKE		?= gmake
X 
X-FIND		= find -regex '.*\.\(\(glade\)\|\(py\)\|\(xpm\)\|\(gif\)\|\(png\)\|\(mo\)\|\(wav\)\)'
X-FILES		= `$(FIND)`
X-DIRS		= `$(FIND) -exec dirname {} \; | sort -u`
X-FIND_LIB	= find -regex '.*\.\(so\)'
X+FIND		= find -E
X+FINDOPTS	= -regex '.*.((glade)|(py)|(xpm)|(gif)|(png)|(mo)|(wav))'
X+FILES		= `$(FIND) . $(FINDOPTS)`
X+DIRS		= `$(FIND) . $(FINDOPTS) -exec dirname {} \; | sort -u`
X+FIND_LIB	= $(FIND) . -regex '.*.(so)'
X FILES_LIB	= `$(FIND_LIB)`
X 
X LANGS		= fr pt_BR
X+GTK_CFLAGS	= `pkg-config gtk+-2.0 --cflags-only-I | sed -e 's/-I/:/g' | tr -d ' '` 
X+GTK_LDFLAGS	= `pkg-config gtk+-2.0 --libs-only-L | sed -e 's/-L/:/g' | tr -d ' '`
X+
X SCRIPTS = \
X 	scripts/gajim
X 
X@@ -22,15 +27,15 @@
X 	done
X 
X trayicon:
X-	make -C plugins/gtkgui all;
X+	$(MAKE) -C plugins/gtkgui all;
X 
X idle:
X-	make -C common all;
X+	$(MAKE) -C common all GTK_LDFLAGS="$(GTK_LDFLAGS)" GTK_CFLAGS="$(GTK_CFLAGS)";
X 
X clean:
X-	find -name *.pyc -exec rm {} \;
X-	find -name *.mo -exec rm {} \;
X-	$(foreach sdir, $(MODULES), make -C $(sdir) clean;)
X+	find . -name *.pyc -exec rm {} \;
X+	find . -name *.mo -exec rm {} \;
X+	$(foreach sdir, $(MODULES), $(MAKE) -C $(sdir) clean;)
X 
X # FIXME -- olé gorito
X dist:
END-of-gajim/files/patch-Makefile
echo x - gajim/files/patch-plugins::gtkui::Makefile
sed 's/^X//' >gajim/files/patch-plugins::gtkui::Makefile << 'END-of-gajim/files/patch-plugins::gtkui::Makefile'
X--- plugins/gtkgui/Makefile.orig	Wed Apr 27 22:53:16 2005
X+++ plugins/gtkgui/Makefile	Wed Apr 27 22:54:13 2005
X@@ -1,5 +1,5 @@
X # Set the C flags to include the GTK+ and Python libraries
X-CFLAGS = `pkg-config --cflags gtk+-2.0 pygtk-2.0` -I/usr/include/python2.4/ -I.
X+CFLAGS = `pkg-config --cflags gtk+-2.0 pygtk-2.0` $(PY_CFLAGS) -I.
X LDFLAGS = `pkg-config --libs gtk+-2.0 pygtk-2.0`
X 
X # Build the shared object
END-of-gajim/files/patch-plugins::gtkui::Makefile
echo x - gajim/files/patch-common::Makefile
sed 's/^X//' >gajim/files/patch-common::Makefile << 'END-of-gajim/files/patch-common::Makefile'
X--- common/Makefile.orig	Sun Apr  3 14:40:00 2005
X+++ common/Makefile	Thu Apr 28 15:36:14 2005
X@@ -1,5 +1,6 @@
X+
X all:
X-	python setup.py build_ext -i
X+	python setup.py build_ext --include-dirs="$(PREFIX)/include$(GTK_CFLAGS)" --library-dirs="$(PREFIX)/lib$(GTK_LDFLAGS)"
X 
X clean:
X 	rm -f *.so
END-of-gajim/files/patch-common::Makefile
echo x - gajim/files/patch-common::setup.py
sed 's/^X//' >gajim/files/patch-common::setup.py << 'END-of-gajim/files/patch-common::setup.py'
X--- common/setup.py.orig	Sun Apr  3 14:40:00 2005
X+++ common/setup.py	Thu Apr 28 00:56:41 2005
X@@ -24,8 +24,6 @@
X 		sources = ['idle.c'],
X #               extra_compile_args = ['-W'],
X                 libraries = ['gtk-x11-2.0','gdk-x11-2.0','glib-2.0','X11','Xext','Xss','atk-1.0'],
X-                library_dirs = ['/usr/X11R6/lib'],
X-                include_dirs = ['/usr/include/gtk-2.0', '/usr/include/glib-2.0','/usr/lib/gtk-2.0/include','/usr/lib/glib-2.0/include','/usr/include/pango-1.0','/usr/include/atk-1.0']
X 	)
X elif os.name == 'nt':
X 	module1 = Extension( 'idle',
END-of-gajim/files/patch-common::setup.py
echo x - gajim/pkg-plist
sed 's/^X//' >gajim/pkg-plist << 'END-of-gajim/pkg-plist'
Xbin/gajim
Xlib/gajim/idle.so
Xlib/gajim/trayicon.so
X%%DATADIR%%/COPYING
X%%DATADIR%%/Core/__init__.py
X%%DATADIR%%/Core/core.py
X%%DATADIR%%/Messages/fr/LC_MESSAGES/gajim.mo
X%%DATADIR%%/Messages/pt_BR/LC_MESSAGES/gajim.mo
X%%DATADIR%%/common/__init__.py
X%%DATADIR%%/common/debug.py
X%%DATADIR%%/common/hub.py
X%%DATADIR%%/common/i18n.py
X%%DATADIR%%/common/jabber.py
X%%DATADIR%%/common/optparser.py
X%%DATADIR%%/common/plugin.py
X%%DATADIR%%/common/setup.py
X%%DATADIR%%/common/sleepy.py
X%%DATADIR%%/common/thread.py
X%%DATADIR%%/common/xmlstream.py
X%%DATADIR%%/gajim.py
X%%DATADIR%%/gajim.xpm
X%%DATADIR%%/plugins/__init__.py
X%%DATADIR%%/plugins/gtkgui/__init__.py
X%%DATADIR%%/plugins/gtkgui/chat.py
X%%DATADIR%%/plugins/gtkgui/config.py
X%%DATADIR%%/plugins/gtkgui/dialogs.py
X%%DATADIR%%/plugins/gtkgui/emoticons/angry.png
X%%DATADIR%%/plugins/gtkgui/emoticons/bat.png
X%%DATADIR%%/plugins/gtkgui/emoticons/beer.png
X%%DATADIR%%/plugins/gtkgui/emoticons/biggrin.png
X%%DATADIR%%/plugins/gtkgui/emoticons/blush.png
X%%DATADIR%%/plugins/gtkgui/emoticons/boy.png
X%%DATADIR%%/plugins/gtkgui/emoticons/brflower.png
X%%DATADIR%%/plugins/gtkgui/emoticons/brheart.png
X%%DATADIR%%/plugins/gtkgui/emoticons/coffee.png
X%%DATADIR%%/plugins/gtkgui/emoticons/coolglasses.png
X%%DATADIR%%/plugins/gtkgui/emoticons/cry.png
X%%DATADIR%%/plugins/gtkgui/emoticons/cuffs.png
X%%DATADIR%%/plugins/gtkgui/emoticons/devil.png
X%%DATADIR%%/plugins/gtkgui/emoticons/drink.png
X%%DATADIR%%/plugins/gtkgui/emoticons/flower.png
X%%DATADIR%%/plugins/gtkgui/emoticons/frowning.png
X%%DATADIR%%/plugins/gtkgui/emoticons/girl.png
X%%DATADIR%%/plugins/gtkgui/emoticons/heart.png
X%%DATADIR%%/plugins/gtkgui/emoticons/hugleft.png
X%%DATADIR%%/plugins/gtkgui/emoticons/hugright.png
X%%DATADIR%%/plugins/gtkgui/emoticons/kiss.png
X%%DATADIR%%/plugins/gtkgui/emoticons/lamp.png
X%%DATADIR%%/plugins/gtkgui/emoticons/mail.png
X%%DATADIR%%/plugins/gtkgui/emoticons/moon.png
X%%DATADIR%%/plugins/gtkgui/emoticons/music.png
X%%DATADIR%%/plugins/gtkgui/emoticons/no.png
X%%DATADIR%%/plugins/gtkgui/emoticons/oh.png
X%%DATADIR%%/plugins/gtkgui/emoticons/phone.png
X%%DATADIR%%/plugins/gtkgui/emoticons/photo.png
X%%DATADIR%%/plugins/gtkgui/emoticons/pussy.png
X%%DATADIR%%/plugins/gtkgui/emoticons/rainbow.png
X%%DATADIR%%/plugins/gtkgui/emoticons/smile.png
X%%DATADIR%%/plugins/gtkgui/emoticons/star.png
X%%DATADIR%%/plugins/gtkgui/emoticons/stare.png
X%%DATADIR%%/plugins/gtkgui/emoticons/tongue.png
X%%DATADIR%%/plugins/gtkgui/emoticons/unhappy.png
X%%DATADIR%%/plugins/gtkgui/emoticons/wink.png
X%%DATADIR%%/plugins/gtkgui/emoticons/yes.png
X%%DATADIR%%/plugins/gtkgui/groupchat_window.py
X%%DATADIR%%/plugins/gtkgui/gtkgui.glade
X%%DATADIR%%/plugins/gtkgui/gtkgui.py
X%%DATADIR%%/plugins/gtkgui/history_window.py
X%%DATADIR%%/plugins/gtkgui/iconsets/gossip/away.png
X%%DATADIR%%/plugins/gtkgui/iconsets/gossip/chat.png
X%%DATADIR%%/plugins/gtkgui/iconsets/gossip/closed.xpm
X%%DATADIR%%/plugins/gtkgui/iconsets/gossip/connecting.png
X%%DATADIR%%/plugins/gtkgui/iconsets/gossip/dnd.png
X%%DATADIR%%/plugins/gtkgui/iconsets/gossip/error.png
X%%DATADIR%%/plugins/gtkgui/iconsets/gossip/invisible.png
X%%DATADIR%%/plugins/gtkgui/iconsets/gossip/message.png
X%%DATADIR%%/plugins/gtkgui/iconsets/gossip/not_in_the_roster.png
X%%DATADIR%%/plugins/gtkgui/iconsets/gossip/offline.png
X%%DATADIR%%/plugins/gtkgui/iconsets/gossip/online.png
X%%DATADIR%%/plugins/gtkgui/iconsets/gossip/opened.xpm
X%%DATADIR%%/plugins/gtkgui/iconsets/gossip/requested.png
X%%DATADIR%%/plugins/gtkgui/iconsets/gossip/typing.png
X%%DATADIR%%/plugins/gtkgui/iconsets/gossip/xa.png
X%%DATADIR%%/plugins/gtkgui/iconsets/icq/away.png
X%%DATADIR%%/plugins/gtkgui/iconsets/icq/chat.png
X%%DATADIR%%/plugins/gtkgui/iconsets/icq/closed.xpm
X%%DATADIR%%/plugins/gtkgui/iconsets/icq/connecting.png
X%%DATADIR%%/plugins/gtkgui/iconsets/icq/dnd.png
X%%DATADIR%%/plugins/gtkgui/iconsets/icq/invisible.png
X%%DATADIR%%/plugins/gtkgui/iconsets/icq/offline.png
X%%DATADIR%%/plugins/gtkgui/iconsets/icq/online.png
X%%DATADIR%%/plugins/gtkgui/iconsets/icq/opened.xpm
X%%DATADIR%%/plugins/gtkgui/iconsets/icq/xa.png
X%%DATADIR%%/plugins/gtkgui/iconsets/msn/away.png
X%%DATADIR%%/plugins/gtkgui/iconsets/msn/closed.xpm
X%%DATADIR%%/plugins/gtkgui/iconsets/msn/connecting.png
X%%DATADIR%%/plugins/gtkgui/iconsets/msn/dnd.png
X%%DATADIR%%/plugins/gtkgui/iconsets/msn/offline.png
X%%DATADIR%%/plugins/gtkgui/iconsets/msn/online.png
X%%DATADIR%%/plugins/gtkgui/iconsets/msn/opened.xpm
X%%DATADIR%%/plugins/gtkgui/iconsets/stellar/away.png
X%%DATADIR%%/plugins/gtkgui/iconsets/stellar/chat.png
X%%DATADIR%%/plugins/gtkgui/iconsets/stellar/closed.xpm
X%%DATADIR%%/plugins/gtkgui/iconsets/stellar/connecting.gif
X%%DATADIR%%/plugins/gtkgui/iconsets/stellar/dnd.png
X%%DATADIR%%/plugins/gtkgui/iconsets/stellar/error.png
X%%DATADIR%%/plugins/gtkgui/iconsets/stellar/invisible.png
X%%DATADIR%%/plugins/gtkgui/iconsets/stellar/message.gif
X%%DATADIR%%/plugins/gtkgui/iconsets/stellar/not_in_the_roster.png
X%%DATADIR%%/plugins/gtkgui/iconsets/stellar/offline.png
X%%DATADIR%%/plugins/gtkgui/iconsets/stellar/online.png
X%%DATADIR%%/plugins/gtkgui/iconsets/stellar/opened.xpm
X%%DATADIR%%/plugins/gtkgui/iconsets/stellar/requested.png
X%%DATADIR%%/plugins/gtkgui/iconsets/stellar/xa.png
X%%DATADIR%%/plugins/gtkgui/iconsets/sun/away.xpm
X%%DATADIR%%/plugins/gtkgui/iconsets/sun/chat.xpm
X%%DATADIR%%/plugins/gtkgui/iconsets/sun/closed.xpm
X%%DATADIR%%/plugins/gtkgui/iconsets/sun/connecting.gif
X%%DATADIR%%/plugins/gtkgui/iconsets/sun/dnd.xpm
X%%DATADIR%%/plugins/gtkgui/iconsets/sun/error.xpm
X%%DATADIR%%/plugins/gtkgui/iconsets/sun/invisible.xpm
X%%DATADIR%%/plugins/gtkgui/iconsets/sun/message.gif
X%%DATADIR%%/plugins/gtkgui/iconsets/sun/not_in_the_roster.xpm
X%%DATADIR%%/plugins/gtkgui/iconsets/sun/offline.xpm
X%%DATADIR%%/plugins/gtkgui/iconsets/sun/online.xpm
X%%DATADIR%%/plugins/gtkgui/iconsets/sun/opened.xpm
X%%DATADIR%%/plugins/gtkgui/iconsets/sun/requested.xpm
X%%DATADIR%%/plugins/gtkgui/iconsets/sun/xa.xpm
X%%DATADIR%%/plugins/gtkgui/pixmaps/logo.png
X%%DATADIR%%/plugins/gtkgui/pixmaps/smile.png
X%%DATADIR%%/plugins/gtkgui/pixmaps/transport/away.png
X%%DATADIR%%/plugins/gtkgui/pixmaps/transport/dnd.png
X%%DATADIR%%/plugins/gtkgui/pixmaps/transport/offline.png
X%%DATADIR%%/plugins/gtkgui/pixmaps/transport/online.png
X%%DATADIR%%/plugins/gtkgui/pixmaps/transport/xa.png
X%%DATADIR%%/plugins/gtkgui/roster_window.py
X%%DATADIR%%/plugins/gtkgui/systray.py
X%%DATADIR%%/plugins/gtkgui/tabbed_chat_window.py
X%%DATADIR%%/plugins/logger/__init__.py
X%%DATADIR%%/plugins/logger/logger.py
X%%DATADIR%%/plugins/sock/__init__.py
X%%DATADIR%%/plugins/sock/sock.py
X%%DATADIR%%/sounds/connected.wav
X%%DATADIR%%/sounds/disconnected.wav
X%%DATADIR%%/sounds/message1.wav
X%%DATADIR%%/sounds/message2.wav
X%%DATADIR%%/sounds/sent.wav
X
X at dirrm lib/gajim
X at dirrm %%DATADIR%%/common
X at dirrm %%DATADIR%%/plugins/gtkgui/emoticons
X at dirrm %%DATADIR%%/plugins/gtkgui/iconsets/gossip
X at dirrm %%DATADIR%%/plugins/gtkgui/iconsets/icq
X at dirrm %%DATADIR%%/plugins/gtkgui/iconsets/msn
X at dirrm %%DATADIR%%/plugins/gtkgui/iconsets/stellar
X at dirrm %%DATADIR%%/plugins/gtkgui/iconsets/sun
X at dirrm %%DATADIR%%/plugins/gtkgui/iconsets
X at dirrm %%DATADIR%%/plugins/gtkgui/pixmaps/transport
X at dirrm %%DATADIR%%/plugins/gtkgui/pixmaps
X at dirrm %%DATADIR%%/plugins/gtkgui
X at dirrm %%DATADIR%%/plugins/logger
X at dirrm %%DATADIR%%/plugins/sock
X at dirrm %%DATADIR%%/plugins
X at dirrm %%DATADIR%%/sounds
X at dirrm %%DATADIR%%/Core
X at dirrm %%DATADIR%%/Messages/fr/LC_MESSAGES
X at dirrm %%DATADIR%%/Messages/fr
X at dirrm %%DATADIR%%/Messages/pt_BR/LC_MESSAGES
X at dirrm %%DATADIR%%/Messages/pt_BR
X at dirrm %%DATADIR%%/Messages
X at dirrm %%DATADIR%%
END-of-gajim/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list