From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 10 05:53:51 2022 Received: (at submit) by debbugs.gnu.org; 10 Aug 2022 09:53:51 +0000 Received: from localhost ([127.0.0.1]:46134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLiPO-0001Ny-Ld for submit@debbugs.gnu.org; Wed, 10 Aug 2022 05:53:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:41120) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLiPL-0001Np-Ei for submit@debbugs.gnu.org; Wed, 10 Aug 2022 05:53:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60036) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLiPI-0001Uf-OE for guix-patches@gnu.org; Wed, 10 Aug 2022 05:53:47 -0400 Received: from araneo.si ([2001:15c0:2110:3400::2]:36744) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLiPH-0007Ot-33 for guix-patches@gnu.org; Wed, 10 Aug 2022 05:53:44 -0400 Received: from araneo.si (localhost.lan [127.0.0.1]) by araneo.si (OpenSMTPD) with ESMTP id 84264637 for ; Wed, 10 Aug 2022 09:53:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=araneo.si; h=from:to:cc :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=20180623; bh=F+Pq2TEtEOCnJLYOXmRFb I+hqtQ=; b=xOfaV9BCIfeBFu88cEEghz0TbXBSK8O4sRh8e4qTlZbfsrwI67LeO VrjDWZbSDf9B9XIIwZZCb3y+6wFQ40P0GcVwVeW2/dO4FpCOwvMr1aGzrUmj1F+n IHmAMgbIwVqDE9I2o5o7DX4gXlar4AnCmybUSGm397++K91vG+dQUVyXCWYAkGTF Mtiikz70/8Dc+gWOMAK9J8WVXL5pZ658B55cD6k2AwvCiriy6HIpEBEIM4rA1slq tWenvAd0S6WGhM7WIUaCQI4jcuP/Z5xXXWLD0coeZg2eW2hl/yYO8r39oijE85JD Mx1rLYYaZGGXn7Y43wNZ83Ju+/qnmGUXA== Received: by araneo.si (OpenSMTPD) with ESMTPSA id 77b4a9d4 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 10 Aug 2022 09:53:34 +0000 (UTC) From: Timotej Lazar To: guix-patches@gnu.org Subject: [PATCH] gnu: wpa-supplicant-gui: Fix build. Date: Wed, 10 Aug 2022 11:48:33 +0200 Message-Id: <20220810094833.26717-1-timotej.lazar@araneo.si> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2001:15c0:2110:3400::2; envelope-from=timotej.lazar@araneo.si; helo=araneo.si X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Timotej Lazar 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: -2.3 (--) * gnu/packages/admin.scm (wpa-supplicant-gui)[build-system]: Use qt-build-system. [phases]: Use G-exps. Drop trailing #t. Don’t wrap-program as that is done by the build system. --- gnu/packages/admin.scm | 45 +++++++++++++++++------------------------- 1 file changed, 18 insertions(+), 27 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 146423d068..3aa65824c8 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -77,6 +77,7 @@ (define-module (gnu packages admin) #:use-module (guix build-system meson) #:use-module (guix build-system perl) #:use-module (guix build-system python) + #:use-module (guix build-system qt) #:use-module (guix build-system ruby) #:use-module (guix build-system trivial) #:use-module (guix download) @@ -2145,34 +2146,24 @@ (define-public wpa-supplicant-gui ;; For icons. (modify-inputs (package-native-inputs wpa-supplicant) (prepend imagemagick inkscape/stable))) + (build-system qt-build-system) (arguments - `(#:phases (modify-phases %standard-phases - (add-after 'unpack 'chdir - (lambda _ - (chdir "wpa_supplicant/wpa_gui-qt4") - #t)) - (delete 'configure) - (replace 'build - (lambda _ - (invoke "qmake" "wpa_gui.pro") - (invoke "make" "-j" (number->string (parallel-job-count))) - (invoke "make" "-C" "icons"))) - (replace 'install - (lambda* (#:key inputs outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out")) - (qt '("qtbase" "qtsvg-5"))) - (install-file "wpa_gui" (string-append out "/bin")) - (install-file "wpa_gui.desktop" - (string-append out "/share/applications")) - (copy-recursively "icons/hicolor" - (string-append out "/share/icons/hicolor")) - (wrap-program (string-append out "/bin/wpa_gui") - `("QT_PLUGIN_PATH" ":" prefix - ,(map (lambda (label) - (string-append (assoc-ref inputs label) - "/lib/qt5/plugins/")) - qt))) - #t)))))) + (list #:test-target "check" + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ (chdir "wpa_supplicant/wpa_gui-qt4"))) + (replace 'configure + (lambda _ (invoke "qmake" "wpa_gui.pro"))) + (add-after 'build 'build-icons + (lambda _ (invoke "make" "-C" "icons"))) + (replace 'install + (lambda _ + (install-file "wpa_gui" (string-append #$output "/bin")) + (install-file "wpa_gui.desktop" + (string-append #$output "/share/applications")) + (copy-recursively "icons/hicolor" + (string-append #$output "/share/icons/hicolor"))))))) (synopsis "Graphical user interface for WPA supplicant"))) (define-public hostapd -- 2.36.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 11 04:57:17 2022 Received: (at 57106) by debbugs.gnu.org; 11 Aug 2022 08:57:17 +0000 Received: from localhost ([127.0.0.1]:51546 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oM40D-0002mY-Ct for submit@debbugs.gnu.org; Thu, 11 Aug 2022 04:57:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oM40B-0002mI-4j for 57106@debbugs.gnu.org; Thu, 11 Aug 2022 04:57:16 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49108) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oM405-0007tz-K0; Thu, 11 Aug 2022 04:57:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=sXyaaBmCe9IjnzPt2/KA3lRO3n3LUP2BZUYVPvBzraM=; b=PxKKVpE2ORBGgyamBpY2 Fp2IGgDtpCUE08Q3dgqlolt8KgETduJWWfIXqxkyTlueb/xgpfOkZAcMa9Uvfsmrt8WfOUNR0sjPs gfVcDp2H16DZN/+6VLLIb9H4OHFiQg8iLnzAHdMQGonarA3ZJO/C1wXTnETVserupkp+zDSVXPEYt Q7gOC6miQriTZUJ55/2fUxquZJ48StC4DRcvdt/ezMbvrHXlAvb2wnmEuB54IEXRxReLzzO/nZVHR ddO3dqHc3TrZ1GK/H+BP83bXDqPTs+kSH55sOqX+/eYZagpaC0kAbCigIpd662LKUYggmeHFc6MMp nOzlw9s0PzQyCw==; Received: from 2a02-8429-81d2-3d01-94c9-8097-ea5c-2775.rev.sfr.net ([2a02:8429:81d2:3d01:94c9:8097:ea5c:2775]:41296 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oM404-0006Gw-VX; Thu, 11 Aug 2022 04:57:09 -0400 From: Mathieu Othacehe To: Timotej Lazar Subject: Re: bug#57106: [PATCH] gnu: wpa-supplicant-gui: Fix build. In-Reply-To: <20220810094833.26717-1-timotej.lazar@araneo.si> (Timotej Lazar's message of "Wed, 10 Aug 2022 11:48:33 +0200") References: <20220810094833.26717-1-timotej.lazar@araneo.si> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) Date: Thu, 11 Aug 2022 10:57:06 +0200 Message-ID: <87zggb2m59.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 57106 Cc: 57106@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: -3.3 (---) > gnu/packages/admin.scm | 45 +++++++++++++++++------------------------- > 1 file changed, 18 insertions(+), 27 deletions(-) Looks nice! There are quite a few errors during the build-icons phase though: --8<---------------cut here---------------start------------->8--- ** (process:174): WARNING **: 08:55:01.036: Unable to create profile directory (Permission denied) (13) Unable to init server: Could not connect: Connection refused ** Message: 08:55:01.044: Cannot create profile directory /homeless-shelter/.config/inkscape. ** Message: 08:55:01.044: Inkscape will run with default settings, and new settings will not be saved. ** (inkscape:174): WARNING **: 08:55:01.109: Could not create directory '/homeless-shelter/.config/inkscape' ** (inkscape:174): WARNING **: 08:55:01.109: Could not create extension error log file '/homeless-shelter/.config/inkscape/extension-errors.log' Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories --8<---------------cut here---------------end--------------->8--- We can maybe get rid of them by starting a xorg-server and defining the HOME variable? Could you please have a look? Thanks, Mathieu From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 11 06:28:31 2022 Received: (at 57106) by debbugs.gnu.org; 11 Aug 2022 10:28:31 +0000 Received: from localhost ([127.0.0.1]:51757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oM5QU-0005Lt-Oh for submit@debbugs.gnu.org; Thu, 11 Aug 2022 06:28:31 -0400 Received: from araneo.si ([90.157.193.204]:35734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oM5QQ-0005Li-6P for 57106@debbugs.gnu.org; Thu, 11 Aug 2022 06:28:29 -0400 Received: from araneo.si (localhost.lan [127.0.0.1]) by araneo.si (OpenSMTPD) with ESMTP id e6b634db for <57106@debbugs.gnu.org>; Thu, 11 Aug 2022 10:28:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=araneo.si; h=from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=20180623; bh=zWGW1w6S bsg3Z27AxphQkdpnmlg=; b=KAbY0OrPS/17d1xYeG46LdzU4K/DEbr5NR3sfKpr PMZJWlu5IJQDT8vF/6duUfGbHmQ8c5WpEt258rWf1EED8CLRne1mrExhaHD0v/4u PgLzv+yK2eisT+heThJMVdhGMbVQrEupmzdSlkmli6q8R5TLkS4ZO2WLb7Jx1Kvw f4MIVY8/BgLCZJ1E5BeF18+omA+uIlK1frkX3lg+1DYb2PNdVg+I+pAGDw4TAHhs iq5JtvQeWI8rMtIL/4R9PzH8g8fwuD9Sq5SlIZKHcAS8pFbbhxbEgkAeSjPxvLfk ybsMamc3DeVi9pjD7Dsh0yPCWTvTz/znlEwe5ZA5jCxFiQ== Received: by araneo.si (OpenSMTPD) with ESMTPSA id 52302b32 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 11 Aug 2022 10:28:23 +0000 (UTC) From: Timotej Lazar To: 57106@debbugs.gnu.org Subject: [PATCH v2] gnu: wpa-supplicant-gui: Fix build. Date: Thu, 11 Aug 2022 12:12:54 +0200 Message-Id: <20220811101252.1413-1-timotej.lazar@araneo.si> X-Mailer: git-send-email 2.37.1 In-Reply-To: <87zggb2m59.fsf@gnu.org> References: <87zggb2m59.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 57106 Cc: Timotej Lazar 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.0 (-) * gnu/packages/admin.scm (wpa-supplicant-gui)[build-system]: Use qt-build-system. [phases]: Use G-exps. Drop trailing #t. Don’t wrap-program as that is done by the build system. Set $HOME to a writable directory when converting icons to stop Inkscape complaining. --- Hi, warnings/errors printed while building icons are harmless. I updated the patch to set $HOME, which avoids most of them. The X server is also not needed, and it seems overkill to start it just to suppress a warning. Thanks! Timotej gnu/packages/admin.scm | 48 ++++++++++++++++++------------------------ 1 file changed, 21 insertions(+), 27 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 146423d068..1e6b8ccdbc 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -77,6 +77,7 @@ (define-module (gnu packages admin) #:use-module (guix build-system meson) #:use-module (guix build-system perl) #:use-module (guix build-system python) + #:use-module (guix build-system qt) #:use-module (guix build-system ruby) #:use-module (guix build-system trivial) #:use-module (guix download) @@ -2145,34 +2146,27 @@ (define-public wpa-supplicant-gui ;; For icons. (modify-inputs (package-native-inputs wpa-supplicant) (prepend imagemagick inkscape/stable))) + (build-system qt-build-system) (arguments - `(#:phases (modify-phases %standard-phases - (add-after 'unpack 'chdir - (lambda _ - (chdir "wpa_supplicant/wpa_gui-qt4") - #t)) - (delete 'configure) - (replace 'build - (lambda _ - (invoke "qmake" "wpa_gui.pro") - (invoke "make" "-j" (number->string (parallel-job-count))) - (invoke "make" "-C" "icons"))) - (replace 'install - (lambda* (#:key inputs outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out")) - (qt '("qtbase" "qtsvg-5"))) - (install-file "wpa_gui" (string-append out "/bin")) - (install-file "wpa_gui.desktop" - (string-append out "/share/applications")) - (copy-recursively "icons/hicolor" - (string-append out "/share/icons/hicolor")) - (wrap-program (string-append out "/bin/wpa_gui") - `("QT_PLUGIN_PATH" ":" prefix - ,(map (lambda (label) - (string-append (assoc-ref inputs label) - "/lib/qt5/plugins/")) - qt))) - #t)))))) + (list #:test-target "check" + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ (chdir "wpa_supplicant/wpa_gui-qt4"))) + (replace 'configure + (lambda _ (invoke "qmake" "wpa_gui.pro"))) + (add-after 'build 'build-icons + (lambda _ + ;; Inkscape complains (but works) without a writable $HOME. + (setenv "HOME" "/tmp") + (invoke "make" "-C" "icons"))) + (replace 'install + (lambda _ + (install-file "wpa_gui" (string-append #$output "/bin")) + (install-file "wpa_gui.desktop" + (string-append #$output "/share/applications")) + (copy-recursively "icons/hicolor" + (string-append #$output "/share/icons/hicolor"))))))) (synopsis "Graphical user interface for WPA supplicant"))) (define-public hostapd -- 2.37.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 11 11:11:16 2022 Received: (at 57106-done) by debbugs.gnu.org; 11 Aug 2022 15:11:16 +0000 Received: from localhost ([127.0.0.1]:54789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oM9q8-0000t6-9r for submit@debbugs.gnu.org; Thu, 11 Aug 2022 11:11:16 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oM9q6-0000si-Lj for 57106-done@debbugs.gnu.org; Thu, 11 Aug 2022 11:11:14 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54164) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oM9q0-0005Db-7u; Thu, 11 Aug 2022 11:11:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=GEurSiRrVzm0ouM20jQi6nrXNBIQzidVvb1EZjbB+tA=; b=ArPW3SpPKH0pS9TzJs5y 5wHtRYVwuV6DQ4ROLBzMV3kWP+7Ck5XaMf/I/AX89zNruQgoaX/uocEPi+STqvuWYu/pWhB3knQPy Xwm4N0e4y6O6sMoksVJQwSpNIXdqQZ7SI9BwBwT/r9A7k5uN0kRslto9KYc4t3Bc30iugWy+2Cstd L+EoYc7VSl6arOE/C3Qntk/Oet4BjkkpXXrCsrMpjv1G/+A2fhfiJKU0pWaeao7Q2XspI2CG8HTJ4 bp7iEh6uU5zBiuQtEYqtv1FIm0qWKlZus8/nthEqJ0PaKNSNgbNaplQJVMULfYVgErMDJS1Xn4pU8 YZFUwpBzFdn39w==; Received: from 2a02-8429-81d2-3d01-94c9-8097-ea5c-2775.rev.sfr.net ([2a02:8429:81d2:3d01:94c9:8097:ea5c:2775]:55754 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oM9pz-00007m-RL; Thu, 11 Aug 2022 11:11:08 -0400 From: Mathieu Othacehe To: Timotej Lazar Subject: Re: bug#57106: [PATCH] gnu: wpa-supplicant-gui: Fix build. References: <87zggb2m59.fsf@gnu.org> <20220811101252.1413-1-timotej.lazar@araneo.si> Date: Thu, 11 Aug 2022 17:11:05 +0200 In-Reply-To: <20220811101252.1413-1-timotej.lazar@araneo.si> (Timotej Lazar's message of "Thu, 11 Aug 2022 12:12:54 +0200") Message-ID: <87fsi224ty.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 57106-done Cc: 57106-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: -3.3 (---) > gnu/packages/admin.scm | 48 ++++++++++++++++++------------------------ > 1 file changed, 21 insertions(+), 27 deletions(-) Pushed, thanks! Mathieu From unknown Sun Jun 22 07:37:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 09 Sep 2022 11:24:04 +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