summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2012-10-07 20:11:43 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2013-04-05 18:47:59 +0100
commit29c42bfe8e16dfe83b9d0e63847a86751b97c9f6 (patch)
tree3ee8cd77d59a7bfbaef88fa039666a93a4b3f245
parent27977408853a1b91c3aff934ac009aaaf2d4759b (diff)
downloadclutter-29c42bfe8e16dfe83b9d0e63847a86751b97c9f6.tar.gz
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.
-rwxr-xr-xautogen.sh2
-rwxr-xr-xclutter/abicheck.sh2
-rw-r--r--clutter/cally/cally.pc.in2
-rw-r--r--clutter/clutter-main.c4
-rw-r--r--configure.ac2
-rw-r--r--doc/cookbook/examples/Makefile.am2
-rw-r--r--doc/cookbook/examples/events-pointer-motion-stacked.c2
-rw-r--r--doc/cookbook/introduction.xml6
-rw-r--r--doc/reference/clutter/running-clutter.xml4
-rw-r--r--po/Makevars2
-rw-r--r--tests/data/Makefile.am2
-rw-r--r--tests/data/clutter-2.0.suppressions (renamed from tests/data/clutter-1.0.suppressions)0
12 files changed, 14 insertions, 16 deletions
diff --git a/autogen.sh b/autogen.sh
index 61c3b46f5..5e195603a 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -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
diff --git a/clutter/abicheck.sh b/clutter/abicheck.sh
index 7106dd61a..08804780c 100755
--- a/clutter/abicheck.sh
+++ b/clutter/abicheck.sh
@@ -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
diff --git a/clutter/cally/cally.pc.in b/clutter/cally/cally.pc.in
index 779491c2d..40f266a88 100644
--- a/clutter/cally/cally.pc.in
+++ b/clutter/cally/cally.pc.in
@@ -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}
diff --git a/clutter/clutter-main.c b/clutter/clutter-main.c
index d0d6185e2..c769158c1 100644
--- a/clutter/clutter-main.c
+++ b/clutter/clutter-main.c
@@ -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))
diff --git a/configure.ac b/configure.ac
index 16465c8ac..9addd8034 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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"],
diff --git a/doc/cookbook/examples/Makefile.am b/doc/cookbook/examples/Makefile.am
index 054128f7b..410d958e6 100644
--- a/doc/cookbook/examples/Makefile.am
+++ b/doc/cookbook/examples/Makefile.am
@@ -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
diff --git a/doc/cookbook/examples/events-pointer-motion-stacked.c b/doc/cookbook/examples/events-pointer-motion-stacked.c
index f92fa0298..a03df3e30 100644
--- a/doc/cookbook/examples/events-pointer-motion-stacked.c
+++ b/doc/cookbook/examples/events-pointer-motion-stacked.c
@@ -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>
diff --git a/doc/cookbook/introduction.xml b/doc/cookbook/introduction.xml
index ee9ac1b1c..b176d3dd8 100644
--- a/doc/cookbook/introduction.xml
+++ b/doc/cookbook/introduction.xml
@@ -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>
diff --git a/doc/reference/clutter/running-clutter.xml b/doc/reference/clutter/running-clutter.xml
index 0469ead38..f7b81bf4c 100644
--- a/doc/reference/clutter/running-clutter.xml
+++ b/doc/reference/clutter/running-clutter.xml
@@ -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>
diff --git a/po/Makevars b/po/Makevars
index fd5863b50..cf27a7587 100644
--- a/po/Makevars
+++ b/po/Makevars
@@ -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
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index 896ed5b27..5c2f00c1d 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -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
diff --git a/tests/data/clutter-1.0.suppressions b/tests/data/clutter-2.0.suppressions
index f47498d16..f47498d16 100644
--- a/tests/data/clutter-1.0.suppressions
+++ b/tests/data/clutter-2.0.suppressions