Merge pull request #28477 from romildo/fix.efl

enlightenment fixes and updates

authored by Joachim F and committed by GitHub 3c4ffdcb a41354a9

+22 -71
+1 -2
pkgs/desktops/enlightenment/default.nix
··· 2 rec { 3 #### CORE EFL 4 efl = callPackage ./efl.nix { openjpeg = pkgs.openjpeg_1; }; 5 - efl_1_19 = callPackage ./efl.nix { eflVersion = "1.19.1"; openjpeg = pkgs.openjpeg_1; }; 6 7 #### WINDOW MANAGER 8 enlightenment = callPackage ./enlightenment.nix { }; ··· 11 econnman = callPackage ./econnman.nix { }; 12 terminology = callPackage ./terminology.nix { }; 13 rage = callPackage ./rage.nix { }; 14 - ephoto = callPackage ./ephoto.nix { efl = efl_1_19; }; 15 }
··· 2 rec { 3 #### CORE EFL 4 efl = callPackage ./efl.nix { openjpeg = pkgs.openjpeg_1; }; 5 6 #### WINDOW MANAGER 7 enlightenment = callPackage ./enlightenment.nix { }; ··· 10 econnman = callPackage ./econnman.nix { }; 11 terminology = callPackage ./terminology.nix { }; 12 rage = callPackage ./rage.nix { }; 13 + ephoto = callPackage ./ephoto.nix { }; 14 }
+5 -10
pkgs/desktops/enlightenment/efl.nix
··· 4 , python27Packages, openjpeg, doxygen, expat, harfbuzz, jbig2dec, librsvg 5 , dbus_libs, alsaLib, poppler, ghostscript, libraw, libspectre, xineLib, libwebp 6 , curl, libinput, systemd, writeText 7 - # Support more than one version because for now ephoto does not work with efl-1.20.x 8 - , eflVersion ? "1.20.2" 9 }: 10 11 stdenv.mkDerivation rec { 12 name = "efl-${version}"; 13 - version = eflVersion; 14 15 src = fetchurl { 16 url = "http://download.enlightenment.org/rel/libs/efl/${name}.tar.xz"; 17 - sha256 = { 18 - "1.19.1" = "0fndwraca9rg0bz3al4isdprvyw56szr88qiyvglb4j8ygsylscc"; 19 - "1.20.2" = "0zll6k4xbbdsxqg53g8jddgv889g5m1xh20i03iz5a52y2bcnh55"; 20 - }.${version}; 21 }; 22 23 nativeBuildInputs = [ pkgconfig ]; 24 25 - buildInputs = [ openssl zlib lz4 freetype fontconfig fribidi SDL2 SDL mesa 26 giflib libpng libtiff glib gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good 27 gst_all_1.gst-libav libpulseaudio libsndfile xorg.libXcursor xorg.printproto 28 - xorg.libX11 udev utillinux systemd ]; 29 30 propagatedBuildInputs = [ libxkbcommon python27Packages.dbus-python dbus libjpeg xorg.libXcomposite 31 xorg.libXdamage xorg.libXinerama xorg.libXp xorg.libXtst xorg.libXi xorg.libXext 32 bullet xorg.libXScrnSaver xorg.libXrender xorg.libXfixes xorg.libXrandr 33 xorg.libxkbfile xorg.libxcb xorg.xcbutilkeysyms openjpeg doxygen expat luajit 34 harfbuzz jbig2dec librsvg dbus_libs alsaLib poppler ghostscript libraw libspectre xineLib libwebp curl libdrm 35 - libinput ]; 36 37 # ac_ct_CXX must be set to random value, because then it skips some magic which does alternative searching for g++ 38 configureFlags = [
··· 4 , python27Packages, openjpeg, doxygen, expat, harfbuzz, jbig2dec, librsvg 5 , dbus_libs, alsaLib, poppler, ghostscript, libraw, libspectre, xineLib, libwebp 6 , curl, libinput, systemd, writeText 7 }: 8 9 stdenv.mkDerivation rec { 10 name = "efl-${version}"; 11 + version = "1.20.2"; 12 13 src = fetchurl { 14 url = "http://download.enlightenment.org/rel/libs/efl/${name}.tar.xz"; 15 + sha256 = "0zll6k4xbbdsxqg53g8jddgv889g5m1xh20i03iz5a52y2bcnh55"; 16 }; 17 18 nativeBuildInputs = [ pkgconfig ]; 19 20 + buildInputs = [ openssl zlib lz4 freetype fontconfig SDL mesa 21 giflib libpng libtiff glib gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good 22 gst_all_1.gst-libav libpulseaudio libsndfile xorg.libXcursor xorg.printproto 23 + xorg.libX11 udev systemd ]; 24 25 propagatedBuildInputs = [ libxkbcommon python27Packages.dbus-python dbus libjpeg xorg.libXcomposite 26 xorg.libXdamage xorg.libXinerama xorg.libXp xorg.libXtst xorg.libXi xorg.libXext 27 bullet xorg.libXScrnSaver xorg.libXrender xorg.libXfixes xorg.libXrandr 28 xorg.libxkbfile xorg.libxcb xorg.xcbutilkeysyms openjpeg doxygen expat luajit 29 harfbuzz jbig2dec librsvg dbus_libs alsaLib poppler ghostscript libraw libspectre xineLib libwebp curl libdrm 30 + libinput utillinux fribidi SDL2 ]; 31 32 # ac_ct_CXX must be set to random value, because then it skips some magic which does alternative searching for g++ 33 configureFlags = [
+3 -11
pkgs/desktops/enlightenment/enlightenment.nix
··· 1 { stdenv, fetchurl, pkgconfig, efl, xcbutilkeysyms, libXrandr, libXdmcp, 2 libxcb, libffi, pam, alsaLib, luajit, bzip2, libpthreadstubs, gdbm, libcap, 3 - mesa_glu, xkeyboard_config }: 4 5 stdenv.mkDerivation rec { 6 name = "enlightenment-${version}"; ··· 11 sha256 = "0w5f3707hyfc20i6xqh4jlr5p2yhy1z794061mjsz2rp4w00qmpb"; 12 }; 13 14 - nativeBuildInputs = [ pkgconfig ]; 15 16 buildInputs = [ 17 efl libXdmcp libxcb xcbutilkeysyms libXrandr libffi pam alsaLib 18 - luajit bzip2 libpthreadstubs gdbm 19 ] ++ 20 stdenv.lib.optionals stdenv.isLinux [ libcap ]; 21 - 22 - NIX_CFLAGS_COMPILE = [ 23 - "-I${efl}/include/ecore-imf-1" 24 - "-I${efl}/include/emile-1" 25 - "-I${efl}/include/eo-1" 26 - "-I${efl}/include/ethumb-1" 27 - "-I${efl}/include/ethumb-client-1" 28 - ]; 29 30 preConfigure = '' 31 export USER_SESSION_DIR=$prefix/lib/systemd/user
··· 1 { stdenv, fetchurl, pkgconfig, efl, xcbutilkeysyms, libXrandr, libXdmcp, 2 libxcb, libffi, pam, alsaLib, luajit, bzip2, libpthreadstubs, gdbm, libcap, 3 + mesa_glu, xkeyboard_config, pcre }: 4 5 stdenv.mkDerivation rec { 6 name = "enlightenment-${version}"; ··· 11 sha256 = "0w5f3707hyfc20i6xqh4jlr5p2yhy1z794061mjsz2rp4w00qmpb"; 12 }; 13 14 + nativeBuildInputs = [ (pkgconfig.override { vanilla = true; }) ]; 15 16 buildInputs = [ 17 efl libXdmcp libxcb xcbutilkeysyms libXrandr libffi pam alsaLib 18 + luajit bzip2 libpthreadstubs gdbm pcre 19 ] ++ 20 stdenv.lib.optionals stdenv.isLinux [ libcap ]; 21 22 preConfigure = '' 23 export USER_SESSION_DIR=$prefix/lib/systemd/user
+5 -17
pkgs/desktops/enlightenment/ephoto.nix
··· 1 - { stdenv, fetchurl, pkgconfig, efl, curl, makeWrapper }: 2 3 stdenv.mkDerivation rec { 4 name = "ephoto-${version}"; 5 - version = "1.0"; 6 7 src = fetchurl { 8 url = "http://www.smhouston.us/stuff/${name}.tar.gz"; 9 - sha256 = "0l6zrk22fap6pylmzxwp6nycy8l5wdc7jza890h4zrwmpfag8w31"; 10 }; 11 12 - nativeBuildInputs = [ pkgconfig makeWrapper ]; 13 14 - buildInputs = [ efl curl ]; 15 - 16 - NIX_CFLAGS_COMPILE = [ 17 - "-I${efl}/include/ecore-con-1" 18 - "-I${efl}/include/ecore-evas-1" 19 - "-I${efl}/include/ecore-imf-1" 20 - "-I${efl}/include/ecore-input-1" 21 - "-I${efl}/include/eet-1" 22 - "-I${efl}/include/eldbus-1" 23 - "-I${efl}/include/emile-1" 24 - "-I${efl}/include/ethumb-1" 25 - "-I${efl}/include/ethumb-client-1" 26 - ]; 27 28 postInstall = '' 29 wrapProgram $out/bin/ephoto --prefix LD_LIBRARY_PATH : ${curl.out}/lib
··· 1 + { stdenv, fetchurl, pkgconfig, efl, pcre, curl, makeWrapper }: 2 3 stdenv.mkDerivation rec { 4 name = "ephoto-${version}"; 5 + version = "1.5"; 6 7 src = fetchurl { 8 url = "http://www.smhouston.us/stuff/${name}.tar.gz"; 9 + sha256 = "09kraa5zz45728h2dw1ssh23b87j01bkfzf977m48y1r507sy3vb"; 10 }; 11 12 + nativeBuildInputs = [ (pkgconfig.override { vanilla = true; }) makeWrapper ]; 13 14 + buildInputs = [ efl pcre curl ]; 15 16 postInstall = '' 17 wrapProgram $out/bin/ephoto --prefix LD_LIBRARY_PATH : ${curl.out}/lib
+3 -17
pkgs/desktops/enlightenment/rage.nix
··· 1 - { stdenv, fetchurl, pkgconfig, efl, gst_all_1, curl, wrapGAppsHook }: 2 3 stdenv.mkDerivation rec { 4 name = "rage-${version}"; ··· 10 }; 11 12 nativeBuildInputs = [ 13 - pkgconfig 14 wrapGAppsHook 15 ]; 16 ··· 21 gst_all_1.gst-plugins-good 22 gst_all_1.gst-plugins-bad 23 gst_all_1.gst-libav 24 curl 25 ]; 26 - 27 - NIX_CFLAGS_COMPILE = [ 28 - "-I${efl}/include/ecore-con-1" 29 - "-I${efl}/include/ecore-evas-1" 30 - "-I${efl}/include/ecore-file-1" 31 - "-I${efl}/include/ecore-imf-1" 32 - "-I${efl}/include/ecore-input-1" 33 - "-I${efl}/include/eet-1" 34 - "-I${efl}/include/efreet-1" 35 - "-I${efl}/include/eldbus-1" 36 - "-I${efl}/include/emile-1" 37 - "-I${efl}/include/eo-1" 38 - "-I${efl}/include/ethumb-1" 39 - "-I${efl}/include/ethumb-client-1" 40 - ]; 41 42 postInstall = '' 43 wrapProgram $out/bin/rage --prefix LD_LIBRARY_PATH : ${curl.out}/lib
··· 1 + { stdenv, fetchurl, pkgconfig, efl, gst_all_1, pcre, curl, wrapGAppsHook }: 2 3 stdenv.mkDerivation rec { 4 name = "rage-${version}"; ··· 10 }; 11 12 nativeBuildInputs = [ 13 + (pkgconfig.override { vanilla = true; }) 14 wrapGAppsHook 15 ]; 16 ··· 21 gst_all_1.gst-plugins-good 22 gst_all_1.gst-plugins-bad 23 gst_all_1.gst-libav 24 + pcre 25 curl 26 ]; 27 28 postInstall = '' 29 wrapProgram $out/bin/rage --prefix LD_LIBRARY_PATH : ${curl.out}/lib
+5 -14
pkgs/desktops/enlightenment/terminology.nix
··· 1 - { stdenv, fetchurl, pkgconfig, efl, curl, makeWrapper }: 2 3 stdenv.mkDerivation rec { 4 name = "terminology-${version}"; 5 - version = "1.0.0"; 6 7 src = fetchurl { 8 url = "http://download.enlightenment.org/rel/apps/terminology/${name}.tar.xz"; 9 - sha256 = "1x4j2q4qqj10ckbka0zaq2r2zm66ff1x791kp8slv1ff7fw45vdz"; 10 }; 11 12 - nativeBuildInputs = [ pkgconfig makeWrapper ]; 13 14 - buildInputs = [ efl curl ]; 15 - 16 - NIX_CFLAGS_COMPILE = [ 17 - "-I${efl}/include/ecore-con-1" 18 - "-I${efl}/include/eldbus-1" 19 - "-I${efl}/include/elocation-1" 20 - "-I${efl}/include/emile-1" 21 - "-I${efl}/include/eo-1" 22 - "-I${efl}/include/ethumb-1" 23 - ]; 24 25 postInstall = '' 26 for f in $out/bin/*; do
··· 1 + { stdenv, fetchurl, pkgconfig, efl, pcre, curl, makeWrapper }: 2 3 stdenv.mkDerivation rec { 4 name = "terminology-${version}"; 5 + version = "1.1.0"; 6 7 src = fetchurl { 8 url = "http://download.enlightenment.org/rel/apps/terminology/${name}.tar.xz"; 9 + sha256 = "13rl1k22yf8qrpzdm5nh6ij641fibadr2ww1r7rnz7mbhzj3d4gb"; 10 }; 11 12 + nativeBuildInputs = [ (pkgconfig.override { vanilla = true; }) makeWrapper ]; 13 14 + buildInputs = [ efl pcre curl ]; 15 16 postInstall = '' 17 for f in $out/bin/*; do