[grilo-plugins] lastfm-albumart: Remove C version of the Last.fm plugin



commit 37bacc5f08fcc373418837398d71728cec6b8052
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Sep 10 17:09:17 2015 +0200

    lastfm-albumart: Remove C version of the Last.fm plugin
    
    It was using an outdated API, and has now been fixed and ported to Lua,
    using gnome-online-accounts support.
    
    This leaves the tests alone, as they will be repurposed.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=700276

 Makefile.am                                 |    1 -
 configure.ac                                |   44 ---
 help/C/grilo-plugins.xml                    |    5 -
 po/POTFILES.in                              |    1 -
 src/Makefile.am                             |    6 +-
 src/lastfm-albumart/Makefile.am             |   42 ---
 src/lastfm-albumart/grl-lastfm-albumart.c   |  421 ---------------------------
 src/lastfm-albumart/grl-lastfm-albumart.h   |   74 -----
 src/lastfm-albumart/grl-lastfm-albumart.xml |   10 -
 9 files changed, 1 insertions(+), 603 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 1598f5f..9f44b65 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -33,7 +33,6 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-apple-trailers \
                             --enable-freebox \
                             --enable-gravatar \
                             --enable-jamendo \
-                            --enable-lastfm-albumart \
                             --enable-localmetadata \
                             --enable-lua-factory \
                             --enable-magnatune \
diff --git a/configure.ac b/configure.ac
index 45b3f6a..1e524c7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -357,49 +357,6 @@ DEPS_JAMENDO_LIBS="$DEPS_LIBS $GRLNET_LIBS $XML_LIBS"
 AC_SUBST(DEPS_JAMENDO_LIBS)
 
 # ----------------------------------------------------------
-# BUILD LASTFM ALBUM ART PLUGIN
-# ----------------------------------------------------------
-
-AC_ARG_ENABLE(lastfm_albumart,
-        AC_HELP_STRING([--enable-lastfm-albumart],
-                [enable Last.FM Album Art plugin (default: auto)]),
-        [
-                case "$enableval" in
-                     yes)
-                        if test "x$HAVE_GRLNET" = "xno"; then
-                           AC_MSG_ERROR([grilo-net-0.2 >= 0.2.2 not found, install it or use 
--disable-lastfm-albumart])
-                        fi
-                        if test "x$HAVE_XML" = "xno"; then
-                           AC_MSG_ERROR([libxml-2.0 not found, install it or use --disable-lastfm-albumart])
-                        fi
-                        ;;
-                esac
-        ],
-        [
-                if test "x$HAVE_GRLNET" = "xyes" -a "x$HAVE_XML" = "xyes"; then
-                   enable_lastfm_albumart=yes
-                else
-                   enable_lastfm_albumart=no
-                fi
-        ])
-
-AM_CONDITIONAL([LASTFM_ALBUMART_PLUGIN], [test "x$enable_lastfm_albumart" = "xyes"])
-GRL_PLUGINS_ALL="$GRL_PLUGINS_ALL lastfm-albumart"
-if test "x$enable_lastfm_albumart" = "xyes"
-then
-       GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED lastfm-albumart"
-fi
-
-LASTFM_ALBUMART_PLUGIN_ID="grl-lastfm-albumart"
-AC_SUBST(LASTFM_ALBUMART_PLUGIN_ID)
-AC_DEFINE_UNQUOTED([LASTFM_ALBUMART_PLUGIN_ID], ["$LASTFM_ALBUMART_PLUGIN_ID"], [Last.fm album art plugin 
ID])
-
-DEPS_LASTFM_ALBUMART_CFLAGS="$DEPS_CFLAGS $GRLNET_CFLAGS $XML_CFLAGS"
-AC_SUBST(DEPS_LASTFM_ALBUMART_CFLAGS)
-DEPS_LASTFM_ALBUMART_LIBS="$DEPS_LIBS $GRLNET_LIBS $XML_LIBS"
-AC_SUBST(DEPS_LASTFM_ALBUMART_LIBS)
-
-# ----------------------------------------------------------
 # BUILD YOUTUBE PLUGIN
 # ----------------------------------------------------------
 
@@ -1301,7 +1258,6 @@ AC_CONFIG_FILES([
   src/freebox/Makefile
   src/gravatar/Makefile
   src/jamendo/Makefile
-  src/lastfm-albumart/Makefile
   src/local-metadata/Makefile
   src/lua-factory/Makefile
   src/lua-factory/sources/Makefile
diff --git a/help/C/grilo-plugins.xml b/help/C/grilo-plugins.xml
index f1fdf78..68372f4 100644
--- a/help/C/grilo-plugins.xml
+++ b/help/C/grilo-plugins.xml
@@ -95,11 +95,6 @@
 <para>This is a Grilo plugin for Jamendo. Its plugin ID is <literal>"grl-jamendo"</literal></para>
 </sect1>
 
-<sect1 id="sec-plugin-lastfm-albumart">
-<title>LastFM Album Art</title>
-<para>This is a Grilo plugin for LastFM album art. Its plugin ID is 
<literal>"grl-lastfm-albumart"</literal></para>
-</sect1>
-
 <sect1 id="sec-plugin-local-metadata">
 <title>Local Metadata</title>
 <para>This is a Grilo plugin for Local metadata. Its plugin ID is 
<literal>"grl-local-metadata"</literal></para>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index ed32036..40b0927 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -9,7 +9,6 @@ src/flickr/grl-flickr.c
 src/freebox/grl-freebox.c
 src/gravatar/grl-gravatar.c
 src/jamendo/grl-jamendo.c
-src/lastfm-albumart/grl-lastfm-albumart.c
 src/local-metadata/grl-local-metadata.c
 src/magnatune/grl-magnatune.c
 src/metadata-store/grl-metadata-store.c
diff --git a/src/Makefile.am b/src/Makefile.am
index 30e647c..fbba58b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -38,10 +38,6 @@ if JAMENDO_PLUGIN
 SUBDIRS += jamendo
 endif
 
-if LASTFM_ALBUMART_PLUGIN
-SUBDIRS += lastfm-albumart
-endif
-
 if LOCALMETADATA_PLUGIN
 SUBDIRS += local-metadata
 endif
@@ -104,7 +100,7 @@ endif
 
 DIST_SUBDIRS = \
    bookmarks dleyna dmap filesystem flickr freebox gravatar jamendo \
-   lastfm-albumart local-metadata lua-factory magnatune metadata-store opensubtitles \
+   local-metadata lua-factory magnatune metadata-store opensubtitles \
    optical-media podcasts raitv shoutcast thetvdb tmdb tracker vimeo youtube
 
 -include $(top_srcdir)/git.mk


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]