Bug 267650 - x11/pixman: Addtional enhancements to port
Summary: x11/pixman: Addtional enhancements to port
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Emmanuel Vadot
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-08 18:46 UTC by Daniel Engberg
Modified: 2023-01-09 10:05 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (x11)


Attachments
Patch for pixman (2.44 KB, patch)
2022-11-08 18:46 UTC, Daniel Engberg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg freebsd_committer freebsd_triage 2022-11-08 18:46:30 UTC
Created attachment 237952 [details]
Patch for pixman

Switch to Meson (fixes compilation on aarch64)
Add "make test"
Drop static library

Compile and runtime tested on FreeBSD 13.1-STABLE #0 stable/13-n252834-a7766860e0f (amd64) (make, make check-plist, make test)
Compile and runtime tested on FreeBSD 13.1-RELEASE (aarch64) (make, make check-plist, make test)
Poudriere testport OK 12.3-RELEASE (amd64)
Poudriere testport OK 13.1-RELEASE (i386)

Keeping USES= xorg-cat:lib interferes with meson build
Comment 1 Emmanuel Vadot freebsd_committer freebsd_triage 2022-11-09 09:46:22 UTC
What's the exact problem with xorg-cat:lib ?
Comment 2 Daniel Engberg freebsd_committer freebsd_triage 2022-11-09 11:20:20 UTC
===>  Configuring for pixman-0.42.2_1
usage: meson setup [-h] [--prefix PREFIX] [--bindir BINDIR] [--datadir DATADIR] [--includedir INCLUDEDIR] [--infodir INFODIR] [--libdir LIBDIR] [--libexecdir LIBEXECDIR] [--localedir LOCALEDIR] [--localstatedir LOCALSTATEDIR] [--mandir MANDIR] [--sbindir SBINDIR] [--sharedstatedir SHAREDSTATEDIR]
                   [--sysconfdir SYSCONFDIR] [--auto-features {enabled,disabled,auto}] [--backend {ninja,vs,vs2010,vs2012,vs2013,vs2015,vs2017,vs2019,vs2022,xcode}] [--buildtype {plain,debug,debugoptimized,release,minsize,custom}] [--debug] [--default-library {shared,static,both}] [--errorlogs]
                   [--install-umask INSTALL_UMASK] [--layout {mirror,flat}] [--optimization {0,g,1,2,3,s}] [--prefer-static] [--stdsplit] [--strip] [--unity {on,off,subprojects}] [--unity-size UNITY_SIZE] [--warnlevel {0,1,2,3}] [--werror] [--wrap-mode {default,nofallback,nodownload,forcefallback,nopromote}]
                   [--force-fallback-for FORCE_FALLBACK_FOR] [--pkgconfig.relocatable] [--python.install-env {auto,prefix,system,venv}] [--python.platlibdir PYTHON.PLATLIBDIR] [--python.purelibdir PYTHON.PURELIBDIR] [--pkg-config-path PKG_CONFIG_PATH] [--build.pkg-config-path BUILD.PKG_CONFIG_PATH]
                   [--cmake-prefix-path CMAKE_PREFIX_PATH] [--build.cmake-prefix-path BUILD.CMAKE_PREFIX_PATH] [-D option] [--native-file NATIVE_FILE] [--cross-file CROSS_FILE] [--vsenv] [-v] [--fatal-meson-warnings] [--reconfigure] [--wipe]
                   [builddir] [sourcedir]
meson setup: error: ambiguous option: --build=amd64-portbld-freebsd13.1 could match --buildtype, --build.pkg-config-path, --build.cmake-prefix-path
===>  Script "configure" failed unexpectedly.
Please report the problem to x11@FreeBSD.org [maintainer] and attach the
"/usr/ports/x11/pixman/work/pixman-0.42.2/_build/meson-logs/meson-log.txt"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1
Comment 3 Emmanuel Vadot freebsd_committer freebsd_triage 2023-01-09 10:05:58 UTC
Well we should fix this then.