commit libmediaart for openSUSE:Factory
Hello community, here is the log from the commit of package libmediaart for openSUSE:Factory checked in at 2014-04-02 17:23:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libmediaart (Old) and /work/SRC/openSUSE:Factory/.libmediaart.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libmediaart" Changes: -------- --- /work/SRC/openSUSE:Factory/libmediaart/libmediaart.changes 2014-03-09 18:27:30.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libmediaart.new/libmediaart.changes 2014-04-02 17:23:51.000000000 +0200 @@ -1,0 +2,10 @@ +Tue Apr 1 20:39:49 UTC 2014 - zaitor@opensuse.org + +- Update to version 0.4.0: + + Feature request: load album art embedded in music files + (bgo#727333). + + build: Don't forget to define LIBMEDIAART_BACKEND for all Qt + cases. + + extract: Incorrect inverse variable check for media_art_set(). + +------------------------------------------------------------------- Old: ---- libmediaart-0.3.0.tar.xz New: ---- libmediaart-0.4.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libmediaart.spec ++++++ --- /var/tmp/diff_new_pack.CoPSar/_old 2014-04-02 17:23:52.000000000 +0200 +++ /var/tmp/diff_new_pack.CoPSar/_new 2014-04-02 17:23:52.000000000 +0200 @@ -1,6 +1,7 @@ # # spec file for package libmediaart # +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 Dominique Leuenberger, Amsterdam, The Netherlands # # All modifications and additions to the file contributed by third parties @@ -15,15 +16,16 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: libmediaart -Version: 0.3.0 +Version: 0.4.0 Release: 0 # License note: src.rpm contains GPL-2.0+ (tests) and LGPL-2.1+ code -License: GPL-2.0+ and LGPL-2.1+ Summary: Media Art extraction library -Url: https://download.gnome.org/sources/libmediaart +License: GPL-2.0+ and LGPL-2.1+ Group: Productivity/Other -Source: http://download.gnome.org/sources/libmediaart/0.3/%{name}-%{version}.tar.xz +Url: https://download.gnome.org/sources/libmediaart +Source: http://download.gnome.org/sources/libmediaart/0.4/%{name}-%{version}.tar.xz BuildRequires: gcc-c++ BuildRequires: gobject-introspection-devel >= 1.30.0 BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.12.0 @@ -38,8 +40,8 @@ %package -n libmediaart-1_0-0 # License note: the library is pure LGPL-2.1+ -License: LGPL-2.1+ Summary: Media Art extraction library +License: LGPL-2.1+ Group: System/Libraries %description -n libmediaart-1_0-0 @@ -48,8 +50,8 @@ %package -n typelib-1_0-MediaArt-1_0 # License note: the library is pure LGPL-2.1+ -License: LGPL-2.1+ Summary: Media Art extraction library -- Introspection bindings +License: LGPL-2.1+ Group: System/Libraries %description -n typelib-1_0-MediaArt-1_0 @@ -58,8 +60,8 @@ %package devel # License note: the library is pure LGPL-2.1+ -License: LGPL-2.1+ Summary: Media Art extraction library +License: LGPL-2.1+ Group: Development/Languages/C and C++ Requires: libmediaart-1_0-0 = %{version} Requires: typelib-1_0-MediaArt-1_0 = %{version} ++++++ libmediaart-0.3.0.tar.xz -> libmediaart-0.4.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libmediaart-0.3.0/NEWS new/libmediaart-0.4.0/NEWS --- old/libmediaart-0.3.0/NEWS 2014-03-07 20:07:41.000000000 +0100 +++ new/libmediaart-0.4.0/NEWS 2014-04-01 17:38:30.000000000 +0200 @@ -1,3 +1,11 @@ +NEW in 0.4 - 2014-04-01 +======================= + + * Fixes: GB#727333, Feature request: load album art embedded in music files + * build: Don't forget to define LIBMEDIAART_BACKEND for all Qt cases + * extract: Incorrect inverse variable check for media_art_set() + + NEW in 0.3 - 2014-03-07 ======================= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libmediaart-0.3.0/configure new/libmediaart-0.4.0/configure --- old/libmediaart-0.3.0/configure 2014-03-07 20:09:18.000000000 +0100 +++ new/libmediaart-0.4.0/configure 2014-04-01 17:41:30.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.68 for libmediaart 0.3.0. +# Generated by GNU Autoconf 2.68 for libmediaart 0.4.0. # # Report bugs to <http://bugzilla.gnome.org/>. # @@ -570,8 +570,8 @@ # Identity of this package. PACKAGE_NAME='libmediaart' PACKAGE_TARNAME='libmediaart' -PACKAGE_VERSION='0.3.0' -PACKAGE_STRING='libmediaart 0.3.0' +PACKAGE_VERSION='0.4.0' +PACKAGE_STRING='libmediaart 0.4.0' PACKAGE_BUGREPORT='http://bugzilla.gnome.org/' PACKAGE_URL='https://wiki.gnome.org/MediaArtStorageSpec' @@ -1407,7 +1407,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures libmediaart 0.3.0 to adapt to many kinds of systems. +\`configure' configures libmediaart 0.4.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1477,7 +1477,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libmediaart 0.3.0:";; + short | recursive ) echo "Configuration of libmediaart 0.4.0:";; esac cat <<\_ACEOF @@ -1624,7 +1624,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libmediaart configure 0.3.0 +libmediaart configure 0.4.0 generated by GNU Autoconf 2.68 Copyright (C) 2010 Free Software Foundation, Inc. @@ -2168,7 +2168,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by libmediaart $as_me 0.3.0, which was +It was created by libmediaart $as_me 0.4.0, which was generated by GNU Autoconf 2.68. Invocation command line was $ $0 $@ @@ -2989,7 +2989,7 @@ # Define the identity of the package. PACKAGE='libmediaart' - VERSION='0.3.0' + VERSION='0.4.0' # Some tools Automake needs. @@ -3143,11 +3143,11 @@ LIBMEDIAART_MAJOR_VERSION=0 -LIBMEDIAART_MINOR_VERSION=3 +LIBMEDIAART_MINOR_VERSION=4 LIBMEDIAART_MICRO_VERSION=0 -LIBMEDIAART_INTERFACE_AGE=0 -LIBMEDIAART_BINARY_AGE=300 -LIBMEDIAART_VERSION=0.3.0 +LIBMEDIAART_INTERFACE_AGE=4 +LIBMEDIAART_BINARY_AGE=400 +LIBMEDIAART_VERSION=0.4.0 LIBMEDIAART_API_VERSION=1.0 LIBMEDIAART_BINARY_VERSION=1.0.0 @@ -3166,23 +3166,23 @@ $as_echo "#define LIBMEDIAART_MAJOR_VERSION 0" >>confdefs.h -$as_echo "#define LIBMEDIAART_MINOR_VERSION 3" >>confdefs.h +$as_echo "#define LIBMEDIAART_MINOR_VERSION 4" >>confdefs.h $as_echo "#define LIBMEDIAART_MICRO_VERSION 0" >>confdefs.h -$as_echo "#define LIBMEDIAART_INTERFACE_AGE 0" >>confdefs.h +$as_echo "#define LIBMEDIAART_INTERFACE_AGE 4" >>confdefs.h -$as_echo "#define LIBMEDIAART_BINARY_AGE 300" >>confdefs.h +$as_echo "#define LIBMEDIAART_BINARY_AGE 400" >>confdefs.h # libtool versioning -LT_RELEASE=0.3 -LT_CURRENT=300 -LT_REVISION=0 -LT_AGE=300 +LT_RELEASE=0.4 +LT_CURRENT=396 +LT_REVISION=4 +LT_AGE=396 LT_CURRENT_MINUS_AGE=0 @@ -18127,7 +18127,7 @@ $as_echo "#define HAVE_QT /**/" >>confdefs.h - LIBMEDIAART_BACKEND=QtGui + LIBMEDIAART_BACKEND=Qt5Gui selected_for_media_art="yes (qt5)" else @@ -18141,6 +18141,7 @@ $as_echo "#define HAVE_QT /**/" >>confdefs.h + LIBMEDIAART_BACKEND=QtGui selected_for_media_art="yes (qt4)" fi @@ -19002,7 +19003,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by libmediaart $as_me 0.3.0, which was +This file was extended by libmediaart $as_me 0.4.0, which was generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -19069,7 +19070,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -libmediaart config.status 0.3.0 +libmediaart config.status 0.4.0 configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libmediaart-0.3.0/configure.ac new/libmediaart-0.4.0/configure.ac --- old/libmediaart-0.3.0/configure.ac 2014-03-07 20:05:10.000000000 +0100 +++ new/libmediaart-0.4.0/configure.ac 2014-04-01 17:36:12.000000000 +0200 @@ -12,9 +12,9 @@ # if backwards compatibility has been broken, # set LIBMEDIAART_BINARY_AGE and LIBMEDIAART_INTERFACE_AGE to 0. m4_define([libmediaart_major_version], [0]) -m4_define([libmediaart_minor_version], [3]) +m4_define([libmediaart_minor_version], [4]) m4_define([libmediaart_micro_version], [0]) -m4_define([libmediaart_interface_age], [0]) +m4_define([libmediaart_interface_age], [4]) m4_define([libmediaart_binary_age], [m4_eval(100 * libmediaart_minor_version + libmediaart_micro_version)]) m4_define([libmediaart_version], @@ -236,7 +236,7 @@ AC_DEFINE(HAVE_QT5, [], [Define if we have Qt5]) AC_DEFINE(HAVE_QT, [], [Define if we have Qt]) - LIBMEDIAART_BACKEND=QtGui + LIBMEDIAART_BACKEND=Qt5Gui selected_for_media_art="yes (qt5)" else @@ -246,6 +246,7 @@ AC_DEFINE(HAVE_QT4, [], [Define if we have Qt4]) AC_DEFINE(HAVE_QT, [], [Define if we have Qt]) + LIBMEDIAART_BACKEND=QtGui selected_for_media_art="yes (qt4)" fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libmediaart-0.3.0/docs/reference/libmediaart/html/index.html new/libmediaart-0.4.0/docs/reference/libmediaart/html/index.html --- old/libmediaart-0.3.0/docs/reference/libmediaart/html/index.html 2014-03-07 20:09:43.000000000 +0100 +++ new/libmediaart-0.4.0/docs/reference/libmediaart/html/index.html 2014-04-01 17:41:41.000000000 +0200 @@ -15,7 +15,7 @@ <div> <div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">libmediaart Library Reference Manual</p></th></tr></table></div> <div><p class="releaseinfo"> - for libmediaart 0.3.0 + for libmediaart 0.4.0 . The latest version of this documentation can be found on-line at <a class="ulink" href="http://library.gnome.org/devel/libmediaart/unstable/" target="_top"> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libmediaart-0.3.0/docs/reference/libmediaart/html/libmediaart-Caching-and-Management.html new/libmediaart-0.4.0/docs/reference/libmediaart/html/libmediaart-Caching-and-Management.html --- old/libmediaart-0.3.0/docs/reference/libmediaart/html/libmediaart-Caching-and-Management.html 2014-03-07 20:09:43.000000000 +0100 +++ new/libmediaart-0.4.0/docs/reference/libmediaart/html/libmediaart-Caching-and-Management.html 2014-04-01 17:41:41.000000000 +0200 @@ -57,7 +57,7 @@ </tr> <tr> <td class="function_type"> -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +<span class="returnvalue">gboolean</span> </td> <td class="function_name"> <a class="link" href="libmediaart-Caching-and-Management.html#media-art-remove" title="media_art_remove ()">media_art_remove</a> <span class="c_punctuation">()</span> @@ -65,7 +65,7 @@ </tr> <tr> <td class="function_type"> -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * +<span class="returnvalue">gchar</span> * </td> <td class="function_name"> <a class="link" href="libmediaart-Caching-and-Management.html#media-art-strip-invalid-entities" title="media_art_strip_invalid_entities ()">media_art_strip_invalid_entities</a> <span class="c_punctuation">()</span> @@ -85,9 +85,9 @@ and saved in the user's XDG_CACHE_HOME directory.</p> <p>To find the media art for a given media file, use the function <a class="link" href="libmediaart-Caching-and-Management.html#media-art-get-file" title="media_art_get_file ()"><code class="function">media_art_get_file()</code></a> (you can also use <a class="link" href="libmediaart-Caching-and-Management.html#media-art-get-path" title="media_art_get_path ()"><code class="function">media_art_get_path()</code></a>, which does the -same thing but for path strings instead of <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> objects).</p> +same thing but for path strings instead of <span class="type">GFile</span> objects).</p> <p>If media art for the file is not found in the cache, these functions will -return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. You may find some embedded media art upon loading the file, +return <code class="literal">NULL</code>. You may find some embedded media art upon loading the file, and you can use <a class="link" href="libmediaart-Extraction.html#media-art-process" title="media_art_process ()"><code class="function">media_art_process()</code></a> to convert it to the correct format and save it in the cache for next time. The <a class="link" href="libmediaart-Extraction.html#media-art-process" title="media_art_process ()"><code class="function">media_art_process()</code></a> function also supports searching for external media art images using a basic heuristic.</p> @@ -97,12 +97,12 @@ <div class="refsect2"> <a name="media-art-get-file"></a><h3>media_art_get_file ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> -media_art_get_file (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *artist</code></em>, - <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>, - <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *prefix</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *file</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> **cache_file</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> **local_file</code></em>);</pre> +media_art_get_file (<em class="parameter"><code>const <span class="type">gchar</span> *artist</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *title</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *prefix</code></em>, + <em class="parameter"><code><span class="type">GFile</span> *file</code></em>, + <em class="parameter"><code><span class="type">GFile</span> **cache_file</code></em>, + <em class="parameter"><code><span class="type">GFile</span> **local_file</code></em>);</pre> <p>Gets the files pointing to cache files suitable for storing the media art provided by the <em class="parameter"><code>artist</code></em> , <em class="parameter"><code>title</code></em> @@ -114,8 +114,8 @@ will point to a cache file that resides in the same filesystem than <em class="parameter"><code>file</code></em> .</p> -<p>When done, both <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a>s must be freed with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> if -non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p> +<p>When done, both <span class="type">GFile</span>s must be freed with <code class="function">g_object_unref()</code> if +non-<code class="literal">NULL</code>.</p> <div class="refsect3"> <a name="id-1.3.3.3.6.2.6"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> @@ -142,21 +142,21 @@ </tr> <tr> <td class="parameter_name"><p>file</p></td> -<td class="parameter_description"><p> the file or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td> +<td class="parameter_description"><p> the file or <code class="literal">NULL</code>. </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td> </tr> <tr> <td class="parameter_name"><p>cache_file</p></td> <td class="parameter_description"><p> the location to store -a <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> pointing to the user cache path, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td> +a <span class="type">GFile</span> pointing to the user cache path, or <code class="literal">NULL</code>. </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td> </tr> <tr> <td class="parameter_name"><p>local_file</p></td> <td class="parameter_description"><p> the location to store -a <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> pointing to a cache file in the same filesystem than <em class="parameter"><code>file</code></em> +a <span class="type">GFile</span> pointing to a cache file in the same filesystem than <em class="parameter"><code>file</code></em> , -or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td> +or <code class="literal">NULL</code>. </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td> </tr> </tbody> @@ -168,16 +168,16 @@ <div class="refsect2"> <a name="media-art-get-path"></a><h3>media_art_get_path ()</h3> <pre class="programlisting"><span class="returnvalue">void</span> -media_art_get_path (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *artist</code></em>, - <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>, - <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *prefix</code></em>, - <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **path</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **local_uri</code></em>);</pre> +media_art_get_path (<em class="parameter"><code>const <span class="type">gchar</span> *artist</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *title</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *prefix</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *uri</code></em>, + <em class="parameter"><code><span class="type">gchar</span> **path</code></em>, + <em class="parameter"><code><span class="type">gchar</span> **local_uri</code></em>);</pre> <p>Get the path to media art for a given resource. Newly allocated data in <em class="parameter"><code>path</code></em> and <em class="parameter"><code>local_uri</code></em> - must be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p> + must be freed with <code class="function">g_free()</code>.</p> <div class="refsect3"> <a name="id-1.3.3.3.6.3.5"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> @@ -204,19 +204,19 @@ </tr> <tr> <td class="parameter_name"><p>uri</p></td> -<td class="parameter_description"><p> the uri of the file or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td> +<td class="parameter_description"><p> the uri of the file or <code class="literal">NULL</code>. </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td> </tr> <tr> <td class="parameter_name"><p>path</p></td> <td class="parameter_description"><p> the location to store the local -path or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td> +path or <code class="literal">NULL</code>. </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td> </tr> <tr> <td class="parameter_name"><p>local_uri</p></td> <td class="parameter_description"><p> the location to store the -local uri or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td> +local uri or <code class="literal">NULL</code>. </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td> </tr> </tbody> @@ -227,9 +227,9 @@ <hr> <div class="refsect2"> <a name="media-art-remove"></a><h3>media_art_remove ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> -media_art_remove (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *artist</code></em>, - <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *album</code></em>);</pre> +<pre class="programlisting"><span class="returnvalue">gboolean</span> +media_art_remove (<em class="parameter"><code>const <span class="type">gchar</span> *artist</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *album</code></em>);</pre> <p>Removes media art for given album/artist/etc provided.</p> <div class="refsect3"> <a name="id-1.3.3.3.6.4.5"></a><h4>Parameters</h4> @@ -247,7 +247,7 @@ </tr> <tr> <td class="parameter_name"><p>album</p></td> -<td class="parameter_description"><p> album the media art belongs or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td> +<td class="parameter_description"><p> album the media art belongs or <code class="literal">NULL</code>. </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td> </tr> </tbody> @@ -255,7 +255,7 @@ </div> <div class="refsect3"> <a name="id-1.3.3.3.6.4.6"></a><h4>Returns</h4> -<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> on success, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><span class="type">FALSE</span></a>.</p> +<p> <span class="type">TRUE</span> on success, otherwise <span class="type">FALSE</span>.</p> <p></p> </div> <p class="since">Since 0.2.0</p> @@ -263,11 +263,11 @@ <hr> <div class="refsect2"> <a name="media-art-strip-invalid-entities"></a><h3>media_art_strip_invalid_entities ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * -media_art_strip_invalid_entities (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *original</code></em>);</pre> +<pre class="programlisting"><span class="returnvalue">gchar</span> * +media_art_strip_invalid_entities (<em class="parameter"><code>const <span class="type">gchar</span> *original</code></em>);</pre> <p>Strip a albumname or artistname string to prepare it for calculating the media art path with it. Certain characters and charactersets will be stripped -and a newly allocated string returned which you must free with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p> +and a newly allocated string returned which you must free with <code class="function">g_free()</code>.</p> <p>This functions is used internally by <a class="link" href="libmediaart-Caching-and-Management.html#media-art-get-file" title="media_art_get_file ()"><code class="function">media_art_get_file()</code></a> and <a class="link" href="libmediaart-Caching-and-Management.html#media-art-get-path" title="media_art_get_path ()"><code class="function">media_art_get_path()</code></a>. You will not normally need to call it yourself.</p> <p>This function provides the following features:</p> @@ -296,7 +296,7 @@ <p> <em class="parameter"><code>original</code></em> stripped of invalid characters which must be freed. On error or if <em class="parameter"><code>original</code></em> -is empty, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.</p> +is empty, <code class="literal">NULL</code> is returned.</p> <p></p> </div> <p class="since">Since 0.2.0</p> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libmediaart-0.3.0/docs/reference/libmediaart/html/libmediaart-Extraction.html new/libmediaart-0.4.0/docs/reference/libmediaart/html/libmediaart-Extraction.html --- old/libmediaart-0.3.0/docs/reference/libmediaart/html/libmediaart-Extraction.html 2014-03-07 20:09:43.000000000 +0100 +++ new/libmediaart-0.4.0/docs/reference/libmediaart/html/libmediaart-Extraction.html 2014-04-01 17:41:41.000000000 +0200 @@ -41,7 +41,7 @@ <tbody> <tr> <td class="function_type"> -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +<span class="returnvalue">gboolean</span> </td> <td class="function_name"> <a class="link" href="libmediaart-Extraction.html#media-art-init" title="media_art_init ()">media_art_init</a> <span class="c_punctuation">()</span> @@ -57,7 +57,7 @@ </tr> <tr> <td class="function_type"> -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +<span class="returnvalue">gboolean</span> </td> <td class="function_name"> <a class="link" href="libmediaart-Extraction.html#media-art-process-file" title="media_art_process_file ()">media_art_process_file</a> <span class="c_punctuation">()</span> @@ -65,7 +65,7 @@ </tr> <tr> <td class="function_type"> -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +<span class="returnvalue">gboolean</span> </td> <td class="function_name"> <a class="link" href="libmediaart-Extraction.html#media-art-process" title="media_art_process ()">media_art_process</a> <span class="c_punctuation">()</span> @@ -122,14 +122,14 @@ <a name="libmediaart-Extraction.functions_details"></a><h2>Functions</h2> <div class="refsect2"> <a name="media-art-init"></a><h3>media_art_init ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +<pre class="programlisting"><span class="returnvalue">gboolean</span> media_art_init (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> <p>Initialize libmediaart.</p> <p>This function initializes cache hash tables, backend plugins, storage modules used for removable devices and connections to D-Bus.</p> <div class="refsect3"> <a name="id-1.3.3.2.7.2.6"></a><h4>Returns</h4> -<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if initialisation was successful, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p> +<p> <code class="literal">TRUE</code> if initialisation was successful, <code class="literal">FALSE</code> otherwise.</p> <p></p> </div> <p class="since">Since 0.2.0</p> @@ -145,20 +145,20 @@ <hr> <div class="refsect2"> <a name="media-art-process-file"></a><h3>media_art_process_file ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> -media_art_process_file (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *buffer</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> len</code></em>, - <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *mime</code></em>, +<pre class="programlisting"><span class="returnvalue">gboolean</span> +media_art_process_file (<em class="parameter"><code>const <span class="type">guchar</span> *buffer</code></em>, + <em class="parameter"><code><span class="type">gsize</span> len</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *mime</code></em>, <em class="parameter"><code><a class="link" href="libmediaart-Extraction.html#MediaArtType" title="enum MediaArtType"><span class="type">MediaArtType</span></a> type</code></em>, - <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *artist</code></em>, - <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *file</code></em>);</pre> + <em class="parameter"><code>const <span class="type">gchar</span> *artist</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *title</code></em>, + <em class="parameter"><code><span class="type">GFile</span> *file</code></em>);</pre> <p>Processes a media file. If you have extracted any embedded media art and passed this in as <em class="parameter"><code>buffer</code></em> , the image data will be converted to the correct format and saved in the media art cache.</p> <p>If <em class="parameter"><code>buffer</code></em> - is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, libmediaart will search the parent directory of <em class="parameter"><code>file</code></em> + is <code class="literal">NULL</code>, libmediaart will search the parent directory of <em class="parameter"><code>file</code></em> for image files that are likely to be media art for <em class="parameter"><code>file</code></em> , and if one is @@ -178,7 +178,7 @@ <tr> <td class="parameter_name"><p>buffer</p></td> <td class="parameter_description"><p> a buffer containing <em class="parameter"><code>file</code></em> -data, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td> +data, or <code class="literal">NULL</code>. </p></td> <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=len][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td> </tr> <tr> @@ -190,7 +190,7 @@ <tr> <td class="parameter_name"><p>mime</p></td> <td class="parameter_description"><p>MIME type of <em class="parameter"><code>buffer</code></em> -, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td> +, or <code class="literal">NULL</code></p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -200,12 +200,12 @@ </tr> <tr> <td class="parameter_name"><p>artist</p></td> -<td class="parameter_description"><p>The media file artist name, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td> +<td class="parameter_description"><p>The media file artist name, or <code class="literal">NULL</code></p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>title</p></td> -<td class="parameter_description"><p>The media file title, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td> +<td class="parameter_description"><p>The media file title, or <code class="literal">NULL</code></p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -218,7 +218,7 @@ </div> <div class="refsect3"> <a name="id-1.3.3.2.7.4.8"></a><h4>Returns</h4> -<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> if the file could be processed.</p> +<p> <span class="type">TRUE</span> if the file could be processed.</p> <p></p> </div> <p class="since">Since 0.2.0</p> @@ -226,16 +226,16 @@ <hr> <div class="refsect2"> <a name="media-art-process"></a><h3>media_art_process ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> +<pre class="programlisting"><span class="returnvalue">gboolean</span> media_art_process (<em class="parameter"><code>const unsigned <span class="type">char</span> *buffer</code></em>, <em class="parameter"><code><span class="type">size_t</span> len</code></em>, - <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *mime</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *mime</code></em>, <em class="parameter"><code><a class="link" href="libmediaart-Extraction.html#MediaArtType" title="enum MediaArtType"><span class="type">MediaArtType</span></a> type</code></em>, - <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *artist</code></em>, - <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>, - <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>);</pre> + <em class="parameter"><code>const <span class="type">gchar</span> *artist</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *title</code></em>, + <em class="parameter"><code>const <span class="type">gchar</span> *uri</code></em>);</pre> <p>This function is the same as <a class="link" href="libmediaart-Extraction.html#media-art-process-file" title="media_art_process_file ()"><code class="function">media_art_process_file()</code></a>, but takes the URI as -a string rather than a <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> object.</p> +a string rather than a <span class="type">GFile</span> object.</p> <div class="refsect3"> <a name="id-1.3.3.2.7.5.5"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> @@ -287,7 +287,7 @@ </div> <div class="refsect3"> <a name="id-1.3.3.2.7.5.6"></a><h4>Returns</h4> -<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> in case of success, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p> +<p> <code class="literal">TRUE</code> in case of success, <code class="literal">FALSE</code> otherwise.</p> <p></p> </div> <p class="since">Since 0.2.0</p> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libmediaart-0.3.0/docs/reference/libmediaart/html/style.css new/libmediaart-0.4.0/docs/reference/libmediaart/html/style.css --- old/libmediaart-0.3.0/docs/reference/libmediaart/html/style.css 2014-03-07 20:09:43.000000000 +0100 +++ new/libmediaart-0.4.0/docs/reference/libmediaart/html/style.css 2014-04-01 17:41:41.000000000 +0200 @@ -295,19 +295,21 @@ /* code listings */ -.listing_code .programlisting .cbracket { color: #a40000; } /* tango: scarlet red 3 */ -.listing_code .programlisting .comment { color: #a1a39d; } /* tango: aluminium 4 */ -.listing_code .programlisting .function { color: #000000; font-weight: bold; } -.listing_code .programlisting .function a { color: #11326b; font-weight: bold; } /* tango: sky blue 4 */ -.listing_code .programlisting .keyword { color: #4e9a06; } /* tango: chameleon 3 */ +.listing_code .programlisting .normal, +.listing_code .programlisting .normal a, +.listing_code .programlisting .number, +.listing_code .programlisting .cbracket, +.listing_code .programlisting .symbol { color: #555753; } +.listing_code .programlisting .comment, .listing_code .programlisting .linenum { color: #babdb6; } /* tango: aluminium 3 */ -.listing_code .programlisting .normal { color: #000000; } -.listing_code .programlisting .number { color: #75507b; } /* tango: plum 2 */ +.listing_code .programlisting .function, +.listing_code .programlisting .function a, .listing_code .programlisting .preproc { color: #204a87; } /* tango: sky blue 3 */ -.listing_code .programlisting .string { color: #c17d11; } /* tango: chocolate 2 */ -.listing_code .programlisting .type { color: #000000; } -.listing_code .programlisting .type a { color: #11326b; } /* tango: sky blue 4 */ -.listing_code .programlisting .symbol { color: #ce5c00; } /* tango: orange 3 */ +.listing_code .programlisting .string { color: #ad7fa8; } /* tango: plum */ +.listing_code .programlisting .keyword, +.listing_code .programlisting .usertype, +.listing_code .programlisting .type, +.listing_code .programlisting .type a { color: #4e9a06; } /* tango: chameleon 3 */ .listing_frame { /* tango:sky blue 1 */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libmediaart-0.3.0/docs/reference/libmediaart/version.xml new/libmediaart-0.4.0/docs/reference/libmediaart/version.xml --- old/libmediaart-0.3.0/docs/reference/libmediaart/version.xml 2014-03-07 20:09:30.000000000 +0100 +++ new/libmediaart-0.4.0/docs/reference/libmediaart/version.xml 2014-04-01 17:41:37.000000000 +0200 @@ -1 +1 @@ -0.3.0 +0.4.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libmediaart-0.3.0/libmediaart/extract.c new/libmediaart-0.4.0/libmediaart/extract.c --- old/libmediaart-0.3.0/libmediaart/extract.c 2014-03-02 16:01:45.000000000 +0100 +++ new/libmediaart-0.4.0/libmediaart/extract.c 2014-04-01 17:27:30.000000000 +0200 @@ -816,8 +816,8 @@ gboolean retval = FALSE; g_return_val_if_fail (type > MEDIA_ART_NONE && type < MEDIA_ART_TYPE_COUNT, FALSE); - g_return_val_if_fail (artist == NULL, FALSE); - g_return_val_if_fail (title == NULL, FALSE); + g_return_val_if_fail (artist != NULL, FALSE); + g_return_val_if_fail (title != NULL, FALSE); /* What we do here: * -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de