summary refs log tree commit diff
path: root/gnu/packages/lxde.scm
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@openmailbox.org>2015-07-12 19:36:17 +0200
committerMathieu Lirzin <mthl@openmailbox.org>2015-07-22 00:15:15 +0200
commit19dd998313f19db7adad206a10ca6bd6e5b69b1f (patch)
tree426a156aa598d69b650e49b74c42121a28132c74 /gnu/packages/lxde.scm
parent6e6b5344b0e6ab8e935f5df7b1b0976ac09e269b (diff)
downloadguix-19dd998313f19db7adad206a10ca6bd6e5b69b1f.tar.gz
gnu: Add libfm.
* gnu/packages/lxde.scm (libfm): New variable.
  (libfm-extra): Inherit from it.
Diffstat (limited to 'gnu/packages/lxde.scm')
-rw-r--r--gnu/packages/lxde.scm33
1 files changed, 24 insertions, 9 deletions
diff --git a/gnu/packages/lxde.scm b/gnu/packages/lxde.scm
index b917d1c6a9..d4a30c65c8 100644
--- a/gnu/packages/lxde.scm
+++ b/gnu/packages/lxde.scm
@@ -19,6 +19,7 @@
 (define-module (gnu packages lxde)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages glib)
+  #:use-module (gnu packages gnome)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages pkg-config)
   #:use-module (guix build-system gnu)
@@ -27,30 +28,44 @@
   #:use-module (guix packages)
   #:use-module (guix utils))
 
-(define-public libfm-extra
+(define-public libfm
   (package
-    (name "libfm-extra")
+    (name "libfm")
     (version "1.2.3")
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://sourceforge/project/pcmanfm/"
-                                  "PCManFM%20%2B%20Libfm%20%28tarball%20"
-                                  "release%29/LibFM/libfm-" version ".tar.xz"))
+                                  "PCManFM%20%2B%20Libfm%20%28tarball%20release"
+                                  "%29/LibFM/" name "-" version ".tar.xz"))
               (sha256
                (base32
                 "1ygvw52262r3jp1f45m9cdpx5xgvd4rkyfszslfqvg2c99ig34n6"))))
     (build-system gnu-build-system)
+    (inputs `(("glib" ,glib)
+              ("gtk+" ,gtk+-2)))
+    (native-inputs `(("intltool"   ,intltool)
+                     ("glib"       ,glib "bin") ; for gtester
+                     ("libtool"    ,libtool)
+                     ("menu-cache" ,menu-cache)
+                     ("pkg-config" ,pkg-config)
+                     ("vala"       ,vala)))
+    (synopsis "File management support (core library)")
+    (description "LibFM provides file management functions built on top of
+Glib/GIO giving a higher-level API.")
+    (home-page "http://lxde.org")
+    (license license:gpl2+)))
+
+(define-public libfm-extra
+  (package (inherit libfm)
+    (name "libfm-extra")
     (arguments '(#:configure-flags '("--with-extra-only")))
     (inputs `(("glib" ,glib)))
     (native-inputs `(("intltool"   ,intltool)
                      ("libtool"    ,libtool)
                      ("pkg-config" ,pkg-config)))
     (synopsis "File management support (extra library)")
-    (description "LibFM provides file management functions built on top of
-Glib/GIO giving a higher-level API.  This package contains standalone library
-which extends libfm.")
-    (home-page "http://lxde.org")
-    (license license:gpl2+)))
+    (description "This package contains standalone library which extends the
+libFM file management library.")))
 
 (define-public lxappearance
   (package