Commit Graph

164 Commits

Author SHA1 Message Date
Colin Walters
1ddb775d59 [gnome-shell.modules] Add json-glib to jhbuild
We want to have Clutter built with the external json-glib, with
introspection support.  Clutter's build breaks if we compile
it with introspection but the system install doesn't have it,
and anyways the internal copy is buggy and unmaintained.
2010-04-05 14:08:28 -04:00
Owen W. Taylor
f0e531310d Switch Clutter to 1.2 branch
Clutter has now been branched in preparation for 1.3 development,
so build the clutter-1.2 branch instead.
2010-03-17 13:57:11 -04:00
Owen W. Taylor
58bb0044b2 Support and require Clutter 1.2
- Specify a minimum version of clutter-1.2.0
 - Switch clutter branch in the moduleset to master
 - Replace deprecated cogl_texture/material_unref() with
   cogl_handle_unref()
 - Use cogl_clip_push_rectangle() rather than cogl_clip_push()
 - Replace cogl_check_extension() with strstr - should be
   accurate enough.

https://bugzilla.gnome.org/show_bug.cgi?id=610679
2010-03-11 15:08:48 -05:00
Colin Walters
dd23a61dbb [gnome-shell.modules] Skip all modules in gir-repository except those we need
Otherwise we're much more subject to random build failures from e.g.
GStreamer updates or the like.
2010-03-03 17:18:49 -05:00
Colin Walters
2e00bc4aed Add gnome-shell-full target
This basically drops gir-repository, but pulls in GTK+ and stack.

TODO on this - we need to patch GTK+ to (possibly optionally)
pull in stuff like pixbuf loaders and themes from the system as well.

https://bugzilla.gnome.org/show_bug.cgi?id=610993
2010-03-03 16:48:42 -05:00
Colin Walters
71786e50cf [build setup] Add -L to curl invocations
To follow redirects, otherwise we might be downloading 301 HTML pages
instead of the data we want.
2010-01-06 13:56:47 -05:00
Colin Walters
e5647c4f83 [build setup] Add gcc-c++ on Fedora 2010-01-06 13:54:12 -05:00
Owen W. Taylor
0e5c83bd2a Fix URLs pointing to git.gnome.org/cgit
git.gnome.org/cgit was relocated to git.gnome.org/browse; adjust
URLs in our build script to match.
2009-12-20 11:36:10 -05:00
Dan Winship
050e710770 Use gnome-terminal rather than xterm+xeyes+xlogo in --xephyr mode
https://bugzilla.gnome.org/show_bug.cgi?id=588056
2009-11-13 14:43:10 -05:00
Owen W. Taylor
53fbabe2ca Use GtkIMContext instead of ClutterIMContext
Add StIMText, which is a drop-in replacement for ClutterIMText but
uses GtkIMContext instead of ClutterIMContext.

StIMText doesn't have preedit support (would need ClutterText
changes), so isn't going to be useful for complicated input methods,
but is good enough to get dead keys and similar working.

entry.js: Simple test case of StEntry
gnome-shell.modules: Remove clutter-imcontext module

https://bugzilla.gnome.org/show_bug.cgi?id=597471
2009-10-06 14:48:32 -04:00
Owen W. Taylor
956f89f377 Add dep of clutter on gir-repository to moduleset
Clutter requires Pango.gir. Until Pango is universally available
in a version that builds its own GIR, Pango.gir is built as part
of gir-repository.

(Found by Adel Gadllah)
2009-10-01 17:34:28 -04:00
Siegfried-Angel Gevatter Pujals
96f4d318c5 Add libcroco to gnome-shell-build-setup.sh
Check for the new build dependency "libcroco" when running on any
of the distros supported by the script.
2009-10-01 21:57:53 +02:00
Jon Nettleton
6f7da264ba Support LinuxMint in the build script
LinuxMint is based on Ubuntu, so can be handled with the
same package list as Debian and Ubuntu.

https://bugzilla.gnome.org/show_bug.cgi?id=596447
2009-10-01 15:40:04 -04:00
Owen W. Taylor
640e45c12a Make gnome-shell depend on clutter-imcontext
The gnome-shell module requires clutter-imcontext to build.
2009-10-01 15:05:18 -04:00
Owen W. Taylor
58325fca76 Import MxEntry, MxLabel, MxClipboard
For now this commit introduces an external dependency on clutter-imcontext.

https://bugzilla.gnome.org/show_bug.cgi?id=591245
2009-10-01 14:41:17 -04:00
Owen W. Taylor
687814b6c6 Update build-setup.sh for gconf, gio python usage
Add pygobject and gnome-python-gconf dependencies to
gnome-shell-build-setup.sh package lists for Fedora and Ubuntu/Debian.

http://bugzilla.gnome.org/show_bug.cgi?id=593458
2009-09-01 09:02:46 -04:00
Owen W. Taylor
3adec65e20 Remove pre-GNOME-2.26 panel-replacement code
gnome-shell.in: Remove the code to replace gnome-panel by attaching
  to it with GDB; this was always problematical (required gdb, debug
  symbols, finding the pid of gnome-panel, etc.)

gnome-shell-build-setup.sh: Require 2.26 to be in place before building
  the shell; remove gdb from the list of required packages.

http://bugzilla.gnome.org/show_bug.cgi?id=593325
2009-08-28 12:34:04 -04:00
Owen W. Taylor
21ef33df65 Replace libgnomegnomeui with gnome-desktop in gnome-shell-build-setup.sh
With the recent switch to use libgnome-desktop for thumbnailing instead
of libngomeui, we should require that instead.

(Updated for Debian/Ubuntu, Fedora, OpenSuSE, unable to figure out
the right name for Mandriva in a quick web search.)
2009-08-11 16:39:43 -04:00
Owen W. Taylor
de8084ed40 Specify the clutter-1.0 branch of Clutter
For now, we want to stick to the stable branch of clutter rather
than tracking new developments. Now that Clutter has branched for
1.0 switch our moduleset to the clutter-1.0 branch.
2009-08-10 12:13:09 -04:00
Milan Bouchet-Valat
296e0c2054 Remove residual references to libXScrnSaver in required packages
See 5527fa2bc3. Now that we don't use it at all, no need to install the package either.
2009-08-07 15:28:05 +02:00
Owen W. Taylor
45dc34bfa2 Add mesa-utils to build-setup.sh for Debian/Utils
At least on Ubuntu 9.04 and Debian Squeeze, glxinfo is in the
mesa-utils package, so pull that in.

Reported by Flamarion Jorge
http://bugzilla.gnome.org/show_bug.cgi?id=590480
2009-08-03 15:14:53 -04:00
William Lachance
5ae6239344 SuSE needs xorg-x11-proto-devel for X11 screen saver extension header
libXScrnSaver-devel was a Mandriva package, not available on SuSE.
2009-07-02 00:37:05 +02:00
Marina Zhurakhinskaya
5f0d67263b Add '--disable-default-service' to gconf module autogenargs
This allows us to avoid adding PolicyKit DBus as a dependency.

Closes http://bugzilla.gnome.org/show_bug.cgi?id=586987
2009-06-29 14:36:21 -04:00
Dan Winship
66a0bef1fb Add gconf to gnome-shell.modules for gconf/jhbuild support 2009-06-25 09:16:35 -04:00
Dan Winship
7fc4560e86 Add gstreamer deps for Ubuntu to gnome-shell-build-setup.sh
http://bugzilla.gnome.org/show_bug.cgi?id=579739
2009-05-05 17:05:59 -04:00
Milan Bouchet-Valat
f4f92a879c application monitoring base object
The new ShellAppMonitor object is responsible for tracking active applications and store statistics.

