[rhythmbox/wip/hadess/remove-lirc: 112/112] plugins: Remove LIRC plugin



commit 6b237f1196fe85d0b7c9abe5bb15da87462e28ca
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Jun 5 14:39:15 2018 +0200

    plugins: Remove LIRC plugin

 configure.ac                        |  16 ---
 help/C/index.docbook                |  69 ----------
 plugins/Makefile.am                 |   4 -
 plugins/lirc/Makefile.am            |  41 ------
 plugins/lirc/rb-lirc-plugin.c       | 264 ------------------------------------
 plugins/lirc/rblirc.plugin.in       |   8 --
 plugins/lirc/rhythmbox_lirc_default | 116 ----------------
 po/POTFILES.in                      |   2 -
 8 files changed, 520 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 9e1ffa42d..8da72b319 100644
--- a/configure.ac
+++ b/configure.ac
@@ -397,21 +397,6 @@ AM_GNU_GETTEXT([external])
 AC_SUBST([GETTEXT_PACKAGE], [rhythmbox])
 AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], "$GETTEXT_PACKAGE", [Define to the gettext package name.])
 
-dnl LIRC
-AC_ARG_ENABLE(lirc,
-       AC_HELP_STRING([--enable-lirc],[enable lirc support]))
-with_lirc=no
-if test x"$enable_lirc" != xno; then
-       AC_CHECK_HEADER(lirc/lirc_client.h,[with_lirc=yes],[with_lirc=no])
-       if test x"$with_lirc" = xyes; then
-               AC_CHECK_LIB(lirc_client,lirc_init,[with_lirc=yes],[with_lirc=no])
-       fi
-       if test x"$with_lirc" = xno -a x"$enable_lirc" = xyes; then
-               AC_MSG_ERROR([lirc explicitly requested but no support found])
-       fi
-fi
-AM_CONDITIONAL(WITH_LIRC, test x"$with_lirc" = xyes)
-
 AC_ARG_ENABLE(uninstalled-build,
               AC_HELP_STRING([--enable-uninstalled-build],
                             [Search for files in build directory as well]),
@@ -691,7 +676,6 @@ plugins/im-status/Makefile
 plugins/ipod/Makefile
 plugins/mtpdevice/Makefile
 plugins/iradio/Makefile
-plugins/lirc/Makefile
 plugins/lyrics/Makefile
 plugins/pythonconsole/Makefile
 plugins/artsearch/Makefile
diff --git a/help/C/index.docbook b/help/C/index.docbook
index 2e0f138d3..50d69767d 100644
--- a/help/C/index.docbook
+++ b/help/C/index.docbook
@@ -1624,74 +1624,5 @@
         </tgroup>
       </table>
     </sect2>
-    <sect2 id="lirc">
-      <title>Linux Infrared Remote Control</title>
-      <para>The <application>&app;</application> includes a plugin for Linux 
-      Infrared Remote Control (LIRC) support. The following command strings are 
-      supported, using the program name 'rhythmbox': </para>
-      <table frame="none">
-               <title>Window Shortcuts</title>
-        <tgroup cols="2" colsep="0" rowsep="0">
-          <colspec colname="COLSPEC0"/>
-          <colspec colname="COLSPEC1"/>
-          <thead>
-            <row>
-              <entry>Command string</entry>
-              <entry>Action</entry>
-            </row>
-          </thead>
-          <tbody>
-            <row>
-              <entry> <keycap>play</keycap> </entry>
-              <entry> <para>Start playback</para> </entry>
-            </row>
-            <row>
-              <entry> <keycap>pause</keycap> </entry>
-              <entry> <para>Pause playback</para> </entry>
-            </row>
-           <row>
-             <entry> <keycap>playpause</keycap> </entry>
-             <entry> <para>Toggle between playing and paused</para> </entry>
-           </row>
-            <row>
-              <entry> <keycap>shuffle</keycap> </entry>
-              <entry> <para>Toggle the shuffle play order</para> </entry>
-            </row>
-            <row>
-              <entry> <keycap>repeat</keycap> </entry>
-              <entry> <para>Toggle the repeat play order</para> </entry>
-            </row>
-            <row>
-              <entry> <keycap>next</keycap> </entry>
-              <entry> <para>Skip to the next track</para> </entry>
-            </row>
-            <row>
-              <entry> <keycap>previous</keycap> </entry>
-              <entry> <para>Skip to the previous track</para> </entry>
-            </row>
-            <row>
-              <entry> <keycap>seek_forward</keycap> </entry>
-              <entry> <para>Skip 10 seconds forward in the playing track</para> </entry>
-            </row>
-            <row>
-              <entry> <keycap>seek_backward</keycap> </entry>
-              <entry> <para>Skip 10 seconds backward in the playing track</para> </entry>
-            </row>
-            <row>
-              <entry> <keycap>volume_up</keycap> </entry>
-              <entry> <para>Increase the playback volume by 10%</para> </entry>
-            </row>
-            <row>
-              <entry> <keycap>volume_down</keycap> </entry>
-              <entry> <para>Decrease the playback volume by 10%</para> </entry>
-            </row>
-            <row>
-              <entry> <keycap>mute</keycap> </entry>
-              <entry> <para>Mute the playback</para> </entry>
-            </row>
-          </tbody>
-        </tgroup>
-      </table>
-    </sect2>
   </sect1>
 </article>
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 3e6c8f7aa..0f79479ea 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -29,10 +29,6 @@ SUBDIRS += context
 
 endif # ENABLE_PYTHON
 
-if WITH_LIRC
-SUBDIRS += lirc
-endif
-
 if USE_IPOD
 SUBDIRS += ipod
 endif
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 88190b12c..5f766a8f0 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -121,8 +121,6 @@ plugins/ipod/rb-ipod-source.c
 plugins/iradio/rb-iradio-source.c
 plugins/iradio/rb-station-properties-dialog.c
 [type: gettext/glade]plugins/iradio/station-properties.ui
-plugins/lirc/rb-lirc-plugin.c
-[type: gettext/ini]plugins/lirc/rblirc.plugin.in
 [type: gettext/ini]plugins/listenbrainz/listenbrainz.plugin.in
 [type: gettext/glade]plugins/listenbrainz/settings.ui
 plugins/lyrics/LyricsConfigureDialog.py


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