AW: Help building a flatpak for qutebrowser

Ankur Sinha sanjay.ankur at gmail.com
Sun Jun 25 12:09:45 UTC 2017


On Sat, 2017-06-24 at 02:05 +0200, Alexander Wilms wrote:
> Hi Ankur,

Hi Alex,

>  
> I’m facing the exact same error when running Subsurface.
>  
> The sandbox error can be avoided by creating a Shell script to start
> the application, like this:
>  
> #!/bin/bash
> export QTWEBENGINE_DISABLE_SANDBOX=1 && subsurface

Ah that got rid of the first "error". I think I found a cleaner way
too. I just did this:

> +        "--env=QTWEBENGINE_DISABLE_SANDBOX=1"
> 

Here's the commit:
https://github.com/sanjayankur31/qutebrowser/commit/0c1462a4d0319572a1c4408927ff2c554c5de47f

I don't know what this does, though - is it OK to do?

>  
> The manifest is hosted here: https://github.com/Alexander-Wilms/flatp
> ak-manifests/blob/master/org.subsurface_divelog.subsurface.json
>  
> The error udev_loader.cc requires the QtWebEngine module in the KDE
> Sdk manifest to be patched so it builds without udev. I tried adding
> this patch to the module, but the build failed
>  
> --- ./src/core/config/linux.pri
> +++ ./src/core/config/linux.pri
> @@ -3,6 +3,7 @@
> QT_FOR_CONFIG += gui-private webengine-private
>  gn_args += \
> +    use_udev=false \
>      use_cups=false \
>      use_gconf=false \
>      use_gio=false \
>  


I looked into this a bit, and well, it looks like it's already built
without udev:

https://github.com/KDE/flatpak-kde-runtime/blob/master/solid-no-udev.patch

https://phabricator.kde.org/R257:a3cf08be8e2c36ca29be6d52e20e2712df6b8161

Would any of the KDE folks know how to fix/workaround this?

-- 
Thanks,
Regards,
Ankur Sinha "FranciscoD"

https://fedoraproject.org/wiki/User:Ankursinha
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/flatpak/attachments/20170625/9dc92ce4/attachment.sig>


More information about the Flatpak mailing list