[packages/swfdec] - fix apidocs generation - rel 3

baggins baggins at pld-linux.org
Sun May 10 02:10:18 CEST 2015


commit 117ea3bfeb2649c8b378774edff1b79c7c50bc4e
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun May 10 02:10:02 2015 +0200

    - fix apidocs generation
    - rel 3

 gtkdoc.patch | 33 +++++++++++++++++++++++++++++++++
 swfdec.spec  |  4 +++-
 2 files changed, 36 insertions(+), 1 deletion(-)
---
diff --git a/swfdec.spec b/swfdec.spec
index 3b9e6db..0cfddba 100644
--- a/swfdec.spec
+++ b/swfdec.spec
@@ -9,11 +9,12 @@ Summary:	Flash animations rendering library
 Summary(pl.UTF-8):	Biblioteka renderująca animacje flash
 Name:		swfdec
 Version:	%{majver}.2
-Release:	2
+Release:	3
 License:	LGPL v2.1+
 Group:		Libraries
 Source0:	http://swfdec.freedesktop.org/download/swfdec/%{majver}/%{name}-%{version}.tar.gz
 # Source0-md5:	7be5e39236e2d6efa61a18e83e5ab73d
+Patch0:		gtkdoc.patch
 URL:		http://swfdec.freedesktop.org/wiki/
 %{!?with_pulseaudio:BuildRequires:	alsa-lib-devel >= 1.0}
 BuildRequires:	autoconf >= 2.58
@@ -147,6 +148,7 @@ Dokumentacja API swfdec.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
diff --git a/gtkdoc.patch b/gtkdoc.patch
new file mode 100644
index 0000000..d3cc316
--- /dev/null
+++ b/gtkdoc.patch
@@ -0,0 +1,33 @@
+--- swfdec-0.9.2/swfdec/swfdec_as_native_function.c~	2008-11-06 23:24:03.000000000 +0100
++++ swfdec-0.9.2/swfdec/swfdec_as_native_function.c	2015-05-10 02:04:28.648375664 +0200
+@@ -230,7 +230,8 @@
+  * that takes the value. For the conversion, the default conversion functions 
+  * like swfdec_as_value_to_string() are used. If not enough arguments are 
+  * available, the function stops converting and returns %NULL. The following 
+- * conversion characters are allowed:<itemizedlist>
++ * conversion characters are allowed:
++ * <itemizedlist>
+  * <listitem><para>"b": convert to boolean. Requires a %gboolean pointer
+  *                 </para></listitem>
+  * <listitem><para>"i": convert to integer. Requires an %integer pointer
+@@ -256,7 +257,7 @@
+  *		   initialized to the empty value for their type. This 
+  *		   conversion character is only allowed once in the conversion 
+  *		   string.</para></listitem>
+- * </itemizedlist>
++ *</itemizedlist>
+  *
+  * Returns: %TRUE if the conversion succeeded, %FALSE otherwise
+  **/
+--- swfdec-0.9.2/swfdec/swfdec_player.c~	2008-11-06 23:24:03.000000000 +0100
++++ swfdec-0.9.2/swfdec/swfdec_player.c	2015-05-10 02:05:11.415602069 +0200
+@@ -2322,7 +2322,8 @@
+    * communicate with the hosting environment. In web browsers it is used to 
+    * call Javascript functions. Standalone Flash players understand a limited 
+    * set of functions. They vary from player to player, but the most common are 
+-   * listed here: <itemizedlist>
++   * listed here:
++   * <itemizedlist>
+    * <listitem><para>"quit": quits the player.</para></listitem>
+    * <listitem><para>"fullscreen": A boolean setting (parameter is "true" or 
+    * "false") that sets the player into fullscreen mode.</para></listitem>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/swfdec.git/commitdiff/117ea3bfeb2649c8b378774edff1b79c7c50bc4e



More information about the pld-cvs-commit mailing list