Skip to content

Commit c9b63ab

Browse files
committed
Merge bitcoin/bitcoin#23489: build: Qt 5.15.2
c0a1c3c ci: Bump Qt to 5.15.2 in the native Windows task (Hennadii Stepanov) 06aca8a doc: Update `build_msvc/README.md` for Qt 5.15.2 (Hennadii Stepanov) 1732eab build, qt: Fix regression in rendering on macOS Big Sur (Hennadii Stepanov) c870027 build: qt 5.15.2 (fanquake) 904ba2a build: add libxcb_util_wm 0.4.1 (fanquake) 0e2ca89 build: add libxcb_util_image 0.4.0 (fanquake) 36af9b6 build: add libxcb_util_keysyms 0.4.0 (fanquake) b3cfbf5 build: add libxcb_util_render 0.3.9 (fanquake) e545b56 build: add libxcb_util 0.4.0 (fanquake) 937b36b build: libxcb 1.14 (fanquake) 01544dd build: freetype 2.11.0 (fanquake) 10ac182 build: expat 2.4.1 (fanquake) d3d547c build: xcb_proto 1.14.1 (fanquake) fc65127 build: libXau 1.0.9 (fanquake) 0697557 build: xproto 7.0.31 (fanquake) Pull request description: Hebasto asked for this branch to be resurrected, so here it is. Guix Builds: ```bash 9bbbec69cc56255fbe0dd6f63d26b6d76ebc071275cd603a2388baf028a2e5fe guix-build-c0a1c3ca0894/output/aarch64-linux-gnu/SHA256SUMS.part 57aee87dedbf3c41e52e7bb18cb52e96a656696699ce0663a35cf6c030ca048a guix-build-c0a1c3ca0894/output/aarch64-linux-gnu/bitcoin-c0a1c3ca0894-aarch64-linux-gnu-debug.tar.gz 8d2842ff0995bf53f4ed6f67e3db3d33f4cd1d117b15122d750875a3681dba21 guix-build-c0a1c3ca0894/output/aarch64-linux-gnu/bitcoin-c0a1c3ca0894-aarch64-linux-gnu.tar.gz 67b342e95d8fa5d897d84e53f5bb5cc8323921d31c51497196b54d2c2d62e915 guix-build-c0a1c3ca0894/output/arm-linux-gnueabihf/SHA256SUMS.part f52e8b2e28236a7fb0dd26989c39ef18472161a892f90e62cea26ae7c2daadaf guix-build-c0a1c3ca0894/output/arm-linux-gnueabihf/bitcoin-c0a1c3ca0894-arm-linux-gnueabihf-debug.tar.gz 1dce8e6953e52874b98a0f5dafaebf068584984e2c3cd40d3110dd3c5c0d2f8d guix-build-c0a1c3ca0894/output/arm-linux-gnueabihf/bitcoin-c0a1c3ca0894-arm-linux-gnueabihf.tar.gz f8328d777b0f1be68408c2df5907c4dd890dd0617b1aa747b3bf140f84c0f61d guix-build-c0a1c3ca0894/output/dist-archive/bitcoin-c0a1c3ca0894.tar.gz b3e71decb914c3be9c88586084853ab086d77929707c1a7649991b75c734f3e2 guix-build-c0a1c3ca0894/output/powerpc64-linux-gnu/SHA256SUMS.part 30a8ad718f848297ac1dc8f48eadb37b983d5837f807ecfedb6723932cb5e84a guix-build-c0a1c3ca0894/output/powerpc64-linux-gnu/bitcoin-c0a1c3ca0894-powerpc64-linux-gnu-debug.tar.gz 111444d627aa837e8a7f450dfe304ff20139ca018a293c9a5e8c5aec33ab75a9 guix-build-c0a1c3ca0894/output/powerpc64-linux-gnu/bitcoin-c0a1c3ca0894-powerpc64-linux-gnu.tar.gz ef815b019722b774995e2a999cdbd79b34b8636f92f62b2f8e6b99b294ad1bc5 guix-build-c0a1c3ca0894/output/powerpc64le-linux-gnu/SHA256SUMS.part 5521bf88d0febd79301dbed30205c1bef6257eb03ae5d4a5227bac3b66b0b427 guix-build-c0a1c3ca0894/output/powerpc64le-linux-gnu/bitcoin-c0a1c3ca0894-powerpc64le-linux-gnu-debug.tar.gz 6d2ae36ec34e7b5d3d84d6a50595c39c1d89b2659ed9eba5e7c8b21a9cbb8f04 guix-build-c0a1c3ca0894/output/powerpc64le-linux-gnu/bitcoin-c0a1c3ca0894-powerpc64le-linux-gnu.tar.gz 8aa9cb8a5585d8b27feafa8403fcba803152fb154d7c308f6759670c11107cfa guix-build-c0a1c3ca0894/output/riscv64-linux-gnu/SHA256SUMS.part 7abbf8efdc91399ab0d2dde18b3be19734f956a07ed1cc19f8f5178647f9ac94 guix-build-c0a1c3ca0894/output/riscv64-linux-gnu/bitcoin-c0a1c3ca0894-riscv64-linux-gnu-debug.tar.gz 1dfd20f75feb316882043dd081f0ee4bd2032481e17d40f7ae9f2b430c316754 guix-build-c0a1c3ca0894/output/riscv64-linux-gnu/bitcoin-c0a1c3ca0894-riscv64-linux-gnu.tar.gz 1949530e8e68b68c72f627296995b93e9ec048c2740274a8874fe9565eca4a46 guix-build-c0a1c3ca0894/output/x86_64-apple-darwin19/SHA256SUMS.part ab2e63f9f58834ddc0fc5f83a2a7938ffcf8057392f0c5ce92a8d456e9b8e4af guix-build-c0a1c3ca0894/output/x86_64-apple-darwin19/bitcoin-c0a1c3ca0894-osx-unsigned.dmg 38958a096117542cde4dcac318d116fdeec3237c95ebf88fff0e76570002109e guix-build-c0a1c3ca0894/output/x86_64-apple-darwin19/bitcoin-c0a1c3ca0894-osx-unsigned.tar.gz 8841df372ef1ea670dc8d4f82b007420140a39454371be47193e484a4f95fd76 guix-build-c0a1c3ca0894/output/x86_64-apple-darwin19/bitcoin-c0a1c3ca0894-osx64.tar.gz 4e0d6b6a715d987ff025e45782dd6a47cfdac904a26d932c9c84de7eb8b699d4 guix-build-c0a1c3ca0894/output/x86_64-linux-gnu/SHA256SUMS.part 3ac4c326313650c0d0a35560c4073f0c3fcbf7002c5b5c918e7186627c8ed392 guix-build-c0a1c3ca0894/output/x86_64-linux-gnu/bitcoin-c0a1c3ca0894-x86_64-linux-gnu-debug.tar.gz fcd45fe54cb86a7e9240a6bbe2170926e6db32ee55b821af332348d4c4e1d3a4 guix-build-c0a1c3ca0894/output/x86_64-linux-gnu/bitcoin-c0a1c3ca0894-x86_64-linux-gnu.tar.gz 72deb4fc1c5b70ae329ab04862e822911708f3c4a4d8a0bbb5796d9a64985414 guix-build-c0a1c3ca0894/output/x86_64-w64-mingw32/SHA256SUMS.part 78ae8f495bfb02198b00b7fc72b67fb0595f81dd9e3aef45e5103efea90451d9 guix-build-c0a1c3ca0894/output/x86_64-w64-mingw32/bitcoin-c0a1c3ca0894-win-unsigned.tar.gz 962fcf4ce63e5a89fb1e74e19dbc1aeffc4d5b753ab8e19fcf2249ce21766c5b guix-build-c0a1c3ca0894/output/x86_64-w64-mingw32/bitcoin-c0a1c3ca0894-win64-debug.zip 3929916755d599b133304acd94462afad1ba73d5516f6f9786aff565c6ac8818 guix-build-c0a1c3ca0894/output/x86_64-w64-mingw32/bitcoin-c0a1c3ca0894-win64-setup-unsigned.exe 66e2030476de85437e1593b7d2f4efd4a8837de8b2479217f9246d8028256e08 guix-build-c0a1c3ca0894/output/x86_64-w64-mingw32/bitcoin-c0a1c3ca0894-win64.zip ``` ACKs for top commit: hebasto: re-ACK c0a1c3c Tree-SHA512: 33e7a3e022dfc3a7e93f4bc2acf887c7c2afacc182352f4dfb5917342d5923e0a8d17eaf10928e68b666db6ab748cc02d3d3dfb41e4aad7d296a403b79b3e63d
2 parents 345c818 + c0a1c3c commit c9b63ab

