Package Details: python-mozjpeg-lossless-optimization 1.3.0-1

Git Clone URL: https://aur.archlinux.org/python-mozjpeg-lossless-optimization.git (read-only, click to copy)
Package Base: python-mozjpeg-lossless-optimization
Description: Optimize JPEGs losslessly using MozJPEG
Upstream URL: https://github.com/wanadev/mozjpeg-lossless-optimization
Keywords: lossless optimizer picture
Licenses: BSD
Submitter: Popolon
Maintainer: lihe07 (Popolon)
Last Packager: lihe07
Votes: 3
Popularity: 0.041474
First Submitted: 2021-09-13 17:25 (UTC)
Last Updated: 2025-06-14 12:30 (UTC)

Latest Comments

Popolon commented on 2025-04-21 20:58 (UTC)

Package updated to 1.2.0, works fine, need to report upstream for this kind of incompatibility.

nachfuellbar commented on 2025-04-21 19:09 (UTC)

I got an error while building this package

CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

In the changelog of cmake 4 there is following mention of this

Compatibility with versions of CMake older than 3.5 has been removed. Calls to cmake_minimum_required() or cmake_policy() that set the policy version to an older value now issue an error. Note that calls to those commands can still support older versions of CMake by using their VERSION arguments' <min>...<max> syntax. This requires only the <min> version of CMake, but when running a newer version, sets policies up to the <max> version.

dbb commented on 2024-11-26 12:47 (UTC)

Fails to build in a clean chroot with the following error:

* Getting build dependencies for wheel...

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/pyproject_hooks/_impl.py", line 402, in _call_hook
    raise BackendUnavailable(
pyproject_hooks._impl.BackendUnavailable: Cannot import 'setuptools.build_meta'

ERROR Backend 'setuptools.build_meta' is not available.

Adding python-setuptools to makedepends allows it to build.

lihe07 commented on 2024-11-26 02:06 (UTC)

The upstream has just updated to version 1.1.5, which fixes the problem. Seems like the package is orphaned, so I picked it up and pushed the update. I've added the original packager @Popolon as a co-maintainer.

Popolon commented on 2024-11-16 21:16 (UTC) (edited on 2024-11-24 13:57 (UTC) by Popolon)

the version 1.1.4 depends on setuptools<74, Arch Linux use setuptools python-setuptools 75, so it will not be updated until it is fixed upstream. https://github.com/wanadev/mozjpeg-lossless-optimization/issues/26 and #27 for 1.1.5 :(

Popolon commented on 2023-11-13 17:17 (UTC)

Yes you can remove it, I added it in makedeps, as it's name say, it's need for installation (into the package here).

lidlessey3 commented on 2023-11-13 01:01 (UTC)

I managed to install it by manually installing python-installer from extra separetly I wanted to ask if they are an actual dependancy, in which case I need to leave it installed or if they are just a make dependacy and so I can safely remove them? Thanks.

EccTM commented on 2023-11-12 17:06 (UTC) (edited on 2023-11-13 00:39 (UTC) by EccTM)

makedepends includes python-setuptools twice; I think one of those was supposed to be python-build, maybe?

I got this to compile by replacing python-setuptools with python-build and python-installer to avoid build() and package() sections failing.