[Lsb-messages] /var/www/bzr/lsb/4.1/lsbspec r3801: fix synopsis for pango_log2vis_get_embedding_levels (bug 2825)

Mats Wichmann mats at linuxfoundation.org
Sat May 19 12:47:00 UTC 2012


------------------------------------------------------------
revno: 3801
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: lsbspec
timestamp: Sat 2012-05-19 06:47:00 -0600
message:
  fix synopsis for pango_log2vis_get_embedding_levels (bug 2825)
added:
  LSB/generic/baselib/fnmatch.sgml
  errata/errata_40/2825-pango.txt
  errata/errata_41/2825-pango.txt
modified:
  Toolkit_Gtk/generic/GTK/GTK.sgml
  Toolkit_Gtk/generic/GTK/libGdk_pixbuf.sgml
  Toolkit_Gtk/generic/GTK/libGlib.sgml
  Toolkit_Gtk/generic/GTK/libGtk-x11.sgml
  Toolkit_Gtk/generic/GTK/libPango.sgml
-------------- next part --------------
=== added file 'LSB/generic/baselib/fnmatch.sgml'
--- a/LSB/generic/baselib/fnmatch.sgml	1970-01-01 00:00:00 +0000
+++ b/LSB/generic/baselib/fnmatch.sgml	2012-05-19 12:47:00 +0000
@@ -0,0 +1,53 @@
+<REFENTRY ID="baselib-fnmatch-3"> <REFMETA>
+<REFENTRYTITLE>fnmatch</REFENTRYTITLE>
+<REFMISCINFO>Base Libraries</REFMISCINFO>
+</REFMETA>
+<REFNAMEDIV>
+<REFNAME>fnmatch
+</REFNAME>
+<REFPURPOSE>
+match a filename or a pathname
+</REFPURPOSE>
+</REFNAMEDIV>
+<REFSECT1>
+<TITLE>Description
+</TITLE>
+<PARA>
+<FUNCTION>fnmatch</FUNCTION> is as specified in 
+<XREF LINKEND=STD.SUSv4>,
+but with differences as listed below.
+</PARA>
+
+<REFSECT2>
+<TITLE>Additional flags</TITLE>
+<PARA>
+In addition to the available values that can be used to form <PARAMETER>flags</PARAMETER>, as documented in <XREF LINKEND=STD.SUSv4>, this specification permits the following constants.
+</PARA>
+
+<variablelist remap='TP'>
+  <varlistentry>
+  <term><CONSTANT>FNM_CASEFOLD</CONSTANT></term>
+  <listitem>
+<para>If this flag is set, the pattern is matched case-insensitively.</para>
+  </listitem>
+  </varlistentry>
+  <varlistentry>
+  <term><CONSTANT>FNM_FILE_NAME</CONSTANT></term>
+  <listitem>
+<para>A synonym for <CONSTANT>FNM_PATHNAME</CONSTANT> constant specified in <XREF LINKEND=STD.SUSv4>.</para>
+  </listitem>
+  </varlistentry>
+<!--
+  <varlistentry>
+  <term><CONSTANT>FNM_LEADING_DIR</CONSTANT></term>
+  <listitem>
+   <para>If this flag is set, the pattern is considered to be matched if it matches an initial segment of string which is followed by a &lt;slash&gt;.</para>
+  </listitem>
+ </varlistentry>
+-->
+</variablelist>
+
+</REFSECT2>
+
+</REFSECT1>
+</REFENTRY>

