Hi,
------- Original Message ------- On Saturday, May 14th, 2022 at 8:38 PM, 白い熊@相撲道 <help-guix_gnu....@sumou.com> wrote: > On 2022-05-13 10:22, zimoun wrote: > > > guix build -L /tmp/my-pkgs icewm > > > > where /tmp/my-pkgs contains this file icewm.scm: > > ... > > > 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 ’bootstrap’ phase is triggered by > > the check of the ’configure’ file, and here it is probably named > > ’configure.sh’. > > ... > > > Feel free to share your progress and ask more help on specific points > > if > > > Many thanks Simon for the guidance - I'm learning many things working > through this. Now I need more help please :@) > > I've been able to get it built with the following package definition: > --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 download) > #:use-module ((guix licenses) #:prefix license:) > #:use-module (gnu packages autogen) > #:use-module (gnu packages autotools) > #:use-module (gnu packages compression) > #:use-module (gnu packages fontutils) > #:use-module (gnu packages fribidi) > #:use-module (gnu packages gettext) > #:use-module (gnu packages image) > #:use-module (gnu packages perl) > #:use-module (gnu packages pkg-config) > #:use-module (gnu packages xorg) > ) > > (define-public icewm > (package > (name "icewm") > (version "2.9.7") > (source > (origin > (method url-fetch) > (uri (string-append > > "https://github.com/ice-wm/icewm/releases/download/2.9.7/icewm-" > version > ".tar.lz")) > (sha256 (base32 > "0an7h55sacikkvb7llz2n93dl7xds24ics8mqzmznjddygiphpy2")))) > (build-system gnu-build-system) > (inputs > (list fontconfig fribidi imlib2 libice libjpeg-turbo libsm > libxcomposite libxdamage libxext libxfixes libxft libxinerama libxpm > libxrandr libxrender libx11 lzip perl pkg-config)) > (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))) > --8<---------------cut here---------------end--------------->8--- > > > However it fails on running 'make check' with one test failed: > FAIL: strtest > > I do not know how to solve this - configure doesn't have options for > skip check, don't know how to overcome this. Could you help me get over > this hurdle and then indicate how to proceed further? > > --- > Best regards / 宜しく御願い致します / S pozdravem / C уважением / Z poważaniem / > Mit freundlichen Grüßen > > 白い熊 > ShiroiKuma We try to avoid disabling tests, but for giving it a try you can set the #:tests? argument to #f. You can see how that is done in sc-im package for instance (see gnu/packages/spreadsheet.scm:62 or run `guix edit sc-im`) Hope this helps, Ekaitz