[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-browser] 95/311: Bug 1712555 Enable gtk's cups printing backend for flatpak; r=emilio a=pascalc



This is an automated email from the git hooks/post-receive script.

pierov pushed a commit to branch geckoview-99.0.1-11.0-1
in repository tor-browser.

commit d2332438d097830b007580d4199f536d8bea315f
Author: Jan Horak <jhorak@xxxxxxxxxx>
AuthorDate: Fri Feb 18 09:07:50 2022 +0000

    Bug 1712555 Enable gtk's cups printing backend for flatpak;r=emilio a=pascalc
    
    Added comment to clarify GTK_PATH settings
    
    Differential Revision: https://phabricator.services.mozilla.com/D138908
---
 taskcluster/docker/firefox-flatpak/runme.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/taskcluster/docker/firefox-flatpak/runme.sh b/taskcluster/docker/firefox-flatpak/runme.sh
index adb8bb95c668f..c3060855a4bd7 100755
--- a/taskcluster/docker/firefox-flatpak/runme.sh
+++ b/taskcluster/docker/firefox-flatpak/runme.sh
@@ -137,13 +137,17 @@ install -D -m644 -t "${appdir}/lib/firefox/distribution" policies.json
 install -D -m644 -t "${appdir}/lib/firefox/browser/defaults/preferences" default-preferences.js
 install -D -m755 launch-script.sh "${appdir}/bin/firefox"
 
+# We need to set GTK_PATH to load cups printing backend which is missing in
+# freedesktop sdk.
 flatpak build-finish build                                      \
         --share=ipc                                             \
         --share=network                                         \
+        --env=GTK_PATH=/app/lib/gtkmodules                      \
         --socket=pulseaudio                                     \
         --socket=wayland                                        \
         --socket=x11                                            \
         --socket=pcsc                                           \
+        --socket=cups                                           \
         --require-version=0.11.1                                \
         --persist=.mozilla                                      \
         --filesystem=xdg-download:rw                            \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits