Mk/Uses/meson.mk: pass --localstatedir like GNU_CONFIGURE after 9f4546a03cc0
Meson defaults to --localstatedir=/var/local if --prefix=/usr/local
but this is not valid for ports/ or FreeBSD hier(7).
See also 68edbeeaae96 and
https://github.com/mesonbuild/meson/commit/24549dbed5fe
PR: 273605
Analyzed by: Tatsuki Makino
Exp-run by: antoine
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>
x11-fonts/fontconfig: Update to 2.14.2
Upstream now supports definition of a lot of variables which means we
can now drop a bunch of local patches.
Changelog:
https://gitlab.freedesktop.org/fontconfig/fontconfig/-/blob/2.14.1/README
PR: 268627
Approved by: desktop (tcberner)
Exp-run by: antoine
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.
There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.
The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.
Approved by: portmgr (tcberner)
x11-fonts/fontconfig: Use triggers to rebuild fc-cache
Stop forcing the overwrite of the cache at each run it is not necessary
most of the time.
Reviewed by: tcberner
Differencial Revision: https://reviews.freebsd.org/D34602
While here rework USES=fonts to drop @fcfontsdir which is not nessary anymore
and convert the @fontsdir into lua which make it way simpler to read
x11-fonts/fontconfig: Restore generation of font cache
Restore generation of cache prior to Meson switch
Upstream patch provided by John Hein
PR: 254963
Reported by: Piotr Smyrak
Tested by: Piotr Smyrak and John Hein
Approved by: arrowd (mentor)
Obtained from: https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/296
Differential Revision: https://reviews.freebsd.org/D31602
x11-fonts/fontconfig: Install prebuilt documentation
Additional changes:
While at it also rephrase section regarding circular dependency for docs
PR: 258145
Approved by: tcberner (mentor)
x11-fonts/fontconfig: add upstream fix 49-sansserif.conf
After updating fontconfig 2.13.93, the configuration file
'49-sansserif.conf' shipped with fontconfig itself stops working. This
means if some glyphs cannot be found in the given font, fontconfig will
pick fallback fonts randomly instead of honoring what the user sets as
sans-serif.
This commit pulls in upstreams fix for this issue from
https://gitlab.freedesktop.org/fontconfig/fontconfig/-/merge_requests/142
See also upstreams PR:
https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/267
PR: 256969
x11-fonts/fontconfig: Update to 2.13.93
Changelog:
https://gitlab.freedesktop.org/fontconfig/fontconfig/-/blob/master/README
- Switch to meson build system
PR: 253212
Exp-run by: antoine
Submitted by: daniel.engberg.lists@pyret.net
x11-fonts/fontconfig: webfonts on many sites crash www/firefox
A "bad" commit [1] included in the recent fontconfig upgrade to 2.13.92, lead to many
crashed tabs inside firefox. A fix has been provided upstream in [2], and fixed in fix [3].
Related Mozilla bugreport [4].
[1] https://cgit.freedesktop.org/fontconfig/commit/?id=61573ad5f7c4dd0860d613d99d0086433240eb75
[2] https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/237
[3] https://gitlab.freedesktop.org/fontconfig/fontconfig/-/commit/6edaaa4d1823518a97fb4cc3004d110b1046f742
[4] https://bugzilla.mozilla.org/show_bug.cgi?id=1629231
PR: 245915
Submitted by: jbeich
Reported by: Graham Perrin, jbeich, ehaupt, tcberner
x11-fonts/fontconfig: update to 2.13.92
Fontconfig 2.13.1 generated .uuid files in the fonts directory which where
not properly registered to the packages. To clean them up, please execute the
following command:
find %%LOCALBASE%%/share/fonts -type f -name .uuid -delete
By switching to this RC, the dependency on libuuid can be droped again, and the
issue of registering uuid is moot.
PR: 239167
Exp-run by: antoine
Submitted by: lightside <lightside@gmx.com>
MFH: 2020Q2
x11-fonts/fontconfig: improve port
This reintegrates work done by lightside and swills into the upgrade to 2.13.1:
- add upstream performance improving patches
- add nls option
- drop unnecessary CONFIGURE_ENV
PR: 239167
Submitted by: lightside <lightside@gmx.com>, swills
The output of tools like awk, date, sort, tr,... depends on the current locale set by the user. Add LANG=C and LC_ALL=C at the beginning of bsd.port.mk and export them so all commands are executed with the C locale. LC_ALL=C overrides all other LC_* variables. LANG is used by setlocale(3) as default value for LC_* variables, so normally it isn't used when LC_ALL is set, but there's code out ther
Introduce USE_LOCALE=<locale> that adds LANG=<locale> and LC_ALL=<locale> to
CONFIGURE_ENV and MAKE_ENV so upstream build systems can be executed with a
different locale (e.g. USE_LOCALE=en_US.UTF-8).
PR: 215882
Exp-run by: antoine
Approved by: portmgr (antoine)
Link static library.
Note to those who follow: The statically linked library will be used
by the next commit of x11/xforward for use on firewall/gateway machines
without a full-blown X install.
Differential Revision: D6155
Teach fontconfig that LANG and LC_* settings with more than 2 components are fine and actualy supported by POSIX even if Linux doesn't.
This should fix font issues with the projects/collation branch.
Submitted by: bapt@, marino@
Obtained from: DragonFly BSD
Update fontconfig to 2.11.1.
While here:
- Drop :keepla from USES=libtool
- Use INSTALL_TARGET for stripping
- Sprinkle some carrier returns in the post-install target so they stay within 77 char length.
- Switch to @sample for config file
- Remove @dirrm[try]'s from plist
PR: 195595
Submitted by: delphij@
Undiagnosed ARMv6 core dump occurs when using GCC with fontconfig.
Avoid this crash and resore compiles via CLANG.
PR: 183536
Submitted by: mazhe@alkumuna.eu
Reviewed by: kwm