Commit graph

205 commits

Author SHA1 Message Date
Tobias Kortkamp
44439e7c1d www/chromium: Sync sndio backend with OpenBSD and unbreak build after r508722
../../media/audio/openbsd/audio_manager_openbsd.cc:158:14: error: allocating an object of abstract class type 'media::SndioAudioOutputStream'
  return new SndioAudioOutputStream(params, this);
             ^
../../media/audio/audio_io.h:117:16: note: unimplemented pure virtual method 'Flush' in 'SndioAudioOutputStream'
  virtual void Flush() = 0;

PR:		239802
Submitted by:	tobik
Reported by:	kib
Tested by:	kib
Approved by:	chromium (cpm)
MFH:		2019Q3 (together with r508722)
2019-08-12 17:43:35 +00:00
Carlos J. Puga Medina
4931d3869a www/chromium: Update to 76.0.3809.100
Changelog: https://chromium.googlesource.com/chromium/src/+log/75.0.3770.142..76.0.3809.100?pretty=fuller&n=10000

Submitted by:	Matthias Wolf <matthias@rheinwolf.de>
MFH:		2019Q3
2019-08-12 10:39:48 +00:00
Carlos J. Puga Medina
8018602ab5 www/chromium: Fix audio/video synchronization bug after r506266
PR:		238869
Submitted by:	tobik
Reported by:	jrm
MFH:		2019Q3
2019-07-28 18:05:33 +00:00
Carlos J. Puga Medina
75d7ca14e9 www/chromium: Add support for audio recording using sndio
PR:		238869
Submitted by:	Zielonka Michal <zielonka.michal@gmail.com>, tobik
Obtained from:	f213ba25a3
MFH:		2019Q3
2019-07-09 08:20:56 +00:00
Carlos J. Puga Medina
077c6a2e18 www/chromium: Unbreak build on < 11.3
In file included from gen/base/base_jumbo_17.cc:8:
./../../base/sampling_heap_profiler/sampling_heap_profiler.cc:74:3: error: use of undeclared identifier 'pthread_get_name_np'
  pthread_get_name_np(pthread_self(), name, kBufferLen);
  ^

PR:		238563
Reported by:	kib@
2019-06-16 02:17:02 +00:00
Carlos J. Puga Medina
fde2530e82 www/chromium: Update to 75.0.3770.80
Changelog: https://chromium.googlesource.com/chromium/src/+log/74.0.3729.169..75.0.3770.80?pretty=fuller&n=10000

