You are not logged in.

#51 2009-06-22 07:05:45

markc
Member
From: Gold Coast, Australia
Registered: 2007-05-15
Posts: 496
Website

Re: [REQUEST] moblin

How to test Moblin v2 beta in VirtualBox

mkdir ~/moblin && cd ~/moblin
wget http://mirrors.kernel.org/moblin/releases/test/beta/images/LATEST -O moblin.img
qemu-img convert moblin.img moblin.bin
VBoxManage convertdd moblin.bin moblin.vdi
mv moblin.vdi ../.VirtualBox/HardDisks

Then startup VirtualBox and create a new Virtual Machine using moblin.vdi as hda. The network and the included video (ogv) and sound all worked for me, using VirtualBox 3 beta on a x86_64/nvidia host, and there is a Terminal available in Applications -> Accessories with a root password of moblin when using su -

@alex_anthony: any chance you could post your build script (no matter how rough it is)?

Last edited by markc (2009-06-22 07:33:03)

Offline

#52 2009-06-22 17:19:08

alex_anthony
Member
From: UK
Registered: 2007-09-25
Posts: 344

Re: [REQUEST] moblin

#!/bin/bash
for file in `cat list`; do
        cd ~/build/moblin/$file
        makepkg -if
done

there is a file called list in the same dir, which is just the build order.
It doesn't cry out and stop if a build fails. the cd line needs changing to suit. Each pkg has a folder in ~/build/moblin, with the pkgbuild inside.
As I said, basic.

Also, I posted xulrunner-headless-hg to AUR. Can people have a go? If we can get this building, we can get the browser working.

Last edited by alex_anthony (2009-06-22 17:25:12)

Offline

#53 2009-06-22 17:30:06

adamruss
Member
Registered: 2008-01-17
Posts: 142

Re: [REQUEST] moblin

nbtk not found on AUR
mojito not found on AUR
gconnman not found on AUR
cluttermozembed not found on AUR
mutter not found on AUR
bognor-regis not found on AUR


CPU: MacBook Pro 5,5
TB: OSX 10.6 / Windows 7 / Ubuntu 9.10

Offline

#54 2009-06-22 18:57:49

markc
Member
From: Gold Coast, Australia
Registered: 2007-05-15
Posts: 496
Website

Re: [REQUEST] moblin

@alex_anthony: there is a file called list in the same dir, which is just the build order.

I'm missing something, where exactly is this "list" file?

Does it include all, or most, of these packages? -> http://aur.archlinux.org/packages.php?K … hony&SeB=m

Offline

#55 2009-06-22 23:26:29

alex_anthony
Member
From: UK
Registered: 2007-09-25
Posts: 344

Re: [REQUEST] moblin

its just a file i wrote myself, with the package names. See the build order above. My building is done in ~/build/moblin . This has folders with names like anerley, which contains the anerley-git PKGBUILD. The script just changes dir to each folder in turn (e.g. ~/build/moblin/anerley), then runs makepkg in it.
You're going to have to write the list yourself, it doesn't download the PKGBUILDs, it doesnt set things up, it just builds the latest versions of everything.

This is why I didn't want to mention the script.

@adamruss: Are you trying to use yaourt by any chance? You're going to have to go through the packages manually. Follow the order below. you can yaourt -S each of these, adding -git to the package name.
(This is the problem with depends that i mentioned before. I'm going to change all the depends to be the -git versions when I get round to it. Then it'll all work properly Edit: Done this now)

Build order (and also my version of list):
libccss
librest
jana
mux
nbtk
gconnman
carrick-ng
dalston
bickley
bognor-regis
hornsey
mojito
bisho
anerley
syncevolution
mutter
mutter-moblin
moblin-gtk-engine
moblin-icon-theme
moblin-menus
moblin-session

Anyone able to provide some hosting for packages btw?

Last edited by alex_anthony (2009-06-22 23:53:52)

Offline

#56 2009-06-23 06:54:18

