[gnome-flashback] How to build GNOME Flashback with JHBuild



Hi,

Untested steps with how to build full GNOME Flashback session. This will build gnome-shell and mutter even we will not use them. It will build gnome 3.14!

1. Install JHBuild. For more info see:
https://developer.gnome.org/jhbuild/stable/getting-started.html.en

2. Setup GNOME to run from display manager. For more info see:
https://developer.gnome.org/jhbuild/stable/jhbuild-and-gnome.html.en

I am not using script from above link. I am using jhbuild-session script from examples directory:
https://git.gnome.org/browse/jhbuild/tree/examples/jhbuild-session

You need set correct path for GNOME if you are not installing gnome in /opt/gnome. Also add --session=gnome-flashback to exec line otherwise you will be logged in GNOME Shell session.

3. Update ~/.config/jhbuildrc. To build full session:

Update moduleset and modules:
moduleset = 'gnome-world'
modules = ['meta-gnome-core', 'gnome-flashback', 'meta-gnome-flashback']
(In future gnome-flashback will be added as dependency to meta-gnome-flashback.)

Add this to config file:
branches['gnome-panel'] = 'wip/gnome-3.10+'
branches['gnome-applets'] = 'wip/gnome-3.10+'

My full ~/.config/jhbuildrc file:
repos['git.gnome.org'] = 'ssh://muktupavels git gnome org/git/'

moduleset = 'gnome-world'
modules = ['meta-gnome-core', 'gnome-flashback', 'meta-gnome-flashback']

tarballdir = '/home/alberts/Gnome/JHBuild/downloads'
checkoutroot = '/home/alberts/Gnome/JHBuild/checkout'
prefix = '/home/alberts/Gnome/JHBuild/install'

branches['gnome-panel'] = 'wip/gnome-3.10+'
branches['gnome-applets'] = 'wip/gnome-3.10+'

module_autogenargs['wayland'] = '--disable-documentation'
module_autogenargs['gnome-terminal'] = '--disable-search-provider'
module_autogenargs['gnome-settings-daemon'] = '--disable-network-manager'

4. Run jhbuild build. Fix errors that you got until all packages are build. I am almost sure there will be plenty of errors because of missing dependencies. Also some packages might fail to build.

On ubuntu 14.10 I installed following packages:
sudo apt-get install ant ant-optional ca-certificates-java clang-3.3 comerr-dev default-jre-headless emscripten fastjar icedtea-7-jre-jamvm icon-naming-utils icu-devtools jarwrapper java-common krb5-multidev libandroid-json-org-java libarchive-dev libargs4j-java libasound2-dev libatinject-jsr330-api-java libavahi-client-dev libavahi-common-dev libavahi-glib-dev libavahi-gobject-dev libc-ares2 libcairomm-1.0-dev libcanberra-gtk-dev libclang-common-3.3-dev libclang1-3.3 libclosure-compiler-java libcurl4-gnutls-dev libdrm-dev libenchant-dev libexempi-dev libexif-dev libflac-dev libgcrypt11-dev libgl1-mesa-dev libgmime-2.6-dev libgnutls-dev libgnutlsxx27 libgpg-error-dev libgphoto2-dev libgssrpc4 libguava-java libicu-dev libidn11-dev libjson-c-dev libjson0-dev libjsr305-java libkadm5clnt-mit9 libkadm5srv-mit9 libkdb5-7 libkrb5-dev liblcms2-dev libldap2-dev libllvm3.3 libmozjs-24-0 libmozjs-24-bin libmozjs-24-dev libmozjs185-1.0 libmozjs185-dev libmusicbrainz5-0 libmusicbrainz5-dev libneon27-gnutls-dev libnice-dev liboauth-dev libobjc-4.8-dev libobjc4 libogg-dev libp11-kit-dev libproxy-dev libpython-dev libpython2.7-dev libpython3-dev libpython3.4-dev librtmp-dev libsigc++-2.0-dev libsmbclient-dev libsndfile1-dev libspeex-dev libtag1-dev libtasn1-6-dev libtinfo-dev libusb-1.0-0-dev libusb-1.0-doc libv4l-dev libv4l2rds0 libv8-3.14.5 libvorbis-dev libvpx-dev libwavpack-dev libx11-xcb-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxerces2-java libxml-commons-external-java libxml-commons-resolver1.1-java libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-expat-perl libxml-sax-perl libxml-simple-perl libxshmfence-dev libxtst-dev libxxf86vm-dev llvm llvm-3.3 llvm-3.3-dev llvm-3.3-runtime llvm-3.4 llvm-3.4-dev llvm-3.4-runtime llvm-runtime mesa-common-dev nodejs openjdk-7-jre-headless python-dev python2.7-dev python3-cairo-dev python3-dev python3.4-dev tzdata-java uuid-dev x11proto-dri2-dev x11proto-gl-dev x11proto-record-dev x11proto-xf86vidmode-dev libcap-dev libdb-dev libwebp-dev ruby libpam-dev libmpfr-dev bison flex gperf ragel libreadline-dev libjpeg-dev libtiff-dev libsystemd-login-dev libegl1-mesa-dev libgusb-dev libudev-dev libsbc-dev libsystemd-journal-dev libsystemd-daemon-dev libwacom-dev libcups2-dev texinfo libcrack2-dev libmm-glib-dev modemmanager-dev libgnome-bluetooth-dev raptor-utils python-rdflib

6. Try to login in GNOME Flashback session from your display manager.

--
Alberts Muktupāvels


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]