http://bugzilla.gnome.org/show_bug.cgi?id=570899
2009-04-29 11:05:03 -04:00
Dan Winship
59ac8d15ad Specify bindir explicitly when installing jhbuild
Works around the new default install dir (~/.local/bin) in the latest
git jhbuild.
2009-04-24 15:49:11 -04:00
Owen W. Taylor
b2a51db065 Switch from metacity-clutter to mutter
Switch our window manager dependency in the jhbuild moduleset from
fishsoup.net branch of metacity-clutter to mutter module on
git.gnome.org.
2009-04-24 10:26:42 -04:00
Marina Zhurakhinskaya
ac64e86932 Add xserver-xephyr to Debian/Ubuntu dependencies.
This is needed to be able to start the shell in Xephyr.
2009-04-22 16:17:50 -04:00
Owen W. Taylor
822ef09350 Refer to xulrunner-dev and python-dev on Debian/Ubuntu
In the build setup script using unversioned xulrunner-dev and
python-dev gives better compatibility with different operating
systems and versions than using xulrunner-1.9-dev and python2.5-dev.

http://bugzilla.gnome.org/show_bug.cgi?id=578773 (Siegfried Gevatter)
2009-04-20 18:04:44 -04:00
Owen W. Taylor
3de308ebe5 Download jhbuild from git
Switch gnome-shell-build-setup.sh to check out subversion from git
rather than the old subversion location.
2009-04-18 14:23:36 -04:00
Owen W. Taylor
14498d80f1 Add libgnome-menu-dev for Ubuntu/Debian
gnome-shell-build-setup.sh add libgnome-menu-dev to the list of
required dependencies.
2009-04-09 10:32:21 -04:00
Marina Zhurakhinskaya
ed0f7de4c0 Add gnome-menus-devel to the Fedora build dependencies.
It's needed by the new code for displaying application categories.
2009-04-09 09:54:58 -04:00
Owen W. Taylor
7995f75cfb Handle previously installed dpkgs
Checking return code of dpkg --status doesn't handle removed files
properly. Get the text status of the package instead and make sure
that it is 'installed'.

http://bugzilla.gnome.org/show_bug.cgi?id=577456
2009-04-01 16:56:50 -04:00
Owen W. Taylor
afceea3fe6 Add a built-in screencast recording facility
For development and demonstration purposes, it's neat to be able to
record a screencast of gnome-shell without any external setup.
Built-in recording can also give much better quality than is possible
with a generic desktop recording, since we hook right into the paint
loop.

src/shell-recorder.[ch]: A general-purposes object to record a Clutter
 stage to a GStreamer stream.
src/shell-recorder-src.[ch]: A simple GStreamer source element (similar
 to appsrc in the most recent versions of GStreamer) for injecting
 captured data into a GStreamer pipeline.
src/test-recorder.c: Test program that records a simple animation.

configure.ac src/Makefile.am: Add machinery to conditionally build
 ShellRecorder.
tools/build/gnome-shell-build-setup.sh: Add gstreamer packages
 to the list of required packages for Fedora.

js/ui/main.js: Hook up the recorder to a MetaScreen ::toggle-recording
 keybinding.

http://bugzilla.gnome.org/show_bug.cgi?id=575290
2009-03-20 16:53:50 -04:00
Owen W. Taylor
384b88910a Call a global variable in our jhbuildrc _libdir not libdir
jhbuild will complain if there are unknown variables not prefixed
with _ in the jhbuildrc, so rename libdir to _libdir.
2009-03-17 16:09:06 -04:00
Owen W. Taylor
bd2fecc222 Add commented out workaround for #571240
jhbuildrc-gnome-shell: Remove obsolete setting of
   os.environ['INSTALL'] - setting installprog is the modern way
   to do it.
jhbuildrc-custom-example: Show how to override installprog to
  work around #571240 on Arch Linux.
