Hi

if you like to build gobject-introspection against python 2.7 you will
need to apply a patch like the one attached...


hth André
>From 7bcb292e7ff35764a02629213589f304df8b5076 Mon Sep 17 00:00:00 2001
From: Johan Dahlin <[email protected]>
Date: Thu, 22 Jul 2010 17:43:02 +0000
Subject: [scanner] Make it compatible with python 2.y

https://bugzilla.gnome.org/show_bug.cgi?id=618562
---
diff --git a/giscanner/sourcescanner.py b/giscanner/sourcescanner.py
index acfc048..ae3d29d 100644
--- a/giscanner/sourcescanner.py
+++ b/giscanner/sourcescanner.py
@@ -196,7 +196,7 @@ class SourceSymbol(object):
 class SourceScanner(object):

     def __init__(self):
-        with LibtoolImporter:
+        with LibtoolImporter(None, None):
             from giscanner._giscanner import SourceScanner
         self._scanner = SourceScanner()
         self._filenames = []
diff --git a/giscanner/xmlwriter.py b/giscanner/xmlwriter.py
index 0db286b..c10bcc6 100644
--- a/giscanner/xmlwriter.py
+++ b/giscanner/xmlwriter.py
@@ -67,7 +67,7 @@ def collect_attributes(tag_name, attributes, self_indent,
     return attr_value


-with LibtoolImporter:
+with LibtoolImporter(None, None):
     from giscanner._giscanner import collect_attributes


--
cgit v0.8.3.1
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to