markc
Member
From: Gold Coast, Australia
Registered: 2007-05-15
Posts: 496
Website

Re: [REQUEST] moblin

#!/bin/bash
#
# mkmoblin v0.0.3 20090624 markc@renta.net (AGPLv3)
#
# Notes:
#
# required packages to start with...
# gnome-common intltool gtk2 libgl (which conflicts with nvidia)
#
# Uninstall clutter otherwise clutter-git will conflict and not install.

# stop on error
set -e

# for SRCDEST & PKGDEST (not needed yet)
#source /etc/makepkg.conf

# find the path of the current directory
startdir=$(pwd)

# provide a build order sorted list of moblin packages
srclist=(
  gobject-introspection-git
  clutter-git
  clutter-gst-git
  mutter-git mux-git
  clutter-imcontext-git
  libccss-git
  nbtk-git
  json-glib
  jana-git
  twitter-glib
  librest-git
  mojito-git
  evolution-python
  anerley-git
  bisho-git
  bognor-regis-git
  connman
  gconnman-git
  carrick-ng-git
  dalston-git
  gupnp-av
  bickley-git
  mutter-moblin-git
  syncevolution-git
  moblin-session-git
  moblin-menus-git
  moblin-gtk-engine-git
  moblin-icon-theme-git
)

# loop thru package set and build
build()
{
  cd $startdir/srcpkgs
  for S in ${srclist[@]}; do
    echo
    echo "######################### Building: $S"
    echo
    cd $startdir/srcpkgs/$S
    makepkg -si --noconfirm
  done
}

# loop thru package set and fetch src pkgs
getsource()
{
  [ -d $startdir/srcpkgs ] || mkdir $startdir/srcpkgs
  cd $startdir/srcpkgs
  for S in ${srclist[@]}; do
    if [ ! -d $S ]; then
      wget http://aur.archlinux.org/packages/$S/$S.tar.gz
      tar xf $S.tar.gz && rm $S.tar.gz
    else
      echo "Got: $S"
    fi
  done
}

# active above functions (comment out to disable)
getsource
build

Last edited by markc (2009-06-24 06:52:52)

Offline

#57 2009-06-23 07:28:24

adamruss
Member
Registered: 2008-01-17
Posts: 142

Re: [REQUEST] moblin

is this safe to install and run alongside gnome? or should i try it on VB first?

Last edited by adamruss (2009-06-23 07:28:44)


CPU: MacBook Pro 5,5
TB: OSX 10.6 / Windows 7 / Ubuntu 9.10

Offline

#58 2009-06-23 21:05:16

alex_anthony
Member
From: UK
Registered: 2007-09-25
Posts: 344

Re: [REQUEST] moblin

