2008-09-26 04:05:31 +00:00
|
|
|
#!/bin/bash
|
2001-06-02 04:14:18 +00:00
|
|
|
# Run this to generate all the initial makefiles, etc.
|
|
|
|
|
|
|
|
srcdir=`dirname $0`
|
|
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
|
Comprehensively rename to Mutter
Code:
All references in the code not related to themes, keybindings, or
GConf were changed from 'metacity' to 'mutter'. This includes, among other
things, strings, comments, the atoms used in the message protocol, and
the envvars used for debugging. The GConf schema file was reduced to
the 3 settings new to mutter.
The overall version was brought up to 2.27 to match current gnome.
Structure:
All files named '*metacity*' were renamed '*mutter*' with appropriate
changes in the automake system. Files removed are
doc/creating_themes, src/themes, doc/metacity-theme.dtd,
metacity.doap. These files will eventually end up in an external
gnome-wm-data module.
Installation location:
On the filesystem the mutter-plugindir was change from
$(libdir)/metacity/plugins/clutter to just $(libdir)/mutter/plugins.
The mutter-plugins.pc.in reflects these changes.
Note:
mutter.desktop.in and mutter-wm.desktop both continue to have
X-GNOME-WMSettingsModule=metacity set. This allows
gnome-control-center to continue using libmetacity.so for
configuration. This is fine since most the general keybindings and wm
settings are being read from /apps/metacity/* in gconf.
2009-06-10 10:29:20 +00:00
|
|
|
PKG_NAME="mutter"
|
2013-04-23 20:01:07 +00:00
|
|
|
REQUIRED_AUTOMAKE_VERSION=1.13
|
2006-04-25 21:04:57 +00:00
|
|
|
|
2012-11-15 20:27:28 +00:00
|
|
|
(test -f $srcdir/configure.ac \
|
2006-04-25 21:04:57 +00:00
|
|
|
&& test -d $srcdir/src) || {
|
|
|
|
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
|
|
|
|
echo " top-level metacity directory"
|
|
|
|
exit 1
|
2001-06-02 04:14:18 +00:00
|
|
|
}
|
|
|
|
|
2006-04-25 21:04:57 +00:00
|
|
|
which gnome-autogen.sh || {
|
2008-09-26 04:05:31 +00:00
|
|
|
echo "You need to install gnome-common from GNOME Subversion (or from"
|
|
|
|
echo "your distribution's package manager)."
|
2006-04-25 21:04:57 +00:00
|
|
|
exit 1
|
2001-06-02 04:14:18 +00:00
|
|
|
}
|
2006-04-25 21:04:57 +00:00
|
|
|
USE_GNOME2_MACROS=1 USE_COMMON_DOC_BUILD=yes . gnome-autogen.sh
|