From root@ns.webtt.biz  Sun May 18 05:31:12 2003
Return-Path: <root@ns.webtt.biz>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id BEB2D37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 18 May 2003 05:31:12 -0700 (PDT)
Received: from ns.webtt.biz (ns.webtt.biz [64.239.29.225])
	by mx1.FreeBSD.org (Postfix) with SMTP id 170F743FB1
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 18 May 2003 05:31:12 -0700 (PDT)
	(envelope-from root@ns.webtt.biz)
Received: (qmail 14591 invoked by uid 0); 18 May 2003 12:33:35 -0000
Message-Id: <20030518123335.14590.qmail@ns.webtt.biz>
Date: 18 May 2003 12:33:35 -0000
From: Rui Lopes <rui@ruilopes.com>
Reply-To: Rui Lopes <rui@ruilopes.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port: py-sourceview is a Python wrapper for the GtkSourceView text editing widget
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         52393
>Category:       ports
>Synopsis:       New port: x11-toolkits/py-sourceview is a Python wrapper for the GtkSourceView text editing widget
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 18 05:40:11 PDT 2003
>Closed-Date:    Wed Nov 19 01:38:49 PST 2003
>Last-Modified:  Wed Nov 19 01:38:49 PST 2003
>Originator:     Rui Lopes
>Release:        FreeBSD 5.0-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD disty 5.0-RELEASE-p2 FreeBSD 5.0-RELEASE-p2 #7: Sun Feb 23 17:54:25 WET 2003 root@disty:/usr/obj/usr/src/sys/DEBUGGER i386


	
>Description:
A port for py-sourceview (http://www.bitbuilder.com/pysourceview/)
	
>How-To-Repeat:
	
>Fix:

	

--- py-sourceview.shar begins here ---
# 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:
#
#	py-sourceview
#	py-sourceview/Makefile
#	py-sourceview/files
#	py-sourceview/files/patch-configure
#	py-sourceview/distinfo
#	py-sourceview/pkg-descr
#	py-sourceview/pkg-plist
#
echo c - py-sourceview
mkdir -p py-sourceview > /dev/null 2>&1
echo x - py-sourceview/Makefile
sed 's/^X//' >py-sourceview/Makefile << 'END-of-py-sourceview/Makefile'
X# New ports collection makefile for:	py-sourceview
X# Date created:				12 May 2003
X# Whom:					Rui Lopes <rui@ruilopes.com>
X#
X# $FreeBSD$
X
XPORTNAME=		sourceview
XPORTVERSION=		1.0.1
XCATEGORIES=		x11-toolkits python
XMASTER_SITES=		http://www.bitbuilder.com/pysourceview/bins/
XPKGNAMEPREFIX=		${PYTHON_PKGNAMEPREFIX}
XDISTNAME=		pysourceview-${PORTVERSION}
X
XMAINTAINER=		rui@ruilopes.com
XCOMMENT=		Python wrapper for the GtkSourceView text editing widget
X
XLIB_DEPENDS=		gtksourceview-1.0:${PORTSDIR}/x11-toolkits/gtksourceview
XBUILD_DEPENDS=		${PYTHON_SITELIBDIR}/pygtk.py:${PORTSDIR}/x11-toolkits/py-gtk2
XRUN_DEPENDS=		${PYTHON_SITELIBDIR}/pygtk.py:${PORTSDIR}/x11-toolkits/py-gtk2
X
XUSE_LIBTOOL=		yes
XUSE_GMAKE=		yes
XUSE_PYTHON=		yes
XCONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
X
X.include <bsd.port.mk>
END-of-py-sourceview/Makefile
echo c - py-sourceview/files
mkdir -p py-sourceview/files > /dev/null 2>&1
echo x - py-sourceview/files/patch-configure
sed 's/^X//' >py-sourceview/files/patch-configure << 'END-of-py-sourceview/files/patch-configure'
X--- configure.orig	Tue May 12 23:30:01 2003
X+++ configure	Tue May 12 23:30:12 2003
X@@ -7823,6 +7823,7 @@
X 
X # This can be used to rebuild libtool when needed
X LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
X+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
X 
X # Always use our own libtool.
X LIBTOOL='$(SHELL) $(top_builddir)/libtool'
END-of-py-sourceview/files/patch-configure
echo x - py-sourceview/distinfo
sed 's/^X//' >py-sourceview/distinfo << 'END-of-py-sourceview/distinfo'
XMD5 (pysourceview-1.0.1.tar.gz) = a5ce80c8dbf8f87d5dffcc7c3849c40d
END-of-py-sourceview/distinfo
echo x - py-sourceview/pkg-descr
sed 's/^X//' >py-sourceview/pkg-descr << 'END-of-py-sourceview/pkg-descr'
XPySourceView is a Python wrapper for the GtkSourceView text editing
Xwidget for GTK2. It is meant to be used with the Python-GTK binding
XPyGtk2.
X
XWWW: http://www.bitbuilder.com/pysourceview/
END-of-py-sourceview/pkg-descr
echo x - py-sourceview/pkg-plist
sed 's/^X//' >py-sourceview/pkg-plist << 'END-of-py-sourceview/pkg-plist'
X%%PYTHON_SITELIBDIR%%/sourceviewmodule.so
END-of-py-sourceview/pkg-plist
exit
--- py-sourceview.shar ends here ---


>Release-Note:
>Audit-Trail:

From: Rui Lopes <rui@ruilopes.com>
To: freebsd-gnats-submit@FreeBSD.org, rui@ruilopes.com
Cc:  
Subject: Re: ports/52393: New port: py-sourceview is a Python wrapper for
 the GtkSourceView text editing widget
Date: Sun, 18 May 2003 19:57:25 +0100

 This is a multi-part message in MIME format.
 --------------050209040601060900020004
 Content-Type: text/plain; charset=us-ascii; format=flowed
 Content-Transfer-Encoding: 7bit
 
 I failed to include my recent Makefile..  Please apply this patch to 
 Makefile.
 
 
 Thanks,
 -- Rui Lopes
 
 --------------050209040601060900020004
 Content-Type: text/plain;
  name="Makefile.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="Makefile.diff"
 
 --- Makefile.orig	Sun May 18 19:47:25 2003
 +++ Makefile	Sun May 18 19:38:12 2003
 @@ -23,4 +23,8 @@
  USE_PYTHON=		yes
  CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
  
 +# XXX: this fixes a macro name mismatch between pysourceview and
 +# gtksourceview 0.2.0; this should be fixed in gtksourceview after 0.2.0.
 +CFLAGS+=		-DGTK_SOURCE_STYLE_SCHEME=GTK_STYLE_SOURCE_SCHEME
 +
  .include <bsd.port.mk>
 
 --------------050209040601060900020004--
 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Wed Oct 8 03:48:15 PDT 2003 
State-Changed-Why:  
It fails to compile for me: 

cc -DHAVE_CONFIG_H -I. -I. -I. -I/home/edwin/local/include/python2.3 -I/home/edwin/local/include/libxml2 -I/home/edwin/local/include -I/home/edwin/local/include/atk-1.0 -I/home/edwin/local/include/glib-2.0 -I/home/edwin/local/lib/glib-2.0/include -I/home/edwin/local/include/libart-2.0 -I/home/edwin/X11R6/include/gtksourceview-1.0 -I/home/edwin/X11R6/include/gtk-2.0 -I/home/edwin/X11R6/include/libgnomeprint-2.2 -I/home/edwin/X11R6/lib/gtk-2.0/include -I/home/edwin/X11R6/include/pango-1.0 -I/home/edwin/X11R6/include -I/home/edwin/local/include/freetype2 -I/home/edwin/local/include/pygtk-2.0 -I/home/edwin/local/include/glib-2.0 -I/home/edwin/local/lib/glib-2.0/include -I/home/edwin/local/include/atk-1.0 -I/home/edwin/local/include/glib-2.0 -I/home/edwin/local/lib/glib-2.0/include -I/home/edwin/X11R6/include/gtk-2.0 -I/home/edwin/X11R6/lib/gtk-2.0/include -I/home/edwin/X11R6/include/pango-1.0 -I/home/edwin/X11R6/include -I/home/edwin/local/include/freetype2 -I/home/edwin/local/include -O -pipe -march=pentium2 -DGTK_SOURCE_STYLE_SCHEME=GTK_STYLE_SOURCE_SCHEME -c sourceview.c -MT sourceview.lo -MD -MP -MF .deps/sourceview.TPlo  -fPIC -DPIC -o .libs/sourceview.lo 
In file included from /home/edwin/X11R6/include/gtksourceview-1.0/gtksourceview/gtksourcelanguage.h:28, 
from /home/edwin/X11R6/include/gtksourceview-1.0/gtksourceview/gtksourcebuffer.h:31, 
from sourceview.override:7: 
/home/edwin/X11R6/include/gtksourceview-1.0/gtksourceview/gtksourcestylescheme.h:52:1: warning: "GTK_SOURCE_STYLE_SCHEME" redefined 
<command line>:8:1: warning: this is the location of the previous definition 
sourceview.c: In function `_wrap_gtk_syntax_tag_new': 
sourceview.c:907: error: too few arguments to function `gtk_syntax_tag_new' 
sourceview.c: In function `_wrap_gtk_pattern_tag_new': 
sourceview.c:970: error: too few arguments to function `gtk_pattern_tag_new' 
gmake[1]: *** [sourceview.lo] Error 1 

Suggestions? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=52393 
State-Changed-From-To: feedback->closed 
State-Changed-By: krion 
State-Changed-When: Wed Nov 19 01:38:27 PST 2003 
State-Changed-Why:  
Feedback timeout from submitter > 2 months 

http://www.freebsd.org/cgi/query-pr.cgi?pr=52393 
>Unformatted:
