Package Details: mozjpeg-git 4.0.3.r198.g5552483d-1

Git Clone URL: https://aur.archlinux.org/mozjpeg-git.git (read-only, click to copy)
Package Base: mozjpeg-git
Description: Improved JPEG encoder
Upstream URL: https://github.com/mozilla/mozjpeg
Licenses: BSD
Conflicts: libjpeg, libjpeg-turbo, mozjpeg
Provides: libjpeg, libjpeg-turbo, libjpeg.so, libturbojpeg.so, mozjpeg
Submitter: keenerd
Maintainer: None
Last Packager: MGislv
Votes: 3
Popularity: 0.000000
First Submitted: 2014-03-06 12:33 (UTC)
Last Updated: 2021-11-21 20:38 (UTC)

Dependencies (7)

Required by (1316)

Sources (1)

Latest Comments

dimytch commented on 2026-08-24 11:15 (UTC)

no luck.

==> Запускается pkgver()...
==> Обновлённая версия: 'mozjpeg-git 4.1.5.r279.g08265790-1'
==> Исходные файлы готовы.
==> Сборка пакета mozjpeg-git 4.1.5.r279.g08265790-1 (Пн 24 авг 2026 13:12:45)
==> Проверка зависимостей для запуска...
==> Проверка зависимостей для сборки...
==> ВНИМАНИЕ: Использование существующего дерева исходных файлов в '$srcdir/'
==> Запускается pkgver()...
==> Удаление директории '$pkgdir/'...
==> Запускается build()...
The no-dev option is deprecated.  Use -Wno-author instead.
-- The C compiler identification is GNU 16.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- CMAKE_BUILD_TYPE = None
-- VERSION = 5.0.0, BUILD = 20260824
-- 64-bit build (x86_64)
-- CMAKE_INSTALL_PREFIX = /usr
-- CMAKE_INSTALL_BINDIR = bin (/usr/bin)
-- CMAKE_INSTALL_DATAROOTDIR = share (/usr/share)
-- CMAKE_INSTALL_DOCDIR = share/doc/mozjpeg (/usr/share/doc/mozjpeg)
-- CMAKE_INSTALL_INCLUDEDIR = include (/usr/include)
-- CMAKE_INSTALL_LIBDIR = /usr/lib
-- CMAKE_INSTALL_MANDIR = share/man (/usr/share/man)
-- Shared libraries enabled (BUILD_SHARED_LIBS = 1)
-- Arithmetic decoding support enabled (WITH_ARITH_DEC = 1)
-- Arithmetic encoding support enabled (WITH_ARITH_ENC = 1)
-- TurboJPEG API library enabled (WITH_TURBOJPEG = 1)
-- TurboJPEG Java wrapper enabled (WITH_JAVA = 1)
-- Emulating libjpeg API/ABI v8.0 (WITH_JPEG7 = 0, WITH_JPEG8 = 1)
-- libjpeg API shared library version = 8.3.2
-- Compiler flags = -march=x86-64 -mtune=generic -O2 -pipe -fno-plt 
-- Linker flags = -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now 
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of size_t
-- Check size of size_t - done
-- Check size of unsigned long
-- Check size of unsigned long - done
-- Performing Test HAVE_BUILTIN_CTZL
-- Performing Test HAVE_BUILTIN_CTZL - Success
-- Performing Test RIGHT_SHIFT_IS_UNSIGNED
-- Performing Test RIGHT_SHIFT_IS_UNSIGNED - Failed
-- Performing Test HIDDEN_WORKS
-- Performing Test HIDDEN_WORKS - Success
-- HIDDEN = __attribute__((visibility("hidden")))
-- Performing Test INLINE_WORKS
-- Performing Test INLINE_WORKS - Success
-- INLINE = __inline__ __attribute__((always_inline)) (FORCE_INLINE = 1)
-- Performing Test HAVE_THREAD_LOCAL
-- Performing Test HAVE_THREAD_LOCAL - Success
-- THREAD_LOCAL = __thread
-- Performing Test HAVE_VERSION_SCRIPT
-- Performing Test HAVE_VERSION_SCRIPT - Success
-- Linker supports GNU-style version scripts
-- CMAKE_EXECUTABLE_SUFFIX = 
-- Looking for a ASM_NASM compiler
-- Looking for a ASM_NASM compiler - /usr/bin/nasm
-- The ASM_NASM compiler identification is NASM
-- Found assembler: /usr/bin/nasm
-- CMAKE_ASM_NASM_COMPILER = /usr/bin/nasm
-- CMAKE_ASM_NASM_OBJECT_FORMAT = elf64
-- Performing Test HAVE_CET
-- Performing Test HAVE_CET - Failed
-- CMAKE_ASM_NASM_FLAGS =  -DELF -D__x86_64__ -DPIC 
-- SIMD extensions: x86_64 (WITH_SIMD = 1)
-- Found Java: /usr/bin/java (found version "26.0.2")
-- Found JNI: /usr/lib/jvm/default/include  found components: AWT JVM
-- CMAKE_JAVA_COMPILE_FLAGS =  -J-Dfile.encoding=UTF8
-- JAVAARGS = 
-- CMAKE_INSTALL_JAVADIR = share/java (/usr/share/java)
-- PNG reading support enabled (PNG_SUPPORTED = 1)
-- Found ZLIB: /usr/lib/libz.so (found version "1.3.2")
-- Found PNG: /usr/lib/libpng.so (found suitable version "1.6.58", minimum required is "1.6")
-- PNG reading support enabled (PNG_SUPPORTED = 1)
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY) (found version "1.3.2")
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:290 (message):
  Could NOT find PNG (missing: PNG_LIBRARY) (Required is at least version
  "1.6")
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:654 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindPNG.cmake:218 (find_package_handle_standard_args)
  CMakeLists.txt:811 (find_package)

