[gnome-python2-desktop/f14/master: 4/5] Add patch to fix broken & missing evince bindings/definitions

Peter Robinson pbrobinson at fedoraproject.org
Wed Jan 26 18:45:34 UTC 2011


commit 86ab87e68da7e76251b41c97f29f94aa2ce075bf
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Wed Jan 26 18:36:11 2011 +0000

    Add patch to fix broken & missing evince bindings/definitions

 ...-Add-undefined-objects-to-Evince-bindings.patch |   76 ++++++++++++++++++++
 gnome-python2-desktop.spec                         |    8 ++-
 2 files changed, 83 insertions(+), 1 deletions(-)
---
diff --git a/0001-Add-undefined-objects-to-Evince-bindings.patch b/0001-Add-undefined-objects-to-Evince-bindings.patch
new file mode 100644
index 0000000..bdcf950
--- /dev/null
+++ b/0001-Add-undefined-objects-to-Evince-bindings.patch
@@ -0,0 +1,76 @@
+From fe79fd6f6a6ef1047bbca3e56cef3823e64869b1 Mon Sep 17 00:00:00 2001
+From: Gonzalo Odiard <godiard at sugarlabs.org>
+Date: Thu, 20 Jan 2011 16:58:27 -0300
+Subject: [PATCH] Add undefined objects to Evince bindings
+
+For some reason, h2def missed a few objects, making the evince
+bindings somewhat useless.
+
+Fixes https://bugzilla.gnome.org/show_bug.cgi?id=639758
+---
+ evince/evince.defs |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
+ 1 files changed, 49 insertions(+), 0 deletions(-)
+
+diff --git a/evince/evince.defs b/evince/evince.defs
+index c99347c..072d272 100644
+--- a/evince/evince.defs
++++ b/evince/evince.defs
+@@ -175,6 +175,55 @@
+   (gtype-id "EV_TYPE_RENDER_CONTEXT")
+ )
+ 
++(define-object DocumentModel
++  (in-module "Ev")
++  (parent "GObject")
++  (c-name "EvDocumentModel")
++  (gtype-id "EV_TYPE_DOCUMENT_MODEL")
++)
++
++(define-object View
++  (in-module "Ev")
++  (parent "GtkWidget")
++  (c-name "EvView")
++  (gtype-id "EV_TYPE_VIEW")
++)
++
++(define-object AnnotationText
++  (in-module "Ev")
++  (parent "GObject")
++  (c-name "EvAnnotationText")
++  (gtype-id "EV_TYPE_ANNOTATION_TEXT")
++)
++
++(define-object AnnotationAttachment
++  (in-module "Ev")
++  (parent "GObject")
++  (c-name "EvAnnotationAttachment")
++  (gtype-id "EV_TYPE_ANNOTATION_ATTACHMENT")
++)
++
++(define-object Link
++  (in-module "Ev")
++  (parent "GObject")
++  (c-name "EvLink")
++  (gtype-id "EV_TYPE_LINK")
++)
++
++(define-object TransitionEffect
++  (in-module "Ev")
++  (parent "GObject")
++  (c-name "EvEffectMappingList")
++  (gtype-id "EV_TYPE_TRANSITION_EFFECT")
++)
++
++(define-object PrintOperation
++  (in-module "Ev")
++  (parent "GObject")
++  (c-name "EvPrintOperation")
++  (gtype-id "EV_TYPE_PRINT_OPERATION")
++)
++
+ ;; Enumerations and flags ...
+ 
+ (define-enum AnnotationType
+-- 
+1.7.3.5
+
diff --git a/gnome-python2-desktop.spec b/gnome-python2-desktop.spec
index 707fa36..9e2fe1f 100644
--- a/gnome-python2-desktop.spec
+++ b/gnome-python2-desktop.spec
@@ -28,7 +28,7 @@
 
 Name: gnome-python2-desktop
 Version: 2.32.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+
 Group: Development/Languages
 Summary: The sources for additional PyGNOME Python extension modules
@@ -38,6 +38,9 @@ Source: http://download.gnome.org/sources/gnome-python-desktop/2.32/gnome-python
 # https://bugzilla.gnome.org/show_bug.cgi?id=616306
 Patch0: gnome-python-desktop-2.30.0-wnck-flagsfix.patch
 
+# https://bugzilla.gnome.org/show_bug.cgi?id=639758
+Patch1: 0001-Add-undefined-objects-to-Evince-bindings.patch
+
 ### Dependencies ###
 
 Requires: gnome-python2-canvas >= %{gnome_python_version}
@@ -314,6 +317,9 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/bugbuddy.*
 %{python_sitearch}/gtk-2.0/gnomekeyring.so
 
 %changelog
+* Sat Sep 25 2010 Peter Robinson <pbrobinson at gmail.com> - 2.32.0-2
+- Add patch to fix broken & missing evince bindings/definitions
+
 * Thu Sep 30 2010 Matthias Clasen <mclasen at redhat.com> - 2.32.0-1
 - Update to 2.32.0
 


More information about the scm-commits mailing list