1
0
forked from pool/libxkbcommon

Accepting request 832690 from X11:Wayland

- Update to release 1.0.0

OBS-URL: https://build.opensuse.org/request/show/832690
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxkbcommon?expand=0&rev=29
This commit is contained in:
Dominique Leuenberger 2020-09-09 15:48:35 +00:00 committed by Git OBS Bridge
commit 919acf004a
4 changed files with 61 additions and 6 deletions

View File

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

View File

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

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Sun Sep 6 19:33:06 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.0.0
* Now it is possible to add custom layouts and options at the
system (/etc) and user (~/.config) level, at least when
libxkbcommon is in use.
* libxkbregistry is a C library that lists available XKB
models, layouts and variants for a given ruleset. This is a
separate library (.so/.pc files) and aimed at tools that
provide a listing of available keyboard layouts to the user.
* Add an `xkbcli` command-line utility.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jan 19 00:48:54 UTC 2020 - Jan Engelhardt <jengelh@inai.de> Sun Jan 19 00:48:54 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

View File

@ -23,7 +23,7 @@
%endif %endif
Name: libxkbcommon Name: libxkbcommon
Version: 0.10.0 Version: 1.0.0
Release: 0 Release: 0
Summary: Library for handling xkb descriptions Summary: Library for handling xkb descriptions
License: MIT License: MIT
@ -35,9 +35,10 @@ Source: https://xkbcommon.org/download/%name-%version.tar.xz
Source2: baselibs.conf Source2: baselibs.conf
BuildRequires: bison BuildRequires: bison
BuildRequires: flex BuildRequires: flex
BuildRequires: meson BuildRequires: meson >= 0.49
BuildRequires: pkg-config BuildRequires: pkg-config
BuildRequires: xz BuildRequires: xz
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(wayland-client) >= 1.2.0 BuildRequires: pkgconfig(wayland-client) >= 1.2.0
BuildRequires: pkgconfig(wayland-protocols) >= 1.7 BuildRequires: pkgconfig(wayland-protocols) >= 1.7
BuildRequires: pkgconfig(wayland-scanner) BuildRequires: pkgconfig(wayland-scanner)
@ -96,6 +97,13 @@ Wayland and kmscon.
This package contains the development headers for the library found This package contains the development headers for the library found
in libxkbcommon. in libxkbcommon.
%package tools
Summary: Utilities from xkbcommon
Group: System/X11/Utilities
%description tools
xkbcommon tools for introspectino and debugging.
%package x11-devel %package x11-devel
Summary: Development files for the libxkbcommon-x11 library Summary: Development files for the libxkbcommon-x11 library
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
@ -109,8 +117,27 @@ users make sense of their keyboard input.
This package contains the development headers for the library found This package contains the development headers for the library found
in %name-x11-0. in %name-x11-0.
%package -n libxkbregistry0
Summary: Library for handling xkb descriptions
Group: System/Libraries
%description -n libxkbregistry0
libxkbregistry is a C library that lists available XKB models,
layouts and variants for a given ruleset.
%package -n libxkbregistry-devel
Summary: Header files for xkbregistry
Group: Development/Libraries/C and C++
%description -n libxkbregistry-devel
libxkbregistry is a C library that lists available XKB models,
layouts and variants for a given ruleset.
This is aimed at tools that provide a listing of available keyboard
layouts to the user.
%prep %prep
%setup -q %autosetup -p1
%build %build
%if %{with x11} %if %{with x11}
@ -118,6 +145,7 @@ ef=-Denable-x11=true
%else %else
ef=-Denable-x11=false ef=-Denable-x11=false
%endif %endif
# bugzilla.opensuse.org/795968 for rationale
%meson -Denable-docs=false --includedir="%_includedir/%name" $ef %meson -Denable-docs=false --includedir="%_includedir/%name" $ef
%meson_build %meson_build
@ -128,6 +156,8 @@ ef=-Denable-x11=false
%postun -n libxkbcommon0 -p /sbin/ldconfig %postun -n libxkbcommon0 -p /sbin/ldconfig
%post -n libxkbcommon-x11-0 -p /sbin/ldconfig %post -n libxkbcommon-x11-0 -p /sbin/ldconfig
%postun -n libxkbcommon-x11-0 -p /sbin/ldconfig %postun -n libxkbcommon-x11-0 -p /sbin/ldconfig
%post -n libxkbregistry0 -p /sbin/ldconfig
%postun -n libxkbregistry0 -p /sbin/ldconfig
%files -n libxkbcommon0 %files -n libxkbcommon0
%license LICENSE %license LICENSE
@ -142,6 +172,11 @@ ef=-Denable-x11=false
%_libdir/libxkbcommon.so %_libdir/libxkbcommon.so
%_libdir/pkgconfig/xkbcommon.pc %_libdir/pkgconfig/xkbcommon.pc
%files tools
%_bindir/xkbcli
%_libexecdir/xkbcommon/
%_mandir/man1/xkbcli*
%if %{with x11} %if %{with x11}
%files -n libxkbcommon-x11-0 %files -n libxkbcommon-x11-0
%license LICENSE %license LICENSE
@ -156,4 +191,11 @@ ef=-Denable-x11=false
%_libdir/pkgconfig/xkbcommon-x11.pc %_libdir/pkgconfig/xkbcommon-x11.pc
%endif %endif
%files -n libxkbregistry0
%_libdir/libxkbregistry.so.0*
%files -n libxkbregistry-devel
%_libdir/libxkbregistry.so
%_libdir/pkgconfig/xkbregistry.pc
%changelog %changelog