gnu: Remove webkitgtk-2.4 and webkitgtk/gtk+-2.

These were old, unmaintained versions of webkitgtk with many known remote code
execution vulnerabilities.  With the recent GnuCash 3.0 update in commit
53e66fbceb, they are no longer needed.

* gnu/packages/webkit.scm (webkitgtk-2.4, webkitgtk/gtk+-2): Remove variables.
This commit is contained in:
Mark H Weaver 2018-04-17 02:07:36 -04:00
parent 6c293a809b
commit 38039b4fa9
No known key found for this signature in database
GPG Key ID: 7CEF29847562C516
1 changed files with 0 additions and 47 deletions

View File

@ -149,50 +149,3 @@ HTML/CSS applications to full-fledged web browsers.")
license:lgpl2.1+
license:bsd-2
license:bsd-3))))
;; Latest release of the stable 2.4 series, with WebKit1 support.
(define-public webkitgtk-2.4
(package (inherit webkitgtk)
(name "webkitgtk")
(version "2.4.11")
(source (origin
(method url-fetch)
(uri (string-append "http://www.webkitgtk.org/releases/"
name "-" version ".tar.xz"))
(sha256
(base32
"1xsvnvyvlywwyf6m9ainpsg87jkxjmd37q6zgz9cxb7v3c2ym2jq"))))
(build-system gnu-build-system)
(arguments
'(#:tests? #f ; no tests
;; FIXME: Disabling parallel building is a quick hack to avoid the
;; failure described in
;; https://lists.gnu.org/archive/html/guix-devel/2016-01/msg00837.html
;; A more structural fix is needed.
#:parallel-build? #f
#:phases (modify-phases %standard-phases
(add-after
'unpack 'set-gcc
(lambda _ (setenv "CC" "gcc") #t)))))
(native-inputs
`(("flex" ,flex)
("which" ,which)
,@(package-native-inputs webkitgtk)))))
;; Last GTK+2 port, required by GnuCash.
(define-public webkitgtk/gtk+-2
(package (inherit webkitgtk-2.4)
(name "webkitgtk-gtk2")
(arguments
`(;; FIXME: Disabling parallel building is a quick hack to avoid the
;; failure described in
;; https://lists.gnu.org/archive/html/guix-devel/2016-01/msg00837.html
;; A more structural fix is needed.
#:parallel-build? #f
#:configure-flags
'("--enable-webkit2=no"
"--with-gtk=2.0")
,@(package-arguments webkitgtk-2.4)))
(propagated-inputs
`(("gtk+-2" ,gtk+-2)
("libsoup" ,libsoup)))))