1
0
forked from pool/libxkbcommon

Accepting request 741445 from X11:Wayland

- Update to release 0.9.1

OBS-URL: https://build.opensuse.org/request/show/741445
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxkbcommon?expand=0&rev=27
This commit is contained in:
Dominique Leuenberger 2019-10-22 13:43:03 +00:00 committed by Git OBS Bridge
commit b41d2897fc
4 changed files with 33 additions and 30 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:60ddcff932b7fd352752d51a5c4f04f3d0403230a584df9a2e0d5ed87c486c8b
size 648592

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d4c6aabf0a5c1fc616f8a6a65c8a818c03773b9a87da9fbc434da5acd1199be0
size 376164

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Oct 21 08:26:29 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Update to release 0.9.1
* Fix context creation failing when run in privileged processes
as defined by `secure_getenv(3)`, e.g. GDM.
-------------------------------------------------------------------
Sun Oct 20 15:08:58 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- 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 <jengelh@inai.de>

View File

@ -23,7 +23,7 @@
%endif
Name: libxkbcommon
Version: 0.8.4
Version: 0.9.1
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