* [PATCH] gnu: icecat: Update to 31.1.1
@ 2014-10-09 3:42 Mark H Weaver
2014-10-09 4:06 ` Mark H Weaver
0 siblings, 1 reply; 3+ messages in thread
From: Mark H Weaver @ 2014-10-09 3:42 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 299 bytes --]
This is technically a pre-release, but given that our current Icecat has
at least one security hole (and probably others), and fails to build on
i686, I'm inclined to push it to master immediately.
I suppose I should also mention that I've only tested it on i686.
What do you think?
Mark
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: [PATCH] gnu: icecat: Update to 31.1.1 --]
[-- Type: text/x-patch, Size: 5191 bytes --]
From d74f4c12f005bbfbd419772f861d7693eb1b7c28 Mon Sep 17 00:00:00 2001
From: Mark H Weaver <mhw@netris.org>
Date: Wed, 8 Oct 2014 23:37:37 -0400
Subject: [PATCH] gnu: icecat: Update to 31.1.1.
* gnu/packages/gnuzilla.scm (icecat): Update to 31.1.1. Add 'pango',
'freetype', 'libxft' and 'pulseaudio' as inputs. Set
'out-of-source?' to #t. Remove 'sanitise' phase. Adapt customized
'configure' phase to handle 'out-of-source?' build. Add
'--with-l10n-base' argument to configure.
---
gnu/packages/gnuzilla.scm | 61 +++++++++++++++++++++++++++--------------------
1 file changed, 35 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 11515d4..1ae1f29 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -30,9 +30,11 @@
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages compression)
+ #:use-module (gnu packages fontutils)
#:use-module (gnu packages libevent)
#:use-module (gnu packages image)
#:use-module (gnu packages libffi)
+ #:use-module (gnu packages pulseaudio)
#:use-module (gnu packages python)
#:use-module (gnu packages xorg)
#:use-module (gnu packages gl)
@@ -42,16 +44,15 @@
(define-public icecat
(package
(name "icecat")
- (version "24.0")
+ (version "31.1.1")
(source
(origin
(method url-fetch)
- (uri (string-append "mirror://gnu/gnuzilla/"
- (substring version 0 (string-index version #\.))
- "/icecat-" version ".tar.gz"))
+ (uri (string-append "http://gnuzilla.gnu.org/releases/"
+ version "/" name "-" version ".tar.xz"))
(sha256
(base32
- "1vxzjwmhad6yxx4sk9zvapjgv5salcv10id061q0991ii3dycy9a"))))
+ "033p5b6akjbg33prqg57mhp5zx3svryqzbjb3k58ql6939bfmad8"))))
(build-system gnu-build-system)
(inputs
`(("alsa-lib" ,alsa-lib)
@@ -62,9 +63,13 @@
("gstreamer" ,gstreamer-0.10)
("gst-plugins-base" ,gst-plugins-base-0.10)
("gtk+" ,gtk+-2)
+ ("pango" ,pango)
+ ("freetype" ,freetype)
+ ("libxft" ,libxft)
("libevent" ,libevent)
("libxt" ,libxt)
("libffi" ,libffi)
+ ("pulseaudio" ,pulseaudio)
("mesa" ,mesa)
("unzip" ,unzip)
("yasm" ,yasm)
@@ -76,7 +81,8 @@
("python2-pysqlite" ,python2-pysqlite)
("pkg-config" ,pkg-config)))
(arguments
- `(#:tests? #f ; no check target
+ `(#:tests? #f ; no check target
+ #:out-of-source? #t ; must be built outside of the source directory
#:configure-flags '(;; Building with debugging symbols takes ~5GiB, so
;; disable it.
@@ -112,26 +118,29 @@
"--enable-system-ffi")
#:phases
- (alist-cons-before
- 'patch-source-shebangs 'sanitise
- (lambda _
- ;; delete dangling symlinks
- (delete-file "browser/base/content/.#aboutDialog.xul")
- (delete-file "browser/base/content/abouthome/.#aboutHome.xhtml")
- (delete-file "browser/branding/unofficial/content/.#aboutHome.xhtml")
- (delete-file "toolkit/crashreporter/google-breakpad/autotools/compile"))
- (alist-replace
- 'configure
- ;; configure does not work followed by both "SHELL=..." and
- ;; "CONFIG_SHELL=..."; set environment variables instead
- (lambda* (#:key outputs configure-flags #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (setenv "SHELL" (which "bash"))
- (setenv "CONFIG_SHELL" (which "bash"))
- (zero? (apply system* "./configure"
- (string-append "--prefix=" out)
- configure-flags))))
- %standard-phases))))
+ (alist-replace
+ 'configure
+ ;; configure does not work followed by both "SHELL=..." and
+ ;; "CONFIG_SHELL=..."; set environment variables instead
+ (lambda* (#:key outputs configure-flags #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bash (which "bash"))
+ (abs-srcdir (getcwd))
+ (srcdir (string-append "../" (basename abs-srcdir)))
+ (flags `(,(string-append "--prefix=" out)
+ ,(string-append "--with-l10n-base="
+ abs-srcdir "/l10n")
+ ,@configure-flags)))
+ (setenv "SHELL" bash)
+ (setenv "CONFIG_SHELL" bash)
+ (mkdir "../build")
+ (chdir "../build")
+ (format #t "build directory: ~s~%" (getcwd))
+ (format #t "configure flags: ~s~%" flags)
+ (zero? (apply system* bash
+ (string-append srcdir "/configure")
+ flags))))
+ %standard-phases)))
(home-page "http://www.gnu.org/software/gnuzilla/")
(synopsis "Entirely free browser derived from Mozilla Firefox")
(description
--
2.1.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] gnu: icecat: Update to 31.1.1
2014-10-09 3:42 [PATCH] gnu: icecat: Update to 31.1.1 Mark H Weaver
@ 2014-10-09 4:06 ` Mark H Weaver
2014-10-09 7:02 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Mark H Weaver @ 2014-10-09 4:06 UTC (permalink / raw)
To: guix-devel
Mark H Weaver <mhw@netris.org> writes:
> This is technically a pre-release, but given that our current Icecat has
> at least one security hole (and probably others), and fails to build on
> i686, I'm inclined to push it to master immediately.
After some more testing, I went ahead and pushed this.
Mark
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] gnu: icecat: Update to 31.1.1
2014-10-09 4:06 ` Mark H Weaver
@ 2014-10-09 7:02 ` Ludovic Courtès
0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2014-10-09 7:02 UTC (permalink / raw)
To: Mark H Weaver; +Cc: guix-devel
Mark H Weaver <mhw@netris.org> skribis:
> Mark H Weaver <mhw@netris.org> writes:
>> This is technically a pre-release, but given that our current Icecat has
>> at least one security hole (and probably others), and fails to build on
>> i686, I'm inclined to push it to master immediately.
>
> After some more testing, I went ahead and pushed this.
Very well, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-10-09 7:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-09 3:42 [PATCH] gnu: icecat: Update to 31.1.1 Mark H Weaver
2014-10-09 4:06 ` Mark H Weaver
2014-10-09 7:02 ` Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).