gnu: efl: Update to 1.23.0.
* gnu/packages/enlightenment.scm (efl): Update to 1.23.0. [outputs]: Remove field. [build-system]: Switch to meson-build-system. [native-inputs]: Add check, gettext-minimal. [inputs]: Remove alsa-lib, ghostscript, libexif, openjpeg-1, printproto, xinput, xpr, xorgproto. Add ibus. Move mesa to here. Move libjpeg, libsndfile, libtiff, libwebp, libx11, lz4, pulseaudio ... [propagated-inputs]: ... to here. Add avahi. [arguments]: Add custom phase to work around dbus path issues. Adjust configure-flags for build-system change.
This commit is contained in:
		
							parent
							
								
									dde9d85818
								
							
						
					
					
						commit
						ecca80e25c
					
				
					 1 changed files with 59 additions and 54 deletions
				
			
		|  | @ -29,6 +29,7 @@ | ||||||
|   #:use-module (guix build-system meson) |   #:use-module (guix build-system meson) | ||||||
|   #:use-module (guix build-system python) |   #:use-module (guix build-system python) | ||||||
|   #:use-module (gnu packages) |   #:use-module (gnu packages) | ||||||
|  |   #:use-module (gnu packages avahi) | ||||||
|   #:use-module (gnu packages bash) |   #:use-module (gnu packages bash) | ||||||
|   #:use-module (gnu packages check) |   #:use-module (gnu packages check) | ||||||
|   #:use-module (gnu packages code) |   #:use-module (gnu packages code) | ||||||
|  | @ -45,6 +46,7 @@ | ||||||
|   #:use-module (gnu packages gnome) |   #:use-module (gnu packages gnome) | ||||||
|   #:use-module (gnu packages gstreamer) |   #:use-module (gnu packages gstreamer) | ||||||
|   #:use-module (gnu packages gtk) |   #:use-module (gnu packages gtk) | ||||||
|  |   #:use-module (gnu packages ibus) | ||||||
|   #:use-module (gnu packages image) |   #:use-module (gnu packages image) | ||||||
|   #:use-module (gnu packages linux) |   #:use-module (gnu packages linux) | ||||||
|   #:use-module (gnu packages llvm) |   #:use-module (gnu packages llvm) | ||||||
|  | @ -65,7 +67,7 @@ | ||||||
| (define-public efl | (define-public efl | ||||||
|   (package |   (package | ||||||
|     (name "efl") |     (name "efl") | ||||||
|     (version "1.22.5") |     (version "1.23.0") | ||||||
|     (source (origin |     (source (origin | ||||||
|               (method url-fetch) |               (method url-fetch) | ||||||
|               (uri (string-append |               (uri (string-append | ||||||
|  | @ -73,28 +75,22 @@ | ||||||
|                     version ".tar.xz")) |                     version ".tar.xz")) | ||||||
|               (sha256 |               (sha256 | ||||||
|                (base32 |                (base32 | ||||||
|                 "1cjk56z0whpzcqwg3xdq23kyp1g83xa67m9dlp7ywmb36bn4ca59")))) |                 "1iawq5k1ggas41h3vrwc0y98hf83vr0vh3phfgw22iij3cb2b5nd")))) | ||||||
|     (outputs '("out"       ; 53 MB |     (build-system meson-build-system) | ||||||
|                "include")) ; 21 MB |  | ||||||
|     (build-system gnu-build-system) |  | ||||||
|     (native-inputs |     (native-inputs | ||||||
|      `(("pkg-config" ,pkg-config))) |      `(("check" ,check) | ||||||
|  |        ("gettext" ,gettext-minimal) | ||||||
|  |        ("pkg-config" ,pkg-config))) | ||||||
|     (inputs |     (inputs | ||||||
|      `(("alsa-lib" ,alsa-lib) |      `(("curl" ,curl) | ||||||
|        ("curl" ,curl) |  | ||||||
|        ("ghostscript" ,ghostscript) |  | ||||||
|        ("giflib" ,giflib) |        ("giflib" ,giflib) | ||||||
|        ("gstreamer" ,gstreamer) |        ("gstreamer" ,gstreamer) | ||||||
|        ("gst-plugins-base" ,gst-plugins-base) |        ("gst-plugins-base" ,gst-plugins-base) | ||||||
|        ("libexif" ,libexif) |        ("ibus" ,ibus) | ||||||
|        ("libjpeg" ,libjpeg) |        ("mesa" ,mesa) | ||||||
|        ("libraw" ,libraw) |        ("libraw" ,libraw) | ||||||
|        ("librsvg" ,librsvg) |        ("librsvg" ,librsvg) | ||||||
|        ("libsndfile" ,libsndfile) |  | ||||||
|        ("libspectre" ,libspectre) |        ("libspectre" ,libspectre) | ||||||
|        ("libtiff" ,libtiff) |  | ||||||
|        ("libwebp" ,libwebp) |  | ||||||
|        ("libx11" ,libx11) |  | ||||||
|        ("libxau" ,libxau) |        ("libxau" ,libxau) | ||||||
|        ("libxcomposite" ,libxcomposite) |        ("libxcomposite" ,libxcomposite) | ||||||
|        ("libxcursor" ,libxcursor) |        ("libxcursor" ,libxcursor) | ||||||
|  | @ -107,55 +103,56 @@ | ||||||
|        ("libxp" ,libxp) |        ("libxp" ,libxp) | ||||||
|        ("libxrandr" ,libxrandr) |        ("libxrandr" ,libxrandr) | ||||||
|        ("libxrender" ,libxrender) |        ("libxrender" ,libxrender) | ||||||
|        ("libxscrnsaver" ,libxscrnsaver) |        ("libxss" ,libxscrnsaver) | ||||||
|        ("libxtst" ,libxtst) |        ("libxtst" ,libxtst) | ||||||
|        ("lz4" ,lz4) |  | ||||||
|        ("openjpeg" ,openjpeg-1) |  | ||||||
|        ("poppler" ,poppler) |        ("poppler" ,poppler) | ||||||
|        ("printproto" ,printproto) |        ("wayland-protocols" ,wayland-protocols))) | ||||||
|        ("pulseaudio" ,pulseaudio) |  | ||||||
|        ("wayland-protocols" ,wayland-protocols) |  | ||||||
|        ("xinput" ,xinput) |  | ||||||
|        ("xpr" ,xpr) |  | ||||||
|        ("xorgproto" ,xorgproto))) |  | ||||||
|     (propagated-inputs |     (propagated-inputs | ||||||
|      ;; All these inputs are in package config files in section |      ;; All these inputs are in package config files in section | ||||||
|      ;; Requires.private. |      ;; Requires.private. | ||||||
|      `(("bullet" ,bullet) ; ephysics.pc |      `(("avahi" ,avahi) | ||||||
|        ("dbus" ,dbus) ; eldbus.pc, elementary.pc, elocation.pc, ethumb_client.pc |        ("bullet" ,bullet) | ||||||
|        ("eudev" ,eudev) ; eeze.pc |        ("dbus" ,dbus) | ||||||
|        ("fontconfig" ,fontconfig) ; evas.pc, evas-cxx.pc |        ("eudev" ,eudev) | ||||||
|        ("freetype" ,freetype) ; evas.pc, evas-cxx.pc |        ("fontconfig" ,fontconfig) | ||||||
|        ("fribidi" ,fribidi) ; evas.pc, evas-cxx.pc |        ("freetype" ,freetype) | ||||||
|        ("glib" ,glib) ; ecore.pc, ecore-cxx.pc |        ("fribidi" ,fribidi) | ||||||
|        ("harfbuzz" ,harfbuzz) ; evas.pc, evas-cxx.pc |        ("glib" ,glib) | ||||||
|        ("luajit" ,luajit) ; elua.pc, evas.pc, evas-cxx.pc |        ("harfbuzz" ,harfbuzz) | ||||||
|        ("libinput" ,libinput-minimal) ; elput.pc |        ("luajit" ,luajit) | ||||||
|        ("libpng" ,libpng) ; evas.pc, evas-cxx.pc |        ("libinput" ,libinput-minimal) | ||||||
|        ("libxkbcommon" ,libxkbcommon) ; ecore-wl2.pc, elementary.pc, elput.pc |        ("libjpeg" ,libjpeg) | ||||||
|        ("mesa" ,mesa) ; ecore-drm2.pc |        ("libpng" ,libpng) | ||||||
|        ("openssl" ,openssl) ; ecore-con.pc, eet.pc, eet-cxx.pc, emile.pc |        ("libsndfile" ,libsndfile) | ||||||
|        ("util-linux" ,util-linux) ; mount: eeze.pc |        ("libtiff" ,libtiff) | ||||||
|        ("wayland" ,wayland) ; ecore-wl2.pc, elementary.pc |        ("libwebp" ,libwebp) | ||||||
|        ("zlib" ,zlib))) ; eet.pc, eet-cxx.pc, emile.pc |        ("libx11" ,libx11) | ||||||
|  |        ("libxkbcommon" ,libxkbcommon) | ||||||
|  |        ("lz4" ,lz4) | ||||||
|  |        ("openssl" ,openssl) | ||||||
|  |        ("pulseaudio" ,pulseaudio) | ||||||
|  |        ("util-linux" ,util-linux) | ||||||
|  |        ("wayland" ,wayland) | ||||||
|  |        ("zlib" ,zlib))) | ||||||
|     (arguments |     (arguments | ||||||
|      `(#:configure-flags '("--disable-silent-rules" |      `(#:configure-flags '("-Dsystemd=false" | ||||||
|                            "--disable-systemd" |                            "-Dembedded-lz4=false" | ||||||
|                            "--with-profile=release" |                            "-Devas-loaders-disabler=json" | ||||||
|                            "--enable-liblz4" |                            "-Dbuild-examples=false" | ||||||
|                            "--enable-xinput22" |                            ;(string-append "-Ddictionaries-hyphen-dir=" | ||||||
|                            "--enable-image-loader-webp" |                            ;               (assoc-ref %build-inputs "hyphen") | ||||||
|                            "--enable-multisense" |                            ;               "/share/hyphen") | ||||||
|                            ,@(match (%current-system) |                            ,@(match (%current-system) | ||||||
|                                ("armhf-linux" |                                ("armhf-linux" | ||||||
|                                 '("--with-opengl=es" "--with-egl")) |                                 '("-opengl=es-egl")) | ||||||
|                                (_ |                                (_ | ||||||
|                                 '("--with-opengl=full"))) |                                 '("-Dopengl=full"))) | ||||||
|                            "--enable-harfbuzz" |  | ||||||
|                            ;; for wayland |                            ;; for wayland | ||||||
|                            "--enable-wayland" |                            "-Dwl-deprecated=true" ; ecore_wayland | ||||||
|                            "--enable-elput" |                            "-Ddrm-deprecated=true" ; ecore_drm | ||||||
|                            "--enable-drm") |                            "-Dwl=true" | ||||||
|  |                            "-Ddrm=true") | ||||||
|  |        #:tests? #f ; Many tests fail due to timeouts and network requests. | ||||||
|        #:phases |        #:phases | ||||||
|        (modify-phases %standard-phases |        (modify-phases %standard-phases | ||||||
|          ;; If we don't hardcode the location of libcurl.so then we |          ;; If we don't hardcode the location of libcurl.so then we | ||||||
|  | @ -168,6 +165,14 @@ | ||||||
|                  (("libcurl.so.?" libcurl) ; libcurl.so.[45] |                  (("libcurl.so.?" libcurl) ; libcurl.so.[45] | ||||||
|                   (string-append lib libcurl))) |                   (string-append lib libcurl))) | ||||||
|                #t))) |                #t))) | ||||||
|  |          (add-after 'unpack 'fix-install-paths | ||||||
|  |            (lambda _ | ||||||
|  |              (substitute* "dbus-services/meson.build" | ||||||
|  |                (("install_dir.*") | ||||||
|  |                 "install_dir: join_paths(dir_data, 'dbus-1', 'services'))\n")) | ||||||
|  |              (substitute* "src/tests/elementary/meson.build" | ||||||
|  |                (("dir_data") "meson.source_root(), 'test-output'")) | ||||||
|  |              #t)) | ||||||
|          (add-after 'unpack 'set-home-directory |          (add-after 'unpack 'set-home-directory | ||||||
|            ;; FATAL: Cannot create run dir '/homeless-shelter/.run' - errno=2 |            ;; FATAL: Cannot create run dir '/homeless-shelter/.run' - errno=2 | ||||||
|            (lambda _ (setenv "HOME" "/tmp") #t))))) |            (lambda _ (setenv "HOME" "/tmp") #t))))) | ||||||
|  |  | ||||||
		Reference in a new issue