rpms/devhelp/devel devhelp-0.23-deprecation-workaround.patch, NONE, 1.1 devhelp.spec, 1.109, 1.110

Matthew Barnes mbarnes at fedoraproject.org
Wed Jul 15 13:51:03 UTC 2009


Author: mbarnes

Update of /cvs/pkgs/rpms/devhelp/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13007

Modified Files:
	devhelp.spec 
Added Files:
	devhelp-0.23-deprecation-workaround.patch 
Log Message:

* Wed Jul 15 2009 Matthew Barnes <mbarnes at redhat.com> - 0.23-8
- Add patch for GNOME bug #588655 (work around GLib deprecations).


devhelp-0.23-deprecation-workaround.patch:

--- NEW FILE devhelp-0.23-deprecation-workaround.patch ---
diff -up devhelp-0.23/src/dh-assistant-view.c.deprecation-workaround devhelp-0.23/src/dh-assistant-view.c
--- devhelp-0.23/src/dh-assistant-view.c.deprecation-workaround	2008-11-28 10:56:04.000000000 -0500
+++ devhelp-0.23/src/dh-assistant-view.c	2009-07-15 09:47:19.000000000 -0400
@@ -340,7 +340,11 @@ assistant_view_set_link (DhAssistantView
                 webkit_web_view_open (WEBKIT_WEB_VIEW (view), "about:blank");
         }
 
+#if GLIB_CHECK_VERSION(2,21,3)
+        g_mapped_file_unref (file);
+#else
         g_mapped_file_free (file);
+#endif
         g_free (filename);
 }
 


Index: devhelp.spec
===================================================================
RCS file: /cvs/pkgs/rpms/devhelp/devel/devhelp.spec,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -p -r1.109 -r1.110
--- devhelp.spec	2 Jul 2009 06:24:09 -0000	1.109
+++ devhelp.spec	15 Jul 2009 13:51:03 -0000	1.110
@@ -6,7 +6,7 @@
 
 Name: devhelp
 Version: 0.23
-Release: 7%{?dist}
+Release: 8%{?dist}
 License: GPLv2+
 Group: Development/Tools
 Summary: API documention browser
@@ -14,6 +14,14 @@ URL: http://developer.imendio.com/projec
 Source: http://download.gnome.org/sources/devhelp/0.23/devhelp-%{version}.tar.bz2
 BuildRoot: %{_tmppath}/devhelp-%{version}-%{release}-root-%(%{__id_u} -n)
 
+### Patches ###
+
+# RH bug #572022
+Patch0: devhelp-load-uris.patch
+
+# GNOME bug #588655
+Patch1: devhelp-0.23-deprecation-workaround.patch
+
 ### Dependencies ###
 
 Requires(pre): GConf2 >= 2.14
@@ -30,9 +38,6 @@ BuildRequires: gtk2-devel
 BuildRequires: WebKit-gtk-devel
 BuildRequires: GConf2-devel
 
-# http://bugzilla.gnome.org/show_bug.cgi?id=572022
-Patch0: devhelp-load-uris.patch
-
 %description
 Devhelp is an API documentation browser for the GNOME desktop. 
 It works natively with API documentation generated by gtk-doc.
@@ -54,6 +59,7 @@ into other applications such as IDEs.
 %prep
 %setup -q -n devhelp-%{version}
 %patch0 -p0 -b .uris
+%patch1 -p1 -b .deprecation-workaround
 
 # force regeneration
 rm data/devhelp.schemas
@@ -140,6 +146,9 @@ fi
 %{_libdir}/pkgconfig/*
 
 %changelog
+* Wed Jul 15 2009 Matthew Barnes <mbarnes at redhat.com> - 0.23-8
+- Add patch for GNOME bug #588655 (work around GLib deprecations).
+
 * Thu Jul  2 2009 Matthias Clasen <mclasen at redhat.com> - 0.23-7
 - Shrink GConf schemas
 




More information about the fedora-extras-commits mailing list