[rhythmbox/wip/hadess/remove-media-keys: 2/2] mmkeys: Remove gnome-settings-daemon MediaKeys plugin




commit 90f401a1b72b44bf1c670c7ae428b38d4bbeebed
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Oct 20 12:53:42 2021 +0200

    mmkeys: Remove gnome-settings-daemon MediaKeys plugin
    
    The server side has been obsoleted by MPRIS.
    
    See https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/merge_requests/268

 meson.build                       |  10 +-
 meson_options.txt                 |   2 -
 plugins/meson.build               |   1 -
 plugins/mmkeys/Makefile.am        |  44 ----
 plugins/mmkeys/meson.build        |  19 --
 plugins/mmkeys/mmkeys.plugin.in   |   9 -
 plugins/mmkeys/rb-mmkeys-plugin.c | 484 --------------------------------------
 7 files changed, 1 insertion(+), 568 deletions(-)
---
diff --git a/meson.build b/meson.build
index e1425cde8..5e8e168ac 100644
--- a/meson.build
+++ b/meson.build
@@ -110,13 +110,6 @@ if get_option('lirc').allowed()
   endif
 endif
 
-enable_mmkeys = false
-if get_option('mmkeys').allowed()
-  if cc.has_header('X11/XF86keysym.h', required: get_option('mmkeys'))
-    enable_mmkeys = true
-  endif
-endif
-
 have_libbrasero_media = false
 if get_option('brasero').allowed()
   brasero_media = dependency('libbrasero-media3', version: '>= 2.31.5', required: get_option('brasero'))
@@ -260,8 +253,7 @@ configuration : cdata)
 summary({'Database': get_option('database'),
          'Coherence check level': get_option('rhythmdb_debug'),},
         section: 'General')
-summary({'Multimedia keys': enable_mmkeys,
-         'iPod integration': use_ipod,
+summary({'iPod integration': use_ipod,
          'MTP integration': use_mtp,
          'CD burning support': have_libbrasero_media,
          'DAAP (music sharing) support': have_libdmapsharing,
diff --git a/meson_options.txt b/meson_options.txt
index a30f399f4..812a81162 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -16,8 +16,6 @@ option('libsecret', type: 'feature', value: 'auto',
        description: 'Enable keyring support using libsecret')
 option('lirc', type: 'feature', value: 'auto',
        description: 'Enable lirc support')
-option('mmkeys', type: 'feature', value: 'auto',
-       description: 'Enable multimedia keys support')
 option('mtp', type: 'feature', value: 'auto',
        description: 'Enable MTP support')
 option('plugins_python', type: 'feature', value: 'auto',
diff --git a/plugins/meson.build b/plugins/meson.build
index 0ec8b8f72..408642f85 100644
--- a/plugins/meson.build
+++ b/plugins/meson.build
@@ -7,7 +7,6 @@ subdir('audioscrobbler')
 subdir('dbus-media-server')
 subdir('generic-player')
 subdir('iradio')
-subdir('mmkeys')
 subdir('mpris')
 subdir('power-manager')
 


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