[gnome-games/wip/aplazas/libmanette: 5/15] debut suppression
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/aplazas/libmanette: 5/15] debut suppression
- Date: Wed, 8 Nov 2017 20:25:30 +0000 (UTC)
commit 40ffbed1c169eba9464aa3a9019541318d6173a9
Author: Adrien Plazas <kekun plazas laposte net>
Date: Mon Nov 6 06:33:41 2017 +0100
debut suppression
configure.ac | 13 --
src/Makefile.am | 55 -----
src/gamepad/gamepad-mapping-error.c | 9 -
src/gamepad/gamepad-mapping-error.h | 20 --
src/gamepad/gamepad-mapping.c | 364 ----------------------------------
src/gamepad/gamepad-mapping.h | 31 ---
src/gamepad/gamepad-mapping.vapi | 9 -
src/gamepad/gamepad-monitor.c | 241 ----------------------
src/gamepad/gamepad-monitor.h | 26 ---
src/gamepad/gamepad-monitor.vapi | 12 --
src/gamepad/gamepad.c | 374 -----------------------------------
src/gamepad/gamepad.h | 24 ---
src/gamepad/gamepad.vapi | 15 --
src/gamepad/raw-gamepad.c | 87 --------
src/gamepad/raw-gamepad.h | 26 ---
src/gamepad/raw-gamepad.vapi | 9 -
16 files changed, 0 insertions(+), 1315 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index f53f285..60015ce 100644
--- a/configure.ac
+++ b/configure.ac
@@ -50,19 +50,6 @@ PKG_CHECK_MODULES(GNOME_GAMES, [
tracker-sparql-2.0
])
-PKG_CHECK_MODULES(GAMEPADS, [
- libevdev
-], [enable_gamepads=yes], [enable_gamepads=no])
-AM_CONDITIONAL([ENABLE_GAMEPADS], [test x$enable_gamepads != xno])
-
-enable_udev=no
-if test x$enable_gamepads = xyes ; then
- PKG_CHECK_MODULES(UDEV, [
- gudev-1.0
- ], [enable_udev=yes], [enable_udev=no])
-fi
-AM_CONDITIONAL([ENABLE_UDEV], [test x$enable_udev = xyes])
-
AC_CONFIG_FILES([
Makefile
data/Makefile
diff --git a/src/Makefile.am b/src/Makefile.am
index 6329448..6d9bc95 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -27,24 +27,12 @@ EXTRA_DIST = \
event/event.vapi \
event/event-codes.vapi \
event/linux/input-event-codes.h \
- gamepad/gamepad.h \
- gamepad/gamepad.vapi \
gamepad/gamepad-dpad.h \
gamepad/gamepad-dpad.vapi \
gamepad/gamepad-input.h \
gamepad/gamepad-input.vapi \
- gamepad/gamepad-mapping.h \
- gamepad/gamepad-mapping.vapi \
- gamepad/gamepad-mapping-error.h \
gamepad/gamepad-mappings-manager.h \
gamepad/gamepad-mappings-manager.vapi \
- gamepad/gamepad-monitor.h \
- gamepad/gamepad-monitor.vapi \
- gamepad/linux/linux-raw-gamepad.h \
- gamepad/linux/linux-raw-gamepad-monitor.h \
- gamepad/raw-gamepad.h \
- gamepad/raw-gamepad.vapi \
- gamepad/raw-gamepad-monitor.h \
$(NULL)
header_file = libgnome-games.h
@@ -98,16 +86,10 @@ gnome_games_SOURCES = \
gameinfo/gameinfo-disc-id-game-title.vala \
gameinfo/gameinfo-disc-id-input-capabilities.vala \
\
- gamepad/gamepad.c \
gamepad/gamepad-dpad.c \
gamepad/gamepad-input.c \
gamepad/gamepad-mapping-builder.vala \
- gamepad/gamepad-mapping.c \
- gamepad/gamepad-mapping-error.c \
gamepad/gamepad-mappings-manager.c \
- gamepad/gamepad-monitor.c \
- gamepad/raw-gamepad.c \
- gamepad/raw-gamepad-monitor.c \
\
generic/generic-game.vala \
generic/generic-game-uri-adapter.vala \
@@ -193,22 +175,6 @@ gnome_games_SOURCES = \
$(BUILT_SOURCES) \
$(NULL)
-if ENABLE_GAMEPADS
-gnome_games_SOURCES += \
- gamepad/linux/linux-raw-gamepad.c \
- $(NULL)
-
-if ENABLE_UDEV
-gnome_games_SOURCES += \
- gamepad/linux/linux-raw-gamepad-monitor.c \
- $(NULL)
-else
-gnome_games_SOURCES += \
- gamepad/linux/linux-raw-gamepad-monitor-fallback.c \
- $(NULL)
-endif
-endif
-
gnome_games_VALAFLAGS = \
--target-glib=@GLIB_MIN_VERSION@ \
--pkg gio-2.0 \
@@ -226,13 +192,9 @@ gnome_games_VALAFLAGS = \
--pkg posix \
--pkg event \
--pkg event-codes \
- --pkg gamepad \
--pkg gamepad-dpad \
--pkg gamepad-input \
- --pkg gamepad-mapping \
--pkg gamepad-mappings-manager \
- --pkg gamepad-monitor \
- --pkg raw-gamepad \
--gresources $(gresource_file) \
--vapi $(vapi_file) \
--vapidir=event/ \
@@ -242,11 +204,8 @@ gnome_games_VALAFLAGS = \
gnome_games_CFLAGS = \
$(GNOME_GAMES_CFLAGS) \
- $(GAMEPADS_CFLAGS) \
- $(UDEV_CFLAGS) \
-I$(srcdir)/event \
-I$(srcdir)/gamepad \
- -I$(srcdir)/gamepad/linux \
-DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
-DGAMES_PLUGINS_DIR=\"$(libdir)/gnome-games/plugins\" \
$(NULL)
@@ -255,22 +214,8 @@ gnome_games_CPPFLAGS = \
-DRETRO_GTK_USE_UNSTABLE_API \
$(NULL)
-if ENABLE_GAMEPADS
-gnome_games_CPPFLAGS += \
- -DENABLE_LINUX_GAMEPADS \
- $(NULL)
-endif
-
-if ENABLE_UDEV
-gnome_games_CPPFLAGS += \
- -DENABLE_UDEV \
- $(NULL)
-endif
-
gnome_games_LDADD = \
$(GNOME_GAMES_LIBS) \
- $(GAMEPADS_LIBS) \
- $(UDEV_LIBS) \
$(NULL)
gnome_gamesincludedir = $(includedir)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]