pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/x11/libxkbcommon



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri Apr  5 10:36:19 UTC 2024

Modified Files:
        pkgsrc/x11/libxkbcommon: Makefile PLIST distinfo

Log Message:
libxkbcommon: update to 1.7.0.

libxkbcommon 1.7.0 - 2024-03-24
==================

API
---

### New

- Added early detection of invalid encodings and BOM for keymaps, rules & Compose.
  Also added a hint that the expected encoding must be UTF-8 compatible.

### Fixes

- Updated keysyms using latest [xorgproto] (commit: `cd33097fc779f280925c6d6bbfbd5150f93ca5bc`):

  For the sake of compatibility, this reintroduces some deleted keysyms and
  postpones the effective deprecation of others, that landed in xkbcommon 1.6.0.

  - Additions (reverted removal):

    - `XKB_KEY_dead_lowline`
    - `XKB_KEY_dead_aboveverticalline`
    - `XKB_KEY_dead_belowverticalline`
    - `XKB_KEY_dead_longsolidusoverlay`

  - The following keysyms names remain deprecated, but are set again (i.e. as
    before xkbcommon 1.6.0) as the reference names for their respective keysyms,
    in order to ensure the transition to the newer names that replace them. This
    affects functions such as `xkb_keymap_key_get_name` and `xkb_keymap_get_as_string`.

    - `XKB_KEY_masculine`: is deprecated in favor of `XKB_KEY_ordmasculine`
    - `XKB_KEY_guillemotleft`: is deprecated in favor of `XKB_KEY_guillemetleft`
    - `XKB_KEY_guillemotright`: is deprecated in favor of `XKB_KEY_guillemetright`
    - `XKB_KEY_dead_small_schwa`: is deprecated in favor of `XKB_KEY_dead_schwa`
    - `XKB_KEY_dead_capital_schwa`: is deprecated in favor of `XKB_KEY_dead_SCHWA`

  Relevant upstream merge requests: [xorgproto-83], [xorgproto-84].

[xorgproto-83]: https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/83
[xorgproto-84]: https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/84

- Keysyms: Fixed inconsistent results in `xkb_keysym_from_name` when used with
  the flag `XKB_KEYSYM_CASE_INSENSITIVE`. In some rare cases it would return a
  keysym with an upper-case name instead of the expected lower-case (e.g.
  `XKB_KEY_dead_A` instead of `XKB_KEY_dead_a`).

- Keysyms: Fixed case mapping for 3 Latin 1 keysyms:

  - `XKB_KEY_ydiaeresis`
  - `XKB_KEY_mu`
  - `XKB_KEY_ssharp`

- Keysyms: Fixed `xkb_keysym_is_modifier` to detect also the following keysyms:

  - `XKB_KEY_ISO_Level5_Shift`
  - `XKB_KEY_ISO_Level5_Latch`
  - `XKB_KEY_ISO_Level5_Lock`

- Prevent recursive includes of keymap components.

- Fixed global default statements `x.y = z;` in wrong scope not raising an error.

  Contributed by Mikhail Gusarov

- Rules: Made newline required after `!include` line.

  Contributed by Mikhail Gusarov.

- Rules: Fixed a bug where variant indexes were ignored with the layout index
  used instead. They are practically always the same, but don't have to be.

  Contributed by @wysiwys.

- Compose: Fixed a segfault with `xkb_compose_table_iterator_next` when used on an
  empty table.

  Contributed by Yuichiro Hanada.

- Compose: Added check to ensure to open only regular files, not e.g. directories.

- Registry: Updated the DTD and always parse the “popularity” attribute.

- Fixed a few memory leaks and keymap symbols parsing.

Tools
-----

### New

- `xkbcli compile-compose`: added new CLI utility to test Compose files.
- `xkbcli interactive-evdev`: added `--verbose` option.
- `xkbcli interactive-x11`: added support for Compose.
- `xkbcli interactive-wayland`: added support for Compose.

### Fixes

- Bash completion: Fixed completion in some corner cases.

Build system
------------

- Fix building with clang when using `-Wl,--gc-sections`.

  Contributed by ppw0.

- Fixed linking using `lld 1.17`.

  Contributed by Baptiste Daroussin.

- Fix building X11 tests on macOS.

