From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8A2xI5EXfmJ6WwEAbAwnHQ (envelope-from ) for ; Fri, 13 May 2022 10:32:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6BhjI5EXfmJKJwAAauVa8A (envelope-from ) for ; Fri, 13 May 2022 10:32:17 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E48712944E for ; Fri, 13 May 2022 10:32:16 +0200 (CEST) Received: from localhost ([::1]:60456 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1npQiZ-0007wu-Ml for larch@yhetil.org; Fri, 13 May 2022 04:32:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npQhV-0007ue-Sx for help-guix@gnu.org; Fri, 13 May 2022 04:31:07 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:50758) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1npQhT-0001yJ-Vp for help-guix@gnu.org; Fri, 13 May 2022 04:31:05 -0400 Received: by mail-wm1-x335.google.com with SMTP id 129so4395463wmz.0 for ; Fri, 13 May 2022 01:31:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=wW66W2Jejh7or1fb4qroMnY626nB3q8p6cAESH4N9Ag=; b=D4sptFa36aQ7lRhFUvmYFgtqUl0pe5yKtIufAbVhfonfD9rQvogugip157B+EU5jLu /PKwtE2rs6AJMBomvaFtkBsUwO7O1KhtywEyD7Ox54C2lzVwUcTp07rB6vxz+hFmsizV YACR/EHi2Cilvw2aIOrDid0EZegQsYddI52P7d84wkkCg0Nv1JsT1uXSW+ugrV6lZLJV qU6TR1sCnsi1mLHzCWH9frZYeTCvZ8gfclCOa4p9DDYcw7smFCmJW61bo2wI3z2p3Dyq 0nTKzEXtF9ttlOG/wRAVz2x9rBb3fRhEWQdh4NxS3cih6fzctPRKg1Y6VZYCHk/kA9EG yYgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=wW66W2Jejh7or1fb4qroMnY626nB3q8p6cAESH4N9Ag=; b=4cTvUuOT+KBb5Dt1sqjSUnAaTjKhzFse7lO9rMlsmDXI9Di5nK1n3XSxL5+UhJn4cj QZ4HanZNNoFzOUW3m5SHQVv0pbyL0AL+VvjjsTNzhu18Ulb4EcfWaW6b4P1EexMPtZhC antBTyzfOKFUqR94XKtYw5YG3uOvEaj2yMRip9xQrvH5xU7m8mC2wFPY0JLJWyyKM1/s RM8J+0xdY3mkgXa/p+ExfeTQt5mgwpUb2VhR1IeO7T83act56js0va+JRXoIrnY4Yu2o rRW8xxWapPtmBqmNym10vtW0M5Cgz89hNe49mWKWCrkXujGaUX2cjuuAF7sEgX/BhsaY SbKg== X-Gm-Message-State: AOAM532+GLHuVeyOf8mBxRjb1saD5h1UPUErrTa9D4QzZ89DxwqghXbp ap2Ob/Y9CtW0QsmqAqkkvoYgp+rxHzQ= X-Google-Smtp-Source: ABdhPJzVngGnt+zZu9McBeCgkcscHPWI3xunWQC/ewfR2Kv+DT2FXlCmSbikJYULaVnKQzu7BSQuJw== X-Received: by 2002:a7b:c446:0:b0:394:3293:a88f with SMTP id l6-20020a7bc446000000b003943293a88fmr3481951wmi.22.1652430661825; Fri, 13 May 2022 01:31:01 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id u21-20020a7bc055000000b00394586f696dsm4814113wmc.11.2022.05.13.01.31.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 01:31:00 -0700 (PDT) From: zimoun To: =?utf-8?B?55m944GE54aK77yg55u45pKy6YGT?= , help-guix@gnu.org Subject: Re: IceWM for Guix System In-Reply-To: <2178a6486451e86e18de745bfae1a61c@sumou.com> References: <2178a6486451e86e18de745bfae1a61c@sumou.com> Date: Fri, 13 May 2022 10:22:29 +0200 Message-ID: <878rr5eta2.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x335.google.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652430737; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=wW66W2Jejh7or1fb4qroMnY626nB3q8p6cAESH4N9Ag=; b=vCulbMRF4N6RbQyqhGglPIxIvWlcqBlgur1LmmG8JTKW1Sdr1hTKvF/BDUa4xysJBWK32b CAe6Hw6Z9pH3tuKd9HepSKzidd8ZYA2N2hh7Ceu0gzx2rjn3JHRICSf+zGzWQYh3Y3iuPT ELzsPcw2hn6t57XN2C1R6MSSaw/oaH8HBLoMxP+V05n7sF4ESMygQ0DdL+CPjUOWj7cH98 2qSJ7GIi4yYETY9RcFkdGNan8SG/7cmlL/RzGd3cY2g3TYJJiKoLVhogS2m9qUEvNUcevX ffEmWD70HU83n5XCsKEXJfZI2RUyiI1SscsNq2er9CXyoje/9DoEADREHYKITg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652430737; a=rsa-sha256; cv=none; b=V0tb5mt58KNfwQyNdvqA/N+X9WqbrAZBDSvOZIBWmljFmTE+Eu8+hn9QhzTxYhfvG7GiqL 0L8L24Q6EJ82k7v8szWt1rR9rVfb89ww7quReaCt/l0qVJI5/Jp0gfhF4HVtHWvfYDfqJB xXpUiyWo+sBgUMfQIKKonJfaSm3FDJnwyQKG8GaB4RrduoV+lLnkEBm9tbCLialHKSimJH CFJhoIl6oSgZ/eFvr9Ewwk8oWlyjODiYd26ntHOP47YwPbgRcaCsG4AuFQ5DHfusBOLTvo m6+vi6hD4qkWCU55RS20+vZ1TzBYR3R4PdD3SVsanyZqZLDjwwffds+Pq+87UQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=D4sptFa3; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.82 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=D4sptFa3; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E48712944E X-Spam-Score: -5.82 X-Migadu-Scanner: scn0.migadu.com X-TUID: ePfic2sJJJJC Hi, On ven., 13 mai 2022 at 08:49, =E7=99=BD=E3=81=84=E7=86=8A=EF=BC=A0=E7=9B= =B8=E6=92=B2=E9=81=93 wrote: > Now, I'd like to add its package definition to my local guix git=20 > checkout, however my low guix skill doesn't help me currently in=20 > understanding also the ....-desktop-service-type and everything that's=20 > needed to be done, and how to then use it in the system configuration. One foot, then the other. :-) A good start seems to package icewm. > Can anyone help me - having done that, or similar for another WM that I=20 > could take inspiration on how this can be achieved? For instance, guix build -L /tmp/my-pkgs icewm where /tmp/my-pkgs contains this file icewm.scm: --8<---------------cut here---------------start------------->8--- (define-module (icewm) #:use-module (guix packages) #:use-module (gnu packages) #:use-module (guix build-system gnu) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages autogen) #:use-module (gnu packages autotools) #:use-module (gnu packages gettext) ) (define-public icewm (package (name "icewm") (version "1.4.2") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/bbidulock/icewm") (commit version))) (sha256 "1gnaslxryzas8k91rb64inynj8gy50lb4kpkfrkj1px57m9hass2") (file-name (git-file-name name version)))) (build-system gnu-build-system) (native-inputs (list autoconf automake gettext-minimal libtool)) (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 go= al of IceWM is speed, simplicity, and not getting in the user=E2=80=99s way. I= t 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. Wind= ows 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))) --8<---------------cut here---------------end--------------->8--- Well, this does not work and fail with the error: --8<---------------cut here---------------start------------->8--- autoreconf: running: /gnu/store/km9l89sd4wm9jp358481v2z6qacwl2h9-autoconf-2= .69/bin/autoconf configure.ac:69: error: possibly undefined macro: AC_DEFINE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:140: error: possibly undefined macro: AC_MSG_WARN autoreconf: /gnu/store/km9l89sd4wm9jp358481v2z6qacwl2h9-autoconf-2.69/bin/a= utoconf failed with exit status: 1 --8<---------------cut here---------------end--------------->8--- You can address these issues, adds the list of inputs, etc. Here, icewm is bootstrapped when you could also use the release version and avoid automake and friend. Be careful, the =E2=80=99bootstrap=E2=80=99 phase is = triggered by the check of the =E2=80=99configure=E2=80=99 file, and here it is probably = named =E2=80=99configure.sh=E2=80=99. The list of dependencies (inputs)) libxft libxinerama libxpm libjpeg libxrandr is also missing. Feel free to share your progress and ask more help on specific points if needed. Cheers, simon