Commit | Line | Data |
---|---|---|
538fb23e TČ |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2015 Tomáš Čech <sleep_walker@suse.cz> | |
9523f637 | 3 | ;;; Copyright © 2015 Daniel Pimentel <d4n1@member.fsf.org> |
40a7997e | 4 | ;;; Copyright © 2015, 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il> |
4a78fd46 | 5 | ;;; Copyright © 2017 Nils Gillmann <ng0@n0.is> |
0f751458 | 6 | ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> |
e15ede6e | 7 | ;;; Copyright © 2018 Timo Eisenmann <eisenmann@fn.de> |
538fb23e TČ |
8 | ;;; |
9 | ;;; This file is part of GNU Guix. | |
10 | ;;; | |
11 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
12 | ;;; under the terms of the GNU General Public License as published by | |
13 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
14 | ;;; your option) any later version. | |
15 | ;;; | |
16 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
17 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 | ;;; GNU General Public License for more details. | |
20 | ;;; | |
21 | ;;; You should have received a copy of the GNU General Public License | |
22 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
23 | ||
ea28d935 | 24 | (define-module (gnu packages enlightenment) |
538fb23e TČ |
25 | #:use-module ((guix licenses) #:prefix license:) |
26 | #:use-module (guix packages) | |
27 | #:use-module (guix download) | |
28 | #:use-module (guix build-system gnu) | |
e2f37d6a | 29 | #:use-module (guix build-system meson) |
8581f4c1 | 30 | #:use-module (guix build-system python) |
538fb23e TČ |
31 | #:use-module (gnu packages) |
32 | #:use-module (gnu packages bash) | |
0e790a7c EF |
33 | #:use-module (gnu packages check) |
34 | #:use-module (gnu packages code) | |
538fb23e TČ |
35 | #:use-module (gnu packages compression) |
36 | #:use-module (gnu packages curl) | |
37 | #:use-module (gnu packages fontutils) | |
22fda787 | 38 | #:use-module (gnu packages freedesktop) |
538fb23e TČ |
39 | #:use-module (gnu packages fribidi) |
40 | #:use-module (gnu packages game-development) | |
c58ed773 | 41 | #:use-module (gnu packages gettext) |
87a37fdf | 42 | #:use-module (gnu packages ghostscript) |
538fb23e TČ |
43 | #:use-module (gnu packages gl) |
44 | #:use-module (gnu packages glib) | |
45 | #:use-module (gnu packages gnome) | |
27ce97c6 | 46 | #:use-module (gnu packages gstreamer) |
ea28d935 | 47 | #:use-module (gnu packages gtk) |
538fb23e TČ |
48 | #:use-module (gnu packages image) |
49 | #:use-module (gnu packages linux) | |
0e790a7c | 50 | #:use-module (gnu packages llvm) |
538fb23e | 51 | #:use-module (gnu packages lua) |
87a37fdf | 52 | #:use-module (gnu packages pdf) |
5e94ce97 | 53 | #:use-module (gnu packages perl) |
538fb23e TČ |
54 | #:use-module (gnu packages photo) |
55 | #:use-module (gnu packages pkg-config) | |
8581f4c1 EF |
56 | #:use-module (gnu packages pulseaudio) |
57 | #:use-module (gnu packages python) | |
cc2b77df | 58 | #:use-module (gnu packages tls) |
cfa04683 | 59 | #:use-module (gnu packages video) |
6ce8fe4c | 60 | #:use-module (gnu packages xdisorg) |
3b160bdc EF |
61 | #:use-module (gnu packages xorg) |
62 | #:use-module (ice-9 match)) | |
538fb23e TČ |
63 | |
64 | (define-public efl | |
65 | (package | |
66 | (name "efl") | |
ee127549 | 67 | (version "1.21.1") |
538fb23e TČ |
68 | (source (origin |
69 | (method url-fetch) | |
70 | (uri (string-append | |
e4fef9df | 71 | "https://download.enlightenment.org/rel/libs/efl/efl-" |
7e22d6fe | 72 | version ".tar.xz")) |
538fb23e | 73 | (sha256 |
f4db4858 | 74 | (base32 |
ee127549 | 75 | "0a5907h896pvpix7a6idc2fspzy6d78xrzf84k8y9fyvnd14nxs4")))) |
360ea2bb EF |
76 | (outputs '("out" ; 49 MB |
77 | "include")) ; 17 MB | |
538fb23e TČ |
78 | (build-system gnu-build-system) |
79 | (native-inputs | |
80 | `(("pkg-config" ,pkg-config))) | |
81 | (inputs | |
82 | `(("alsa-lib" ,alsa-lib) | |
538fb23e | 83 | ("curl" ,curl) |
2a32ec27 | 84 | ("ghostscript" ,ghostscript) |
538fb23e TČ |
85 | ("giflib" ,giflib) |
86 | ("gstreamer" ,gstreamer) | |
87 | ("gst-plugins-base" ,gst-plugins-base) | |
538fb23e TČ |
88 | ("libexif" ,libexif) |
89 | ("libjpeg" ,libjpeg) | |
2a32ec27 | 90 | ("libraw" ,libraw) |
538fb23e | 91 | ("librsvg" ,librsvg) |
2a32ec27 | 92 | ("libspectre" ,libspectre) |
538fb23e | 93 | ("libtiff" ,libtiff) |
bf307a7a | 94 | ("libwebp" ,libwebp) |
538fb23e | 95 | ("libx11" ,libx11) |
1804d210 | 96 | ("libxau" ,libxau) |
538fb23e TČ |
97 | ("libxcomposite" ,libxcomposite) |
98 | ("libxcursor" ,libxcursor) | |
1804d210 | 99 | ("libxdamage" ,libxdamage) |
538fb23e TČ |
100 | ("libxdmcp" ,libxdmcp) |
101 | ("libxext" ,libxext) | |
102 | ("libxi" ,libxi) | |
1804d210 | 103 | ("libxfixes" ,libxfixes) |
538fb23e TČ |
104 | ("libxinerama" ,libxinerama) |
105 | ("libxp" ,libxp) | |
106 | ("libxrandr" ,libxrandr) | |
1804d210 | 107 | ("libxrender" ,libxrender) |
538fb23e TČ |
108 | ("libxscrnsaver" ,libxscrnsaver) |
109 | ("libxtst" ,libxtst) | |
bbfc37e1 | 110 | ("lz4" ,lz4) |
2a32ec27 EF |
111 | ("openjpeg" ,openjpeg-1) |
112 | ("poppler" ,poppler) | |
538fb23e | 113 | ("printproto" ,printproto) |
6ce8fe4c | 114 | ("wayland-protocols" ,wayland-protocols) |
538fb23e TČ |
115 | ("xinput" ,xinput) |
116 | ("xpr" ,xpr) | |
6a6db57f | 117 | ("xorgproto" ,xorgproto))) |
538fb23e TČ |
118 | (propagated-inputs |
119 | ;; All these inputs are in package config files in section | |
8f1f2784 | 120 | ;; Requires.private. |
538fb23e | 121 | `(("bullet" ,bullet) ; ephysics.pc |
2a32ec27 | 122 | ("dbus" ,dbus) ; eldbus.pc, elementary.pc, elocation.pc, ethumb_client.pc |
538fb23e | 123 | ("eudev" ,eudev) ; eeze.pc |
a0d0ff35 EF |
124 | ("fontconfig" ,fontconfig) ; evas.pc, evas-cxx.pc |
125 | ("freetype" ,freetype) ; evas.pc, evas-cxx.pc | |
126 | ("fribidi" ,fribidi) ; evas.pc, evas-cxx.pc | |
127 | ("glib" ,glib) ; ecore.pc, ecore-cxx.pc | |
84898ca2 | 128 | ("harfbuzz" ,harfbuzz) ; evas.pc, evas-cxx.pc |
2a32ec27 | 129 | ("luajit" ,luajit) ; elua.pc, evas.pc, evas-cxx.pc |
861fd04b | 130 | ("libinput" ,libinput-minimal) ; elput.pc |
538fb23e TČ |
131 | ("libpng" ,libpng) ; evas.pc, evas-cxx.pc |
132 | ("libsndfile" ,libsndfile) ; ecore-audio.pc, ecore-audio-cxx.pc | |
6ce8fe4c EF |
133 | ("libxkbcommon" ,libxkbcommon) ; ecore-wl2.pc, elementary.pc, elput.pc |
134 | ("mesa" ,mesa) ; ecore-drm2.pc | |
a0d0ff35 | 135 | ("openssl" ,openssl) ; ecore-con.pc, eet.pc, eet-cxx.pc, emile.pc |
538fb23e | 136 | ("pulseaudio" ,pulseaudio) ; ecore-audio.pc, ecore-audio-cxx.pc |
8f1f2784 | 137 | ("util-linux" ,util-linux) ; mount: eeze.pc |
6ce8fe4c | 138 | ("wayland" ,wayland) ; ecore-wl2.pc, elementary.pc |
2a32ec27 | 139 | ("zlib" ,zlib))) ; eet.pc, eet-cxx.pc, emile.pc |
538fb23e | 140 | (arguments |
bbfc37e1 | 141 | `(#:configure-flags '("--disable-silent-rules" |
8f1f2784 | 142 | "--disable-systemd" |
4bd610f0 | 143 | "--with-profile=release" |
84898ca2 | 144 | "--enable-liblz4" |
bf307a7a EF |
145 | "--enable-xinput22" |
146 | "--enable-image-loader-webp" | |
147 | "--enable-multisense" | |
3b160bdc EF |
148 | ,@(match (%current-system) |
149 | ("armhf-linux" | |
150 | '("--with-opengl=es" "--with-egl")) | |
151 | (_ | |
152 | '("--with-opengl=full"))) | |
6ce8fe4c EF |
153 | "--enable-harfbuzz" |
154 | ;; for wayland | |
155 | "--enable-wayland" | |
156 | "--enable-elput" | |
157 | "--enable-drm") | |
8f1f2784 EF |
158 | #:phases |
159 | (modify-phases %standard-phases | |
0329f6f7 EF |
160 | ;; If we don't hardcode the location of libcurl.so then we |
161 | ;; have to wrap the outputs of efl's dependencies in curl. | |
162 | (add-after 'unpack 'hardcode-libcurl-location | |
163 | (lambda* (#:key inputs #:allow-other-keys) | |
164 | (let* ((curl (assoc-ref inputs "curl")) | |
165 | (lib (string-append curl "/lib/"))) | |
166 | (substitute* "src/lib/ecore_con/ecore_con_url_curl.c" | |
167 | (("libcurl.so.?" libcurl) ; libcurl.so.[45] | |
168 | (string-append lib libcurl))) | |
169 | #t))) | |
8f1f2784 EF |
170 | (add-after 'unpack 'set-home-directory |
171 | ;; FATAL: Cannot create run dir '/homeless-shelter/.run' - errno=2 | |
172 | (lambda _ (setenv "HOME" "/tmp") #t))))) | |
39a01619 | 173 | (home-page "https://www.enlightenment.org/about-efl") |
538fb23e TČ |
174 | (synopsis "Enlightenment Foundation Libraries") |
175 | (description | |
176 | "Enlightenment Foundation Libraries is a set of libraries developed | |
177 | for Enlightenment. Libraries covers data serialization, wide support for | |
178 | graphics rendering, UI layout and themes, interaction with OS, access to | |
179 | removable devices or support for multimedia.") | |
f4db4858 EF |
180 | ;; Different parts are under different licenses. |
181 | (license (list license:bsd-2 license:lgpl2.1 license:zlib)))) | |
146ee5cd | 182 | |
df2b053a TČ |
183 | (define-public terminology |
184 | (package | |
185 | (name "terminology") | |
24b765b6 | 186 | (version "1.3.0") |
df2b053a TČ |
187 | (source (origin |
188 | (method url-fetch) | |
189 | (uri | |
dab148b6 EF |
190 | (string-append "https://download.enlightenment.org/rel/apps/" |
191 | "terminology/terminology-" version ".tar.xz")) | |
df2b053a | 192 | (sha256 |
dab148b6 | 193 | (base32 |
24b765b6 | 194 | "07vw28inkimi9avp16j0rqcfqjq16081554qsv29pcqhz18xp59r")) |
285e18e9 EF |
195 | (modules '((guix build utils))) |
196 | ;; Remove the bundled fonts. | |
285e18e9 EF |
197 | (snippet |
198 | '(begin | |
199 | (delete-file-recursively "data/fonts") | |
5e94ce97 EF |
200 | (substitute* "data/meson.build" |
201 | (("subdir\\('fonts'\\)") "")) | |
6cbee49d | 202 | #t)))) |
5e94ce97 | 203 | (build-system meson-build-system) |
8f1f2784 EF |
204 | (arguments |
205 | '(#:phases | |
206 | (modify-phases %standard-phases | |
207 | (add-after 'unpack 'set-home-directory | |
208 | ;; FATAL: Cannot create run dir '/homeless-shelter/.run' - errno=2 | |
209 | (lambda _ (setenv "HOME" "/tmp") #t))))) | |
df2b053a | 210 | (native-inputs |
285e18e9 | 211 | `(("gettext" ,gettext-minimal) |
5e94ce97 | 212 | ("perl" ,perl) |
285e18e9 | 213 | ("pkg-config" ,pkg-config))) |
df2b053a | 214 | (inputs |
2a32ec27 | 215 | `(("efl" ,efl))) |
ef7a6714 | 216 | (home-page "https://www.enlightenment.org/about-terminology") |
df2b053a TČ |
217 | (synopsis "Powerful terminal emulator based on EFL") |
218 | (description | |
219 | "Terminology is fast and feature rich terminal emulator. It is solely | |
220 | based on Enlightenment Foundation Libraries. It supports multiple tabs, UTF-8, | |
221 | URL and local path detection, themes, popup based content viewer for non-text | |
222 | contents and more.") | |
223 | (license license:bsd-2))) | |
c58ed773 | 224 | |
9523f637 DP |
225 | (define-public rage |
226 | (package | |
227 | (name "rage") | |
e2f37d6a | 228 | (version "0.3.0") |
9523f637 DP |
229 | (source (origin |
230 | (method url-fetch) | |
231 | (uri | |
232 | (string-append | |
233 | "https://download.enlightenment.org/rel/apps/rage/rage-" | |
83e9f472 | 234 | version ".tar.xz")) |
9523f637 | 235 | (sha256 |
83e9f472 | 236 | (base32 |
e2f37d6a EF |
237 | "0gfzdd4jg78bkmj61yg49w7bzspl5m1nh6agqgs8k7qrq9q26xqy")))) |
238 | (build-system meson-build-system) | |
8f1f2784 EF |
239 | (arguments |
240 | '(#:phases | |
241 | (modify-phases %standard-phases | |
242 | (add-after 'unpack 'set-home-directory | |
243 | ;; FATAL: Cannot create run dir '/homeless-shelter/.run' - errno=2 | |
244 | (lambda _ (setenv "HOME" "/tmp") #t))))) | |
9523f637 DP |
245 | (native-inputs |
246 | `(("pkg-config" ,pkg-config))) | |
247 | (inputs | |
2a32ec27 | 248 | `(("efl" ,efl))) |
9523f637 DP |
249 | (home-page "https://www.enlightenment.org/about-rage") |
250 | (synopsis "Video and audio player based on EFL") | |
251 | (description | |
252 | "Rage is a video and audio player written with Enlightenment Foundation | |
253 | Libraries with some extra bells and whistles.") | |
254 | (license license:bsd-2))) | |
255 | ||
c58ed773 TČ |
256 | (define-public enlightenment |
257 | (package | |
258 | (name "enlightenment") | |
d68aa415 | 259 | (version "0.22.4") |
c58ed773 TČ |
260 | (source (origin |
261 | (method url-fetch) | |
262 | (uri | |
e693db42 EF |
263 | (string-append "https://download.enlightenment.org/rel/apps/" |
264 | name "/" name "-" version ".tar.xz")) | |
c58ed773 | 265 | (sha256 |
a124bbd2 | 266 | (base32 |
d68aa415 | 267 | "0ygy891rrw5c7lhk539nhif77j88phvz2h0fhx172iaridy9kx2r")) |
122f91bd | 268 | (patches (search-patches "enlightenment-fix-setuid-path.patch")))) |
c58ed773 | 269 | (build-system gnu-build-system) |
df372f96 | 270 | (arguments |
0b759222 | 271 | `(#:phases |
5c46c858 | 272 | (modify-phases %standard-phases |
7e60206d EF |
273 | (add-before 'configure 'set-system-actions |
274 | (lambda* (#:key inputs #:allow-other-keys) | |
275 | (let ((xkeyboard (assoc-ref inputs "xkeyboard-config")) | |
1df4abc7 | 276 | (setxkbmap (assoc-ref inputs "setxkbmap")) |
e15ede6e | 277 | (utils (assoc-ref inputs "util-linux")) |
3a183512 TE |
278 | (libc (assoc-ref inputs "libc")) |
279 | (efl (assoc-ref inputs "efl"))) | |
5c46c858 | 280 | ;; We need to patch the path to 'base.lst' to be able |
281 | ;; to switch the keyboard layout in E. | |
e15ede6e TE |
282 | (substitute* (list "src/modules/xkbswitch/e_mod_parse.c" |
283 | "src/modules/wizard/page_011.c") | |
5c46c858 | 284 | (("/usr/share/X11/xkb/rules/xorg.lst") |
285 | (string-append xkeyboard | |
286 | "/share/X11/xkb/rules/base.lst"))) | |
1df4abc7 TE |
287 | (substitute* "src/bin/e_xkb.c" |
288 | (("\"setxkbmap \"") | |
289 | (string-append "\"" setxkbmap "/bin/setxkbmap \""))) | |
e15ede6e TE |
290 | (substitute* (list "src/bin/e_intl.c" |
291 | "src/modules/conf_intl/e_int_config_intl.c" | |
292 | "src/modules/wizard/page_010.c") | |
293 | (("locale -a") (string-append libc "/bin/locale -a"))) | |
3a183512 TE |
294 | (substitute* "src/bin/e_import_config_dialog.c" |
295 | (("%s/edje_cc -v %s %s %s\", e_prefix_bin_get\\(\\)") | |
296 | (string-append efl "/bin/edje_cc -v %s %s %s\""))) | |
6e339db0 EF |
297 | (substitute* "src/modules/everything/evry_plug_apps.c" |
298 | (("/usr/bin/") "")) | |
7e60206d EF |
299 | (substitute* "configure" |
300 | (("/bin/mount") (string-append utils "/bin/mount")) | |
301 | (("/bin/umount") (string-append utils "/bin/umount")) | |
302 | (("/usr/bin/eject") (string-append utils "/bin/eject")) | |
440b1629 EF |
303 | (("/etc/acpi/sleep.sh force") "/run/current-system/profile/bin/loginctl suspend") |
304 | (("/etc/acpi/hibernate.sh force") "/run/current-system/profile/bin/loginctl hibernate") | |
305 | (("/sbin/shutdown -h now") "/run/current-system/profile/bin/loginctl poweroff now") | |
306 | (("/sbin/shutdown -r now") "/run/current-system/profile/bin/loginctl reboot now")) | |
5c46c858 | 307 | #t)))))) |
c58ed773 | 308 | (native-inputs |
b94a6ca0 | 309 | `(("gettext" ,gettext-minimal) |
7e60206d EF |
310 | ("pkg-config" ,pkg-config) |
311 | ("util-linux" ,util-linux))) | |
c58ed773 TČ |
312 | (inputs |
313 | `(("alsa-lib" ,alsa-lib) | |
314 | ("dbus" ,dbus) | |
8c3bb471 | 315 | ("efl" ,efl) |
c58ed773 | 316 | ("freetype" ,freetype) |
c58ed773 TČ |
317 | ("libxcb" ,libxcb) |
318 | ("libxext" ,libxext) | |
319 | ("linux-pam" ,linux-pam) | |
1df4abc7 | 320 | ("setxkbmap" ,setxkbmap) |
5c46c858 | 321 | ("xcb-util-keysyms" ,xcb-util-keysyms) |
322 | ("xkeyboard-config" ,xkeyboard-config))) | |
5e569afb | 323 | (home-page "https://www.enlightenment.org/about-enlightenment") |
c58ed773 TČ |
324 | (synopsis "Lightweight desktop environment") |
325 | (description | |
326 | "Enlightenment is resource friendly desktop environment with integrated | |
327 | file manager, wide range of configuration options, plugin system allowing to | |
328 | unload unused functionality, with support for touchscreen and suitable for | |
329 | embedded systems.") | |
330 | (license license:bsd-2))) | |
8581f4c1 EF |
331 | |
332 | (define-public python-efl | |
333 | (package | |
334 | (name "python-efl") | |
0cc64476 | 335 | (version "1.21.0") |
8581f4c1 EF |
336 | (source |
337 | (origin | |
338 | (method url-fetch) | |
0cc64476 EF |
339 | (uri (string-append "http://download.enlightenment.org/rel/bindings/" |
340 | "python/python-efl-" version ".tar.xz")) | |
8581f4c1 EF |
341 | (sha256 |
342 | (base32 | |
0cc64476 | 343 | "08x2cv8hnf004c3711250wrax21ffj5y8951pvk77h98als4pq47")))) |
8581f4c1 EF |
344 | (build-system python-build-system) |
345 | (arguments | |
346 | '(#:phases | |
347 | (modify-phases %standard-phases | |
0cc64476 EF |
348 | (replace 'build |
349 | (lambda _ | |
350 | (setenv "ENABLE_CYTHON" "1") | |
351 | (invoke "python" "setup.py" "build"))) | |
8581f4c1 | 352 | (add-before 'build 'set-flags |
0cc64476 EF |
353 | (lambda _ |
354 | (setenv "CFLAGS" | |
355 | (string-append "-I" (assoc-ref %build-inputs "python-dbus") | |
356 | "/include/dbus-1.0")) | |
357 | #t)) | |
a25b6880 MB |
358 | (add-before 'check 'set-environment |
359 | (lambda _ | |
360 | ;; Some tests require write access to HOME. | |
361 | (setenv "HOME" "/tmp") | |
0cc64476 EF |
362 | ;; These tests try to connect to the internet. |
363 | (delete-file "tests/ecore/test_09_file_download.py") | |
364 | (delete-file "tests/ecore/test_11_con.py") | |
3ea2eaa8 | 365 | #t))))) |
8581f4c1 | 366 | (native-inputs |
feabb770 EF |
367 | `(("pkg-config" ,pkg-config) |
368 | ("python-cython" ,python-cython))) | |
8581f4c1 EF |
369 | (inputs |
370 | `(("efl" ,efl) | |
8581f4c1 EF |
371 | ("python-dbus" ,python-dbus))) |
372 | (home-page "https://www.enlightenment.org/") | |
373 | (synopsis "Python bindings for EFL") | |
374 | (description | |
375 | "PYTHON-EFL are the python bindings for the whole Enlightenment Foundation | |
376 | Libraries stack (eo, evas, ecore, edje, emotion, ethumb and elementary).") | |
377 | (license license:lgpl3))) | |
378 | ||
379 | (define-public python2-efl | |
380 | (package-with-python2 python-efl)) | |
0e790a7c EF |
381 | |
382 | (define-public edi | |
383 | (package | |
384 | (name "edi") | |
f1431d23 | 385 | (version "0.6.0") |
0e790a7c EF |
386 | (source |
387 | (origin | |
388 | (method url-fetch) | |
f1431d23 EF |
389 | (uri (string-append "https://download.enlightenment.org/rel/apps/edi/" |
390 | name "-" version ".tar.xz")) | |
0e790a7c EF |
391 | (sha256 |
392 | (base32 | |
f1431d23 | 393 | "0iqkah327ms5m7k054hcik2l9v68i4mg9yy52brprfqpd5jk7pw8")))) |
0e790a7c | 394 | (build-system gnu-build-system) |
0b6114da EF |
395 | (arguments |
396 | '(#:phases | |
397 | (modify-phases %standard-phases | |
398 | (add-after 'unpack 'set-home-directory | |
399 | ;; FATAL: Cannot create run dir '/homeless-shelter/.run' - errno=2 | |
400 | (lambda _ (setenv "HOME" "/tmp") #t))) | |
f1431d23 | 401 | #:tests? #f)) ; tests require running dbus service |
0e790a7c | 402 | (native-inputs |
f1431d23 | 403 | `(("pkg-config" ,pkg-config))) |
0e790a7c EF |
404 | (inputs |
405 | `(("clang" ,clang) | |
406 | ("efl" ,efl))) | |
407 | (home-page "https://www.enlightenment.org/about-edi") | |
408 | (synopsis "Development environment for Enlightenment") | |
409 | (description "EDI is a development environment designed for and built using | |
410 | the EFL. It's aim is to create a new, native development environment for Linux | |
411 | that tries to lower the barrier to getting involved in Enlightenment development | |
412 | and in creating applications based on the Enlightenment Foundation Library suite.") | |
413 | (license (list license:public-domain ; data/extra/skeleton | |
414 | license:gpl2)))) ; edi | |
22fda787 EF |
415 | |
416 | (define-public lekha | |
417 | (package | |
418 | (name "lekha") | |
419 | (version "0.2.1") | |
420 | (source (origin | |
421 | (method url-fetch) | |
422 | (uri (pypi-uri "Lekha" version)) | |
423 | (sha256 | |
424 | (base32 | |
425 | "0zr6i74ik58pbzrd7r9l7sawqbdv0r2c1a9927qkqzwga27x8j15")))) | |
426 | (build-system python-build-system) | |
427 | (arguments | |
428 | `(#:tests? #f ; no test target | |
429 | #:python ,python-2 | |
430 | #:phases | |
431 | (modify-phases %standard-phases | |
432 | (add-after 'unpack 'fix-data-location | |
433 | (lambda _ (substitute* "setup.py" | |
434 | (("'/usr/")"'")) | |
435 | #t))))) | |
436 | (propagated-inputs | |
437 | `(("python2-efl" ,python2-efl) | |
438 | ("python2-pypdf2" ,python2-pypdf2) | |
439 | ("python2-pyxdg" ,python2-pyxdg))) | |
440 | (synopsis "Simple PDF viewer") | |
441 | (description | |
442 | "Simple PDF viewer based on the Enlightenment Foundation Libraries.") | |
443 | (home-page "https://github.com/kaihu/lekha") | |
444 | (license license:gpl3+))) | |
967de7c5 EF |
445 | |
446 | (define-public ephoto | |
447 | (package | |
448 | (name "ephoto") | |
449 | (version "1.5") | |
450 | (source | |
451 | (origin | |
452 | (method url-fetch) | |
453 | (uri (list (string-append "http://www.smhouston.us/stuff/ephoto-" | |
454 | version ".tar.xz") | |
455 | (string-append "https://download.enlightenment.org/rel/" | |
456 | "apps/ephoto/ephoto-" version ".tar.xz"))) | |
457 | (sha256 | |
458 | (base32 | |
459 | "04kli43sfsy6s660g13pjc0kjmgdcmq8m4qh02vvpcwv60mf9mgz")))) | |
460 | (build-system gnu-build-system) | |
461 | (arguments | |
462 | '(#:phases | |
463 | (modify-phases %standard-phases | |
464 | (add-after 'unpack 'set-home-directory | |
465 | ;; FATAL: Cannot create run dir '/homeless-shelter/.run' - errno=2 | |
466 | (lambda _ (setenv "HOME" "/tmp") #t))))) | |
467 | (native-inputs | |
468 | `(("check" ,check) | |
469 | ("pkg-config" ,pkg-config))) | |
470 | (inputs | |
471 | `(("efl" ,efl))) | |
472 | (home-page "http://smhouston.us/ephoto/") | |
473 | (synopsis "EFL image viewer/editor/manipulator/slideshow creator") | |
474 | (description "Ephoto is an image viewer and editor written using the | |
fe30eb6d TGR |
475 | @dfn{Enlightenment Foundation Libraries} (EFL). It focuses on simplicity and |
476 | ease of use, while taking advantage of the speed and small footprint the EFL | |
477 | provide. | |
967de7c5 EF |
478 | |
479 | Ephoto’s features include: | |
480 | @enumerate | |
fe30eb6d | 481 | @item Browsing the file system and displaying images in an easy-to-use grid view. |
967de7c5 EF |
482 | @item Browsing images in a single image view format. |
483 | @item Viewing images in a slideshow. | |
484 | @item Editing your image with features such as cropping, auto enhance, | |
485 | blurring, sharpening, brightness/contrast/gamma adjustments, hue/saturation/value | |
486 | adjustments, and color level adjustment. | |
fe30eb6d TGR |
487 | @item Applying artistic filters to your image such as black and white and old |
488 | photo. | |
489 | @item Drag And Drop along with file operations to easily maintain your photo | |
490 | directories. | |
967de7c5 EF |
491 | @end enumerate\n") |
492 | (license (list | |
493 | license:bsd-2 ; Ephoto's thumbnailing code | |
494 | license:bsd-3)))) |