From unknown Sat Jun 14 14:24:30 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#45431 <45431@debbugs.gnu.org> To: bug#45431 <45431@debbugs.gnu.org> Subject: Status: [PATCH] gnu: kiwix-desktop: Fix program start. Reply-To: bug#45431 <45431@debbugs.gnu.org> Date: Sat, 14 Jun 2025 21:24:30 +0000 retitle 45431 [PATCH] gnu: kiwix-desktop: Fix program start. reassign 45431 guix-patches submitter 45431 Michael Rohleder severity 45431 normal tag 45431 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 25 11:36:27 2020 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 29 15:29:47 2020 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) From unknown Sat Jun 14 14:24:30 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 27 Jan 2021 12:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator