- glib >= 2.29.x fixes XFCE_4_6_1 auto/ti/exo-0_3_101-6
authorhawk <hawk@pld-linux.org>
Tue, 13 Dec 2011 11:19:20 +0000 (11:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    exo-gchar.patch -> 1.1.2.1
    exo.spec -> 1.41.4.1

exo-gchar.patch [new file with mode: 0644]
exo.spec

diff --git a/exo-gchar.patch b/exo-gchar.patch
new file mode 100644 (file)
index 0000000..986ea14
--- /dev/null
@@ -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);
index 9226a3d..e88c463 100644 (file)
--- a/exo.spec
+++ b/exo.spec
@@ -9,11 +9,12 @@ Summary:      Extension library to Xfce developed by os-cillation
 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
@@ -130,6 +131,7 @@ Pliki programistyczne wiązań Pythona do libexo.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{?with_apidocs:%{__gtkdocize}}
This page took 0.176693 seconds and 4 git commands to generate.