summaryrefslogtreecommitdiff
path: root/libre/icecat
diff options
context:
space:
mode:
Diffstat (limited to 'libre/icecat')
-rw-r--r--libre/icecat/PKGBUILD14
-rw-r--r--libre/icecat/deny_missing_docs.patch38
2 files changed, 48 insertions, 4 deletions
diff --git a/libre/icecat/PKGBUILD b/libre/icecat/PKGBUILD
index b1530c5f6..c6659aefa 100644
--- a/libre/icecat/PKGBUILD
+++ b/libre/icecat/PKGBUILD
@@ -17,7 +17,7 @@
pkgname=icecat
_pkgver=60.3.0-gnu1
pkgver=${_pkgver//-/_}
-pkgrel=4
+pkgrel=5
pkgdesc="GNU IceCat - a libre standalone web browser based on Mozilla Firefox."
arch=(x86_64 i686 armv7h)
license=(MPL GPL LGPL)
@@ -38,19 +38,23 @@ source=(http://ftp.gnu.org/gnu/gnuzilla/${_pkgver%-*}/$pkgname-$_pkgver.tar.bz2{
gnu_headshadow.png
libre-searchengines.patch
libre.patch
- mozilla-1463035.patch)
+ mozilla-1463035.patch
+ deny_missing_docs.patch)
sha256sums=('6145327092b4b195a4f63d0e86f4857eeba5607ffeb69b6f3bceb36e89a19645'
'SKIP'
'2f9d117c1524312fb45f3e953cb0de02c525fd385a9b2b6d47308c8aaab0aedd'
'93e3001ce152e1d142619e215a9ef07dd429943b99d21726c25da9ceb31e31cd'
'ec6bedc8e7af6db74ce57ea07fe34d266af0280d8d7b46387e6cf5a27c1e6ca7'
'6057f40b2a35a0ad01faa810d8cd41d6c22bddc8ae32e883e68b9fc543e4c92d'
- '6c3781e13d3e8343aa2435bdb78d2e2666891154c7abd847388e5331e0424edb')
+ '6c3781e13d3e8343aa2435bdb78d2e2666891154c7abd847388e5331e0424edb'
+ 'cb1116c783995b8187574f84acb8365681aedaa2c76222cf060d31fedcb063c4')
validpgpkeys=('A57369A8BABC2542B5A0368C3C76EED7D7E04784') # Ruben Rodriguez
prepare() {
cd "$srcdir/$pkgname-${pkgver%_*}"
+ patch -Np1 -i ../deny_missing_docs.patch
+
# Patch to move files directly to /usr/lib/icecat. No more symlinks.
sed -e 's;$(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION);$(libdir)/$(MOZ_APP_NAME);g' -i config/baseconfig.mk
sed -e 's;$(libdir)/$(MOZ_APP_NAME)-devel-$(MOZ_APP_VERSION);$(libdir)/$(MOZ_APP_NAME)-devel;g' -i config/baseconfig.mk
@@ -63,7 +67,9 @@ ac_add_options --enable-release
ac_add_options --enable-linker=gold
ac_add_options --enable-hardening
ac_add_options --enable-optimize
-ac_add_options --enable-rust-simd
+# Bug 1521249 --enable-rust-simd fails to build using Rust 1.33
+# https://bugzilla.mozilla.org/show_bug.cgi?id=1521249
+#ac_add_options --enable-rust-simd
# Branding
ac_add_options --with-app-basename=icecat
diff --git a/libre/icecat/deny_missing_docs.patch b/libre/icecat/deny_missing_docs.patch
new file mode 100644
index 000000000..f7e2b1786
--- /dev/null
+++ b/libre/icecat/deny_missing_docs.patch
@@ -0,0 +1,38 @@
+diff -ru a/servo/components/style/lib.rs b/servo/components/style/lib.rs
+--- a/servo/components/style/lib.rs 2019-03-13 22:33:48.000000000 +0100
++++ b/servo/components/style/lib.rs 2019-03-20 20:33:35.000795785 +0100
+@@ -23,7 +23,6 @@
+ //! [cssparser]: ../cssparser/index.html
+ //! [selectors]: ../selectors/index.html
+
+-#![deny(missing_docs)]
+
+ extern crate app_units;
+ extern crate arrayvec;
+@@ -148,7 +147,6 @@
+ /// Generated from the properties.mako.rs template by build.rs
+ #[macro_use]
+ #[allow(unsafe_code)]
+-#[deny(missing_docs)]
+ pub mod properties {
+ include!(concat!(env!("OUT_DIR"), "/properties.rs"));
+ }
+Sólo en servo/components/style: lib.rs_new
+Sólo en servo/components: style_derive
+diff -ru a/servo/components/style_traits/lib.rs b/servo/components/style_traits/lib.rs
+--- a/servo/components/style_traits/lib.rs 2019-03-13 22:33:48.000000000 +0100
++++ b/servo/components/style_traits/lib.rs 2019-03-20 20:33:40.458773473 +0100
+@@ -9,8 +9,6 @@
+ #![crate_name = "style_traits"]
+ #![crate_type = "rlib"]
+
+-#![deny(unsafe_code, missing_docs)]
+-
+ extern crate app_units;
+ #[macro_use] extern crate bitflags;
+ #[macro_use] extern crate cssparser;
+Sólo en servo/components/style_traits: lib.rs_new
+Sólo en servo/components: url
+Sólo en servo/components: webdriver_server
+Sólo en servo/components: webvr
+Sólo en servo/components: webvr_traits