summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim@guixotic.coop>2025-11-03 17:21:45 +0900
committerMaxim Cournoyer <maxim@guixotic.coop>2025-11-10 13:58:44 +0900
commitd48266b215d29df2d1be78876a3b7ab2b5a402dc (patch)
tree5fb9ef980d1c2cba78e67bf12144511fc2422ac8 /gnu
parent470fdfc2ad60961bfdb45632ba61e6c40fac093f (diff)
gnu: icecat: Unbundle more system libraries.
* gnu/packages/gnuzilla.scm (icecat-minimal) [inputs]: Add libwebp. Update comment about nss. [#:configure-flags]: Add --disable-bootstrap. Replace --enable-system-ffi with --with-system-ffi. Add --with-system-libevent, --with-system-libvpx and --with-system-webp. [#:phases] {remove-bundled-libraries}: Remove bundled libevent, libffi, libjpeg and libvpx. Change-Id: I32b6aebcca619c2abb57424d7278b97d458412da
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/gnuzilla.scm35
1 files changed, 20 insertions, 15 deletions
diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index b54189a56a9..81dc43f2494 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -796,6 +796,7 @@ preferences/advanced-scripts.dtd"
;; UNBUNDLE-ME! libvorbis
libxft
libevent
+ libwebp
libxinerama
libxscrnsaver
libxcomposite
@@ -813,8 +814,8 @@ preferences/advanced-scripts.dtd"
hunspell
libnotify
nspr
- ;; UNBUNDLE-ME! nss
- ;; (pending resolution of <https://codeberg.org/guix/guix/issues/661>)
+ ;;nss-rapid ;pending resolution of
+ ;<https://codeberg.org/guix/guix/issues/661>
shared-mime-info
sqlite
eudev
@@ -856,6 +857,7 @@ preferences/advanced-scripts.dtd"
#:configure-flags
#~(list
+ "--disable-bootstrap" ;do not attempt to fetch toolchain binaries
"--disable-fhs"
"--enable-application=browser"
"--with-distribution-id=org.gnu"
@@ -898,24 +900,26 @@ preferences/advanced-scripts.dtd"
"--without-wasm-sandboxed-libraries"
;; Avoid bundled libraries.
+ "--enable-system-pixman"
+ "--with-system-ffi"
+ "--with-system-icu"
"--with-system-jpeg" ;must be libjpeg-turbo
+ "--with-system-libevent"
+ "--with-system-libvpx"
+ "--with-system-nspr"
+ ;; "--with-system-nss"
+ ;; (pending resolution of <https://codeberg.org/guix/guix/issues/661>)
"--with-system-png" ;must be libpng-apng
+ "--with-system-webp"
"--with-system-zlib"
+
+ ;; TODO: To be implemented.
;; UNBUNDLE-ME! "--with-system-bz2"
- ;; UNBUNDLE-ME! "--with-system-libevent"
;; UNBUNDLE-ME! "--with-system-ogg"
;; UNBUNDLE-ME! "--with-system-vorbis"
;; UNBUNDLE-ME! "--with-system-theora" ; wants theora-1.2, not yet released
- ;; UNBUNDLE-ME! "--with-system-libvpx"
- "--with-system-icu"
- "--with-system-nspr"
- ;; UNBUNDLE-ME! "--with-system-nss"
- ;; (pending resolution of <https://codeberg.org/guix/guix/issues/661>)
-
;; UNBUNDLE-ME! "--with-system-harfbuzz"
;; UNBUNDLE-ME! "--with-system-graphite2"
- "--enable-system-pixman"
- "--enable-system-ffi"
;; UNBUNDLE-ME! "--enable-system-sqlite"
)
@@ -976,18 +980,19 @@ preferences/advanced-scripts.dtd"
;; * libopus
;; * speex
;;
+ "ipc/chromium/src/third_party/libevent"
+ "js/src/ctypes/libffi"
+ "media/libjpeg"
+ "media/libvpx"
"modules/freetype2"
- ;; "media/libjpeg" ; needed for now, because media/libjpeg/moz.build is referenced from config/external/moz.build
+
;; UNBUNDLE-ME! "modules/zlib"
- ;; UNBUNDLE-ME! "ipc/chromium/src/third_party/libevent"
- ;; UNBUNDLE-ME! "media/libvpx"
;; UNBUNDLE-ME! "media/libogg"
;; UNBUNDLE-ME! "media/libvorbis"
;; UNBUNDLE-ME! "media/libtheora" ; wants theora-1.2, not yet released
;; UNBUNDLE-ME! "media/libtremor"
;; UNBUNDLE-ME! "gfx/harfbuzz"
;; UNBUNDLE-ME! "gfx/graphite2"
- "js/src/ctypes/libffi"
;; UNBUNDLE-ME! "db/sqlite3"
))))
(add-after 'remove-bundled-libraries 'fix-ffmpeg-runtime-linker