all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric Bavier <ericbavier@openmailbox.org>
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH] fluxbox window manager
Date: Tue, 23 Feb 2016 16:29:44 -0600	[thread overview]
Message-ID: <20160223162944.28bb9de1@openmailbox.org> (raw)
In-Reply-To: <20160219205422.79eda16f@scratchpost.org>

On Fri, 19 Feb 2016 20:54:22 +0100
Danny Milosavljevic <dannym@scratchpost.org> wrote:

> Hi,
> 
> On Fri, 19 Feb 2016 08:20:21 -0600
> Eric Bavier <ericbavier@openmailbox.org> 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 <http://www.gnu.org/licenses/>.
>  
>  (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

  reply	other threads:[~2016-02-23 22:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-18 22:17 [PATCH] fluxbox window manager Danny Milosavljevic
2016-02-18 23:22 ` Leo Famulari
2016-02-18 23:31   ` Danny Milosavljevic
2016-02-18 23:58     ` Leo Famulari
2016-02-19 14:20 ` Eric Bavier
2016-02-19 19:54   ` Danny Milosavljevic
2016-02-23 22:29     ` Eric Bavier [this message]
2016-02-28  6:42       ` Eric Bavier
2016-03-11  9:19         ` Danny Milosavljevic
2016-03-15 16:08           ` Eric Bavier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160223162944.28bb9de1@openmailbox.org \
    --to=ericbavier@openmailbox.org \
    --cc=dannym@scratchpost.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.