28 files changed

+375
-441
lines changed

.cirrus.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ task:
8484
CI_VCPKG_TAG: '2021.05.12'
8585
VCPKG_DOWNLOADS: 'C:\Users\ContainerAdministrator\AppData\Local\vcpkg\downloads'
8686
VCPKG_DEFAULT_BINARY_CACHE: 'C:\Users\ContainerAdministrator\AppData\Local\vcpkg\archives'
87-
QT_DOWNLOAD_URL: 'https://download.qt.io/official_releases/qt/5.12/5.12.11/single/qt-everywhere-src-5.12.11.zip'
88-
QT_LOCAL_PATH: 'C:\qt-everywhere-src-5.12.11.zip'
89-
QT_SOURCE_DIR: 'C:\qt-everywhere-src-5.12.11'
87+
QT_DOWNLOAD_URL: 'https://download.qt.io/official_releases/qt/5.15/5.15.2/single/qt-everywhere-src-5.15.2.zip'
88+
QT_LOCAL_PATH: 'C:\qt-everywhere-src-5.15.2.zip'
89+
QT_SOURCE_DIR: 'C:\qt-everywhere-src-5.15.2'
9090
QTBASEDIR: 'C:\Qt_static'
9191
x64_NATIVE_TOOLS: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat"'
9292
IgnoreWarnIntDirInTempDetected: 'true'
@@ -115,7 +115,7 @@ task:
115115
- cd %QT_SOURCE_DIR%
116116
- mkdir build
117117
- cd build
118-
- ..\configure -release -silent -opensource -confirm-license -opengl desktop -no-shared -static -static-runtime -mp -qt-zlib -qt-pcre -qt-libpng -no-libjpeg -nomake examples -nomake tests -nomake tools -no-dbus -no-libudev -no-icu -no-gtk -no-opengles3 -no-angle -no-sql-sqlite -no-sql-odbc -no-sqlite -no-libudev -no-vulkan -skip qt3d -skip qtactiveqt -skip qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtdeclarative -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtmacextras -skip qtmultimedia -skip qtnetworkauth -skip qtpurchasing -skip qtquickcontrols -skip qtquickcontrols2 -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebsockets -skip qtwebview -skip qtx11extras -skip qtxmlpatterns -no-openssl -no-feature-sql -no-feature-sqlmodel -prefix %QTBASEDIR%
118+
- ..\configure -release -silent -opensource -confirm-license -opengl desktop -static -static-runtime -mp -qt-zlib -qt-pcre -qt-libpng -nomake examples -nomake tests -nomake tools -no-angle -no-dbus -no-gif -no-gtk -no-ico -no-icu -no-libjpeg -no-libudev -no-sql-sqlite -no-sql-odbc -no-sqlite -no-vulkan -skip qt3d -skip qtactiveqt -skip qtandroidextras -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtdeclarative -skip doc -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtlottie -skip qtmacextras -skip qtmultimedia -skip qtnetworkauth -skip qtpurchasing -skip qtquick3d -skip qtquickcontrols -skip qtquickcontrols2 -skip qtquicktimeline -skip qtremoteobjects -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qtsvg -skip qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebglplugin -skip qtwebsockets -skip qtwebview -skip qtx11extras -skip qtxmlpatterns -no-openssl -no-feature-bearermanagement -no-feature-printdialog -no-feature-printer -no-feature-printpreviewdialog -no-feature-printpreviewwidget -no-feature-sql -no-feature-sqlmodel -no-feature-textbrowser -no-feature-textmarkdownwriter -no-feature-textodfwriter -no-feature-xml -prefix %QTBASEDIR%
119119
- jom
120120
- jom install
121121
vcpkg_tools_cache:

build-aux/m4/bitcoin_qt.m4

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,11 @@ AC_DEFUN([BITCOIN_QT_INIT],[
6767
AS_IF([test "x$with_gui" = xqt5_debug],
6868
[AS_CASE([$host],
6969
[*darwin*], [qt_lib_suffix=_debug],
70-
[*mingw*], [qt_lib_suffix=d],
7170
[qt_lib_suffix= ]); bitcoin_qt_want_version=qt5],
7271
[qt_lib_suffix= ])
7372
73+
AS_CASE([$host], [*android*], [qt_lib_suffix=_$ANDROID_ARCH])
74+
7475
AC_ARG_WITH([qt-incdir],[AS_HELP_STRING([--with-qt-incdir=INC_DIR],[specify qt include path (overridden by pkgconfig)])], [qt_include_path=$withval], [])
7576
AC_ARG_WITH([qt-libdir],[AS_HELP_STRING([--with-qt-libdir=LIB_DIR],[specify qt lib path (overridden by pkgconfig)])], [qt_lib_path=$withval], [])
7677
AC_ARG_WITH([qt-plugindir],[AS_HELP_STRING([--with-qt-plugindir=PLUGIN_DIR],[specify qt plugin path (overridden by pkgconfig)])], [qt_plugin_path=$withval], [])
@@ -149,8 +150,6 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[
149150
_BITCOIN_QT_CHECK_STATIC_PLUGIN([QWindowsVistaStylePlugin], [-lqwindowsvistastyle])
150151
AC_DEFINE([QT_QPA_PLATFORM_WINDOWS], [1], [Define this symbol if the qt platform is windows])
151152
elif test "x$TARGET_OS" = xlinux; then
152-
dnl workaround for https://bugreports.qt.io/browse/QTBUG-74874
153-
AX_CHECK_LINK_FLAG([-lxcb-shm], [QT_LIBS="$QT_LIBS -lxcb-shm"], [AC_MSG_ERROR([could not link against -lxcb-shm])])
154153
_BITCOIN_QT_CHECK_STATIC_PLUGIN([QXcbIntegrationPlugin], [-lqxcb])
155154
AC_DEFINE([QT_QPA_PLATFORM_XCB], [1], [Define this symbol if the qt platform is xcb])
156155
elif test "x$TARGET_OS" = xdarwin; then
@@ -162,7 +161,7 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[
162161
_BITCOIN_QT_CHECK_STATIC_PLUGIN([QMacStylePlugin], [-lqmacstyle])
163162
AC_DEFINE([QT_QPA_PLATFORM_COCOA], [1], [Define this symbol if the qt platform is cocoa])
164163
elif test "x$TARGET_OS" = xandroid; then
165-
QT_LIBS="-Wl,--export-dynamic,--undefined=JNI_OnLoad -lqtforandroid -ljnigraphics -landroid -lqtfreetype $QT_LIBS"
164+
QT_LIBS="-Wl,--export-dynamic,--undefined=JNI_OnLoad -lplugins_platforms_qtforandroid_$ANDROID_ARCH -ljnigraphics -landroid -lqtfreetype_$ANDROID_ARCH $QT_LIBS"
166165
AC_DEFINE([QT_QPA_PLATFORM_ANDROID], [1], [Define this symbol if the qt platform is android])
167166
fi
168167
fi
@@ -353,14 +352,16 @@ AC_DEFUN([_BITCOIN_QT_CHECK_STATIC_LIBS], [
353352
PKG_CHECK_MODULES([QT_INPUT], [${qt_lib_prefix}InputSupport], [QT_LIBS="$QT_INPUT_LIBS $QT_LIBS"])
354353
PKG_CHECK_MODULES([QT_SERVICE], [${qt_lib_prefix}ServiceSupport], [QT_LIBS="$QT_SERVICE_LIBS $QT_LIBS"])
355354
PKG_CHECK_MODULES([QT_XCBQPA], [${qt_lib_prefix}XcbQpa], [QT_LIBS="$QT_XCBQPA_LIBS $QT_LIBS"])
355+
PKG_CHECK_MODULES([QT_XKBCOMMON], [${qt_lib_prefix}XkbCommonSupport], [QT_LIBS="$QT_XKBCOMMON_LIBS $QT_LIBS"])
356356
elif test "x$TARGET_OS" = xdarwin; then
357357
PKG_CHECK_MODULES([QT_CLIPBOARD], [${qt_lib_prefix}ClipboardSupport${qt_lib_suffix}], [QT_LIBS="$QT_CLIPBOARD_LIBS $QT_LIBS"])
358358
PKG_CHECK_MODULES([QT_GRAPHICS], [${qt_lib_prefix}GraphicsSupport${qt_lib_suffix}], [QT_LIBS="$QT_GRAPHICS_LIBS $QT_LIBS"])
359359
PKG_CHECK_MODULES([QT_SERVICE], [${qt_lib_prefix}ServiceSupport${qt_lib_suffix}], [QT_LIBS="$QT_SERVICE_LIBS $QT_LIBS"])
360360
elif test "x$TARGET_OS" = xwindows; then
361361
PKG_CHECK_MODULES([QT_WINDOWSUIAUTOMATION], [${qt_lib_prefix}WindowsUIAutomationSupport${qt_lib_suffix}], [QT_LIBS="$QT_WINDOWSUIAUTOMATION_LIBS $QT_LIBS"])
362362
elif test "x$TARGET_OS" = xandroid; then
363-
PKG_CHECK_MODULES([QT_EGL], [${qt_lib_prefix}EglSupport], [QT_LIBS="$QT_EGL_LIBS $QT_LIBS"])
363+
PKG_CHECK_MODULES([QT_EGL], [${qt_lib_prefix}EglSupport${qt_lib_suffix}], [QT_LIBS="$QT_EGL_LIBS $QT_LIBS"])
364+
PKG_CHECK_MODULES([QT_SERVICE], [${qt_lib_prefix}ServiceSupport${qt_lib_suffix}], [QT_LIBS="$QT_SERVICE_LIBS $QT_LIBS"])
364365
fi
365366
])
366367

build_msvc/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ Qt
2828
---------------------
2929
To build Bitcoin Core with the GUI, a static build of Qt is required.
3030

31-
1. Download a single ZIP archive of Qt source code from https://download.qt.io/official_releases/qt/ (e.g., [`qt-everywhere-src-5.12.11.zip`](https://download.qt.io/official_releases/qt/5.12/5.12.11/single/qt-everywhere-src-5.12.11.zip)), and expand it into a dedicated folder. The following instructions assume that this folder is `C:\dev\qt-source`.
31+
1. Download a single ZIP archive of Qt source code from https://download.qt.io/official_releases/qt/ (e.g., [`qt-everywhere-src-5.15.2.zip`](https://download.qt.io/official_releases/qt/5.15/5.15.2/single/qt-everywhere-src-5.15.2.zip)), and expand it into a dedicated folder. The following instructions assume that this folder is `C:\dev\qt-source`.
3232

3333
2. Open "x64 Native Tools Command Prompt for VS 2019", and input the following commands:
3434
```cmd
3535
cd C:\dev\qt-source
3636
mkdir build
3737
cd build
38-
..\configure -release -silent -opensource -confirm-license -opengl desktop -no-shared -static -static-runtime -mp -qt-zlib -qt-pcre -qt-libpng -no-libjpeg -nomake examples -nomake tests -nomake tools -no-dbus -no-libudev -no-icu -no-gtk -no-opengles3 -no-angle -no-sql-sqlite -no-sql-odbc -no-sqlite -no-libudev -no-vulkan -skip qt3d -skip qtactiveqt -skip qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtdeclarative -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtmacextras -skip qtmultimedia -skip qtnetworkauth -skip qtpurchasing -skip qtquickcontrols -skip qtquickcontrols2 -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebsockets -skip qtwebview -skip qtx11extras -skip qtxmlpatterns -no-openssl -no-feature-sql -no-feature-sqlmodel -prefix C:\Qt_static
38+
..\configure -release -silent -opensource -confirm-license -opengl desktop -static -static-runtime -mp -qt-zlib -qt-pcre -qt-libpng -nomake examples -nomake tests -nomake tools -no-angle -no-dbus -no-gif -no-gtk -no-ico -no-icu -no-libjpeg -no-libudev -no-sql-sqlite -no-sql-odbc -no-sqlite -no-vulkan -skip qt3d -skip qtactiveqt -skip qtandroidextras -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtdeclarative -skip doc -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtlottie -skip qtmacextras -skip qtmultimedia -skip qtnetworkauth -skip qtpurchasing -skip qtquick3d -skip qtquickcontrols -skip qtquickcontrols2 -skip qtquicktimeline -skip qtremoteobjects -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qtsvg -skip qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebglplugin -skip qtwebsockets -skip qtwebview -skip qtx11extras -skip qtxmlpatterns -no-openssl -no-feature-bearermanagement -no-feature-printdialog -no-feature-printer -no-feature-printpreviewdialog -no-feature-printpreviewwidget -no-feature-sql -no-feature-sqlmodel -no-feature-textbrowser -no-feature-textmarkdownwriter -no-feature-textodfwriter -no-feature-xml -prefix C:\Qt_static
3939
nmake
4040
nmake install
4141
```

contrib/devtools/symbol-check.py

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,19 @@
105105
'libxkbcommon-x11.so.0', # keyboard keymapping
106106
'libfontconfig.so.1', # font support
107107
'libfreetype.so.6', # font parsing
108-
'libdl.so.2' # programming interface to dynamic linker
108+
'libdl.so.2', # programming interface to dynamic linker
109+
'libxcb-icccm.so.4',
110+
'libxcb-image.so.0',
111+
'libxcb-shm.so.0',
112+
'libxcb-keysyms.so.1',
113+
'libxcb-randr.so.0',
114+
'libxcb-render-util.so.0',
115+
'libxcb-render.so.0',
116+
'libxcb-shape.so.0',
117+
'libxcb-sync.so.1',
118+
'libxcb-xfixes.so.0',
119+
'libxcb-xinerama.so.0',
120+
'libxcb-xkb.so.1',
109121
}
110122

111123
MACHO_ALLOWED_LIBRARIES = {
@@ -116,6 +128,7 @@
116128
'AppKit', # user interface
117129
'ApplicationServices', # common application tasks.
118130
'Carbon', # deprecated c back-compat API
131+
'ColorSync',
119132
'CoreFoundation', # low level func, data types
120133
'CoreGraphics', # 2D rendering
121134
'CoreServices', # operating system services

depends/packages/expat.mk

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
package=expat
2-
$(package)_version=2.2.7
3-
$(package)_download_path=https://github.com/libexpat/libexpat/releases/download/R_2_2_7/
4-
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
5-
$(package)_sha256_hash=cbc9102f4a31a8dafd42d642e9a3aa31e79a0aedaa1f6efd2795ebc83174ec18
2+
$(package)_version=2.4.1
3+
$(package)_download_path=https://github.com/libexpat/libexpat/releases/download/R_2_4_1/
4+
$(package)_file_name=$(package)-$($(package)_version).tar.xz
5+
$(package)_sha256_hash=cf032d0dba9b928636548e32b327a2d66b1aab63c4f4a13dd132c2d1d2f2fb6a
66

77
define $(package)_set_vars
88
$(package)_config_opts=--disable-shared --without-docbook --without-tests --without-examples
99
$(package)_config_opts += --disable-dependency-tracking --enable-option-checking
10+
$(package)_config_opts += --without-xmlwf
1011
$(package)_config_opts_linux=--with-pic
1112
endef
1213

@@ -23,5 +24,5 @@ define $(package)_stage_cmds
2324
endef
2425

2526
define $(package)_postprocess_cmds
26-
rm -rf share lib/*.la
27+
rm -rf share lib/cmake lib/*.la
2728
endef

depends/packages/freetype.mk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
package=freetype
2-
$(package)_version=2.7.1
2+
$(package)_version=2.11.0
33
$(package)_download_path=https://download.savannah.gnu.org/releases/$(package)
4-
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
5-
$(package)_sha256_hash=3a3bb2c4e15ffb433f2032f50a5b5a92558206822e22bfe8cbe339af4aa82f88
4+
$(package)_file_name=$(package)-$($(package)_version).tar.xz
5+
$(package)_sha256_hash=8bee39bd3968c4804b70614a0a3ad597299ad0e824bc8aad5ce8aaf48067bde7
66

77
define $(package)_set_vars
88
$(package)_config_opts=--without-zlib --without-png --without-harfbuzz --without-bzip2 --disable-static
9-
$(package)_config_opts += --enable-option-checking
9+
$(package)_config_opts += --enable-option-checking --without-brotli
1010
$(package)_config_opts_linux=--with-pic
1111
endef
1212

depends/packages/libXau.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package=libXau
2-
$(package)_version=1.0.8
2+
$(package)_version=1.0.9
33
$(package)_download_path=https://xorg.freedesktop.org/releases/individual/lib/
44
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
5-
$(package)_sha256_hash=fdd477320aeb5cdd67272838722d6b7d544887dfe7de46e1e7cc0c27c2bea4f2
5+
$(package)_sha256_hash=ccf8cbf0dbf676faa2ea0a6d64bcc3b6746064722b606c8c52917ed00dcb73ec
66
$(package)_dependencies=xproto
77

88
# When updating this package, check the default value of

depends/packages/libxcb.mk

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,21 @@
11
package=libxcb
2-
$(package)_version=1.10
2+
$(package)_version=1.14
33
$(package)_download_path=https://xcb.freedesktop.org/dist
4-
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
5-
$(package)_sha256_hash=98d9ab05b636dd088603b64229dd1ab2d2cc02ab807892e107d674f9c3f2d5b5
4+
$(package)_file_name=$(package)-$($(package)_version).tar.xz
5+
$(package)_sha256_hash=a55ed6db98d43469801262d81dc2572ed124edc3db31059d4e9916eb9f844c34
66
$(package)_dependencies=xcb_proto libXau
77

88
define $(package)_set_vars
9-
$(package)_config_opts=--disable-static --disable-build-docs --without-doxygen --without-launchd
9+
$(package)_config_opts=--disable-static --disable-devel-docs --without-doxygen --without-launchd
1010
$(package)_config_opts += --disable-dependency-tracking --enable-option-checking
11-
# Because we pass -qt-xcb to Qt, it will compile in a set of xcb helper libraries and extensions,
12-
# so we skip building all of the extensions here.
13-
# More info is available from: https://doc.qt.io/qt-5.9/linux-requirements.html
11+
# Disable uneeded extensions.
12+
# More info is available from: https://doc.qt.io/qt-5.15/linux-requirements.html
1413
$(package)_config_opts += --disable-composite --disable-damage --disable-dpms
1514
$(package)_config_opts += --disable-dri2 --disable-dri3 --disable-glx
16-
$(package)_config_opts += --disable-present --disable-randr --disable-record
17-
$(package)_config_opts += --disable-render --disable-resource --disable-screensaver
18-
$(package)_config_opts += --disable-shape --disable-sync
19-
$(package)_config_opts += --disable-xevie --disable-xfixes --disable-xfree86-dri
20-
$(package)_config_opts += --disable-xinerama --disable-xinput
21-
$(package)_config_opts += --disable-xprint --disable-selinux --disable-xtest
22-
$(package)_config_opts += --disable-xv --disable-xvmc
15+
$(package)_config_opts += --disable-present --disable-record --disable-resource
16+
$(package)_config_opts += --disable-screensaver --disable-xevie --disable-xfree86-dri
17+
$(package)_config_opts += --disable-xinput --disable-xprint --disable-selinux
18+
$(package)_config_opts += --disable-xtest --disable-xv --disable-xvmc
2319
endef
2420

2521
define $(package)_preprocess_cmds

depends/packages/libxcb_util.mk

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
package=libxcb_util
2+
$(package)_version=0.4.0
3+
$(package)_download_path=https://xcb.freedesktop.org/dist
4+
$(package)_file_name=xcb-util-$($(package)_version).tar.bz2
5+
$(package)_sha256_hash=46e49469cb3b594af1d33176cd7565def2be3fa8be4371d62271fabb5eae50e9
6+
$(package)_dependencies=libxcb
7+
8+
define $(package)_set_vars
9+
$(package)_config_opts = --disable-shared --disable-devel-docs --without-doxygen
10+
$(package)_config_opts += --disable-dependency-tracking --enable-option-checking
11+
$(package)_cflags += -fPIC
12+
endef
13+
14+
define $(package)_preprocess_cmds
15+
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub .
16+
endef
17+
18+
define $(package)_config_cmds
19+
$($(package)_autoconf)
20+
endef
21+
22+
define $(package)_build_cmds
23+
$(MAKE)
24+
endef
25+
26+
define $(package)_stage_cmds
27+
$(MAKE) DESTDIR=$($(package)_staging_dir) install
28+
endef
29+
30+
define $(package)_postprocess_cmds
31+
rm -rf share/man share/doc lib/*.la
32+
endef

depends/packages/libxcb_util_image.mk

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
package=libxcb_util_image
2+
$(package)_version=0.4.0
3+
$(package)_download_path=https://xcb.freedesktop.org/dist
4+
$(package)_file_name=xcb-util-image-$($(package)_version).tar.bz2
5+
$(package)_sha256_hash=2db96a37d78831d643538dd1b595d7d712e04bdccf8896a5e18ce0f398ea2ffc
6+
$(package)_dependencies=libxcb libxcb_util
7+
8+
define $(package)_set_vars
9+
$(package)_config_opts=--disable-static --disable-devel-docs --without-doxygen
10+
$(package)_config_opts+= --disable-dependency-tracking --enable-option-checking
11+
endef
12+
13+
define $(package)_preprocess_cmds
14+
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub .
15+
endef
16+
17+
define $(package)_config_cmds
18+
$($(package)_autoconf)
19+
endef
20+
21+
define $(package)_build_cmds
22+
$(MAKE)
23+
endef
24+
25+
define $(package)_stage_cmds
26+
$(MAKE) DESTDIR=$($(package)_staging_dir) install
27+
endef
28+
29+
define $(package)_postprocess_cmds
30+
rm -rf share/man share/doc lib/*.la
31+
endef

0 commit comments

Comments
 (0)