Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit705e9b6

Browse files
authored
Merge pull request#3900 from pygame/decorate
manylinux: Add libdecor
2 parentsf7b61e7 +dbd20a2 commit705e9b6

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

‎buildconfig/manylinux-build/docker_base/wayland_libs/build-wayland-libs.sh‎

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,27 @@ set -e -x
44
# https://wayland.freedesktop.org/building.html
55
# https://www.linuxfromscratch.org/blfs/view/svn/general/wayland.html
66
# https://www.linuxfromscratch.org/blfs/view/svn/general/wayland-protocols.html
7+
# https://gitlab.freedesktop.org/libdecor/libdecor
8+
79

810
cd$(dirname`readlink -f"$0"`)
911

1012
WAYLAND_VER="1.21.0"
1113
WAYLAND_PROTOCOLS_VER="1.31"
1214
WAYLAND="wayland-${WAYLAND_VER}"
1315
WAYLAND_PROTOCOLS="wayland-protocols-${WAYLAND_PROTOCOLS_VER}"
16+
LIBDECOR_VER="0.1.1"
17+
LIBDECOR="libdecor-${LIBDECOR_VER}"
1418

1519
curl -sL --retry 10 https://gitlab.freedesktop.org/wayland/wayland/-/releases/${WAYLAND_VER}/downloads/${WAYLAND}.tar.xz>${WAYLAND}.tar.xz
1620
curl -sL --retry 10 https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/${WAYLAND_PROTOCOLS_VER}/downloads/${WAYLAND_PROTOCOLS}.tar.xz>${WAYLAND_PROTOCOLS}.tar.xz
21+
curl -sL --retry 10 https://gitlab.freedesktop.org/libdecor/libdecor/uploads/ee5ef0f2c3a4743e8501a855d61cb397/${LIBDECOR}.tar.xz>${LIBDECOR}.tar.xz
1722

1823
sha512sum -c wayland.sha512
1924

2025
tar xf${WAYLAND}.tar.xz
2126
tar xf${WAYLAND_PROTOCOLS}.tar.xz
27+
tar xf${LIBDECOR}.tar.xz
2228

2329

2430
cd$WAYLAND
@@ -40,17 +46,26 @@ mkdir build
4046
cd build
4147
meson setup .. \
4248
--buildtype=release \
49+
--prefix=/usr \
4350
-Dtests=false
4451
ninja
4552
ninja install
4653

4754
cd ../..
4855

49-
50-
5156
pkg-config --exists'wayland-client >= 1.18'
5257
pkg-config --exists wayland-scanner
5358
pkg-config --exists wayland-egl
5459
pkg-config --exists wayland-cursor
60+
pkg-config --exists wayland-protocols
5561
pkg-config --exists egl
5662
pkg-config --exists'xkbcommon >= 0.5.0'
63+
64+
cd$LIBDECOR
65+
66+
# Don't compile with cairo
67+
sed -i 1d src/plugins/meson.build
68+
meson build --buildtype release -Dinstall_demo=false -Ddemo=false --prefix=/usr
69+
meson install -C build
70+
71+
cd ..
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
5575216d30fdf5c63caa6bcad071e15f2a4f3acb12df776806073f65db37a50b5b5b3cc7957c5497636f4ac01893e2eaab26e453ded44b287acde01762f5fdc3wayland-1.21.0.tar.xz
22
402ce1915300e29afe554d77965ee0a28a5f22fdb5b901c4c640e59b9f3a9c11094e1edae87eea1e76eea557f6faf0c34a0c28ee7f6babb4dc3719329c4e25bfwayland-protocols-1.31.tar.xz
3+
b4fd3d22bbc61cd7b0bfc70b1cd89bea60d563de0e7716d87e2e1a6ad32d3dec9850396a0692bb1f879b4aa341ceca816e196cb149a89067eb571d498ab7df25libdecor-0.1.1.tar.xz

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp