[rhythmbox/wip/hadess/remove-unused-hal-src] mpid: Remove more HAL related code




commit ffa97df303ba0a82e4a7375b8855bd2058e4664f
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Oct 20 11:24:10 2021 +0200

    mpid: Remove more HAL related code
    
    Following-up from ce78295bbf068f8da27706666e693cbd007855cb, let's remove
    this other HAL related source. It was impossible to build, and was
    completely unused.

 lib/libmediaplayerid/Makefile.am     |   4 +-
 lib/libmediaplayerid/mediaplayerid.h |   2 +-
 lib/libmediaplayerid/mpid-hal.c      | 266 -----------------------------------
 3 files changed, 3 insertions(+), 269 deletions(-)
---
diff --git a/lib/libmediaplayerid/Makefile.am b/lib/libmediaplayerid/Makefile.am
index 2ccc6f90a..38542000a 100644
--- a/lib/libmediaplayerid/Makefile.am
+++ b/lib/libmediaplayerid/Makefile.am
@@ -21,7 +21,7 @@ AM_CPPFLAGS =                         \
 if USE_GUDEV
 
 libmediaplayerid_la_SOURCES += mpid-udev.c
-EXTRA_DIST = mpid-hal.c mpid-dummy.c
+EXTRA_DIST = mpid-dummy.c
 
 AM_CPPFLAGS += $(GUDEV_CFLAGS)
 libmediaplayerid_la_LIBADD = $(GUDEV_LIBS)
@@ -29,7 +29,7 @@ libmediaplayerid_la_LIBADD = $(GUDEV_LIBS)
 else
 
 libmediaplayerid_la_SOURCES += mpid-dummy.c
-EXTRA_DIST = mpid-udev.c mpid-hal.c
+EXTRA_DIST = mpid-udev.c
 
 endif #  HAVE_GUDEV
 
diff --git a/lib/libmediaplayerid/mediaplayerid.h b/lib/libmediaplayerid/mediaplayerid.h
index d43ba5098..eaa8a751d 100644
--- a/lib/libmediaplayerid/mediaplayerid.h
+++ b/lib/libmediaplayerid/mediaplayerid.h
@@ -31,7 +31,7 @@ G_BEGIN_DECLS
 typedef enum {
        MPID_ERROR_NONE,
        MPID_ERROR_NO_DEVICE_PATH,                      /* unable to find the device path */
-       MPID_ERROR_MECHANISM_FAILED,                    /* mechanism (udev, hal) not available */
+       MPID_ERROR_MECHANISM_FAILED,                    /* mechanism (udev) not available */
        MPID_ERROR_NOT_MEDIA_PLAYER,                    /* device is not a media player */
        MPID_ERROR_DEVICE_INFO_MISSING                  /* the device info file is missing */
 } MPIDError;


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