wlr-randr PMOS + Phosh
#1
Hey!

I'm trying to install wlr-randr to change the screen resolution on my pinephone. I'm referring to this thread and the two provided links by "nas", which are related to debian + phosh


I cloned wlr-randr from github
installed build-base

then I run
meson build in thdisplay guidee /wlr-randr directory

but it quits with the following error:


Code:
pinephone:~/wlr-randr$ meson build The Meson build system Version: 0.53.2 Source dir: /home/nieral/wlr-randr Build dir: /home/nieral/wlr-randr/build Build type: native build Project name: wlr-randr Project version: 0.0.0 C compiler for the host machine: cc (gcc 9.3.0 "cc (Alpine 9.3.0) 9.3.0") C linker for the host machine: cc ld.bfd 2.34 Host machine cpu family: aarch64 Host machine cpu: aarch64 Compiler for C supports arguments -Wundef: YES   Compiler for C supports arguments -Wlogical-op: YES   Compiler for C supports arguments -Wmissing-include-dirs: YES   Compiler for C supports arguments -Wold-style-definition: YES   Compiler for C supports arguments -Wpointer-arith: YES   Compiler for C supports arguments -Winit-self: YES   Compiler for C supports arguments -Wfloat-equal: YES   Compiler for C supports arguments -Wstrict-prototypes: YES   Compiler for C supports arguments -Wredundant-decls: YES   Compiler for C supports arguments -Wimplicit-fallthrough=2: YES   Compiler for C supports arguments -Wendif-labels: YES   Compiler for C supports arguments -Wstrict-aliasing=2: YES   Compiler for C supports arguments -Woverflow: YES   Compiler for C supports arguments -Wformat=2: YES   Compiler for C supports arguments -Wno-missing-braces -Wmissing-braces: YES   Compiler for C supports arguments -Wno-missing-field-initializers -Wmissing-field-initializers: YES   Compiler for C supports arguments -Wno-unused-parameter -Wunused-parameter: YES   Found pkg-config: /usr/bin/pkg-config (1.6.3) Found CMake: /usr/bin/cmake (3.17.0) Run-time dependency wayland-client found: NO (tried pkgconfig and cmake) meson.build:37:0: ERROR: Dependency "wayland-client" not found, tried pkgconfig and cmake


this is the output of the meson-build log:

Code:
Compiler for C supports arguments -Wno-unused-parameter -Wunused-parameter: YES Pkg-config binary for MachineChoice.HOST is not cached. Pkg-config binary missing from cross or native file, or env var undefined. Trying a default pkg-config fallback at pkg-config Trying pkg-config binary pkg-config for machine MachineChoice.HOST at ['/usr/bin/pkg-config'] Found pkg-config: /usr/bin/pkg-config (1.6.3) Determining dependency 'wayland-client' with pkg-config executable '/usr/bin/pkg-config' PKG_CONFIG_PATH: Called `/usr/bin/pkg-config --modversion wayland-client` -> 1 CMake binary for MachineChoice.HOST is not cached CMake binary missing from cross or native file, or env var undefined. Trying a default CMake fallback at cmake Trying CMake binary cmake for machine MachineChoice.HOST at ['/usr/bin/cmake'] Found CMake: /usr/bin/cmake (3.17.0) Extracting basic cmake information Try CMake generator: auto No CXXFLAGS in the environment, not changing global flags. No LDFLAGS in the environment, not changing global flags. No CPPFLAGS in the environment, not changing global flags. Failed to find a fortran compiler for CMake. This might cause CMake to fail. Called `/usr/bin/cmake --trace-expand .` in /home/nieral/wlr-randr/build/meson-private/cmake_wayland>  -- Module search paths:    ['/', '/opt', '/usr', '/usr/local']  -- CMake root:             /usr/share/cmake  -- CMake architectures:    []  -- CMake lib search paths: ['lib', 'lib32', 'lib64', 'libx32', 'share'] Preliminary CMake check failed. Aborting. Run-time dependency wayland-client found: NO (tried pkgconfig and cmake) meson.build:37:0: ERROR: Dependency "wayland-client" not found, tried pkgconfig and cmake


Both pkg-config and cmake are installed on the system. I do not understand the error messages above concerning pkg-config, which, I assume, are the cause for the error:


Code:
Pkg-config binary missing from cross or native file, or env var undefined.



Any idea?

Changing the screen resolution seems to be the only practical way to make application fit the screen. Even the open/save dialogs from PM OS' Core apps are too large (the display guide on the pmOs wiki did not solve the scaling problems for me and is only applicable for qt apps).


Messages In This Thread
wlr-randr PMOS + Phosh - by nieral - 03-29-2020, 03:25 PM
RE: wlr-randr PMOS + Phosh - by Zweitaktmotor - 03-29-2020, 03:47 PM
RE: wlr-randr PMOS + Phosh - by PureTryOut - 03-30-2020, 08:43 AM
RE: wlr-randr PMOS + Phosh - by nieral - 03-30-2020, 12:34 PM
RE: wlr-randr PMOS + Phosh - by PureTryOut - 03-31-2020, 01:41 AM
RE: wlr-randr PMOS + Phosh - by nieral - 03-31-2020, 01:59 PM
RE: wlr-randr PMOS + Phosh - by MartijnBraam - 04-01-2020, 05:59 PM
RE: wlr-randr PMOS + Phosh - by nieral - 04-03-2020, 01:51 AM
RE: wlr-randr PMOS + Phosh - by Zweitaktmotor - 04-04-2020, 06:37 PM
RE: wlr-randr PMOS + Phosh - by nieral - 04-02-2020, 12:21 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Phosh] : Nheko and gnome-keyring freelectro 1 2,935 12-17-2024, 04:46 PM
Last Post: zeb11
  Fresh install pmos+phosh does not boot user641 1 3,956 10-08-2023, 04:04 AM
Last Post: user641
  [Not Pinephone] Phosh Autologin LienRag 11 13,974 09-01-2023, 10:55 PM
Last Post: rocket2nfinity
  Boots To Shell After Dead Battery (PMOS) britelite 0 2,645 02-17-2023, 02:41 PM
Last Post: britelite
  No Application Data PMOS 21.12.1 Captain1ndustry 4 8,907 08-12-2022, 07:42 AM
Last Post: Gon
  pmos/phosh edge update and audio disappears robthebold 9 15,351 07-10-2022, 03:26 AM
Last Post: arkadione
  How to delete single sms in phosh? bircoph 1 3,755 07-06-2022, 08:10 AM
Last Post: bircoph
  no screen rotation on pinephone pro with postmarketOS + phosh elode 2 6,569 07-03-2022, 09:13 AM
Last Post: a.h.littorin
  closing apps rather than leaving them running (phosh) lordearl 7 14,997 02-03-2022, 09:14 PM
Last Post: parry
  Application list PMOS-Phosh jmorris 6 14,614 12-04-2021, 02:26 AM
Last Post: Juergen

Forum Jump:


Users browsing this thread: 1 Guest(s)