2.0: Bump clutter-1.0 to clutter-2.0

Some places in the build system do not (or cannot) use the macro-ified
CLUTTER_API_VERSION, so we need to fix them up manually.
This commit is contained in:
Emmanuele Bassi 2012-10-07 20:11:43 +01:00
parent 2797740885
commit 29c42bfe8e
12 changed files with 14 additions and 16 deletions

View File

@ -18,7 +18,7 @@ test $TEST_TYPE $FILE || {
# GNU gettext automake support doesn't get along with git.
# https://bugzilla.gnome.org/show_bug.cgi?id=661128
touch -t 200001010000 po/clutter-1.0.pot
touch -t 200001010000 po/clutter-2.0.pot
GTKDOCIZE=`which gtkdocize`
if test -z $GTKDOCIZE; then

View File

@ -26,5 +26,5 @@ fi
cpp -P ${cppargs} ${srcdir:-.}/clutter.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE//' -e 's/ DATA//' | sort > expected-abi
nm -D -g --defined-only .libs/libclutter-1.0.so | cut -d ' ' -f 3 | egrep -v '^(__bss_start|_edata|_end)' | sort > actual-abi
nm -D -g --defined-only .libs/libclutter-2.0.so | cut -d ' ' -f 3 | egrep -v '^(__bss_start|_edata|_end)' | sort > actual-abi
diff -u expected-abi actual-abi && rm -f expected-abi actual-abi

View File

@ -10,4 +10,4 @@ Description: Clutter Accessibility Implementation Library
Version: @VERSION@
Libs: -L${libdir} -lclutter-${apiversion}
Cflags: -I${includedir}/clutter-${apiversion}
Requires: atk clutter-1.0
Requires: atk clutter-${apiversion}

View File

@ -441,7 +441,7 @@ clutter_config_read (void)
gchar *config_path;
config_path = g_build_filename (CLUTTER_SYSCONFDIR,
"clutter-1.0",
"clutter-2.0",
"settings.ini",
NULL);
if (g_file_test (config_path, G_FILE_TEST_EXISTS))
@ -450,7 +450,7 @@ clutter_config_read (void)
g_free (config_path);
config_path = g_build_filename (g_get_user_config_dir (),
"clutter-1.0",
"clutter-2.0",
"settings.ini",
NULL);
if (g_file_test (config_path, G_FILE_TEST_EXISTS))

View File

@ -1127,7 +1127,7 @@ dnl === I18N ==================================================================
AM_GNU_GETTEXT_VERSION([0.17])
AM_GNU_GETTEXT([external])
GETTEXT_PACKAGE="clutter-1.0"
GETTEXT_PACKAGE="clutter-2.0"
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],
["$GETTEXT_PACKAGE"],

View File

@ -129,7 +129,7 @@ ui_data = \
$(srcdir)/script-ui.json \
$(NULL)
examplesdir = $(datadir)/clutter-1.0/cookbook/examples
examplesdir = $(datadir)/clutter-2.0/cookbook/examples
examples_DATA = $(uidata) $(srcdir)/*.c $(srcdir)/*.h
-include $(top_srcdir)/build/autotools/Makefile.am.gitignore

View File

@ -7,8 +7,6 @@
*
* but when the pointer is over the overlap between red and green,
* signals are emitted by green
*
* gcc -g -O0 -o stacked-actors-and-events stacked-actors-and-events.c `pkg-config --libs --cflags clutter-1.0 glib-2.0` -lm
*/
#include <clutter/clutter.h>

View File

@ -84,7 +84,7 @@
<title>Compiling the examples</title>
<para>This document comes with full examples, usually stored
on disk in <filename><emphasis>datadir</emphasis>/clutter-1.0/cookbook/examples</filename>
on disk in <filename><emphasis>datadir</emphasis>/clutter-2.0/cookbook/examples</filename>
directory.</para>
<para>Each example can be compiled using:</para>
@ -92,9 +92,9 @@
<informalexample>
<programlisting>
cc \
`pkg-config --cflags clutter-1.0` \
`pkg-config --cflags clutter-2.0` \
-o <emphasis>example</emphasis> <emphasis>example</emphasis>.c \
`pkg-config --libs clutter-1.0`
`pkg-config --libs clutter-2.0`
</programlisting>
</informalexample>

View File

@ -243,8 +243,8 @@
<title>Configuration File</title>
<para>Clutter will look for files named <filename>settings.ini</filename>
located in the <filename>/etc/clutter-1.0</filename> and
<filename>$XDG_CONFIG_HOME/clutter-1.0</filename> directories. These files
located in the <filename>/etc/clutter-2.0</filename> and
<filename>$XDG_CONFIG_HOME/clutter-2.0</filename> directories. These files
must be valid key files (see #GKeyFile in the GLib documentation) and may
have three sections:</para>

View File

@ -1,7 +1,7 @@
# Makefile variables for PO directory in any package using GNU gettext.
# Usually the message domain is the same as the package name.
DOMAIN = clutter-1.0
DOMAIN = clutter-2.0
# These two variables depend on the location of this directory.
subdir = po

View File

@ -25,4 +25,4 @@ png_files = \
light0.png \
$(NULL)
EXTRA_DIST = $(json_files) $(png_files) clutter-1.0.suppressions
EXTRA_DIST = $(json_files) $(png_files) clutter-2.0.suppressions