2015-02-26 00:19:02 +01:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
;;; Copyright © 2015 Tomáš Čech <sleep_walker@suse.cz>
|
2015-08-06 16:12:54 +02:00
|
|
|
;;; Copyright © 2015 Daniel Pimentel <d4n1@member.fsf.org>
|
2017-01-15 11:01:43 +01:00
|
|
|
;;; Copyright © 2015, 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
|
2017-06-11 02:00:07 +02:00
|
|
|
;;; Copyright © 2017 ng0 <ng0@no-reply.pragmatique.xyz>
|
2015-02-26 00:19:02 +01:00
|
|
|
;;;
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
;;; your option) any later version.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
;;;
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
2015-03-04 08:47:14 +01:00
|
|
|
(define-module (gnu packages enlightenment)
|
2015-02-26 00:19:02 +01:00
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix download)
|
|
|
|
#:use-module (guix build-system gnu)
|
2015-11-15 12:54:22 +01:00
|
|
|
#:use-module (guix build-system python)
|
2015-02-26 00:19:02 +01:00
|
|
|
#:use-module (gnu packages)
|
|
|
|
#:use-module (gnu packages bash)
|
2016-09-10 21:48:50 +02:00
|
|
|
#:use-module (gnu packages check)
|
|
|
|
#:use-module (gnu packages code)
|
2015-02-26 00:19:02 +01:00
|
|
|
#:use-module (gnu packages compression)
|
|
|
|
#:use-module (gnu packages curl)
|
|
|
|
#:use-module (gnu packages fontutils)
|
2016-11-21 21:50:06 +01:00
|
|
|
#:use-module (gnu packages freedesktop)
|
2015-02-26 00:19:02 +01:00
|
|
|
#:use-module (gnu packages fribidi)
|
|
|
|
#:use-module (gnu packages game-development)
|
2015-02-26 23:36:55 +01:00
|
|
|
#:use-module (gnu packages gettext)
|
2015-02-26 01:18:01 +01:00
|
|
|
#:use-module (gnu packages ghostscript)
|
2015-02-26 00:19:02 +01:00
|
|
|
#:use-module (gnu packages gl)
|
|
|
|
#:use-module (gnu packages glib)
|
|
|
|
#:use-module (gnu packages gnome)
|
2015-03-04 09:36:49 +01:00
|
|
|
#:use-module (gnu packages gstreamer)
|
2015-03-04 08:47:14 +01:00
|
|
|
#:use-module (gnu packages gtk)
|
2015-02-26 00:19:02 +01:00
|
|
|
#:use-module (gnu packages image)
|
|
|
|
#:use-module (gnu packages linux)
|
2016-09-10 21:48:50 +02:00
|
|
|
#:use-module (gnu packages llvm)
|
2015-02-26 00:19:02 +01:00
|
|
|
#:use-module (gnu packages lua)
|
2015-02-26 01:18:01 +01:00
|
|
|
#:use-module (gnu packages pdf)
|
2015-02-26 00:19:02 +01:00
|
|
|
#:use-module (gnu packages photo)
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2015-11-15 12:54:22 +01:00
|
|
|
#:use-module (gnu packages pulseaudio)
|
|
|
|
#:use-module (gnu packages python)
|
gnu: Move content of openssl module into tls module.
* gnu/packages/openssl.scm (openssl, perl-net-ssleay): Move to...
* gnu/packages/tls.scm: ...here.
* gnu/packages/openssl.scm: Delete file.
* gnu-system.am (GNU_SYSTEM_MODULES): Unregister deleted file.
* gnu/packages/{admin.scm, bittorrent.scm, certs.scm, ci.scm,
cyrus-sasl.scm, databases.scm, dns.scm, ebook.scm, enlightenment.scm,
gnunet.scm, libreoffice.scm, links.scm, mail.scm, messaging.scm,
networking.scm, ntp.scm, openldap.scm, package-management.scm, pdf.scm,
python.scm, qt.scm, rdesktop.scm, rdf.scm, ruby.scm, ssh.scm,
synergy.scm, tor.scm, version-control.scm, video.scm, vpn.scm,
w3m.scm, web.scm, weechat.scm, xiph.scm}: Adapt module import.
2015-07-05 18:27:24 +02:00
|
|
|
#:use-module (gnu packages tls)
|
2015-02-26 01:22:27 +01:00
|
|
|
#:use-module (gnu packages video)
|
2017-06-20 12:12:52 +02:00
|
|
|
#:use-module (gnu packages xdisorg)
|
2015-02-26 00:19:02 +01:00
|
|
|
#:use-module (gnu packages xorg))
|
|
|
|
|
|
|
|
(define-public efl
|
|
|
|
(package
|
|
|
|
(name "efl")
|
2017-08-31 22:41:22 +02:00
|
|
|
(version "1.20.3")
|
2015-02-26 00:19:02 +01:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
2015-07-04 17:08:53 +02:00
|
|
|
"https://download.enlightenment.org/rel/libs/efl/efl-"
|
2015-07-04 16:47:42 +02:00
|
|
|
version ".tar.xz"))
|
2015-02-26 00:19:02 +01:00
|
|
|
(sha256
|
2015-09-10 15:23:37 +02:00
|
|
|
(base32
|
2017-08-31 22:41:22 +02:00
|
|
|
"148i8awjdrqzd0xqfc6q4qvhhs46jl15nx7n2nii7lrwzx502wqj"))))
|
2015-02-26 00:19:02 +01:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
(inputs
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
("compositeproto" ,compositeproto)
|
|
|
|
("curl" ,curl)
|
2016-08-24 11:55:48 +02:00
|
|
|
("ghostscript" ,ghostscript)
|
2015-02-26 00:19:02 +01:00
|
|
|
("giflib" ,giflib)
|
|
|
|
("gstreamer" ,gstreamer)
|
|
|
|
("gst-plugins-base" ,gst-plugins-base)
|
|
|
|
("libexif" ,libexif)
|
|
|
|
("libjpeg" ,libjpeg)
|
2016-08-24 11:55:48 +02:00
|
|
|
("libraw" ,libraw)
|
2015-02-26 00:19:02 +01:00
|
|
|
("librsvg" ,librsvg)
|
2016-08-24 11:55:48 +02:00
|
|
|
("libspectre" ,libspectre)
|
2015-02-26 00:19:02 +01:00
|
|
|
("libtiff" ,libtiff)
|
2016-09-19 12:35:53 +02:00
|
|
|
("libwebp" ,libwebp)
|
2015-02-26 00:19:02 +01:00
|
|
|
("libx11" ,libx11)
|
2017-06-20 12:17:02 +02:00
|
|
|
("libxau" ,libxau)
|
2015-02-26 00:19:02 +01:00
|
|
|
("libxcomposite" ,libxcomposite)
|
|
|
|
("libxcursor" ,libxcursor)
|
2017-06-20 12:17:02 +02:00
|
|
|
("libxdamage" ,libxdamage)
|
2015-02-26 00:19:02 +01:00
|
|
|
("libxdmcp" ,libxdmcp)
|
|
|
|
("libxext" ,libxext)
|
|
|
|
("libxi" ,libxi)
|
2017-06-20 12:17:02 +02:00
|
|
|
("libxfixes" ,libxfixes)
|
2015-02-26 00:19:02 +01:00
|
|
|
("libxinerama" ,libxinerama)
|
|
|
|
("libxp" ,libxp)
|
|
|
|
("libxrandr" ,libxrandr)
|
2017-06-20 12:17:02 +02:00
|
|
|
("libxrender" ,libxrender)
|
2015-02-26 00:19:02 +01:00
|
|
|
("libxscrnsaver" ,libxscrnsaver)
|
|
|
|
("libxtst" ,libxtst)
|
2016-08-24 09:39:02 +02:00
|
|
|
("lz4" ,lz4)
|
2016-08-24 11:55:48 +02:00
|
|
|
("openjpeg" ,openjpeg-1)
|
|
|
|
("poppler" ,poppler)
|
2015-02-26 00:19:02 +01:00
|
|
|
("printproto" ,printproto)
|
|
|
|
("scrnsaverproto" ,scrnsaverproto)
|
2017-06-20 12:12:52 +02:00
|
|
|
("wayland-protocols" ,wayland-protocols)
|
2015-02-26 00:19:02 +01:00
|
|
|
("xextproto" ,xextproto)
|
|
|
|
("xinput" ,xinput)
|
|
|
|
("xpr" ,xpr)
|
|
|
|
("xproto" ,xproto)))
|
|
|
|
(propagated-inputs
|
|
|
|
;; All these inputs are in package config files in section
|
2017-06-18 09:50:10 +02:00
|
|
|
;; Requires.private.
|
2015-02-26 00:19:02 +01:00
|
|
|
`(("bullet" ,bullet) ; ephysics.pc
|
2016-08-24 11:55:48 +02:00
|
|
|
("dbus" ,dbus) ; eldbus.pc, elementary.pc, elocation.pc, ethumb_client.pc
|
2015-02-26 00:19:02 +01:00
|
|
|
("eudev" ,eudev) ; eeze.pc
|
2016-08-24 10:11:42 +02:00
|
|
|
("fontconfig" ,fontconfig) ; evas.pc, evas-cxx.pc
|
|
|
|
("freetype" ,freetype) ; evas.pc, evas-cxx.pc
|
|
|
|
("fribidi" ,fribidi) ; evas.pc, evas-cxx.pc
|
|
|
|
("glib" ,glib) ; ecore.pc, ecore-cxx.pc
|
2016-08-24 09:37:33 +02:00
|
|
|
("harfbuzz" ,harfbuzz) ; evas.pc, evas-cxx.pc
|
2016-08-24 11:55:48 +02:00
|
|
|
("luajit" ,luajit) ; elua.pc, evas.pc, evas-cxx.pc
|
2017-08-12 22:09:53 +02:00
|
|
|
("libinput" ,libinput-minimal) ; elput.pc
|
2015-02-26 00:19:02 +01:00
|
|
|
("libpng" ,libpng) ; evas.pc, evas-cxx.pc
|
|
|
|
("libsndfile" ,libsndfile) ; ecore-audio.pc, ecore-audio-cxx.pc
|
2017-06-20 12:12:52 +02:00
|
|
|
("libxkbcommon" ,libxkbcommon) ; ecore-wl2.pc, elementary.pc, elput.pc
|
|
|
|
("mesa" ,mesa) ; ecore-drm2.pc
|
2016-08-24 10:11:42 +02:00
|
|
|
("openssl" ,openssl) ; ecore-con.pc, eet.pc, eet-cxx.pc, emile.pc
|
2015-02-26 00:19:02 +01:00
|
|
|
("pulseaudio" ,pulseaudio) ; ecore-audio.pc, ecore-audio-cxx.pc
|
2017-06-18 09:50:10 +02:00
|
|
|
("util-linux" ,util-linux) ; mount: eeze.pc
|
2017-06-20 12:12:52 +02:00
|
|
|
("wayland" ,wayland) ; ecore-wl2.pc, elementary.pc
|
2016-08-24 11:55:48 +02:00
|
|
|
("zlib" ,zlib))) ; eet.pc, eet-cxx.pc, emile.pc
|
2015-02-26 00:19:02 +01:00
|
|
|
(arguments
|
2016-08-24 09:39:02 +02:00
|
|
|
`(#:configure-flags '("--disable-silent-rules"
|
2017-06-18 09:50:10 +02:00
|
|
|
"--disable-systemd"
|
2016-08-24 09:37:33 +02:00
|
|
|
"--enable-liblz4"
|
2016-09-19 12:35:53 +02:00
|
|
|
"--enable-xinput22"
|
|
|
|
"--enable-image-loader-webp"
|
|
|
|
"--enable-multisense"
|
|
|
|
"--with-opengl=es"
|
|
|
|
"--enable-egl"
|
2017-06-20 12:12:52 +02:00
|
|
|
"--enable-harfbuzz"
|
|
|
|
;; for wayland
|
|
|
|
"--enable-wayland"
|
|
|
|
"--enable-elput"
|
|
|
|
"--enable-drm")
|
2017-06-18 09:50:10 +02:00
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'set-home-directory
|
|
|
|
;; FATAL: Cannot create run dir '/homeless-shelter/.run' - errno=2
|
|
|
|
(lambda _ (setenv "HOME" "/tmp") #t)))))
|
2017-05-10 07:36:25 +02:00
|
|
|
(home-page "https://www.enlightenment.org/about-efl")
|
2015-02-26 00:19:02 +01:00
|
|
|
(synopsis "Enlightenment Foundation Libraries")
|
|
|
|
(description
|
|
|
|
"Enlightenment Foundation Libraries is a set of libraries developed
|
|
|
|
for Enlightenment. Libraries covers data serialization, wide support for
|
|
|
|
graphics rendering, UI layout and themes, interaction with OS, access to
|
|
|
|
removable devices or support for multimedia.")
|
2015-09-10 15:23:37 +02:00
|
|
|
;; Different parts are under different licenses.
|
|
|
|
(license (list license:bsd-2 license:lgpl2.1 license:zlib))))
|
2015-02-26 00:51:36 +01:00
|
|
|
|
2015-02-26 01:26:41 +01:00
|
|
|
(define-public terminology
|
|
|
|
(package
|
|
|
|
(name "terminology")
|
2017-08-22 08:43:16 +02:00
|
|
|
(version "1.1.0")
|
2015-02-26 01:26:41 +01:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri
|
2015-09-10 14:49:30 +02:00
|
|
|
(string-append "https://download.enlightenment.org/rel/apps/"
|
|
|
|
"terminology/terminology-" version ".tar.xz"))
|
2015-02-26 01:26:41 +01:00
|
|
|
(sha256
|
2015-09-10 14:49:30 +02:00
|
|
|
(base32
|
2017-08-22 08:43:16 +02:00
|
|
|
"13rl1k22yf8qrpzdm5nh6ij641fibadr2ww1r7rnz7mbhzj3d4gb"))
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
;; Remove the bundled fonts.
|
|
|
|
;; TODO: Remove bundled lz4.
|
|
|
|
(snippet
|
|
|
|
'(begin
|
|
|
|
(delete-file-recursively "data/fonts")
|
|
|
|
(substitute* '("data/Makefile.in" "data/Makefile.am")
|
|
|
|
(("fonts") ""))
|
|
|
|
(substitute* "configure"
|
|
|
|
(("data/fonts/Makefile") "")
|
|
|
|
(("\\\"data/fonts/Makefile") "# \"data/fonts/Makefile"))
|
|
|
|
(substitute* '("data/themes/Makefile.in"
|
|
|
|
"data/themes/Makefile.am"
|
|
|
|
"data/themes/nyanology/Makefile.in"
|
|
|
|
"data/themes/nyanology/Makefile.am")
|
|
|
|
(("-fd \\$\\(top_srcdir\\)/data/fonts") ""))))))
|
2015-02-26 01:26:41 +01:00
|
|
|
(build-system gnu-build-system)
|
2017-06-18 09:50:10 +02:00
|
|
|
(arguments
|
|
|
|
'(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'set-home-directory
|
|
|
|
;; FATAL: Cannot create run dir '/homeless-shelter/.run' - errno=2
|
|
|
|
(lambda _ (setenv "HOME" "/tmp") #t)))))
|
2015-02-26 01:26:41 +01:00
|
|
|
(native-inputs
|
2017-08-22 08:43:16 +02:00
|
|
|
`(("gettext" ,gettext-minimal)
|
|
|
|
("pkg-config" ,pkg-config)))
|
2015-02-26 01:26:41 +01:00
|
|
|
(inputs
|
2016-08-24 11:55:48 +02:00
|
|
|
`(("efl" ,efl)))
|
2017-01-15 11:01:43 +01:00
|
|
|
(home-page "https://www.enlightenment.org/about-terminology")
|
2015-02-26 01:26:41 +01:00
|
|
|
(synopsis "Powerful terminal emulator based on EFL")
|
|
|
|
(description
|
|
|
|
"Terminology is fast and feature rich terminal emulator. It is solely
|
|
|
|
based on Enlightenment Foundation Libraries. It supports multiple tabs, UTF-8,
|
|
|
|
URL and local path detection, themes, popup based content viewer for non-text
|
|
|
|
contents and more.")
|
|
|
|
(license license:bsd-2)))
|
2015-02-26 23:36:55 +01:00
|
|
|
|
2015-08-06 16:12:54 +02:00
|
|
|
(define-public rage
|
|
|
|
(package
|
|
|
|
(name "rage")
|
2016-09-04 15:14:10 +02:00
|
|
|
(version "0.2.1")
|
2015-08-06 16:12:54 +02:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri
|
|
|
|
(string-append
|
|
|
|
"https://download.enlightenment.org/rel/apps/rage/rage-"
|
2016-08-26 12:18:38 +02:00
|
|
|
version ".tar.xz"))
|
2015-08-06 16:12:54 +02:00
|
|
|
(sha256
|
2016-08-26 12:18:38 +02:00
|
|
|
(base32
|
2016-09-04 15:14:10 +02:00
|
|
|
"06kbgcnbhl9clhdl7k983m4d0n6ggsl4qvizzi1nrp8c7np87fix"))))
|
2015-08-06 16:12:54 +02:00
|
|
|
(build-system gnu-build-system)
|
2017-06-18 09:50:10 +02:00
|
|
|
(arguments
|
|
|
|
'(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'set-home-directory
|
|
|
|
;; FATAL: Cannot create run dir '/homeless-shelter/.run' - errno=2
|
|
|
|
(lambda _ (setenv "HOME" "/tmp") #t)))))
|
2015-08-06 16:12:54 +02:00
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
(inputs
|
2016-08-24 11:55:48 +02:00
|
|
|
`(("efl" ,efl)))
|
2015-08-06 16:12:54 +02:00
|
|
|
(home-page "https://www.enlightenment.org/about-rage")
|
|
|
|
(synopsis "Video and audio player based on EFL")
|
|
|
|
(description
|
|
|
|
"Rage is a video and audio player written with Enlightenment Foundation
|
|
|
|
Libraries with some extra bells and whistles.")
|
|
|
|
(license license:bsd-2)))
|
|
|
|
|
2015-02-26 23:36:55 +01:00
|
|
|
(define-public enlightenment
|
|
|
|
(package
|
|
|
|
(name "enlightenment")
|
2017-08-27 14:53:09 +02:00
|
|
|
(version "0.21.9")
|
2015-02-26 23:36:55 +01:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri
|
2015-09-10 15:42:15 +02:00
|
|
|
(string-append "https://download.enlightenment.org/rel/apps/"
|
|
|
|
name "/" name "-" version ".tar.xz"))
|
2015-02-26 23:36:55 +01:00
|
|
|
(sha256
|
gnu: Adjust formatting as recommended by 'guix lint'.
* gnu/packages/aidc.scm (barcode, qrencode),
gnu/packages/bash.scm (bash, bash-completion),
gnu/packages/busybox.scm (busybox),
gnu/packages/cdrom.scm (cdparanoia),
gnu/packages/cmake.scm (cmake),
gnu/packages/conkeror.scm (conkeror),
gnu/packages/cook.scm (cook),
gnu/packages/curl.scm (curl),
gnu/packages/docbook.scm (docbook-xsl),
gnu/packages/enlightenment.scm (enlightenment),
gnu/packages/games.scm (abbaye),
gnu/packages/geeqie.scm (exiv2),
gnu/packages/gimp.scm (gegl),
gnu/packages/gl.scm (glu, freeglut, ftgl),
gnu/packages/glib.scm (glib),
gnu/packages/gnome.scm (orbit2, gconf, geocode-glib),
gnu/packages/gstreamer.scm (gstreamer, gst-plugins-base),
gnu/packages/linux.scm (util-linux),
gnu/packages/lisp.scm (gcl, ecl),
gnu/packages/maths.scm (gnuplot, hdf5),
gnu/packages/ssh.scm (dropbear),
gnu/packages/web.scm (json-c): Remove tabulations and trailing
white spaces or reformat to fit within 80 columns.
* gnu/packages/audio.scm (aubio),
gnu/packages/emacs.scm (emacs-s),
gnu/packages/engineering.scm (geda-gaf),
gnu/packages/games.scm (dosbox),
gnu/packages/gnome.scm (gusb),
gnu/packages/gtk.scm (gtk+),
gnu/packages/guile.scm (guile-wisp),
gnu/packages/hurd.scm (hurd-headers),
gnu/packages/wm.scm (i3-wm): Adjust synopsis or description.
2015-11-13 15:50:36 +01:00
|
|
|
(base32
|
2017-08-27 14:53:09 +02:00
|
|
|
"0w5f3707hyfc20i6xqh4jlr5p2yhy1z794061mjsz2rp4w00qmpb"))))
|
2015-02-26 23:36:55 +01:00
|
|
|
(build-system gnu-build-system)
|
2015-12-01 09:26:06 +01:00
|
|
|
(arguments
|
2017-06-11 02:00:07 +02:00
|
|
|
`(#:configure-flags '("--enable-mount-eeze")
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
2017-06-19 08:48:06 +02:00
|
|
|
(add-before 'configure 'set-system-actions
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
(let ((xkeyboard (assoc-ref inputs "xkeyboard-config"))
|
|
|
|
(utils (assoc-ref inputs "util-linux")))
|
2017-06-11 02:00:07 +02:00
|
|
|
;; We need to patch the path to 'base.lst' to be able
|
|
|
|
;; to switch the keyboard layout in E.
|
|
|
|
(substitute* "src/modules/xkbswitch/e_mod_parse.c"
|
|
|
|
(("/usr/share/X11/xkb/rules/xorg.lst")
|
|
|
|
(string-append xkeyboard
|
|
|
|
"/share/X11/xkb/rules/base.lst")))
|
2017-06-19 08:48:06 +02:00
|
|
|
(substitute* "configure"
|
|
|
|
(("/bin/mount") (string-append utils "/bin/mount"))
|
|
|
|
(("/bin/umount") (string-append utils "/bin/umount"))
|
|
|
|
(("/usr/bin/eject") (string-append utils "/bin/eject"))
|
|
|
|
; TODO: Replace suspend and hibernate also.
|
|
|
|
(("/sbin/shutdown -h now") "/run/current-system/profile/sbin/halt")
|
|
|
|
(("/sbin/shutdown -r now") "/run/current-system/profile/sbin/reboot"))
|
2017-06-11 02:00:07 +02:00
|
|
|
#t))))))
|
2015-02-26 23:36:55 +01:00
|
|
|
(native-inputs
|
2016-09-25 09:33:02 +02:00
|
|
|
`(("gettext" ,gettext-minimal)
|
2017-06-19 08:48:06 +02:00
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
("util-linux" ,util-linux)))
|
2015-02-26 23:36:55 +01:00
|
|
|
(inputs
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
("dbus" ,dbus)
|
2016-08-26 14:23:46 +02:00
|
|
|
("efl" ,efl)
|
2015-02-26 23:36:55 +01:00
|
|
|
("freetype" ,freetype)
|
|
|
|
("libxcb" ,libxcb)
|
|
|
|
("libxext" ,libxext)
|
|
|
|
("linux-pam" ,linux-pam)
|
2017-06-11 02:00:07 +02:00
|
|
|
("xcb-util-keysyms" ,xcb-util-keysyms)
|
|
|
|
("xkeyboard-config" ,xkeyboard-config)))
|
2017-05-10 08:06:46 +02:00
|
|
|
(home-page "https://www.enlightenment.org/about-enlightenment")
|
2015-02-26 23:36:55 +01:00
|
|
|
(synopsis "Lightweight desktop environment")
|
|
|
|
(description
|
|
|
|
"Enlightenment is resource friendly desktop environment with integrated
|
|
|
|
file manager, wide range of configuration options, plugin system allowing to
|
|
|
|
unload unused functionality, with support for touchscreen and suitable for
|
|
|
|
embedded systems.")
|
|
|
|
(license license:bsd-2)))
|
2015-11-15 12:54:22 +01:00
|
|
|
|
|
|
|
(define-public python-efl
|
|
|
|
(package
|
|
|
|
(name "python-efl")
|
2017-08-06 13:36:33 +02:00
|
|
|
(version "1.20.0")
|
2015-11-15 12:54:22 +01:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2017-08-06 13:36:33 +02:00
|
|
|
(uri (list
|
|
|
|
(pypi-uri "python-efl" version)
|
|
|
|
(string-append "http://download.enlightenment.org/rel/bindings/"
|
|
|
|
"python/python-efl-" version ".tar.gz")))
|
2015-11-15 12:54:22 +01:00
|
|
|
(sha256
|
|
|
|
(base32
|
2017-08-06 13:36:33 +02:00
|
|
|
"1680pgpf501nhbc9arm0nfj6rpcw17aryh0pgmmmszxlgpifpdzy"))))
|
2015-11-15 12:54:22 +01:00
|
|
|
(build-system python-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:phases
|
|
|
|
(modify-phases %standard-phases
|
2016-06-16 21:25:55 +02:00
|
|
|
(replace 'build
|
|
|
|
(lambda _
|
|
|
|
(zero?
|
|
|
|
(system* "env" "ENABLE_CYTHON=1" "python" "setup.py" "build"))))
|
2015-11-15 12:54:22 +01:00
|
|
|
(add-before 'build 'set-flags
|
|
|
|
(lambda _
|
|
|
|
(setenv "CFLAGS"
|
|
|
|
(string-append "-I" (assoc-ref %build-inputs "python-dbus")
|
2016-12-19 17:01:48 +01:00
|
|
|
"/include/dbus-1.0"))
|
|
|
|
#t))
|
|
|
|
(add-before 'check 'set-environment
|
|
|
|
(lambda _
|
|
|
|
;; Some tests require write access to HOME.
|
|
|
|
(setenv "HOME" "/tmp")
|
2017-08-06 13:36:33 +02:00
|
|
|
#t)))))
|
2015-11-15 12:54:22 +01:00
|
|
|
(native-inputs
|
2016-06-16 21:25:55 +02:00
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
("python-cython" ,python-cython)))
|
2015-11-15 12:54:22 +01:00
|
|
|
(inputs
|
|
|
|
`(("efl" ,efl)
|
|
|
|
("python-dbus" ,python-dbus)))
|
|
|
|
(home-page "https://www.enlightenment.org/")
|
|
|
|
(synopsis "Python bindings for EFL")
|
|
|
|
(description
|
|
|
|
"PYTHON-EFL are the python bindings for the whole Enlightenment Foundation
|
|
|
|
Libraries stack (eo, evas, ecore, edje, emotion, ethumb and elementary).")
|
|
|
|
(license license:lgpl3)))
|
|
|
|
|
|
|
|
(define-public python2-efl
|
|
|
|
(package-with-python2 python-efl))
|
2016-09-10 21:48:50 +02:00
|
|
|
|
|
|
|
(define-public edi
|
|
|
|
(package
|
|
|
|
(name "edi")
|
2017-07-18 01:43:28 +02:00
|
|
|
(version "0.5.1")
|
2016-09-10 21:48:50 +02:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://github.com/ajwillia-ms/edi/releases/"
|
|
|
|
"download/v" version "/edi-" version ".tar.bz2"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2017-07-18 01:43:28 +02:00
|
|
|
"0k0ymi9ilhkypqb9pniv365kh3jgbl2g2k0ylvsmisn2jhbqk49a"))))
|
2016-09-10 21:48:50 +02:00
|
|
|
(build-system gnu-build-system)
|
2017-06-18 15:00:36 +02:00
|
|
|
(arguments
|
|
|
|
'(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'set-home-directory
|
|
|
|
;; FATAL: Cannot create run dir '/homeless-shelter/.run' - errno=2
|
|
|
|
(lambda _ (setenv "HOME" "/tmp") #t)))
|
|
|
|
#:configure-flags '("--with-tests=coverage")))
|
2016-09-10 21:48:50 +02:00
|
|
|
(native-inputs
|
|
|
|
`(("check" ,check)
|
|
|
|
("lcov" ,lcov)
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
(inputs
|
|
|
|
`(("clang" ,clang)
|
|
|
|
("efl" ,efl)))
|
|
|
|
(home-page "https://www.enlightenment.org/about-edi")
|
|
|
|
(synopsis "Development environment for Enlightenment")
|
|
|
|
(description "EDI is a development environment designed for and built using
|
|
|
|
the EFL. It's aim is to create a new, native development environment for Linux
|
|
|
|
that tries to lower the barrier to getting involved in Enlightenment development
|
|
|
|
and in creating applications based on the Enlightenment Foundation Library suite.")
|
|
|
|
(license (list license:public-domain ; data/extra/skeleton
|
|
|
|
license:gpl2)))) ; edi
|
2016-11-21 21:50:06 +01:00
|
|
|
|
|
|
|
(define-public lekha
|
|
|
|
(package
|
|
|
|
(name "lekha")
|
|
|
|
(version "0.2.1")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "Lekha" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0zr6i74ik58pbzrd7r9l7sawqbdv0r2c1a9927qkqzwga27x8j15"))))
|
|
|
|
(build-system python-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:tests? #f ; no test target
|
|
|
|
#:python ,python-2
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'fix-data-location
|
|
|
|
(lambda _ (substitute* "setup.py"
|
|
|
|
(("'/usr/")"'"))
|
|
|
|
#t)))))
|
|
|
|
(propagated-inputs
|
|
|
|
`(("python2-efl" ,python2-efl)
|
|
|
|
("python2-pypdf2" ,python2-pypdf2)
|
|
|
|
("python2-pyxdg" ,python2-pyxdg)))
|
|
|
|
(synopsis "Simple PDF viewer")
|
|
|
|
(description
|
|
|
|
"Simple PDF viewer based on the Enlightenment Foundation Libraries.")
|
|
|
|
(home-page "https://github.com/kaihu/lekha")
|
|
|
|
(license license:gpl3+)))
|