[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/19: gnu: epiphany: Update package definition.
From: |
guix-commits |
Subject: |
05/19: gnu: epiphany: Update package definition. |
Date: |
Wed, 5 Aug 2020 11:14:07 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 20197fe35bee113c67306c70d23333be3993885a
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Sun Aug 2 03:08:55 2020 -0400
gnu: epiphany: Update package definition.
* gnu/packages/gnome.scm (epiphany) [version]: Update to 3.36.3.
[outputs]: New output "help".
[arguments]<#:phases>['pre-check]: Modify phase.
['move-help]: New phase.
[native-inputs]: Add gobject-introspection and libxslt.
[inputs]: Add appstream-glib, glib, gtk+, libhandy and libsoup.
Remove libxslt.
[propagated-inputs]: Remove dconf.
[description]: Modify.
[license]: Update to gpl3+.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gnome.scm | 86 ++++++++++++++++++++++++++++++--------------------
1 file changed, 51 insertions(+), 35 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 21b2fbf..fd65c01 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -7512,28 +7512,35 @@ a secret password store, an adblocker, and a modern
UI.")
(define-public epiphany
(package
(name "epiphany")
- (version "3.34.4")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://gnome/sources/epiphany/"
- (version-major+minor version) "/"
- "epiphany-" version ".tar.xz"))
- (sha256
- (base32
- "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"))))
-
+ (version "3.36.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "mirror://gnome/sources/epiphany/"
+ (version-major+minor version) "/"
+ "epiphany-" version ".tar.xz"))
+ (sha256
+ (base32 "0vz1j6yrjv0nmf5lk8prkkm10fbcmd35khy9zsd7d4a86wk5c6v2"))))
(build-system meson-build-system)
+ (outputs '("out" "help"))
(arguments
- '(#:glib-or-gtk? #t
+ `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+ #:configure-flags
+ ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
+ (list
+ (string-append "-Dc_link_args=-Wl,-rpath="
+ (assoc-ref %outputs "out")
+ "/lib/epiphany"))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'skip-gtk-update-icon-cache
- ;; Don't create 'icon-theme.cache'.
(lambda _
(substitute* "post_install.py"
- (("gtk-update-icon-cache") "true"))
+ (("gtk-update-icon-cache")
+ "true"))
#t))
- (add-after 'unpack 'disable-failing-tests
+ (add-before 'configure 'disable-failing-tests
(lambda _
(substitute* "tests/meson.build"
;; embed_shell fails, because webkitgtk apparently no longer
supports
@@ -7545,45 +7552,54 @@ a secret password store, an adblocker, and a modern
UI.")
(add-before 'check 'pre-check
(lambda _
;; Tests require a running X server.
- (system "Xvfb :1 &")
+ (system "Xvfb :1 +extension GLX &")
(setenv "DISPLAY" ":1")
- #t)))
- #:configure-flags
- ;; Otherwise, the RUNPATH will lack the final 'epiphany' path component.
- (list (string-append "-Dc_link_args=-Wl,-rpath="
- (assoc-ref %outputs "out") "/lib/epiphany"))))
- (propagated-inputs
- `(("dconf" ,dconf)))
+ #t))
+ (add-after 'install 'move-help
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (help (assoc-ref outputs "help")))
+ (mkdir-p (string-append help "/share"))
+ (rename-file
+ (string-append out "/share/help")
+ (string-append help "/share/help"))
+ #t))))))
(native-inputs
- `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
- ("glib:bin" ,glib "bin") ; for glib-mkenums
+ `(("desktop-file-utils" ,desktop-file-utils)
+ ("glib:bin" ,glib "bin")
+ ("gobject-introspection" ,gobject-introspection)
("intltool" ,intltool)
("itstool" ,itstool)
("pkg-config" ,pkg-config)
- ("xmllint" ,libxml2)
- ("xorg-server" ,xorg-server-for-tests)))
+ ("xorg-server" ,xorg-server-for-tests)
+ ("xsltproc" ,libxslt)))
(inputs
- `(("avahi" ,avahi)
+ `(("appstream-util" ,appstream-glib)
+ ("avahi" ,avahi)
+ ("cairo" ,cairo)
("gcr" ,gcr)
- ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) ; for loading SVG files
+ ("gdk-pixbuf" ,gdk-pixbuf+svg)
+ ("glib" ,glib)
("glib-networking" ,glib-networking)
("gnome-desktop" ,gnome-desktop)
("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
+ ("gtk+" ,gtk+)
("json-glib" ,json-glib)
("iso-codes" ,iso-codes)
("libdazzle" ,libdazzle)
+ ("libhandy" ,libhandy)
("libnotify" ,libnotify)
("libsecret" ,libsecret)
- ("libxslt" ,libxslt)
- ("nettle" ,nettle) ; for hogweed
+ ("libsoup" ,libsoup)
+ ("libxml2" ,libxml2)
+ ("nettle" ,nettle)
("sqlite" ,sqlite)
("webkitgtk" ,webkitgtk)))
- (home-page "https://wiki.gnome.org/Apps/Web")
(synopsis "GNOME web browser")
- (description
- "Epiphany is a GNOME web browser targeted at non-technical users. Its
-principles are simplicity and standards compliance.")
- (license license:gpl2+)))
+ (description "Epiphany is a GNOME web browser based on the WebKit rendering
+engine.")
+ (home-page "https://wiki.gnome.org/Apps/Web")
+ (license license:gpl3+)))
(define-public d-feet
(package
- branch wip-desktop updated (1f653bd -> 734c5db), guix-commits, 2020/08/05
- 01/19: gnu: baobab: Update package definition., guix-commits, 2020/08/05
- 03/19: gnu: cheese: Update package definition., guix-commits, 2020/08/05
- 05/19: gnu: epiphany: Update package definition.,
guix-commits <=
- 10/19: gnu: gnome-backgrounds: Update package definition., guix-commits, 2020/08/05
- 11/19: gnu: gnome-bluetooth: Update package definition., guix-commits, 2020/08/05
- 13/19: gnu: gnome-calculator: Update package definition., guix-commits, 2020/08/05
- 14/19: gnu: gnome-calendar: Update package definition., guix-commits, 2020/08/05
- 07/19: gnu: evince: Update package definition., guix-commits, 2020/08/05
- 06/19: gnu: texlive-bin: Recompile with -fPIC., guix-commits, 2020/08/05
- 15/19: gnu: gnome-characters: Update package definition., guix-commits, 2020/08/05
- 08/19: gnu: file-roller: Update package definition., guix-commits, 2020/08/05
- 02/19: gnu: opencv: Disable structured_light test., guix-commits, 2020/08/05
- 04/19: gnu: eog: Update package definition., guix-commits, 2020/08/05