Package Details: cage-git 0.1.5.r53.g34de3f7-1

Git Clone URL: https://aur.archlinux.org/cage-git.git (read-only, click to copy)
Package Base: cage-git
Description: Kiosk compositor for Wayland
Upstream URL: https://www.hjdskes.nl/projects/cage/
Licenses: MIT
Conflicts: cage
Provides: cage
Submitter: gilbus
Maintainer: kyechou
Last Packager: kyechou
Votes: 2
Popularity: 0.000000
First Submitted: 2019-02-14 15:13 (UTC)
Last Updated: 2024-10-04 15:14 (UTC)

Dependencies (11)

Required by (9)

Sources (1)

Latest Comments

« First ‹ Previous 1 2

FredBezies commented on 2021-05-04 12:03 (UTC)

@FabioLolix: I'm used to add epoch when I changed pkgver to a more readable version. Useless here, oops!

FabioLolix commented on 2021-05-04 10:48 (UTC)

Adding epoch was not necessary as 0.1 is mayor to r83

zayatura commented on 2021-03-21 16:55 (UTC) (edited on 2021-03-21 17:14 (UTC) by zayatura)

EDIT: I opened the upstream issue https://github.com/Hjdskes/cage/issues/180

Doesn't build for me, I get the below logs:

❯ makepkg -s 
==> Making package: cage-git r83.f0eb115-1 (Sun 21 Mar 2021 18:54:42 EET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning cage git repo...
Cloning into bare repository '/home/zdonca/work/aur/cage-git/cage'...
remote: Enumerating objects: 47, done.
remote: Counting objects: 100% (47/47), done.
remote: Compressing objects: 100% (37/37), done.
remote: Total 1379 (delta 20), reused 22 (delta 10), pack-reused 1332
Receiving objects: 100% (1379/1379), 465.52 KiB | 5.00 MiB/s, done.
Resolving deltas: 100% (871/871), done.
==> Validating source files with sha1sums...
    cage ... Skipped
==> Extracting sources...
  -> Creating working copy of cage git repo...
Cloning into 'cage'...
done.
==> Starting prepare()...
The Meson build system
Version: 0.57.1
Source dir: /home/zdonca/work/aur/cage-git/src/cage
Build dir: /home/zdonca/work/aur/cage-git/src/build
Build type: native build
Project name: cage
Project version: 0.1.2
C compiler for the host machine: cc (gcc 10.2.0 "cc (GCC) 10.2.0")
C linker for the host machine: cc ld.bfd 2.36.1
Host machine cpu family: x86_64
Host machine cpu: x86_64
meson.build:17: WARNING: Consider using the built-in warning_level option instead of using "-Wall".
Found pkg-config: /sbin/pkg-config (1.7.3)
Run-time dependency wlroots found: YES 0.12.0
Run-time dependency wayland-protocols found: YES 1.20
Run-time dependency wayland-server found: YES 1.19.0
Run-time dependency pixman-1 found: YES 0.40.0
Run-time dependency xkbcommon found: YES 1.1.0
Library m found: YES
Program wayland-scanner found: YES (/sbin/wayland-scanner)
Fetching value of define "WLR_HAS_XWAYLAND" with dependency wlroots: 1 
Program git found: YES (/sbin/git)
Found pkg-config: /sbin/pkg-config (1.7.3)
Build-time dependency scdoc found: YES 1.11.1
Program /usr/bin/scdoc found: YES (/usr/bin/scdoc)
Program sh found: YES (/sbin/sh)
Configuring config.h using configuration
Message: 
Cage 0.1.2-0d85c16 (branch 'master')

    xwayland: true

Build targets in project: 2

Found ninja-1.10.2 at /sbin/ninja
==> Starting pkgver()...
==> Updated version: cage-git r215.0d85c16-1
==> Starting build()...
ninja: Entering directory `/home/zdonca/work/aur/cage-git/src/build'
[4/12] Compiling C object cage.p/cage.c.o
FAILED: cage.p/cage.c.o 
cc -Icage.p -I. -I../cage -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/uuid -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c11 -O3 -DWLR_USE_UNSTABLE -Wall -Wundef -Wno-unused-parameter -MD -MQ cage.p/cage.c.o -MF cage.p/cage.c.o.d -o cage.p/cage.c.o -c ../cage/cage.c
../cage/cage.c: In function ‘main’:
../cage/cage.c:307:19: error: too many arguments to function ‘wlr_backend_autocreate’
  307 |  server.backend = wlr_backend_autocreate(server.wl_display, NULL);
      |                   ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../cage/cage.c:21:
/usr/include/wlr/backend.h:35:21: note: declared here
   35 | struct wlr_backend *wlr_backend_autocreate(struct wl_display *display);
      |                     ^~~~~~~~~~~~~~~~~~~~~~
[6/12] Compiling C object cage.p/seat.c.o
FAILED: cage.p/seat.c.o 
cc -Icage.p -I. -I../cage -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/uuid -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c11 -O3 -DWLR_USE_UNSTABLE -Wall -Wundef -Wno-unused-parameter -MD -MQ cage.p/seat.c.o -MF cage.p/seat.c.o.d -o cage.p/seat.c.o -c ../cage/seat.c
../cage/seat.c: In function ‘handle_key_event’:
../cage/seat.c:263:56: error: ‘WLR_KEY_PRESSED’ undeclared (first use in this function); did you mean ‘XCB_KEY_PRESS’?
  263 |  if ((modifiers & WLR_MODIFIER_ALT) && event->state == WLR_KEY_PRESSED) {
      |                                                        ^~~~~~~~~~~~~~~
      |                                                        XCB_KEY_PRESS
../cage/seat.c:263:56: note: each undeclared identifier is reported only once for each function it appears in
../cage/seat.c: In function ‘handle_touch_down’:
../cage/seat.c:453:58: error: invalid use of undefined type ‘struct wlr_event_touch_down’
  453 |  wlr_cursor_absolute_to_layout_coords(seat->cursor, event->device, event->x, event->y, &lx, &ly);
      |                                                          ^~
../cage/seat.c:453:73: error: invalid use of undefined type ‘struct wlr_event_touch_down’
  453 |  wlr_cursor_absolute_to_layout_coords(seat->cursor, event->device, event->x, event->y, &lx, &ly);
      |                                                                         ^~
../cage/seat.c:453:83: error: invalid use of undefined type ‘struct wlr_event_touch_down’
  453 |  wlr_cursor_absolute_to_layout_coords(seat->cursor, event->device, event->x, event->y, &lx, &ly);
      |                                                                                   ^~
../cage/seat.c:461:65: error: invalid use of undefined type ‘struct wlr_event_touch_down’
  461 |   serial = wlr_seat_touch_notify_down(seat->seat, surface, event->time_msec, event->touch_id, sx, sy);
      |                                                                 ^~
../cage/seat.c:461:83: error: invalid use of undefined type ‘struct wlr_event_touch_down’
  461 |   serial = wlr_seat_touch_notify_down(seat->seat, surface, event->time_msec, event->touch_id, sx, sy);
      |                                                                                   ^~
../cage/seat.c:465:25: error: invalid use of undefined type ‘struct wlr_event_touch_down’
  465 |   seat->touch_id = event->touch_id;
      |                         ^~
../cage/seat.c:468:34: error: invalid use of undefined type ‘struct wlr_event_touch_down’
  468 |   press_cursor_button(seat, event->device, event->time_msec, BTN_LEFT, WLR_BUTTON_PRESSED, lx, ly);
      |                                  ^~
../cage/seat.c:468:49: error: invalid use of undefined type ‘struct wlr_event_touch_down’
  468 |   press_cursor_button(seat, event->device, event->time_msec, BTN_LEFT, WLR_BUTTON_PRESSED, lx, ly);
      |                                                 ^~
../cage/seat.c: In function ‘handle_touch_up’:
../cage/seat.c:480:49: error: invalid use of undefined type ‘struct wlr_event_touch_up’
  480 |  if (!wlr_seat_touch_get_point(seat->seat, event->touch_id)) {
      |                                                 ^~
../cage/seat.c:485:34: error: invalid use of undefined type ‘struct wlr_event_touch_up’
  485 |   press_cursor_button(seat, event->device, event->time_msec, BTN_LEFT, WLR_BUTTON_RELEASED,
      |                                  ^~
../cage/seat.c:485:49: error: invalid use of undefined type ‘struct wlr_event_touch_up’
  485 |   press_cursor_button(seat, event->device, event->time_msec, BTN_LEFT, WLR_BUTTON_RELEASED,
      |                                                 ^~
../cage/seat.c:489:44: error: invalid use of undefined type ‘struct wlr_event_touch_up’
  489 |  wlr_seat_touch_notify_up(seat->seat, event->time_msec, event->touch_id);
      |                                            ^~
../cage/seat.c:489:62: error: invalid use of undefined type ‘struct wlr_event_touch_up’
  489 |  wlr_seat_touch_notify_up(seat->seat, event->time_msec, event->touch_id);
      |                                                              ^~
../cage/seat.c: In function ‘handle_touch_motion’:
../cage/seat.c:499:49: error: invalid use of undefined type ‘struct wlr_event_touch_motion’
  499 |  if (!wlr_seat_touch_get_point(seat->seat, event->touch_id)) {
      |                                                 ^~
../cage/seat.c:504:58: error: invalid use of undefined type ‘struct wlr_event_touch_motion’
  504 |  wlr_cursor_absolute_to_layout_coords(seat->cursor, event->device, event->x, event->y, &lx, &ly);
      |                                                          ^~
../cage/seat.c:504:73: error: invalid use of undefined type ‘struct wlr_event_touch_motion’
  504 |  wlr_cursor_absolute_to_layout_coords(seat->cursor, event->device, event->x, event->y, &lx, &ly);
      |                                                                         ^~
../cage/seat.c:504:83: error: invalid use of undefined type ‘struct wlr_event_touch_motion’
  504 |  wlr_cursor_absolute_to_layout_coords(seat->cursor, event->device, event->x, event->y, &lx, &ly);
      |                                                                                   ^~
../cage/seat.c:511:56: error: invalid use of undefined type ‘struct wlr_event_touch_motion’
  511 |   wlr_seat_touch_point_focus(seat->seat, surface, event->time_msec, event->touch_id, sx, sy);
      |                                                        ^~
../cage/seat.c:511:74: error: invalid use of undefined type ‘struct wlr_event_touch_motion’
  511 |   wlr_seat_touch_point_focus(seat->seat, surface, event->time_msec, event->touch_id, sx, sy);
      |                                                                          ^~
../cage/seat.c:512:49: error: invalid use of undefined type ‘struct wlr_event_touch_motion’
  512 |   wlr_seat_touch_notify_motion(seat->seat, event->time_msec, event->touch_id, sx, sy);
      |                                                 ^~
../cage/seat.c:512:67: error: invalid use of undefined type ‘struct wlr_event_touch_motion’
  512 |   wlr_seat_touch_notify_motion(seat->seat, event->time_msec, event->touch_id, sx, sy);
      |                                                                   ^~
../cage/seat.c:514:53: error: invalid use of undefined type ‘struct wlr_event_touch_motion’
  514 |   wlr_seat_touch_point_clear_focus(seat->seat, event->time_msec, event->touch_id);
      |                                                     ^~
../cage/seat.c:514:71: error: invalid use of undefined type ‘struct wlr_event_touch_motion’
  514 |   wlr_seat_touch_point_clear_focus(seat->seat, event->time_msec, event->touch_id);
      |                                                                       ^~
../cage/seat.c:517:11: error: invalid use of undefined type ‘struct wlr_event_touch_motion’
  517 |  if (event->touch_id == seat->touch_id) {
      |           ^~
[7/12] Compiling C object cage.p/output.c.o
FAILED: cage.p/output.c.o 
cc -Icage.p -I. -I../cage -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/uuid -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c11 -O3 -DWLR_USE_UNSTABLE -Wall -Wundef -Wno-unused-parameter -MD -MQ cage.p/output.c.o -MF cage.p/output.c.o.d -o cage.p/output.c.o -c ../cage/output.c
../cage/output.c: In function ‘handle_new_output’:
../cage/output.c:456:35: error: ‘struct <anonymous>’ has no member named ‘transform’
  456 |  wl_signal_add(&wlr_output->events.transform, &output->transform);
      |                                   ^
[9/12] Compiling C object cage.p/xdg_shell.c.o
../cage/xdg_shell.c: In function ‘for_each_popup’:
../cage/xdg_shell.c:230:2: warning: implicit declaration of function ‘wlr_xdg_surface_for_each_popup’; did you mean ‘wlr_xdg_surface_for_each_surface’? [-Wimplicit-function-declaration]
  230 |  wlr_xdg_surface_for_each_popup(xdg_shell_view->xdg_surface, iterator, data);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |  wlr_xdg_surface_for_each_surface
[11/12] Compiling C object cage.p/view.c.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

sharethewisdom commented on 2020-02-16 11:47 (UTC)

hi, the Upstream URL should contain 'www' https://www.hjdskes.nl/projects/cage/