From 6f15b1d28614595c5588e50b96e41c0caed217ee Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Sun, 22 Mar 2026 14:21:43 +0100 Subject: [PATCH] gnu: flyer-composer: Support Wayland. * gnu/packages/pdf.scm (flyer-composer)[arguments]<#:phases>{wrap-gui}: Add qtwayland-5. [inputs]: Add qtwayland-5. Change-Id: Iebf131f9f0540f48908f8738249438364404e328 --- gnu/packages/pdf.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index 4fa9b626da..13235659fd 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -341,15 +341,17 @@ information.") (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (qtbase (assoc-ref inputs "qtbase")) + (qtwayland (assoc-ref inputs "qtwayland")) (qml "/lib/qt5/qml")) (wrap-program (string-append out "/bin/flyer-composer-gui") `("QT_PLUGIN_PATH" ":" = - (,(string-append qtbase "/lib/qt5/plugins"))) + (,(string-append qtbase "/lib/qt5/plugins") + ,(string-append qtwayland "/lib/qt5/plugins"))) `("QT_QPA_PLATFORM_PLUGIN_PATH" ":" = (,(string-append qtbase "/lib/qt5/plugins/platforms")))))))))) (native-inputs (list python-setuptools python-wheel)) (propagated-inputs (list python-pypdf)) - (inputs (list bash-minimal python-poppler-qt5 python-pyqt qtbase-5)) + (inputs (list bash-minimal python-poppler-qt5 python-pyqt qtbase-5 qtwayland-5)) (home-page "http://crazy-compilers.com/flyer-composer") (synopsis "Rearrange PDF pages to print as flyers on one sheet") (description "@command{flyer-composer} can be used to prepare one- or