import libxkbcommon-0.4.3

xkbcommon is a library to handle keyboard descriptions,
loading them from disk, parsing them and handling their state.     

Our pre-historic bison has been mummified and put into a museum.
So include a parser.c generated with a fresh young bison that still roams the plains.

ok aja@
This commit is contained in:
jasper 2014-10-05 18:30:33 +00:00
parent b9f7c1e360
commit 3f687b2e5a
7 changed files with 3814 additions and 0 deletions

32
x11/xkbcommon/Makefile Normal file
View File

@ -0,0 +1,32 @@
# $OpenBSD: Makefile,v 1.1.1.1 2014/10/05 18:30:33 jasper Exp $
COMMENT= library to handle keyboard descriptions
DISTNAME= libxkbcommon-0.4.3
SHARED_LIBS += xkbcommon 0.0 # unknown
SHARED_LIBS += xkbcommon-x11 0.0 # unknown
CATEGORIES= x11 inputmethods
HOMEPAGE= http://xkbcommon.org/
# All licenses are derivative of the MIT/X11 license, mostly identical other
# than no-endorsement clauses (e.g. paragraph 4 of The Open Group's license).
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= ${HOMEPAGE}/download/
EXTRACT_SUFX= .tar.xz
WANTLIB += Xau Xdmcp pthread-stubs xcb xcb-xkb
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --without-doxygen
# XXX: Too many Linuxisms
NO_TEST= Yes
# our pre-historic bison has been mummified and put into a museum.
# so generate parser.c with a fresh young bison that still roams the plains.
post-extract:
cp ${FILESDIR}/parser.c ${WRKSRC}/src/xkbcomp/
.include <bsd.port.mk>

2
x11/xkbcommon/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (libxkbcommon-0.4.3.tar.xz) = mlLV0EGedsScDs6GIIwgX/rLHPD/j/urqY09TdQMTkE=
SIZE (libxkbcommon-0.4.3.tar.xz) = 556628

3720
x11/xkbcommon/files/parser.c Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2014/10/05 18:30:33 jasper Exp $
- pre-generated parser.c is used
--- Makefile.in.orig Sun Oct 5 20:20:11 2014
+++ Makefile.in Sun Oct 5 20:20:21 2014
@@ -2454,8 +2454,6 @@ uninstall-am: uninstall-libLTLIBRARIES uninstall-local
uninstall-xkbcommonincludeHEADERS
-src/xkbcomp/parser.c: $(top_builddir)/src/$(am__dirstamp) $(top_builddir)/src/xkbcomp/$(am__dirstamp)
-src/xkbcomp/parser.h: $(top_builddir)/src/$(am__dirstamp) $(top_builddir)/src/xkbcomp/$(am__dirstamp)
# Documentation

View File

@ -0,0 +1,24 @@
$OpenBSD: patch-configure,v 1.1.1.1 2014/10/05 18:30:33 jasper Exp $
Disable --Wl,--no-undefined
--- configure.orig Tue Aug 19 19:18:24 2014
+++ configure Sun Oct 5 20:11:09 2014
@@ -18893,7 +18893,7 @@ $as_echo "$supported" >&6; }
fi
-
+if false; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--no-undefined" >&5
$as_echo_n "checking whether the linker accepts -Wl,--no-undefined... " >&6; }
if ${xorg_cv_linker_flags__Wl___no_undefined+:} false; then :
@@ -18931,7 +18931,7 @@ if test "x$xorg_check_linker_flags" = xyes; then
else
:
fi
-
+fi
if test "x$have_no_undefined" = xyes; then
HAVE_NO_UNDEFINED_TRUE=
HAVE_NO_UNDEFINED_FALSE='#'

6
x11/xkbcommon/pkg/DESCR Normal file
View File

@ -0,0 +1,6 @@
xkbcommon is a library to handle keyboard descriptions, including
loading them from disk, parsing them and handling their state. It's
mainly meant for client toolkits, window systems, and other system
applications; currently that includes Wayland, kmscon, GTK+, Qt,
Clutter, and more. It is also used by some XCB applications for proper
keyboard support.

15
x11/xkbcommon/pkg/PLIST Normal file
View File

@ -0,0 +1,15 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2014/10/05 18:30:33 jasper Exp $
include/xkbcommon/
include/xkbcommon/xkbcommon-compat.h
include/xkbcommon/xkbcommon-keysyms.h
include/xkbcommon/xkbcommon-names.h
include/xkbcommon/xkbcommon-x11.h
include/xkbcommon/xkbcommon.h
lib/libxkbcommon-x11.a
lib/libxkbcommon-x11.la
@lib lib/libxkbcommon-x11.so.${LIBxkbcommon-x11_VERSION}
lib/libxkbcommon.a
lib/libxkbcommon.la
@lib lib/libxkbcommon.so.${LIBxkbcommon_VERSION}
lib/pkgconfig/xkbcommon-x11.pc
lib/pkgconfig/xkbcommon.pc