Adamruss:
The only conflict with gnome atm is mutter. This is metacity with clutter - it runs fine in gnome (which is exactly what I'm doing atm), in fact it will be used in gnome 3.0. Only other problem is that you get the dalston system icons in the system tray aswell, but they aren't usable, and bickley (media daemon) is running by default. And you may want to use different themes in each.
I am running gnome, with moblin installed, right now.

markc:
clutter-git should probably be built first. That's what I do. Can you build clutter-git normally with just a makepkg? Maybe try deleting the src dir for clutter-git and do a new git checkout.
And you may want to make the makepkg line makepkg -sif. Otherwise it won't build if you've already built a pkg that day.
you're running getsource() more than necessary. You're running it in build() and at the end.

Last edited by alex_anthony (2009-06-23 21:08:10)

Offline

#59 2009-06-23 21:42:17

Zom
Member
From: Sweden
Registered: 2007-10-27
Posts: 406

Re: [REQUEST] moblin

Will be installing this when it becomes more stable. Could we also perhaps get a metapackage to pull everything related to moblin and in the right order and all?

Offline

#60 2009-06-23 22:13:07

alex_anthony
Member
From: UK
Registered: 2007-09-25
Posts: 344

Re: [REQUEST] moblin

I'm going to put them all in a group at some point. This will only really have an effect once we have a repo.
I can alter a pkg to make yaourt build moblin, but otherwise, there is no way to get dependencies built from AUR, so a PKGBUILD to get everything to install would just be the script from above. Basically all will be better for easy installing once we have a repo.

Other news:
Yesterday I redid the depends for all the packages and uploaded them. You may want to download them again.
(main change was adding -git to packages)

There is a new dependency for nbtk, clutter-imcontext(-git). This is in AUR now and should be built at the start of the build order. A new version of nbtk pkgbuild includes this dependency.

Offline

#61 2009-06-23 22:27:15

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: [REQUEST] moblin

@markc: Just add --disable-introspection in clutter-git pkgbuild, just as alex_antony said. It will be built this way.

And this is my script for building moblin


#!/bin/bash
for i in clutter-git clutter-gst-git  mutter-git mux-git \
clutter-imcontext-git \
libccss-git \
nbtk-git json-glib \
jana-git \
twitter-glib \
librest-git \
mojito-git \
evolution-python \
anerley-git \
bisho-git \
bognor-regis-git \
connman \
gconnman-git \
carrick-ng-git \
dalston-git \
gupnp-av \
bickley-git \
mutter-moblin-git \
syncevolution-git \
moblin-session-git \
moblin-menus-git \
moblin-gtk-engine-git \
moblin-icon-theme-git ;do

echo ":: Entering $i..."
echo
echo 
sleep 1
cd $i
rm -rf *.pkg.tar.gz *src* *pkg*
makepkg -i --noconfirm
cd ..
done

I 'll try building anerley once again and those mozilla packages to see if they are working.

Last edited by flamelab (2009-06-23 22:29:04)

Offline

#62 2009-06-24 04:56:38

markc
Member
From: Gold Coast, Australia
Registered: 2007-05-15
Posts: 496
Website

Re: [REQUEST] moblin

I'm trying my script again but with flamelabs package list, clutter-git built okay but it failed on clutter-gst-git...

checking for METACITY... configure: error: Package requirements (gtk+-2.0 >= 2.10.0 pango >= 1.2.0 gconf-2.0 >= 1.2.0 libstartup-notification-1.0 >= 0.7 xcomposite >= 0.2 xfixes xrender xdamage clutter-0.9  gobject-introspection-1.0 xcursor) were not met:

No package 'gobject-introspection-1.0' found

Update: there is a gobject-introspection-git package in AUR, added to the mkmoblin build script above.

Anyone know what package provides the above? I don't have gnome installed so this is a good case of catching all the dependencies needed so anyone (ie; a kde user like me) can build these packages successfully. No, I don't want to install "all of gnome" blindly. I have a dedicated build machine that currently builds and uploads 600Mb of i686/x86_64 kde-svn packages everyday so I don't want to overly "pollute" that system with unnecessary gnome stuff.

@Zom: that is a good idea, once I get my set of packages to build I'll create a moblin package that installs my mkmoblin script to /usr/bin and of course a large dependency array so if anyone installs the package then all the dependencies will already be onboard. There could also be an optdepends that lists all the packages that will be built with a brief description.

Last edited by markc (2009-06-24 06:53:59)

Offline

#63 2009-06-24 06:50:59

markc
Member
From: Gold Coast, Australia
Registered: 2007-05-15
Posts: 496
Website

Re: [REQUEST] moblin

FWIW here is the "official" build procedure which may hold some useful clues. The 26 packages and build order is...

gobject-introspection
libproxy
libsoup
gir-repository
clutter
librest
json-glib
twitter-glib
mojito
gupnp
gupnp-av
gupnp-tools
bickley
bognor-regis
jana
gnome-menus
mutter
clutter-imcontext
libccss
nbtk
anerley
mutter-moblin
mux
bisho
dalston
meta-moblin2

Moblin v2 - JHBuild
=============================================================

moblin2-jhbuid is a repository containing scripts and a JHBuild moduleset for
building and developing the Moblin 2.0 User Shell and related libraries.

Initialization
-------------------------------------------------------------------------------

You should check out JHBuild from the GNOME Git repository:

  git clone git://git.gnome.org/jhbuild

Then build it and install it.

From within the moblin2-jhbuild repository run:

  make install

This command will install:

  - jhbuild-moblin2             - a wrapper around jhbuild
  - $HOME/.jhbuildrc-moblin2    - a jhbuild configuration file

Building the Moblin v2 shell
-------------------------------------------------------------------------------

To build the whole Moblin v2 UI:

  jhbuild-moblin2 build

This will also take care of the dependencies.

The modules will be downloaded under $HOME/moblin2/source.
The modules will be installed under $HOME/moblin2/install

Launching the Moblin v2 shell
-------------------------------------------------------------------------------

To launch the Moblin v2 shell under Xephyr you should start Xephyr using:

  Xephyr :1 -screen 1024x600 -host-cursor -ac

Then enter the jhbuild shell using:

  jhbuild-moblin2 shell

And run the start-in-xephyr.sh script:

  /path/to/moblin2-jhbuild/build/launch-in-xephyr.sh

Or use the 'run' command:

  jhbuild-moblin2 run /path/to/moblin2-jhbuild/build/launch-in-xephyr.sh

Common issues
-------------------------------------------------------------------------------

Q: Why jhbuild can't find the moblin2 modules file?
A: If jhbuild cannot find the moblin2.modules file you should edit the
jhbuildrc-moblin2 configuration file, on the

  moduleset

line. Using an absolute path usually works.

Q: Why doesn't Mojito (com.intel.Mojito D-Bus service) start?
A: In order to activate a D-Bus service installed within the JHBuild
root you have to modify the /etc/dbus-1/session.conf file by adding
the following line:

  <servicedir>@PREFIX@/moblin2/install/share/dbus-1/services</servicedir>

Where @PREFIX@ is the prefix used by JHBuild -- the user's home directory
by default.

You will have to restart D-Bus, which usually means logging out or a
complete reboot.

Q: Why doesn't jhbuild pick up local changes to the moblin2.modules file?
A: If you modify the moduleset file locally you will need to edit the
$HOME/.jhbuildrc-moblin2 file and change the 'moduleset' value.

Q: Why doesn't jhbuild pick up remote changes to the moblin2.modules file?
A: You will probably have to remove the cached moblin2.modules inside:

  $HOME/.cache/jhbuild

and edit the index.xml file in the same directory.

Offline

#64 2009-06-24 09:35:58

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: [REQUEST] moblin

@markc: I have some patches (minor patches) for some packages, check out:

http://adslgr64.tiven.org/abs/list-of-sources/Moblin/

for clutter-gst, I disabled introspection, it didn't seem to help in building the packages.

Last edited by flamelab (2009-06-24 09:36:45)

Offline

#65 2009-06-24 16:56:09

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: [REQUEST] moblin

Libccss has changed git repository: git://anongit.freedesktop.org/ccss, it's no longer on git.moblin.org

Offline

#66 2009-06-25 21:16:51

alex_anthony
Member
From: UK
Registered: 2007-09-25
Posts: 344

Re: [REQUEST] moblin

libccss PKGBUILD changed and uploaded. And xulrunner-headless-hg is starting to build!

Offline

#67 2009-06-26 03:38:15

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: [REQUEST] moblin

Xulrunner-headless takes toooooo long to download here. Almost 700+ MBytes of sources + 700 due to "cp" command in PKGBUILD in order to create a "build" directory.

Hmmmmm

Offline

#68 2009-06-26 06:43:27

pid
Member
Registered: 2009-04-05
Posts: 5

Re: [REQUEST] moblin

Mutter-git does not compile here sad

Traceback (most recent call last):
  File "/usr/bin/g-ir-scanner", line 39, in <module>
    sys.exit(scanner_main(sys.argv))
  File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 287, in scanner_main
    transformer.register_include(include_obj)
  File "/usr/lib/gobject-introspection/giscanner/transformer.py", line 111, in register_include
    filename = self._find_include(include)
  File "/usr/lib/gobject-introspection/giscanner/transformer.py", line 129, in _find_include
    % (girname, searchdirs))
