Commit Graph

69 Commits

Author SHA1 Message Date
Milan Bouchet-Valat
8ade2fc116 Make pango be built before clutter in moduleset
If pango is built, do it before clutter since it will
use it instead of the system version.
2010-06-29 19:52:59 +02:00
Owen W. Taylor
e8b72a2a59 Switch to using dconf
* Add dconf and dependencies to the moduleset and add
  libxml2 dependency to gnome-shell-build-setup.sh

* if we can't ping the dconf D-Bus service, try to
  activate it manually.

* Stop forcing GConf via GSETTINGS_BACKEND

https://bugzilla.gnome.org/show_bug.cgi?id=622308
2010-06-25 12:48:14 -04:00
Milan Bouchet-Valat
9af979097d Remove unintended GConf dependency GTK+ in moduleset
Commit 2799327 introduced a dependency on gtk+ for gconf,
instead of glib, pulling the whole stack.
2010-06-21 18:34:02 +02:00
Milan Bouchet-Valat
2799327c84 Migrate to GSettings
Use GSettings for all Shell configuration. GConf is kept to read
configuration from external programs (Metacity, Nautilus and Magnifier),
but ShellGConf is removed because it's mostly useless for the few calls
we still have. Also get rid of unused GConf code in ShellAppSystem.

A basic GConf schema is still used to override Metacity defaults and
configure Magnifier in a system-wide fashion. GConf is also used as
GSettings backend via the GSETTINGS_BACKEND environment variable.
All of this will be removed when these programs have been ported
to GSettings and able to use dconf.

GLib 2.25.9 is required. Schemas are converted to the new XML format,
and compiled at build time in data/ so that the Shell can be run from
the source tree. This also requires setting the GSETTINGS_SCHEMA_DIR
environment variable both when running installed or from source tree,
in src/gnome-shell.in and src/gnome-shell-clock-preferences.in.

https://bugzilla.gnome.org/show_bug.cgi?id=617917
2010-06-18 20:27:41 +02:00
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
Owen W. Taylor
e7066d12cf Convert the check-for-missing files check to a python script
'git ls-files --exclude=<pattern>' was changed (intentionally!)
not to exclude anything files that are actually in the index.
Since git ls-files by default simply lists the files in the
index, this is a problem. Emulating this in shell went past
the limits of what made sense, so move it to a simple external
python script.
2010-02-22 19:37:49 -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