Package Details: phoc 0.5.1-1

Git Clone URL: https://aur.archlinux.org/phoc.git (read-only, click to copy)
Package Base: phoc
Description: Wlroots based Phone compositor
Upstream URL: https://source.puri.sm/Librem5/phoc
Licenses: GPL3
Submitter: flipflop97
Maintainer: flipflop97
Last Packager: flipflop97
Votes: 4
Popularity: 0.95
First Submitted: 2019-12-04 12:58
Last Updated: 2020-11-20 14:05

Latest Comments

flipflop97 commented on 2020-11-21 17:38

@halcek

I usually omit the quotation marks because it looks a bit cleaner. Does it cause problems for you now?

halcek commented on 2020-11-20 17:43

Please declare architecture within '' '', like this: 'aarch64'.

tytan652 commented on 2020-09-22 13:21

With wlroots v0.11+, there is issue with rotations. See here.

To fix this, you should maybe use git source with tag and in prepare stage cherry-pick this commit. Or create a patch from it and apply it.

Only for phoc 0.4.2

z3ntu commented on 2020-06-16 08:58

mutter needs to be a dependency of phoc, otherwise phoc aborts with the following error:

(phoc:87246): GLib-GIO-ERROR **: 10:56:25.823: Settings schema 'org.gnome.mutter.keybindings' is not installed

ejiek commented on 2020-04-11 21:38

Please add aarch64 architecture

azmeuk commented on 2020-02-21 15:51

Hello. I have this compilation error when trying to install the package:

% yay -S phoc  --noconfirm
⌁0% [azmeuk:~] 130 % env LANG=en yay -S phoc --noconfirm
:: There are 2 providers available for phoc:
:: Repository AUR
    1) phoc 2) phoc-git 

