From unknown Sun Jun 15 09:01:30 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61471] [PATCH v7 1/2] gnu: Add jwm. Resent-From: Feng Shu Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 Feb 2023 07:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61471 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61471@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches" Received: via spool by submit@debbugs.gnu.org id=B.167627165820155 (code B ref -1); Mon, 13 Feb 2023 07:01:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Feb 2023 07:00:58 +0000 Received: from localhost ([127.0.0.1]:47503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRSpd-0005Ex-Lf for submit@debbugs.gnu.org; Mon, 13 Feb 2023 02:00:58 -0500 Received: from lists.gnu.org ([209.51.188.17]:44220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRSpa-0005Ed-Hg for submit@debbugs.gnu.org; Mon, 13 Feb 2023 02:00:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pRSpQ-0008Pi-N1 for guix-patches@gnu.org; Mon, 13 Feb 2023 02:00:47 -0500 Received: from m12.mail.163.com ([123.126.96.234]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRSpN-0007wK-WD for guix-patches@gnu.org; Mon, 13 Feb 2023 02:00:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version: Content-Type; bh=GdJpGd85CQuemV6FgxEGABF8YIycjm+2jXWss2lnL4k=; b=hOyK3vOh4UKpWlxufSdmc7ChcEZ3aK2riim8RLM6Jy00dmv6nz/esOj1RXW8cS B0eO8Fu45o6+9G/t2z4YyVInD+xNv5i5wCKNCp1kK6VIgjDGZND2ztCFbXS4egef BL8i3N2C79nQot/xP1Ew9CVXCoZk6lwSsR0T7kC/wYHJY= Received: from Tumashu (unknown [218.92.14.78]) by smtp16 (Coremail) with SMTP id MNxpCgBnRTQL4Olj0nOaDw--.14561S2; Mon, 13 Feb 2023 15:00:27 +0800 (CST) From: Feng Shu Date: Mon, 13 Feb 2023 14:59:53 +0800 Message-ID: <87ilg6f3ti.fsf@163.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-CM-TRANSID: MNxpCgBnRTQL4Olj0nOaDw--.14561S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUO6wuUUUUU X-Originating-IP: [218.92.14.78] X-CM-SenderInfo: 5wxpt2lkx6il2tof0z/xtbB0woV1FXlx+5-sgAAsM Received-SPF: pass client-ip=123.126.96.234; envelope-from=tumashu@163.com; helo=m12.mail.163.com 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, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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.4 (--) --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=v7-0001-gnu-Add-jwm.patch >From 455305ffd5f4e0bca239c8fc0f65f0a1f36ba8d0 Mon Sep 17 00:00:00 2001 From: Feng Shu Date: Sat, 11 Feb 2023 10:55:47 +0800 Subject: [PATCH v7 1/2] gnu: Add jwm. * gnu/packages/wm.scm (jwm): New variable. --- gnu/packages/wm.scm | 107 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 107 insertions(+) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 37fbf88e99..14dc3a0988 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -2904,6 +2904,113 @@ read and write, and compatible with JSON.") capabilities. It is heavily inspired by the Calm Window manager(cwm).") (license license:bsd-2))) +(define-public jwm + (package + (name "jwm") + (version "2.4.3") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/joewing/jwm/releases/download/" + "v" version "/jwm-" version ".tar.xz")) + (sha256 + (base32 + "1av7r9sp26r5l74zvwdmyyyzav29mw5bafihp7y33vsjqkh4wfzf")))) + (build-system gnu-build-system) + (arguments + (list + #:tests? #f ; no check target + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-example.jwmrc + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "example.jwmrc" + ;; Ignore existing menus in example.jwmrc. + (("") " -->") + ;; Adjust xterm path in terminal menu item. + ((">xterm") + (string-append + ">" (search-input-file inputs "/bin/xterm") + "")) + ;; Replace xscreensaver with xlock, which has been configured + ;; well by desktop-service. + (("xscreensaver-command -lock") "xlock") + ;; Adjust icons search paths. + (("/usr/local/share/jwm") + (string-append #$output "/share/jwm")) + (("/usr/local/share/icons") + "/run/current-system/profile/share/icons") + ;; Include menu created by mjwm command. + (("" all) + (string-append + all "\n " + "" + (search-input-file inputs "/bin/mjwm") + " --iconize --no-backup " + " --output-file $HOME/.jwmrc-mjwm-guix" + "\n " + "" + "$HOME/.jwmrc-mjwm-guix" + "\n"))))) + (add-after 'install 'install-tango-icon-files + ;; Copy icon files used by example.jwm to share/jwm dir, this way + ;; may be better than adding tango-icon-theme to inputs. + (lambda* (#:key inputs #:allow-other-keys) + (let ((icon-dir (search-input-directory + inputs "share/icons/Tango/scalable")) + (icon-install-dir (string-append #$output "/share/jwm"))) + (for-each + (lambda (icon) + (for-each (lambda (icon-file) + (install-file icon-file icon-install-dir)) + (find-files icon-dir (string-append "^" icon "\\.svg$")))) + '("calc" "email" "exit" "folder" "font" "help-browser" + "image" "info" "lock" "reload" "sound" + "system-file-manager" "utilities-terminal" + "web-browser" "gnome-settings" "applications-.*")) + (with-directory-excursion icon-install-dir + ;; tango-icon-theme have no applications-science icon. + (copy-file "help-browser.svg" "applications-science.svg"))))) + (add-after 'install 'install-xsession + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (xsessions (string-append out "/share/xsessions"))) + (mkdir-p xsessions) + (call-with-output-file + (string-append xsessions "/jwm.desktop") + (lambda (port) + (format port "~ + [Desktop Entry]~@ + Name=jwm~@ + Comment=Joe's Window Manager~@ + Exec=~a/bin/jwm~@ + Type=XSession~%" out))))))))) + (native-inputs (list pkg-config tango-icon-theme)) + (inputs + (list cairo + libjpeg-turbo + libpng + librsvg + libxext + libxinerama + libxmu + libxpm + libxrandr + libxt + mjwm + pango + xterm)) + (home-page "http://joewing.net/projects/jwm") + (synopsis "Joe's Window Manager") + (description + "JWM is a light-weight window manager for the X11 Window System. it is +written in C and uses only Xlib at a minimum. Because of its small footprint, +it makes a good window manager for older computers and less powerful systems, +such as the Raspberry Pi, though it is perfectly capable of running on modern +systems.") + (license license:expat))) + (define-public devour (package (name "devour") -- 2.30.2 --=-=-= Content-Type: text/plain -- --=-=-=-- From unknown Sun Jun 15 09:01:30 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61471] wrong email. References: <87ilg6f3ti.fsf@163.com> In-Reply-To: <87ilg6f3ti.fsf@163.com> Resent-From: Feng Shu Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 Feb 2023 07:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61471 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61471@debbugs.gnu.org Received: via spool by 61471-submit@debbugs.gnu.org id=B61471.167627274121870 (code B ref 61471); Mon, 13 Feb 2023 07:19:02 +0000 Received: (at 61471) by debbugs.gnu.org; 13 Feb 2023 07:19:01 +0000 Received: from localhost ([127.0.0.1]:47532 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRT77-0005gg-9C for submit@debbugs.gnu.org; Mon, 13 Feb 2023 02:19:01 -0500 Received: from m12.mail.163.com ([123.126.96.234]:47706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRT75-0005gR-Dt for 61471@debbugs.gnu.org; Mon, 13 Feb 2023 02:19:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version: Content-Type; bh=AK+eCAAh5oah1GGpekVf6h8lsNRj7DDQqTuCy9oK7+Q=; b=GMWg8cEM9wwaosx2lkwrfL0aHQSoy6bAg1v0AX5QuEF3DvrlBrGvwQzTrJOKxB 3MbUgqcAxwCC8CcH96+owxcBVcUebts9HwXP3lLcJGNrD5SP4iUdwaibTrJyEdOZ yJBfJoenLL2WVYyk50Av3XHuZTDA6+84pXMXsJ2joutnE= Received: from Tumashu (unknown [218.92.14.78]) by smtp18 (Coremail) with SMTP id JNxpCgBnm55Z5Olj466DDw--.11959S2; Mon, 13 Feb 2023 15:18:50 +0800 (CST) From: Feng Shu Date: Mon, 13 Feb 2023 15:18:49 +0800 Message-ID: <871qmum3s6.fsf@163.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-CM-TRANSID: JNxpCgBnm55Z5Olj466DDw--.11959S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUesqWDUUUU X-Originating-IP: [218.92.14.78] X-CM-SenderInfo: 5wxpt2lkx6il2tof0z/1tbiShoV1GI0Wo0Z7AAAsl X-Spam-Score: 0.0 (/) 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 (-) Sorry, wrong email, please close it. should send to 61056@debbugs.gnu.org -- From unknown Sun Jun 15 09:01:30 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: Feng Shu Subject: bug#61471: closed (Re: [bug#61471] wrong email.) Message-ID: References: <87ilg6f3ti.fsf@163.com> X-Gnu-PR-Message: they-closed 61471 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 61471@debbugs.gnu.org Date: Mon, 13 Feb 2023 07:28:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1676273282-22747-1" This is a multi-part message in MIME format... ------------=_1676273282-22747-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #61471: [PATCH v7 1/2] gnu: Add jwm. 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 61471@debbugs.gnu.org. --=20 61471: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D61471 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1676273282-22747-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 61471-close) by debbugs.gnu.org; 13 Feb 2023 07:27:21 +0000 Received: from localhost ([127.0.0.1]:47537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRTFB-0005tt-6n for submit@debbugs.gnu.org; Mon, 13 Feb 2023 02:27:21 -0500 Received: from lepiller.eu ([89.234.186.109]:40632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRTF8-0005ti-RB for 61471-close@debbugs.gnu.org; Mon, 13 Feb 2023 02:27:19 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 37a9c04b; Mon, 13 Feb 2023 07:27:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=AppMSZWB3aqD SOZhv+Q/whY4aAT3UGK0nGMqjksn3X0=; b=NikWYKZ3sVSOBh6g9UFfQzXedThi kVwGLppBPC1hK81infCTSji6PYwr402qbp9l5W/U8cNbtmm3+gYitw82ZewNo+35 tURwjp01boZGUb2fmy5T08RP73chGGwG67rS3FLEKjoKhSiQA5ryVVhGW7Z2AnG9 FhQ3qFOLCahqmujYpFY6SHq7nIb4A39bZv67pBruyI6mwob6ROBpDmHiEnMO/07i VA22z5RgL+f9xC/4Y6C3j8GWAR+RochSm7eM6WP4NcDxoy1IDc1rZx4KSk80YlKv 8VOt0aSwEWz4t9USQlzCOPoirnEvhfdHfJ4qIGMkNK7l0HKMyOaQTJAN/A== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 8d654935 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 13 Feb 2023 07:27:15 +0000 (UTC) Date: Mon, 13 Feb 2023 08:27:13 +0100 From: Julien Lepiller To: Feng Shu , 61471-close@debbugs.gnu.org Subject: Re: [bug#61471] wrong email. User-Agent: K-9 Mail for Android In-Reply-To: <871qmum3s6.fsf@163.com> References: <87ilg6f3ti.fsf@163.com> <871qmum3s6.fsf@163.com> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 61471-close 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 (-) You can do it yourself by sending a message to nnnnn-close@debbugs=2Egnu=2E= org :) Closing=2E Le 13 f=C3=A9vrier 2023 08:18:49 GMT+01:00, Feng Shu a= =C3=A9crit=C2=A0: > >Sorry, wrong email, please close it=2E > >should send to 61056@debbugs=2Egnu=2Eorg > ------------=_1676273282-22747-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 13 Feb 2023 07:00:58 +0000 Received: from localhost ([127.0.0.1]:47503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRSpd-0005Ex-Lf for submit@debbugs.gnu.org; Mon, 13 Feb 2023 02:00:58 -0500 Received: from lists.gnu.org ([209.51.188.17]:44220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRSpa-0005Ed-Hg for submit@debbugs.gnu.org; Mon, 13 Feb 2023 02:00:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pRSpQ-0008Pi-N1 for guix-patches@gnu.org; Mon, 13 Feb 2023 02:00:47 -0500 Received: from m12.mail.163.com ([123.126.96.234]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRSpN-0007wK-WD for guix-patches@gnu.org; Mon, 13 Feb 2023 02:00:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version: Content-Type; bh=GdJpGd85CQuemV6FgxEGABF8YIycjm+2jXWss2lnL4k=; b=hOyK3vOh4UKpWlxufSdmc7ChcEZ3aK2riim8RLM6Jy00dmv6nz/esOj1RXW8cS B0eO8Fu45o6+9G/t2z4YyVInD+xNv5i5wCKNCp1kK6VIgjDGZND2ztCFbXS4egef BL8i3N2C79nQot/xP1Ew9CVXCoZk6lwSsR0T7kC/wYHJY= Received: from Tumashu (unknown [218.92.14.78]) by smtp16 (Coremail) with SMTP id MNxpCgBnRTQL4Olj0nOaDw--.14561S2; Mon, 13 Feb 2023 15:00:27 +0800 (CST) From: Feng Shu To: "guix-patches" Subject: [PATCH v7 1/2] gnu: Add jwm. Date: Mon, 13 Feb 2023 14:59:53 +0800 Message-ID: <87ilg6f3ti.fsf@163.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-CM-TRANSID: MNxpCgBnRTQL4Olj0nOaDw--.14561S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUO6wuUUUUU X-Originating-IP: [218.92.14.78] X-CM-SenderInfo: 5wxpt2lkx6il2tof0z/xtbB0woV1FXlx+5-sgAAsM Received-SPF: pass client-ip=123.126.96.234; envelope-from=tumashu@163.com; helo=m12.mail.163.com 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, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit 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.4 (--) --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=v7-0001-gnu-Add-jwm.patch >From 455305ffd5f4e0bca239c8fc0f65f0a1f36ba8d0 Mon Sep 17 00:00:00 2001 From: Feng Shu Date: Sat, 11 Feb 2023 10:55:47 +0800 Subject: [PATCH v7 1/2] gnu: Add jwm. * gnu/packages/wm.scm (jwm): New variable. --- gnu/packages/wm.scm | 107 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 107 insertions(+) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 37fbf88e99..14dc3a0988 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -2904,6 +2904,113 @@ read and write, and compatible with JSON.") capabilities. It is heavily inspired by the Calm Window manager(cwm).") (license license:bsd-2))) +(define-public jwm + (package + (name "jwm") + (version "2.4.3") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/joewing/jwm/releases/download/" + "v" version "/jwm-" version ".tar.xz")) + (sha256 + (base32 + "1av7r9sp26r5l74zvwdmyyyzav29mw5bafihp7y33vsjqkh4wfzf")))) + (build-system gnu-build-system) + (arguments + (list + #:tests? #f ; no check target + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-example.jwmrc + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "example.jwmrc" + ;; Ignore existing menus in example.jwmrc. + (("") " -->") + ;; Adjust xterm path in terminal menu item. + ((">xterm") + (string-append + ">" (search-input-file inputs "/bin/xterm") + "")) + ;; Replace xscreensaver with xlock, which has been configured + ;; well by desktop-service. + (("xscreensaver-command -lock") "xlock") + ;; Adjust icons search paths. + (("/usr/local/share/jwm") + (string-append #$output "/share/jwm")) + (("/usr/local/share/icons") + "/run/current-system/profile/share/icons") + ;; Include menu created by mjwm command. + (("" all) + (string-append + all "\n " + "" + (search-input-file inputs "/bin/mjwm") + " --iconize --no-backup " + " --output-file $HOME/.jwmrc-mjwm-guix" + "\n " + "" + "$HOME/.jwmrc-mjwm-guix" + "\n"))))) + (add-after 'install 'install-tango-icon-files + ;; Copy icon files used by example.jwm to share/jwm dir, this way + ;; may be better than adding tango-icon-theme to inputs. + (lambda* (#:key inputs #:allow-other-keys) + (let ((icon-dir (search-input-directory + inputs "share/icons/Tango/scalable")) + (icon-install-dir (string-append #$output "/share/jwm"))) + (for-each + (lambda (icon) + (for-each (lambda (icon-file) + (install-file icon-file icon-install-dir)) + (find-files icon-dir (string-append "^" icon "\\.svg$")))) + '("calc" "email" "exit" "folder" "font" "help-browser" + "image" "info" "lock" "reload" "sound" + "system-file-manager" "utilities-terminal" + "web-browser" "gnome-settings" "applications-.*")) + (with-directory-excursion icon-install-dir + ;; tango-icon-theme have no applications-science icon. + (copy-file "help-browser.svg" "applications-science.svg"))))) + (add-after 'install 'install-xsession + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (xsessions (string-append out "/share/xsessions"))) + (mkdir-p xsessions) + (call-with-output-file + (string-append xsessions "/jwm.desktop") + (lambda (port) + (format port "~ + [Desktop Entry]~@ + Name=jwm~@ + Comment=Joe's Window Manager~@ + Exec=~a/bin/jwm~@ + Type=XSession~%" out))))))))) + (native-inputs (list pkg-config tango-icon-theme)) + (inputs + (list cairo + libjpeg-turbo + libpng + librsvg + libxext + libxinerama + libxmu + libxpm + libxrandr + libxt + mjwm + pango + xterm)) + (home-page "http://joewing.net/projects/jwm") + (synopsis "Joe's Window Manager") + (description + "JWM is a light-weight window manager for the X11 Window System. it is +written in C and uses only Xlib at a minimum. Because of its small footprint, +it makes a good window manager for older computers and less powerful systems, +such as the Raspberry Pi, though it is perfectly capable of running on modern +systems.") + (license license:expat))) + (define-public devour (package (name "devour") -- 2.30.2 --=-=-= Content-Type: text/plain -- --=-=-=-- ------------=_1676273282-22747-1--