-
Notifications
You must be signed in to change notification settings - Fork 78
Jhbuild #404
base: master
Are you sure you want to change the base?
Jhbuild #404
Conversation
nice @joone PTAL |
I tried to run jhbuild with this patches after installed Ubuntu 14.10. The installation and build work fine in Ubuntu 14.10, but it needs to install apt-file, llvm-dev, libexpat1-dev, libpng12-dev, libxcb-shm0-dev, libjpeg-dev and libpam0g-dev |
Do you remember which particular modules required those packages, so I can add them as sysdeps? I will need to try removing those from my system and see if I can figure it out. apt-file isn't a sysdep of course, since jhbuild will prompt Ubuntu/Debian users to install that. |
@mcatanzaro I don't remember exactly. |
@kalyankondapally I think we can merge this patch and then add the missing dependencies. |
jhbuild sysdeps work on any distro, and let us install the things we need without knowing distribution-specific names for all the packages. To use: $ cd chromium/src/ozone/tools/jhbuild $ jhbuild -f wayland.jhbuildrc sysdeps --install Caveat: you need to install python-mako manually, since jhbuild doesn't support installation of python dependencies yet. But it will appear in the list of missing system dependencies.
The demo clients are nifty tools to have during development.
Currently, you have to cd into src/ozone/tools/jhbuild in order to run jhbuild. That's annoying. Make the paths depend on the location of the jhbuildrc, rather than the cwd.
I've never actually managed to run Weston outside of X11. But hey, if you want to do it, you can do it! This allows using the jhbuild environment without installing a bunch of X11 dependencies. (Compare the result of `jhbuild -f wayland.jhbuildrc sysdeps` with `jhbuild -f wayland-no-x11.jhbuildrc sysdeps` to see the difference.)
I'm working on this now. It's not a big job, I was just a bit lazy in getting around to it. |
Based on Joone's wiki page.
I forgot to say, I think this is ready now. :) |
jhbuild sysdeps work on any distro, and let us install the things we
need without knowing distribution-specific names for all the packages.
To use:
$ cd chromium/src/ozone/tools/jhbuild
$ jhbuild -f wayland.jhbuildrc sysdeps --install
Caveat: you need to install python-mako manually, since jhbuild doesn't
support installation of python dependencies yet. But it will appear in
the list of missing system dependencies.
This is done using PackageKit on most distros (which is great and usually doesn't require root) but using apt-file on Debian/Ubuntu (which is a bit slow and unfortunately requires it to be installed and run manually; jhbuild will instruct you on how to do so). I tested only on Fedora 22 and am curious if it works for you on Ubuntu; I expect there will be some build error requiring another dependency to be added to the moduleset, but maybe we get lucky and it will work the first time.
Example output:
I'm planning to remove the WebKitGTK+ install-dependencies script in favor of jhbuild sysdeps as well, incidentally, but that is a much bigger project.