Enter a number (default=1): 1
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur: 1]  phoc-0.1.5-1

  1 phoc                             (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: PKGBUILD up to date, Skipping (1/1): phoc
  1 phoc                             (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: Parsing SRCINFO (1/1): phoc
==> Making package: phoc 0.1.5-1 (Fri Feb 21 16:50:11 2020)
==> Retrieving sources...
  -> Found phoc-v0.1.5.tar.gz
==> Validating source files with sha256sums...
    phoc-v0.1.5.tar.gz ... Passed
==> Making package: phoc 0.1.5-1 (Fri Feb 21 16:50:11 2020)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found phoc-v0.1.5.tar.gz
==> Validating source files with sha256sums...
    phoc-v0.1.5.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting phoc-v0.1.5.tar.gz with bsdtar
bsdtar: Failed to set default locale
==> Sources are ready.
==> Making package: phoc 0.1.5-1 (Fri Feb 21 16:50:13 2020)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true phoc-v0.1.5 build -Dembed-wlroots=disabled
The Meson build system
Version: 0.53.1
Source dir: /home/azmeuk/.cache/yay/phoc/src/phoc-v0.1.5
Build dir: /home/azmeuk/.cache/yay/phoc/src/build
Build type: native build
Project name: phoc
Project version: 0.1.5
Appending CFLAGS from environment: '-march=x86-64 -mtune=generic -O2 -pipe -fno-plt'
Appending LDFLAGS from environment: ['-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now']
Appending CPPFLAGS from environment: '-D_FORTIFY_SOURCE=2'
Appending CFLAGS from environment: '-march=x86-64 -mtune=generic -O2 -pipe -fno-plt'
Appending LDFLAGS from environment: ['-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now']
Appending CPPFLAGS from environment: '-D_FORTIFY_SOURCE=2'
C compiler for the host machine: cc (gcc 9.2.1 "cc (Arch Linux 9.2.1+20200130-2) 9.2.1 20200130")
C linker for the host machine: cc GNU ld.bfd 2.34
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.6.3)
Run-time dependency gio-2.0 found: YES 2.62.4
Run-time dependency glib-2.0 found: YES 2.62.4
Run-time dependency gobject-2.0 found: YES 2.62.4
Run-time dependency gnome-desktop-3.0 found: YES 3.34.4
Run-time dependency libinput found: YES 1.15.1
Run-time dependency pixman-1 found: YES 0.38.4
Run-time dependency wayland-client found: YES 1.18.0
Run-time dependency wayland-protocols found: YES 1.18
Run-time dependency wayland-server found: YES 1.18.0
Run-time dependency xkbcommon found: YES 0.10.0
Library m found: YES
Run-time dependency wlroots found: YES 0.10.0
Fetching value of define "WLR_HAS_XWAYLAND" with dependency wlroots: 1 
Compiler for C supports arguments -Wcast-align: YES 
Compiler for C supports arguments -Wdate-time: YES 
Compiler for C supports arguments -Werror=format-security: NO 
Compiler for C supports arguments -Werror=format=2: YES 
Compiler for C supports arguments -Wendif-labels: YES 
Compiler for C supports arguments -Werror=incompatible-pointer-types: YES 
Compiler for C supports arguments -Werror=missing-declarations: YES 
Compiler for C supports arguments -Werror=overflow: YES 
Compiler for C supports arguments -Werror=return-type: YES 
Compiler for C supports arguments -Werror=shift-count-overflow: YES 
Compiler for C supports arguments -Werror=shift-overflow=2: YES 
Compiler for C supports arguments -Werror=implicit-fallthrough=3: YES 
Compiler for C supports arguments -Wformat-nonliteral: YES 
Compiler for C supports arguments -Wformat-security: YES 
Compiler for C supports arguments -Winit-self: YES 
Compiler for C supports arguments -Wmaybe-uninitialized: YES 
Compiler for C supports arguments -Wmissing-field-initializers: YES 
Compiler for C supports arguments -Wmissing-include-dirs: YES 
Compiler for C supports arguments -Wmissing-noreturn: YES 
Compiler for C supports arguments -Wnested-externs: YES 
Compiler for C supports arguments -Wno-missing-field-initializers -Wmissing-field-initializers: YES 
Compiler for C supports arguments -Wno-sign-compare -Wsign-compare: YES 
Compiler for C supports arguments -Wno-strict-aliasing -Wstrict-aliasing: YES 
Compiler for C supports arguments -Wno-unused-parameter -Wunused-parameter: YES 
Compiler for C supports arguments -Wold-style-definition: YES 
Compiler for C supports arguments -Wpointer-arith: YES 
Compiler for C supports arguments -Wredundant-decls: YES 
Compiler for C supports arguments -Wstrict-prototypes: YES 
Compiler for C supports arguments -Wtype-limits: YES 
Compiler for C supports arguments -Wundef: YES 
Compiler for C supports arguments -Wunused-function: YES 
Program wayland-scanner found: YES (/usr/bin/wayland-scanner)
Message: 
--------------------------
phoc 0.1.5

           xwayland: true
 wlroots subproject: false
    wlroots version: 0.10.0
--------------------------

Configuring config.h using configuration
Configuring run using configuration
Program git found: YES (/usr/bin/git)
Program etags found: YES (/usr/bin/etags)
Program ctags found: YES (/usr/bin/ctags)
Build targets in project: 3

Option buildtype is: plain [default: debugoptimized]
Found ninja-1.10.0 at /usr/bin/ninja
ninja: Entering directory `build'
[36/53] Compiling C object 'src/25a6634@@phoc@exe/layer_shell.c.o'.
FAILED: src/25a6634@@phoc@exe/layer_shell.c.o 
cc -Isrc/25a6634@@phoc@exe -Isrc -I../phoc-v0.1.5/src -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi-3.2.1/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gnome-desktop-3.0 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/gsettings-desktop-schemas -I/usr/include/libdrm -I/home/azmeuk/.cache/yay/phoc/src/build -flto -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu11 -DWLR_USE_UNSTABLE -Wcast-align -Wdate-time -Werror=format=2 -Wendif-labels -Werror=incompatible-pointer-types -Werror=missing-declarations -Werror=overflow -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=implicit-fallthrough=3 -Wformat-nonliteral -Wformat-security -Winit-self -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wno-missing-field-initializers -Wno-sign-compare -Wno-strict-aliasing -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wtype-limits -Wundef -Wunused-function -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -fPIE -pthread -MD -MQ 'src/25a6634@@phoc@exe/layer_shell.c.o' -MF 'src/25a6634@@phoc@exe/layer_shell.c.o.d' -o 'src/25a6634@@phoc@exe/layer_shell.c.o' -c ../phoc-v0.1.5/src/layer_shell.c
../phoc-v0.1.5/src/layer_shell.c: In function 'change_osk':
../phoc-v0.1.5/src/layer_shell.c:239:65: error: 'struct wlr_layer_surface_v1' has no member named 'layer'
  239 |  if (!force_overlay && osk->layer != osk->surface->layer_surface->layer) {
      |                                                                 ^~
../phoc-v0.1.5/src/layer_shell.c:241:53: error: 'struct wlr_layer_surface_v1' has no member named 'layer'
  241 |   wl_list_insert(&layers[osk->surface->layer_surface->layer], &osk->surface->link);
      |                                                     ^~
../phoc-v0.1.5/src/layer_shell.c: In function 'arrange_layers':
../phoc-v0.1.5/src/layer_shell.c:257:50: error: 'struct wlr_layer_surface_v1' has no member named 'layer'
  257 |    if (seat->focused_layer && seat->focused_layer->layer >= osk_place.surface->layer_surface->layer) {
      |                                                  ^~
../phoc-v0.1.5/src/layer_shell.c:257:93: error: 'struct wlr_layer_surface_v1' has no member named 'layer'
  257 |    if (seat->focused_layer && seat->focused_layer->layer >= osk_place.surface->layer_surface->layer) {
      |                                                                                             ^~
In file included from ../phoc-v0.1.5/src/layer_shell.c:18:
../phoc-v0.1.5/src/layer_shell.c: In function 'handle_layer_shell_surface':
../phoc-v0.1.5/src/layer_shell.c:736:42: error: 'struct wlr_layer_surface_v1' has no member named 'layer'
  736 |   layer_surface->namespace, layer_surface->layer, layer_surface->layer,
      |                                          ^~
../phoc-v0.1.5/src/layer_shell.c:736:64: error: 'struct wlr_layer_surface_v1' has no member named 'layer'
  736 |   layer_surface->namespace, layer_surface->layer, layer_surface->layer,
      |                                                                ^~
../phoc-v0.1.5/src/layer_shell.c:796:46: error: 'struct wlr_layer_surface_v1' has no member named 'layer'
  796 |  wl_list_insert(&output->layers[layer_surface->layer], &roots_surface->link);
      |                                              ^~
[44/53] Compiling C object 'src/25a6634@@phoc@exe/output.c.o'.
FAILED: src/25a6634@@phoc@exe/output.c.o 
cc -Isrc/25a6634@@phoc@exe -Isrc -I../phoc-v0.1.5/src -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi-3.2.1/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gnome-desktop-3.0 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/gsettings-desktop-schemas -I/usr/include/libdrm -I/home/azmeuk/.cache/yay/phoc/src/build -flto -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu11 -DWLR_USE_UNSTABLE -Wcast-align -Wdate-time -Werror=format=2 -Wendif-labels -Werror=incompatible-pointer-types -Werror=missing-declarations -Werror=overflow -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=implicit-fallthrough=3 -Wformat-nonliteral -Wformat-security -Winit-self -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wno-missing-field-initializers -Wno-sign-compare -Wno-strict-aliasing -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wtype-limits -Wundef -Wunused-function -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -fPIE -pthread -MD -MQ 'src/25a6634@@phoc@exe/output.c.o' -MF 'src/25a6634@@phoc@exe/output.c.o.d' -o 'src/25a6634@@phoc@exe/output.c.o' -c ../phoc-v0.1.5/src/output.c
../phoc-v0.1.5/src/output.c: In function 'handle_output_manager_apply':
../phoc-v0.1.5/src/output.c:509:10: error: void value not ignored as it ought to be
  509 |    ok &= wlr_output_enable(wlr_output, false);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../phoc-v0.1.5/src/output.c:520:9: error: void value not ignored as it ought to be
  520 |   ok &= wlr_output_enable(wlr_output, true);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../phoc-v0.1.5/src/output.c:522:10: error: void value not ignored as it ought to be
  522 |    ok &= wlr_output_set_mode(wlr_output, config_head->state.mode);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../phoc-v0.1.5/src/output.c:524:10: error: void value not ignored as it ought to be
  524 |    ok &= wlr_output_set_custom_mode(wlr_output,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  525 |     config_head->state.custom_mode.width,
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  526 |     config_head->state.custom_mode.height,
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  527 |     config_head->state.custom_mode.refresh);
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../phoc-v0.1.5/src/output.c: In function 'surface_send_presented_iterator':
../phoc-v0.1.5/src/output.c:614:2: warning: implicit declaration of function 'wlr_presentation_send_surface_presented'; did you mean 'wlr_presentation_feedback_send_presented'? [-Wimplicit-function-declaration]
  614 |  wlr_presentation_send_surface_presented(output->desktop->presentation,
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |  wlr_presentation_feedback_send_presented
../phoc-v0.1.5/src/output.c:614:2: warning: nested extern declaration of 'wlr_presentation_send_surface_presented' [-Wnested-externs]
[45/53] Compiling C object 'src/25a6634@@phoc@exe/render.c.o'.
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
Error making: phoc