ValueError: Couldn't find include 'Gdk-2.0.gir' (search path: ['/usr/share/gir-1.0', '/usr/local/share/gir-1.0', '/usr/share/gir-1.0', '/usr/local/share/gir-1.0', '/opt/kde/share/gir-1.0', '/usr/share/gdm/gir-1.0', '/opt/kde/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0'])
make[4]: *** [Meta-2.27.gir] Fehler 1
make[4]: Leaving directory `/var/abs/local/moblin/mutter-git/src/mutter-build/src'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/var/abs/local/moblin/mutter-git/src/mutter-build/src'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/var/abs/local/moblin/mutter-git/src/mutter-build/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/abs/local/moblin/mutter-git/src/mutter-build'
make: *** [all] Fehler 2
==> FEHLER: Build fehlgeschlagen.
    Breche ab ...

It seems that "Gdk-2.0.gir" ist missing but I already installed gobject-introspection-git which should include that file...

Any ideas?

Offline

#69 2009-06-26 08:12:06

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: [REQUEST] moblin

Build everything without introspection, it brakes things.

Offline

#70 2009-06-26 16:36:48

alex_anthony
Member
From: UK
Registered: 2007-09-25
Posts: 344

Re: [REQUEST] moblin

I was under the impression that it was good practice to use a build dir for version control packages, but that may just be git. You can try removing the cp command and building in the same directory, but it may make strange things happen when you try to build for a second time in the same directory.

flamelab, can you try installing gir-repository-git and then building from clutter upwards? This package owns Gdk-2.0.gir on my system, it may just be a missed dependency.

New pkgs up:
moblin-cursor-theme-git
moblin-sound-theme-git

Offline

#71 2009-06-30 13:58:58

pid
Member
Registered: 2009-04-05
Posts: 5

Re: [REQUEST] moblin

Without introspection I get further with mutter-git but there's another error hmm

LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po metacity.desktop.in metacity.desktop
Generating and caching the translation database
Merging translations into metacity.desktop.
Generating keybinding schemas... ./metacity.schemas.in.in
./schema_bindings ./metacity.schemas.in.in ./metacity.schemas.in
make[4]: *** [metacity.schemas.in] Speicherzugriffsfehler

Do you know how to solve this?

Offline

#72 2009-06-30 22:07:18

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: [REQUEST] moblin

What does Speicherzugriffsfehler mean ?

Offline

#73 2009-07-01 05:42:59

pid
Member
Registered: 2009-04-05
Posts: 5

Re: [REQUEST] moblin

Oh, I'm sorry. Speichzugriffsfehler = segmentation fault

edit: Appearently I caught a bad revision, now it works smile

Last edited by pid (2009-07-01 06:47:50)

Offline

#74 2009-07-01 23:39:40

mianka
Member
From: BE LEUVEN
Registered: 2006-05-30
Posts: 209

Re: [REQUEST] moblin

Arch has it's own netbook project:http://fireflylinux.com/ .

Last edited by mianka (2009-07-01 23:40:29)

Offline

#75 2009-07-02 12:36:19

scio
Member
From: Buffalo, NY
Registered: 2008-08-05
Posts: 366

Re: [REQUEST] moblin

mianka wrote:

Arch has it's own netbook project:http://fireflylinux.com/ .

No it doesn't, that's someone else making a netbook project based on arch.  Also, that project is just arch with LXDE and a few packages installed and is totally unrelated to moblin.

</offtrack><backontopic>

Offline

Board footer

Powered by FluxBB