Page MenuHomePhabricator

[electrum] AppImage: Remove glib libraries from bundle to make QR scanner work
ClosedPublic

Authored by PiRK on Jul 19 2023, 07:47.

Details

Summary

We need to exclude the glib libraries, otherwise we can end up using
multiple incompatible versions.

We could have also included all glib libraries, but then we would have
to include the full gstreamer libraries too.

See https://github.com/AppImageCommunity/pkg2appimage/pull/500#issuecomment-1057287738

This is a backport of electroncash#2653

Test Plan

Build the AppImage, test the webcam QR code scanner on a system where it previously didn't work (Ubuntu 22.04 with an AppImage built on Debian 10)

Diff Detail

Repository
rABC Bitcoin ABC
Branch
glib_qr_scanner
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 24545
Build 48687: Build Diffelectrum-tests
Build 48686: arc lint + arc unit

Event Timeline

Some context for this one, from the Electron Cash telegram group:

Screenshot from 2023-07-19 09-50-58.png (366×489 px, 88 KB)

Screenshot from 2023-07-19 09-52-08.png (459×529 px, 224 KB)

Screenshot from 2023-07-19 09-52-42.png (282×499 px, 65 KB)

Screenshot from 2023-07-19 09-53-13.png (157×487 px, 30 KB)

PiRK edited the test plan for this revision. (Show Details)
PiRK published this revision for review.Jul 21 2023, 14:13
PiRK edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Jul 21 2023, 16:51