From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Bavier Subject: Re: [PATCH] fluxbox window manager Date: Sun, 28 Feb 2016 00:42:14 -0600 Message-ID: <20160228004214.4149b59f@openmailbox.org> References: <20160218231712.434b3ad2@scratchpost.org> <20160219082021.0cc759b3@openmailbox.org> <20160219205422.79eda16f@scratchpost.org> <20160223162944.28bb9de1@openmailbox.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/vF1uEC_a=c9UcBf0MywzhIC" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33366) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZv3y-00045i-3q for guix-devel@gnu.org; Sun, 28 Feb 2016 01:42:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZv3u-0002N4-96 for guix-devel@gnu.org; Sun, 28 Feb 2016 01:42:42 -0500 Received: from smtp10.openmailbox.org ([62.4.1.44]:44053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZv3t-0002Mz-S5 for guix-devel@gnu.org; Sun, 28 Feb 2016 01:42:38 -0500 In-Reply-To: <20160223162944.28bb9de1@openmailbox.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 --MP_/vF1uEC_a=c9UcBf0MywzhIC Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline On Tue, 23 Feb 2016 16:29:44 -0600 Eric Bavier wrote: > 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'). I went ahead and made the above changes in the attached patch. Please let me know if the copyright line and git author are appropriate. Thanks, `~Eric --MP_/vF1uEC_a=c9UcBf0MywzhIC Content-Type: text/x-patch Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=0001-gnu-Add-fluxbox.patch RnJvb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lzdGVtIGdudS1idWls ZC1zeXN0ZW0pDQorICAgIChhcmd1bWVudHMNCisgICAgIGAoIzptYWtlLWZsYWdzICcoIkNQUEZM QUdTPS1VX19USU1FX18iKSA7dWdseSwgYnV0IGZvciByZXByb2R1Y2liaWxpdHkNCisgICAgICAg IzpwaGFzZXMNCisgICAgICAgKG1vZGlmeS1waGFzZXMgJXN0YW5kYXJkLXBoYXNlcw0KKyAgICAg ICAgIChhZGQtYWZ0ZXINCisgICAgICAgICAgJ2luc3RhbGwgJ2luc3RhbGwteHNlc3Npb24NCisg ICAgICAgICAgKGxhbWJkYSBfDQorICAgICAgICAgICAgKGxldCAoKHhzZXNzaW9ucyAoc3RyaW5n LWFwcGVuZCAlb3V0cHV0ICIvc2hhcmUveHNlc3Npb25zIikpKQ0KKyAgICAgICAgICAgICAgKG1r ZGlyLXAgeHNlc3Npb25zKQ0KKyAgICAgICAgICAgICAgKGNhbGwtd2l0aC1vdXRwdXQtZmlsZQ0K KyAgICAgICAgICAgICAgICAgIChzdHJpbmctYXBwZW5kIHhzZXNzaW9ucyAiL2ZsdXhib3guZGVz a3RvcCIpDQorICAgICAgICAgICAgICAgIChsYW1iZGEgKHBvcnQpDQorICAgICAgICAgICAgICAg ICAgKGZvcm1hdCBwb3J0ICJ+DQorICAgICAgICAgICAgICAgICAgICBbRGVza3RvcCBFbnRyeV1+ QA0KKyAgICAgICAgICAgICAgICAgICAgTmFtZT1+YX5ADQorICAgICAgICAgICAgICAgICAgICBD b21tZW50PX5hfkANCisgICAgICAgICAgICAgICAgICAgIEV4ZWM9fmEvYmluL3N0YXJ0Zmx1eGJv eH5ADQorICAgICAgICAgICAgICAgICAgICBUeXBlPUFwcGxpY2F0aW9ufiUiICxuYW1lICxzeW5v cHNpcyAlb3V0cHV0KSkpKSkpKSkpDQorICAgIChuYXRpdmUtaW5wdXRzDQorICAgICBgKCgicGtn LWNvbmZpZyIgLHBrZy1jb25maWcpKSkNCisgICAgKGlucHV0cw0KKyAgICAgYC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