From 70f59020a9ebb401000a7d1bdfa4fd2a40aa6c02 Mon Sep 17 00:00:00 2001 From: Dash Eclipse Date: Sun, 27 Sep 2020 18:18:54 +0000 Subject: [PATCH] libxkbcommon: update to 1.0.1. --- common/shlibs | 1 + srcpkgs/libxkbcommon/patches/remove-fuzzing.patch | 10 +++++----- srcpkgs/libxkbcommon/template | 8 +++++--- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/common/shlibs b/common/shlibs index aae753c73a1..f5ee6203ac1 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1220,6 +1220,7 @@ libwayland-cursor.so.0 wayland-1.6.0_1 libtomcrypt.so.1 libtomcrypt-1.18.0_1 libHX.so.28 libHX-3.14_1 libxkbcommon.so.0 libxkbcommon-0.2.0_1 +libxkbregistry.so.0 libxkbcommon-1.0.1_1 libxkbcommon-x11.so.0 libxkbcommon-x11-0.4.2_1 libgee-0.8.so.2 libgee08-0.8.2_1 libnettle.so.8 nettle-3.6_1 diff --git a/srcpkgs/libxkbcommon/patches/remove-fuzzing.patch b/srcpkgs/libxkbcommon/patches/remove-fuzzing.patch index eddc5ce2b5b..46acb48878e 100644 --- a/srcpkgs/libxkbcommon/patches/remove-fuzzing.patch +++ b/srcpkgs/libxkbcommon/patches/remove-fuzzing.patch @@ -4,8 +4,8 @@ Reason: removes creation of fuzzing infrastructure which isn't included in the d --- meson.build +++ meson.build -@@ -382,12 +382,6 @@ if get_option('enable-x11') - executable('test-x11comp', 'test/x11comp.c', dependencies: x11_test_dep) +@@ -670,12 +670,6 @@ + message('valgrind not found, disabling valgrind test setup') endif - @@ -14,6 +14,6 @@ Reason: removes creation of fuzzing infrastructure which isn't included in the d -executable('fuzz-compose', 'fuzz/compose/target.c', dependencies: test_dep) - - - # Demo programs. - executable('rmlvo-to-kccgst', 'test/rmlvo-to-kccgst.c', dependencies: test_dep) - executable('print-compiled-keymap', 'test/print-compiled-keymap.c', dependencies: test_dep) + # Benchmarks. + libxkbcommon_bench_internal = static_library( + 'xkbcommon-bench-internal', diff --git a/srcpkgs/libxkbcommon/template b/srcpkgs/libxkbcommon/template index 708056d67f7..6ce96ab92c3 100644 --- a/srcpkgs/libxkbcommon/template +++ b/srcpkgs/libxkbcommon/template @@ -1,25 +1,27 @@ # Template file for 'libxkbcommon' pkgname=libxkbcommon -version=0.10.0 +version=1.0.1 revision=1 wrksrc="${pkgname}-${pkgname#lib}-${version}" build_style=meson configure_args="-Denable-wayland=true -Denable-docs=false -Denable-x11=true" hostmakedepends="pkg-config bison wayland-protocols wayland-devel" -makedepends="xkeyboard-config libxcb-devel wayland-devel wayland-protocols" +makedepends="xkeyboard-config libxcb-devel wayland-devel wayland-protocols libxml2-devel" depends="xkeyboard-config" short_desc="Library to handle keyboard descriptions" maintainer="Orphaned " license="MIT" homepage="https://xkbcommon.org/" distfiles="https://github.com/xkbcommon/libxkbcommon/archive/xkbcommon-${version}.tar.gz" -checksum=9b4635cf5d9fc0fb9611ceec1780aafc0944299e9a29ab09c18ec2633923b9c3 +checksum=270e2ad4ce5699f633e49042114cb68a5697fa1ed45b65c1d96a833cfac20954 +shlib_provides="libxkbcommon.so.0 libxkbregistry.so.0" pkg_install() { vlicense LICENSE } libxkbcommon-x11_package() { + shlib_provides="libxkbcommon-x11.so.0" short_desc+=" - X11 support" pkg_install() { vmove "usr/lib/*x11*.so.*"