[libmediaart] Remove --enable-nemo



commit 9c2091d67d581fed07dae8dc4b0e0541bc6be3f8
Author: Sam Thursfield <sam thursfield codethink co uk>
Date:   Tue May 23 16:47:59 2017 +0100

    Remove --enable-nemo
    
    This flag was just enabling a codepath that sets QT_QPA_PLATFORM=minimal
    in the environment before constructing a QCoreApplication instance.
    
    This code path has no effect anyway: QT_QPA_PLATFORM only has an effect
    if you are using QGuiApplication.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=783562

 configure.ac              |   18 ------------------
 libmediaart/extractqt.cpp |    7 -------
 2 files changed, 0 insertions(+), 25 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 2d913d3..9993b4e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -304,22 +304,6 @@ LIBMEDIAART_CFLAGS="$LIBMEDIAART_CFLAGS $BACKEND_CFLAGS"
 LIBMEDIAART_LIBS="$LIBMEDIAART_LIBS $BACKEND_LIBS"
 AC_SUBST(LIBMEDIAART_BACKEND)
 
-#################################################################
-# Check if we should install nemo specific features
-#################################################################
-
-AC_ARG_ENABLE(nemo,
-              AS_HELP_STRING([--enable-nemo],
-                             [enable nemo specific [[default=no]]]),
-             [enable_nemo="$enableval"],
-             [enable_nemo=no])
-
-AM_CONDITIONAL(HAVE_NEMO, test "x$enable_nemo" = "xyes")
-
-if test "x$enable_nemo" = "xyes" ; then
-   AC_DEFINE(HAVE_NEMO, 1, [Define if we enable Nemo specific features])
-fi
-
 ####################################################################
 # Should we build GLib based unit tests
 ####################################################################
@@ -373,6 +357,4 @@ Build Configuration:
        Enable documentation:                   $enable_gtk_doc
 
        Support media art processing:           $selected_for_media_art
-
-        Support Nemo                            $enable_nemo
 "
diff --git a/libmediaart/extractqt.cpp b/libmediaart/extractqt.cpp
index dda324f..6114270 100644
--- a/libmediaart/extractqt.cpp
+++ b/libmediaart/extractqt.cpp
@@ -36,9 +36,7 @@
 
 #include <glib.h>
 
-#ifdef HAVE_NEMO
 #include <stdlib.h>
-#endif
 
 G_BEGIN_DECLS
 
@@ -61,11 +59,6 @@ media_art_plugin_init (gint max_width)
        max_width_in_bytes = max_width;
 
 #ifdef HAVE_QT5
-
-#ifdef HAVE_NEMO
-       setenv("QT_QPA_PLATFORM", "minimal", 1);
-#endif /* HAVE_NEMO */
-
        app = new QCoreApplication (argc, argv);
 #else  /* HAVE_QT4 (we fallback to Qt4) */
        app = new QApplication (argc, argv, QApplication::Tty);


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