gnu: Add pcmanfm.
[jackhill/guix/guix.git] / gnu / packages / lxde.scm
CommitLineData
889e57f4
ML
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages lxde)
83365461 20 #:use-module (gnu packages autotools)
889e57f4 21 #:use-module (gnu packages glib)
19dd9983 22 #:use-module (gnu packages gnome)
889e57f4
ML
23 #:use-module (gnu packages gtk)
24 #:use-module (gnu packages pkg-config)
b3527d5d 25 #:use-module (gnu packages xorg)
889e57f4
ML
26 #:use-module (guix build-system gnu)
27 #:use-module (guix download)
28 #:use-module ((guix licenses) #:prefix license:)
6e6b5344
ML
29 #:use-module (guix packages)
30 #:use-module (guix utils))
889e57f4 31
19dd9983 32(define-public libfm
83365461 33 (package
19dd9983 34 (name "libfm")
83365461
ML
35 (version "1.2.3")
36 (source (origin
37 (method url-fetch)
38 (uri (string-append "mirror://sourceforge/project/pcmanfm/"
19dd9983
ML
39 "PCManFM%20%2B%20Libfm%20%28tarball%20release"
40 "%29/LibFM/" name "-" version ".tar.xz"))
83365461
ML
41 (sha256
42 (base32
43 "1ygvw52262r3jp1f45m9cdpx5xgvd4rkyfszslfqvg2c99ig34n6"))))
44 (build-system gnu-build-system)
19dd9983
ML
45 (inputs `(("glib" ,glib)
46 ("gtk+" ,gtk+-2)))
47 (native-inputs `(("intltool" ,intltool)
48 ("glib" ,glib "bin") ; for gtester
49 ("libtool" ,libtool)
50 ("menu-cache" ,menu-cache)
51 ("pkg-config" ,pkg-config)
52 ("vala" ,vala)))
53 (synopsis "File management support (core library)")
54 (description "LibFM provides file management functions built on top of
55Glib/GIO giving a higher-level API.")
56 (home-page "http://lxde.org")
57 (license license:gpl2+)))
58
59(define-public libfm-extra
60 (package (inherit libfm)
61 (name "libfm-extra")
83365461
ML
62 (arguments '(#:configure-flags '("--with-extra-only")))
63 (inputs `(("glib" ,glib)))
64 (native-inputs `(("intltool" ,intltool)
65 ("libtool" ,libtool)
66 ("pkg-config" ,pkg-config)))
67 (synopsis "File management support (extra library)")
19dd9983
ML
68 (description "This package contains standalone library which extends the
69libFM file management library.")))
83365461 70
889e57f4
ML
71(define-public lxappearance
72 (package
73 (name "lxappearance")
74 (version "0.6.1")
75 (source (origin
76 (method url-fetch)
3ab98da1 77 (uri (string-append "mirror://sourceforge/project/lxde/"
889e57f4
ML
78 "LXAppearance/" name "-" version ".tar.xz"))
79 (sha256
80 (base32
81 "1phnv1b2jdj2vlibjyc9z01izcf3k5zxj8glsaf0i3vh77zqmqq9"))))
82 (build-system gnu-build-system)
83 (inputs `(("gtk+" ,gtk+-2)))
84 (native-inputs `(("intltool" ,intltool)
85 ("pkg-config" ,pkg-config)))
86 (synopsis "LXDE GTK+ theme switcher")
87 (description "LXAppearance is a desktop-independent GTK+ theme switcher
88able to change themes, icons, and fonts used by GTK+ applications.")
89 (home-page "http://lxde.org")
90 (license license:gpl2+)))
91
6e6b5344
ML
92(define-public menu-cache
93 (package
94 (name "menu-cache")
95 (version "1.0.0")
96 (source (origin
97 (method url-fetch)
98 (uri (string-append "mirror://sourceforge/project/lxde/" name "/"
99 (version-major+minor version) "/"
100 name "-" version ".tar.xz"))
101 (sha256
102 (base32
103 "1bws84fiwk3anp30hcr0lw1xw5cgp44x5ik2yv2ijcgxpcvz8zgz"))))
104 (build-system gnu-build-system)
105 (inputs `(("glib" ,glib)
106 ("libfm" ,libfm-extra)))
107 (native-inputs `(("pkg-config" ,pkg-config)))
108 (synopsis "LXDE implementation of the freedesktop menu's cache")
109 (description "Menu-cache is a library creating and utilizing caches to
110speed up the access to freedesktop.org defined application menus.")
111 (home-page "http://lxde.org")
112 (license license:lgpl2.1+)))
113
b3527d5d
ML
114(define-public pcmanfm
115 (package
116 (name "pcmanfm")
117 (version "1.2.3")
118 (source (origin
119 (method url-fetch)
120 (uri (string-append "mirror://sourceforge/project/" name "/"
121 "PCManFM%20%2B%20Libfm%20%28tarball%20release"
122 "%29/PCManFM/" name "-" version ".tar.xz"))
123 (sha256
124 (base32
125 "1033rw5jd7nlzbcdpx3bik7347kyh1sg1gkla424gq9vqqpxia6g"))))
126 (build-system gnu-build-system)
127 ;; (#:configure-flags '("--sysconfdir=/etc")) suggested in README.
128 (inputs `(("gtk+" ,gtk+-2)
129 ;; TODO: add ("gvfs" ,gvfs).
130 ("libfm" ,libfm)
131 ("libx11" ,libx11)))
132 (native-inputs `(("intltool" ,intltool)
133 ("libtool" ,libtool)
134 ("pkg-config" ,pkg-config)))
135 (synopsis "LXDE file manager")
136 (description "PCMan is a lightweight GTK+ based file manager, compliant
137with freedesktop.org standard.")
138 (home-page "http://lxde.org")
139 (license license:gpl2+)))
140
889e57f4 141;;; lxde.scm ends here