xuiqzy commented on 2026-07-02 11:06 (UTC)

This package should probably remove the libjpeg provides following the general ArchLinux change: https://archlinux.org/todo/stop-relying-on-virtual-libjpeg-lib32-libjpeg-package/

Also see the libjpeg-turbo change and comments there: https://gitlab.archlinux.org/archlinux/packaging/packages/libjpeg-turbo/-/commit/a0e534d2803d7561c791ab5cd7f1a6f496d0cfaa

fontenot commented on 2019-03-22 02:41 (UTC)

Can you update this to use the cmake build system? They've dropped autotools.

Alternatively if you don't use this any more and want to drop the package, I'll pick it up. I maintain the mozjpeg AUR package.

keenerd commented on 2015-01-26 22:54 (UTC)

Chromicant: So go ahead and re-build the package. Maintainers are not supposed to bump -git packages every time upstream makes a commit. Do not flag a -git package out of date, unless it no longer builds against the current git head. (Bumped it to add scrinfo though.)

<deleted-account> commented on 2015-01-05 17:52 (UTC)

Is this still being updated? Mozilla apparently made some changes at the end of 2014 (30 Dec.).

haagch commented on 2014-03-07 10:54 (UTC)

I don't know... This replaces libjpeg6 now, i.e. /usr/lib/libjpeg.so.62.1.0.. libjpeg-turbo is compiled with --with-jpeg8 and programs from the repositories are linked against libjpeg.so.8...

haagch commented on 2014-03-06 13:36 (UTC)

:: libgeotiff: requires libjpeg>=7 :: sane: requires libjpeg>=8 :: sane-frontends: requires libjpeg>=7 :: sdl_image: requires libjpeg>=7 :: xonotic: requires libjpeg>=8 What I did whe building it myself was using the libjpeg-turbo PKGBUILD as a base. I thought that would work best since mozjpeg is just a fork of that... So, this works for me: provides=('libjpeg=8.0.2' 'turbojpeg' 'libjpeg-turbo') conflicts=('libjpeg' 'turbojpeg') replaces=('libjpeg' 'turbojpeg')

haagch commented on 2014-03-06 12:37 (UTC)

Needs to provide libjpeg-turbo Maybe replace O2 with O3? All the examples use O3 https://github.com/mozilla/mozjpeg/blob/master/BUILDING.txt