From 587e1a500c33a4a960f0ffef8c8e5ee9161d4ccb1238af798eb506457511bb90 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 20 Oct 2019 16:14:44 +0000 Subject: [PATCH] - Update to release 0.9.0 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libxkbcommon?expand=0&rev=52 --- libxkbcommon-0.8.4.tar.xz | 3 --- libxkbcommon-0.9.0.tar.xz | 3 +++ libxkbcommon.changes | 8 ++++++++ libxkbcommon.spec | 42 ++++++++++++++------------------------- 4 files changed, 26 insertions(+), 30 deletions(-) delete mode 100644 libxkbcommon-0.8.4.tar.xz create mode 100644 libxkbcommon-0.9.0.tar.xz diff --git a/libxkbcommon-0.8.4.tar.xz b/libxkbcommon-0.8.4.tar.xz deleted file mode 100644 index fbe4f50..0000000 --- a/libxkbcommon-0.8.4.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:60ddcff932b7fd352752d51a5c4f04f3d0403230a584df9a2e0d5ed87c486c8b -size 648592 diff --git a/libxkbcommon-0.9.0.tar.xz b/libxkbcommon-0.9.0.tar.xz new file mode 100644 index 0000000..a20dc3b --- /dev/null +++ b/libxkbcommon-0.9.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a51885adff1f6207ad291a57c41919048fb4e5ec5b19e8e17b8c0e9a7a2746fc +size 376160 diff --git a/libxkbcommon.changes b/libxkbcommon.changes index b71799e..e07155e 100644 --- a/libxkbcommon.changes +++ b/libxkbcommon.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sun Oct 20 15:08:58 UTC 2019 - Jan Engelhardt + +- Update to release 0.9.0 + * Move ~/.xkb to before XKB_CONFIG_ROOT. This enables the user + to have full control of the keymap definitions, instead of + only augmenting them. + ------------------------------------------------------------------- Fri Feb 22 21:58:27 UTC 2019 - Jan Engelhardt diff --git a/libxkbcommon.spec b/libxkbcommon.spec index f647955..8904a9f 100644 --- a/libxkbcommon.spec +++ b/libxkbcommon.spec @@ -23,7 +23,7 @@ %endif Name: libxkbcommon -Version: 0.8.4 +Version: 0.9.0 Release: 0 Summary: Library for handling xkb descriptions License: MIT @@ -33,14 +33,14 @@ Url: http://xkbcommon.org/ #Git-Clone: git://github.com/xkbcommon/libxkbcommon Source: https://xkbcommon.org/download/%name-%version.tar.xz Source2: baselibs.conf -BuildRoot: %{_tmppath}/%{name}-%{version}-build -#git#BuildRequires: autoconf >= 2.62 -#git#BuildRequires: automake BuildRequires: bison BuildRequires: flex -#git#BuildRequires: libtool >= 2 -BuildRequires: pkgconfig +BuildRequires: meson +BuildRequires: pkg-config BuildRequires: xz +BuildRequires: pkgconfig(wayland-client) >= 1.2.0 +BuildRequires: pkgconfig(wayland-protocols) >= 1.7 +BuildRequires: pkgconfig(wayland-scanner) BuildRequires: pkgconfig(xkeyboard-config) BuildRequires: pkgconfig(xorg-macros) >= 1.8 BuildRequires: pkgconfig(xproto) @@ -113,24 +113,16 @@ in %name-x11-0. %setup -q %build -if [ ! -e configure ]; then - NOCONFIGURE=1 ./autogen.sh -fi %if %{with x11} -extra_opts=--enable-x11 +ef=-Denable-x11=true %else -extra_opts=--disable-x11 +ef=-Denable-x11=false %endif -# Ensure people will use pkgconfig to locate headers. -%configure --disable-static --includedir="%_includedir/%name" $extra_opts -make %{?_smp_mflags} V=1 +%meson -Denable-docs=false --includedir="%_includedir/%name" $ef +%meson_build %install -%make_install -rm -f "%buildroot/%_libdir"/*.la - -%check -make check +%meson_install %post -n libxkbcommon0 -p /sbin/ldconfig %postun -n libxkbcommon0 -p /sbin/ldconfig @@ -138,13 +130,11 @@ make check %postun -n libxkbcommon-x11-0 -p /sbin/ldconfig %files -n libxkbcommon0 -%defattr(-,root,root) -%doc LICENSE NEWS +%license LICENSE %_libdir/libxkbcommon.so.* %files devel -%defattr(-,root,root) -%doc LICENSE NEWS +%doc NEWS %_includedir/%name/ %if %{with x11} %exclude %_includedir/%name/xkbcommon/xkbcommon-x11.h @@ -154,13 +144,11 @@ make check %if %{with x11} %files -n libxkbcommon-x11-0 -%defattr(-,root,root) -%doc LICENSE NEWS +%license LICENSE %_libdir/libxkbcommon-x11.so.* %files x11-devel -%defattr(-,root,root) -%doc LICENSE NEWS +%license LICENSE %dir %_includedir/%name %dir %_includedir/%name/xkbcommon %_includedir/%name/xkbcommon/xkbcommon-x11.h