Re: Fix gobject-introspection

2010-07-17 Thread Andrew Benton
On 17/07/10 05:00, Simon Geard wrote:
 Maybe, maybe not. If you try building newer Gnome versions, you'd likely
 hit problems disabling introspection - some things *will* require
 introspection data from others.


Thanks for the info. I've saved a copy of the patch for when the need 
arises.

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


Re: Fix gobject-introspection

2010-07-17 Thread Simon Geard
On Sat, 2010-07-17 at 10:29 +0100, Andrew Benton wrote:
 On 17/07/10 05:00, Simon Geard wrote:
  Maybe, maybe not. If you try building newer Gnome versions, you'd likely
  hit problems disabling introspection - some things *will* require
  introspection data from others.
 
 
 Thanks for the info. I've saved a copy of the patch for when the need 
 arises.

As have I, since I'd just started going through my system, looking for
packages needing updating, and both Python and GI are on the list...

Simon.


signature.asc
Description: This is a digitally signed message part
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: Fix gobject-introspection

2010-07-16 Thread Simon Geard
On Wed, 2010-07-14 at 16:35 +0100, Andrew Benton wrote:
 Personally I found that the easist solution was to pass 
 --disable-introspection to udev and polkit. 
 Nothing of value was lost.

Maybe, maybe not. If you try building newer Gnome versions, you'd likely
hit problems disabling introspection - some things *will* require
introspection data from others.

Simon.


signature.asc
Description: This is a digitally signed message part
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: Fix gobject-introspection

2010-07-14 Thread Andrew Benton
On 14/07/10 14:31, Ariel Ben Yehuda wrote:
 Update Gobject-Introspection to 0.9.2 and add this patch that allows it 
 to compile with Python 2.7. Fixes http://bugs.python.org/issue9259.
 

Cheers. Just so that google can link the error to the patch, the error looks 
like this

  GICOMP xlib-2.0.gir
  GICOMP xfixes-4.0.gir
  GICOMP xrandr-1.3.gir
Traceback (most recent call last):
  File ../tools/g-ir-scanner, line 36, in module
from giscanner.scannermain import scanner_main
  File /tmp/gobject-introspection-0.9.0/giscanner/scannermain.py, line 31, in 
module
from giscanner.dumper import compile_introspection_binary
  File /tmp/gobject-introspection-0.9.0/giscanner/dumper.py, line 26, in 
module
from .glibtransformer import IntrospectionBinary
  File /tmp/gobject-introspection-0.9.0/giscanner/glibtransformer.py, line 
34, in module
from .transformer import Names
  File /tmp/gobject-introspection-0.9.0/giscanner/transformer.py, line 31, in 
module
from .girparser import GIRParser
  File /tmp/gobject-introspection-0.9.0/giscanner/girparser.py, line 32, in 
module
from .girwriter import COMPATIBLE_GIR_VERSION
  File /tmp/gobject-introspection-0.9.0/giscanner/girwriter.py, line 30, in 
module
from .xmlwriter import XMLWriter
  File /tmp/gobject-introspection-0.9.0/giscanner/xmlwriter.py, line 70, in 
module
with LibtoolImporter:
AttributeError: __exit__
make[2]: *** [GLib-2.0.gir] Error 1
make[2]: *** Waiting for unfinished jobs
make[2]: Leaving directory `/tmp/gobject-introspection-0.9.0/gir'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/gobject-introspection-0.9.0'
make: *** [all] Error 2

Personally I found that the easist solution was to pass 
--disable-introspection to udev and polkit. 
Nothing of value was lost.

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