mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
x11/xkeyboard-config: Update to 2.40
Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D42212
This commit is contained in:
parent
b3e1e8c6b7
commit
e6f66fef02
4 changed files with 37 additions and 14 deletions
|
@ -1,5 +1,5 @@
|
||||||
PORTNAME= xkeyboard-config
|
PORTNAME= xkeyboard-config
|
||||||
DISTVERSION= 2.34
|
DISTVERSION= 2.40
|
||||||
PORTREVISION= 2
|
PORTREVISION= 2
|
||||||
CATEGORIES= x11
|
CATEGORIES= x11
|
||||||
MASTER_SITES= XORG/individual/data/${PORTNAME}
|
MASTER_SITES= XORG/individual/data/${PORTNAME}
|
||||||
|
@ -11,8 +11,8 @@ WWW= https://freedesktop.org/wiki/Software/XKeyboardConfig/
|
||||||
LICENSE= MIT
|
LICENSE= MIT
|
||||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||||
|
|
||||||
USES= gmake gnome localbase pathfix perl5 python:build \
|
USES= meson gnome localbase pathfix perl5 python:build \
|
||||||
shebangfix xorg-cat:data
|
shebangfix tar:xz
|
||||||
|
|
||||||
NO_ARCH= yes
|
NO_ARCH= yes
|
||||||
USE_GNOME= libxslt:build
|
USE_GNOME= libxslt:build
|
||||||
|
@ -20,19 +20,18 @@ USE_PERL5= build
|
||||||
SHEBANG_FILES= rules/merge.py \
|
SHEBANG_FILES= rules/merge.py \
|
||||||
rules/compat/map-variants.py
|
rules/compat/map-variants.py
|
||||||
|
|
||||||
CONFIGURE_ARGS= --with-xkb-base=${PREFIX}/share/X11/xkb \
|
MESON_ARGS= -Dxkb-base=${PREFIX}/share/X11/xkb \
|
||||||
--with-xkb-rules-symlink=xorg
|
-Dxorg-rules-symlinks=true
|
||||||
|
|
||||||
OPTIONS_DEFINE= ETERSOFT NLS X11
|
OPTIONS_DEFINE= ETERSOFT NLS X11
|
||||||
OPTIONS_DEFAULT=X11
|
OPTIONS_DEFAULT=X11
|
||||||
|
NLS_USES= gettext-tools iconv
|
||||||
|
NLS_MESON_TRUE= nls
|
||||||
ETERSOFT_DESC= Add pre-1918 Russian letters to typographic layout
|
ETERSOFT_DESC= Add pre-1918 Russian letters to typographic layout
|
||||||
OPTIONS_SUB= yes
|
OPTIONS_SUB= yes
|
||||||
|
|
||||||
NLS_CONFIGURE_ENABLE= nls
|
|
||||||
NLS_USES= gettext-tools iconv
|
|
||||||
ETERSOFT_EXTRA_PATCHES= ${FILESDIR}/etersoft-patch-symbols-typo
|
ETERSOFT_EXTRA_PATCHES= ${FILESDIR}/etersoft-patch-symbols-typo
|
||||||
X11_BUILD_DEPENDS= xkbcomp:x11/xkbcomp
|
X11_BUILD_DEPENDS= xkbcomp:x11/xkbcomp
|
||||||
X11_CONFIGURE_OFF= --disable-runtime-deps
|
|
||||||
X11_DESC= XKB keyboard description compiler support
|
X11_DESC= XKB keyboard description compiler support
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1635635692
|
TIMESTAMP = 1698603581
|
||||||
SHA256 (xorg/data/xkeyboard-config-2.34.tar.bz2) = b321d27686ee7e6610ffe7b56e28d5bbf60625a1f595124cd320c0caa717b8ce
|
SHA256 (xkeyboard-config-2.40.tar.xz) = 7a3dba1bec7dc7191432da021242d17c9cf6c89690e6c57b0de048ff8c9d2ae3
|
||||||
SIZE (xorg/data/xkeyboard-config-2.34.tar.bz2) = 1763558
|
SIZE (xkeyboard-config-2.40.tar.xz) = 893584
|
||||||
|
|
25
x11/xkeyboard-config/files/patch-nls
Normal file
25
x11/xkeyboard-config/files/patch-nls
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
--- meson_options.txt.orig 2023-10-05 22:26:07.000000000 +0300
|
||||||
|
+++ meson_options.txt 2023-11-02 21:02:30.219251000 +0200
|
||||||
|
@@ -10,3 +10,7 @@
|
||||||
|
type: 'boolean',
|
||||||
|
value: false,
|
||||||
|
description: 'create "xorg" symlinks to the "base" rules files [default=false]')
|
||||||
|
+option('nls',
|
||||||
|
+ type: 'boolean',
|
||||||
|
+ value: true,
|
||||||
|
+ description: 'build with native language support (NLS) [default=true]')
|
||||||
|
--- po/meson.build.orig 2023-10-05 22:26:07.000000000 +0300
|
||||||
|
+++ po/meson.build 2023-11-02 21:02:38.562084000 +0200
|
||||||
|
@@ -1,5 +1,7 @@
|
||||||
|
-i18n = import('i18n')
|
||||||
|
-i18n.gettext('xkeyboard-config', preset: 'glib',
|
||||||
|
- args: ['--keyword=_',
|
||||||
|
- '--keyword=N_',
|
||||||
|
- '--its=@0@/rules/xkb.its'.format(meson.source_root())])
|
||||||
|
+if get_option('nls')
|
||||||
|
+ i18n = import('i18n')
|
||||||
|
+ i18n.gettext('xkeyboard-config', preset: 'glib',
|
||||||
|
+ args: ['--keyword=_',
|
||||||
|
+ '--keyword=N_',
|
||||||
|
+ '--its=@0@/rules/xkb.its'.format(meson.source_root())])
|
||||||
|
+endif
|
|
@ -1,4 +1,3 @@
|
||||||
libdata/pkgconfig/xkeyboard-config.pc
|
|
||||||
man/man7/xkeyboard-config.7.gz
|
man/man7/xkeyboard-config.7.gz
|
||||||
share/X11/xkb/compat/README
|
share/X11/xkb/compat/README
|
||||||
share/X11/xkb/compat/accessx
|
share/X11/xkb/compat/accessx
|
||||||
|
@ -90,6 +89,7 @@ share/X11/xkb/symbols/af
|
||||||
share/X11/xkb/symbols/al
|
share/X11/xkb/symbols/al
|
||||||
share/X11/xkb/symbols/altwin
|
share/X11/xkb/symbols/altwin
|
||||||
share/X11/xkb/symbols/am
|
share/X11/xkb/symbols/am
|
||||||
|
share/X11/xkb/symbols/ancient
|
||||||
share/X11/xkb/symbols/apl
|
share/X11/xkb/symbols/apl
|
||||||
share/X11/xkb/symbols/ara
|
share/X11/xkb/symbols/ara
|
||||||
share/X11/xkb/symbols/at
|
share/X11/xkb/symbols/at
|
||||||
|
@ -99,6 +99,7 @@ share/X11/xkb/symbols/ba
|
||||||
share/X11/xkb/symbols/bd
|
share/X11/xkb/symbols/bd
|
||||||
share/X11/xkb/symbols/be
|
share/X11/xkb/symbols/be
|
||||||
share/X11/xkb/symbols/bg
|
share/X11/xkb/symbols/bg
|
||||||
|
share/X11/xkb/symbols/bqn
|
||||||
share/X11/xkb/symbols/br
|
share/X11/xkb/symbols/br
|
||||||
share/X11/xkb/symbols/brai
|
share/X11/xkb/symbols/brai
|
||||||
share/X11/xkb/symbols/bt
|
share/X11/xkb/symbols/bt
|
||||||
|
@ -153,7 +154,6 @@ share/X11/xkb/symbols/is
|
||||||
share/X11/xkb/symbols/it
|
share/X11/xkb/symbols/it
|
||||||
share/X11/xkb/symbols/jolla_vndr/sbj
|
share/X11/xkb/symbols/jolla_vndr/sbj
|
||||||
share/X11/xkb/symbols/jp
|
share/X11/xkb/symbols/jp
|
||||||
share/X11/xkb/symbols/jv
|
|
||||||
share/X11/xkb/symbols/ke
|
share/X11/xkb/symbols/ke
|
||||||
share/X11/xkb/symbols/keypad
|
share/X11/xkb/symbols/keypad
|
||||||
share/X11/xkb/symbols/kg
|
share/X11/xkb/symbols/kg
|
||||||
|
@ -187,7 +187,6 @@ share/X11/xkb/symbols/macintosh_vndr/no
|
||||||
share/X11/xkb/symbols/macintosh_vndr/pt
|
share/X11/xkb/symbols/macintosh_vndr/pt
|
||||||
share/X11/xkb/symbols/macintosh_vndr/se
|
share/X11/xkb/symbols/macintosh_vndr/se
|
||||||
share/X11/xkb/symbols/macintosh_vndr/us
|
share/X11/xkb/symbols/macintosh_vndr/us
|
||||||
share/X11/xkb/symbols/mao
|
|
||||||
share/X11/xkb/symbols/md
|
share/X11/xkb/symbols/md
|
||||||
share/X11/xkb/symbols/me
|
share/X11/xkb/symbols/me
|
||||||
share/X11/xkb/symbols/mk
|
share/X11/xkb/symbols/mk
|
||||||
|
|
Loading…
Add table
Reference in a new issue