Submitted by:	Matthias Wolf <matthias@rheinwolf.de>
2019-06-13 22:29:19 +00:00
Carlos J. Puga Medina
40ee87cc13 www/chromium: Update to 74.3729.169
Changelog: https://chromium.googlesource.com/chromium/src/+log/74.0.3729.157..74.0.3729.169?pretty=fuller&n=10000
2019-06-02 21:22:09 +00:00
Carlos J. Puga Medina
2541c1af71 - Add an upstream fix for issue 956061: Context menu and on top elements draw a black rectangle.
Read for more details: https://bugs.chromium.org/p/chromium/issues/detail?id=956061
2019-05-28 17:26:32 +00:00
Rene Ladan
a8a9149eb3 www/chromium: update to 74.0.3729.157
Submitted by:	Matthias Wolf via GitHub (#150 #151)
MFH:		2019Q2
2019-05-24 12:34:58 +00:00
Carlos J. Puga Medina
f50606dbd1 www/chromium: Unbreak on arm64
PR:		236441
Submitted by:	Mikael Urankar <mikael.urankar@gmail.com>
MFH:		2019Q2
2019-04-17 20:46:31 +00:00
Carlos J. Puga Medina
d90bf58cf8 www/chromium: Update to 73.0.3683.86
- Make existing patches apply cleanly

Changelog: https://chromium.googlesource.com/chromium/src/+log/72.0.3626.121..73.0.3683.86?pretty=fuller&n=10000

Submitted by:	Matthias Wolf
MFH:		2019Q2
2019-04-05 12:01:25 +00:00
Carlos J. Puga Medina
fec0107d4f www/chromium: fix U2F support
U2F (ie Yubikeys) support was broken in r489612 when part of the required functionality was removed from services/device/hid/hid_connection_freebsd.cc

Submitted patch brings it back and also synchronizes blocking checks API with Linux version of the file.

PR:		236911
Submitted by:	gonzo
2019-03-31 20:47:15 +00:00
Conrad Meyer
2c7f9c2fb2 www/chromium: Remove reference to obsolete FreeBSD
As the removed message says, this has been the default since 11.0. 11.0 itself
is EOL, as is anything older than it.

https://www.freebsd.org/security/index.html#sup

Reviewed by:	cpm
Approved by:	cpm
Differential Revision:	https://reviews.freebsd.org/D19494
2019-03-08 16:10:20 +00:00
Rene Ladan
a31400d152 www/chromium: update to 72.0.3626.119 [1]
PR:		234773
Submitted by:	cpm [1], Matthias Wolf [1]
Obtained from:	https://github.com/cpu82/freebsd-chromium.git
MFH:		2019Q1
2019-02-24 10:52:51 +00:00
Carlos J. Puga Medina
944c917ce1 - Fix debug build
- Add missing patch in r489897
- Drop unnecessary patch
- Bump PORTREVISION

MFH:		2019Q1
2019-01-12 09:21:19 +00:00
Carlos J. Puga Medina
09d6306d2a - Enable Hangout extension
- Fix jumbo build with the SNDIO option enabled [1]
- Fix crash in V8
- Fix nav preload with third-party cookie blocking
- Backport more patches from OpenBSD chromium port
- Bump PORTREVISION

Reported by:	Joseph Mingrone <jrm@FreeBSD.org> via email [1]
MFH:		2019Q1
2019-01-10 20:47:32 +00:00
Carlos J. Puga Medina
ab34cf48c6 www/chromium: Update to 71.0.3578.98
Changelog: https://chromium.googlesource.com/chromium/src/+log/68.0.3440.106..71.0.3578.98?pretty=fuller&n=10000

PR:		233990
Submitted by:	Matthias Wolf <freebsd@rheinwolf.de>
Reported by:	nikolaibitinit@gmail.com
Reviewed by:	rene, cpm
Approved by:	rene, cpm
MFH:		2019Q1
Security:	http://vuxml.freebsd.org/freebsd/546d4dd4-10ea-11e9-b407-080027ef1a23.html
Security:	http://vuxml.freebsd.org/freebsd/720590df-10eb-11e9-b407-080027ef1a23.html
2019-01-07 19:47:18 +00:00
Emmanuel Vadot
584e5f37da www/chromium: Really unbreak on arm64
r486198 didn't include the correct patch for boringssl.
Fix this.

Pointy Hat:	manu
Tested On:	Pinebook

Approved by:	bapt (mentor, implicit)
2018-12-03 10:05:32 +00:00
Emmanuel Vadot
3f1c951210 www/chromium: Fix build on aarch64
arm64 doesn't have elf_aux_info and FreeBSD doesn't support getauxval.
For both boringssl and zlib disable the feature checking until we have
a way to expose those feature to the user.
Remove a patch (patch-third__party_boringssl_src_crypto_cpu-aarch64-linux.c) which is a no op
as all the code in under OPENSSL_LINUX which isn't defined.

Reviewed by:	cpm (earier version), bapt (earlier version)
Approved by:	bapt (mentor, implicit)
2018-11-29 17:26:30 +00:00
Emmanuel Vadot
1fdf92a957 Revert r485933
It was based on an older version of the port, revert until I work on it again

Approved by:	bapt (mentor, implicit)
2018-11-27 06:49:25 +00:00
Emmanuel Vadot
af155c4db4 www/chromium: Fix build on aarch64
arm64 doesn't have elf_aux_info and FreeBSD doesn't support getauxval.
For both boringssl and zlib disable the feature checking until we have
a way to expose those feature to the user.
Remove a patch (patch-third__party_boringssl_src_crypto_cpu-aarch64-linux.c) which is a no op
as all the code in under OPENSSL_LINUX which isn't defined.

Reviewed by:	cpm, bapt
Approved by:	bapt (mentor)
Differential Revision:	https://reviews.freebsd.org/D17207
2018-11-26 08:43:58 +00:00
Rene Ladan
8a502cb2d4 Remove compatibility code for FreeBSD < 11.2 from all ports.
Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by:	rene
Reviewed by:	bapt, jbeich
Differential Revision:	https://reviews.freebsd.org/D17724
2018-11-02 13:32:34 +00:00
Carlos J. Puga Medina
2299656dc8 - USE_GNOME also requires USES=gnome
- Switch to USES=localbase:ldflags
- Revert Makefile.tests and include more *_unittests
- Update patch file with missing WEBRTC_BSD macro
- Apply several patches from devel/googletest (thanks to jbeich@)
- Bump PORTREVISION
2018-09-01 13:23:08 +00:00
Carlos J. Puga Medina
c03810c215 - Add more useful comments to make Makefile more readable
- Fix TEST option allow running basic tests and skip tests that must be verified
  if they are supported before being added back to TEST_TARGETS
- Add patches that fixes crash with non-MESA drivers fall back to scanning PCI
  devices. Ideally, we'd like to use libpci but the current version calculates
  device class wrong for non-root users (patch submitted to libpci author), so
  a workaround would be messy. Instead, use direct access to /dev/pci. Once the
  upstream fixes the bug generic libpci code can be used [1]

  Tested by: Oleh Hushchenkov <gor@clogic.com.ua>, Jonathan Chen <jonc@chen.org.nz>

- Bump PORTREVISION

PR:		230450 [1]
Submitted by:	gonzo [1]
Reported by:	Oleh Hushchenkov, Jonathan Chen [1]
2018-08-22 09:58:18 +00:00
Carlos J. Puga Medina
9435d9f850 - Cosmetic fix in Makefile
- Allow chromium to use the Linux GPU access setup implementation by default since it works correctly
- Add missing file for DEBUG option in pkg-plist
- Sort pkg-plist
- Bump PORTREVISION
2018-08-18 14:41:14 +00:00
Carlos J. Puga Medina
6c568929e0 www/chromium: Update to 68.0.3440.106
- Update amount of free disk space required to build chromium
- Implement GPU access set up for FreeBSD [1]
- Remove the incorrect sugestion in pkg-message and remove the fix-hanging-tabs.sh script because the bug of hanging tabs has been fixed in r337328 improving the chromium stability. Thanks to markj@ [2]

PR:		230450 [1], 212812 [2]
Reported by:	Oleh Hushchenkov <gor@clogic.com.ua>
MFH:		2018Q3
2018-08-15 22:54:53 +00:00
Carlos J. Puga Medina
afe141e079 www/chromium: minor fix in pkg-message
%%DATADIR%% is not being expanded in pkg-message, and it shows up like this:

--II--
Chromium has a known problem of hanging tabs. The workaround
for this problem is to mount ~/.cache/chromium as memory-fs.
In order to do this, before you run Chromium, please run the
following script as root once for each user who uses Chromium
(replace {user}/{group} with your user/group names):

# %%DATADIR%%/fix-hanging-tabs.sh {user} {group}

- Add DATADIR to SUB_LIST to correctly be replaced with its value and move pkg-message to FILESDIR.
- Bump PORTREVISION

Reported by:	olgeni via mail
2018-08-08 20:27:42 +00:00
Carlos J. Puga Medina
7636049649 www/chromium: Update to 68.0.3440.84
Changelog: https://chromium.googlesource.com/chromium/src/+log/67.0.3396.87..68.0.3440.84?pretty=fuller&n=10000

At the moment pkg-message says that in order to work around the hanging tabs problem the user may wish to run the following commands:

# [ -d ~{user}/.cache/chromium ] || mkdir ~{user}/.cache/chromium
# echo "md $(echo ~{user})/.cache/chromium mfs rw,late,-w{user}:{group},-s300m 2 0" >> /etc/fstab
# mount ~{user}/.cache/chromium

Add fix-hanging-tabs.sh script to the DATADIR [1], which simplifies the process to just running

/usr/local/share/chromium/fix-hanging-tabs.sh $user $group

PR:		230264 [1]
Submitted by:	0mp [1]
MFH:		2018Q3
Security:	http://vuxml.freebsd.org/freebsd/b9c525d9-9198-11e8-beba-080027ef1a23.html
2018-08-07 13:56:28 +00:00
Carlos J. Puga Medina
87e53bd878 www/chromium: update to 67.0.3396.87
Changelog: https://chromium.googlesource.com/chromium/src/+log/65.0.3325.181..67.0.3396.87?pretty=fuller&n=10000

MFH:		2018Q3
Security:	https://vuxml.freebsd.org/freebsd/36ff7a74-47b1-11e8-a7d6-54e1ad544088.html
Security:	https://vuxml.freebsd.org/freebsd/006bee4e-4c49-11e8-9c32-54ee754af08e.html
Security:	https://vuxml.freebsd.org/freebsd/e457978b-5484-11e8-9b85-54ee754af08e.html
Security:	https://vuxml.freebsd.org/freebsd/427b0f58-644c-11e8-9e1b-e8e0b747a45a.html
Security:	https://vuxml.freebsd.org/freebsd/4cb49a23-6c89-11e8-8b33-e8e0b747a45a.html
2018-07-22 10:28:49 +00:00
Carlos J. Puga Medina
b46d30b601 - Add patch to build chromium with native LLVM 6.0 on FreeBSD >= 1101513
- Disable use_gold flag. If lld is disabled, chromium uses the gold linker instead of lld of bfd. We do not want this to happen.
- Bump PORTREVISION
2018-06-20 08:48:19 +00:00
Jan Beich
67a9073255 Drop FreeBSD 10.3 support
Reviewed by:	yuri (SoPlex), sunpoet (nghttp2), cpm (chromium), brooks (llvm*)
Approved by:	portmgr (rene)
Differential Revision:	https://reviews.freebsd.org/D15238
2018-05-07 22:29:46 +00:00
Carlos J. Puga Medina
8768d9b13a www/chromium: switch to llvm60
PR:		227683
Submitted by:	jbeich
2018-04-30 15:42:17 +00:00
Jan Beich
039768d14f www/chromium: unbreak with ffmpeg 4.0
../../media/ffmpeg/ffmpeg_common.cc:36:1: error: static_assert failed "DecoderBuffer padding size does not fit ffmpeg requirement"
static_assert(DecoderBuffer::kPaddingSize >= AV_INPUT_BUFFER_PADDING_SIZE,
^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

PR:		227726
Obtained from:	upstream
2018-04-24 13:58:16 +00:00
Carlos J. Puga Medina
7a827ec156 www/chromium: Unbreak build on 12/aarch64
../../third_party/skia/src/core/SkCpu.cpp:84:27: error: use of undeclared identifier 'getauxval'
        uint32_t hwcaps = getauxval(AT_HWCAP);
                          ^

PR:		224383
Submitted by:	Mikael Urankar <mikael.urankar@gmail.com>
Reported by:	jbeich
2018-04-18 07:21:05 +00:00
Carlos J. Puga Medina
c9a6ed3a28 www/chromium: update to 65.0.3325.181
Changelog: https://chromium.googlesource.com/chromium/src/+log/64.0.3282.186..65.0.3325.181?pretty=fuller&n=10000

MFH:		2018Q1
Security:	https://vuxml.freebsd.org/freebsd/555af074-22b9-11e8-9799-54ee754af08e.html
Security:	https://vuxml.freebsd.org/freebsd/3ae21918-31e3-11e8-927b-e8e0b747a45a.html
2018-03-31 11:45:16 +00:00
Craig Leres
cd0cba289e Add a CUPS option to disable cups support and remove the
dependency on print/cups. This includes a patch from cpm@ that
solves an undefined linker reference that occurs when cups is
disabled. Since chromium does not support printing without cups
enabling this option also disables printing and print previews.

PR:		226505
Reviewed by:	cpm, matthew (mentor)
Approved by:	cpm, matthew (mentor)
Differential Revision:	https://reviews.freebsd.org/D14659
2018-03-12 17:44:37 +00:00
Carlos J. Puga Medina
fcc148b0d0 www/chromium: update to 64.0.3282.186
Changelog: https://chromium.googlesource.com/chromium/src/+log/63.0.3239.132..64.0.3282.186?pretty=fuller&n=10000

MFH:		2018Q1
Security:	https://vuxml.freebsd.org/freebsd/8e986b2b-1baa-11e8-a944-54ee754af08e.html
Security:	https://vuxml.freebsd.org/freebsd/abfc932e-1ba8-11e8-a944-54ee754af08e.html
2018-03-07 22:13:12 +00:00
Rene Ladan
2312775f8e www/chromium: update to 63.0.3239.132
Submitted by:	cpm
Obtained from:	https://github.com/cpu82/freebsd-chromium
MFH:		2018Q1
Security:	https://vuxml.freebsd.org/freebsd/e264e74e-ffe0-11e7-8b91-e8e0b747a45a.html
Security:	https://vuxml.freebsd.org/freebsd/1d951e85-ffdb-11e7-8b91-e8e0b747a45a.html
Security:	https://vuxml.freebsd.org/freebsd/82894193-ffd4-11e7-8b91-e8e0b747a45a.html
Security:	https://vuxml.freebsd.org/freebsd/f8e72cd4-c66a-11e7-bb17-e8e0b747a45a.html
Security:	https://vuxml.freebsd.org/freebsd/3cd46257-bbc5-11e7-a3bc-e8e0b747a45a.html
Security:	https://vuxml.freebsd.org/freebsd/a692bffe-b6ad-11e7-a1c2-e8e0b747a45a.html
2018-02-20 18:51:06 +00:00
Jan Beich
b2ea28aac5 www/chromium, www/iridium: switch to llvm50 (like r457360)
PR:		224622
Approved by:	chromium (cpm)
2017-12-27 23:33:04 +00:00
Oleksandr Tymoshenko
5de6230512 www/chromium: add support for USB U2F devices
Implement enough of chrome.hid API to make U2F security keys work.

Due to FreeBSD's HID API limitations it's not possible to consistently
report vedor id or product id values for HID devices so if javascript
library relies on this information to detect supported keys it won't
work, only report descriptor based detection works.

Also by default uhid(4) devices accessible only to root user, current
solution is to change /dev/uhidX node permission using devd. For example
create /usr/local/etc/devd/yubi.conf with following content and
restart devd:

attach 20 {
  match "vendor" "0x1050";
  action "/bin/chmod 766 /dev/$device-name";
};

Work on u2f-devd port is in progress (see PR). When done it will take
care of maintaining devd rulesets for U2F devices.

PR:		196754
Approved by:	cpm
2017-12-04 05:44:24 +00:00
Carlos J. Puga Medina
4181ea8c1c www/chromium: update to 61.0.3163.79
- Add arm64 support [1]
- Fix segfault on i386 [2]
- Switch to USES=compiler:c++14-lang for devel/chromium-gn because chromium
  needs __builtin_add_overflow and friends to build.

Changelog: https://chromium.googlesource.com/chromium/src/+log/60.0.3112.113..61.0.3163.79?pretty=fuller&n=10000

PR:		220291 [1], 221266 [2]
Submitted by:	Andrew [1]
Reported by:	Patrick <doctorwhoguy@gmail.com> [2]
MFH:		2017Q3
2017-09-17 11:10:43 +00:00
Carlos J. Puga Medina
47e1e0949d www/chromium: update to 60.0.3112.101
- Update LICENSE
- Drop USE_GNOME=gtk20 dependency because chromium uses gtk3
- Use freetype2 bundled to avoid more issues related to the freetype library
- Fix typo in the comment of pre-configure section
- Update comment in SNDIO section

Changelog: https://chromium.googlesource.com/chromium/src/+log/59.0.3071.115..60.0.3112.101?pretty=fuller&n=10000

MFH:		2017Q3
Security:	https://vuxml.freebsd.org/freebsd/7d138476-7710-11e7-88a1-e8e0b747a45a.html
2017-08-23 20:37:16 +00:00
Mahdi Mokhtari
95a9f95a42 devel/chromium-gn: Add port to the tree
GN is a meta-build system that generates NinjaBuild.
It helps to build chromium with Ninja.
Also enables us for one step forward to build Electron.io for FreeBSD.

Reported by:	Luca Pizzamiglio <luca.pizzamiglio@gmail.com>
Reviewed by:	mat (mentor), mmokhi, cpm (chromium)
Approved by:	mat (mentor), mmokhi, cpm (chromium)
Differential Revision:	https://reviews.freebsd.org/D11554
2017-08-19 09:51:22 +00:00
Carlos J. Puga Medina
8f02e52a44 - Fix patch previously committed in r446307
MFH:		2017Q3 (blanket)
2017-07-21 14:01:16 +00:00
Carlos J. Puga Medina
d804ae16da - Add network interface implementation for FreeBSD [1]
- Backport a patch from upstream to fix DPI settings
- Bump PORTREVISION

PR:		211036 [1]
MFH:		2017Q3
2017-07-21 11:14:01 +00:00
Carlos J. Puga Medina
2189bd23d3 www/chromium: update to 59.0.3071.115
- Add my LOCAL to MASTER_SITES to provide FreeType source. This makes possible to build chromium from this tarball.
- Backport several patches from OpenBSD to enable SwiftShader.

Changelog: https://chromium.googlesource.com/chromium/src/+log/59.0.3071.109..59.0.3071.115?pretty=fuller&n=10000
2017-06-28 00:36:33 +00:00
Carlos J. Puga Medina
ca28e15b28 www/chromium: add SNDIO option
PR:		220230
Submitted by:	tobik
2017-06-27 21:56:39 +00:00
Carlos J. Puga Medina
21d666ea50 www/chromium: update to 59.0.3071.109
- Fix TEST option

Changelog: https://chromium.googlesource.com/chromium/src/+log/59.0.3071.104..59.0.3071.109?pretty=fuller&n=10000

MFH:		2017Q2
2017-06-23 17:45:26 +00:00
Carlos J. Puga Medina
893d9b13f0 www/chromium: update to 59.0.3071.104
- Use https in WWW and MASTER_SITES
- Sort ONLY_FOR_ARCHS, USES, USE_GNOME and GN_ARGS
- Put in correct place MAKE_ENV+= V=1 variable
- Use LLD linker by default for supported archs
- Fix DEBUG option
- Fix gpu_info_collector.cc warning: control may reach end of non-void function [-Wreturn-type]
- Get rid of multiple definition errors

Changelog: https://chromium.googlesource.com/chromium/src/+log/58.0.3029.110..59.0.3071.104?pretty=fuller&n=10000

MFH:		2017Q2
Security:	https://www.vuxml.org/freebsd/52f4b48b-4ac3-11e7-99aa-e8e0b747a45a.html
Security:	https://www.vuxml.org/freebsd/f53dd5cc-527f-11e7-a772-e8e0b747a45a.html
2017-06-20 20:20:44 +00:00
Carlos J. Puga Medina
edfa7dd460 - Fix runtime.getPlatformInfo on FreeBSD [1]
- Don't use the PDFium bundle freetype [2]
- Bump PORTREVISION

PR:		212925 [1], 219448 [2]
Submitted by:	Jan Kokemueller <jan.kokemueller@gmail.com> [2]
Reported by:	Yuri Konotopov <ykonotopov@gmail.com> [1]
2017-06-01 12:02:41 +00:00