2009-03-14 18:22:39 -04:00
Colin Walters
947303cc0b Use the use_lib64 jhbuild variable to pick the correct libdir
Fixes multilib systems with 32 bit devel packages installed.
2009-03-10 16:25:53 -04:00
Dan Winship
c67289fa2c Update Fedora deps (Bug 572053) and reorganize/improve in general
Package checking now happens first, and checking for "curl" (and other
packages needed by the script itself) happens at the same time. I
tried to extract out a genericized list of what packages are needed,
and then reordered the packages for each distro to make it clear which
distros are missing some of the required packages in their lists
(currently, everything except Fedora)
2009-02-24 13:05:13 -05:00
Owen W. Taylor
0f7abf96a7 Port to Clutter-0.9
tools/build/gnome-shell.modules: Point  at master branch of Clutter (0.9)
  and make gobject-introspection a dep of Clutter.
configure.ac src/Makefile.am: Use Clutter-0.9
js/ui/button.js js/ui/genericDisplay.js js/ui/overlay.js js/ui/panel.js
js/ui/runDialog.js js/ui/workspaces.js src/shell-status-menu.c:
  Use ClutterText instead of ClutterLabel and ClutterEntry
js/ui/workspaces.js js/ui/genericDisplay.js: Use ClutterClone instead
  of ClutterCloneTexture
src/shell-global.[ch]: Add Shell.get_event_key_symbol() to workaround
  unaccessibility of clutter_key_event_symbol() to use.
js/runDialog.js js/overlay.js: Use Shell.get_event_key_symbol() as
  appropriate.
2009-02-23 14:53:06 -05:00
Frederic Crozat
2a57080756 Add mesa-demos dependency on Mandriva for glxinfo 2009-02-13 21:12:25 +01:00
Frederic Crozat
2a031b3a21 Add flex bison GL-devel zenity intltool for Mandriva packages 2009-02-13 21:03:16 +01:00
Frederic Crozat
bb1d1cc48d Add more packages for Mandriva build and really call urpmi 2009-02-13 18:53:54 +01:00
Frederic Crozat
978fe62e3e Add support for Mandriva Linux 2009-02-13 18:21:51 +01:00
Owen W. Taylor
edcefc70aa Repoint modules for move to git.gnome.org
gobject-introspection, gir-repository, and gjs have moved to git; adjust
jhbuild moduleset accordingly.

Also remove example for setting your svn.gnome.org username since none
of the modules are there any more.
2009-02-12 18:04:05 -05:00
William Lachance
de1c150f50 Add librsvg-devel to the OpenSuSE dependency list
librsvg-devel was missing from the OpenSuSE list, though on the
lists for other distros. Add it to the OpenSuSE list as well.
2009-02-10 15:32:02 -05:00
William Lachance
191464e441 OpenSUSE support for gnome-shell-build-setup.sh 2009-02-09 12:19:28 -05:00
Owen Taylor
9695f8f86e Update build scripts to reflect move of gnome-shell to git.gnome.org
gnome-shell-build-setup.sh jhbuildrc-gnome-shell: Download files from
 git.gnome.org/cgit rather than svn.gnome.org.

gnome-shell.modules: Point to the new location of gnome-shell

jhbuildrc-custom-example: Show how to configure non-anonymous accesss
 to git.gnome.org.

svn path=/trunk/; revision=189
2009-02-05 23:23:18 +00:00
Owen Taylor
18503ed28f Improve dependency checking for gnome-build-setup.sh
- Check for curl upfront to avoid problems if it is missing later
- Sync up Debian and Fedora depedency lists
- Add readline dependency

Patch from timbobsteve
http://bugzilla.gnome.org/show_bug.cgi?id=570015

svn path=/trunk/; revision=175
2009-02-02 22:22:00 +00:00
Owen Taylor
ee55d96190 Improve gnome-shell-build-setup.sh for Fedora
- If lsb_release binary isn't present, look for /etc/fedora-release
- Check for required packages for Fedora and invoke
  gpk-install-package-name

Patch from Mads Villadsen.

svn path=/trunk/; revision=165
2009-01-27 16:55:39 +00:00
Owen Taylor
f3ca7a0430 Repoint clutter to the new git repositories
clutter and clutter-cairo have moved to git; adjust our jhbuild
moduleset to match the new location.

