Skip to content

[WIP] New package: zotero-8.0.2#58915

Draft
remisphere wants to merge 1 commit intovoid-linux:masterfrom
remisphere:zotero
Draft

[WIP] New package: zotero-8.0.2#58915
remisphere wants to merge 1 commit intovoid-linux:masterfrom
remisphere:zotero

Conversation

@remisphere
Copy link

@remisphere remisphere commented Feb 10, 2026

related issues: #21434, #25508

Testing the changes

  • I tested the changes in this PR: NO

New package

Local build testing

  • I built this PR locally for my native architecture, (x86_64-GLIBC)

Status

This currently builds and seems to run,
but,

  • their build process involves modifying a binary release of Firefox-ESR
    • I moved that to the distfiles but I doubt this is satisfactory enough
    • I am currently messing around to use the xbps version of firefox-esr (which is behind schedule, currently at 140.2.0 while zotero uses 140.7.0)
      • either this is possible, or we'll need to recompile Firefox on the spot ? (seems overkill)
  • different architecture support need some flags which don't always match XBPS_TARGET_MACHINE, there will have to be some switch case sprinkling

@classabbyamp classabbyamp added the new-package This PR adds a new package label Feb 10, 2026
Copy link
Author

@remisphere remisphere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

huh, forgot to submit the comment

vsrcextract -C chrome/content/zotero/xpcom/utilities "utilities.tar.gz"
vsrcextract -C chrome/content/zotero/xpcom/utilities/resource/schema/global "utilities_schema.tar.gz"
# WARN: This is Firefox's **binaries** release, not the source.
vsrccopy "firefox-${_firefox_version}-x86_64.tar.xz" app/xulrunner/ # TODO: firefox alt archs
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is problematic.
They download a binary release For Firefox and delete, search and replace a bunch of stuff in there during the build.

Ideally I guess, this would be replaced by the xbps packaged version.
I'm trying to do this by adding firefox-esr as dependency, and tarxzing /usr/lib/firefox pre-build (no luck this far), but it feels hackish;
is there a more straightforward way of getting a tarball of the packaged version ?

They use the latest Firefox ESR release (140.7.0 at this time), which differs from the latest void-packaged one (140.2.0), that doesn't help with testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-package This PR adds a new package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants