diff --git a/contrib/depends/packages/libxcb.mk b/contrib/depends/packages/libxcb.mk index d0d807d..be7d29d 100644 --- a/contrib/depends/packages/libxcb.mk +++ b/contrib/depends/packages/libxcb.mk @@ -1,8 +1,8 @@ package=libxcb -$(package)_version=1.16.1 +$(package)_version=1.17.0 $(package)_download_path=https://xcb.freedesktop.org/dist -$(package)_file_name=libxcb-$($(package)_version).tar.xz -$(package)_sha256_hash=f24d187154c8e027b358fc7cb6588e35e33e6a92f11c668fe77396a7ae66e311 +$(package)_file_name=libxcb-$($(package)_version).tar.gz +$(package)_sha256_hash=2c69287424c9e2128cb47ffe92171e10417041ec2963bceafb65cb3fcf8f0b85 $(package)_dependencies=xcb_proto libXau $(package)_patches = remove_pthread_stubs.patch @@ -20,6 +20,10 @@ $(package)_config_opts += --disable-xtest --disable-xv --disable-xvmc endef define $(package)_preprocess_cmds + find . -type f -name 'Makefile.in' -exec rm {} + && \ + rm -rf build-aux/* && \ + rm ChangeLog INSTALL aclocal.m4 configure m4/libtool.m4 m4/ltoptions.m4 m4/ltsugar.m4 m4/ltversion.m4 m4/lt~obsolete.m4 src/config.h.in && \ + autoreconf -fi && \ cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub build-aux && \ patch -p1 -i $($(package)_patch_dir)/remove_pthread_stubs.patch endef diff --git a/contrib/depends/packages/xcb_proto.mk b/contrib/depends/packages/xcb_proto.mk index 7d0f74a..eee5e35 100644 --- a/contrib/depends/packages/xcb_proto.mk +++ b/contrib/depends/packages/xcb_proto.mk @@ -1,8 +1,14 @@ package=xcb_proto -$(package)_version=1.16.0 +$(package)_version=1.17.0 $(package)_download_path=https://xorg.freedesktop.org/archive/individual/proto -$(package)_file_name=xcb-proto-$($(package)_version).tar.xz -$(package)_sha256_hash=a75a1848ad2a89a82d841a51be56ce988ff3c63a8d6bf4383ae3219d8d915119 +$(package)_file_name=xcb-proto-$($(package)_version).tar.gz +$(package)_sha256_hash=392d3c9690f8c8202a68fdb89c16fd55159ab8d65000a6da213f4a1576e97a16 + +define $(package)_preprocess_cmds + find . -type f -name 'Makefile.in' -exec rm {} + && \ + rm aclocal.m4 configure install-sh missing py-compile && \ + autoreconf -fi +endef define $(package)_config_cmds $($(package)_autoconf)