NetBSD Problem Report #44017

From www@NetBSD.org  Sun Oct 31 02:02:11 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 0549663B942
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 31 Oct 2010 02:02:11 +0000 (UTC)
Message-Id: <20101031020210.C2FB363B873@www.NetBSD.org>
Date: Sun, 31 Oct 2010 02:02:10 +0000 (UTC)
From: mm_lists@pulsar-zone.net
Reply-To: mm_lists@pulsar-zone.net
To: gnats-bugs@NetBSD.org
Subject: gedit python support should be added as an option
X-Send-Pr-Version: www-1.0

>Number:         44017
>Category:       pkg
>Synopsis:       gedit python support should be added as an option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 31 02:05:00 +0000 2010
>Closed-Date:    Sun Nov 07 21:31:21 +0000 2010
>Last-Modified:  Sun Nov 07 21:31:21 +0000 2010
>Originator:     Matthew Mondor
>Release:        NetBSD-5
>Organization:
>Environment:
irrelevant
>Description:
gedit supports optional python plugins, but the pkgsrc package for
it doesn't allow to enable such support.

This PR was created as a reminder so at least the problem is known
(reported by Plazma on #netbsd).
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:
From: Matthew Mondor <mm_lists@pulsar-zone.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/44017: gedit python support should be added as an option
Date: Mon, 1 Nov 2010 16:57:29 -0400

 --MP_/J94N2TF=aLhbBje/.dadpOu
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline

 I have a set of changes which appear to work.  More testing welcome
 (not being a gedit user myself, I'm not very familiar with it).

 Note that these changes are against pkgsrc-2010Q2, although the two
 modified packages appeared to still be the same on -current pkgsrc.

 - First copy py-gtksourceview-buildlink3.txt
   to /usr/pkgsrc/x11/py-gtksourceview/buildlink3.mk
 - Then copy gedit-patch-aa.txt to
   /usr/pkgsrc/editors/gedit/patches/patch-aa
 - Apply the gedit-diff.txt patch as follows:
   cd /usr/pkgsrc/editors/gedit/ && patch </path/to/gedit-diff.txt
 - Enable the python option for gedit:
   echo 'PKG_OPTIONS.gedit+=python' >>/etc/mk.conf
 - Finally build the package as usual:
   cd /usr/pkgsrc/editors/gedit/ && make install

 For convenience, I have archived already updated copies of the pkgsrc
 stubs for py-gtksourceview and gedit at:
 http://ftp.pulsar-zone.net/pkgsrc/editors-gedit-python.tgz
 http://ftp.pulsar-zone.net/pkgsrc/x11-py-gtksourceview.tgz

 Thanks,
 -- 
 Matt

 --MP_/J94N2TF=aLhbBje/.dadpOu
 Content-Type: text/plain
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment; filename=py-gtksourceview-buildlink3.txt

 # $NetBSD$

 BUILDLINK_TREE+=	pygtksourceview

 .if !defined(PY_GTKSOURCEVIEW_BUILDLINK3_MK)
 PY_GTKSOURCEVIEW_BUILDLINK3_MK:=

 .include "../../lang/python/pyversion.mk"

 BUILDLINK_API_DEPENDS.pygtksourceview+=	${PYPKGPREFIX}-gtksourceview>=2.8.0nb1
 BUILDLINK_PKGSRCDIR.pygtksourceview?=	../../x11/py-gtksourceview

 #.include "../../devel/py-gobject-shared/buildlink3.mk"
 #.include "../../devel/glib2/buildlink3.mk"
 .endif # PY_GOBJECT_BUILDLINK3_MK

 BUILDLINK_TREE+=	-pygtksourceview

 --MP_/J94N2TF=aLhbBje/.dadpOu
 Content-Type: text/plain
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment; filename=gedit-patch-aa.txt

 $NetBSD$

 Add support for Python 2.6

 --- ./configure.orig	2010-11-01 15:17:12.000000000 -0400
 +++ ./configure	2010-11-01 15:26:32.000000000 -0400
 @@ -15072,7 +15072,7 @@
    $as_echo_n "(cached) " >&6
  else

 -	for am_cv_pathless_PYTHON in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
 +	for am_cv_pathless_PYTHON in python python2 python3 python3.0 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
  	  test "$am_cv_pathless_PYTHON" = none && break
  	  prog="import sys
  # split strings by '.' and convert to numeric.  Append some zeros
 --- ./aclocal.m4.orig	2010-03-22 19:52:31.000000000 -0400
 +++ ./aclocal.m4	2010-11-01 15:28:36.000000000 -0400
 @@ -1623,7 +1623,7 @@
    dnl Find a Python interpreter.  Python versions prior to 2.0 are not
    dnl supported. (2.0 was released on October 16, 2000).
    m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
 -                    [python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 dnl
 +                    [python python2 python3 python3.0 python2.6 python2.5 python2.4 python2.3 python2.2 dnl
  python2.1 python2.0])

    m4_if([$1],[],[

 --MP_/J94N2TF=aLhbBje/.dadpOu
 Content-Type: text/plain
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment; filename=gedit-diff.txt

 Index: PLIST
 ===================================================================
 RCS file: /nfs/ginseng/home/data/cvsup/netbsd/pkgsrc/editors/gedit/PLIST,v
 retrieving revision 1.41
 diff -u -r1.41 PLIST
 --- PLIST	15 Nov 2009 21:18:07 -0000	1.41
 +++ PLIST	1 Nov 2010 20:16:12 -0000
 @@ -413,5 +413,126 @@
  share/omf/gedit/gedit-zh_CN.omf
  share/omf/gedit/gedit-zh_HK.omf
  share/omf/gedit/gedit-zh_TW.omf
 +${PLIST.python}lib/gedit-2/plugin-loaders/libpythonloader.a
 +${PLIST.python}lib/gedit-2/plugin-loaders/libpythonloader.la
 +${PLIST.python}lib/gedit-2/plugin-loaders/libpythonloader.so
 +${PLIST.python}lib/gedit-2/plugins/externaltools.gedit-plugin
 +${PLIST.python}lib/gedit-2/plugins/externaltools/ElementTree.py
 +${PLIST.python}lib/gedit-2/plugins/externaltools/ElementTree.pyc
 +${PLIST.python}lib/gedit-2/plugins/externaltools/ElementTree.pyo
 +${PLIST.python}lib/gedit-2/plugins/externaltools/__init__.py
 +${PLIST.python}lib/gedit-2/plugins/externaltools/__init__.pyc
 +${PLIST.python}lib/gedit-2/plugins/externaltools/__init__.pyo
 +${PLIST.python}lib/gedit-2/plugins/externaltools/capture.py
 +${PLIST.python}lib/gedit-2/plugins/externaltools/capture.pyc
 +${PLIST.python}lib/gedit-2/plugins/externaltools/capture.pyo
 +${PLIST.python}lib/gedit-2/plugins/externaltools/functions.py
 +${PLIST.python}lib/gedit-2/plugins/externaltools/functions.pyc
 +${PLIST.python}lib/gedit-2/plugins/externaltools/functions.pyo
 +${PLIST.python}lib/gedit-2/plugins/externaltools/library.py
 +${PLIST.python}lib/gedit-2/plugins/externaltools/library.pyc
 +${PLIST.python}lib/gedit-2/plugins/externaltools/library.pyo
 +${PLIST.python}lib/gedit-2/plugins/externaltools/manager.py
 +${PLIST.python}lib/gedit-2/plugins/externaltools/manager.pyc
 +${PLIST.python}lib/gedit-2/plugins/externaltools/manager.pyo
 +${PLIST.python}lib/gedit-2/plugins/externaltools/outputpanel.py
 +${PLIST.python}lib/gedit-2/plugins/externaltools/outputpanel.pyc
 +${PLIST.python}lib/gedit-2/plugins/externaltools/outputpanel.pyo
 +${PLIST.python}lib/gedit-2/plugins/pythonconsole.gedit-plugin
 +${PLIST.python}lib/gedit-2/plugins/pythonconsole/__init__.py
 +${PLIST.python}lib/gedit-2/plugins/pythonconsole/__init__.pyc
 +${PLIST.python}lib/gedit-2/plugins/pythonconsole/__init__.pyo
 +${PLIST.python}lib/gedit-2/plugins/pythonconsole/config.py
 +${PLIST.python}lib/gedit-2/plugins/pythonconsole/config.pyc
 +${PLIST.python}lib/gedit-2/plugins/pythonconsole/config.pyo
 +${PLIST.python}lib/gedit-2/plugins/pythonconsole/console.py
 +${PLIST.python}lib/gedit-2/plugins/pythonconsole/console.pyc
 +${PLIST.python}lib/gedit-2/plugins/pythonconsole/console.pyo
 +${PLIST.python}lib/gedit-2/plugins/quickopen.gedit-plugin
 +${PLIST.python}lib/gedit-2/plugins/quickopen/__init__.py
 +${PLIST.python}lib/gedit-2/plugins/quickopen/__init__.pyc
 +${PLIST.python}lib/gedit-2/plugins/quickopen/__init__.pyo
 +${PLIST.python}lib/gedit-2/plugins/quickopen/popup.py
 +${PLIST.python}lib/gedit-2/plugins/quickopen/popup.pyc
 +${PLIST.python}lib/gedit-2/plugins/quickopen/popup.pyo
 +${PLIST.python}lib/gedit-2/plugins/quickopen/virtualdirs.py
 +${PLIST.python}lib/gedit-2/plugins/quickopen/virtualdirs.pyc
 +${PLIST.python}lib/gedit-2/plugins/quickopen/virtualdirs.pyo
 +${PLIST.python}lib/gedit-2/plugins/quickopen/windowhelper.py
 +${PLIST.python}lib/gedit-2/plugins/quickopen/windowhelper.pyc
 +${PLIST.python}lib/gedit-2/plugins/quickopen/windowhelper.pyo
 +${PLIST.python}lib/gedit-2/plugins/snippets.gedit-plugin
 +${PLIST.python}lib/gedit-2/plugins/snippets/Document.py
 +${PLIST.python}lib/gedit-2/plugins/snippets/Document.pyc
 +${PLIST.python}lib/gedit-2/plugins/snippets/Document.pyo
 +${PLIST.python}lib/gedit-2/plugins/snippets/ElementTree.py
 +${PLIST.python}lib/gedit-2/plugins/snippets/ElementTree.pyc
 +${PLIST.python}lib/gedit-2/plugins/snippets/ElementTree.pyo
 +${PLIST.python}lib/gedit-2/plugins/snippets/Exporter.py
 +${PLIST.python}lib/gedit-2/plugins/snippets/Exporter.pyc
 +${PLIST.python}lib/gedit-2/plugins/snippets/Exporter.pyo
 +${PLIST.python}lib/gedit-2/plugins/snippets/Helper.py
 +${PLIST.python}lib/gedit-2/plugins/snippets/Helper.pyc
 +${PLIST.python}lib/gedit-2/plugins/snippets/Helper.pyo
 +${PLIST.python}lib/gedit-2/plugins/snippets/Importer.py
 +${PLIST.python}lib/gedit-2/plugins/snippets/Importer.pyc
 +${PLIST.python}lib/gedit-2/plugins/snippets/Importer.pyo
 +${PLIST.python}lib/gedit-2/plugins/snippets/Library.py
 +${PLIST.python}lib/gedit-2/plugins/snippets/Library.pyc
 +${PLIST.python}lib/gedit-2/plugins/snippets/Library.pyo
 +${PLIST.python}lib/gedit-2/plugins/snippets/Manager.py
 +${PLIST.python}lib/gedit-2/plugins/snippets/Manager.pyc
 +${PLIST.python}lib/gedit-2/plugins/snippets/Manager.pyo
 +${PLIST.python}lib/gedit-2/plugins/snippets/Parser.py
 +${PLIST.python}lib/gedit-2/plugins/snippets/Parser.pyc
 +${PLIST.python}lib/gedit-2/plugins/snippets/Parser.pyo
 +${PLIST.python}lib/gedit-2/plugins/snippets/Placeholder.py
 +${PLIST.python}lib/gedit-2/plugins/snippets/Placeholder.pyc
 +${PLIST.python}lib/gedit-2/plugins/snippets/Placeholder.pyo
 +${PLIST.python}lib/gedit-2/plugins/snippets/Snippet.py
 +${PLIST.python}lib/gedit-2/plugins/snippets/Snippet.pyc
 +${PLIST.python}lib/gedit-2/plugins/snippets/Snippet.pyo
 +${PLIST.python}lib/gedit-2/plugins/snippets/SnippetComplete.py
 +${PLIST.python}lib/gedit-2/plugins/snippets/SnippetComplete.pyc
 +${PLIST.python}lib/gedit-2/plugins/snippets/SnippetComplete.pyo
 +${PLIST.python}lib/gedit-2/plugins/snippets/SubstitutionParser.py
 +${PLIST.python}lib/gedit-2/plugins/snippets/SubstitutionParser.pyc
 +${PLIST.python}lib/gedit-2/plugins/snippets/SubstitutionParser.pyo
 +${PLIST.python}lib/gedit-2/plugins/snippets/WindowHelper.py
 +${PLIST.python}lib/gedit-2/plugins/snippets/WindowHelper.pyc
 +${PLIST.python}lib/gedit-2/plugins/snippets/WindowHelper.pyo
 +${PLIST.python}lib/gedit-2/plugins/snippets/__init__.py
 +${PLIST.python}lib/gedit-2/plugins/snippets/__init__.pyc
 +${PLIST.python}lib/gedit-2/plugins/snippets/__init__.pyo
 +${PLIST.python}share/gedit-2/plugins/externaltools/tools/build
 +${PLIST.python}share/gedit-2/plugins/externaltools/tools/open-terminal-here
 +${PLIST.python}share/gedit-2/plugins/externaltools/tools/remove-trailing-spaces
 +${PLIST.python}share/gedit-2/plugins/externaltools/tools/run-command
 +${PLIST.python}share/gedit-2/plugins/externaltools/ui/outputpanel.ui
 +${PLIST.python}share/gedit-2/plugins/externaltools/ui/tools.ui
 +${PLIST.python}share/gedit-2/plugins/pythonconsole/ui/config.ui
 +${PLIST.python}share/gedit-2/plugins/snippets/c.xml
 +${PLIST.python}share/gedit-2/plugins/snippets/chdr.xml
 +${PLIST.python}share/gedit-2/plugins/snippets/cpp.xml
 +${PLIST.python}share/gedit-2/plugins/snippets/css.xml
 +${PLIST.python}share/gedit-2/plugins/snippets/docbook.xml
 +${PLIST.python}share/gedit-2/plugins/snippets/fortran.xml
 +${PLIST.python}share/gedit-2/plugins/snippets/global.xml
 +${PLIST.python}share/gedit-2/plugins/snippets/haskell.xml
 +${PLIST.python}share/gedit-2/plugins/snippets/html.xml
 +${PLIST.python}share/gedit-2/plugins/snippets/idl.xml
 +${PLIST.python}share/gedit-2/plugins/snippets/java.xml
 +${PLIST.python}share/gedit-2/plugins/snippets/javascript.xml
 +${PLIST.python}share/gedit-2/plugins/snippets/lang/snippets.lang
 +${PLIST.python}share/gedit-2/plugins/snippets/latex.xml
 +${PLIST.python}share/gedit-2/plugins/snippets/perl.xml
 +${PLIST.python}share/gedit-2/plugins/snippets/php.xml
 +${PLIST.python}share/gedit-2/plugins/snippets/python.xml
 +${PLIST.python}share/gedit-2/plugins/snippets/ruby.xml
 +${PLIST.python}share/gedit-2/plugins/snippets/sh.xml
 +${PLIST.python}share/gedit-2/plugins/snippets/snippets.xml
 +${PLIST.python}share/gedit-2/plugins/snippets/tcl.xml
 +${PLIST.python}share/gedit-2/plugins/snippets/ui/snippets.ui
 +${PLIST.python}share/gedit-2/plugins/snippets/xml.xml
  @pkgdir share/gedit-2/plugins/indent
  @pkgdir share/gedit-2/plugins/changecase
 Index: distinfo
 ===================================================================
 RCS file: /nfs/ginseng/home/data/cvsup/netbsd/pkgsrc/editors/gedit/distinfo,v
 retrieving revision 1.49
 diff -u -r1.49 distinfo
 --- distinfo	13 Apr 2010 16:52:39 -0000	1.49
 +++ distinfo	1 Nov 2010 19:31:30 -0000
 @@ -3,4 +3,5 @@
  SHA1 (gedit-2.28.4.tar.bz2) = 5f28f25c8b86cc8a5ba875121124099b94681d48
  RMD160 (gedit-2.28.4.tar.bz2) = 3bd518f8e91d04fcb6b7e06e59f27185a735aded
  Size (gedit-2.28.4.tar.bz2) = 4597928 bytes
 +SHA1 (patch-aa) = 6cdf6353b1eeb9f05acf3fc5a39586bc0a0d09ea
  SHA1 (patch-ab) = 06f1492437126f8ee12bda5b5dd090b713885ba2
 Index: options.mk
 ===================================================================
 RCS file: /nfs/ginseng/home/data/cvsup/netbsd/pkgsrc/editors/gedit/options.mk,v
 retrieving revision 1.2
 diff -u -r1.2 options.mk
 --- options.mk	17 Apr 2009 18:40:42 -0000	1.2
 +++ options.mk	1 Nov 2010 19:51:12 -0000
 @@ -1,12 +1,12 @@
  # $NetBSD: options.mk,v 1.2 2009/04/17 18:40:42 drochner Exp $

  PKG_OPTIONS_VAR=	PKG_OPTIONS.gedit
 -PKG_SUPPORTED_OPTIONS=	enchant
 +PKG_SUPPORTED_OPTIONS=	enchant python
  #PKG_SUGGESTED_OPTIONS=	enchant

  .include "../../mk/bsd.options.mk"

 -PLIST_VARS=	enchant
 +PLIST_VARS=	enchant python
  .if !empty(PKG_OPTIONS:Menchant)
  PLIST.enchant=	yes
  .include "../../textproc/enchant/buildlink3.mk"
 @@ -14,3 +14,19 @@
  .else
  CONFIGURE_ARGS+=       --disable-spell
  .endif
 +
 +.if !empty(PKG_OPTIONS:Mpython)
 +PLIST.python= yes
 +SUBST_CLASSES+=		python
 +SUBST_MESSAGE.python=	Fix python path for test case.
 +SUBST_STAGE.python=	post-extract
 +SUBST_FILES.python+=	Makefile
 +SUBST_SED.python+=	-e 's,=python,=${PYTHONBIN},'
 +.include "../../lang/python26/buildlink3.mk"
 +.include "../../devel/py-gobject/buildlink3.mk"
 +.include "../../x11/py-gtk2/buildlink3.mk"
 +.include "../../x11/py-gtksourceview/buildlink3.mk"
 +CONFIGURE_ARGS+= --enable-python
 +.else
 +CONFIGURE_ARGS+= --disable-python
 +.endif

 --MP_/J94N2TF=aLhbBje/.dadpOu--

From: Nick Allgood <nick.allgood@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/44017: gedit python support should be added as an option
Date: Mon, 1 Nov 2010 21:40:31 -0700

 --000e0cd32ec061dd2704940a8613
 Content-Type: text/plain; charset=ISO-8859-1

 I just tried this solution out and it built without any issue and it appears
 python support works!

 My python plugin for gedit now works without any issue.. i can hack happily
 with gedit on netbsd now!


 Nick

 --000e0cd32ec061dd2704940a8613
 Content-Type: text/html; charset=ISO-8859-1

 I just tried this solution out and it built without any issue and it appears python support works!<br><br>My python plugin for gedit now works without any issue.. i can hack happily with gedit on netbsd now!<br><br><br>Nick<br>

 --000e0cd32ec061dd2704940a8613--

From: Matthew Mondor <mm_lists@pulsar-zone.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/44017: gedit python support should be added as an option
Date: Tue, 2 Nov 2010 03:11:17 -0400

 On Tue,  2 Nov 2010 04:45:02 +0000 (UTC)
 Nick Allgood <nick.allgood@gmail.com> wrote:

 >  I just tried this solution out and it built without any issue and it appears
 >  python support works!
 >  
 >  My python plugin for gedit now works without any issue.. i can hack happily
 >  with gedit on netbsd now!

 Thanks for the confirmation.

 Any volunteer with commit rights to review and commit these changes to
 pkgsrc-current?  There seems to be no official gedit maintainer.  I'm
 no WIP user, but note that these only affect gedit builds using the
 optional "python" plugins option, and that it works for the user who
 requested the feature...

 Thanks,
 -- 
 Matt

From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/44017 CVS commit: pkgsrc/x11/py-gtksourceview
Date: Tue, 2 Nov 2010 08:03:37 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Tue Nov  2 08:03:37 UTC 2010

 Added Files:
 	pkgsrc/x11/py-gtksourceview: buildlink3.mk

 Log Message:
 Add buildlink3.mk based on one by Matthew Mondor in PR 44017.


 To generate a diff of this commit:
 cvs rdiff -u -r0 -r1.1 pkgsrc/x11/py-gtksourceview/buildlink3.mk

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/44017: gedit python support should be added as an option
Date: Tue, 2 Nov 2010 10:41:48 +0100

 On Tue, Nov 02, 2010 at 07:15:04AM +0000, Matthew Mondor wrote:
 >  Any volunteer with commit rights to review and commit these changes to
 >  pkgsrc-current?  There seems to be no official gedit maintainer.  I'm
 >  no WIP user, but note that these only affect gedit builds using the
 >  optional "python" plugins option, and that it works for the user who
 >  requested the feature...

 I've tried enabling it, but I get from gedit's configure:
 checking for PYGTK... no
 configure: error: Requested 'pygtksourceview-2.0 >= 2.9.2' but version
 of PyGtkSourceView is 2.8.0
 *** Error code 1

 And indeed, pkgsrc-current only has 2.8.0. Care to provide an update? ;)
  Thomas

From: Matthew Mondor <mm_lists@pulsar-zone.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/44017: gedit python support should be added as an option
Date: Tue, 2 Nov 2010 12:54:55 -0400

 On Tue,  2 Nov 2010 09:45:02 +0000 (UTC)
 Thomas Klausner <wiz@NetBSD.org> wrote:

 >  I've tried enabling it, but I get from gedit's configure:
 >  checking for PYGTK... no
 >  configure: error: Requested 'pygtksourceview-2.0 >= 2.9.2' but version
 >  of PyGtkSourceView is 2.8.0
 >  *** Error code 1
 >  
 >  And indeed, pkgsrc-current only has 2.8.0. Care to provide an update? ;)
 >   Thomas

 Thanks for testing.

 The missing buildlink3.mk file for x11/py-gtksourceview/ was added as
 well?

 If so, I'm not sure why it's looking for 2.9.2, as it built on my
 (admitedly old) pkgsrc-2010Q2 tree against 2.8.0 pygtksourceview.
 Perhaps the problem could be that -current has a more recent
 gtksourceview2, so indeed I'll try to provide an updated package for
 py-gtksourceview.
 -- 
 Matt

From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/44017: gedit python support should be added as an option
Date: Tue, 2 Nov 2010 18:18:52 +0100

 On Tue, Nov 02, 2010 at 04:55:03PM +0000, Matthew Mondor wrote:
 >  Thanks for testing.
 >  
 >  The missing buildlink3.mk file for x11/py-gtksourceview/ was added as
 >  well?

 Yes.

 >  If so, I'm not sure why it's looking for 2.9.2, as it built on my
 >  (admitedly old) pkgsrc-2010Q2 tree against 2.8.0 pygtksourceview.
 >  Perhaps the problem could be that -current has a more recent
 >  gtksourceview2, so indeed I'll try to provide an updated package for
 >  py-gtksourceview.

 I guess because gedit was updated to 2.30.4 in -current since the
 branch.
 Thanks!
  Thomas

From: Matthew Mondor <mm_lists@pulsar-zone.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/44017: gedit python support should be added as an option
Date: Wed, 3 Nov 2010 02:29:46 -0400

 --MP_/qa2SvM0WSKmf38+9gbMXMSw
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline

 On Tue,  2 Nov 2010 09:45:02 +0000 (UTC)
 Thomas Klausner <wiz@NetBSD.org> wrote:

 >  I've tried enabling it, but I get from gedit's configure:
 >  checking for PYGTK... no
 >  configure: error: Requested 'pygtksourceview-2.0 >= 2.9.2' but version
 >  of PyGtkSourceView is 2.8.0
 >  *** Error code 1
 >  
 >  And indeed, pkgsrc-current only has 2.8.0. Care to provide an update? ;)

 Here is a diff to upgrade the pkgsrc-current py-gtksourceview package,
 along with the buildlink3.mk that corresponds to that new version.

 Thanks,
 -- 
 Matt

 --MP_/qa2SvM0WSKmf38+9gbMXMSw
 Content-Type: text/plain
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment; filename=py-gtksourceview-diff.txt

 Index: Makefile
 ===================================================================
 RCS file: /nfs/ginseng/home/data/cvsup/netbsd/pkgsrc/x11/py-gtksourceview/Makefile,v
 retrieving revision 1.10
 diff -u -r1.10 Makefile
 --- Makefile	13 Jun 2010 22:45:49 -0000	1.10
 +++ Makefile	3 Nov 2010 06:20:03 -0000
 @@ -1,10 +1,10 @@
  # $NetBSD: Makefile,v 1.10 2010/06/13 22:45:49 wiz Exp $

 -DISTNAME=	pygtksourceview-2.8.0
 +DISTNAME=	pygtksourceview-2.10.1
  PKGNAME=	${DISTNAME:S/py/${PYPKGPREFIX}-/}
  PKGREVISION=	1
  CATEGORIES=	x11 python
 -MASTER_SITES=	${MASTER_SITE_GNOME:=sources/pygtksourceview/2.8/}
 +MASTER_SITES=	${MASTER_SITE_GNOME:=sources/pygtksourceview/2.10/}
  EXTRACT_SUFX=	.tar.bz2

  MAINTAINER=	pkgsrc-users@NetBSD.org
 Index: distinfo
 ===================================================================
 RCS file: /nfs/ginseng/home/data/cvsup/netbsd/pkgsrc/x11/py-gtksourceview/distinfo,v
 retrieving revision 1.3
 diff -u -r1.3 distinfo
 --- distinfo	17 Nov 2009 17:08:01 -0000	1.3
 +++ distinfo	3 Nov 2010 06:03:35 -0000
 @@ -1,5 +1,5 @@
  $NetBSD: distinfo,v 1.3 2009/11/17 17:08:01 wiz Exp $

 -SHA1 (pygtksourceview-2.8.0.tar.bz2) = da87126a8dc7cf4773da2fbb34c93e0c1b0e9e9f
 -RMD160 (pygtksourceview-2.8.0.tar.bz2) = 9baac92eff3f6d7b6d48ba150ca3068a9bf06536
 -Size (pygtksourceview-2.8.0.tar.bz2) = 269696 bytes
 +SHA1 (pygtksourceview-2.10.1.tar.bz2) = 2a8da2ade949b5d89d3217809ecb4a19127590ab
 +RMD160 (pygtksourceview-2.10.1.tar.bz2) = c70845f9d597034de819ac099b1dc81f6a31ac08
 +Size (pygtksourceview-2.10.1.tar.bz2) = 290249 bytes

 --MP_/qa2SvM0WSKmf38+9gbMXMSw
 Content-Type: text/plain
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment; filename=py-gtksourceview-buildlink3.txt

 # $NetBSD$

 BUILDLINK_TREE+=	pygtksourceview

 .if !defined(PY_GTKSOURCEVIEW_BUILDLINK3_MK)
 PY_GTKSOURCEVIEW_BUILDLINK3_MK:=

 .include "../../lang/python/pyversion.mk"

 BUILDLINK_API_DEPENDS.pygtksourceview+=	${PYPKGPREFIX}-gtksourceview>=2.10.1nb1
 BUILDLINK_PKGSRCDIR.pygtksourceview?=	../../x11/py-gtksourceview

 #.include "../../devel/py-gobject-shared/buildlink3.mk"
 #.include "../../devel/glib2/buildlink3.mk"
 .endif # PY_GOBJECT_BUILDLINK3_MK

 BUILDLINK_TREE+=	-pygtksourceview

 --MP_/qa2SvM0WSKmf38+9gbMXMSw--

From: "Matthias Drochner" <drochner@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/44017 CVS commit: pkgsrc/editors/gedit
Date: Wed, 3 Nov 2010 19:55:18 +0000

 Module Name:	pkgsrc
 Committed By:	drochner
 Date:		Wed Nov  3 19:55:18 UTC 2010

 Modified Files:
 	pkgsrc/editors/gedit: distinfo
 Added Files:
 	pkgsrc/editors/gedit/patches: patch-ac

 Log Message:
 prepare for Python plugin support: recognize python-2.6, from
 Matthew Mondor per PR pkg/44017


 To generate a diff of this commit:
 cvs rdiff -u -r1.51 -r1.52 pkgsrc/editors/gedit/distinfo
 cvs rdiff -u -r0 -r1.1 pkgsrc/editors/gedit/patches/patch-ac

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "Matthias Drochner" <drochner@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/44017 CVS commit: pkgsrc/x11/py-gtksourceview
Date: Wed, 3 Nov 2010 19:56:17 +0000

 Module Name:	pkgsrc
 Committed By:	drochner
 Date:		Wed Nov  3 19:56:17 UTC 2010

 Modified Files:
 	pkgsrc/x11/py-gtksourceview: Makefile distinfo

 Log Message:
 update to 2.10.1, from Matthew Mondor per PR pkg/44017


 To generate a diff of this commit:
 cvs rdiff -u -r1.11 -r1.12 pkgsrc/x11/py-gtksourceview/Makefile
 cvs rdiff -u -r1.3 -r1.4 pkgsrc/x11/py-gtksourceview/distinfo

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->feedback
State-Changed-By: drochner@NetBSD.org
State-Changed-When: Wed, 03 Nov 2010 20:08:09 +0000
State-Changed-Why:
does gedit-python work for you? (tested with Python-2.5 only)


From: "Matthias Drochner" <drochner@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/44017 CVS commit: pkgsrc/editors/gedit-python
Date: Wed, 3 Nov 2010 20:05:14 +0000

 Module Name:	pkgsrc
 Committed By:	drochner
 Date:		Wed Nov  3 20:05:14 UTC 2010

 Update of /cvsroot/pkgsrc/editors/gedit-python
 In directory ivanova.netbsd.org:/tmp/cvs-serv1137

 Log Message:
 add gedit-python-2.30.4, containing Python plugin support for gedit, based
 on PR pkg/44017 by Matthew Mondor

 Status:

 Vendor Tag:	TNF
 Release Tags:	pkgsrc-base

 N pkgsrc/editors/gedit-python/Makefile
 N pkgsrc/editors/gedit-python/DESCR
 N pkgsrc/editors/gedit-python/PLIST

 No conflicts created by this import

From: Matthew Mondor <mm_lists@pulsar-zone.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/44017 (gedit python support should be added as an option)
Date: Thu, 4 Nov 2010 02:21:23 -0400

 On Wed,  3 Nov 2010 20:08:10 +0000 (UTC)
 drochner@NetBSD.org wrote:

 > Synopsis: gedit python support should be added as an option
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: drochner@NetBSD.org
 > State-Changed-When: Wed, 03 Nov 2010 20:08:09 +0000
 > State-Changed-Why:
 > does gedit-python work for you? (tested with Python-2.5 only)
 > 
 > 
 > 
 > 

 Thanks again for helping to integrate these changes.

 The patched gedit package built with the python option worked here
 after the py-gtksourceview package upgrade (and a local gtksourceview2
 update to -current's).

 I didn't think that another package would be necessary, but don't object
 to it; I'll test gedit-python tomorrow night and report on it.
 -- 
 Matt

From: Matthew Mondor <mm_lists@pulsar-zone.net>
To: gnats-bugs@NetBSD.org
Cc: nick.allgood@gmail.com
Subject: Re: pkg/44017 (gedit python support should be added as an option)
Date: Thu, 4 Nov 2010 15:26:47 -0400

 I confirm that gedit-python works for me.

 Nick, if you use pkgsrc-current, you might also want to test
 gedit-python after CVS updating.  To easily get the whole history of
 changes and conversations related to this PR, you can use the link:
 http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=44017

 Please confirm if this PR should be closed,
 -- 
 Matt

From: Nick Allgood <nick.allgood@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/44017 (gedit python support should be added as an option)
Date: Thu, 4 Nov 2010 14:01:53 -0700

 --000e0cd2dc1caf56f604944077ae
 Content-Type: text/plain; charset=ISO-8859-1

 On Thu, Nov 4, 2010 at 12:47 PM, Nick Allgood <nick.allgood@gmail.com>wrote:

 > Matt,
 >
 > Well it looks like it works for me.. and your fixes worked so as far as I'm
 > concerned you can.. however is this going to get changed in the future of
 > pkgsrc?
 >
 > Nick
 >
 >
 > On Thu, Nov 4, 2010 at 12:26 PM, Matthew Mondor <mm_lists@pulsar-zone.net>wrote:
 >
 >> I confirm that gedit-python works for me.
 >>
 >> Nick, if you use pkgsrc-current, you might also want to test
 >> gedit-python after CVS updating.  To easily get the whole history of
 >> changes and conversations related to this PR, you can use the link:
 >> http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=44017
 >>
 >> Please confirm if this PR should be closed,
 >> --
 >> Matt
 >>
 >
 >

 --000e0cd2dc1caf56f604944077ae
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable

 <br><br><div class=3D"gmail_quote">On Thu, Nov 4, 2010 at 12:47 PM, Nick Al=
 lgood <span dir=3D"ltr">&lt;<a href=3D"mailto:nick.allgood@gmail.com">nick.=
 allgood@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote=
 " style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, =
 204); padding-left: 1ex;">
 Matt,<br><br>Well it looks like it works for me.. and your fixes worked so =
 as far as I&#39;m concerned you can.. however is this going to get changed =
 in the future of pkgsrc?<br><font color=3D"#888888"><br>Nick</font><div><di=
 v>
 </div><div class=3D"h5"><br><br><div class=3D"gmail_quote">On Thu, Nov 4, 2=
 010 at 12:26 PM, Matthew Mondor <span dir=3D"ltr">&lt;<a href=3D"mailto:mm_=
 lists@pulsar-zone.net" target=3D"_blank">mm_lists@pulsar-zone.net</a>&gt;</=
 span> wrote:<br>

 <blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
 r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I confirm that ge=
 dit-python works for me.<br>
 <br>
 Nick, if you use pkgsrc-current, you might also want to test<br>
 gedit-python after CVS updating. =A0To easily get the whole history of<br>
 changes and conversations related to this PR, you can use the link:<br>
 <a href=3D"http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=3D4401=
 7" target=3D"_blank">http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?num=
 ber=3D44017</a><br>
 <br>
 Please confirm if this PR should be closed,<br>
 <font color=3D"#888888">--<br>
 Matt<br>
 </font></blockquote></div><br>
 </div></div></blockquote></div><br>

 --000e0cd2dc1caf56f604944077ae--

From: Matthew Mondor <mm_lists@pulsar-zone.net>
To: gnats-bugs@NetBSD.org
Cc: nick.allgood@gmail.com
Subject: Re: pkg/44017 (gedit python support should be added as an option)
Date: Thu, 4 Nov 2010 17:59:38 -0400

 On Thu,  4 Nov 2010 21:05:05 +0000 (UTC)
 Nick Allgood <nick.allgood@gmail.com> wrote:

 >  > Well it looks like it works for me.. and your fixes worked so as far as I'm
 >  > concerned you can.. however is this going to get changed in the future of
 >  > pkgsrc?

 The difference is that on pkgsrc -current, instead of having a single
 gedit package supporting the "python" option, there is now a
 python-less editors/gedit package and a separate editors/gedit-python
 (containing all the python related gedit files).

 This will probably be more binary-package friendly, as people who want
 python support will just have to install gedit-python, instead of
 forcing the python gedit option "on" for all users, or requireing them
 to build their own gedit with the python option.

 Oh a small note: you'll have to remove the PKG_OPTIONS.gedit+=python
 line from /etc/mk.conf for the -current gedit package to build
 successfully (but then you won't need it anymore, just building
 gedit-python should add the python support parts).

 Thanks,
 -- 
 Matt

From: Matthew Mondor <mm_lists@pulsar-zone.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/44017 (gedit python support should be added as an option)
Date: Sun, 7 Nov 2010 15:26:42 -0500

 On Thu,  4 Nov 2010 19:30:07 +0000 (UTC)
 Matthew Mondor <mm_lists@pulsar-zone.net> wrote:

 >  I confirm that gedit-python works for me.

 I forgot to mention that it was tested against python26 successfully
 as well.
 -- 
 Matt

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/44017 (gedit python support should be added as an option)
Date: Sun, 7 Nov 2010 21:09:12 +0000

 On Sun, Nov 07, 2010 at 08:30:05PM +0000, Matthew Mondor wrote:
  >  I forgot to mention that it was tested against python26 successfully
  >  as well.

 So am I right in thinking that this PR can be closed?

 -- 
 David A. Holland
 dholland@netbsd.org

From: Matthew Mondor <mm_lists@pulsar-zone.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/44017 (gedit python support should be added as an option)
Date: Sun, 7 Nov 2010 16:24:45 -0500

 On Sun,  7 Nov 2010 21:10:08 +0000 (UTC)
 David Holland <dholland-pbugs@netbsd.org> wrote:

 >  So am I right in thinking that this PR can be closed?

 Sure, please :)  And thanks,
 -- 
 Matt

State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 07 Nov 2010 21:31:21 +0000
State-Changed-Why:
All done, thanks everyone.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.