r36589 - in /desktop/unstable/gconf/debian: changelog tests/build
mpitt at users.alioth.debian.org
mpitt at users.alioth.debian.org
Wed Jan 16 12:25:34 UTC 2013
Author: mpitt
Date: Wed Jan 16 12:25:33 2013
New Revision: 36589
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=36589
Log:
* debian/tests/build:
- Add -Wall -Werror for being more thorough.
- Don't call deprecated g_type_init() when building with glib >= 2.35.
Modified:
desktop/unstable/gconf/debian/changelog
desktop/unstable/gconf/debian/tests/build
Modified: desktop/unstable/gconf/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gconf/debian/changelog?rev=36589&op=diff
==============================================================================
--- desktop/unstable/gconf/debian/changelog [utf-8] (original)
+++ desktop/unstable/gconf/debian/changelog [utf-8] Wed Jan 16 12:25:33 2013
@@ -2,6 +2,9 @@
* Add a simple compile/link/run autopkgtest for libgconf2-dev. Thanks Rafał
Cieślak! (LP: #1078719)
+ * debian/tests/build:
+ - Add -Wall -Werror for being more thorough.
+ - Don't call deprecated g_type_init() when building with glib >= 2.35.
-- Martin Pitt <mpitt at debian.org> Thu, 15 Nov 2012 13:29:47 +0100
Modified: desktop/unstable/gconf/debian/tests/build
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gconf/debian/tests/build?rev=36589&op=diff
==============================================================================
--- desktop/unstable/gconf/debian/tests/build [utf-8] (original)
+++ desktop/unstable/gconf/debian/tests/build [utf-8] Wed Jan 16 12:25:33 2013
@@ -12,14 +12,16 @@
#include <gconf/gconf-client.h>
#include <glib-object.h>
int main(int argc, char** argv) {
+#if !defined(GLIB_VERSION_2_36)
g_type_init();
+#endif
GConfClient* client = gconf_client_get_default();
if (!client) return 1;
return 0;
}
EOF
-gcc -o build_test build_test.c `pkg-config --libs --cflags gobject-2.0 gconf-2.0`
+gcc -o build_test build_test.c -Wall -Werror `pkg-config --libs --cflags gobject-2.0 gconf-2.0`
echo "build: OK"
[ -x build_test ]
./build_test
More information about the pkg-gnome-commits
mailing list