guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnu: Add lxappearance.


From: Mathieu Lirzin
Subject: Re: [PATCH] gnu: Add lxappearance.
Date: Wed, 15 Jul 2015 21:40:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Alex Kost <address@hidden> writes:

> I think it should be:
>> +                    "mirror://sourceforge/project/lxde/LXAppearance/"
>
> guix download 
> "mirror://sourceforge/projects/lxde/files/LXAppearance/lxappearance-0.6.1.tar.xz"
>
> gives some html file.  Otherwise it looks good to me.

fixed!

One last question: I've used "LXDE" and "LXAppearance" because it's the
most common way to write them and LXDE is a acronym for "Lightweight X11
Desktop Environment".  But Since we use the name "Gnome" (which is a
acronym), I wonder if we shouldn't use "Lxde" and "Lxappearance"
likewise.

--
Mathieu Lirzin

>From 6f27db9f084a938f055787c06aaad3bb61ee449f Mon Sep 17 00:00:00 2001
From: Mathieu Lirzin <address@hidden>
Date: Sat, 11 Jul 2015 08:25:14 +0200
Subject: [PATCH] gnu: Add lxappearance.

* gnu/packages/lxde.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
---
 gnu-system.am         |  1 +
 gnu/packages/lxde.scm | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)
 create mode 100644 gnu/packages/lxde.scm

diff --git a/gnu-system.am b/gnu-system.am
index fc6517c..368c30e 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -193,6 +193,7 @@ GNU_SYSTEM_MODULES =                                \
   gnu/packages/lsh.scm                         \
   gnu/packages/lsof.scm                                \
   gnu/packages/lua.scm                         \
+  gnu/packages/lxde.scm                                \
   gnu/packages/lxqt.scm                                \
   gnu/packages/lynx.scm                                \
   gnu/packages/m4.scm                          \
diff --git a/gnu/packages/lxde.scm b/gnu/packages/lxde.scm
new file mode 100644
index 0000000..cf837f5
--- /dev/null
+++ b/gnu/packages/lxde.scm
@@ -0,0 +1,49 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2015 Mathieu Lirzin <address@hidden>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages lxde)
+  #:use-module (gnu packages glib)
+  #:use-module (gnu packages gtk)
+  #:use-module (gnu packages pkg-config)
+  #:use-module (guix build-system gnu)
+  #:use-module (guix download)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix packages))
+
+(define-public lxappearance
+  (package
+    (name "lxappearance")
+    (version "0.6.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/project/lxde"
+                                  "LXAppearance/" name "-" version ".tar.xz"))
+              (sha256
+               (base32
+                "1phnv1b2jdj2vlibjyc9z01izcf3k5zxj8glsaf0i3vh77zqmqq9"))))
+    (build-system gnu-build-system)
+    (inputs `(("gtk+" ,gtk+-2)))
+    (native-inputs `(("intltool"   ,intltool)
+                     ("pkg-config" ,pkg-config)))
+    (synopsis "LXDE GTK+ theme switcher")
+    (description "LXAppearance is a desktop-independent GTK+ theme switcher
+able to change themes, icons, and fonts used by GTK+ applications.")
+    (home-page "http://lxde.org";)
+    (license license:gpl2+)))
+
+;;; lxde.scm ends here
-- 
2.1.4


reply via email to

[Prev in Thread] Current Thread [Next in Thread]