2011/11/2 Tomeu Vizoso <to...@sugarlabs.org> > OYou don't need gst-python any more, that's the point of the move to > introspection: https://live.gnome.org/GObjectIntrospection/Architecture > > For building gstreamer master from git: http://gstreamer.freedesktop.org/ > > Good luck, > > Tomeu >
Hi again, This is my current progress at the moment. I try to compile gstreamer 0.11.1 on Ubuntu Oneiric 11.10 with this: sudo apt-get install bison flex wget http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-0.11.1.tar.gz tar -xvzf gstreamer-*.tar.gz cd gstreamer-* ./configure sudo make sudo make install All succesfully. This install the binaries under /usr/local/ But apparently, the first problem comes, I need compile gir files for create the typelib files. I see on the package gir1.2-gstreamer-0.10 for Ubuntu, that I need at least all this typelib files: /usr/lib/girepository-1.0/Gst-0.10.typelib /usr/lib/girepository-1.0/GstBase-0.10.typelib /usr/lib/girepository-1.0/GstCheck-0.10.typelib /usr/lib/girepository-1.0/GstController-0.10.typelib /usr/lib/girepository-1.0/GstNet-0.10.typelib http://packages.ubuntu.com/es/precise/gir1.2-gstreamer-0.10 http://packages.ubuntu.com/es/precise/i386/gir1.2-gstreamer-0.10/filelist So I don't know until now where get that .gir files or how to generate the gir files for 0.11. Apparently gir files is like an XML format with the migration spec. Then I should compile the files with something like for generate the typelib files: /opt/pygi/bin/g-ir-compiler --includedir=. --includedir=. /usr/share/gir-1.0/Gst-0.10.gir -o /usr/lib/girepository-1.0/Gst-0.10.typelib http://manpages.ubuntu.com/manpages/natty/man1/g-ir-compiler.1.html I don't know where find documentation for this process, just I google for known words and found things like this for extract knowledge: http://pastebin.com/jUP0aLEH The info is very spread and nobody writes a documented procedure for this. I found on http://live.gnome.org/GnomeGoals/AddGObjectIntrospectionSupportthat Gstreamer have support done for instrospection, but no reference that how to do it. So I keep google for hours and I found this, that it show me a little how to generate the .gir files with g-ir-scanner: http://wksprivate.appspot.com/pastebin/detail-js/9060/ /usr/local/bin/g-ir-scanner -v --namespace Gst --nsversion=0.10 \ 283. --add-include-path=. --add-include-path=. \ 284. --include=GObject-2.0 \ 285. --include=GModule-2.0 \ 286. --include=libxml2-2.0 \ 287. --library=gstbase-0.10 \ 288. --libtool="/bin/sh ../libtool" \ 289. --pkg gobject-2.0 \ 290. --pkg gstreamer-0.10 \ 291. --pkg gstreamer-base-0.10 \ 292. --output Gst-0.10.gir \ 293. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstbin.h \ 294. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstbuffer.h \ 295. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstbus.h \ 296. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstcaps.h \ 297. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstchildproxy.h \ 298. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstclock.h \ 299. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstcompat.h \ 300. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstconfig.h \ 301. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstdebugutils.h \ 302. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstelementfactory.h \ 303. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstelement.h \ 304. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstenumtypes.h \ 305. `pkg-config --variable=includedir gstreamer-0.10`/gst/gsterror.h \ 306. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstevent.h \ 307. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstfilter.h \ 308. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstformat.h \ 309. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstghostpad.h \ 310. `pkg-config --variable=includedir gstreamer-0.10`/gst/gst.h \ 311. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstindexfactory.h \ 312. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstindex.h \ 313. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstinfo.h \ 314. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstinterface.h \ 315. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstiterator.h \ 316. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstmacros.h \ 317. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstmarshal.h \ 318. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstmessage.h \ 319. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstminiobject.h \ 320. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstobject.h \ 321. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstpad.h \ 322. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstpadtemplate.h \ 323. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstparamspecs.h \ 324. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstparse.h \ 325. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstpipeline.h \ 326. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstpluginfeature.h \ 327. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstplugin.h \ 328. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstpoll.h \ 329. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstquery.h \ 330. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstregistry.h \ 331. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstsegment.h \ 332. `pkg-config --variable=includedir gstreamer-0.10`/gst/gststructure.h \ 333. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstsystemclock.h \ 334. `pkg-config --variable=includedir gstreamer-0.10`/gst/gsttaglist.h \ 335. `pkg-config --variable=includedir gstreamer-0.10`/gst/gsttagsetter.h \ 336. `pkg-config --variable=includedir gstreamer-0.10`/gst/gsttask.h \ 337. `pkg-config --variable=includedir gstreamer-0.10`/gst/gsttrace.h \ 338. `pkg-config --variable=includedir gstreamer-0.10`/gst/gsttypefindfactory.h \ 339. `pkg-config --variable=includedir gstreamer-0.10`/gst/gsttypefind.h \ 340. `pkg-config --variable=includedir gstreamer-0.10`/gst/gsturi.h \ 341. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstutils.h \ 342. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstvalue.h \ 343. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstversion.h \ 344. `pkg-config --variable=includedir gstreamer-0.10`/gst/gstxml.h \ 345. `pkg-config --variable=includedir gstreamer-0.10`/gst/base/*.h 346. GEN Gst-0.10.gir [...] ----------- So, at the moment, we have this: g-ir-compiler compiles typelib from gir and vice versa g-ir-generate ??? g-ir-scanner generates gir from C sources More info extracted from http://cblfs.cross-lfs.org/index.php/Gobject-introspection After I found a bug report about compile gstreamer for instrospection and I found more useful info: https://bugzilla.gnome.org/show_bug.cgi?id=622025 So still I have some fun trying to compile from gnome git for get the lastest 0.11.1 gir files. This is fun because I am learning a lot, but it's time-consuming, because nobody before write some article, wiki or doc for make easy and painful the process. Only maintainers have the knowledge enough for make this quickly, but they don't like make docs. it seems a general problem. I will send more info if I get compile the 0.11.1 version successfully, because some people with the same problem is writing me emails about the current status of this. Regards.
_______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/