packages (XFCE_4_6_1): exo/exo.spec, exo/exo-gchar.patch (NEW) - glib >= 2....

hawk hawk at pld-linux.org
Tue Dec 13 12:19:25 CET 2011


Author: hawk                         Date: Tue Dec 13 11:19:25 2011 GMT
Module: packages                      Tag: XFCE_4_6_1
---- Log message:
- glib >= 2.29.x fixes

---- Files affected:
packages/exo:
   exo.spec (1.41 -> 1.41.4.1) , exo-gchar.patch (NONE -> 1.1.2.1)  (NEW)

---- Diffs:

================================================================
Index: packages/exo/exo.spec
diff -u packages/exo/exo.spec:1.41 packages/exo/exo.spec:1.41.4.1
--- packages/exo/exo.spec:1.41	Thu Nov 11 21:52:04 2010
+++ packages/exo/exo.spec	Tue Dec 13 12:19:20 2011
@@ -10,11 +10,12 @@
 Summary(pl.UTF-8):	Biblioteka rozszerzeń do Xfce opracowana przez os-cillation
 Name:		exo
 Version:	0.3.101
-Release:	5
+Release:	6
 License:	GPL v2
 Group:		X11/Libraries
 Source0:	http://www.xfce.org/archive/xfce-%{xfce_version}/src/%{name}-%{version}.tar.bz2
 # Source0-md5:	1c0eebb360f53eab70454b70e1bde36e
+Patch0:		%{name}-gchar.patch
 URL:		http://www.os-cillation.com/
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
@@ -131,6 +132,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{?with_apidocs:%{__gtkdocize}}
@@ -259,6 +261,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.41.4.1  2011/12/13 11:19:20  hawk
+- glib >= 2.29.x fixes
+
 Revision 1.41  2010/11/11 20:52:04  baggins
 - rel 5
 - dirs cleanup

