From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Bavier Subject: Re: [PATCH] fluxbox window manager Date: Tue, 23 Feb 2016 16:29:44 -0600 Message-ID: <20160223162944.28bb9de1@openmailbox.org> References: <20160218231712.434b3ad2@scratchpost.org> <20160219082021.0cc759b3@openmailbox.org> <20160219205422.79eda16f@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYLT2-0001UR-0e for guix-devel@gnu.org; Tue, 23 Feb 2016 17:30:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYLSx-00049T-Vs for guix-devel@gnu.org; Tue, 23 Feb 2016 17:30:03 -0500 Received: from smtp18.openmailbox.org ([62.4.1.52]:44123) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYLSx-00049K-Me for guix-devel@gnu.org; Tue, 23 Feb 2016 17:29:59 -0500 In-Reply-To: <20160219205422.79eda16f@scratchpost.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Danny Milosavljevic Cc: guix-devel On Fri, 19 Feb 2016 20:54:22 +0100 Danny Milosavljevic wrote: > Hi, > > On Fri, 19 Feb 2016 08:20:21 -0600 > Eric Bavier wrote: > > > This new package should rather go in gnu/packages/wm.scm. > > I'd like to do that but it doesn't work. If I put the package name "fluxbox" into /etc/config.scm and import "wm" there, it will complain that it doesn't know "fluxbox". Works fine when I put it in gnu/packages/fluxbox.scm and import "fluxbox", though. > > > This file download is trivial. I think we should do something like > > what's done for xmonad currently. Namely, generating our own .desktop > > file. Please see that package. > > I'll check that out after I got it to work inside "wm". Thanks. > > Could you send an updated patch? > > I'd like to but it really doesn't work in wm right now. See below. > > diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm > index 1765c3a..a1df857 100644 > --- a/gnu/packages/wm.scm > +++ b/gnu/packages/wm.scm > @@ -21,7 +21,7 @@ > ;;; along with GNU Guix. If not, see . > > (define-module (gnu packages wm) > - #:use-module (guix licenses) > + #:use-module ((guix licenses) #:prefix license:) Fluxbox might have been reported missing since there is an instance of "x11-style" that didn't get a license: prefix, so compilation would fail. [...] > + (inputs `(("imlib2" ,imlib2) > + ("libx11" ,libx11) > + ;("libxml2" ,libxml2) > + ;("librsvg" ,librsvg) > + ;("libsm" ,libsm) > + ;("libxcursor" ,libxcursor) > + ("libxinerama" ,libxinerama) > + ;("libxml2" ,libxml2) > + ("libxrandr" ,libxrandr) > + ("libxext" ,libxext) > + ("libxrender" ,libxrender) > + ("libxft" ,libxft) > + ("freetype" ,freetype) This will require a "#:use-module (gnu packages fontutils)" > + ("fribidi" ,fribidi) > + ("libxpm" ,libxpm))) > + (synopsis "Window manager with tabs") > + (description "Fluxbox is a window manager. > +The 'box' visual style is well known for its minimalistic appearance.") > + (home-page "http://fluxbox.org/") > + (license license:expat))) > + With those changes, you should be able to build and load up fluxbox from gnu/packages/wm.scm (I was able to with `guix system vm'). `~Eric