[Lsb-messages] /var/www/bzr/lsb/devel/build_env r2188: deprecate three more glib functions (bug 3654)

Mats Wichmann mats at linuxfoundation.org
Fri Jan 31 20:39:26 UTC 2014


------------------------------------------------------------
revno: 2188
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: build_env
timestamp: Fri 2014-01-31 13:39:26 -0700
message:
  deprecate three more glib functions (bug 3654)
modified:
  headers/glib-2.0/glib.h
  package/Makefile
-------------- next part --------------
=== modified file 'headers/glib-2.0/glib.h'
--- a/headers/glib-2.0/glib.h	2013-10-25 17:41:43 +0000
+++ b/headers/glib-2.0/glib.h	2014-01-31 20:39:26 +0000
@@ -2724,9 +2724,17 @@
 
 /* Function prototypes */
 
-    extern void g_allocator_free(GAllocator * allocator);
+    extern void g_allocator_free(GAllocator * allocator)
+#if __LSB_VERSION__ >= 50
+     LSB_DECL_DEPRECATED
+#endif				/* __LSB_VERSION__ >= 50 */
+    ;
     extern GAllocator *g_allocator_new(const gchar * name,
-				       guint n_preallocs);
+				       guint n_preallocs)
+#if __LSB_VERSION__ >= 50
+     LSB_DECL_DEPRECATED
+#endif				/* __LSB_VERSION__ >= 50 */
+    ;
     extern GArray *g_array_append_vals(GArray * array, gconstpointer data,
 				       guint len);
     extern gchar *g_array_free(GArray * array, gboolean free_segment);
@@ -2767,7 +2775,11 @@
     extern void g_assert_warning(const char *log_domain, const char *file,
 				 const int line,
 				 const char *pretty_function,
-				 const char *expression);
+				 const char *expression)
+#if __LSB_VERSION__ >= 50
+     LSB_DECL_DEPRECATED
+#endif				/* __LSB_VERSION__ >= 50 */
+    ;
     extern gint g_async_queue_length(GAsyncQueue * queue);
     extern gint g_async_queue_length_unlocked(GAsyncQueue * queue);
     extern void g_async_queue_lock(GAsyncQueue * queue);

=== modified file 'package/Makefile'
--- a/package/Makefile	2014-01-30 00:50:33 +0000
+++ b/package/Makefile	2014-01-31 20:39:26 +0000
@@ -42,7 +42,7 @@
 # Should have leading "."
 # a big number (80-99) is leading up to the next minor spec
 # build_env is version-independent so can wait till late to bump this
-SUB_VERSION=.57
+SUB_VERSION=.58
 
 # We define this here instead of directly in the spec file as
 # we need to be able to work out what the produced rpm files will be called



More information about the lsb-messages mailing list