From: pullmoll <pullmoll@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [Package Request]: Zotero - bibliography & citation management
Date: Wed, 29 Apr 2020 22:32:30 +0200 [thread overview]
Message-ID: <20200429203230.1xl96-NKXbqMcfVPVBhauj6JznhTs3pNkJ2ifC8esGA@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21434@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 2712 bytes --]
New comment by pullmoll on void-packages repository
https://github.com/void-linux/void-packages/issues/21434#issuecomment-621414192
Comment:
I've also been trying to package this.. based on [this description](https://www.zotero.org/support/dev/client_coding/building_the_standalone_client).
Not very nice and currently failing in `scripts/check_requirements` at checking `AWS S3 Access: Unable to locate credentials. You can configure credentials by running "aws configure".`
Current template:
```
# Template file for 'zotero'
pkgname=zotero
version=5.0.85
_zotero_build_hash=468b2a1f48b736b0d460dccdf8e57bf6edc47aa5
_zotero_translators_hash=f0c32b0f8ac8d86291ddf7d5f0d27f75c64d5f69
revision=1
create_wrksrc=yes
hostmakedepends="curl git nodejs perl openssh python python3
rsync tar unzip wget which zip"
makedepends="mozjs60-devel"
short_desc="Tool to help collect, organize, cite, and share research sources"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="AGPL-3.0-or-later"
homepage="https://www.zotero.org/"
distfiles="https://github.com/zotero/zotero/archive/${version}.tar.gz>zotero-${version}.tar.gz
https://github.com/zotero/zotero-build/archive/${_zotero_build_hash}.tar.gz>zotero-build-${_zotero_build_hash}.tar.gz
https://github.com/zotero/translators/archive/${_zotero_translators_hash}.tar.gz>translators-${_zotero_translators_hash}.tar.gz
https://github.com/zotero/zotero-standalone-build/archive/${version}.tar.gz>zotero-standalone-build-${version}.tar.gz"
checksum="d0da525342e0b9887bd74106db112ba71e2b6633bc0c18eb9fe0bc09002a6c22
5a935cd7fad9af6897ff209730f931811c2f0ddd93ff3ce77afd9fcdbd06494f
2f0f0f388802f951665253ad5d6937f63df62840c656b2cd5601cde5a7d185bd
23e6812c247ea2e2486d2a27efa19407b29fad3bb1f71ee725f8026f171b3ca7"
post_extract() {
mv zotero-${version} zotero-client
mv zotero-build-${_zotero_build_hash} zotero-build
mv translators-${_zotero_translators_hash} translators
mv zotero-standalone-build-${version} zotero-standalone-build
}
do_build() {
cd zotero-client
npm i
npm run build
cd ../zotero-standalone-build
# We do not have /usr/bin/mar (xultools?)
./fetch_mar_tools
# Do not use unzip - it chokes on omni.ja
vsed -i fetch_xulrunner.sh -e"s;unzip omni.ja;bsdtar xf omni.ja;"
./fetch_xulrunner.sh -p l
./fetch_pdftools
# Hack the git revision check because we did not git clone but download
vsed -i scripts/dir_build -e"s;hash=.*;hash=Void-${pkgname}-${version}_${revision};"
scripts/dir_build
}
do_install() {
# TODO
:
}
```
Uh, okay, now I see the `scripts/check_requirements` is for the official build. For packaging this script does not need to be run.
next prev parent reply other threads:[~2020-04-29 20:32 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-28 15:02 [ISSUE] " marek-lach
2020-04-29 18:45 ` CameronNemo
2020-04-29 19:25 ` pullmoll
2020-04-29 19:26 ` pullmoll
2020-04-29 19:26 ` pullmoll
2020-04-29 19:31 ` pullmoll
2020-04-29 19:35 ` pullmoll
2020-04-29 19:46 ` pullmoll
2020-04-29 19:48 ` pullmoll
2020-04-29 19:52 ` pullmoll
2020-04-29 20:32 ` pullmoll [this message]
2020-04-29 20:36 ` pullmoll
2020-04-29 20:37 ` pullmoll
2020-04-29 20:39 ` luhann
2020-04-30 8:41 ` [ISSUE] [CLOSED] " marek-lach
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200429203230.1xl96-NKXbqMcfVPVBhauj6JznhTs3pNkJ2ifC8esGA@z \
--to=pullmoll@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 NNTP newsgroup(s).