~benji/vte/fixes

« back to all changes in this revision

Viewing changes to debian/patches/12_python_reaper.patch

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-05-17 13:08:32 UTC
  • mfrom: (1.1.64 upstream) (3.4.6 experimental)
  • Revision ID: james.westby@ubuntu.com-20110517130832-mzsdysrncjfdb5p8
Tags: 1:0.28.0-1ubuntu1
* Drop gir1.2-vte-0.0. We just have two reverse dependencies which will be
  moved to GTK3 and gir1.2-vte-2.90.
* Drop 91_keep_fds.patch. The vte_terminal_forkpty API is deprecated, was
  closed upstream as "wontfix".
* Drop lp621927_set_default_term.patch, fixed upstream in a different way.
* Merge with Debian experimental. Remaining Ubuntu changes:
  - Add 93_add_alt_screen_scroll_toggle.patch: Handle scrolling differently
    when using alternate screen or scrolling is restricted.
  - Add lp246701_scroll_region_updates.patch: Bug fix. (LP #246701)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
GNOME #112172; move VteReaper down the library stack
2
 
GNOME #320127; WONTFIX upstream, we'll need to remove this eventually,
3
 
but we need to take care that nothing in Debian uses it:
4
 
gdebi: #574168
5
 
 
6
 
Index: vte-0.25.90/python/vte.defs
7
 
===================================================================
8
 
--- vte-0.25.90.orig/python/vte.defs    2009-04-18 02:51:43.000000000 +1000
9
 
+++ vte-0.25.90/python/vte.defs 2010-08-17 17:35:04.300563000 +1000
10
 
@@ -7,6 +7,14 @@
11
 
   (gtype-id "VTE_TYPE_TERMINAL")
12
 
 )
13
 
 
14
 
+(define-object Reaper
15
 
+  (in-module "Vte")
16
 
+  (parent "GObject")
17
 
+  (c-name "VteReaper")
18
 
+  (gtype-id "VTE_TYPE_REAPER")
19
 
+)
20
 
+
21
 
+
22
 
 ;; Enumerations and flags ...
23
 
 
24
 
 (define-enum TerminalEraseBinding
25
 
@@ -813,6 +821,17 @@
26
 
 
27
 
 
28
 
 
29
 
+;; From ../src/reaper.h
30
 
+(define-function vte_reaper_get_type
31
 
+  (c-name "vte_reaper_get_type")
32
 
+  (return-type "GtkType")
33
 
+)
34
 
35
 
+(define-function reaper_get
36
 
+  (c-name "vte_reaper_get")
37
 
+  (return-type "VteReaper*")
38
 
+)
39
 
+
40
 
 ;; From vteversion.h
41
 
 
42
 
 
43
 
Index: vte-0.25.90/python/vtemodule.c
44
 
===================================================================
45
 
--- vte-0.25.90.orig/python/vtemodule.c 2010-07-16 03:08:44.000000000 +1000
46
 
+++ vte-0.25.90/python/vtemodule.c      2010-08-17 17:35:04.300563000 +1000
47
 
@@ -23,6 +23,7 @@
48
 
 #include <pygobject.h>
49
 
 #include <pygtk/pygtk.h>
50
 
 #include "../src/vte.h"
51
 
+#include "../src/reaper.h"
52
 
 
53
 
 extern void pyvte_register_classes(PyObject * d);
54
 
 extern void pyvte_add_constants(PyObject *module, const gchar *strip_prefix);
55
 
Index: vte-0.25.90/python/vte.override
56
 
===================================================================
57
 
--- vte-0.25.90.orig/python/vte.override        2010-07-16 03:08:44.000000000 +1000
58
 
+++ vte-0.25.90/python/vte.override     2010-08-17 17:35:04.300563000 +1000
59
 
@@ -7,6 +7,7 @@
60
 
 #include <pygobject.h>
61
 
 #include <gtk/gtk.h>
62
 
 #include "../src/vte.h"
63
 
+#include "../src/reaper.h"
64
 
 
65
 
 void pyvte_add_constants(PyObject *module, const gchar *strip_prefix);
66
 
 void pyvte_register_classes(PyObject *d);
67
 
@@ -16,6 +17,7 @@
68
 
 import gtk.gdk.Pixbuf as PyGdkPixbuf_Type
69
 
 import gtk.MenuShell as PyGtkMenuShell_Type
70
 
 import gtk.Widget as PyGtkWidget_Type
71
 
+import gobject.GObject as PyGObject_Type
72
 
 %%
73
 
 override vte_terminal_feed kwargs
74
 
 static PyObject *