Skip to content

Commit

Permalink
Remove eglfs plugin and platform support libraries
Browse files Browse the repository at this point in the history
We are going to replace it with a new plugin that uses AuroraCore and
AuroraPlatform for a better integration with the compositor.

Remove also the platform headers, EDID, KMS convenience libraries,
udev and logind.

Issue: #46
  • Loading branch information
plfiorini committed Feb 14, 2024
1 parent 59b8b6d commit 3083fe9
Show file tree
Hide file tree
Showing 115 changed files with 0 additions and 20,822 deletions.
18 changes: 0 additions & 18 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,19 +109,7 @@ if(FEATURE_aurora_compositor_quick)
endif()
endif()
if(FEATURE_aurora_qpa)
add_subdirectory(src/platformheaders)
# add_subdirectory(src/platformsupport/logind)
# add_subdirectory(src/platformsupport/udev)
# add_subdirectory(src/platformsupport/libinput)
# add_subdirectory(src/platformsupport/edid)
# add_subdirectory(src/platformsupport/kmsconvenience)
# add_subdirectory(src/plugins/platforms/eglfs)
# add_subdirectory(src/plugins/platforms/eglfs/deviceintegration/eglfs_kms)
# #add_subdirectory(src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_egldevice)
# add_subdirectory(src/plugins/platforms/eglfs/deviceintegration/eglfs_kms_support)
# if(FEATURE_aurora_qpa_x11)
# add_subdirectory(src/plugins/platforms/eglfs/deviceintegration/eglfs_x11)
# endif()
endif()
if(FEATURE_aurora_deviceintegration_wayland)
add_subdirectory(src/plugins/deviceintegration/wayland)
Expand All @@ -134,12 +122,6 @@ if(BUILD_TESTING)
add_subdirectory(tests/manual/scaling-compositor)
add_subdirectory(tests/manual/subsurface)
endif()
if(TARGET Liri::AuroraLogind)
# add_subdirectory(tests/auto/logind)
endif()
if(TARGET Liri::AuroraUdev)
# add_subdirectory(tests/auto/udev)
endif()
if(TARGET Liri::AuroraLibInput)
# add_subdirectory(tests/manual/libinput)
endif()
Expand Down
50 changes: 0 additions & 50 deletions features.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -332,34 +332,6 @@ if(FEATURE_aurora_qpa)
message(WARNING "You need gbm for Aurora::QPA")
set(FEATURE_aurora_qpa OFF)
endif()
#if(NOT TARGET Qt${QT_MAJOR_VERSION}FontDatabaseSupport::Qt${QT_MAJOR_VERSION}FontDatabaseSupport)
# message(WARNING "You need Qt${QT_MAJOR_VERSION}FontDatabaseSupport for Aurora::QPA")
# set(FEATURE_aurora_qpa OFF)
#endif()
#if(NOT TARGET Qt${QT_MAJOR_VERSION}ThemeSupport::Qt${QT_MAJOR_VERSION}ThemeSupport)
# message(WARNING "You need Qt${QT_MAJOR_VERSION}ThemeSupport for Aurora::QPA")
# set(FEATURE_aurora_qpa OFF)
#endif()
#if(NOT TARGET Qt${QT_MAJOR_VERSION}EventDispatcherSupport::Qt${QT_MAJOR_VERSION}EventDispatcherSupport)
# message(WARNING "You need Qt${QT_MAJOR_VERSION}EventDispatcherSupport for Aurora::QPA")
# set(FEATURE_aurora_qpa OFF)
#endif()
#if(NOT TARGET Qt${QT_MAJOR_VERSION}EglSupport::Qt${QT_MAJOR_VERSION}EglSupport)
# message(WARNING "You need Qt${QT_MAJOR_VERSION}EglSupport for Aurora::QPA")
# set(FEATURE_aurora_qpa OFF)
#endif()
#if(NOT TARGET Qt${QT_MAJOR_VERSION}PlatformCompositorSupport::Qt${QT_MAJOR_VERSION}PlatformCompositorSupport)
# message(WARNING "You need Qt${QT_MAJOR_VERSION}PlatformCompositorSupport for Aurora::QPA")
# set(FEATURE_aurora_qpa OFF)
#endif()
#if(NOT TARGET Qt${QT_MAJOR_VERSION}ServiceSupport::Qt${QT_MAJOR_VERSION}ServiceSupport)
# message(WARNING "You need Qt${QT_MAJOR_VERSION}ServiceSupport for Aurora::QPA")
# set(FEATURE_aurora_qpa OFF)
#endif()
#if(NOT TARGET Qt${QT_MAJOR_VERSION}FbSupport::Qt${QT_MAJOR_VERSION}FbSupport)
# message(WARNING "You need Qt${QT_MAJOR_VERSION}FbSupport for Aurora::QPA")
# set(FEATURE_aurora_qpa OFF)
#endif()
if(NOT FEATURE_aurora_xkbcommon)
message(WARNING "You need XkbCommon support for Aurora::QPA")
set(FEATURE_aurora_qpa OFF)
Expand All @@ -368,28 +340,6 @@ endif()
add_feature_info("Aurora::QPA" FEATURE_aurora_qpa "Build Qt platform plugin for Wayland compositors")
set(LIRI_FEATURE_aurora_qpa "$<IF:${FEATURE_aurora_qpa},1,0>")

# x11
if(FEATURE_aurora_qpa)
option(FEATURE_aurora_qpa_x11 "Qt platform plugin for Wayland compositors: X11 support" ON)
if(FEATURE_aurora_qpa_x11)
find_package(X11)
if(NOT X11_FOUND)
message(WARNING "You need X11 for Aurora::QPA::X11")
set(FEATURE_aurora_qpa_x11 OFF)
endif()

find_package(XCB COMPONENTS XCB)
if(NOT XCB_FOUND)
message(WARNING "You need XCB for Aurora::QPA::X11")
set(FEATURE_aurora_qpa_x11 OFF)
endif()
endif()
else()
set(FEATURE_aurora_qpa_x11 OFF)
endif()
add_feature_info("Aurora::QPA::X11" FEATURE_aurora_qpa "Build X11 support for the Qt platform plugin for Wayland compositors")
set(LIRI_FEATURE_aurora_qpa_x11 "$<IF:${FEATURE_aurora_qpa_x11},1,0>")

# shm-emulation-server
option(FEATURE_aurora_shm_emulation_server "Shm emulation server" ON)
if(FEATURE_aurora_shm_emulation_server)
Expand Down
22 changes: 0 additions & 22 deletions src/platformheaders/CMakeLists.txt

This file was deleted.

178 changes: 0 additions & 178 deletions src/platformheaders/lirieglfsfunctions.cpp

This file was deleted.

Loading

0 comments on commit 3083fe9

Please sign in to comment.