Repository navigation
Expand file tree
/
Copy pathDockerfile.ubuntu-static
More file actions
453 lines (406 loc) · 17.9 KB
/
Copy pathDockerfile.ubuntu-static
File metadata and controls
453 lines (406 loc) · 17.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
FROM ubuntu:22.04
# 環境変数
ARG DEBIAN_FRONTEND=noninteractive
ARG QT_VERSION=6.5.0
ARG QT_VERSION1=6.5
ARG QT_MODULE=qtbase
ENV QT_VERSION=${QT_VERSION}
ENV QT_MODULE=${QT_MODULE}
ENV INSTALL_PREFIX=/opt/qt6-static
ENV PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/local/lib/x86_64-linux-gnu/pkgconfig
# 依存インストール
# Install dependencies
RUN apt-get update && apt-get install -y \
build-essential \
cmake \
ninja-build \
git \
curl \
wget \
gperf \
libtool \
automake \
ca-certificates \
libxcb1-dev libxcb-util-dev libx11-dev \
libxext-dev libxrender-dev libxkbcommon-dev \
libx11-xcb-dev \
libxcb-cursor-dev \
libxcb-glx0-dev \
libxcb-icccm4-dev \
libxcb-image0-dev \
libxcb-keysyms1-dev \
libxcb-randr0-dev \
libxcb-render-util0-dev \
libxcb-shape0-dev \
libxcb-shm0-dev \
libxcb-sync-dev \
libxcb-util-dev \
libxcb-xfixes0-dev \
libxcb-xkb-dev \
libxcb1-dev \
libxext-dev \
libxfixes-dev \
libxi-dev \
libxkbcommon-dev \
libxkbcommon-x11-dev \
libxrender-dev \
libdbus-1-dev \
libgl1-mesa-dev \
libglu1-mesa-dev \
libglib2.0-dev \
libgtk-3-dev \
libssl-dev \
libfontconfig1-dev \
meson \
python3-pip \
pkg-config \
libxcb-dri2-0-dev \
&& rm -rf /var/lib/apt/lists/*
RUN locale-gen C.UTF-8 && update-locale LANG=C.UTF-8
ENV LANG=C.UTF-8 LANGUAGE=C.UTF-8 LC_ALL=C.UTF-8
ENV CFLAGS="-fPIC"
ENV CXXFLAGS="-fPIC"
# zlib (静的ビルド強制)
RUN wget https://zlib.net/zlib-1.3.1.tar.gz && \
tar -xzf zlib-1.3.1.tar.gz && \
cd zlib-1.3.1 && \
./configure --static --prefix=/usr/local && make -j$(nproc) && make install
# libxml2 (v2.9.9, static build using configure)
RUN wget https://github.com/GNOME/libxml2/archive/refs/tags/v2.9.9.tar.gz && \
tar -xf v2.9.9.tar.gz && cd libxml2-2.9.9 && \
./autogen.sh && \
env \
CFLAGS="-fPIC" \
./configure \
--prefix=/usr/local \
--enable-static \
--disable-shared \
--without-python \
--with-zlib=/usr/local && \
make -j$(nproc) && \
make install
# libpng
RUN wget https://download.sourceforge.net/libpng/libpng-1.6.37.tar.gz && \
tar -xzf libpng-1.6.37.tar.gz && \
cd libpng-1.6.37 && \
./configure --prefix=/usr/local --disable-shared --enable-static && make -j$(nproc) && make install
# libjpeg-turbo (static)
RUN wget https://downloads.sourceforge.net/libjpeg-turbo/libjpeg-turbo-3.0.1.tar.gz && \
tar -xzf libjpeg-turbo-3.0.1.tar.gz && cd libjpeg-turbo-3.0.1 && \
cmake -B build -G"Unix Makefiles" \
-DCMAKE_INSTALL_PREFIX=/usr/local \
-DENABLE_SHARED=OFF \
-DENABLE_STATIC=ON && \
cmake --build build -j$(nproc) && \
cmake --install build
# libXext
RUN wget https://xorg.freedesktop.org/archive/individual/lib/libXext-1.3.5.tar.gz && \
tar -xzf libXext-1.3.5.tar.gz && \
cd libXext-1.3.5 && \
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig \
./configure --prefix=/usr/local --disable-shared --enable-static && \
make -j$(nproc) && make install
# FreeType (static)
RUN wget https://repo.jing.rocks/nongnu/freetype/freetype-2.9.1.tar.gz && \
tar -xf freetype-2.9.1.tar.gz && cd freetype-2.9.1 && \
./configure \
--prefix=/usr/local \
--with-harfbuzz=yes \
--enable-static \
--disable-shared \
--with-pic \
--with-bdfformat \
--without-bzip2 \
HARFBUZZ_CFLAGS="$(pkg-config --cflags harfbuzz)" \
HARFBUZZ_LIBS="$(pkg-config --libs harfbuzz)"
# harfbuzz (static, .pc生成確認)
RUN wget https://github.com/harfbuzz/harfbuzz/releases/download/8.3.0/harfbuzz-8.3.0.tar.xz && \
tar -xf harfbuzz-8.3.0.tar.xz && cd harfbuzz-8.3.0 && \
meson setup build \
--prefix=/usr/local \
--buildtype=release \
--libdir=lib \
-Ddefault_library=static \
-Dtests=disabled \
-Ddocs=disabled \
-Dbenchmark=disabled \
-Dintrospection=disabled && \
ninja -C build && \
ninja -C build install
# ICU (static)
RUN wget https://github.com/unicode-org/icu/releases/download/release-74-2/icu4c-74_2-src.tgz && \
tar -xzf icu4c-74_2-src.tgz && \
cd icu/source && \
./configure --prefix=/usr/local --disable-shared --enable-static && \
make -j$(nproc) && \
make install
# xorgproto (プロトコル定義)
RUN wget https://xorg.freedesktop.org/archive/individual/proto/xorgproto-2022.1.tar.gz && \
tar -xf xorgproto-2022.1.tar.gz && \
cd xorgproto-2022.1 && \
./configure --prefix=/usr/local && make -j$(nproc) && make install
# xcb-proto (プロトコル定義)
RUN wget https://xorg.freedesktop.org/archive/individual/proto/xcb-proto-1.15.2.tar.xz && \
tar -xf xcb-proto-1.15.2.tar.xz && \
cd xcb-proto-1.15.2 && \
./configure --prefix=/usr/local && make -j$(nproc) && make install
# libxml-2.0
RUN wget https://github.com/GNOME/libxml2/archive/refs/tags/v2.14.2.tar.gz && \
tar -xf v2.14.2.tar.gz && \
cd libxml2-2.14.2 && \
cmake -B build -GNinja \
-D BUILD_SHARED_LIBS=OFF \
-D CMAKE_INSTALL_PREFIX=/usr/local \
-D LIBXML2_WITH_ICONV=OFF \
-D LIBXML2_WITH_PYTHON=OFF \
-D LIBXML2_WITH_ZLIB=ON && \
cmake --build build -j$(nproc) && cmake --install build
# libXau
RUN wget https://xorg.freedesktop.org/archive/individual/lib/libXau-1.0.10.tar.gz && \
tar -xf libXau-1.0.10.tar.gz && \
cd libXau-1.0.10 && \
./configure --prefix=/usr/local --disable-shared --enable-static || true && \
echo "----- config.log begin -----" && \
cat config.log || echo "No config.log found" && \
echo "----- config.log end -----" \
&& make -j$(nproc) && make install
# === Xau.pc 出力用 ===
RUN echo "----- Xau.pc begin -----" && \
cat /usr/local/lib/pkgconfig/xau.pc || echo "No xau.pc found" && \
echo "----- Xau.pc end -----"
# libXdmcp
RUN wget https://xorg.freedesktop.org/archive/individual/lib/libXdmcp-1.1.4.tar.gz && \
tar -xf libXdmcp-1.1.4.tar.gz && \
cd libXdmcp-1.1.4 && \
./configure --prefix=/usr/local --disable-shared --enable-static && make -j$(nproc) && make install
# libpthread-stubs
RUN wget https://xorg.freedesktop.org/archive/individual/lib/libpthread-stubs-0.1.tar.gz && \
tar -xzf libpthread-stubs-0.1.tar.gz && \
cd libpthread-stubs-0.1 && \
./configure --prefix=/usr/local --disable-shared --enable-static && \
make -j$(nproc) && make install
# xtrans
RUN wget https://xorg.freedesktop.org/archive/individual/lib/xtrans-1.2.7.tar.gz && \
tar -xzf xtrans-1.2.7.tar.gz && \
cd xtrans-1.2.7 && \
./configure --prefix=/usr/local && make -j$(nproc) && make install
# libICE
RUN wget https://xorg.freedesktop.org/archive/individual/lib/libICE-1.1.2.tar.gz && \
tar -xzf libICE-1.1.2.tar.gz && \
cd libICE-1.1.2 && \
./configure --prefix=/usr/local --disable-shared --enable-static && make -j$(nproc) && make install
# libSM
RUN wget https://xorg.freedesktop.org/archive/individual/lib/libSM-1.2.2.tar.gz && \
tar -xzf libSM-1.2.2.tar.gz && \
cd libSM-1.2.2 && \
./configure --prefix=/usr/local--disable-shared --enable-static && make -j$(nproc) && make install
# libXfixes
RUN wget https://xorg.freedesktop.org/archive/individual/lib/libXfixes-6.0.1.tar.gz && \
tar -xzf libXfixes-6.0.1.tar.gz && \
cd libXfixes-6.0.1 && \
./configure --prefix=/usr/local --disable-shared --enable-static && make -j$(nproc) && make install
# libXi
RUN wget https://xorg.freedesktop.org/archive/individual/lib/libXi-1.6.2.tar.gz && \
tar -xzf libXi-1.6.2.tar.gz && \
cd libXi-1.6.2 && \
./configure --prefix=/usr/local --disable-shared --enable-static && make -j$(nproc) && make install
# libXinerama
RUN wget https://xorg.freedesktop.org/archive/individual/lib/libXinerama-1.1.5.tar.gz && \
tar -xzf libXinerama-1.1.5.tar.gz && \
cd libXinerama-1.1.5 && \
./configure --prefix=/usr/local --disable-shared --enable-static && make -j$(nproc) && make install
# libXext
RUN wget https://xorg.freedesktop.org/archive/individual/lib/libXext-1.3.3.tar.gz && \
tar -xzf libXext-1.3.3.tar.gz && \
cd libXext-1.3.3 && \
./configure --prefix=/usr/local --disable-shared --enable-static && make -j$(nproc) && make install
# libXrender
RUN wget https://xorg.freedesktop.org/archive/individual/lib/libXrender-0.9.12.tar.gz && \
tar -xzf libXrender-0.9.12.tar.gz && \
cd libXrender-0.9.12 && \
./configure --prefix=/usr/local --disable-shared --enable-static && \
make -j$(nproc) && make install
# libxcb
RUN wget https://xorg.freedesktop.org/archive/individual/xcb/libxcb-1.15.tar.gz && \
tar -xzf libxcb-1.15.tar.gz && \
cd libxcb-1.15 && \
CPPFLAGS="-I/usr/local/include" \
LDFLAGS="-L/usr/local/lib -static -lXau" \
./configure --prefix=/usr/local --disable-shared --enable-static \
--enable-xevie --enable-xprint \
--with-pic \
PKG_CONFIG_LIBDIR=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/local/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig \
PKG_CONFIG="pkg-config --static" \
|| true && \
echo "----- libxcb config.log begin -----" && \
cat config.log || echo "No config.log found" && \
echo "----- libxcb config.log end -----" \
&& \
make -j$(nproc) && make install
# libX11
RUN wget https://xorg.freedesktop.org/archive/individual/lib/libX11-1.6.9.tar.gz && \
tar -xzf libX11-1.6.9.tar.gz && \
cd libX11-1.6.9 && \
./configure --prefix=/usr/local --disable-shared --enable-static && make -j$(nproc) && make install
# libXrandr
RUN wget https://xorg.freedesktop.org/archive/individual/lib/libXrandr-1.5.2.tar.gz && \
tar -xzf libXrandr-1.5.2.tar.gz && \
cd libXrandr-1.5.2 && \
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig \
./configure --prefix=/usr/local --disable-shared --enable-static --with-pic && \
make -j$(nproc) && make install
# xcb-util family
ARG XCB_UTIL_VERSION=0.4.1
ARG XCB_UTIL_IMAGE_VERSION=0.4.1
ARG XCB_UTIL_KEYSYMS_VERSION=0.4.1
ARG XCB_UTIL_RENDERUTIL_VERSION=0.3.10
ARG XCB_UTIL_WM_VERSION=0.4.2
ARG XCB_UTIL_CURSOR_VERSION=0.1.5
# Download and build xcb-util
RUN wget https://xorg.freedesktop.org/archive/individual/lib/xcb-util-${XCB_UTIL_VERSION}.tar.gz && \
tar -xzf xcb-util-${XCB_UTIL_VERSION}.tar.gz && \
cd xcb-util-${XCB_UTIL_VERSION} && \
./configure --prefix=/usr/local --with-xcb=/usr --disable-shared --enable-static && \
make -j$(nproc) && make install
# xcb-util-image
RUN wget https://xorg.freedesktop.org/archive/individual/lib/xcb-util-image-${XCB_UTIL_IMAGE_VERSION}.tar.gz && \
tar -xzf xcb-util-image-${XCB_UTIL_IMAGE_VERSION}.tar.gz && \
cd xcb-util-image-${XCB_UTIL_IMAGE_VERSION} && \
./configure --prefix=/usr/local --with-xcb=/usr --disable-shared --enable-static && \
make -j$(nproc) && make install
# xcb-util-keysyms
RUN wget https://xorg.freedesktop.org/archive/individual/lib/xcb-util-keysyms-${XCB_UTIL_KEYSYMS_VERSION}.tar.gz && \
tar -xzf xcb-util-keysyms-${XCB_UTIL_KEYSYMS_VERSION}.tar.gz && \
cd xcb-util-keysyms-${XCB_UTIL_KEYSYMS_VERSION} && \
./configure --prefix=/usr/local --disable-shared --enable-static && \
make -j$(nproc) && make install
# xcb-util-renderutil
RUN wget https://xorg.freedesktop.org/archive/individual/lib/xcb-util-renderutil-${XCB_UTIL_RENDERUTIL_VERSION}.tar.gz && \
tar -xzf xcb-util-renderutil-${XCB_UTIL_RENDERUTIL_VERSION}.tar.gz && \
cd xcb-util-renderutil-${XCB_UTIL_RENDERUTIL_VERSION} && \
./configure --prefix=/usr/local --disable-shared --enable-static && \
make -j$(nproc) && make install
# xcb-util-wm
RUN wget https://xorg.freedesktop.org/archive/individual/lib/xcb-util-wm-${XCB_UTIL_WM_VERSION}.tar.gz && \
tar -xzf xcb-util-wm-${XCB_UTIL_WM_VERSION}.tar.gz && \
cd xcb-util-wm-${XCB_UTIL_WM_VERSION} && \
./configure --prefix=/usr/local --disable-shared --enable-static && \
make -j$(nproc) && make install
# xcb-util-cursor
RUN wget https://xorg.freedesktop.org/archive/individual/lib/xcb-util-cursor-${XCB_UTIL_CURSOR_VERSION}.tar.gz && \
tar -xzf xcb-util-cursor-${XCB_UTIL_CURSOR_VERSION}.tar.gz && \
cd xcb-util-cursor-${XCB_UTIL_CURSOR_VERSION} && \
./configure --prefix=/usr/local --disable-shared --enable-static && \
make -j$(nproc) && make install
# Download and build xcb-util
#RUN wget https://xorg.freedesktop.org/archive/individual/xcb/xcb-util-0.3.6.tar.gz && \
# tar -xzf xcb-util-0.3.6.tar.gz && \
# cd xcb-util-0.3.6 && \
# ./configure --prefix=/usr/local --with-xcb=/usr --disable-shared --enable-static && \
# make -j$(nproc) && make install
# Build libxkbcommon
ARG LIBXKBCOMMON_VERSION=1.9.0
# Step 1: Create Meson native file with static C++ link flags
RUN echo "[binaries]" > /tmp/native.txt && \
echo "c = 'gcc'" >> /tmp/native.txt && \
echo "cpp = 'g++'" >> /tmp/native.txt && \
echo "pkgconfig = '/usr/bin/pkg-config'" >> /tmp/native.txt && \
echo "[properties]" >> /tmp/native.txt && \
echo "c_args = ['-static', '-static-libgcc']" >> /tmp/native.txt && \
echo "cpp_args = ['-static', '-static-libstdc++', '-static-libgcc']" >> /tmp/native.txt && \
echo "c_link_args = ['-static', '-lstdc++', '-lm', '-lpthread', '-ldl', '-static-libgcc', '-L/usr/local/lib', '-L/usr/lib', '-lXau', '-lXdmcp']" >> /tmp/native.txt && \
echo "cpp_link_args = ['-static', '-lstdc++', '-lm', '-lpthread', '-ldl', '-static-libstdc++', '-static-libgcc', '-L/usr/local/lib', '-L/usr/lib', '-lXau', '-lXdmcp']" >> /tmp/native.txt
# Step 2: Download and build with Meson
RUN wget https://github.com/xkbcommon/libxkbcommon/archive/refs/tags/xkbcommon-${LIBXKBCOMMON_VERSION}.tar.gz && \
tar -xf xkbcommon-${LIBXKBCOMMON_VERSION}.tar.gz && \
cd libxkbcommon-xkbcommon-${LIBXKBCOMMON_VERSION} && \
meson setup builddir \
--prefix=/usr/local \
--libdir=lib \
--buildtype=release \
--native-file=/tmp/native.txt \
-Ddefault_library=static \
-Denable-wayland=false \
-Denable-x11=true \
-Db_lundef=false \
-Denable-xkbregistry=true || true && \
echo "----- meson-log.txt -----" && cat /libxkbcommon-xkbcommon-1.9.0/builddir/meson-logs/meson-log.txt || true && \
ninja -C builddir && \
ninja -C builddir install && \
cd .. && rm -rf libxkbcommon-${LIBXKBCOMMON_VERSION} xkbcommon-${LIBXKBCOMMON_VERSION}.tar.gz /tmp/native.txt
# 必須ライブラリ一覧
RUN set -ex && \
for pc in x11 xext xrender xcb xcb-util xcb-image xcb-shm xcb-icccm \
xcb-sync xcb-xfixes xcb-shape xcb-keysyms xkbcommon xkbcommon-x11 ssl; do \
echo "Checking $pc via pkg-config..." && \
PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/local/lib/x86_64-linux-gnu/pkgconfig:usr/lib/x86_64-linux-gnu/pkgconfig:/usr/share/pkgconfig" \
pkg-config --static --exists $pc || (echo "Missing static pkg-config: $pc"); \
done && \
echo "All required .pc files found."
# 省略: 各種 xcb-util 系ライブラリのビルド後に入れる確認用ステップ
RUN echo "---- Installed .pc files ----" && \
ls -1 /usr/local/lib/pkgconfig/*.pc && \
echo "---- xcb-icccm.pc content ----" && \
cat /usr/local/lib/pkgconfig/*.pc || echo "xcb-icccm.pc not found" && \
cat /usr/local/lib/x86_64-linux-gnu/pkgconfig/*.pc || echo "xcb-icccm.pc not found" && \
cat /usr/local/share/pkgconfig/*.pc || echo "xcb-icccm.pc not found"
# 静的ライブラリファイルの存在確認
RUN set -ex && \
for lib in X11 Xext Xrender xcb xcb-util xcb-image xcb-shm xcb-icccm \
xcb-sync xcb-xfixes xcb-shape xcb-keysyms xkbcommon xkbcommon-x11 ssl; do \
echo "Checking lib$lib.a..." && \
find /usr/local/lib /usr/lib -name "lib$lib.a" | grep . || \
(echo "Missing static library: lib$lib.a"); \
done && \
echo "All required static libraries found."
RUN nm /usr/local/lib/libXau.a | grep XauGetBestAuthByAddr && \
nm /usr/local/lib/libxcb.a | grep XauGetBestAuthByAddr && \
nm /usr/local/lib/libxcb.a | grep XdmcpWrap && \
nm /usr/local/lib/libxcb.a | grep Xau && \
nm /usr/local/lib/libxcb.a | grep Xdm && \
nm /usr/local/lib/libxcb-image.a | grep xcb_aux_create_gc && \
nm /usr/local/lib/libxcb-image.a | grep xcb
# Qt取得 & ビルド
# Download and extract Qt module source
WORKDIR /build
RUN curl -LO https://download.qt.io/official_releases/qt/${QT_VERSION%.*}/${QT_VERSION}/submodules/${QT_MODULE}-everywhere-src-${QT_VERSION}.tar.xz && \
tar -xf ${QT_MODULE}-everywhere-src-${QT_VERSION}.tar.xz
# Configure, build, and install Qt statically
RUN mkdir qt-build && cd qt-build && \
cmake -GNinja ../${QT_MODULE}-everywhere-src-${QT_VERSION} \
-DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS=OFF \
-DQT_BUILD_EXAMPLES=OFF \
-DQT_BUILD_TESTS=OFF \
-DQT_FEATURE_static=ON \
-DQT_FEATURE_gui=ON \
-DQT_FEATURE_widgets=ON \
-DQT_FEATURE_dbus=ON \
-DQT_FEATURE_icu=ON \
-DQT_FEATURE_opengl_desktop=OFF \
-DQT_FEATURE_openssl=ON \
-DQT_FEATURE_openssl_linked=ON \
-DQT_FEATURE_png=ON \
-DQT_FEATURE_jpeg=ON \
-DQT_FEATURE_freetype=ON \
-DQT_FEATURE_harfbuzz=ON \
-DQT_FEATURE_xlib=ON \
-DQT_FEATURE_xcb=ON \
-DQT_FEATURE_xkbcommon=ON \
-DQT_FEATURE_fontconfig=ON \
-DQT_FEATURE_sessionmanager=ON \
-DQT_FEATURE_glib=OFF \
-DQT_FEATURE_xrender=ON \
-DQT_FEATURE_system_zlib=ON \
-DQT_FEATURE_system_png=ON \
-DQT_FEATURE_system_jpeg=ON \
-DQT_FEATURE_system_freetype=ON \
-DQT_FEATURE_system_harfbuzz=ON || true && \
echo "----- config.summary -----" && cat config.summary || true && \
echo "----- CMakeError.log -----" && cat CMakeFiles/CMakeError.log || true && \
echo "----- CMakeOutput.log -----" && cat CMakeFiles/CMakeOutput.log || true && \
cmake --build . --parallel && \
cmake --install .
# PATH登録
ENV PATH="/opt/qt6-static/bin:$PATH"