Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] [Package Request]: Zotero - bibliography & citation management
@ 2020-04-28 15:02 marek-lach
  2020-04-29 18:45 ` CameronNemo
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: marek-lach @ 2020-04-28 15:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 290 bytes --]

New issue by marek-lach on void-packages repository

https://github.com/void-linux/void-packages/issues/21434

Description:
Package name: **Zotero**
A citation management application.
Github sources: https://github.com/zotero/zotero
License: GNU AFFERO GENERAL PUBLIC LICENSE

Thanks!

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [Package Request]: Zotero - bibliography & citation management
  2020-04-28 15:02 [ISSUE] [Package Request]: Zotero - bibliography & citation management marek-lach
@ 2020-04-29 18:45 ` CameronNemo
  2020-04-29 19:25 ` pullmoll
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: CameronNemo @ 2020-04-29 18:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 346 bytes --]

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/issues/21434#issuecomment-621393906

Comment:
Looked into this -- it is a bit weird. They use firefox/gecko/xul under the hood. Not the most simple build process.

https://www.zotero.org/support/dev/client_coding/building_the_standalone_client

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [Package Request]: Zotero - bibliography & citation management
  2020-04-28 15:02 [ISSUE] [Package Request]: Zotero - bibliography & citation management marek-lach
  2020-04-29 18:45 ` CameronNemo
@ 2020-04-29 19:25 ` pullmoll
  2020-04-29 19:26 ` pullmoll
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pullmoll @ 2020-04-29 19:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1744 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.. not very nice and currently failing 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
revision=1
hostmakedepends="aws-cli curl nodejs perl openssh python python3
 rsync 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/zotero-standalone-build/archive/${version}.tar.gz>zotero-standalon-build-${version}.tar.gz"
checksum="d0da525342e0b9887bd74106db112ba71e2b6633bc0c18eb9fe0bc09002a6c22
 5a935cd7fad9af6897ff209730f931811c2f0ddd93ff3ce77afd9fcdbd06494f
 23e6812c247ea2e2486d2a27efa19407b29fad3bb1f71ee725f8026f171b3ca7"

post_extract() {
	mv ../${pkgname}-build-${_zotero_build_hash} zotero-build
	mv ../${pkgname}-standalone-build-${version} zotero-standalone-build
}

do_build() {
	npm i
	npm run build
	cd zotero-standalone-build
	./fetch_mar_tools
	scripts/check_requirements
	./fetch_xulrunner.sh -p m
	./fetch_pdftools
	scripts/dir_build
}

do_install() {
	npm
}
```

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [Package Request]: Zotero - bibliography & citation management
  2020-04-28 15:02 [ISSUE] [Package Request]: Zotero - bibliography & citation management 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
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pullmoll @ 2020-04-29 19:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1776 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.. 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
revision=1
hostmakedepends="aws-cli curl nodejs perl openssh python python3
 rsync 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/zotero-standalone-build/archive/${version}.tar.gz>zotero-standalon-build-${version}.tar.gz"
checksum="d0da525342e0b9887bd74106db112ba71e2b6633bc0c18eb9fe0bc09002a6c22
 5a935cd7fad9af6897ff209730f931811c2f0ddd93ff3ce77afd9fcdbd06494f
 23e6812c247ea2e2486d2a27efa19407b29fad3bb1f71ee725f8026f171b3ca7"

post_extract() {
	mv ../${pkgname}-build-${_zotero_build_hash} zotero-build
	mv ../${pkgname}-standalone-build-${version} zotero-standalone-build
}

do_build() {
	npm i
	npm run build
	cd zotero-standalone-build
	./fetch_mar_tools
	scripts/check_requirements
	./fetch_xulrunner.sh -p m
	./fetch_pdftools
	scripts/dir_build
}

do_install() {
	npm
}
```

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [Package Request]: Zotero - bibliography & citation management
  2020-04-28 15:02 [ISSUE] [Package Request]: Zotero - bibliography & citation management marek-lach
                   ` (2 preceding siblings ...)
  2020-04-29 19:26 ` pullmoll
@ 2020-04-29 19:26 ` pullmoll
  2020-04-29 19:31 ` pullmoll
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pullmoll @ 2020-04-29 19:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1887 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
revision=1
hostmakedepends="aws-cli curl nodejs perl openssh python python3
 rsync 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/zotero-standalone-build/archive/${version}.tar.gz>zotero-standalon-build-${version}.tar.gz"
checksum="d0da525342e0b9887bd74106db112ba71e2b6633bc0c18eb9fe0bc09002a6c22
 5a935cd7fad9af6897ff209730f931811c2f0ddd93ff3ce77afd9fcdbd06494f
 23e6812c247ea2e2486d2a27efa19407b29fad3bb1f71ee725f8026f171b3ca7"

post_extract() {
	mv ../${pkgname}-build-${_zotero_build_hash} zotero-build
	mv ../${pkgname}-standalone-build-${version} zotero-standalone-build
}

do_build() {
	npm i
	npm run build
	cd zotero-standalone-build
	./fetch_mar_tools
	scripts/check_requirements
	./fetch_xulrunner.sh -p m
	./fetch_pdftools
	scripts/dir_build
}

do_install() {
	npm
}
```

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [Package Request]: Zotero - bibliography & citation management
  2020-04-28 15:02 [ISSUE] [Package Request]: Zotero - bibliography & citation management marek-lach
                   ` (3 preceding siblings ...)
  2020-04-29 19:26 ` pullmoll
@ 2020-04-29 19:31 ` pullmoll
  2020-04-29 19:35 ` pullmoll
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pullmoll @ 2020-04-29 19:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2021 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
revision=1
hostmakedepends="aws-cli curl nodejs perl openssh python python3
 rsync 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/zotero-standalone-build/archive/${version}.tar.gz>zotero-standalon-build-${version}.tar.gz"
checksum="d0da525342e0b9887bd74106db112ba71e2b6633bc0c18eb9fe0bc09002a6c22
 5a935cd7fad9af6897ff209730f931811c2f0ddd93ff3ce77afd9fcdbd06494f
 23e6812c247ea2e2486d2a27efa19407b29fad3bb1f71ee725f8026f171b3ca7"

post_extract() {
	mv ../${pkgname}-build-${_zotero_build_hash} zotero-build
	mv ../${pkgname}-standalone-build-${version} zotero-standalone-build
}

do_build() {
	npm i
	npm run build
	cd zotero-standalone-build
	./fetch_mar_tools
	scripts/check_requirements
	./fetch_xulrunner.sh -p m
	./fetch_pdftools
	scripts/dir_build
}

do_install() {
	npm
}
```

Uh, okay, now I see the `scripts/check_requirements` is for the official build. For packaging this script does not need to be run.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [Package Request]: Zotero - bibliography & citation management
  2020-04-28 15:02 [ISSUE] [Package Request]: Zotero - bibliography & citation management marek-lach
                   ` (4 preceding siblings ...)
  2020-04-29 19:31 ` pullmoll
@ 2020-04-29 19:35 ` pullmoll
  2020-04-29 19:46 ` pullmoll
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pullmoll @ 2020-04-29 19:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1994 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
revision=1
hostmakedepends="aws-cli curl 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/zotero-standalone-build/archive/${version}.tar.gz>zotero-standalon-build-${version}.tar.gz"
checksum="d0da525342e0b9887bd74106db112ba71e2b6633bc0c18eb9fe0bc09002a6c22
 5a935cd7fad9af6897ff209730f931811c2f0ddd93ff3ce77afd9fcdbd06494f
 23e6812c247ea2e2486d2a27efa19407b29fad3bb1f71ee725f8026f171b3ca7"

post_extract() {
	mv ../${pkgname}-build-${_zotero_build_hash} zotero-build
	mv ../${pkgname}-standalone-build-${version} zotero-standalone-build
}

do_build() {
	npm i
	npm run build
	cd zotero-standalone-build
	./fetch_mar_tools
	./fetch_xulrunner.sh -p l
	./fetch_pdftools
	./build.sh -p l
}

do_install() {
	npm
}
```

Uh, okay, now I see the `scripts/check_requirements` is for the official build. For packaging this script does not need to be run.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [Package Request]: Zotero - bibliography & citation management
  2020-04-28 15:02 [ISSUE] [Package Request]: Zotero - bibliography & citation management marek-lach
                   ` (5 preceding siblings ...)
  2020-04-29 19:35 ` pullmoll
@ 2020-04-29 19:46 ` pullmoll
  2020-04-29 19:48 ` pullmoll
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pullmoll @ 2020-04-29 19:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2154 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
revision=1
hostmakedepends="aws-cli curl 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/zotero-standalone-build/archive/${version}.tar.gz>zotero-standalon-build-${version}.tar.gz"
checksum="d0da525342e0b9887bd74106db112ba71e2b6633bc0c18eb9fe0bc09002a6c22
 5a935cd7fad9af6897ff209730f931811c2f0ddd93ff3ce77afd9fcdbd06494f
 23e6812c247ea2e2486d2a27efa19407b29fad3bb1f71ee725f8026f171b3ca7"

post_extract() {
	mv ../${pkgname}-build-${_zotero_build_hash} zotero-build
	mv ../${pkgname}-standalone-build-${version} zotero-standalone-build
}

do_build() {
	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
	./build.sh -p l
}

do_install() {
	npm
}
```

Uh, okay, now I see the `scripts/check_requirements` is for the official build. For packaging this script does not need to be run.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [Package Request]: Zotero - bibliography & citation management
  2020-04-28 15:02 [ISSUE] [Package Request]: Zotero - bibliography & citation management marek-lach
                   ` (6 preceding siblings ...)
  2020-04-29 19:46 ` pullmoll