================================================================
Index: packages/exo/exo-gchar.patch
diff -u /dev/null packages/exo/exo-gchar.patch:1.1.2.1
--- /dev/null	Tue Dec 13 12:19:25 2011
+++ packages/exo/exo-gchar.patch	Tue Dec 13 12:19:20 2011
@@ -0,0 +1,111 @@
+diff -ur exo-0.3.101.orig//exo/exo-string.c exo-0.3.101/exo/exo-string.c
+--- exo-0.3.101.orig//exo/exo-string.c	2008-11-11 08:22:46.000000000 +0000
++++ exo-0.3.101/exo/exo-string.c	2011-12-13 11:11:20.613147984 +0000
+@@ -400,7 +400,7 @@
+  *
+  * Since: 0.3.1.1
+  */
+-G_CONST_RETURN gchar*
++const gchar*
+ exo_intern_string (const gchar *string)
+ {
+ #if GLIB_CHECK_VERSION(2,9,0)
+@@ -425,7 +425,7 @@
+  *
+  * Since: 0.3.1.1
+  */
+-G_CONST_RETURN gchar*
++const gchar*
+ exo_intern_static_string (const gchar *string)
+ {
+ #if GLIB_CHECK_VERSION(2,9,0)
+diff -ur exo-0.3.101.orig//exo/exo-string.h exo-0.3.101/exo/exo-string.h
+--- exo-0.3.101.orig//exo/exo-string.h	2008-11-11 08:22:46.000000000 +0000
++++ exo-0.3.101/exo/exo-string.h	2011-12-13 11:11:25.292147864 +0000
+@@ -46,8 +46,8 @@
+ gchar               **exo_strndupv               (gchar          **strv,
+                                                   gint             num) G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT;
+ 
+-G_CONST_RETURN gchar *exo_intern_string          (const gchar     *string);
+-G_CONST_RETURN gchar *exo_intern_static_string   (const gchar     *string);
++const gchar *exo_intern_string          (const gchar     *string);
++const gchar *exo_intern_static_string   (const gchar     *string);
+ 
+ #if GLIB_CHECK_VERSION(2,9,0)
+ #define I_(string) (g_intern_static_string ((string)))
+diff -ur exo-0.3.101.orig//exo-support/xfce-heading.c exo-0.3.101/exo-support/xfce-heading.c
+--- exo-0.3.101.orig//exo-support/xfce-heading.c	2008-11-11 08:22:46.000000000 +0000
++++ exo-0.3.101/exo-support/xfce-heading.c	2011-12-13 11:10:58.620085167 +0000
+@@ -609,7 +609,7 @@
+  *
+  * Since: 4.4.0
+  **/
+-G_CONST_RETURN gchar*
++const gchar*
+ xfce_heading_get_icon_name (XfceHeading *heading)
+ {
+   g_return_val_if_fail (XFCE_IS_HEADING (heading), NULL);
+@@ -662,7 +662,7 @@
+  *
+  * Since: 4.4.0
+  **/
+-G_CONST_RETURN gchar*
++const gchar*
+ xfce_heading_get_subtitle (XfceHeading *heading)
+ {
+   g_return_val_if_fail (XFCE_IS_HEADING (heading), NULL);
+@@ -713,7 +713,7 @@
+  *
+  * Since: 4.4.0
+  **/
+-G_CONST_RETURN gchar*
++const gchar*
+ xfce_heading_get_title (XfceHeading *heading)
+ {
+   g_return_val_if_fail (XFCE_IS_HEADING (heading), NULL);
+diff -ur exo-0.3.101.orig//exo-support/xfce-heading.h exo-0.3.101/exo-support/xfce-heading.h
+--- exo-0.3.101.orig//exo-support/xfce-heading.h	2008-11-11 08:22:46.000000000 +0000
++++ exo-0.3.101/exo-support/xfce-heading.h	2011-12-13 11:11:14.733022668 +0000
+@@ -65,15 +65,15 @@
+ void                  xfce_heading_set_icon      (XfceHeading *heading,
+                                                   GdkPixbuf   *icon);
+ 
+-G_CONST_RETURN gchar *xfce_heading_get_icon_name (XfceHeading *heading);
++const gchar *xfce_heading_get_icon_name (XfceHeading *heading);
+ void                  xfce_heading_set_icon_name (XfceHeading *heading,
+                                                   const gchar *icon_name);
+ 
+-G_CONST_RETURN gchar *xfce_heading_get_subtitle  (XfceHeading *heading);
++const gchar *xfce_heading_get_subtitle  (XfceHeading *heading);
+ void                  xfce_heading_set_subtitle  (XfceHeading *heading,
+                                                   const gchar *subtitle);
+ 
+-G_CONST_RETURN gchar *xfce_heading_get_title     (XfceHeading *heading);
++const gchar *xfce_heading_get_title     (XfceHeading *heading);
+ void                  xfce_heading_set_title     (XfceHeading *heading,
+                                                   const gchar *title);
+ 
+diff -ur exo-0.3.101.orig//exo-support/xfce-titled-dialog.c exo-0.3.101/exo-support/xfce-titled-dialog.c
+--- exo-0.3.101.orig//exo-support/xfce-titled-dialog.c	2008-11-11 08:22:46.000000000 +0000
++++ exo-0.3.101/exo-support/xfce-titled-dialog.c	2011-12-13 11:11:07.323085371 +0000
+@@ -328,7 +328,7 @@
+  *
+  * Since: 4.4.0
+  **/
+-G_CONST_RETURN gchar*
++const gchar*
+ xfce_titled_dialog_get_subtitle (XfceTitledDialog *titled_dialog)
+ {
+   g_return_val_if_fail (XFCE_IS_TITLED_DIALOG (titled_dialog), NULL);
+diff -ur exo-0.3.101.orig//exo-support/xfce-titled-dialog.h exo-0.3.101/exo-support/xfce-titled-dialog.h
+--- exo-0.3.101.orig//exo-support/xfce-titled-dialog.h	2008-11-11 08:22:46.000000000 +0000
++++ exo-0.3.101/exo-support/xfce-titled-dialog.h	2011-12-13 11:11:02.684085193 +0000
+@@ -66,7 +66,7 @@
+                                                            const gchar      *first_button_text,
+                                                            ...) G_GNUC_MALLOC;
+ 
+-G_CONST_RETURN gchar *xfce_titled_dialog_get_subtitle     (XfceTitledDialog *titled_dialog);
++const gchar *xfce_titled_dialog_get_subtitle     (XfceTitledDialog *titled_dialog);
+ void                  xfce_titled_dialog_set_subtitle     (XfceTitledDialog *titled_dialog,
+                                                            const gchar      *subtitle);
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/exo/exo.spec?r1=1.41&r2=1.41.4.1&f=u



More information about the pld-cvs-commit mailing list