Your message dated Fri, 12 Jun 2009 18:17:03 +0000
with message-id <[email protected]>
and subject line Bug#532894: fixed in infon-devel 0~r218-1
has caused the Debian Bug report #532894,
regarding infon-devel: pygtksourceview is deprecated, use pygtksourceview2
instead
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
532894: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532894
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: infon-devel
Version: 0~r144-1
Severity: important
Hi,
Your packages uses pygtksourceview1, which is deprecated and dead upstream.
You should use pygtksourceview2 instead.
I've prepared a patch that migrates infon-devel to pygtksourceview2, I've
tested it a little and works fine so far.
Please switch to pygtksourceview2 ASAP as we're going to remove 1 from
the archive.
Thanks,
Emilio
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.29-2-686 (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages infon-devel depends on:
ii python 2.5.4-2 An interactive high-level object-o
ii python-central 0.6.11 register and build utility for Pyt
ii python-gnome2-desktop 2.24.1-1 Python bindings for the GNOME desk
Versions of packages infon-devel recommends:
pn infon-viewer <none> (no description available)
Versions of packages infon-devel suggests:
pn infon-server <none> (no description available)
-- no debconf information
diff -ruNp infon-devel-0~r144/infon-devel.py infon-devel-0~r144.new/infon-devel.py
--- infon-devel-0~r144/infon-devel.py 2006-12-22 18:03:49.000000000 +0100
+++ infon-devel-0~r144.new/infon-devel.py 2009-06-12 16:59:05.000000000 +0200
@@ -23,7 +23,7 @@ import pygtk
pygtk.require('2.0')
import gtk
import gobject
-import gtksourceview
+import gtksourceview2
import os
import sys
@@ -249,7 +249,7 @@ class InfonDevel:
('ShowNumbers', None, 'Show _Line Numbers', None, 'Toggle visibility of line numbers in the left margin',
lambda a, s: s.set_show_line_numbers(a.get_active())),
('ShowMarkers', None, 'Show _Markers', None, 'Toggle visibility of markers in the left margin',
- lambda a, s: s.set_show_line_markers(a.get_active())),
+ lambda a, s: s.set_show_line_marks(a.get_active())),
('AutoIndent', None, 'Enable _Auto Indent', None, 'Toggle automatic auto indentation of text',
lambda a, s: s.set_auto_indent(a.get_active())),
#('InsertSpaces', None, 'Insert _Spaces Instead of Tabs', None, 'Whether to insert space characters when inserting tabulations',
@@ -320,7 +320,7 @@ class InfonDevel:
action = actions.get_action('ShowNumbers')
action.set_active(self.bugview.get_show_line_numbers())
action = actions.get_action('ShowMarkers')
- action.set_active(self.bugview.get_show_line_markers())
+ action.set_active(self.bugview.get_show_line_marks())
action = actions.get_action('AutoIndent')
action.set_active(self.bugview.get_auto_indent())
#action = actions.get_action('InsertSpaces')
@@ -333,31 +333,29 @@ class InfonDevel:
self.ui.insert_action_group(actions,0)
def setup_bugview(self):
- self.bugbuf = gtksourceview.SourceBuffer()
- lm = gtksourceview.SourceLanguagesManager()
- lang = lm.get_language_from_mime_type("text/x-lua")
- self.bugbuf.set_highlight(True)
+ self.bugbuf = gtksourceview2.Buffer()
+ lm = gtksourceview2.LanguageManager()
+ lang = lm.guess_language(None, "text/x-lua")
+ self.bugbuf.set_highlight_syntax(True)
self.bugbuf.set_language(lang)
def set_bt_markers(blubb):
begin, end = self.bugbuf.get_bounds()
- markers = self.bugbuf.get_markers_in_region(begin, end)
- map(self.bugbuf.delete_marker, markers)
+ self.bugbuf.remove_source_marks(begin, end)
for creature, line in self.conn.bt:
if line:
- pos = self.bugbuf.get_iter_at_line(line)
- self.bugbuf.create_marker(None, "bt", pos)
+ self.bugbuf.create_source_mark(None, "bt", line)
self.conn.connect("new_bt",set_bt_markers)
- self.bugview = gtksourceview.SourceView(self.bugbuf)
- self.bugview.props.show_line_numbers = True
- self.bugview.props.show_line_markers = True
+ self.bugview = gtksourceview2.View(self.bugbuf)
+ self.bugview.props.show_line_numbers = True
+ self.bugview.props.show_line_marks = True
self.bugview.props.auto_indent = True
#self.bugview.props.insert_spaces_instead_of_tabs = True
icon = gtk.gdk.pixbuf_new_from_file(PREFIX + 'marker.png')
- self.bugview.set_marker_pixbuf("bt",icon)
+ self.bugview.set_mark_category_pixbuf("bt",icon)
def setup_connview(self):
self.connview = connview.ConnView()
--- End Message ---
--- Begin Message ---
Source: infon-devel
Source-Version: 0~r218-1
We believe that the bug you reported is fixed in the latest version of
infon-devel, which is due to be installed in the Debian FTP archive:
infon-devel_0~r218-1.diff.gz
to pool/main/i/infon-devel/infon-devel_0~r218-1.diff.gz
infon-devel_0~r218-1.dsc
to pool/main/i/infon-devel/infon-devel_0~r218-1.dsc
infon-devel_0~r218-1_all.deb
to pool/main/i/infon-devel/infon-devel_0~r218-1_all.deb
infon-devel_0~r218.orig.tar.gz
to pool/main/i/infon-devel/infon-devel_0~r218.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Joachim Breitner <[email protected]> (supplier of updated infon-devel package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Fri, 12 Jun 2009 20:11:23 +0200
Source: infon-devel
Binary: infon-devel
Architecture: source all
Version: 0~r218-1
Distribution: unstable
Urgency: low
Maintainer: Joachim Breitner <[email protected]>
Changed-By: Joachim Breitner <[email protected]>
Description:
infon-devel - Develop bots for the infon game
Closes: 532894
Changes:
infon-devel (0~r218-1) unstable; urgency=low
.
* pygtksourceview is deprecated, use pygtksourceview2 instead
thanks to Emilio Pozuelo Monfort for the patch. (Closes: #532894)
Checksums-Sha1:
bb6ac1ae27df88b309e4d3d33a00bb767c705b1d 1166 infon-devel_0~r218-1.dsc
2f5c57c7366b946a1f24d66a6746fd85e4106d6c 7961 infon-devel_0~r218.orig.tar.gz
8ddec84ecfb64213582fc0b22144ee08e3d5b711 1837 infon-devel_0~r218-1.diff.gz
e1ee6cbaf606a954a6188231da54bc5aec78ed7b 11000 infon-devel_0~r218-1_all.deb
Checksums-Sha256:
06f193ab5aa35150da673d7496a7ed90537eaf560f74f519cfdd0bf23ad7b510 1166
infon-devel_0~r218-1.dsc
64ad66e01cb9c8ff60a767b67554a35e0a5607ea96b22948916f9ce0de2af45f 7961
infon-devel_0~r218.orig.tar.gz
bbc9f3adcc782908903e55b3a3e4b4e27b4b764e14fb9b735023ea2c115ac08d 1837
infon-devel_0~r218-1.diff.gz
405c9a0f717bbfcb28931d2c18b222491eeb67c4028390a097ebf5884fa5af69 11000
infon-devel_0~r218-1_all.deb
Files:
0501c89be007150807d81f06adb0532f 1166 games extra infon-devel_0~r218-1.dsc
fb4d158efb59d79d7ed0360ed569eebf 7961 games extra
infon-devel_0~r218.orig.tar.gz
63910bc646b49f15f0379ff27434b2a3 1837 games extra infon-devel_0~r218-1.diff.gz
9c29e707a2c415e2fd94516847905766 11000 games extra infon-devel_0~r218-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkoymmgACgkQ9ijrk0dDIGwF4gCfdybaPpIe/to50KMfK0c90Cal
ktYAnA8tGklty4nUrWtBTL+pP1wDCFOm
=aK+K
-----END PGP SIGNATURE-----
--- End Message ---