@ 2020-04-29 19:48 ` pullmoll
  2020-04-29 19:52 ` pullmoll
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pullmoll @ 2020-04-29 19:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2138 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
revision=1
hostmakedepends="curl 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/zotero-standalone-build/archive/${version}.tar.gz>zotero-standalon-build-${version}.tar.gz"
checksum="d0da525342e0b9887bd74106db112ba71e2b6633bc0c18eb9fe0bc09002a6c22
 5a935cd7fad9af6897ff209730f931811c2f0ddd93ff3ce77afd9fcdbd06494f
 23e6812c247ea2e2486d2a27efa19407b29fad3bb1f71ee725f8026f171b3ca7"

post_extract() {
	mv ../zotero-build-${_zotero_build_hash} zotero-build
	mv ../zotero-standalone-build-${version} zotero-standalone-build
}

do_build() {
	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
	./build.sh -p l
}

do_install() {
	npm
}
```

Uh, okay, now I see the `scripts/check_requirements` is for the official build. For packaging this script does not need to be run.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [Package Request]: Zotero - bibliography & citation management
  2020-04-28 15:02 [ISSUE] [Package Request]: Zotero - bibliography & citation management marek-lach
                   ` (7 preceding siblings ...)
  2020-04-29 19:48 ` pullmoll
@ 2020-04-29 19:52 ` pullmoll
  2020-04-29 20:32 ` pullmoll
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pullmoll @ 2020-04-29 19:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2168 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
revision=1
hostmakedepends="curl 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/zotero-standalone-build/archive/${version}.tar.gz>zotero-standalone-build-${version}.tar.gz"
checksum="d0da525342e0b9887bd74106db112ba71e2b6633bc0c18eb9fe0bc09002a6c22
 5a935cd7fad9af6897ff209730f931811c2f0ddd93ff3ce77afd9fcdbd06494f
 23e6812c247ea2e2486d2a27efa19407b29fad3bb1f71ee725f8026f171b3ca7"

post_extract() {
	mv ../zotero-build-${_zotero_build_hash} zotero-build
	mv ../zotero-standalone-build-${version} zotero-standalone-build
}

do_build() {
	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
	./build.sh -d ../zotero-build -s -p l
}

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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [Package Request]: Zotero - bibliography & citation management
  2020-04-28 15:02 [ISSUE] [Package Request]: Zotero - bibliography & citation management marek-lach
                   ` (8 preceding siblings ...)
  2020-04-29 19:52 ` pullmoll
@ 2020-04-29 20:32 ` pullmoll
  2020-04-29 20:36 ` pullmoll
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pullmoll @ 2020-04-29 20:32 UTC (permalink / raw)
  To: ml

[-- 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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [Package Request]: Zotero - bibliography & citation management
  2020-04-28 15:02 [ISSUE] [Package Request]: Zotero - bibliography & citation management marek-lach
                   ` (9 preceding siblings ...)
  2020-04-29 20:32 ` pullmoll
@ 2020-04-29 20:36 ` pullmoll
  2020-04-29 20:37 ` pullmoll
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pullmoll @ 2020-04-29 20:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2598 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

	./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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [Package Request]: Zotero - bibliography & citation management
  2020-04-28 15:02 [ISSUE] [Package Request]: Zotero - bibliography & citation management marek-lach
                   ` (10 preceding siblings ...)
  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
  13 siblings, 0 replies; 15+ messages in thread
From: pullmoll @ 2020-04-29 20:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 224 bytes --]

New comment by pullmoll on void-packages repository

https://github.com/void-linux/void-packages/issues/21434#issuecomment-621449886

Comment:
Okay, I give up. This is a huge mess and one of the worst I have seen so far ;-P

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [Package Request]: Zotero - bibliography & citation management
  2020-04-28 15:02 [ISSUE] [Package Request]: Zotero - bibliography & citation management marek-lach
                   ` (11 preceding siblings ...)
  2020-04-29 20:37 ` pullmoll
@ 2020-04-29 20:39 ` luhann
  2020-04-30  8:41 ` [ISSUE] [CLOSED] " marek-lach
  13 siblings, 0 replies; 15+ messages in thread
From: luhann @ 2020-04-29 20:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 299 bytes --]

New comment by luhann on void-packages repository

https://github.com/void-linux/void-packages/issues/21434#issuecomment-621450778

Comment:
I've also tried to package zotero for Void and Tumbleweed and I couldn't get it to work. 

Currently I just download the releases from Zotero and use them.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [ISSUE] [CLOSED] [Package Request]: Zotero - bibliography & citation management
  2020-04-28 15:02 [ISSUE] [Package Request]: Zotero - bibliography & citation management marek-lach
                   ` (12 preceding siblings ...)
  2020-04-29 20:39 ` luhann
@ 2020-04-30  8:41 ` marek-lach
  13 siblings, 0 replies; 15+ messages in thread
From: marek-lach @ 2020-04-30  8:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]

Closed issue by marek-lach on void-packages repository

https://github.com/void-linux/void-packages/issues/21434

Description:
Package name: **Zotero**
A citation management application.
Github sources: https://github.com/zotero/zotero
License: GNU AFFERO GENERAL PUBLIC LICENSE

Thanks!

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2020-04-30  8:41 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-28 15:02 [ISSUE] [Package Request]: Zotero - bibliography & citation management 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
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

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).