Alan: >> The gobject-introspection module installs: >> * typelib files to /usr/lib/girepository-1.0 >> * GIR files to /usr/share/gir-1.0 >> >> for the following modules: >> * OpenGL >> * Glib >> * cairo >> * fontconfig >> * freetype2 >> * libxml2 >> * xfixes >> * xft >> * xlib > > Since many of those come from another consolidation (X), how are > they kept in sync when new versions of the libraries are delivered? > > Should the files for each library be packaged with the library itself > instead of in the common packages?
Yes, that is the long-term goal. The gir-repository module is a temporary module to provide bootstrapping until that happens. Though for the lower-level libraries outside of the GNOME stack, it might make sense to continue delivering them as static files. Note these are only needed to define very stable and common type definitions and interfaces that are used in other libraries that use gobject-introspection, for example. I have attached the gir and typelib files for these modules. They are very small, unlike the ones that are generated from the source code. For example, the Xlib gir file only provides bindings for very basic things like: Atom, Display, Drawable, GC, KeyCode, KeySym, Picture, Screen, VisualID, Window, XEvent, XConfigureEvent, XID, Pixmap, XImage, XFontStruct, XTrapezoid, XVisualInfo, XWindowAttributes, and XOpenDisplay. Another example, the libxml file only defines Node, NodePtr, Doc, DocPtr, NsPtr, Char, and TextWriter, Interfaces that are unlikely to change, in other words. Note that no modules use gobject-introspection yet (aside from clutter 1.0 which also nothing uses). The main value in adding these modules now is that it provides users with the ability to do development work on modules that require these modules, such as GNOME Shell. Brian -------------- next part -------------- A non-text attachment was scrubbed... Name: GL-1.0.gir Type: text/xml Size: 1060 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20090813/ecc95e43/attachment.xml> -------------- next part -------------- A non-text attachment was scrubbed... Name: GL-1.0.typelib Type: application/octet-stream Size: 868 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20090813/ecc95e43/attachment.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: cairo-1.0.gir Type: text/xml Size: 2110 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20090813/ecc95e43/attachment-0001.xml> -------------- next part -------------- A non-text attachment was scrubbed... Name: cairo-1.0.typelib Type: application/octet-stream Size: 1108 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20090813/ecc95e43/attachment-0001.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: fontconfig-2.0.gir Type: text/xml Size: 558 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20090813/ecc95e43/attachment-0002.xml> -------------- next part -------------- A non-text attachment was scrubbed... Name: fontconfig-2.0.typelib Type: application/octet-stream Size: 288 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20090813/ecc95e43/attachment-0002.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: freetype2-2.0.gir Type: text/xml Size: 633 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20090813/ecc95e43/attachment-0003.xml> -------------- next part -------------- A non-text attachment was scrubbed... Name: freetype2-2.0.typelib Type: application/octet-stream Size: 308 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20090813/ecc95e43/attachment-0003.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: libxml2-2.0.gir Type: text/xml Size: 785 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20090813/ecc95e43/attachment-0004.xml> -------------- next part -------------- A non-text attachment was scrubbed... Name: libxml2-2.0.typelib Type: application/octet-stream Size: 536 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20090813/ecc95e43/attachment-0004.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: xfixes-4.0.gir Type: text/xml Size: 301 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20090813/ecc95e43/attachment-0005.xml> -------------- next part -------------- A non-text attachment was scrubbed... Name: xfixes-4.0.typelib Type: application/octet-stream Size: 184 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20090813/ecc95e43/attachment-0005.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: xft-2.0.gir Type: text/xml Size: 642 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20090813/ecc95e43/attachment-0006.xml> -------------- next part -------------- A non-text attachment was scrubbed... Name: xft-2.0.typelib Type: application/octet-stream Size: 388 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20090813/ecc95e43/attachment-0006.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: xlib-2.0.gir Type: text/xml Size: 1372 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20090813/ecc95e43/attachment-0007.xml> -------------- next part -------------- A non-text attachment was scrubbed... Name: xlib-2.0.typelib Type: application/octet-stream Size: 1216 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20090813/ecc95e43/attachment-0007.obj>