- Documentation is no longer built by default; it requires `-Denable-docs=true`.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pkgsrc/x11/libxkbcommon/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/x11/libxkbcommon/PLIST
cvs rdiff -u -r1.32 -r1.33 pkgsrc/x11/libxkbcommon/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/libxkbcommon/Makefile
diff -u pkgsrc/x11/libxkbcommon/Makefile:1.47 pkgsrc/x11/libxkbcommon/Makefile:1.48
--- pkgsrc/x11/libxkbcommon/Makefile:1.47       Wed Nov  8 13:21:32 2023
+++ pkgsrc/x11/libxkbcommon/Makefile    Fri Apr  5 10:36:19 2024
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.47 2023/11/08 13:21:32 wiz Exp $
+# $NetBSD: Makefile,v 1.48 2024/04/05 10:36:19 wiz Exp $
 
-DISTNAME=      libxkbcommon-1.6.0
-PKGREVISION=   1
+DISTNAME=      libxkbcommon-1.7.0
 CATEGORIES=    x11
 MASTER_SITES=  https://xkbcommon.org/download/
 EXTRACT_SUFX=  .tar.xz

Index: pkgsrc/x11/libxkbcommon/PLIST
diff -u pkgsrc/x11/libxkbcommon/PLIST:1.10 pkgsrc/x11/libxkbcommon/PLIST:1.11
--- pkgsrc/x11/libxkbcommon/PLIST:1.10  Thu Oct 19 14:57:08 2023
+++ pkgsrc/x11/libxkbcommon/PLIST       Fri Apr  5 10:36:19 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2023/10/19 14:57:08 wiz Exp $
+@comment $NetBSD: PLIST,v 1.11 2024/04/05 10:36:19 wiz Exp $
 bin/xkbcli
 include/xkbcommon/xkbcommon-compat.h
 include/xkbcommon/xkbcommon-compose.h
@@ -19,10 +19,12 @@ lib/libxkbregistry.so.0.0.0
 lib/pkgconfig/xkbcommon-x11.pc
 lib/pkgconfig/xkbcommon.pc
 lib/pkgconfig/xkbregistry.pc
+libexec/xkbcommon/xkbcli-compile-compose
 libexec/xkbcommon/xkbcli-compile-keymap
 libexec/xkbcommon/xkbcli-how-to-type
 libexec/xkbcommon/xkbcli-interactive-x11
 libexec/xkbcommon/xkbcli-list
+man/man1/xkbcli-compile-compose.1
 man/man1/xkbcli-compile-keymap.1
 man/man1/xkbcli-how-to-type.1
 man/man1/xkbcli-interactive-x11.1

Index: pkgsrc/x11/libxkbcommon/distinfo
diff -u pkgsrc/x11/libxkbcommon/distinfo:1.32 pkgsrc/x11/libxkbcommon/distinfo:1.33
--- pkgsrc/x11/libxkbcommon/distinfo:1.32       Thu Oct 19 14:57:08 2023
+++ pkgsrc/x11/libxkbcommon/distinfo    Fri Apr  5 10:36:19 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.32 2023/10/19 14:57:08 wiz Exp $
+$NetBSD: distinfo,v 1.33 2024/04/05 10:36:19 wiz Exp $
 
-BLAKE2s (libxkbcommon-1.6.0.tar.xz) = 308f618e2c7ca3f92b08ab228db791ae9195565b7e30502ab662a0d8e49f27de
-SHA512 (libxkbcommon-1.6.0.tar.xz) = 4f93225eada1c5d0806bbc01f72d82d72729f4580ade963ff6a386711c9b2232aae5213c8488abf01c3b81f0e1fdb7f4d8a4d3786113ccc134251ff164c4be5c
-Size (libxkbcommon-1.6.0.tar.xz) = 510456 bytes
+BLAKE2s (libxkbcommon-1.7.0.tar.xz) = 35105eb91dc11342bdd6141b87c882e67911d13a55967295722b8f3c7f62be6c
+SHA512 (libxkbcommon-1.7.0.tar.xz) = 4b74a9f3f63e2ebc1cbdcaa963c70362e55fa527e1d89b6a1fd30d7a84a8b60c1b3dc99bcfbde85aa31890e0b2f62f0bad3c8ff8340fe6a930ee662b33448ba5
+Size (libxkbcommon-1.7.0.tar.xz) = 534312 bytes



Home | Main Index | Thread Index | Old Index