Skip to content

Commit

Permalink
debian: package atomic-kms (#3607)
Browse files Browse the repository at this point in the history
  • Loading branch information
Saviq authored Oct 23, 2024
1 parent 72c7038 commit 8082102
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 2 deletions.
32 changes: 32 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,21 @@ 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: mir-platform-graphics-gbm-kms22,
${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
Expand Down Expand Up @@ -404,6 +419,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,
Expand All @@ -416,6 +432,22 @@ Description: Display server for Ubuntu - desktop driver metapackage
This package depends on a full set of graphics and input drivers for traditional desktop
systems.

Package: mir-platform-graphics-atomic-kms
Section: libs
Architecture: linux-any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends},
mir-platform-graphics-atomic-kms22,
mir-platform-input-evdev10,
mir-platform-rendering-egl-generic,
Description: Display server for Ubuntu - gbm-kms driver metapackage
Mir is a display server running on linux systems, with a focus on efficiency,
robust operation and a well-defined driver model.
.
This package depends on a full set of graphics and input drivers for atomic-kms
systems.

Package: mir-platform-graphics-gbm-kms
Section: libs
Architecture: linux-any
Expand Down
1 change: 1 addition & 0 deletions debian/mir-platform-graphics-atomic-kms22.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
usr/lib/*/mir/server-platform/graphics-atomic-kms.so.22
2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -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)),)
Expand Down
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions tools/update_package_abis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ packages="\
libmirplatform:MIRPLATFORM_ABI \
libmirserver:MIRSERVER_ABI \
mir-platform-graphics-x:MIR_SERVER_GRAPHICS_PLATFORM_ABI \
mir-platform-graphics-atomic-kms:MIR_SERVER_GRAPHICS_PLATFORM_ABI \
mir-platform-graphics-gbm-kms:MIR_SERVER_GRAPHICS_PLATFORM_ABI \
mir-platform-graphics-eglstream-kms:MIR_SERVER_GRAPHICS_PLATFORM_ABI \
mir-platform-input-evdev:MIR_SERVER_INPUT_PLATFORM_ABI\
Expand Down

0 comments on commit 8082102

Please sign in to comment.