1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015 Tomáš Čech <sleep_walker@suse.cz>
3 ;;; Copyright © 2015 Daniel Pimentel <d4n1@member.fsf.org>
5 ;;; This file is part of GNU Guix.
7 ;;; GNU Guix is free software; you can redistribute it and/or modify it
8 ;;; under the terms of the GNU General Public License as published by
9 ;;; the Free Software Foundation; either version 3 of the License, or (at
10 ;;; your option) any later version.
12 ;;; GNU Guix is distributed in the hope that it will be useful, but
13 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ;;; GNU General Public License for more details.
17 ;;; You should have received a copy of the GNU General Public License
18 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
20 (define-module (gnu packages enlightenment)
21 #:use-module ((guix licenses) #:prefix license:)
22 #:use-module (guix packages)
23 #:use-module (guix download)
24 #:use-module (guix build-system gnu)
25 #:use-module (gnu packages)
26 #:use-module (gnu packages bash)
27 #:use-module (gnu packages compression)
28 #:use-module (gnu packages curl)
29 #:use-module (gnu packages fontutils)
30 #:use-module (gnu packages fribidi)
31 #:use-module (gnu packages game-development)
32 #:use-module (gnu packages gettext)
33 #:use-module (gnu packages ghostscript)
34 #:use-module (gnu packages gl)
35 #:use-module (gnu packages glib)
36 #:use-module (gnu packages gnome)
37 #:use-module (gnu packages gstreamer)
38 #:use-module (gnu packages gtk)
39 #:use-module (gnu packages image)
40 #:use-module (gnu packages linux)
41 #:use-module (gnu packages lua)
42 #:use-module (gnu packages pdf)
43 #:use-module (gnu packages pulseaudio)
44 #:use-module (gnu packages photo)
45 #:use-module (gnu packages pkg-config)
46 #:use-module (gnu packages tls)
47 #:use-module (gnu packages valgrind)
48 #:use-module (gnu packages video)
49 #:use-module (gnu packages xorg))
58 "https://download.enlightenment.org/rel/libs/efl/efl-"
62 "1962wqx7gdnpzvnkbighyn4hj5vw8l4c1d7xl5zilqjlyhcqywyx"))))
63 (build-system gnu-build-system)
65 `(("pkg-config" ,pkg-config)))
67 `(("alsa-lib" ,alsa-lib)
68 ("compositeproto" ,compositeproto)
71 ("gstreamer" ,gstreamer)
72 ("gst-plugins-base" ,gst-plugins-base)
73 ("harfbuzz" ,harfbuzz)
79 ("libxcomposite" ,libxcomposite)
80 ("libxcursor" ,libxcursor)
81 ("libxdmcp" ,libxdmcp)
84 ("libxkbfile" ,libxkbfile)
85 ("libxinerama" ,libxinerama)
87 ("libxrandr" ,libxrandr)
88 ("libxscrnsaver" ,libxscrnsaver)
91 ("printproto" ,printproto)
92 ("scrnsaverproto" ,scrnsaverproto)
93 ("valgrind" ,valgrind)
94 ("xextproto" ,xextproto)
99 ;; All these inputs are in package config files in section
101 `(("bullet" ,bullet) ; ephysics.pc
102 ("dbus" ,dbus) ; eldbus.pc
103 ("eudev" ,eudev) ; eeze.pc
104 ("fontconfig" ,fontconfig) ; evas.pc
105 ("freetype" ,freetype) ; evas.pc
106 ("fribidi" ,fribidi) ; evas.pc
107 ("glib" ,glib) ; ecore.pc
108 ("libpng" ,libpng) ; evas.pc, evas-cxx.pc
109 ("libsndfile" ,libsndfile) ; ecore-audio.pc, ecore-audio-cxx.pc
110 ("luajit" ,luajit) ; evas.pc, edje.pc
111 ("openssl" ,openssl) ; eet.pc, ecore-con.pc
112 ("pulseaudio" ,pulseaudio) ; ecore-audio.pc, ecore-audio-cxx.pc
113 ("util-linux" ,util-linux) ; eeze.pc
114 ("zlib" ,zlib))) ; eet.pc
116 `(#:configure-flags '("--disable-silent-rules")
119 'configure 'patch-config-files
121 (substitute* "po/Makefile.in.in"
122 (("/bin/sh") (which "bash"))))
124 (home-page "http://www.enlightenment.org")
125 (synopsis "Enlightenment Foundation Libraries")
127 "Enlightenment Foundation Libraries is a set of libraries developed
128 for Enlightenment. Libraries covers data serialization, wide support for
129 graphics rendering, UI layout and themes, interaction with OS, access to
130 removable devices or support for multimedia.")
131 ;; Different parts are under different licenses.
132 (license (list license:bsd-2 license:lgpl2.1 license:zlib))))
134 (define-public elementary
141 (string-append "https://download.enlightenment.org/rel/libs/"
142 "elementary/elementary-" version ".tar.xz"))
145 "0gqg98bglnl2jggdzxzrh9r7bv32i4sahspms0bihq8b45rk0g2j"))))
146 (build-system gnu-build-system)
148 `(("pkg-config" ,pkg-config)))
150 `(("efl" ,efl))) ; elementary.pc, elementary-cxx.pc
151 (home-page "http://www.enlightenment.org")
152 (synopsis "Widget library of Enlightenment world")
154 "Elementary is a widget library/toolkit, part of the Enlightenment
155 Foundation Libraries. It is build upon Edje and Evas libraries and uses
156 full capabilities of EFL.")
157 (license license:lgpl2.1)))
159 (define-public evas-generic-loaders
161 (name "evas-generic-loaders")
167 "https://download.enlightenment.org/rel/libs/"
168 "evas_generic_loaders/evas_generic_loaders-"
172 "0zzx06j20x580xqnnsxp7gb7rv279zcgvdxfbhs905af9m6rwlqy"))))
173 (build-system gnu-build-system)
175 `(("pkg-config" ,pkg-config)))
178 ("gstreamer" ,gstreamer)
179 ("gst-plugins-base" ,gst-plugins-base)
181 ("libspectre" ,libspectre)
182 ("poppler" ,poppler)))
183 (home-page "http://www.enlightenment.org")
184 (synopsis "Plugins for integration of various file types into Evas")
186 "Evas-generic-loaders is a collection of interfaces to outside libraries
187 and applications allowing to natively open pictures, documents and media
188 files in Evas (EFL canvas library).")
189 (license license:gpl2+)))
191 (define-public emotion-generic-players
193 (name "emotion-generic-players")
198 (string-append "https://download.enlightenment.org/rel/libs/"
199 "emotion_generic_players/emotion_generic_players"
200 "-" version ".tar.xz"))
203 "0pszwmcygxnv1sfx0m79md2jmi4sng8mdb1xcr6h2z5c8685wvcz"))))
204 (build-system gnu-build-system)
206 `(("pkg-config" ,pkg-config)))
210 (home-page "http://www.enlightenment.org")
211 (synopsis "Plugins for integrating media players in EFL based applications")
213 "Emotion-generic-players is a collection of interfaces to outside libraries
214 and applications allowing to natively play video files through Emotion.
215 The only supported now is VLC.")
216 (license license:bsd-2)))
218 (define-public terminology
225 (string-append "https://download.enlightenment.org/rel/apps/"
226 "terminology/terminology-" version ".tar.xz"))
229 "1kwv9vkhngdm5v38q93xpcykghnyawhjjcb5bgy0p89gpbk7mvpc"))))
230 (build-system gnu-build-system)
232 `(("pkg-config" ,pkg-config)))
235 ("elementary" ,elementary)))
236 (home-page "http://www.enlightenment.org")
237 (synopsis "Powerful terminal emulator based on EFL")
239 "Terminology is fast and feature rich terminal emulator. It is solely
240 based on Enlightenment Foundation Libraries. It supports multiple tabs, UTF-8,
241 URL and local path detection, themes, popup based content viewer for non-text
243 (license license:bsd-2)))
253 "https://download.enlightenment.org/rel/apps/rage/rage-"
256 (base32 "10j3n8crk16jzqz2hn5djx6vms5f6x83qyiaphhqx94h9dgv2mgg"))))
257 (build-system gnu-build-system)
259 `(("pkg-config" ,pkg-config)))
262 ("elementary" ,elementary)))
263 (home-page "https://www.enlightenment.org/about-rage")
264 (synopsis "Video and audio player based on EFL")
266 "Rage is a video and audio player written with Enlightenment Foundation
267 Libraries with some extra bells and whistles.")
268 (license license:bsd-2)))
270 (define-public enlightenment
272 (name "enlightenment")
277 (string-append "https://download.enlightenment.org/rel/apps/"
278 name "/" name "-" version ".tar.xz"))
281 "098bdx9qmv1yqqwfydrzs7fvbnhsf3vaib9pmqsyg4ihgqrkrwjm"))))
282 (build-system gnu-build-system)
284 `(("pkg-config" ,pkg-config)))
286 `(("alsa-lib" ,alsa-lib)
288 ("freetype" ,freetype)
289 ("gettext" ,gnu-gettext)
292 ("linux-pam" ,linux-pam)
293 ("xcb-util-keysyms" ,xcb-util-keysyms)))
295 ;; both these inputs are present in pkgconfig file in Require section
296 `(("efl" ,efl) ; enlightenment.pc
297 ("elementary" ,elementary))) ; enlightenment.pc
298 (home-page "http://www.enlightenment.org")
299 (synopsis "Lightweight desktop environment")
301 "Enlightenment is resource friendly desktop environment with integrated
302 file manager, wide range of configuration options, plugin system allowing to
303 unload unused functionality, with support for touchscreen and suitable for
305 (license license:bsd-2)))