summary refs log tree commit diff
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@openmailbox.org>2015-07-12 23:10:55 +0200
committerMathieu Lirzin <mthl@openmailbox.org>2015-07-22 00:15:16 +0200
commitb3527d5d585716915fff6d42931cedcbac22717c (patch)
treef8dc268259830d45a07d53f208a8994e0c1e51ff
parent19dd998313f19db7adad206a10ca6bd6e5b69b1f (diff)
downloadguix-b3527d5d585716915fff6d42931cedcbac22717c.tar.gz
gnu: Add pcmanfm.
* gnu/packages/lxde.scm (pcmanfm): New variable.
-rw-r--r--gnu/packages/lxde.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/lxde.scm b/gnu/packages/lxde.scm
index d4a30c65c8..209fb80ffc 100644
--- a/gnu/packages/lxde.scm
+++ b/gnu/packages/lxde.scm
@@ -22,6 +22,7 @@
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages xorg)
   #:use-module (guix build-system gnu)
   #:use-module (guix download)
   #:use-module ((guix licenses) #:prefix license:)
@@ -110,4 +111,31 @@ speed up the access to freedesktop.org defined application menus.")
     (home-page "http://lxde.org")
     (license license:lgpl2.1+)))
 
+(define-public pcmanfm
+  (package
+    (name "pcmanfm")
+    (version "1.2.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/project/" name "/"
+                                  "PCManFM%20%2B%20Libfm%20%28tarball%20release"
+                                  "%29/PCManFM/" name "-" version ".tar.xz"))
+              (sha256
+               (base32
+                "1033rw5jd7nlzbcdpx3bik7347kyh1sg1gkla424gq9vqqpxia6g"))))
+    (build-system gnu-build-system)
+    ;; (#:configure-flags '("--sysconfdir=/etc")) suggested in README.
+    (inputs `(("gtk+"   ,gtk+-2)
+              ;; TODO: add ("gvfs" ,gvfs).
+              ("libfm"  ,libfm)
+              ("libx11" ,libx11)))
+    (native-inputs `(("intltool"   ,intltool)
+                     ("libtool"    ,libtool)
+                     ("pkg-config" ,pkg-config)))
+    (synopsis "LXDE file manager")
+    (description "PCMan is a lightweight GTK+ based file manager, compliant
+with freedesktop.org standard.")
+    (home-page "http://lxde.org")
+    (license license:gpl2+)))
+
 ;;; lxde.scm ends here