1 |
eva 09/10/30 07:44:44 |
2 |
|
3 |
Added: gdl-python-2.19.1-gdlapi-removal.patch |
4 |
Log: |
5 |
Version bump, fix compilation with gdl-2.28, bug #290522. Remove built_with_use since it is useless with corresponding gdl versions, bug #289028. |
6 |
(Portage version: 2.2_rc46/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 dev-python/gdl-python/files/gdl-python-2.19.1-gdlapi-removal.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/gdl-python/files/gdl-python-2.19.1-gdlapi-removal.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/gdl-python/files/gdl-python-2.19.1-gdlapi-removal.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: gdl-python-2.19.1-gdlapi-removal.patch |
15 |
=================================================================== |
16 |
# Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gnome-python-extras/+bug/389728 |
17 |
# Upstream: http://bugzilla.gnome.org/show_bug.cgi?id=584126 |
18 |
# Patch: http://bugzilla.gnome.org/attachment.cgi?id=135508&action=view |
19 |
# Description: Latest gdl removed some API from the public API and now the python bindings fail to compile. |
20 |
|
21 |
|
22 |
Index: gnome-python-extras-2.25.3/gdl/gdl.defs |
23 |
=================================================================== |
24 |
--- gnome-python-extras-2.25.3.orig/gdl/gdl.defs 2009-06-25 01:12:34.660704973 +0200 |
25 |
+++ gnome-python-extras-2.25.3/gdl/gdl.defs 2009-06-25 01:12:46.804700100 +0200 |
26 |
@@ -46,13 +46,6 @@ |
27 |
(gtype-id "GDL_TYPE_DOCK_ITEM") |
28 |
) |
29 |
|
30 |
-(define-object DockNotebook |
31 |
- (in-module "Gdl") |
32 |
- (parent "GdlDockItem") |
33 |
- (c-name "GdlDockNotebook") |
34 |
- (gtype-id "GDL_TYPE_DOCK_NOTEBOOK") |
35 |
-) |
36 |
- |
37 |
(define-object Dock |
38 |
(in-module "Gdl") |
39 |
(parent "GdlDockObject") |
40 |
@@ -60,13 +53,6 @@ |
41 |
(gtype-id "GDL_TYPE_DOCK") |
42 |
) |
43 |
|
44 |
-(define-object DockPaned |
45 |
- (in-module "Gdl") |
46 |
- (parent "GdlDockItem") |
47 |
- (c-name "GdlDockPaned") |
48 |
- (gtype-id "GDL_TYPE_DOCK_PANED") |
49 |
-) |
50 |
- |
51 |
(define-object DockPlaceholder |
52 |
(in-module "Gdl") |
53 |
(parent "GdlDockObject") |
54 |
@@ -74,12 +60,6 @@ |
55 |
(gtype-id "GDL_TYPE_DOCK_PLACEHOLDER") |
56 |
) |
57 |
|
58 |
-(define-object DockTablabel |
59 |
- (in-module "Gdl") |
60 |
- (parent "GtkBin") |
61 |
- (c-name "GdlDockTablabel") |
62 |
- (gtype-id "GDL_TYPE_DOCK_TABLABEL") |
63 |
-) |
64 |
|
65 |
(ifdef HAVE_GDL_0_7 |
66 |
|
67 |
@@ -570,18 +570,6 @@ |
68 |
(return-type "gboolean") |
69 |
) |
70 |
|
71 |
-(define-method get_ui |
72 |
- (of-object "GdlDockLayout") |
73 |
- (c-name "gdl_dock_layout_get_ui") |
74 |
- (return-type "GtkWidget*") |
75 |
-) |
76 |
- |
77 |
-(define-method get_items_ui |
78 |
- (of-object "GdlDockLayout") |
79 |
- (c-name "gdl_dock_layout_get_items_ui") |
80 |
- (return-type "GtkWidget*") |
81 |
-) |
82 |
- |
83 |
(define-method get_layouts_ui |
84 |
(of-object "GdlDockLayout") |
85 |
(c-name "gdl_dock_layout_get_layouts_ui") |
86 |
@@ -682,21 +662,6 @@ |
87 |
|
88 |
|
89 |
|
90 |
-;; From gdl-dock-notebook.h |
91 |
- |
92 |
-(define-function gdl_dock_notebook_new |
93 |
- (c-name "gdl_dock_notebook_new") |
94 |
- (is-constructor-of "GdlDockNotebook") |
95 |
- (return-type "GtkWidget*") |
96 |
-) |
97 |
- |
98 |
-(define-function gdl_dock_notebook_get_type |
99 |
- (c-name "gdl_dock_notebook_get_type") |
100 |
- (return-type "GType") |
101 |
-) |
102 |
- |
103 |
- |
104 |
- |
105 |
;; From gdl-dock-object.h |
106 |
|
107 |
(define-function gdl_dock_object_get_type |
108 |
@@ -848,24 +813,6 @@ |
109 |
|
110 |
|
111 |
|
112 |
-;; From gdl-dock-paned.h |
113 |
- |
114 |
-(define-function gdl_dock_paned_get_type |
115 |
- (c-name "gdl_dock_paned_get_type") |
116 |
- (return-type "GType") |
117 |
-) |
118 |
- |
119 |
-(define-function gdl_dock_paned_new |
120 |
- (c-name "gdl_dock_paned_new") |
121 |
- (is-constructor-of "GdlDockPaned") |
122 |
- (return-type "GtkWidget*") |
123 |
- (properties |
124 |
- '("orientation") |
125 |
- ) |
126 |
-) |
127 |
- |
128 |
- |
129 |
- |
130 |
;; From gdl-dock-placeholder.h |
131 |
|
132 |
(define-function gdl_dock_placeholder_get_type |
133 |
@@ -896,34 +843,6 @@ |
134 |
|
135 |
|
136 |
|
137 |
-;; From gdl-dock-tablabel.h |
138 |
- |
139 |
-(define-function gdl_dock_tablabel_new |
140 |
- (c-name "gdl_dock_tablabel_new") |
141 |
- (is-constructor-of "GdlDockTablabel") |
142 |
- (return-type "GtkWidget*") |
143 |
- (properties |
144 |
- '("item") |
145 |
- ) |
146 |
-) |
147 |
- |
148 |
-(define-function gdl_dock_tablabel_get_type |
149 |
- (c-name "gdl_dock_tablabel_get_type") |
150 |
- (return-type "GType") |
151 |
-) |
152 |
- |
153 |
-(define-method activate |
154 |
- (of-object "GdlDockTablabel") |
155 |
- (c-name "gdl_dock_tablabel_activate") |
156 |
- (return-type "none") |
157 |
-) |
158 |
- |
159 |
-(define-method deactivate |
160 |
- (of-object "GdlDockTablabel") |
161 |
- (c-name "gdl_dock_tablabel_deactivate") |
162 |
- (return-type "none") |
163 |
-) |
164 |
- |
165 |
;; From gdl-icons.h |
166 |
|
167 |
(ifdef HAVE_GDL_0_7 |