Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#65280 - [electron] Add API version to provides or symlink binary
Attached to Project:
Community Packages
Opened by Matthias Lisin (matthias.lisin) - Sunday, 26 January 2020, 20:56 GMT
Last edited by Christian Rebischke (Shibumi) - Saturday, 22 February 2020, 20:05 GMT
Opened by Matthias Lisin (matthias.lisin) - Sunday, 26 January 2020, 20:56 GMT
Last edited by Christian Rebischke (Shibumi) - Saturday, 22 February 2020, 20:05 GMT
|
DetailsDescription:
When packaging electron apps you usually need a specific version of electron for it to work because very few work with the latest (7). But sometimes it works with the latest. This means however that once the rolling package `electron` updates to the next major version the application might break. Therefore I'd like to propose two changes: 1. Add `electron-api=$VERSION` to provides=() array so packagers can reliably install the required version regardless of the current pkgname in the official repos (`electron` now, `electron7` later). Applies to all current electron packages: electron{,2,4,5,6} 2. Create a symlink for the rolling package `electron` to reliably call the proper executable. (ln -sr /usr/bin/electron /usr/bin/electron7). So packagers can reliably call the executable from a wrapper script. Only applies to package `electron`. |
This task depends upon
this is the same as for jre-openjdk/jdk-openjdk which not only provides java-runtime=$VERSION but also the versioned name jre1x-openjdk.
I believe `provides=(electron={major-version})` is already in `electron*` packages in Manjaro repositories.
This package, for example, depends on electron<18, which is not provided by the official packages: https://aur.archlinux.org/packages/stretchly-git