=== modified file 'Toolkit_Gtk/generic/GTK/GTK.sgml'
--- a/Toolkit_Gtk/generic/GTK/GTK.sgml	2011-01-08 17:27:33 +0000
+++ b/Toolkit_Gtk/generic/GTK/GTK.sgml	2012-05-19 12:47:00 +0000
@@ -5276,7 +5276,8 @@
 extern gchar *g_convert_with_fallback(const gchar * str, gssize len,
 				      const gchar * to_codeset,
 				      const gchar * from_codeset,
-				      gchar * fallback, gsize * bytes_read,
+				      const gchar * fallback,
+				      gsize * bytes_read,
 				      gsize * bytes_written,
 				      GError * *error);
 extern gchar *g_convert_with_iconv(const gchar * str, gssize len,
@@ -11901,10 +11902,10 @@
 extern gboolean pango_is_zero_width(gunichar ch);
 extern const char *pango_language_get_sample_string(PangoLanguage *
 						    language);
-extern gboolean pango_log2vis_get_embedding_levels(gunichar * text,
-						   gint length,
-						   PangoDirection *
-						   pbase_dir, guint8 *);
+extern guint8 *pango_log2vis_get_embedding_levels(const gchar * text,
+						  int length,
+						  PangoDirection *
+						  pbase_dir);
 extern gboolean pango_parse_stretch(const char *str,
 				    PangoStretch * stretch, gboolean warn);
 extern gboolean pango_parse_style(const char *str, PangoStyle * style,
@@ -12002,8 +12003,6 @@
 #define PANGO_SCALE_XX_LARGE	((double)1.728)
 #if defined(PANGO_ENABLE_ENGINE) || defined(PANGO_ENABLE_BACKEND)
 #define PANGO_GET_UNKNOWN_GLYPH(wc)	((PangoGlyph)(wc)|PANGO_GLYPH_UNKNOWN_FLAG)
-#endif
-#if defined(PANGO_ENABLE_ENGINE) || defined(PANGO_ENABLE_BACKEND)
 #define PANGO_GLYPH_UNKNOWN_FLAG	((PangoGlyph)0x10000000)
 #endif
 #define PANGO_RBEARING(rect)	((rect).x + (rect).width)
@@ -13918,6 +13917,7 @@
 #define GDK_PIXBUF_LOADER_GET_CLASS(obj)	 \
 	(G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_PIXBUF_LOADER, \
 	GdkPixbufLoaderClass))
+#define GDK_PIXBUF_VERSION	"2.8.11"
 #define GDK_PIXBUF_MICRO	(10)
 #define GDK_PIXBUF_MAJOR	(2)
 #define GDK_PIXBUF_MINOR	(6)
@@ -13936,7 +13936,6 @@
 #define GDK_PIXBUF_SIMPLE_ANIM(object)	(G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_PIXBUF_SIMPLE_ANIM, GdkPixbufSimpleAnim))
 #define GDK_IS_PIXBUF_SIMPLE_ANIM(object)	(G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_PIXBUF_SIMPLE_ANIM))
 #define GDK_PIXBUF_SIMPLE_ANIM_GET_CLASS(obj)	(G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_PIXBUF_SIMPLE_ANIM, GdkPixbufSimpleAnimClass))
-#define GDK_PIXBUF_VERSION	"2.8.11"
 #define GDK_PIXBUF_VAR	extern
 #define GDK_PIXBUF_ERROR	gdk_pixbuf_error_quark ()
 
@@ -32775,9 +32774,9 @@
 extern void gtk_init_add(GtkFunction function, gpointer data);
 extern gboolean gtk_init_check(int *argc, char ***argv);
 extern gboolean gtk_init_with_args(int *argc, char ***argv,
-				   char *parameter_string,
+				   const char *parameter_string,
 				   GOptionEntry * entries,
-				   char *translation_domain,
+				   const char *translation_domain,
 				   GError * *error);
 extern GType gtk_input_dialog_get_type(void);
 extern GtkWidget *gtk_input_dialog_new(void);

=== modified file 'Toolkit_Gtk/generic/GTK/libGdk_pixbuf.sgml'
--- a/Toolkit_Gtk/generic/GTK/libGdk_pixbuf.sgml	2010-05-04 17:35:39 +0000
+++ b/Toolkit_Gtk/generic/GTK/libGdk_pixbuf.sgml	2012-05-19 12:47:00 +0000
@@ -304,6 +304,7 @@
 #define GDK_PIXBUF_LOADER_GET_CLASS(obj)	 \
 	(G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_PIXBUF_LOADER, \
 	GdkPixbufLoaderClass))
+#define GDK_PIXBUF_VERSION	"2.8.11"
 #define GDK_PIXBUF_MICRO	(10)
 #define GDK_PIXBUF_MAJOR	(2)
 #define GDK_PIXBUF_MINOR	(6)
@@ -322,7 +323,6 @@
 #define GDK_PIXBUF_SIMPLE_ANIM(object)	(G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_PIXBUF_SIMPLE_ANIM, GdkPixbufSimpleAnim))
 #define GDK_IS_PIXBUF_SIMPLE_ANIM(object)	(G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_PIXBUF_SIMPLE_ANIM))
 #define GDK_PIXBUF_SIMPLE_ANIM_GET_CLASS(obj)	(G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_PIXBUF_SIMPLE_ANIM, GdkPixbufSimpleAnimClass))
-#define GDK_PIXBUF_VERSION	"2.8.11"
 #define GDK_PIXBUF_VAR	extern
 #define GDK_PIXBUF_ERROR	gdk_pixbuf_error_quark ()
 

