Community Packages

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!
Tasklist

FS#78011 - [mattermost] libpng should be included in makedepends

Attached to Project: Community Packages
Opened by Levi Zim (kxxt) - Monday, 27 March 2023, 00:14 GMT
Last edited by Caleb Maclennan (alerque) - Wednesday, 05 April 2023, 09:23 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Caleb Maclennan (alerque)
Bruno Pagani (ArchangeGabriel)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

This package can be built from source because in `prepare()`, when npm is installing dependencies, it installs a pngquant package that includes a statically linked x86_64 pngquant binary.
The fallback behavior is building pngquant from source. libpng is needed for both building and dynamical linking.

Adding libpng to makedepends would make mattermost build more reliably and avoid the need to patch when building mattermost on architectures other than x86_64.

Additional info:
* package version: 7.9.1-1
* patch attached.
This task depends upon

Closed by  Caleb Maclennan (alerque)
Wednesday, 05 April 2023, 09:23 GMT
Reason for closing:  Fixed
Comment by Toolybird (Toolybird) - Monday, 27 March 2023, 02:01 GMT
> on architectures other than x86_64

Not supported here (currently) so not really a concern. Though PM's might still be willing to accommodate. Side comment: npm *really* is a steaming pile of crap.
Comment by Caleb Maclennan (alerque) - Wednesday, 05 April 2023, 09:22 GMT
Thanks for the tip. Yes NPM is a steaming pile and yes we don't yet uspport other architectures, but since it benefits the x86_64 build too *and* makes things easier for other ports I'm totally fine with the contribution.

Loading...