Roger WANG wrote:
On Wed, May 27, 2009 at 01:06:36PM +0800, Yang, Lei A wrote:
Hi, Guys,

As we know, Moblin 2.0 beta has been published to Open Source Community. I 
think many guys in the community are longing to join Moblin development, 
especially for the brand-new UI components.
How to get relative codes of UI components, for example mojito and 
mutter-moblin, and how to join to the development?
For start you could get jhbuild moduleset from
    git://git.moblin.org/moblin2-jhbuild

and build/run moblin UI on your linux


Interesting. I'm trying to do this and mostly finding success. Shelling out to install dependencies as I go and such. Observed a couple issues however.

libproxy was squawking about not finding jsapi.h - looks like it was trying to link to xulrunner/stable rather than unstable. Hacked with a quick symlink while it built.

The next problem I'm having I'm not sure how to get around. Building mutter and it's complaining about not finding Clutter-0.9.gir. I didn't find this anywhere in the chroot. Error message below:

/root/moblin2/install/bin/g-ir-scanner                                  \
                --namespace=Meta                        \
                --nsversion=2.27                \
                --include=GObject-2.0                   \
                --include=Gdk-2.0                       \
                --include=Gtk-2.0                       \
                --include=Clutter-0.9                   \
                --pkg=clutter-0.9                       \
                --pkg=gtk+-2.0                          \
                --include=xfixes-4.0                    \
                --program=./metacity                    \
core/async-getprop.c core/alttabhandler.c core/alttabhandlerdefault.c core/bell.c core/boxes.c compositor/compositor.c compositor/compositor-xrender.c core/constraints.c core/core.c core/delete.c core/display.c ui/draw-workspace.c core/edge-resistance.c core/effects.c core/errors.c core/eventqueue.c core/frame.c ui/gradient.c core/group-props.c core/group.c core/iconcache.c core/keybindings.c core/main.c core/place.c core/prefs.c core/screen.c core/session.c core/stack.c core/util.c core/window-props.c core/window.c core/workspace.c core/xprops.c ui/fixedtip.c ui/frames.c ui/menu.c ui/metaaccellabel.c ui/resizepopup.c ui/tabpopup.c ui/theme-parser.c ui/theme.c ui/themewidget.c ui/ui.c compositor/mutter/compositor-mutter.c compositor/mutter/mutter-shaped-texture.c compositor/mutter/mutter-plugin-manager.c compositor/mutter/tidy/tidy-texture-frame.c compositor/mutter/mutter-module.c compositor/mutter/mutter-plugin.c \ include/alttabhandler.h include/boxes.h ui/gradient.h include/util.h include/common.h ui/preview-widget.h ui/theme-parser.h ui/theme.h include/prefs.h include/window.h include/workspace.h include/compositor.h include/compositor-mutter.h include/types.h include/screen.h include/display.h include/group.h include/keybindings.h include/mutter-plugin.h \ -D_REENTRANT -DORBIT2=1 -pthread -I/root/moblin2/install/include/clutter-0.9 -I/root/moblin2/install/include/gobject-introspection-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/startup-notification-1.0 -I ./include -I./compositor -DMETACITY_LIBEXECDIR=\"/root/moblin2/install/libexec\" -DHOST_ALIAS=\"\" -DMETACITY_LOCALEDIR=\"/root/moblin2/install/share/locale\" -DMETACITY_PKGDATADIR=\"/root/moblin2/install/share/metacity\" -DMETACITY_DATADIR=\"/root/moblin2/install/share\" -DG_LOG_DOMAIN=\"metacity\" -DSN_API_NOT_YET_FROZEN=1 -DMETACITY_MAJOR_VERSION=2 -DMETACITY_MINOR_VERSION=27 -DMETACITY_MICRO_VERSION=0 -DMETACITY_CLUTTER_PLUGIN_API_VERSION=2 -DMETACITY_PKGLIBDIR=\"/root/moblin2/install/lib/metacity\" -DMUTTER_PLUGIN_DIR=\"/root/moblin2/install/lib/metacity/plugins/clutter\" \
                -o Meta-2.27.gir
Traceback (most recent call last):
  File "/root/moblin2/install/bin/g-ir-scanner", line 39, in <module>
    sys.exit(scanner_main(sys.argv))
File "/root/moblin2/install/lib/gobject-introspection/giscanner/scannermain.py", line 287, in scanner_main
    transformer.register_include(include_obj)
File "/root/moblin2/install/lib/gobject-introspection/giscanner/transformer.py", line 111, in register_include
    filename = self._find_include(include)
File "/root/moblin2/install/lib/gobject-introspection/giscanner/transformer.py", line 128, in _find_include
    % (girname, searchdirs))
ValueError: Couldn't find include 'Clutter-0.9.gir' (search path: ['/root/moblin2/install/share/gir-1.0', '/usr/share/gir-1.0', '/root/moblin2/install/share/gir-1.0', '/usr/share/gir-1.0'])

cheers,

Kris
_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
https://lists.moblin.org/mailman/listinfo/dev or your user account on 
http://moblin.org once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

Reply via email to