From 926ec51969a34627e42f5eac31ca28041340bf9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Sawicz?= Date: Mon, 23 Sep 2024 18:24:30 +0200 Subject: [PATCH] debian: package atomic-kms --- debian/control | 15 +++++++++++++++ debian/mir-platform-graphics-atomic-kms22.install | 1 + debian/rules | 2 +- snap/snapcraft.yaml | 2 +- 4 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 debian/mir-platform-graphics-atomic-kms22.install diff --git a/debian/control b/debian/control index 6b1b2841e48..d69b46de8a1 100644 --- a/debian/control +++ b/debian/control @@ -297,6 +297,20 @@ Description: Display server for Ubuntu - platform library for X11 Contains the shared libraries required for the Mir server to interact with the X11 platform. +Package: mir-platform-graphics-atomic-kms22 +Section: libs +Architecture: linux-any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Depends: ${misc:Depends}, + ${shlibs:Depends}, +Description: Display server for Ubuntu - platform library for Atomic KMS + Mir is a display server running on linux systems, with a focus on efficiency, + robust operation and a well-defined driver model. + . + Contains the shared libraries required for the Mir server to interact with + the hardware platform using the Mesa drivers and Atomic KMS API. + Package: mir-platform-graphics-gbm-kms22 Section: libs Architecture: linux-any @@ -404,6 +418,7 @@ Architecture: linux-any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, + mir-platform-graphics-atomic-kms, mir-platform-graphics-gbm-kms, mir-platform-graphics-x, mir-platform-graphics-wayland, diff --git a/debian/mir-platform-graphics-atomic-kms22.install b/debian/mir-platform-graphics-atomic-kms22.install new file mode 100644 index 00000000000..be383231799 --- /dev/null +++ b/debian/mir-platform-graphics-atomic-kms22.install @@ -0,0 +1 @@ +usr/lib/*/mir/server-platform/graphics-atomic-kms.so.22 diff --git a/debian/rules b/debian/rules index 7d0e2472924..54340461efd 100755 --- a/debian/rules +++ b/debian/rules @@ -65,7 +65,7 @@ export DEB_BUILD_MAINT_OPTIONS $(info COMMON_CONFIGURE_OPTIONS: ${COMMON_CONFIGURE_OPTIONS}) $(info DEB_BUILD_MAINT_OPTIONS: ${DEB_BUILD_MAINT_OPTIONS}) -AVAILABLE_PLATFORMS=gbm-kms\;x11\;wayland\;eglstream-kms +AVAILABLE_PLATFORMS=atomic-kms\;gbm-kms\;x11\;wayland\;eglstream-kms override_dh_auto_configure: ifneq ($(filter armhf,$(DEB_HOST_ARCH)),) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 416ce428d94..d654b6ecf91 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -18,7 +18,7 @@ parts: cmake-parameters: - -DCMAKE_INSTALL_PREFIX=/usr - -DMIR_ENABLE_WLCS_TESTS=OFF - - -DMIR_PLATFORM='gbm-kms;eglstream-kms;x11;wayland' + - -DMIR_PLATFORM='atomic-kms;gbm-kms;eglstream-kms;x11;wayland' build-packages: - build-essential - eglexternalplatform-dev