Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
ae9a754a
Commit
ae9a754a
authored
1 year ago
by
Peter Shkenev
Committed by
omni
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
main/libxkbcommon: upgrade to 1.7.0
parent
7e5b7375
No related branches found
No related tags found
1 merge request
!62761
main/libxkbcommon: upgrade to 1.7.0
Pipeline
#221423
skipped
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
main/libxkbcommon/APKBUILD
+6
-3
6 additions, 3 deletions
main/libxkbcommon/APKBUILD
main/libxkbcommon/allow-skip-test.patch
+84
-0
84 additions, 0 deletions
main/libxkbcommon/allow-skip-test.patch
with
90 additions
and
3 deletions
main/libxkbcommon/APKBUILD
+
6
−
3
View file @
ae9a754a
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Peter Shkenev <santurysim@gmail.com>
# Maintainer: Peter Shkenev <santurysim@gmail.com>
pkgname
=
libxkbcommon
pkgname
=
libxkbcommon
pkgver
=
1.
6
.0
pkgver
=
1.
7
.0
pkgrel
=
0
pkgrel
=
0
pkgdesc
=
"keyboard handling library"
pkgdesc
=
"keyboard handling library"
url
=
"https://www.xkbcommon.org/"
url
=
"https://www.xkbcommon.org/"
...
@@ -27,7 +27,9 @@ subpackages="
...
@@ -27,7 +27,9 @@ subpackages="
xkbcli-doc
xkbcli-doc
xkbcli-bash-completion
xkbcli-bash-completion
"
"
source
=
"https://xkbcommon.org/download/libxkbcommon-
$pkgver
.tar.xz"
source
=
"https://xkbcommon.org/download/libxkbcommon-
$pkgver
.tar.xz
allow-skip-test.patch
"
build
()
{
build
()
{
abuild-meson
\
abuild-meson
\
...
@@ -69,5 +71,6 @@ bashcomp() {
...
@@ -69,5 +71,6 @@ bashcomp() {
sha512sums
=
"
sha512sums
=
"
4f93225eada1c5d0806bbc01f72d82d72729f4580ade963ff6a386711c9b2232aae5213c8488abf01c3b81f0e1fdb7f4d8a4d3786113ccc134251ff164c4be5c libxkbcommon-1.6.0.tar.xz
4b74a9f3f63e2ebc1cbdcaa963c70362e55fa527e1d89b6a1fd30d7a84a8b60c1b3dc99bcfbde85aa31890e0b2f62f0bad3c8ff8340fe6a930ee662b33448ba5 libxkbcommon-1.7.0.tar.xz
17608171e5fe145030585a84ac43770a5f3d57a8d083b27ee443f08e886e046a802833658f68bcd2c07834ec7c95d5fa952414d6940a9ae4c38736c55d0bf98f allow-skip-test.patch
"
"
This diff is collapsed.
Click to expand it.
main/libxkbcommon/allow-skip-test.patch
0 → 100644
+
84
−
0
View file @
ae9a754a
Partial revert of 0ed9390c07130c2d3ebaf2e1b67c6dc0011a8aee
as we don't have xvfb, needed for the tests, packaged in main
diff --git a/test/x11.c b/test/x11.c
index c3cf2ee..4ff211e 100644
--- a/test/x11.c
+++ b/test/x11.c
@@ -45,7 +45,7 @@
X11_TEST(test_basic)
*/
conn = xcb_connect(display, NULL);
if (!conn || xcb_connection_has_error(conn)) {
- exit_code = TEST_SETUP_FAILURE;
+ exit_code = SKIP_TEST;
goto err_conn;
}
@@ -55,7 +55,7 @@
X11_TEST(test_basic)
XKB_X11_SETUP_XKB_EXTENSION_NO_FLAGS,
NULL, NULL, NULL, NULL);
if (!ret) {
- exit_code = TEST_SETUP_FAILURE;
+ exit_code = SKIP_TEST;
goto err_conn;
}
diff --git a/test/x11comp.c b/test/x11comp.c
index 33dd7c2..dc70fd1 100644
--- a/test/x11comp.c
+++ b/test/x11comp.c
@@ -51,7 +51,7 @@
X11_TEST(test_basic)
conn = xcb_connect(display, NULL);
if (xcb_connection_has_error(conn)) {
- ret = TEST_SETUP_FAILURE;
+ ret = SKIP_TEST;
goto err_conn;
}
ret = xkb_x11_setup_xkb_extension(conn,
@@ -60,7 +60,7 @@
X11_TEST(test_basic)
XKB_X11_SETUP_XKB_EXTENSION_NO_FLAGS,
NULL, NULL, NULL, NULL);
if (!ret) {
- ret = TEST_SETUP_FAILURE;
+ ret = SKIP_TEST;
goto err_xcb;
}
device_id = xkb_x11_get_core_keyboard_device_id(conn);
@@ -72,12 +72,12 @@
X11_TEST(test_basic)
ret = posix_spawnp(&xkbcomp_pid, "xkbcomp", NULL, NULL, xkbcomp_argv, envp);
free(xkb_path);
if (ret != 0) {
- ret = TEST_SETUP_FAILURE;
+ ret = SKIP_TEST;
goto err_xcb;
}
ret = waitpid(xkbcomp_pid, &status, 0);
if (ret < 0 || !WIFEXITED(status) || WEXITSTATUS(status) != 0) {
- ret = TEST_SETUP_FAILURE;
+ ret = SKIP_TEST;
goto err_xcb;
}
diff --git a/test/xvfb-wrapper.c b/test/xvfb-wrapper.c
index ab0c645..144187a 100644
--- a/test/xvfb-wrapper.c
+++ b/test/xvfb-wrapper.c
@@ -92,7 +92,7 @@
xvfb_wrapper(int (*test_func)(char* display))
ret = posix_spawnp(&xvfb_pid, "Xvfb", NULL, NULL, xvfb_argv, envp);
if (ret != 0) {
fprintf(stderr, "posix_spawnp error %d: %s\n", ret, strerror(ret));
- ret = TEST_SETUP_FAILURE;
+ ret = SKIP_TEST;
goto err_xvfd;
}
@@ -118,7 +118,7 @@
xvfb_wrapper(int (*test_func)(char* display))
length = fread(&display[1], 1, sizeof(display) - 1, display_fd);
if (length <= 0) {
fprintf(stderr, "fread error: length=%zu\n", length);
- ret = TEST_SETUP_FAILURE;
+ ret = SKIP_TEST;
goto err_xvfd;
} else {
/* Drop the newline character */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment