141 Commits

Author SHA1 Message Date
robert
2d07d16bb3 sync recent changes from the chromium port:
------------

start taming chromium in low FD situations; starting with disk cache

cap the file descriptor limit at 85% of the size of the
file descriptor table and also substract the amount of
currently used file descriptors as this should give us
enough reserve to avoid hitting the limit
------------

update file path watcher code to match the kqueue implementation
and disable some FD passing code that is not used on OpenBSD

------------
2021-11-23 11:52:33 +00:00
sthen
abefbf31ce chromium/iridium: allow parallel build on i386 again, it is currently
working without going up in flames on the build cluster (avail mem =
2205MB thanks to the annoying memory layout on newer intels) and
seems to save some time.
2021-11-12 14:52:41 +00:00
robert
271ab7222a merge two commits from chromium:
use the use_allocator_shim build flag instead of a patch

remove python3 symlink and append to PATH instead of overwriting it
so that /usr/local/bin/python3 is picked up
2021-11-08 13:02:46 +00:00
kn
148bb04e73 Revert previous python3 symlink removal
The build process runs "env python3" with PATH=${WRKDIR}/bin in some places
so /usr/local/bin/python3 won't be found.

Spotted by naddy and phessler
2021-11-07 15:29:20 +00:00
kn
e5336e4900 Do not symlink python3 anymore, it is provided by the default package
Symlinking the unversioned `python` executable is fine.
These two are the only exceptions in the ports tree handling a versioned
symlink.

OK robert
2021-11-06 16:54:25 +00:00
robert
2ecb5e13ce make sure that trk notifications are only displayed if --trk is specified 2021-11-02 09:06:54 +00:00
robert
5ebd19662d unbreak on i386 by not removing the necessary cflags from the build 2021-11-01 17:53:42 +00:00
robert
e7007cb574 add a missing ifdef to have DocumentAnalysis support 2021-10-30 17:53:12 +00:00
robert
4366004933 update to 2021.10.95.1 2021-10-30 09:11:22 +00:00
robert
1386316d6d update to 2021.10.95 2021-10-29 14:49:39 +00:00
robert
0923ab631c unbreak after harfbuzz update by cherry-picking some upstream changes 2021-10-04 14:55:17 +00:00
robert
ae4f61f369 sync arm64 ffmpeg config 2021-09-09 08:19:51 +00:00
sthen
16867c5d68 mark BROKEN-i386, build fails due to sse2 problem with simd zlib code 2021-07-07 23:49:05 +00:00
robert
b2aef3e802 update to 2021.06.91 2021-07-06 11:13:48 +00:00
sthen
350cf40556 remove ports libexecinfo, we now have a libunwind-based libexecinfo in base 2021-06-09 19:50:06 +00:00
semarie
8154f62b9e chromium, iridium: removes RTLD_NODELETE removal patches
ok robert@
2021-06-05 09:22:30 +00:00
kmos
2795ba2341 Bump the REVISION on all ports that use the python2 version of
py-setuptools.

Also change the lang/python module to use the new
devel/py2-setuptools for python2 ports

ok sthen@
2021-05-21 19:50:21 +00:00
jasper
0eb3f47563 mark these as broken on powerpc64. while there, fix the COMMENT for electron.
ok robert@
2021-05-10 15:26:10 +00:00
robert
faf1fbc6f2 update to 2021.03.88 2021-04-01 10:24:43 +00:00
naddy
afcc689c59 remove carriage returns ('\r') from patch files and set FIX_CRLF_FILES 2021-02-26 18:20:31 +00:00
sthen
3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.

This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.

Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
2021-02-23 19:39:08 +00:00
sthen
4b6020c6a0 put back BROKEN-i386 in chromium and add it to iridium, the binaries
cannot be loaded, they immediately exit:

: sthen@i386.p; chrome
/usr/local/bin/chrome[60]: /usr/local/chrome/chrome: Cannot allocate memory

: sthen@i386.p; size /usr/local/chrome/chrome
text	data	bss	dec	hex
180104608	3805736	1949616	185859960	b13ff78

exiting happens very early, before ld.so loads libraries:

: sthen@i386.p; LD_DEBUG=1 /usr/local/chrome/chrome
ksh: /usr/local/chrome/chrome: Cannot allocate memory

no point wasting 2x24h in build for these two.
2020-12-21 18:25:13 +00:00
robert
8fd858af2e make it possible for gn to determine its own executable path so that
regenerating rules with ninja is possible
2020-11-15 19:14:12 +00:00
robert
9344939837 update to 2020.11.85 and sync with the chromium port 2020-11-05 15:49:49 +00:00
jasper
39567b34b2 bump after libxslt dependency changed 2020-06-09 07:14:44 +00:00
robert
3bfc0fd104 merge a missing patch from chromium which initializes fontconfig before
all the sandboxing in the renderer process to avoid hitting pledge violations
2020-04-26 11:42:32 +00:00
robert
1f66820716 remove the audio pledge from the audio process as direct audio device access it not possible anymore 2020-04-24 07:21:55 +00:00
robert
1febb2d545 update to 2020.04.81 2020-04-12 10:52:45 +00:00
robert
150b9ca0b0 get rid of more setpriority(2) to avoid pledge violations 2020-04-05 09:02:19 +00:00
robert
b688008e5c do not hardcode my pobj dir 2020-04-03 12:25:01 +00:00
robert
e22f3de31c update to 2020.03.80 and sync patches with www/chromium 2020-04-02 15:11:56 +00:00
robert
266f12f964 fixup patches to not include my own pobj path 2019-11-10 13:41:38 +00:00
robert
5736d5ff6b update to 2019.11.78 2019-11-10 13:37:48 +00:00
sthen
7fb36c0ebb get rid of "parallel" in DPB_PROPERTIES on i386, just keep the "lonesome" 2019-08-05 10:09:50 +00:00
naddy
7ab397505a Switch to PERMIT_PACKAGE. CDROM restrictions are no longer applicable. 2019-07-14 00:39:34 +00:00
sthen
6ff3e55398 bump REVISION in a bunch of ports known or likely to use struct kinfo_proc,
there may be some missing as my unpacked ports source is a little out of date
but this should catch the main things people might run into

the struct was reordered a second time in sysctl.h r1.192 to improve
compatibility but amd64 snapshot packages made it out before that happened
so the bumps are still needed
2019-06-25 20:25:20 +00:00
sthen
a2416401e5 sync WANTLIB 2019-06-13 17:07:04 +00:00
robert
0bf88bf4db sync patches with chromium 2019-05-27 16:11:17 +00:00
sthen
22de3ff02c set png16 WANTLIB entries back to png following the change in soname
part done by portbump, part by hand (it is easily confused)
2019-05-17 16:45:25 +00:00
robert
53689ed1c1 disable wasm (WebAssembly) by default because it is a disaster 2019-04-17 18:35:36 +00:00
robert
d56ce73097 unbreak build by adding missing curly bracket 2019-04-17 18:29:54 +00:00
robert
2195fa6032 update to 2019.04.73 2019-04-17 11:48:53 +00:00
robert
c328c95c7c sync patches with chromium (v8 memory usage and pledge related)
ok sthen@
2019-04-07 10:01:46 +00:00
robert
c61246bb4b add missing patches from previous commit that syncs sandbox code with chromium 2019-03-13 17:25:14 +00:00
robert
42e983cbd1 sync the sandbox code (pledge + unveil) with chromium 2019-03-13 17:24:30 +00:00
sthen
bc078ad09a set DPB_PROPERTIES+=lonesome on chromium/iridium for i386 (like is done
for firefox) in the hope that this will reduce build problems. these
ports often end up building together on a machine and they aren't coping
too well.

compiling some individual files is now bumping into my 75 minute DPB
stuck_timeout (possibly the llvm update took it over the edge) - raising
the timeout means that the other ports which occasionally hang during
compilation tie up a build slot for too long.
2019-01-30 22:47:35 +00:00
robert
35fc907a4a fix theme handling by actually showing the necessary buttons in the settings
page
2018-12-04 09:55:07 +00:00
robert
6ef2a9936c add unveil(2) for /usr/bin/lpr to make the system print dialog work when
using lpr for printing
2018-11-30 17:22:35 +00:00
sthen
0c2c4b5c37 Adjust () position to disable --build-id on OpenBSD. The patch file is
similar to one in chromium, but the line is slightly different meaning
this didn't work quite right. Fixes build with ld.bfd (e.g. i386 until
we switch to lld). ok robert@
2018-11-28 15:15:52 +00:00
naddy
358f3a3126 Allow text relocations on i386, caused by optimized non-PIC assembly in
the embedded copy of FFmpeg.  Chromium build test by sthen@,
looks good to robert@
2018-11-27 18:20:51 +00:00