unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 940ca36b6c30551ca59a7a065a13f647c5d1aec5 1384 bytes (raw)
name: packages/patches/icecat-102-makeicecat.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
 
Make some of the changes needed to the 'makeicecat' script, to allow it to run
in a snippet without network access.  After this patch is applied, some
additional changes will be made using 'substitute*'.

diff --git a/makeicecat b/makeicecat
index bf2b7a6..bc3b19b 100755
--- a/makeicecat
+++ b/makeicecat
@@ -56,7 +56,7 @@ readonly SOURCEDIR=icecat-${FFVERSION}
 # debug/shell options
 readonly DEVEL=0
 set -euo pipefail
-(( DEVEL )) && set -x
+set -x
 
 
 ###############################################################################
@@ -455,7 +455,7 @@ configure_search()
 
 
     # Process various JSON pre-configuration dumps.
-    python3 ../../tools/process-json-files.py . browser/components/extensions/schemas/
+    python3 "${DATADIR}"/../tools/process-json-files.py . browser/components/extensions/schemas/
 }
 
 configure_mobile()
@@ -837,12 +837,12 @@ finalize_sourceball()
 # entry point
 ###############################################################################
 
-validate_env || exit 1
-prepare_env
-fetch_source
-verify_sources
-extract_sources
-fetch_l10n
+# validate_env || exit 1
+# prepare_env
+# fetch_source
+# verify_sources
+# extract_sources
+# fetch_l10n
 apply_patches
 configure
 configure_search
@@ -854,4 +854,4 @@ prepare_macos_packaging
 configure_extensions
 configure_onboarding
 apply_bugfixes
-finalize_sourceball
+# finalize_sourceball

debug log:

solving 940ca36b6c30551ca59a7a065a13f647c5d1aec5 ...
found 940ca36b6c30551ca59a7a065a13f647c5d1aec5 in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

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).