=== modified file 'Toolkit_Gtk/generic/GTK/libGlib.sgml'
--- a/Toolkit_Gtk/generic/GTK/libGlib.sgml	2011-01-08 17:27:33 +0000
+++ b/Toolkit_Gtk/generic/GTK/libGlib.sgml	2012-05-19 12:47:00 +0000
@@ -5184,7 +5184,8 @@
 extern gchar *g_convert_with_fallback(const gchar * str, gssize len,
 				      const gchar * to_codeset,
 				      const gchar * from_codeset,
-				      gchar * fallback, gsize * bytes_read,
+				      const gchar * fallback,
+				      gsize * bytes_read,
 				      gsize * bytes_written,
 				      GError * *error);
 extern gchar *g_convert_with_iconv(const gchar * str, gssize len,

=== modified file 'Toolkit_Gtk/generic/GTK/libGtk-x11.sgml'
--- a/Toolkit_Gtk/generic/GTK/libGtk-x11.sgml	2011-01-08 17:27:33 +0000
+++ b/Toolkit_Gtk/generic/GTK/libGtk-x11.sgml	2012-05-19 12:47:00 +0000
@@ -13237,9 +13237,9 @@
 extern void gtk_init_add(GtkFunction function, gpointer data);
 extern gboolean gtk_init_check(int *argc, char ***argv);
 extern gboolean gtk_init_with_args(int *argc, char ***argv,
-				   char *parameter_string,
+				   const char *parameter_string,
 				   GOptionEntry * entries,
-				   char *translation_domain,
+				   const char *translation_domain,
 				   GError * *error);
 extern GType gtk_input_dialog_get_type(void);
 extern GtkWidget *gtk_input_dialog_new(void);

=== modified file 'Toolkit_Gtk/generic/GTK/libPango.sgml'
--- a/Toolkit_Gtk/generic/GTK/libPango.sgml	2010-05-04 17:35:39 +0000
+++ b/Toolkit_Gtk/generic/GTK/libPango.sgml	2012-05-19 12:47:00 +0000
@@ -695,10 +695,10 @@
 extern gboolean pango_is_zero_width(gunichar ch);
 extern const char *pango_language_get_sample_string(PangoLanguage *
 						    language);
-extern gboolean pango_log2vis_get_embedding_levels(gunichar * text,
-						   gint length,
-						   PangoDirection *
-						   pbase_dir, guint8 *);
+extern guint8 *pango_log2vis_get_embedding_levels(const gchar * text,
+						  int length,
+						  PangoDirection *
+						  pbase_dir);
 extern gboolean pango_parse_stretch(const char *str,
 				    PangoStretch * stretch, gboolean warn);
 extern gboolean pango_parse_style(const char *str, PangoStyle * style,
@@ -796,8 +796,6 @@
 #define PANGO_SCALE_XX_LARGE	((double)1.728)
 #if defined(PANGO_ENABLE_ENGINE) || defined(PANGO_ENABLE_BACKEND)
 #define PANGO_GET_UNKNOWN_GLYPH(wc)	((PangoGlyph)(wc)|PANGO_GLYPH_UNKNOWN_FLAG)
-#endif
-#if defined(PANGO_ENABLE_ENGINE) || defined(PANGO_ENABLE_BACKEND)
 #define PANGO_GLYPH_UNKNOWN_FLAG	((PangoGlyph)0x10000000)
 #endif
 #define PANGO_RBEARING(rect)	((rect).x + (rect).width)

=== added file 'errata/errata_40/2825-pango.txt'
--- a/errata/errata_40/2825-pango.txt	1970-01-01 00:00:00 +0000
+++ b/errata/errata_40/2825-pango.txt	2012-05-19 12:47:00 +0000
@@ -0,0 +1,34 @@
+Specification: LSB Desktop generic
+Edition of Specification: 4.0
+Type: Error
+Status: Unapproved
+Bug reference: http://bugs.linuxbase.org/show_bug.cgi?id=2825
+
+Rationale: the pango_log2vis_get_embedding_levels function was specified
+with an incorrect prototype, with both an incorrect return type and
+an incorrect number of parameters.
+
+
+In LSB Desktop generic:
+
+In 16.14. Data Definitions for libpango-1.0:
+
+In 16.14.1. pango-1.0/pango/pango-utils.h
+
+Change:
+
+extern gboolean pango_log2vis_get_embedding_levels(gunichar * text,
+                                                   gint length,
+                                                   PangoDirection *
+                                                   pbase_dir, guint8 *);
+
+To:
+
+extern guint8 *pango_log2vis_get_embedding_levels(const gchar * text,
+                                                  int length,
+                                                  PangoDirection *
+                                                  pbase_dir);
+
+
+
+

=== added file 'errata/errata_41/2825-pango.txt'
--- a/errata/errata_41/2825-pango.txt	1970-01-01 00:00:00 +0000
+++ b/errata/errata_41/2825-pango.txt	2012-05-19 12:47:00 +0000
@@ -0,0 +1,34 @@
+Specification: LSB Desktop generic
+Edition of Specification: 4.0
+Type: Error
+Status: Unapproved
+Bug reference: http://bugs.linuxbase.org/show_bug.cgi?id=2825
+
+Rationale: the pango_log2vis_get_embedding_levels function was specified
+with an incorrect prototype, with both an incorrect return type and
+an incorrect number of parameters.
+
+
+In LSB Desktop generic:
+
+In 16.14. Data Definitions for libpango-1.0:
+
+In 16.14.1. pango-1.0/pango/pango-utils.h
+
+Change:
+
+extern gboolean pango_log2vis_get_embedding_levels(gunichar * text,
+                                                   gint length,
+                                                   PangoDirection *
+                                                   pbase_dir, guint8 *);
+
+To:
+
+extern guint8 *pango_log2vis_get_embedding_levels(const gchar * text,
+                                                  int length,
+                                                  PangoDirection *
+                                                  pbase_dir);
+
+
+
+



More information about the lsb-messages mailing list