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




commit 0cdeb7cb7a47fe3008ade7aaeb6482652b9c9daa
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/meson.build              |  19 --
 plugins/mmkeys/mmkeys.plugin.desktop.in |   9 -
 plugins/mmkeys/rb-mmkeys-plugin.c       | 480 --------------------------------
 6 files changed, 1 insertion(+), 520 deletions(-)
---
diff --git a/meson.build b/meson.build
index 7279198d1..4998389d8 100644
--- a/meson.build
+++ b/meson.build
@@ -126,13 +126,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'))
@@ -276,8 +269,7 @@ summary({'Database': get_option('database'),
          'Coherence check level': get_option('rhythmdb_debug'),
          'Tests': enable_check},
         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 4237bf141..13b754ef3 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 439e578ba..281407554 100644
--- a/plugins/meson.build
+++ b/plugins/meson.build
@@ -20,7 +20,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]