From unknown Thu Jun 19 14:06:17 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#45431] [PATCH] gnu: kiwix-desktop: Fix program start. Resent-From: Michael Rohleder Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 25 Dec 2020 16:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45431 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45431@debbugs.gnu.org Cc: Michael Rohleder X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160891418732757 (code B ref -1); Fri, 25 Dec 2020 16:37:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Dec 2020 16:36:27 +0000 Received: from localhost ([127.0.0.1]:58089 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ksq4p-0008WH-Ea for submit@debbugs.gnu.org; Fri, 25 Dec 2020 11:36:27 -0500 Received: from lists.gnu.org ([209.51.188.17]:40956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ksq4n-0008W9-6W for submit@debbugs.gnu.org; Fri, 25 Dec 2020 11:36:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39554) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ksq4m-0000Ib-WB for guix-patches@gnu.org; Fri, 25 Dec 2020 11:36:25 -0500 Received: from wp224.webpack.hosteurope.de ([2a01:488:42:1000:50ed:84e7::]:48616) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ksq4k-0006Ng-QE for guix-patches@gnu.org; Fri, 25 Dec 2020 11:36:24 -0500 Received: from www.rohleder.de ([37.61.204.227]); authenticated by wp224.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1ksq4f-0003BR-SJ; Fri, 25 Dec 2020 17:36:17 +0100 Received: from [192.168.1.3] (helo=micha.rohleder.de) by www.rohleder.de with esmtp (Exim 4.94) (envelope-from ) id 1ksq4d-00080I-Cw; Fri, 25 Dec 2020 17:36:17 +0100 From: Michael Rohleder Date: Fri, 25 Dec 2020 17:36:14 +0100 Message-Id: <20201225163614.17984-1-mike@rohleder.de> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1608914182;211412f7; X-HE-SMSGID: 1ksq4f-0003BR-SJ Received-SPF: permerror client-ip=2a01:488:42:1000:50ed:84e7::; envelope-from=mike@rohleder.de; helo=wp224.webpack.hosteurope.de X-Spam_score_int: 1 X-Spam_score: 0.1 X-Spam_bar: / X-Spam_report: (0.1 / 5.0 requ) BAYES_00=-1.9, PDS_OTHER_BAD_TLD=1.999, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) Fixes . * gnu/packages/web.scm (kiwix-desktop)[arguments]: Add phase to wrap QTWEBENGINEPROCESS_PATH. --- gnu/packages/web.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 8d7dfe2804..7486eb7f5b 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -7981,7 +7981,17 @@ It contains the code shared by all Kiwix ports.") (lambda* (#:key inputs #:allow-other-keys) (substitute* "kiwix-desktop.pro" (("webenginewidgets" all) (string-append all " printsupport"))) - #t))))) + #t)) + (add-after 'install 'wrap-qt-process-path + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin/kiwix-desktop")) + (qt-process-path (string-append + (assoc-ref inputs "qtwebengine") + "/lib/qt5/libexec/QtWebEngineProcess"))) + (wrap-program bin + `("QTWEBENGINEPROCESS_PATH" = (,qt-process-path))) + #t)))))) (inputs `(("curl" ,curl) ("icu4c" ,icu4c) -- 2.29.2 From unknown Thu Jun 19 14:06:17 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Michael Rohleder Subject: bug#45431: closed (Re: [PATCH] gnu: kiwix-desktop: Fix program start.) Message-ID: References: <3815859d39110ee91c1938482e18415645cfacc8.camel@student.tugraz.at> <20201225163614.17984-1-mike@rohleder.de> X-Gnu-PR-Message: they-closed 45431 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 45431@debbugs.gnu.org Date: Tue, 29 Dec 2020 20:30:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1609273803-14844-1" This is a multi-part message in MIME format... ------------=_1609273803-14844-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #45431: [PATCH] gnu: kiwix-desktop: Fix program start. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 45431@debbugs.gnu.org. --=20 45431: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D45431 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1609273803-14844-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 45431-done) by debbugs.gnu.org; 29 Dec 2020 20:29:47 +0000 Received: from localhost ([127.0.0.1]:40297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kuLcp-0003qE-4b for submit@debbugs.gnu.org; Tue, 29 Dec 2020 15:29:47 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:31382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kuLcm-0003pz-E0; Tue, 29 Dec 2020 15:29:45 -0500 Received: from nijino.local (217-149-174-13.nat.highway.telekom.at [217.149.174.13]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4D55cj3sQnz1LBRw; Tue, 29 Dec 2020 21:29:41 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4D55cj3sQnz1LBRw DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1609273781; bh=7FLEEQRTOiC8bs2R8wlJsu8574NwppaUvRd4L59qWMc=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=O2l1E+DGU9fMYZeGCSo4PL9xUzT8fahkIAaMZcsJO7iZzTIkhWDONqwI/eulTdIVZ iwxsGci1K/qeeYuhiz+Cw1uPzAbpfy7MEpbm4FtNFhn9sq1JslSeG/1jIxXUgNxXuz nW3lR013HRmPUUiEfFVi/iVMNmwffH1fYDTVX7OI= Message-ID: <3815859d39110ee91c1938482e18415645cfacc8.camel@student.tugraz.at> Subject: Re: [PATCH] gnu: kiwix-desktop: Fix program start. From: Leo Prikler To: Michael Rohleder Date: Tue, 29 Dec 2020 21:29:40 +0100 In-Reply-To: <20201225163614.17984-1-mike@rohleder.de> References: <20201225163614.17984-1-mike@rohleder.de> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: 45431-done Cc: 45431-done@debbugs.gnu.org, 45404-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) Pushed, thanks! Small hint, if you want to use pure environments, don't forget to expose environment variables such as DISPLAY and XAUTHORITY. Regards, Leo Am Freitag, den 25.12.2020, 17:36 +0100 schrieb Michael Rohleder: > Fixes ;. > > * gnu/packages/web.scm (kiwix-desktop)[arguments]: Add phase to wrap > QTWEBENGINEPROCESS_PATH. > --- > gnu/packages/web.scm | 12 +++++++++++- > 1 file changed, 11 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm > index 8d7dfe2804..7486eb7f5b 100644 > --- a/gnu/packages/web.scm > +++ b/gnu/packages/web.scm > @@ -7981,7 +7981,17 @@ It contains the code shared by all Kiwix > ports.") > (lambda* (#:key inputs #:allow-other-keys) > (substitute* "kiwix-desktop.pro" > (("webenginewidgets" all) (string-append all " > printsupport"))) > - #t))))) > + #t)) > + (add-after 'install 'wrap-qt-process-path > + (lambda* (#:key inputs outputs #:allow-other-keys) > + (let* ((out (assoc-ref outputs "out")) > + (bin (string-append out "/bin/kiwix-desktop")) > + (qt-process-path (string-append > + (assoc-ref inputs > "qtwebengine") > + "/lib/qt5/libexec/QtWebEngineP > rocess"))) > + (wrap-program bin > + `("QTWEBENGINEPROCESS_PATH" = (,qt-process-path))) > + #t)))))) > (inputs > `(("curl" ,curl) > ("icu4c" ,icu4c) ------------=_1609273803-14844-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 25 Dec 2020 16:36:27 +0000 Received: from localhost ([127.0.0.1]:58089 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ksq4p-0008WH-Ea for submit@debbugs.gnu.org; Fri, 25 Dec 2020 11:36:27 -0500 Received: from lists.gnu.org ([209.51.188.17]:40956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ksq4n-0008W9-6W for submit@debbugs.gnu.org; Fri, 25 Dec 2020 11:36:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39554) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ksq4m-0000Ib-WB for guix-patches@gnu.org; Fri, 25 Dec 2020 11:36:25 -0500 Received: from wp224.webpack.hosteurope.de ([2a01:488:42:1000:50ed:84e7::]:48616) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ksq4k-0006Ng-QE for guix-patches@gnu.org; Fri, 25 Dec 2020 11:36:24 -0500 Received: from www.rohleder.de ([37.61.204.227]); authenticated by wp224.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1ksq4f-0003BR-SJ; Fri, 25 Dec 2020 17:36:17 +0100 Received: from [192.168.1.3] (helo=micha.rohleder.de) by www.rohleder.de with esmtp (Exim 4.94) (envelope-from ) id 1ksq4d-00080I-Cw; Fri, 25 Dec 2020 17:36:17 +0100 From: Michael Rohleder To: guix-patches@gnu.org Subject: [PATCH] gnu: kiwix-desktop: Fix program start. Date: Fri, 25 Dec 2020 17:36:14 +0100 Message-Id: <20201225163614.17984-1-mike@rohleder.de> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1608914182;211412f7; X-HE-SMSGID: 1ksq4f-0003BR-SJ Received-SPF: permerror client-ip=2a01:488:42:1000:50ed:84e7::; envelope-from=mike@rohleder.de; helo=wp224.webpack.hosteurope.de X-Spam_score_int: 1 X-Spam_score: 0.1 X-Spam_bar: / X-Spam_report: (0.1 / 5.0 requ) BAYES_00=-1.9, PDS_OTHER_BAD_TLD=1.999, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: submit Cc: Michael Rohleder X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) Fixes . * gnu/packages/web.scm (kiwix-desktop)[arguments]: Add phase to wrap QTWEBENGINEPROCESS_PATH. --- gnu/packages/web.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 8d7dfe2804..7486eb7f5b 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -7981,7 +7981,17 @@ It contains the code shared by all Kiwix ports.") (lambda* (#:key inputs #:allow-other-keys) (substitute* "kiwix-desktop.pro" (("webenginewidgets" all) (string-append all " printsupport"))) - #t))))) + #t)) + (add-after 'install 'wrap-qt-process-path + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin/kiwix-desktop")) + (qt-process-path (string-append + (assoc-ref inputs "qtwebengine") + "/lib/qt5/libexec/QtWebEngineProcess"))) + (wrap-program bin + `("QTWEBENGINEPROCESS_PATH" = (,qt-process-path))) + #t)))))) (inputs `(("curl" ,curl) ("icu4c" ,icu4c) -- 2.29.2 ------------=_1609273803-14844-1--