forked from pool/libxkbcommon
Accepting request 225178 from home:sumski:branches:X11:Wayland
Update to new upstream release 0.4.0 OBS-URL: https://build.opensuse.org/request/show/225178 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libxkbcommon?expand=0&rev=5
This commit is contained in:
parent
eb238aa032
commit
4d1405b680
@ -1,4 +1,7 @@
|
|||||||
libxkbcommon0
|
libxkbcommon0
|
||||||
|
libxkbcommon-x11-0
|
||||||
libxkbcommon-devel
|
libxkbcommon-devel
|
||||||
requires -libxkbcommon-<targettype>
|
requires -libxkbcommon-<targettype>
|
||||||
requires "libxkbcommon0-<targettype> = <version>"
|
requires "libxkbcommon0-<targettype> = <version>"
|
||||||
|
libxkbcommon-x11-devel
|
||||||
|
requires "libxkbcommon-x11-0-<targettype> = <version>"
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:866c0df88f806dff8fc859b6f082cf9f8b6c3b549f0a367541e12b1ca28a5d65
|
|
||||||
size 618696
|
|
3
libxkbcommon-0.4.0.tar.xz
Normal file
3
libxkbcommon-0.4.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2dc018e830d1befaf4822615204138318da3fff0112f78f3a7c638fa617375b8
|
||||||
|
size 546180
|
@ -1,3 +1,29 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Mar 8 17:47:54 UTC 2014 - hrvoje.senjan@gmail.com
|
||||||
|
|
||||||
|
- Update to new upstream release 0.4.0
|
||||||
|
* Add a new add-on library, xkbcommon-x11, to support creating
|
||||||
|
keymaps with the XKB X11 protocol, by querying the X server
|
||||||
|
directly. See the xkbcommon/xkbcommon-x11.h header file for
|
||||||
|
more details. This library requires libxcb-xkb >= 1.10, and
|
||||||
|
is enabled by default. It can be disabled with the --disable-x11
|
||||||
|
configure switch. Distributions are encouraged to split the
|
||||||
|
necessary files for this library (libxkbcommon-x11.so,
|
||||||
|
xkbcommon-x11.pc, xkbcommon/xkbcommon-x11.h) to a separate
|
||||||
|
package, such that the main package does not depend on
|
||||||
|
X11 libraries.
|
||||||
|
* Fix the keysym <-> name lookup table to not require huge
|
||||||
|
amounts of relocations.
|
||||||
|
* Fix a bug in the keysym <-> name lookup, whereby lookup
|
||||||
|
might fail in some rare cases.
|
||||||
|
* Reduce memory usage during keymap compilation.
|
||||||
|
* New API:
|
||||||
|
New keysyms from xproto 7.0.25 (German T3 layout keysyms).
|
||||||
|
XKB_MOD_NAME_NUM for the usual NumLock modifier.
|
||||||
|
xkb_x11_* types and functions, XKB_X11_* constants.
|
||||||
|
- Add and build new libxkbcommon-x11-0 and libxkbcommon-x11-devel
|
||||||
|
packages for openSUSE 13.2 and newer
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 17 05:49:07 UTC 2013 - jengelh@inai.de
|
Wed Apr 17 05:49:07 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libxkbcommon
|
# spec file for package libxkbcommon
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
Name: libxkbcommon
|
Name: libxkbcommon
|
||||||
%define lname libxkbcommon0
|
%define lname libxkbcommon0
|
||||||
Version: 0.3.0
|
Version: 0.4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library for handling xkb descriptions
|
Summary: Library for handling xkb descriptions
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -39,6 +39,9 @@ BuildRequires: xz
|
|||||||
BuildRequires: pkgconfig(xkeyboard-config)
|
BuildRequires: pkgconfig(xkeyboard-config)
|
||||||
BuildRequires: pkgconfig(xorg-macros) >= 1.8
|
BuildRequires: pkgconfig(xorg-macros) >= 1.8
|
||||||
BuildRequires: pkgconfig(xproto)
|
BuildRequires: pkgconfig(xproto)
|
||||||
|
%if 0%{?suse_version} >= 1320
|
||||||
|
BuildRequires: pkgconfig(xcb-xkb) >= 1.10
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
xkbcommon is a keymap handling library, which can parse XKB
|
xkbcommon is a keymap handling library, which can parse XKB
|
||||||
@ -62,6 +65,15 @@ should be perfectly usable for client toolkits, as well as alternative
|
|||||||
windowing systems, compositors and system-level clients such as
|
windowing systems, compositors and system-level clients such as
|
||||||
Wayland and kmscon.
|
Wayland and kmscon.
|
||||||
|
|
||||||
|
%package -n %name-x11-0
|
||||||
|
Summary: Library for handling xkb descriptions
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n %name-x11-0
|
||||||
|
xkbcommon is a keymap handling library, which can parse XKB
|
||||||
|
descriptions (e.g. from xkeyboard-config), and use this to help its
|
||||||
|
users make sense of their keyboard input.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for the libxkbcommon library
|
Summary: Development files for the libxkbcommon library
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
@ -79,6 +91,19 @@ Wayland and kmscon.
|
|||||||
This package contains the development headers for the library found
|
This package contains the development headers for the library found
|
||||||
in %lname.
|
in %lname.
|
||||||
|
|
||||||
|
%package x11-devel
|
||||||
|
Summary: Development files for the libxkbcommon library
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: %name-x11-0 = %version
|
||||||
|
|
||||||
|
%description x11-devel
|
||||||
|
xkbcommon is a keymap handling library, which can parse XKB
|
||||||
|
descriptions (e.g. from xkeyboard-config), and use this to help its
|
||||||
|
users make sense of their keyboard input.
|
||||||
|
|
||||||
|
This package contains the development headers for the library found
|
||||||
|
in %name-x11-0.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
@ -86,8 +111,13 @@ in %lname.
|
|||||||
if [ ! -e configure ]; then
|
if [ ! -e configure ]; then
|
||||||
NOCONFIGURE=1 ./autogen.sh;
|
NOCONFIGURE=1 ./autogen.sh;
|
||||||
fi;
|
fi;
|
||||||
|
%if 0%{?suse_version} >= 1320
|
||||||
|
extra_opts=--enable-x11
|
||||||
|
%else
|
||||||
|
extra_opts=--disable-x11
|
||||||
|
%endif
|
||||||
# Ensure people will use pkgconfig to locate headers.
|
# Ensure people will use pkgconfig to locate headers.
|
||||||
%configure --disable-static --includedir="%_includedir/pkg/%name"
|
%configure --disable-static --includedir="%_includedir/pkg/%name" $extra_opts
|
||||||
make %{?_smp_mflags} V=1;
|
make %{?_smp_mflags} V=1;
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -97,6 +127,11 @@ rm -f "%buildroot/%_libdir"/*.la;
|
|||||||
%post -n %lname -p /sbin/ldconfig
|
%post -n %lname -p /sbin/ldconfig
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%if 0%{?suse_version} >= 1320
|
||||||
|
%post -n %name-x11-0 -p /sbin/ldconfig
|
||||||
|
%postun -n %name-x11-0 -p /sbin/ldconfig
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n %lname
|
%files -n %lname
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_libdir/libxkbcommon.so.0*
|
%_libdir/libxkbcommon.so.0*
|
||||||
@ -104,7 +139,22 @@ rm -f "%buildroot/%_libdir"/*.la;
|
|||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_includedir/pkg/
|
%_includedir/pkg/
|
||||||
|
%if 0%{?suse_version} >= 1320
|
||||||
|
%exclude %_includedir/pkg/%name/xkbcommon/xkbcommon-x11.h
|
||||||
|
%endif
|
||||||
%_libdir/libxkbcommon.so
|
%_libdir/libxkbcommon.so
|
||||||
%_libdir/pkgconfig/xkbcommon.pc
|
%_libdir/pkgconfig/xkbcommon.pc
|
||||||
|
|
||||||
|
%if 0%{?suse_version} >= 1320
|
||||||
|
%files -n %name-x11-0
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_libdir/libxkbcommon-x11.so.*
|
||||||
|
|
||||||
|
%files x11-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_includedir/pkg/%name/xkbcommon/xkbcommon-x11.h
|
||||||
|
%_libdir/libxkbcommon-x11.so
|
||||||
|
%_libdir/pkgconfig/xkbcommon-x11.pc
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user