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>
4 ;;; Copyright © 2015, 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
6 ;;; This file is part of GNU Guix.
8 ;;; GNU Guix is free software; you can redistribute it and/or modify it
9 ;;; under the terms of the GNU General Public License as published by
10 ;;; the Free Software Foundation; either version 3 of the License, or (at
11 ;;; your option) any later version.
13 ;;; GNU Guix is distributed in the hope that it will be useful, but
14 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
15 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 ;;; GNU General Public License for more details.
18 ;;; You should have received a copy of the GNU General Public License
19 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
21 (define-module (gnu packages enlightenment)
22 #:use-module ((guix licenses) #:prefix license:)
23 #:use-module (guix packages)
24 #:use-module (guix download)
25 #:use-module (guix build-system gnu)
26 #:use-module (guix build-system python)
27 #:use-module (gnu packages)
28 #:use-module (gnu packages bash)
29 #:use-module (gnu packages check)
30 #:use-module (gnu packages code)
31 #:use-module (gnu packages compression)
32 #:use-module (gnu packages curl)
33 #:use-module (gnu packages fontutils)
34 #:use-module (gnu packages freedesktop)
35 #:use-module (gnu packages fribidi)
36 #:use-module (gnu packages game-development)
37 #:use-module (gnu packages gettext)
38 #:use-module (gnu packages ghostscript)
39 #:use-module (gnu packages gl)
40 #:use-module (gnu packages glib)
41 #:use-module (gnu packages gnome)
42 #:use-module (gnu packages gstreamer)
43 #:use-module (gnu packages gtk)
44 #:use-module (gnu packages image)
45 #:use-module (gnu packages linux)
46 #:use-module (gnu packages llvm)
47 #:use-module (gnu packages lua)
48 #:use-module (gnu packages pdf)
49 #:use-module (gnu packages photo)
50 #:use-module (gnu packages pkg-config)
51 #:use-module (gnu packages pulseaudio)
52 #:use-module (gnu packages python)
53 #:use-module (gnu packages tls)
54 #:use-module (gnu packages video)
55 #:use-module (gnu packages xorg))
64 "https://download.enlightenment.org/rel/libs/efl/efl-"
68 "09c0ajszjarcs6d62zlgnf1aha2f921mfr0gxg6nwza36xzc1srr"))))
69 (build-system gnu-build-system)
71 `(("pkg-config" ,pkg-config)))
73 `(("alsa-lib" ,alsa-lib)
74 ("compositeproto" ,compositeproto)
76 ("ghostscript" ,ghostscript)
78 ("gstreamer" ,gstreamer)
79 ("gst-plugins-base" ,gst-plugins-base)
84 ("libspectre" ,libspectre)
88 ("libxcomposite" ,libxcomposite)
89 ("libxcursor" ,libxcursor)
90 ("libxdmcp" ,libxdmcp)
93 ("libxkbfile" ,libxkbfile)
94 ("libxinerama" ,libxinerama)
96 ("libxrandr" ,libxrandr)
97 ("libxscrnsaver" ,libxscrnsaver)
101 ("openjpeg" ,openjpeg-1)
103 ("printproto" ,printproto)
104 ("scrnsaverproto" ,scrnsaverproto)
105 ("xextproto" ,xextproto)
110 ;; All these inputs are in package config files in section
112 `(("bullet" ,bullet) ; ephysics.pc
113 ("dbus" ,dbus) ; eldbus.pc, elementary.pc, elocation.pc, ethumb_client.pc
114 ("eudev" ,eudev) ; eeze.pc
115 ("fontconfig" ,fontconfig) ; evas.pc, evas-cxx.pc
116 ("freetype" ,freetype) ; evas.pc, evas-cxx.pc
117 ("fribidi" ,fribidi) ; evas.pc, evas-cxx.pc
118 ("glib" ,glib) ; ecore.pc, ecore-cxx.pc
119 ("harfbuzz" ,harfbuzz) ; evas.pc, evas-cxx.pc
120 ("luajit" ,luajit) ; elua.pc, evas.pc, evas-cxx.pc
121 ("libpng" ,libpng) ; evas.pc, evas-cxx.pc
122 ("libsndfile" ,libsndfile) ; ecore-audio.pc, ecore-audio-cxx.pc
123 ("openssl" ,openssl) ; ecore-con.pc, eet.pc, eet-cxx.pc, emile.pc
124 ("pulseaudio" ,pulseaudio) ; ecore-audio.pc, ecore-audio-cxx.pc
125 ("util-linux" ,util-linux) ; eeze.pc
126 ("zlib" ,zlib))) ; eet.pc, eet-cxx.pc, emile.pc
128 `(#:configure-flags '("--disable-silent-rules"
131 "--enable-image-loader-webp"
132 "--enable-multisense"
135 "--enable-harfbuzz")))
136 (home-page "https://www.enlightenment.org")
137 (synopsis "Enlightenment Foundation Libraries")
139 "Enlightenment Foundation Libraries is a set of libraries developed
140 for Enlightenment. Libraries covers data serialization, wide support for
141 graphics rendering, UI layout and themes, interaction with OS, access to
142 removable devices or support for multimedia.")
143 ;; Different parts are under different licenses.
144 (license (list license:bsd-2 license:lgpl2.1 license:zlib))))
146 (define-public terminology
153 (string-append "https://download.enlightenment.org/rel/apps/"
154 "terminology/terminology-" version ".tar.xz"))
157 "1x4j2q4qqj10ckbka0zaq2r2zm66ff1x791kp8slv1ff7fw45vdz"))))
158 (build-system gnu-build-system)
160 `(("pkg-config" ,pkg-config)))
163 (home-page "https://www.enlightenment.org/about-terminology")
164 (synopsis "Powerful terminal emulator based on EFL")
166 "Terminology is fast and feature rich terminal emulator. It is solely
167 based on Enlightenment Foundation Libraries. It supports multiple tabs, UTF-8,
168 URL and local path detection, themes, popup based content viewer for non-text
170 (license license:bsd-2)))
180 "https://download.enlightenment.org/rel/apps/rage/rage-"
184 "06kbgcnbhl9clhdl7k983m4d0n6ggsl4qvizzi1nrp8c7np87fix"))))
185 (build-system gnu-build-system)
187 `(("pkg-config" ,pkg-config)))
190 (home-page "https://www.enlightenment.org/about-rage")
191 (synopsis "Video and audio player based on EFL")
193 "Rage is a video and audio player written with Enlightenment Foundation
194 Libraries with some extra bells and whistles.")
195 (license license:bsd-2)))
197 (define-public enlightenment
199 (name "enlightenment")
204 (string-append "https://download.enlightenment.org/rel/apps/"
205 name "/" name "-" version ".tar.xz"))
208 "0gan3c8jbvhcmvb2fpbprr3m6db0afg1dnrb87nbqb399nsi81zd"))))
209 (build-system gnu-build-system)
211 `(#:configure-flags '("--enable-mount-eeze")))
213 `(("gettext" ,gettext-minimal)
214 ("pkg-config" ,pkg-config)))
216 `(("alsa-lib" ,alsa-lib)
219 ("freetype" ,freetype)
222 ("linux-pam" ,linux-pam)
223 ("xcb-util-keysyms" ,xcb-util-keysyms)))
224 (home-page "https://www.enlightenment.org")
225 (synopsis "Lightweight desktop environment")
227 "Enlightenment is resource friendly desktop environment with integrated
228 file manager, wide range of configuration options, plugin system allowing to
229 unload unused functionality, with support for touchscreen and suitable for
231 (license license:bsd-2)))
233 (define-public python-efl
240 (uri (pypi-uri "python-efl" version))
243 "0x49rb7mx7ysjp23m919r2rx8qnl4xackhl9s9x2697m7cs77n1r"))))
244 (build-system python-build-system)
247 (modify-phases %standard-phases
251 (system* "env" "ENABLE_CYTHON=1" "python" "setup.py" "build"))))
252 (add-before 'build 'set-flags
255 (string-append "-I" (assoc-ref %build-inputs "python-dbus")
256 "/include/dbus-1.0"))
258 (add-before 'check 'set-environment
260 ;; Some tests require write access to HOME.
261 (setenv "HOME" "/tmp")
263 ;; FIXME: Some tests require a running D-Bus server or a network
264 ;; connection and should be disabled. Other test failures looks
265 ;; legitimate. Disabled for now, needs work!
268 `(("pkg-config" ,pkg-config)
269 ("python-cython" ,python-cython)))
272 ("python-dbus" ,python-dbus)))
273 (home-page "https://www.enlightenment.org/")
274 (synopsis "Python bindings for EFL")
276 "PYTHON-EFL are the python bindings for the whole Enlightenment Foundation
277 Libraries stack (eo, evas, ecore, edje, emotion, ethumb and elementary).")
278 (license license:lgpl3)))
280 (define-public python2-efl
281 (package-with-python2 python-efl))
290 (uri (string-append "https://github.com/ajwillia-ms/edi/releases/"
291 "download/v" version "/edi-" version ".tar.bz2"))
294 "0qczz5psryxasphg5km95845h510237rf0k1dy8f0dad52ii90j1"))))
295 (build-system gnu-build-system)
296 (arguments '(#:configure-flags '("--with-tests=coverage")))
300 ("pkg-config" ,pkg-config)))
304 (home-page "https://www.enlightenment.org/about-edi")
305 (synopsis "Development environment for Enlightenment")
306 (description "EDI is a development environment designed for and built using
307 the EFL. It's aim is to create a new, native development environment for Linux
308 that tries to lower the barrier to getting involved in Enlightenment development
309 and in creating applications based on the Enlightenment Foundation Library suite.")
310 (license (list license:public-domain ; data/extra/skeleton
311 license:gpl2)))) ; edi
319 (uri (pypi-uri "Lekha" version))
322 "0zr6i74ik58pbzrd7r9l7sawqbdv0r2c1a9927qkqzwga27x8j15"))))
323 (build-system python-build-system)
325 `(#:tests? #f ; no test target
328 (modify-phases %standard-phases
329 (add-after 'unpack 'fix-data-location
330 (lambda _ (substitute* "setup.py"
334 `(("python2-efl" ,python2-efl)
335 ("python2-pypdf2" ,python2-pypdf2)
336 ("python2-pyxdg" ,python2-pyxdg)))
337 (synopsis "Simple PDF viewer")
339 "Simple PDF viewer based on the Enlightenment Foundation Libraries.")
340 (home-page "https://github.com/kaihu/lekha")
341 (license license:gpl3+)))