Compare commits

...

2 commits

Author SHA1 Message Date
eb25e86ee2
zotero: upgrade to 20240131 2024-01-31 14:54:14 -05:00
4ad3ef905b
user/firefox-esr: upgrade to 102.15.1 2024-01-31 14:44:27 -05:00
2 changed files with 19 additions and 17 deletions

View file

@ -2,7 +2,7 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> # Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=firefox-esr pkgname=firefox-esr
pkgver=102.10.0 pkgver=102.15.1
# Date of release, YY-MM-DD for metainfo file (see package()) # Date of release, YY-MM-DD for metainfo file (see package())
_releasedate=2023-04-11 _releasedate=2023-04-11
pkgrel=5 pkgrel=5
@ -645,7 +645,7 @@ package() {
} }
sha512sums=" sha512sums="
f2b53c35bdd22a3de6f32699b832babcbf499667197c02dd50cf0b6cd956e0f4471f420938c2ab72f0a0686ed99fe74e3184afe9b5f7169130879b8f8fd99f0b firefox-102.10.0esr.source.tar.xz bdb66b4fb5622af3e60580a3bcd464d98ef13cb38d6ac6c9e5fc046e567a003cf080125d7748950c91c442fde5e8024c50c4180d2f551aa3528160a3c05ae187 firefox-102.15.1esr.source.tar.xz
4e584621145cf8add069c6dac18e805b3274a1ee402d84e924df2341f7d3c5be261a93ef51283bacbd606f47fbdc628c4323ecc31efc5b403b8d224b18dc278f allow-custom-rust-vendor.patch 4e584621145cf8add069c6dac18e805b3274a1ee402d84e924df2341f7d3c5be261a93ef51283bacbd606f47fbdc628c4323ecc31efc5b403b8d224b18dc278f allow-custom-rust-vendor.patch
b1cb2db3122634f66d2bae7066e76f2dcd455c464e021db4de3b0a08314df95cb667846081682db549dd2af8a00831cabe44a2420c66cdfb5e3b5fa7e6bd21d3 avoid-redefinition.patch b1cb2db3122634f66d2bae7066e76f2dcd455c464e021db4de3b0a08314df95cb667846081682db549dd2af8a00831cabe44a2420c66cdfb5e3b5fa7e6bd21d3 avoid-redefinition.patch
0f793fc991e35ac17585c7ab5f86fe5925401bb9512167909706b85b51155e28b037e3a7ab775b243804195477ade36ec4ab32c3118885c52364079526ae26a9 bindgen.patch 0f793fc991e35ac17585c7ab5f86fe5925401bb9512167909706b85b51155e28b037e3a7ab775b243804195477ade36ec4ab32c3118885c52364079526ae26a9 bindgen.patch

View file

