From patchwork Wed Jan 25 07:37:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andy Tai X-Patchwork-Id: 46397 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9751927BBE9; Wed, 25 Jan 2023 07:39:21 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C717B27BBEB for ; Wed, 25 Jan 2023 07:39:17 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKaN6-0004Au-FB; Wed, 25 Jan 2023 02:39:04 -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 1pKaN4-0004Ai-Fl for guix-patches@gnu.org; Wed, 25 Jan 2023 02:39:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pKaN4-0002ge-6h for guix-patches@gnu.org; Wed, 25 Jan 2023 02:39:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pKaN3-0007bq-RS for guix-patches@gnu.org; Wed, 25 Jan 2023 02:39:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61010] [PATCH] gnu: Add icewm Resent-From: Andy Tai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 25 Jan 2023 07:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61010 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Simon Tournier Cc: 61010@debbugs.gnu.org Received: via spool by 61010-submit@debbugs.gnu.org id=B61010.167463231029210 (code B ref 61010); Wed, 25 Jan 2023 07:39:01 +0000 Received: (at 61010) by debbugs.gnu.org; 25 Jan 2023 07:38:30 +0000 Received: from localhost ([127.0.0.1]:58149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKaMX-0007b3-Rq for submit@debbugs.gnu.org; Wed, 25 Jan 2023 02:38:30 -0500 Received: from mail-qt1-f175.google.com ([209.85.160.175]:42878) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKaMV-0007aq-Hd for 61010@debbugs.gnu.org; Wed, 25 Jan 2023 02:38:28 -0500 Received: by mail-qt1-f175.google.com with SMTP id m26so5592801qtp.9 for <61010@debbugs.gnu.org>; Tue, 24 Jan 2023 23:38:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=atai-org.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=j0kZdWgpx2La2Trm7NEWyCcOLlcgGyC2uoCIkZ0OdJI=; b=6dlDlYDnPdZv83PslUQjQpyZ3mwjAjbo5VlNGwHYdgpwIYuxMZnMi8Igt1iaQsltqN 3tz6321IM6CjEamPxI2QHY1O/8zNa62NjA59Oc0O7O5GPPPddJ3a55gu0TrA2MjptmVi 2zGtZSu0AnOE1eXRlakl7Yyht929+igmBeWLr5BgS3h8vBc358mtzSRsUA8KKh6S+JnF rBlS88hcVWXcFpjgsheg61lxym0y7ahScB3Qi8xkSzMsKXxsSAQIKdv2B0IMPSHeW09i Ohm6/xE5P0xrPabgDKF0T7CjcDW7mmHnjj14BoAO+BvQyZ0b0XJFWXbaNLGbydfUHT05 uABQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=j0kZdWgpx2La2Trm7NEWyCcOLlcgGyC2uoCIkZ0OdJI=; b=kyoevBGALIm7jUgNg2mTFzzObdSFnen27AcOKgWIwkPtKw1PoOoUy3u+mWOc30qveX 1Z4mC60zKyPHHbcx386M2hIm14dIq/V+1FhvTyI8FFvQe7df9RbaLWUOquFCDOTqeuON EeyOYet9mBKJFLVpq+rrvfREGr1EzTuq11tr4DdJSPwxF29IpKVcuPxO+uSJxqSIhmWC JU0/t5A+kNP08yymhrUuiU8Jg86xWOPM5GpzKVzCPMcIJBw/zkaEwzJtfLPq54zwmUh0 d4AjcBEzUNmmRJ+Ea4I9L7j/jFrORM+QrWg0essTfQRe0iZ/m4fiZfQ1CU++Hg12KKPC 6npw== X-Gm-Message-State: AFqh2kpS384/JSUHSCuQ1Noy1BkAWHIUo3ZW92QW7npLizEvHqqwMX+9 Pn5xjDN1baYbRisG8i3nwgueTaikEY31NoVbbEDU6O6T X-Google-Smtp-Source: AMrXdXuGJ/Ps4aEKGmOzF8nfpdl18pRzNWMHJ9hBWNCXSWsOXowCO222C/k3Q3gHl4HmEbiaJBMxIjzjuS3Y2eDI2Pc= X-Received: by 2002:a05:622a:28c:b0:3b6:36a0:adc2 with SMTP id z12-20020a05622a028c00b003b636a0adc2mr1403045qtw.107.1674632301825; Tue, 24 Jan 2023 23:38:21 -0800 (PST) MIME-Version: 1.0 References: <87k01cp195.fsf@gmail.com> In-Reply-To: <87k01cp195.fsf@gmail.com> From: Andy Tai Date: Tue, 24 Jan 2023 23:37:45 -0800 Message-ID: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches updated patch attached On Tue, Jan 24, 2023 at 4:35 AM Simon Tournier wrote: > > The patch builds fine and it LTGM except one minor point. > > On dim., 22 janv. 2023 at 12:37, Andy Tai wrote: > > This archive contains generated .gmo which are not in the source code > [1] and I do not know what is the usual Guix policy about that. Do we > re-generate them? > > Other said, these files are in the archive tar.gz [2]. > > 1: > 2: > This I did not address in the revision because the second .tar.gz is available on the net, satisfying GPL's source requirement... but will revise if Guix policy demands otherwise > > > \ No newline at end of file > > This patch does not apply to current master. From my point of view, it > is worth to provide the base-commit (see --base option of > git-format-patch or git-send-email). > > And it helps if the new package is not added to the end of the file. > For instance, I would put it between i3lock-fancy and xmonad-next. > addressed as suggested > > Cheers, > simon From 58af949be6d43c4194c517874a021b43cbea1547 Mon Sep 17 00:00:00 2001 From: Andy Tai Date: Tue, 24 Jan 2023 23:25:07 -0800 Subject: [PATCH] gnu: Add icewm * gnu/packages/wm.scm (icewm): New variable --- gnu/packages/wm.scm | 59 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index a860ed1f93..f2d3f6f1b3 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -100,6 +100,7 @@ (define-module (gnu packages wm) #:use-module (gnu packages bison) #:use-module (gnu packages build-tools) #:use-module (gnu packages calendar) + #:use-module (gnu packages compression) #:use-module (gnu packages check) #:use-module (gnu packages datastructures) #:use-module (gnu packages docbook) @@ -763,6 +764,64 @@ (define-public i3lock-fancy desktop environment.") (license license:expat))) +(define-public icewm + (package + (name "icewm") + (version "3.3.0") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/ice-wm/icewm/releases/download/" + version "/icewm-" version ".tar.lz")) + (sha256 + (base32 + "14vkv5r9rvwfj8gmdsrkkq7vxvk2j7z7wfybzc8ywj469yya5ppq")))) + (build-system gnu-build-system) + (native-inputs (list pkg-config)) + (inputs (list fontconfig + fribidi + imlib2 + libice + libjpeg-turbo + libsm + libxcomposite + libxdamage + libxext + libxfixes + libxft + libxinerama + libxpm + libxrandr + libxrender + libx11 + lzip + perl)) + (arguments + `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'skip-failing-test + ;; strtest.cc tests failing due to $HOME and /etc setup + ;; difference under guix + (lambda _ + (substitute* "src/Makefile.in" + (("TESTS = strtest\\$\\(EXEEXT\\)") + "TESTS = ")) #t))))) + (home-page "https://ice-wm.org/") + (synopsis "Window manager for the X Window System") + (description + "IceWM is a window manager for the X Window System. The goal of +IceWM is speed, simplicity, and not getting in the user’s way. It comes with a +taskbar with pager, global and per-window keybindings and a dynamic menu system. +Application windows can be managed by keyboard and mouse. Windows +can be iconified to the taskbar, to the tray, to the desktop or be made +hidden. They are controllable by a quick switch window (Alt+Tab) and in a +window list. A handful of configurable focus models are +menu-selectable. Setups with multiple monitors are supported by RandR and +Xinerama. IceWM is very configurable, themeable and well documented. It +includes an optional external background wallpaper manager with transparency +support, a simple session manager and a system tray.") + (license license:gpl2))) + + (define-public xmonad-next (package (name "xmonad-next") base-commit: 718223c58c20fa066527fb30da2b5dccca82913f -- 2.39.1