svn path=/trunk/; revision=128
2008-12-17 16:52:05 +00:00
Dan Winship
6c1cea927c Add <mirror> nodes for the gnome repo declaration (copied from the
upstream gnome modulesets), to allow using the experimental git mirror
support. See http://bugzilla.gnome.org/show_bug.cgi?id=538507

svn path=/trunk/; revision=118
2008-12-05 14:14:36 +00:00
Owen Taylor
436a5cd87b Add clutter-cairo to the gir-repository builddeps
We need to build clutter-cairo before gir-repository, since gir-repository
includes ClutterCairo.gir.

svn path=/trunk/; revision=114
2008-12-03 22:16:55 +00:00
Colin Walters
c0cb00a626 Add clutter-cairo to moduleset
We depend on it now for Big library

svn path=/trunk/; revision=105
2008-12-01 23:14:12 +00:00
Owen Taylor
097346766e Bug 562629 – gnome-shell-build-setup.sh: more Ubuntu dependencies
Improve gnome-build-setup.sh by:
 - Adding more required dependencies
 - Fixing message when $reqs has multiple words
 - Remove stray + from file
Patch from RainCT (Siegfried Gevatter).

svn path=/trunk/; revision=93
2008-11-29 21:44:17 +00:00
Colin Walters
6cc571b41e Add more Ubuntu requirements checking to build setup script
Signed-off-by: Colin Walters <walters@verbum.org>

svn path=/trunk/; revision=88
2008-11-28 20:35:32 +00:00
Owen Taylor
0c9468f139 Check that xulrunner-1.9-dev is installed ahead of time
On Debian and Ubuntu, if xulrunner-1.9-dev is not installed before starting jhbuild,
then things will break in mysterious ways, so check for that at the end of
gnome-shell-build-setup.sh.

Patch from Sander Dijkhuis.


svn path=/trunk/; revision=54
2008-11-18 00:45:32 +00:00
Johan Dahlin
e86920147b Use = instead of == for comparision. (dash compatibility)
svn path=/trunk/; revision=30
2008-11-04 18:07:07 +00:00
Owen Taylor
a569063e4f Fix location of libmozjs.so for Ubuntu
/usr/lib/xulrunner-<version>/lib in the previous patch
was wrong, should be /usr/lib/xulrunner-<version>. Also,
fix comment.

svn path=/trunk/; revision=28
2008-11-03 21:11:28 +00:00
Owen Taylor
39184955e5 Work around libmozjs not being in ld.so.conf on Ubuntu
In our jhbuildrc, add the path containing libmozjs.so on Ubuntu to
to LD_LIBRARY_PATH. The path is heuristically derived from pkg-config
output.

svn path=/trunk/; revision=26
2008-11-03 20:33:14 +00:00
Owen Taylor
4a651471e3 Build metacity-clutter after gir-repository
Once we add introspection information to metacity-clutter, we need
to make sure that we build it after gir-repository (and thus
gobject-introspection.)

svn path=/trunk/; revision=17
2008-11-01 22:56:53 +00:00
Owen Taylor
baf6cf0dc5 Build clutter before gir-repository
We need to build gir-repository after clutter so that the
typelib for clutter is built; add a dependency.

svn path=/trunk/; revision=15
2008-11-01 15:58:13 +00:00
Owen Taylor
3d0966315e Add gjs as a dependency of gnome-shell
svn path=/trunk/; revision=5
2008-10-31 15:18:18 +00:00
Owen Taylor
d6dae414a4 Add jhbuild setup script and moduleset
gnome-shell.modules: moduleset to build gnome-shell and dependencies

gnome-shell-build-setup.sh: Script to set up a jhbuild for gnome-shell,
  modelled after and partially copied from gtk-osx-build-setup.sh
jhbuildrc-gnome-shell: ~/.jhbuildrc for the build
jhbuildrc-custom-example: Example ~/.jhbuildrc-custom

svn path=/trunk/; revision=3
2008-10-31 05:25:28 +00:00