@ -1,16 +1,15 @@
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net> # Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=zotero pkgname=zotero
pkgver=7.0.0_git20230415 pkgver=7.0.0_git20240131
pkgrel=0 pkgrel=0
pkgdesc="A free, easy-to-use tool to help you collect, organize, cite, and share your research sources." pkgdesc="A free, easy-to-use tool to help you collect, organize, cite, and share your research sources."
# fix firefox # fix firefox
#arch="x86_64" #arch="x86_64"
url="https://github.com/zotero/zotero" url="https://github.com/zotero/zotero"
_giturl="https://lab.ilot.io/mirrors/zotero" _giturl="https://lab.ilot.io/mirrors/zotero"
_gittag_client=7.0.0_20230415 _gittag_client=7.0.0._20240131
_gittag_standalone=7.0.0_20230415 _gittag_build=20240131
_gittag_build=20230314
license="AGPL3" license="AGPL3"
depends=" depends="
dbus-glib dbus-glib
@ -33,7 +32,6 @@ source="
zotero.desktop zotero.desktop
xulrunner-get-alpine-firefox.diff xulrunner-get-alpine-firefox.diff
$_giturl-client/-/releases/$_gittag_client/downloads/tarball/zotero-client-$_gittag_client.tar.gz $_giturl-client/-/releases/$_gittag_client/downloads/tarball/zotero-client-$_gittag_client.tar.gz
$_giturl-standalone-build/-/releases/$_gittag_standalone/downloads/tarball/zotero-standalone-build-$_gittag_standalone.tar.gz
$_giturl-build/-/releases/$_gittag_build/downloads/tarball/zotero-build-$_gittag_build.tar.gz $_giturl-build/-/releases/$_gittag_build/downloads/tarball/zotero-build-$_gittag_build.tar.gz
" "
builddir="$srcdir"/zotero-client-$_gittag_client builddir="$srcdir"/zotero-client-$_gittag_client
@ -50,22 +48,27 @@ prepare() {
npm i --legacy-peer-deps npm i --legacy-peer-deps
cd "$srcdir"/zotero-standalone-build*
patch -p1 -i "$srcdir"/xulrunner-get-alpine-firefox.diff
# We need to had '.git/HEAD' and '.git/config' to the archive as the build expects those # We need to had '.git/HEAD' and '.git/config' to the archive as the build expects those
mkdir .git mkdir .git
echo '[remote "origin"]\nurl="http://github.com/zotero/zotero-standalone-build"' > .git/config echo '[remote "origin"]\nurl="http://github.com/zotero/zotero-standalone-build"' > .git/config
echo "$_gittag_standalone" > .git/HEAD echo "$_gittag_client" > .git/HEAD
(
cd "$builddir"/app
patch -p1 -i "$srcdir"/xulrunner-get-alpine-firefox.diff
./fetch_xulrunner.sh -p l ./fetch_xulrunner.sh -p l
./fetch_pdftools ./fetch_pdftools
)
} }
build() { build() {
NODE_OPTIONS=--openssl-legacy-provider npm run build NODE_OPTIONS=--openssl-legacy-provider npm run build
cd "$srcdir"/zotero-standalone-build* (
cd "$srcdir"/app
scripts/dir_build -p l scripts/dir_build -p l
)
} }
package() { package() {
@ -88,7 +91,6 @@ package() {
sha512sums=" sha512sums="
e1a0a4ff5cc1b53f13776ca11927d671426b0691e78e74a4adf2166d57bb2ae8ac409cc11a37ce5e2f680fdf05d5bc3849c33a9717aca1bb62d03ae5231a67fb zotero.desktop e1a0a4ff5cc1b53f13776ca11927d671426b0691e78e74a4adf2166d57bb2ae8ac409cc11a37ce5e2f680fdf05d5bc3849c33a9717aca1bb62d03ae5231a67fb zotero.desktop
1002732c348e3caceb077b8595a3a8b5c15dc17bc9c443e8dc96f8efe82ee37d9b5d7241530d82188846007504a277fd261763a4c64c3c259d9130db3139043d xulrunner-get-alpine-firefox.diff 1002732c348e3caceb077b8595a3a8b5c15dc17bc9c443e8dc96f8efe82ee37d9b5d7241530d82188846007504a277fd261763a4c64c3c259d9130db3139043d xulrunner-get-alpine-firefox.diff
88ae8204fde34bd6b1595ddddc153ded3a3bfcaeb5d65ffd8398d58f41787ddd2ff35051c4f74e0c83483b6ec234f1bf987acbebccfe73ad31be5cb4b55cc403 zotero-client-7.0.0_20230415.tar.gz 27ca570df108cb9ffa48254f7cc5ef133371dcab652a12b2f636b87a2378d51afa6c118533d8b1779071441fa2b26663d2275db9d441f17dc7431dfdc90996ea zotero-client-7.0.0._20240131.tar.gz
2dad54ac1a75e9ed62eec9fe08081e6807ce0167992059d3b7cd7aee3fb4803c694dc852ffe27f82cbe162c7536f2d77c302a8f947b507c6548f729a8c9d3057 zotero-standalone-build-7.0.0_20230415.tar.gz d7845eb78ca786e4010cd5d24821831613bdc0f67aec5572f5d024f0a47187d5e85956ffade54c43ff4edfb43e11cb79b0a495ce30452a124cb5086bf7f4be2d zotero-build-20240131.tar.gz
8379985c0da84d82bdba72a03daaf3afe80a30ef696a2da837cff12b23fdec75b62dd43061ede4687c6acc756181ecefd0a025a7fedce500137faba4ae3326ae zotero-build-20230314.tar.gz
" "