[3.20] user/zotero: upgrade to 7.0.0_beta83 #508
3 changed files with 84 additions and 122 deletions
|
@ -1,18 +1,18 @@
|
|||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
pkgname=zotero
|
||||
pkgver=7.0.0_beta76
|
||||
pkgver=7.0.0_beta83
|
||||
pkgrel=0
|
||||
_fxver=115.9.1
|
||||
_gittag=$pkgver
|
||||
# Date of release, YY-MM-DD for metainfo file (see package())
|
||||
# https://www.mozilla.org/firefox/organizations/notes/
|
||||
_releasedate=2024-03-22
|
||||
_releasedate=2024-06-03
|
||||
pkgdesc="A free, easy-to-use tool to help you collect, organize, cite, and share your research sources."
|
||||
url="https://www.mozilla.org/en-US/firefox/organizations/"
|
||||
# s390x and riscv64: blocked by rust and cargo
|
||||
# armhf: build failure on armhf due to wasm
|
||||
#arch="x86_64 armv7 aarch64 x86 ppc64le"
|
||||
arch="x86_64 armv7 aarch64 x86 ppc64le"
|
||||
license="GPL-3.0-only AND LGPL-2.1-only AND LGPL-3.0-only AND MPL-2.0"
|
||||
depends="
|
||||
ffmpeg-libavcodec
|
||||
|
@ -82,6 +82,8 @@ source="https://ftp.mozilla.org/pub/firefox/releases/${_fxver}esr/source/firefox
|
|||
ppc-webrtc.patch
|
||||
python-deps.patch
|
||||
rust-lto-thin.patch
|
||||
https://dev.alpinelinux.org/archive/firefox/rust1.78-packed-to-portable_simd.patch
|
||||
rust1.78-qcms-stdsimd.patch
|
||||
sandbox-fork.patch
|
||||
sandbox-largefile.patch
|
||||
sandbox-sched_setscheduler.patch
|
||||
|
@ -93,9 +95,9 @@ source="https://ftp.mozilla.org/pub/firefox/releases/${_fxver}esr/source/firefox
|
|||
vendor-prefs.js
|
||||
|
||||
zotero.desktop
|
||||
zotero_drop-phantomjs.patch
|
||||
https://lab.ilot.io/mirrors/zotero-client/-/releases/$_gittag/downloads/tarball/zotero-client-$_gittag.tar.gz
|
||||
zotero_build-modifications.patch
|
||||
zotero_drop-phantomjs.patch
|
||||
zotero_test-drop-build.patch
|
||||
zotero_test-fix-chars.patch
|
||||
zotero_test-push-timeout-to-30sec.patch
|
||||
|
@ -157,12 +159,15 @@ prepare() {
|
|||
|
||||
# zotero build expects to be in a git repo
|
||||
git init
|
||||
git config user.name info
|
||||
git config user.email info@example.org
|
||||
git commit --allow-empty -m 'Initial'
|
||||
|
||||
npm i --legacy-peer-deps
|
||||
)
|
||||
default_prepare
|
||||
|
||||
rm -rf third_party/rust/packed_simd/
|
||||
cp "$srcdir"/stab.h toolkit/crashreporter/google-breakpad/src/
|
||||
|
||||
_clear_vendor_checksums audio_thread_priority
|
||||
|
@ -372,6 +377,8 @@ c0437a6753f3f350968fa12d250efdfe1bea77baf0e4c06b072b5cc9e78c774dbf4506bc53633703
|
|||
6f60e83599041db1b707c21784197ea9816b2c936b89a274bfc24554a600981e6f28448fe41fab0942bd31acd49b1c00beb2eb0961149f2ffa6a4154be123ea7 ppc-webrtc.patch
|
||||
4e40b34c5f77a1a21fe971a6fcd8a21b1a63423a3a7932a5a6e1c7a2779f9f06a561c806614a01931679a4b1c6afdfd8ae1f3cc6b673f259ccd368e8e54f6e90 python-deps.patch
|
||||
1c6918dd6655d3a1251bfd4af2e1c561cbb00d540a883b4c1ebf7f5de530d754d9ac07b4b5f56cdab6c511d25c8910ec94043f5733e97501a67abffe1bafaeb1 rust-lto-thin.patch
|
||||
e4795b88e572bb3b6f009dbacc7872b59db2f8facbe2b07f14dd4f45a77c22049783581869f18c6bb3f04d6edb3da59347278321cce2bfa629a4d35e136cda5c rust1.78-packed-to-portable_simd.patch
|
||||
eae1afad93cc5fa7699b156619600ca4b41e67943b8b6e05ab972d449aece93bbf1e68a5ea1a7b1c9278633dbf7cf31503255558e3e06ddf168b3937a0e014e8 rust1.78-qcms-stdsimd.patch
|
||||
2518f2fc75b5db30058e0735f47d60fdf1e7adfaeee4b33fb2afb1bd9a616ce943fd88f4404d0802d4083703f4acf1d5ad42377218d025bc768807fbaf7e1609 sandbox-fork.patch
|
||||
b7d0a6126bdf6c0569f80aabf5b37ed2c7a35712eb8a0404a2d85381552f5555d4f97d213ea26cec6a45dc2785f22439376ed5f8e78b4fd664ef0223307b333e sandbox-largefile.patch
|
||||
f8c3555ef6207933cbffbf4fc101a9b4c0d2990c0063162f0f0bde70ef0b46f86bfac42e7110695183424a87948de593f3927b2d8509ede3e4fc7bd8a1fad1ce sandbox-sched_setscheduler.patch
|
||||
|
@ -380,9 +387,9 @@ d354f48a29bfc16719f3b230b1395063239d4420f9e47522de4662392d9697b15f931ca3bf6055d1
|
|||
382510375b1a2fa79be0ab79e3391a021ae2c022429ffbaa7e7a69166f99bb56d01e59a1b10688592a29238f21c9d6977672bd77f9fae439b66bdfe0c55ddb15 mozilla-location.keys
|
||||
fc45bc3ffb9404e5338ea26a9f04807b40f6f516324972cddd48bedb91b8bd7c6b8d4e03a0209020f5e67b703bc4ff89389985791b9bd544a0fc3951e2dc338e vendor-prefs.js
|
||||
e1a0a4ff5cc1b53f13776ca11927d671426b0691e78e74a4adf2166d57bb2ae8ac409cc11a37ce5e2f680fdf05d5bc3849c33a9717aca1bb62d03ae5231a67fb zotero.desktop
|
||||
e8442e68c53d0057947e4abb4d7ab2f4d52dbb88372d362006c43780d65cae1fe579ab167c772d36113c7937c296b7e4306027319757fb0d36f76a851be6e0e3 zotero-client-7.0.0_beta76.tar.gz
|
||||
abbcb92fe89029833bbfb15a8a65204c4043c8c9a372d1aa3d18756584cea32078238caded7f0099314228093b09ac10e18ac3c8ecb8138d30f57664c63f7f8a zotero_drop-phantomjs.patch
|
||||
4b5125ae1cc235803e6f4eb89787c631b3b55c6b34263fe16aef4b2c371df28d9daf05d83a7e2fa36c05a2153585d674a23bec98e0488d9dc9eabe5f5924a873 zotero-client-7.0.0_beta83.tar.gz
|
||||
746dbabbb3ea9199d17891e2079b9256d04843f548132178862117d2334694d98e2cc981945d72f31d0e5b2c42904d371633f6905996bb580aa0b5ae95c64ddc zotero_build-modifications.patch
|
||||
cfe583f2da7508a4e07734a42519d7c28265928fe14c14b2f650ca6e56c35cb79272b03ed3bfb81e06c4e01458b55e04d10df5cbdd549da0d97206b2c10c3530 zotero_drop-phantomjs.patch
|
||||
337070ee4c44ccb35c6b6290c18327740bb9fccfd1a6ad1045782e83daa290b6ced7d53955d3a889f661d588738a64f2e7f383639f4c46be9fdf891168abc9ff zotero_test-drop-build.patch
|
||||
f0e4f09496531222e8400959f9ef12852bca269eb3bf4c3b87ccaf92f28a12b9374461a1c79ad294a4393dbe30800aa1c85497033d0bc304fa8c198dfab3efd2 zotero_test-fix-chars.patch
|
||||
9dc390d8bae42e645cae45fe5551751d8f38d5c1b8b2cc0eec1c2191f4bde293ffb2c67cfc4de765f2d48b1da4d5fcd4f1c03711e5da3180cd1b63710ccf5599 zotero_test-push-timeout-to-30sec.patch
|
||||
|
|
64
user/zotero/rust1.78-qcms-stdsimd.patch
Normal file
64
user/zotero/rust1.78-qcms-stdsimd.patch
Normal file
|
@ -0,0 +1,64 @@
|
|||
Relevant bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=1882291
|
||||
|
||||
|
||||
diff --git a/Cargo.lock b/Cargo.lock
|
||||
--- a/Cargo.lock
|
||||
+++ b/Cargo.lock
|
||||
@@ -4274,10 +4274,11 @@
|
||||
[[package]]
|
||||
name = "qcms"
|
||||
version = "0.2.0"
|
||||
dependencies = [
|
||||
"libc",
|
||||
+ "version_check",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "qlog"
|
||||
version = "0.4.0"
|
||||
diff --git a/gfx/qcms/Cargo.toml b/gfx/qcms/Cargo.toml
|
||||
--- a/gfx/qcms/Cargo.toml
|
||||
+++ b/gfx/qcms/Cargo.toml
|
||||
@@ -18,5 +18,8 @@
|
||||
iccv4-enabled = []
|
||||
cmyk = []
|
||||
|
||||
[dependencies]
|
||||
libc = {version = "0.2", optional = true }
|
||||
+
|
||||
+[build-dependencies]
|
||||
+version_check = "0.9"
|
||||
diff --git a/gfx/qcms/build.rs b/gfx/qcms/build.rs
|
||||
new file mode 100644
|
||||
--- /dev/null
|
||||
+++ b/gfx/qcms/build.rs
|
||||
@@ -0,0 +1,7 @@
|
||||
+extern crate version_check as rustc;
|
||||
+
|
||||
+fn main() {
|
||||
+ if rustc::is_min_version("1.78.0").unwrap_or(false) {
|
||||
+ println!("cargo:rustc-cfg=stdsimd_split");
|
||||
+ }
|
||||
+}
|
||||
diff --git a/gfx/qcms/src/lib.rs b/gfx/qcms/src/lib.rs
|
||||
--- a/gfx/qcms/src/lib.rs
|
||||
+++ b/gfx/qcms/src/lib.rs
|
||||
@@ -5,13 +5,15 @@
|
||||
#![allow(non_camel_case_types)]
|
||||
#![allow(non_snake_case)]
|
||||
#![allow(non_upper_case_globals)]
|
||||
// These are needed for the neon SIMD code and can be removed once the MSRV supports the
|
||||
// instrinsics we use
|
||||
-#![cfg_attr(feature = "neon", feature(stdsimd))]
|
||||
+#![cfg_attr(all(stdsimd_split, target_arch = "arm", feature = "neon"), feature(stdarch_arm_neon_intrinsics))]
|
||||
+#![cfg_attr(all(stdsimd_split, target_arch = "arm", feature = "neon"), feature(stdarch_arm_feature_detection))]
|
||||
+#![cfg_attr(all(not(stdsimd_split), target_arch = "arm", feature = "neon"), feature(stdsimd))]
|
||||
#![cfg_attr(
|
||||
- feature = "neon",
|
||||
+ all(target_arch = "arm", feature = "neon"),
|
||||
feature(arm_target_feature, raw_ref_op)
|
||||
|
||||
)]
|
||||
|
||||
/// These values match the Rendering Intent values from the ICC spec
|
||||
|
|
@ -1,117 +1,8 @@
|
|||
diff --git a/zotero/reader/epubjs/epub.js/package.json.orig b/zotero/reader/epubjs/epub.js/package.json
|
||||
index bb440ac..b4c5c32 100644
|
||||
--- a/zotero/reader/epubjs/epub.js/package.json.orig
|
||||
+++ b/zotero/reader/epubjs/epub.js/package.json
|
||||
@@ -41,7 +41,6 @@
|
||||
"karma-chrome-launcher": "^3.1.0",
|
||||
"karma-mocha": "^2.0.1",
|
||||
"karma-mocha-reporter": "^2.2.5",
|
||||
- "karma-phantomjs-launcher": "^1.0.4",
|
||||
"karma-sourcemap-loader": "^0.3.7",
|
||||
"karma-webpack": "^5.0.0",
|
||||
"mocha": "^7.2.0",
|
||||
diff --git a/zotero/reader/epubjs/epub.js/package-lock.json.orig b/zotero/reader/epubjs/epub.js/package-lock.json
|
||||
index 6d728e7..c889b68 100644
|
||||
--- a/zotero/reader/epubjs/epub.js/package-lock.json.orig
|
||||
+++ b/zotero/reader/epubjs/epub.js/package-lock.json
|
||||
@@ -28,7 +28,6 @@
|
||||
"karma-chrome-launcher": "^3.1.0",
|
||||
"karma-mocha": "^2.0.1",
|
||||
"karma-mocha-reporter": "^2.2.5",
|
||||
- "karma-phantomjs-launcher": "^1.0.4",
|
||||
"karma-sourcemap-loader": "^0.3.7",
|
||||
"karma-webpack": "^5.0.0",
|
||||
"mocha": "^7.2.0",
|
||||
@@ -8855,16 +8854,6 @@
|
||||
"node": ">=4"
|
||||
}
|
||||
},
|
||||
- "node_modules/karma-phantomjs-launcher": {
|
||||
- "version": "1.0.4",
|
||||
- "resolved": "https://registry.npmjs.org/karma-phantomjs-launcher/-/karma-phantomjs-launcher-1.0.4.tgz",
|
||||
- "integrity": "sha1-0jyjSAG9qYY60xjju0vUBisTrNI=",
|
||||
- "dev": true,
|
||||
- "dependencies": {
|
||||
- "lodash": "^4.0.1",
|
||||
- "phantomjs-prebuilt": "^2.1.7"
|
||||
- }
|
||||
- },
|
||||
"node_modules/karma-sourcemap-loader": {
|
||||
"version": "0.3.7",
|
||||
"resolved": "https://registry.npmjs.org/karma-sourcemap-loader/-/karma-sourcemap-loader-0.3.7.tgz",
|
||||
@@ -11342,26 +11331,6 @@
|
||||
"integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=",
|
||||
"dev": true
|
||||
},
|
||||
- "node_modules/phantomjs-prebuilt": {
|
||||
- "version": "2.1.14",
|
||||
- "resolved": "https://registry.npmjs.org/phantomjs-prebuilt/-/phantomjs-prebuilt-2.1.14.tgz",
|
||||
- "integrity": "sha1-1T0xH8+30dCN2yQBRVjxGIxRbaA=",
|
||||
- "dev": true,
|
||||
- "dependencies": {
|
||||
- "es6-promise": "~4.0.3",
|
||||
- "extract-zip": "~1.5.0",
|
||||
- "fs-extra": "~1.0.0",
|
||||
- "hasha": "~2.2.0",
|
||||
- "kew": "~0.7.0",
|
||||
- "progress": "~1.1.8",
|
||||
- "request": "~2.79.0",
|
||||
- "request-progress": "~2.0.1",
|
||||
- "which": "~1.2.10"
|
||||
- },
|
||||
- "bin": {
|
||||
- "phantomjs": "bin/phantomjs"
|
||||
- }
|
||||
- },
|
||||
"node_modules/picocolors": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
|
||||
@@ -22124,16 +22093,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
- "karma-phantomjs-launcher": {
|
||||
- "version": "1.0.4",
|
||||
- "resolved": "https://registry.npmjs.org/karma-phantomjs-launcher/-/karma-phantomjs-launcher-1.0.4.tgz",
|
||||
- "integrity": "sha1-0jyjSAG9qYY60xjju0vUBisTrNI=",
|
||||
- "dev": true,
|
||||
- "requires": {
|
||||
- "lodash": "^4.0.1",
|
||||
- "phantomjs-prebuilt": "^2.1.7"
|
||||
- }
|
||||
- },
|
||||
"karma-sourcemap-loader": {
|
||||
"version": "0.3.7",
|
||||
"resolved": "https://registry.npmjs.org/karma-sourcemap-loader/-/karma-sourcemap-loader-0.3.7.tgz",
|
||||
@@ -23984,23 +23943,6 @@
|
||||
"integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=",
|
||||
"dev": true
|
||||
},
|
||||
- "phantomjs-prebuilt": {
|
||||
- "version": "2.1.14",
|
||||
- "resolved": "https://registry.npmjs.org/phantomjs-prebuilt/-/phantomjs-prebuilt-2.1.14.tgz",
|
||||
- "integrity": "sha1-1T0xH8+30dCN2yQBRVjxGIxRbaA=",
|
||||
- "dev": true,
|
||||
- "requires": {
|
||||
- "es6-promise": "~4.0.3",
|
||||
- "extract-zip": "~1.5.0",
|
||||
- "fs-extra": "~1.0.0",
|
||||
- "hasha": "~2.2.0",
|
||||
- "kew": "~0.7.0",
|
||||
- "progress": "~1.1.8",
|
||||
- "request": "~2.79.0",
|
||||
- "request-progress": "~2.0.1",
|
||||
- "which": "~1.2.10"
|
||||
- }
|
||||
- },
|
||||
"picocolors": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
|
||||
diff --git a/zotero/reader/package-lock.json.orig b/zotero/reader/package-lock.json
|
||||
index 949e5de..0485ddd 100644
|
||||
index e3a638f..0800781 100644
|
||||
--- a/zotero/reader/package-lock.json.orig
|
||||
+++ b/zotero/reader/package-lock.json
|
||||
@@ -83,7 +83,6 @@
|
||||
@@ -84,7 +84,6 @@
|
||||
"karma-chrome-launcher": "^3.1.0",
|
||||
"karma-mocha": "^2.0.1",
|
||||
"karma-mocha-reporter": "^2.2.5",
|
||||
|
@ -119,7 +10,7 @@ index 949e5de..0485ddd 100644
|
|||
"karma-sourcemap-loader": "^0.3.7",
|
||||
"karma-webpack": "^5.0.0",
|
||||
"mocha": "^7.2.0",
|
||||
@@ -12332,20 +12331,6 @@
|
||||
@@ -12342,20 +12341,6 @@
|
||||
"node": ">=4"
|
||||
}
|
||||
},
|
||||
|
@ -140,7 +31,7 @@ index 949e5de..0485ddd 100644
|
|||
"node_modules/karma-sourcemap-loader": {
|
||||
"version": "0.3.8",
|
||||
"resolved": "https://registry.npmjs.org/karma-sourcemap-loader/-/karma-sourcemap-loader-0.3.8.tgz",
|
||||
@@ -15330,40 +15315,6 @@
|
||||
@@ -15340,40 +15325,6 @@
|
||||
"integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==",
|
||||
"dev": true
|
||||
},
|
||||
|
@ -181,7 +72,7 @@ index 949e5de..0485ddd 100644
|
|||
"node_modules/picocolors": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
|
||||
@@ -27177,7 +27128,6 @@
|
||||
@@ -27192,7 +27143,6 @@
|
||||
"karma-chrome-launcher": "^3.1.0",
|
||||
"karma-mocha": "^2.0.1",
|
||||
"karma-mocha-reporter": "^2.2.5",
|
||||
|
@ -189,7 +80,7 @@ index 949e5de..0485ddd 100644
|
|||
"karma-sourcemap-loader": "^0.3.7",
|
||||
"karma-webpack": "^5.0.0",
|
||||
"mocha": "^7.2.0",
|
||||
@@ -30497,16 +30447,6 @@
|
||||
@@ -30512,16 +30462,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -206,7 +97,7 @@ index 949e5de..0485ddd 100644
|
|||
"karma-sourcemap-loader": {
|
||||
"version": "0.3.8",
|
||||
"resolved": "https://registry.npmjs.org/karma-sourcemap-loader/-/karma-sourcemap-loader-0.3.8.tgz",
|
||||
@@ -32672,34 +32612,6 @@
|
||||
@@ -32687,34 +32627,6 @@
|
||||
"integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==",
|
||||
"dev": true
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue