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> |
4c3d2b2a | 4 | ;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il> |
538fb23e TČ |
5 | ;;; |
6 | ;;; This file is part of GNU Guix. | |
7 | ;;; | |
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. | |
12 | ;;; | |
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. | |
17 | ;;; | |
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/>. | |
20 | ||
ea28d935 | 21 | (define-module (gnu packages enlightenment) |
538fb23e TČ |
22 | #:use-module ((guix licenses) #:prefix license:) |
23 | #:use-module (guix packages) | |
24 | #:use-module (guix download) | |
25 | #:use-module (guix build-system gnu) | |
8581f4c1 | 26 | #:use-module (guix build-system python) |
538fb23e TČ |
27 | #:use-module (gnu packages) |
28 | #:use-module (gnu packages bash) | |
29 | #:use-module (gnu packages compression) | |
30 | #:use-module (gnu packages curl) | |
31 | #:use-module (gnu packages fontutils) | |
32 | #:use-module (gnu packages fribidi) | |
33 | #:use-module (gnu packages game-development) | |
c58ed773 | 34 | #:use-module (gnu packages gettext) |
87a37fdf | 35 | #:use-module (gnu packages ghostscript) |
538fb23e TČ |
36 | #:use-module (gnu packages gl) |
37 | #:use-module (gnu packages glib) | |
38 | #:use-module (gnu packages gnome) | |
27ce97c6 | 39 | #:use-module (gnu packages gstreamer) |
ea28d935 | 40 | #:use-module (gnu packages gtk) |
538fb23e TČ |
41 | #:use-module (gnu packages image) |
42 | #:use-module (gnu packages linux) | |
43 | #:use-module (gnu packages lua) | |
87a37fdf | 44 | #:use-module (gnu packages pdf) |
538fb23e TČ |
45 | #:use-module (gnu packages photo) |
46 | #:use-module (gnu packages pkg-config) | |
8581f4c1 EF |
47 | #:use-module (gnu packages pulseaudio) |
48 | #:use-module (gnu packages python) | |
cc2b77df | 49 | #:use-module (gnu packages tls) |
538fb23e | 50 | #:use-module (gnu packages valgrind) |
cfa04683 | 51 | #:use-module (gnu packages video) |
538fb23e TČ |
52 | #:use-module (gnu packages xorg)) |
53 | ||
54 | (define-public efl | |
55 | (package | |
56 | (name "efl") | |
7b2f2fbf | 57 | (version "1.17.0") |
538fb23e TČ |
58 | (source (origin |
59 | (method url-fetch) | |
60 | (uri (string-append | |
e4fef9df | 61 | "https://download.enlightenment.org/rel/libs/efl/efl-" |
7e22d6fe | 62 | version ".tar.xz")) |
538fb23e | 63 | (sha256 |
f4db4858 | 64 | (base32 |
7b2f2fbf | 65 | "1zisnz4x54mn9sm46kcr571faqnazkcglyf0lbz19l34syx40df1")))) |
538fb23e TČ |
66 | (build-system gnu-build-system) |
67 | (native-inputs | |
68 | `(("pkg-config" ,pkg-config))) | |
69 | (inputs | |
70 | `(("alsa-lib" ,alsa-lib) | |
71 | ("compositeproto" ,compositeproto) | |
72 | ("curl" ,curl) | |
73 | ("giflib" ,giflib) | |
74 | ("gstreamer" ,gstreamer) | |
75 | ("gst-plugins-base" ,gst-plugins-base) | |
76 | ("harfbuzz" ,harfbuzz) | |
77 | ("libexif" ,libexif) | |
78 | ("libjpeg" ,libjpeg) | |
79 | ("librsvg" ,librsvg) | |
80 | ("libtiff" ,libtiff) | |
81 | ("libx11" ,libx11) | |
82 | ("libxcomposite" ,libxcomposite) | |
83 | ("libxcursor" ,libxcursor) | |
84 | ("libxdmcp" ,libxdmcp) | |
85 | ("libxext" ,libxext) | |
86 | ("libxi" ,libxi) | |
87 | ("libxkbfile" ,libxkbfile) | |
88 | ("libxinerama" ,libxinerama) | |
89 | ("libxp" ,libxp) | |
90 | ("libxrandr" ,libxrandr) | |
91 | ("libxscrnsaver" ,libxscrnsaver) | |
92 | ("libxtst" ,libxtst) | |
93 | ("mesa" ,mesa) | |
94 | ("printproto" ,printproto) | |
95 | ("scrnsaverproto" ,scrnsaverproto) | |
96 | ("valgrind" ,valgrind) | |
97 | ("xextproto" ,xextproto) | |
98 | ("xinput" ,xinput) | |
99 | ("xpr" ,xpr) | |
100 | ("xproto" ,xproto))) | |
101 | (propagated-inputs | |
102 | ;; All these inputs are in package config files in section | |
103 | ;; Require.private. | |
104 | `(("bullet" ,bullet) ; ephysics.pc | |
105 | ("dbus" ,dbus) ; eldbus.pc | |
106 | ("eudev" ,eudev) ; eeze.pc | |
107 | ("fontconfig" ,fontconfig) ; evas.pc | |
108 | ("freetype" ,freetype) ; evas.pc | |
109 | ("fribidi" ,fribidi) ; evas.pc | |
110 | ("glib" ,glib) ; ecore.pc | |
111 | ("libpng" ,libpng) ; evas.pc, evas-cxx.pc | |
112 | ("libsndfile" ,libsndfile) ; ecore-audio.pc, ecore-audio-cxx.pc | |
113 | ("luajit" ,luajit) ; evas.pc, edje.pc | |
114 | ("openssl" ,openssl) ; eet.pc, ecore-con.pc | |
115 | ("pulseaudio" ,pulseaudio) ; ecore-audio.pc, ecore-audio-cxx.pc | |
116 | ("util-linux" ,util-linux) ; eeze.pc | |
117 | ("zlib" ,zlib))) ; eet.pc | |
118 | (arguments | |
119 | `(#:configure-flags '("--disable-silent-rules") | |
120 | #:phases | |
121 | (alist-cons-before | |
122 | 'configure 'patch-config-files | |
123 | (lambda _ | |
124 | (substitute* "po/Makefile.in.in" | |
125 | (("/bin/sh") (which "bash")))) | |
126 | %standard-phases))) | |
127 | (home-page "http://www.enlightenment.org") | |
128 | (synopsis "Enlightenment Foundation Libraries") | |
129 | (description | |
130 | "Enlightenment Foundation Libraries is a set of libraries developed | |
131 | for Enlightenment. Libraries covers data serialization, wide support for | |
132 | graphics rendering, UI layout and themes, interaction with OS, access to | |
133 | removable devices or support for multimedia.") | |
f4db4858 EF |
134 | ;; Different parts are under different licenses. |
135 | (license (list license:bsd-2 license:lgpl2.1 license:zlib)))) | |
146ee5cd TČ |
136 | |
137 | (define-public elementary | |
138 | (package | |
139 | (name "elementary") | |
58fc3167 | 140 | (version "1.17.0") |
146ee5cd TČ |
141 | (source (origin |
142 | (method url-fetch) | |
143 | (uri | |
3c07ae5d EF |
144 | (string-append "https://download.enlightenment.org/rel/libs/" |
145 | "elementary/elementary-" version ".tar.xz")) | |
146ee5cd | 146 | (sha256 |
3c07ae5d | 147 | (base32 |
58fc3167 | 148 | "0avb0d6nk4d88l81c2j6py13vdfnvg080ycw2y3qvawyjf1mhska")))) |
146ee5cd TČ |
149 | (build-system gnu-build-system) |
150 | (native-inputs | |
151 | `(("pkg-config" ,pkg-config))) | |
152 | (propagated-inputs | |
153 | `(("efl" ,efl))) ; elementary.pc, elementary-cxx.pc | |
154 | (home-page "http://www.enlightenment.org") | |
155 | (synopsis "Widget library of Enlightenment world") | |
156 | (description | |
157 | "Elementary is a widget library/toolkit, part of the Enlightenment | |
158 | Foundation Libraries. It is build upon Edje and Evas libraries and uses | |
159 | full capabilities of EFL.") | |
160 | (license license:lgpl2.1))) | |
87a37fdf TČ |
161 | |
162 | (define-public evas-generic-loaders | |
163 | (package | |
164 | (name "evas-generic-loaders") | |
da5e7616 | 165 | (version "1.17.0") |
87a37fdf TČ |
166 | (source (origin |
167 | (method url-fetch) | |
168 | (uri | |
169 | (string-append | |
7bde30e1 AE |
170 | "https://download.enlightenment.org/rel/libs/" |
171 | "evas_generic_loaders/evas_generic_loaders-" | |
172 | version ".tar.xz")) | |
87a37fdf | 173 | (sha256 |
735331de | 174 | (base32 |
da5e7616 | 175 | "0ynq1nx0bfgg19p4vki1fap36yyip53zaxpzncx2slr6jcx1kxf2")))) |
87a37fdf TČ |
176 | (build-system gnu-build-system) |
177 | (native-inputs | |
178 | `(("pkg-config" ,pkg-config))) | |
179 | (inputs | |
180 | `(("efl" ,efl) | |
181 | ("gstreamer" ,gstreamer) | |
182 | ("gst-plugins-base" ,gst-plugins-base) | |
183 | ("librsvg" ,librsvg) | |
184 | ("libspectre" ,libspectre) | |
185 | ("poppler" ,poppler))) | |
186 | (home-page "http://www.enlightenment.org") | |
187 | (synopsis "Plugins for integration of various file types into Evas") | |
188 | (description | |
189 | "Evas-generic-loaders is a collection of interfaces to outside libraries | |
190 | and applications allowing to natively open pictures, documents and media | |
191 | files in Evas (EFL canvas library).") | |
192 | (license license:gpl2+))) | |
cfa04683 TČ |
193 | |
194 | (define-public emotion-generic-players | |
195 | (package | |
196 | (name "emotion-generic-players") | |
e11e76b6 | 197 | (version "1.17.0") |
cfa04683 TČ |
198 | (source (origin |
199 | (method url-fetch) | |
200 | (uri | |
16460dc0 EF |
201 | (string-append "https://download.enlightenment.org/rel/libs/" |
202 | "emotion_generic_players/emotion_generic_players" | |
203 | "-" version ".tar.xz")) | |
cfa04683 | 204 | (sha256 |
16460dc0 | 205 | (base32 |
e11e76b6 | 206 | "03kaql95mk0c5j50v3c5i5lmlr3gz7xlh8p8q87xz8zf9j5h1pp7")))) |
cfa04683 TČ |
207 | (build-system gnu-build-system) |
208 | (native-inputs | |
209 | `(("pkg-config" ,pkg-config))) | |
210 | (inputs | |
211 | `(("efl" ,efl) | |
212 | ("vlc" ,vlc))) | |
213 | (home-page "http://www.enlightenment.org") | |
214 | (synopsis "Plugins for integrating media players in EFL based applications") | |
215 | (description | |
216 | "Emotion-generic-players is a collection of interfaces to outside libraries | |
217 | and applications allowing to natively play video files through Emotion. | |
218 | The only supported now is VLC.") | |
219 | (license license:bsd-2))) | |
df2b053a TČ |
220 | |
221 | (define-public terminology | |
222 | (package | |
223 | (name "terminology") | |
b4eba7b0 | 224 | (version "0.9.1") |
df2b053a TČ |
225 | (source (origin |
226 | (method url-fetch) | |
227 | (uri | |
dab148b6 EF |
228 | (string-append "https://download.enlightenment.org/rel/apps/" |
229 | "terminology/terminology-" version ".tar.xz")) | |
df2b053a | 230 | (sha256 |
dab148b6 | 231 | (base32 |
b4eba7b0 | 232 | "1kwv9vkhngdm5v38q93xpcykghnyawhjjcb5bgy0p89gpbk7mvpc")))) |
df2b053a TČ |
233 | (build-system gnu-build-system) |
234 | (native-inputs | |
235 | `(("pkg-config" ,pkg-config))) | |
236 | (inputs | |
237 | `(("efl" ,efl) | |
238 | ("elementary" ,elementary))) | |
239 | (home-page "http://www.enlightenment.org") | |
240 | (synopsis "Powerful terminal emulator based on EFL") | |
241 | (description | |
242 | "Terminology is fast and feature rich terminal emulator. It is solely | |
243 | based on Enlightenment Foundation Libraries. It supports multiple tabs, UTF-8, | |
244 | URL and local path detection, themes, popup based content viewer for non-text | |
245 | contents and more.") | |
246 | (license license:bsd-2))) | |
c58ed773 | 247 | |
9523f637 DP |
248 | (define-public rage |
249 | (package | |
250 | (name "rage") | |
251 | (version "0.1.4") | |
252 | (source (origin | |
253 | (method url-fetch) | |
254 | (uri | |
255 | (string-append | |
256 | "https://download.enlightenment.org/rel/apps/rage/rage-" | |
257 | version ".tar.gz")) | |
258 | (sha256 | |
259 | (base32 "10j3n8crk16jzqz2hn5djx6vms5f6x83qyiaphhqx94h9dgv2mgg")))) | |
260 | (build-system gnu-build-system) | |
261 | (native-inputs | |
262 | `(("pkg-config" ,pkg-config))) | |
263 | (inputs | |
264 | `(("efl" ,efl) | |
265 | ("elementary" ,elementary))) | |
266 | (home-page "https://www.enlightenment.org/about-rage") | |
267 | (synopsis "Video and audio player based on EFL") | |
268 | (description | |
269 | "Rage is a video and audio player written with Enlightenment Foundation | |
270 | Libraries with some extra bells and whistles.") | |
271 | (license license:bsd-2))) | |
272 | ||
c58ed773 TČ |
273 | (define-public enlightenment |
274 | (package | |
275 | (name "enlightenment") | |
388e05ee | 276 | (version "0.20.6") |
c58ed773 TČ |
277 | (source (origin |
278 | (method url-fetch) | |
279 | (uri | |
e693db42 EF |
280 | (string-append "https://download.enlightenment.org/rel/apps/" |
281 | name "/" name "-" version ".tar.xz")) | |
c58ed773 | 282 | (sha256 |
a124bbd2 | 283 | (base32 |
388e05ee | 284 | "11ahll68nlci214ka05whp5l32hy9lznmcdfqx3hxsmq2p7bl7zj")))) |
c58ed773 | 285 | (build-system gnu-build-system) |
df372f96 EF |
286 | (arguments |
287 | `(#:configure-flags '("--enable-mount-eeze"))) | |
c58ed773 TČ |
288 | (native-inputs |
289 | `(("pkg-config" ,pkg-config))) | |
290 | (inputs | |
291 | `(("alsa-lib" ,alsa-lib) | |
292 | ("dbus" ,dbus) | |
293 | ("freetype" ,freetype) | |
294 | ("gettext" ,gnu-gettext) | |
295 | ("libxcb" ,libxcb) | |
296 | ("libxext" ,libxext) | |
297 | ("linux-pam" ,linux-pam) | |
298 | ("xcb-util-keysyms" ,xcb-util-keysyms))) | |
299 | (propagated-inputs | |
300 | ;; both these inputs are present in pkgconfig file in Require section | |
301 | `(("efl" ,efl) ; enlightenment.pc | |
302 | ("elementary" ,elementary))) ; enlightenment.pc | |
303 | (home-page "http://www.enlightenment.org") | |
304 | (synopsis "Lightweight desktop environment") | |
305 | (description | |
306 | "Enlightenment is resource friendly desktop environment with integrated | |
307 | file manager, wide range of configuration options, plugin system allowing to | |
308 | unload unused functionality, with support for touchscreen and suitable for | |
309 | embedded systems.") | |
310 | (license license:bsd-2))) | |
8581f4c1 EF |
311 | |
312 | (define-public python-efl | |
313 | (package | |
314 | (name "python-efl") | |
315 | (version "1.16.0") | |
316 | (source | |
317 | (origin | |
318 | (method url-fetch) | |
319 | (uri (pypi-uri "python-efl" version)) | |
320 | (sha256 | |
321 | (base32 | |
322 | "1ihay90agl2jx12m7jj8j1cspd7vsak1w7q95rhb6r2srkq0ppxk")))) | |
323 | (build-system python-build-system) | |
324 | (arguments | |
325 | '(#:phases | |
326 | (modify-phases %standard-phases | |
327 | (add-before 'build 'set-flags | |
328 | (lambda _ | |
329 | (setenv "CFLAGS" | |
330 | (string-append "-I" (assoc-ref %build-inputs "python-dbus") | |
331 | "/include/dbus-1.0"))))))) | |
332 | (native-inputs | |
333 | `(("pkg-config" ,pkg-config))) | |
334 | (inputs | |
335 | `(("efl" ,efl) | |
336 | ("elementary" ,elementary) | |
337 | ("python-dbus" ,python-dbus))) | |
338 | (home-page "https://www.enlightenment.org/") | |
339 | (synopsis "Python bindings for EFL") | |
340 | (description | |
341 | "PYTHON-EFL are the python bindings for the whole Enlightenment Foundation | |
342 | Libraries stack (eo, evas, ecore, edje, emotion, ethumb and elementary).") | |
343 | (license license:lgpl3))) | |
344 | ||
345 | (define-public python2-efl | |
346 | (package-with-python2 python-efl)) |