wayvnc icon indicating copy to clipboard operation
wayvnc copied to clipboard

README: Add Debian dependency instructions

Open kirsle opened this issue 3 years ago • 7 comments

I managed to compile wayvnc for Mobian on Pinephone and identified the Debian names of dependencies needed.

These can be added to the README for posterity.

kirsle avatar Apr 02 '21 19:04 kirsle

Looks about right, which version of debian is that?

any1 avatar Apr 02 '21 21:04 any1

It's on Debian ~~Buster~~ Bullseye, the distro that Mobian for the Pinephone is built from. Mobian uses upstream packages except for a small handful of overrides for mobile-friendly app patches, while they await upstreaming their patches to Debian proper.

kirsle avatar Apr 02 '21 21:04 kirsle

Hmm, wayvnc requires libxkbcommon v1.0.0 or newer, but buster only has v0.8.2. I guess Mobian has a newer one?

any1 avatar Apr 02 '21 22:04 any1

It looks like Debian testing has version 1.0.3-2: https://tracker.debian.org/pkg/libxkbcommon

[kirsle@pine ~]% apt search libxkbcommon-dev
Sorting... Done
Full Text Search... Done
libxkbcommon-dev/testing,now 1.0.3-2 arm64 [installed]
  library interface to the XKB compiler - development files

I guess I misspoke earlier, it's Debian bullseye, not buster; bullseye is currently in the testing freeze for an upcoming release.

kirsle avatar Apr 02 '21 22:04 kirsle

Hi, thanks for the patch but you left a typo : you wrote libxbcommon-dev instead of libxkbcommon-dev.

Otherwise it builds fine on Debian bullseye.

zerkman avatar Apr 03 '21 09:04 zerkman

On Mobian I also needed to install zlib1g-dev in order to compile the neatvnc subproject.

Strbean1 avatar Apr 21 '21 06:04 Strbean1

Updated the PR to fix the libxkbcommon-dev typo and add zlib1g-dev.

kirsle avatar Apr 21 '21 16:04 kirsle

The current README has debian instructions now.

Closing this PR. Please feel free to rebase and reopen if the README needs more updating!

lack avatar Dec 18 '22 07:12 lack