1
0
forked from pool/libxkbcommon

Accepting request 229478 from X11:Wayland

add COPYING and NEWS to files list. otoh may we need forward 0.4.1 to Factory (forwarded request 229456 from mlin7442)

OBS-URL: https://build.opensuse.org/request/show/229478
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxkbcommon?expand=0&rev=9
This commit is contained in:
Stephan Kulow 2014-04-11 12:40:31 +00:00 committed by Git OBS Bridge
commit 032b7efd5e
4 changed files with 58 additions and 10 deletions

View File

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

View File

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

View File

@ -1,3 +1,47 @@
-------------------------------------------------------------------
Wed Apr 9 08:36:24 UTC 2014 - mlin@suse.com
- Add COPYING and NEWS to files list
-------------------------------------------------------------------
Tue Apr 8 06:02:33 UTC 2014 - mlin@suse.com
- Replace %suse_version >= 1320 to 1315 in order to build -x11 package
for SLE12
-------------------------------------------------------------------
Fri Apr 4 01:16:43 UTC 2014 - hrvoje.senjan@gmail.com
- Update to new upstream release 0.4.1
* Added two new functions, xkb_state_key_get_utf{8,32}(). They
combine the operations of xkb_state_key_get_syms() and
xkb_keysym_to_utf{8,32}(), and provide a nicer interface for it
(espcially for multiple-keysyms-per-level).
* The xkb_state_key_get_utf{8,32}() functions now apply Control
transformation: when the Control modifier is active, the string
is converted to an appropriate control character.
This matches the behavior of libX11's XLookupString(3), and
required by the XKB specification:
http://www.x.org/releases/current/doc/kbproto/xkbproto.html#Interpreting_the_Control_Modifier
fdo#75892
* The consumed modifiers for a key are now calculated similarly
to libX11. The previous behavior caused a bug where Shift would
not cancel an active Caps Lock.
* Make xkbcommon-x11 work with the keymap reported by the XQuartz
X server. fdo#75798
* Reduce memory usage during keymap compilation some more.
* New API:
xkb_state_key_get_consumed_mods()
xkb_state_key_get_utf8()
xkb_state_key_get_utf32()
* Deprecated API:
XKB_MAP_COMPILE_PLACEHOLDER, XKB_MAP_NO_FLAGS
use XKB_KEYMAP_NO_FLAGS instead.
- Temporary ommit passing --enable-x11 flag, this release has a bug
that actually disables x11 if explicitly enabled (fixed upstream,
but used this approach instead of cherry-picking the patch, for
the sake of avoiding three new BuildRequires & autoreconf)
-------------------------------------------------------------------
Sat Mar 8 17:47:54 UTC 2014 - hrvoje.senjan@gmail.com

View File

@ -17,7 +17,7 @@
Name: libxkbcommon
Version: 0.4.0
Version: 0.4.1
Release: 0
Summary: Library for handling xkb descriptions
License: MIT
@ -38,7 +38,7 @@ BuildRequires: xz
BuildRequires: pkgconfig(xkeyboard-config)
BuildRequires: pkgconfig(xorg-macros) >= 1.8
BuildRequires: pkgconfig(xproto)
%if 0%{?suse_version} >= 1320
%if 0%{?suse_version} >= 1315
BuildRequires: pkgconfig(xcb-xkb) >= 1.10
%endif
@ -109,8 +109,8 @@ in %name-x11-0.
if [ ! -e configure ]; then
NOCONFIGURE=1 ./autogen.sh;
fi;
%if 0%{?suse_version} >= 1320
extra_opts=--enable-x11
%if 0%{?suse_version} >= 1315
extra_opts=
%else
extra_opts=--disable-x11
%endif
@ -129,26 +129,30 @@ rm -f "%buildroot/%_libdir"/*.la;
%files -n libxkbcommon0
%defattr(-,root,root)
%doc COPYING NEWS
%_libdir/libxkbcommon.so.0*
%files devel
%defattr(-,root,root)
%doc COPYING NEWS
%_includedir/pkg/
%if 0%{?suse_version} >= 1320
%if 0%{?suse_version} >= 1315
%exclude %_includedir/pkg/%name/xkbcommon/xkbcommon-x11.h
%endif
%_libdir/libxkbcommon.so
%_libdir/pkgconfig/xkbcommon.pc
%if 0%{?suse_version} >= 1320
%if 0%{?suse_version} >= 1315
%files -n libxkbcommon-x11-0
%defattr(-,root,root)
%doc COPYING NEWS
%_libdir/libxkbcommon-x11.so.*
%endif
%if 0%{?suse_version} >= 1320
%if 0%{?suse_version} >= 1315
%files x11-devel
%defattr(-,root,root)
%doc COPYING NEWS
%dir %_includedir/pkg
%dir %_includedir/pkg/%name
%dir %_includedir/pkg/%name/xkbcommon