mirror of
https://github.com/imputnet/helium.git
synced 2026-08-20 00:57:32 +02:00
Update Debian files and patches from ungoogled-chromium-debian
This commit is contained in:
@@ -28,6 +28,8 @@ debian_buster/arm/skia.patch
|
||||
debian_buster/arm/gcc_skcms_ice.patch
|
||||
debian_buster/fixes/mojo.patch
|
||||
debian_buster/fixes/sizet.patch
|
||||
debian_buster/fixes/alignof.patch
|
||||
debian_buster/fixes/polymer.patch
|
||||
debian_buster/fixes/optimize.patch
|
||||
debian_buster/fixes/ps-print.patch
|
||||
debian_buster/fixes/as-needed.patch
|
||||
@@ -41,7 +43,6 @@ debian_buster/fixes/ownership-error.patch
|
||||
debian_buster/fixes/member-assignment.patch
|
||||
debian_buster/fixes/widevine-locations.patch
|
||||
debian_buster/fixes/connection-message.patch
|
||||
debian_buster/fixes/alignof.patch
|
||||
debian_buster/disable/android.patch
|
||||
debian_buster/disable/fuzzers.patch
|
||||
debian_buster/disable/perfetto.patch
|
||||
@@ -57,6 +58,7 @@ debian_buster/warnings/sequence-point.patch
|
||||
debian_buster/warnings/initialization.patch
|
||||
debian_buster/warnings/unused-typedefs.patch
|
||||
debian_buster/warnings/null-destination.patch
|
||||
debian_buster/warnings/explicit-constructor.patch
|
||||
debian_buster/system/fontconfig.patch
|
||||
|
||||
iridium-browser/net-cert-increase-default-key-length-for-newly-gener.patch
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
debian_buster/disable/openh264.patch
|
||||
|
||||
debian_buster/system/ffmpeg34.patch
|
||||
debian_buster/system/harfbuzz.patch
|
||||
debian_buster/system/openjpeg.patch
|
||||
|
||||
debian_buster/debianization/sandbox.patch
|
||||
debian_buster/debianization/master-preferences.patch
|
||||
|
||||
ungoogled-chromium/linux/manpage.patch
|
||||
|
||||
@@ -9,8 +9,8 @@ debian_buster/system/ffmpeg34.patch
|
||||
debian_buster/system/openjpeg.patch
|
||||
debian_stretch/system/openjpeg21.patch
|
||||
|
||||
debian_buster/debianization/sandbox.patch
|
||||
debian_buster/debianization/master-preferences.patch
|
||||
|
||||
ungoogled-chromium/linux/fix-libva1-compatibility.patch
|
||||
ungoogled-chromium/linux/fix-old-libstdcxx-incompatibility.patch
|
||||
ungoogled-chromium/linux/manpage.patch
|
||||
|
||||
@@ -11,6 +11,7 @@ use_cups=true
|
||||
use_custom_libcxx=false
|
||||
use_gio=true
|
||||
use_kerberos=false
|
||||
use_libjpeg_turbo=true
|
||||
use_openh264=false
|
||||
use_pulseaudio=true
|
||||
use_system_freetype=true
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
files
|
||||
*.log
|
||||
*.substvars
|
||||
|
||||
.debhelper
|
||||
debhelper-build-stamp
|
||||
|
||||
ungoogled-chromium
|
||||
ungoogled-chromium-l10n
|
||||
ungoogled-chromium-shell
|
||||
ungoogled-chromium-driver
|
||||
ungoogled-chromium-common
|
||||
ungoogled-chromium-sandbox
|
||||
|
||||
scripts/mk-origtargz
|
||||
@@ -36,10 +36,35 @@ package and launch chromium with the "-g" flag.
|
||||
|
||||
$ chromium -g
|
||||
|
||||
If you try to install chromium-dbgsym and it fails, you may not have Debian's
|
||||
dbgsym package repository configured and enabled. To set this up, first as
|
||||
root add one or more of the following lines to your /etc/apt/sources.list file
|
||||
(select the one appropriate to the Debian release you are using):
|
||||
|
||||
deb http://debug.mirrors.debian.org/debian-debug stable-debug main
|
||||
deb http://debug.mirrors.debian.org/debian-debug testing-debug main
|
||||
deb http://debug.mirrors.debian.org/debian-debug unstable-debug main
|
||||
|
||||
Then execute these commands (also as root):
|
||||
|
||||
# apt update
|
||||
# apt install chromium-dbgsym
|
||||
|
||||
Information about installing dbgsym packages can be found on the Debian wiki:
|
||||
|
||||
http://wiki.debian.org/AutomaticDebugPackages
|
||||
|
||||
More information about debugging chromium can also be found on the Debian wiki:
|
||||
Additional information about debugging chromium can also be found on the Debian
|
||||
wiki, but it is often out of date:
|
||||
|
||||
http://wiki.debian.org/Chromium/Debugging
|
||||
|
||||
Running as Root
|
||||
===============
|
||||
|
||||
First of all, this is a very bad idea for a large number of reasons, so please
|
||||
do not do this unless you really know what you are doing. However, if you want
|
||||
to accept the risks, you can use the --no-sandbox command line argument to be
|
||||
able to run chromium as root:
|
||||
|
||||
# chromium --no-sandbox
|
||||
|
||||
@@ -31,3 +31,5 @@ third_party/yasm/run_yasm.py
|
||||
|
||||
tools/gn/base/numerics/safe_math_arm_impl.h
|
||||
tools/gn/base/numerics/safe_conversions_arm_impl.h
|
||||
|
||||
third_party/catapult/third_party/polymer/components
|
||||
|
||||
@@ -72,7 +72,7 @@ Build-Depends:
|
||||
libspeechd-dev (>= 0.8.3),
|
||||
libminizip-dev,
|
||||
libhunspell-dev,
|
||||
libharfbuzz-dev,
|
||||
libharfbuzz-dev (>= 2.1.1),
|
||||
libusb-1.0-0-dev,
|
||||
libopenjp2-7-dev,
|
||||
libmodpbase64-dev,
|
||||
@@ -81,11 +81,12 @@ Build-Depends:
|
||||
libcups2-dev (>= 1.5.0),
|
||||
libevent-dev (>= 1.4.13),
|
||||
libjs-jquery,
|
||||
libjs-excanvas,
|
||||
libjs-jquery-flot,
|
||||
libgcrypt20-dev,
|
||||
libva-dev,
|
||||
Standards-Version: 4.1.4
|
||||
fonts-ipafont-gothic,
|
||||
fonts-ipafont-mincho,
|
||||
Standards-Version: 4.2.1
|
||||
|
||||
Package: ungoogled-chromium
|
||||
Architecture: i386 amd64 arm64 armhf
|
||||
@@ -94,6 +95,8 @@ Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
ungoogled-chromium-common (= ${binary:Version}),
|
||||
Recommends:
|
||||
ungoogled-chromium-sandbox,
|
||||
Suggests:
|
||||
ungoogled-chromium-l10n,
|
||||
ungoogled-chromium-shell,
|
||||
@@ -101,6 +104,9 @@ Suggests:
|
||||
Provides:
|
||||
www-browser,
|
||||
gnome-www-browser,
|
||||
Breaks:
|
||||
chromium-lwn4chrome (<= 1.0-2),
|
||||
chromium-tt-rss-notifier (<= 0.5.2-2),
|
||||
Conflicts:
|
||||
libnettle4,
|
||||
libsecret-1-0 (<< 0.18),
|
||||
@@ -185,6 +191,7 @@ Recommends:
|
||||
libu2f-udev,
|
||||
libva1,
|
||||
libgl1-mesa-dri,
|
||||
ungoogled-chromium-sandbox,
|
||||
fonts-liberation,
|
||||
notification-daemon,
|
||||
Breaks:
|
||||
@@ -199,3 +206,18 @@ Description: web browser - common resources used by ungoogled-chromium packages
|
||||
.
|
||||
This package contains resources that are in common to different
|
||||
ungoogled-chromium packages.
|
||||
|
||||
Package: ungoogled-chromium-sandbox
|
||||
Architecture: i386 amd64 arm64 armhf
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
Breaks:
|
||||
chromium (<< ${binary:Version}),
|
||||
Replaces:
|
||||
chromium (<< ${binary:Version}),
|
||||
Description: web browser - setuid security sandbox for ungoogled-chromium
|
||||
Web browser that aims to build a safer, faster, and more stable internet
|
||||
browsing experience.
|
||||
.
|
||||
This package contains the setuid chromium sandbox.
|
||||
|
||||
@@ -51,10 +51,10 @@ Files-Excluded:
|
||||
third_party/re2
|
||||
third_party/icu
|
||||
third_party/ink
|
||||
third_party/deqp
|
||||
third_party/opus
|
||||
third_party/flac
|
||||
third_party/llvm
|
||||
third_party/webgl
|
||||
third_party/libpng
|
||||
third_party/libvpx
|
||||
third_party/libdrm
|
||||
@@ -89,6 +89,7 @@ Files-Excluded:
|
||||
third_party/zlib/contrib
|
||||
third_party/zlib/patches
|
||||
third_party/skia/tools/gyp
|
||||
third_party/skia/src/compute
|
||||
third_party/skia/site/user/api
|
||||
third_party/skia/platform_tools
|
||||
third_party/skia/resources/icc_profiles
|
||||
@@ -107,12 +108,14 @@ Files-Excluded:
|
||||
third_party/swiftshader
|
||||
third_party/apache-win32
|
||||
third_party/apache-portable-runtime
|
||||
third_party/instrumented_libraries
|
||||
third_party/sqlite/sqlite-src*
|
||||
third_party/angle/third_party/deqp
|
||||
third_party/sfntly/src/java/lib
|
||||
third_party/sfntly/src/cpp/ext/redist
|
||||
third_party/chromevox/third_party/sre
|
||||
third_party/crashpad/crashpad/handler/win
|
||||
third_party/crashpad/crashpad/snapshot/elf/elf_image_reader_fuzzer_corpus
|
||||
third_party/mesa/src/src/gallium/state_trackers/d3d1x/w32api
|
||||
third_party/blink/renderer/devtools/scripts/closure
|
||||
third_party/blink/renderer/platform/text_codec_fuzzer_seed_corpus
|
||||
third_party/google_input_tools/src/chrome/os/inputview/_locales/*.js
|
||||
@@ -135,8 +138,12 @@ Files-Excluded:
|
||||
third_party/accessibility-audit/axs_testing.js
|
||||
third_party/catapult/third_party/flot
|
||||
third_party/catapult/third_party/chai
|
||||
third_party/catapult/third_party/vinn
|
||||
third_party/catapult/third_party/mocha
|
||||
third_party/catapult/third_party/coverage
|
||||
third_party/catapult/third_party/polymer2
|
||||
third_party/catapult/third_party/polymer3
|
||||
third_party/catapult/third_party/polymer/components
|
||||
third_party/catapult/tracing/test_data
|
||||
third_party/catapult/tracing/third_party/chai/chai.js
|
||||
third_party/catapult/tracing/third_party/gl-matrix/spec/gl-matrix/mat3-spec.js
|
||||
@@ -157,6 +164,7 @@ Files-Excluded:
|
||||
third_party/pdfium/third_party/yasm/source
|
||||
third_party/pdfium/third_party/libopenjpeg20
|
||||
third_party/breakpad/breakpad/src/client/mac
|
||||
third_party/breakpad/breakpad/src/common/convert_UTF.*
|
||||
third_party/boringssl/crypto_test_data.cc
|
||||
third_party/boringssl/src/crypto/cipher_extra/test
|
||||
third_party/dom_distiller_js/dist/js/domdistiller_wrapped.js
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Any files placed in this directory will be sourced prior to executing chromium.
|
||||
@@ -0,0 +1,5 @@
|
||||
# remote extensions on by default
|
||||
export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --enable-remote-extensions"
|
||||
|
||||
# load all of the extensions installed to /usr/share/chromium/extensions
|
||||
export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --load-extension=`ls -dm /usr/share/chromium/extensions/* 2>/dev/null | tr -d '\n'`"
|
||||
@@ -1,2 +0,0 @@
|
||||
# remote extensions on by default
|
||||
export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --enable-remote-extensions"
|
||||
@@ -67,10 +67,10 @@ domsubcache=debian/scripts/ungoogled-chromium/domsubcache.tar.gz
|
||||
%:
|
||||
dh $@
|
||||
|
||||
out/Default/gn:
|
||||
mkdir -p out/Default || true
|
||||
out/Release/gn:
|
||||
mkdir -p out/Release || true
|
||||
cp base/numerics/safe_conversions_arm_impl.h base/numerics/safe_math_arm_impl.h tools/gn/base/numerics
|
||||
./tools/gn/bootstrap/bootstrap.py -o out/Default/gn -j$(njobs)
|
||||
./tools/gn/bootstrap/bootstrap.py -o out/Release/gn -j$(njobs)
|
||||
|
||||
override_dh_auto_configure:
|
||||
# output compiler information
|
||||
@@ -78,47 +78,44 @@ override_dh_auto_configure:
|
||||
# put yasm script in the location expected by gn
|
||||
ln -sf ../pdfium/third_party/yasm/run_yasm.py third_party/yasm
|
||||
# strip out system third_party libraries
|
||||
# NOTE: Removing base/third_party/libevent/BUILD.gn and build/config/freetype/freetype.gni in scripts/unbundle
|
||||
./debian/scripts/unbundle
|
||||
# apply domain substitution
|
||||
if [ ! -e $(domsubcache) ]; then python3 $(buildkit_cli) domains apply -b $(config_bundle) -c $(domsubcache) ./; fi
|
||||
if [ ! -e $(domsubcache) ]; then python3 -B $(buildkit_cli) domains apply -b $(config_bundle) -c $(domsubcache) ./; fi
|
||||
# use system flot
|
||||
for file in $(flotpaths); do ln -sf $$file third_party/flot; done
|
||||
# use polymer from chromium's top level third_party directory
|
||||
ln -sf ../../../../third_party/polymer/v1_0/components-chromium third_party/catapult/third_party/polymer/components
|
||||
|
||||
override_dh_auto_build-arch: out/Default/gn
|
||||
./out/Default/gn gen out/Default --args="$(defines)" --fail-on-unused-args
|
||||
ninja -j$(njobs) -C out/Default chrome chrome_sandbox content_shell chromedriver
|
||||
override_dh_auto_build-arch: out/Release/gn
|
||||
./out/Release/gn gen out/Release --args="$(defines)" --fail-on-unused-args
|
||||
ninja -j$(njobs) -C out/Release chrome chrome_sandbox content_shell chromedriver
|
||||
|
||||
override_dh_auto_build-indep: out/Default/gn
|
||||
./out/Default/gn gen out/Default --args="$(defines)" --fail-on-unused-args
|
||||
ninja -j$(njobs) -C out/Default packed_resources
|
||||
override_dh_auto_build-indep: out/Release/gn
|
||||
./out/Release/gn gen out/Release --args="$(defines)" --fail-on-unused-args
|
||||
ninja -j$(njobs) -C out/Release packed_resources
|
||||
rm -f out/Release/locales/en-US.pak
|
||||
|
||||
override_dh_prep:
|
||||
# building is done by this step; remove domain substitution
|
||||
if [ -e $(domsubcache) ]; then python3 $(buildkit_cli) domains revert -c $(domsubcache) ./; fi
|
||||
if [ -e $(domsubcache) ]; then python3 -B $(buildkit_cli) domains revert -c $(domsubcache) ./; fi
|
||||
dh_prep
|
||||
|
||||
override_dh_auto_install-arch:
|
||||
cp out/Default/chrome out/Default/chromium
|
||||
cp out/Default/content_shell out/Default/chromium-shell
|
||||
cp out/Default/chrome_sandbox out/Default/chrome-sandbox
|
||||
cp out/Default/locales/en-US.pak out/Default/resources
|
||||
chmod 4755 out/Default/chrome-sandbox # suid sandbox
|
||||
cp out/Release/chrome out/Release/chromium
|
||||
cp out/Release/content_shell out/Release/chromium-shell
|
||||
cp out/Release/chrome_sandbox out/Release/chrome-sandbox
|
||||
cp out/Release/locales/en-US.pak out/Release/resources
|
||||
chmod 4755 out/Release/chrome-sandbox # suid sandbox
|
||||
sed -e s/@@PACKAGE@@/chromium/g -e s/@@MENUNAME@@/Chromium/g \
|
||||
< chrome/app/resources/manpage.1.in > out/Default/chromium.1
|
||||
< chrome/app/resources/manpage.1.in > out/Release/chromium.1
|
||||
dh_auto_install
|
||||
# create /etc/chromium.d README file
|
||||
echo "Any files placed in this directory will be sourced prior to executing chromium." \
|
||||
> debian/ungoogled-chromium/etc/chromium.d/README
|
||||
# update launcher script with build information
|
||||
sed 's|@BUILD_DIST@|$(shell printf "%s %s/%s" $(shell lsb_release -si) $(shell lsb_release -sc) $(shell lsb_release -sr))|' \
|
||||
< debian/scripts/chromium > debian/ungoogled-chromium/usr/bin/chromium
|
||||
# move icons into /usr/share
|
||||
./debian/scripts/icons
|
||||
|
||||
override_dh_auto_install-indep:
|
||||
rm -f out/Default/locales/en-US.pak
|
||||
dh_auto_install
|
||||
|
||||
override_dh_fixperms:
|
||||
dh_fixperms --exclude chrome-sandbox
|
||||
|
||||
@@ -146,16 +143,16 @@ removed=$(debvers).files-removed
|
||||
seconds=$(debvers).seconds
|
||||
|
||||
get-orig-source:
|
||||
if [ ! -e debian/patches ]; then python3 $(buildkit_cli) patches export -b $(config_bundle) debian/patches/; fi
|
||||
if [ ! -e debian/patches ]; then python3 -B $(buildkit_cli) patches export -b $(config_bundle) debian/patches/; fi
|
||||
wget -nv --show-progress -c $(url)/$(tarball) -O ../$(tarball)
|
||||
cp /usr/bin/mk-origtargz debian/scripts
|
||||
cp /usr/share/perl5/Devscripts/MkOrigtargz.pm debian/scripts/mk-origtargz
|
||||
patch -p1 < debian/scripts/mk-origtargz.patch
|
||||
date +%s > $(seconds)
|
||||
./debian/scripts/mk-origtargz ../$(tarball) > $(removed)
|
||||
perl debian/scripts/mk-origtargz ../$(tarball) > $(removed)
|
||||
echo $$(($$(date +%s) - $$(cat $(seconds)))) seconds
|
||||
test ! -e $(extract) || rm -rf $(extract)
|
||||
tar xf ../$(tarball)
|
||||
python3 $(buildkit_cli) prune -b $(config_bundle) $(extract)
|
||||
python3 -B $(buildkit_cli) prune -b $(config_bundle) $(extract)
|
||||
echo $$(($$(date +%s) - $$(cat $(seconds)))) seconds
|
||||
while read line; do rm -rf $$line; done < $(removed)
|
||||
cd $(extract) && ../debian/scripts/check-upstream
|
||||
@@ -170,7 +167,7 @@ get-orig-source:
|
||||
|
||||
setup-local-src:
|
||||
mkdir ../download_cache || true
|
||||
python3 $(buildkit_cli) downloads retrieve -b $(config_bundle) -c ../download_cache
|
||||
python3 $(buildkit_cli) downloads unpack -b $(config_bundle) -c ../download_cache ./
|
||||
python3 $(buildkit_cli) prune -b $(config_bundle) ./
|
||||
python3 $(buildkit_cli) patches export -b $(config_bundle) debian/patches/
|
||||
python3 -B $(buildkit_cli) downloads retrieve -b $(config_bundle) -c ../download_cache
|
||||
python3 -B $(buildkit_cli) downloads unpack -b $(config_bundle) -c ../download_cache ./
|
||||
python3 -B $(buildkit_cli) prune -b $(config_bundle) ./
|
||||
python3 -B $(buildkit_cli) patches export -b $(config_bundle) debian/patches/
|
||||
|
||||
@@ -1,14 +1,20 @@
|
||||
--- a/debian/scripts/mk-origtargz 2017-10-27 12:52:18.000000000 +0000
|
||||
+++ b/debian/scripts/mk-origtargz 2017-11-26 23:39:05.818091051 +0000
|
||||
@@ -551,6 +551,11 @@
|
||||
--- b/debian/scripts/mk-origtargz
|
||||
+++ a/debian/scripts/mk-origtargz
|
||||
@@ -211,6 +212,11 @@
|
||||
}
|
||||
|
||||
if ($deletecount or $self->config->force_repack) {
|
||||
+ for my $filename (@to_delete) {
|
||||
+ printf "$filename\n";
|
||||
+ }
|
||||
+ return $self->status(0);
|
||||
+
|
||||
$destfilebase = sprintf "%s_%s%s.%s.tar", $self->config->package,
|
||||
$self->config->version, $self->config->repack_suffix,
|
||||
$self->config->orig;
|
||||
@@ -558,4 +563,4 @@
|
||||
compression_get_property($self->config->compression, "file_ext");
|
||||
}
|
||||
|
||||
if ($deletecount) {
|
||||
+ for my $file (@to_delete) {
|
||||
+ print "$file\n";
|
||||
+ }
|
||||
+ exit 0;
|
||||
+
|
||||
$destfilebase = sprintf "%s_%s%s.%s.tar", $package, $version, $suffix, $orig;
|
||||
$destfiletar = sprintf "%s/%s", $destdir, $destfilebase;
|
||||
$destfile = sprintf "%s.%s", $destfiletar, $destext;
|
||||
-1;
|
||||
+exit Devscripts::MkOrigtargz->new->do;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
#!/usr/bin/python3 -B
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
@@ -1 +1 @@
|
||||
out/Default/*.bin usr/lib/chromium
|
||||
out/Release/*.bin usr/lib/chromium
|
||||
|
||||
@@ -1 +1 @@
|
||||
out/Default/chromedriver usr/lib/chromium
|
||||
out/Release/chromedriver usr/bin
|
||||
|
||||
@@ -1 +1 @@
|
||||
out/Default/locales usr/lib/chromium
|
||||
out/Release/locales usr/lib/chromium
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
# sandbox is intentionally suid
|
||||
setuid-binary usr/lib/chromium/chrome-sandbox 4755 root/root
|
||||
@@ -1,6 +1,6 @@
|
||||
debian/scripts/chromium-shell usr/bin
|
||||
|
||||
out/Default/chromium-shell usr/lib/chromium
|
||||
out/Release/chromium-shell usr/lib/chromium
|
||||
|
||||
out/Default/content_shell.pak usr/lib/chromium
|
||||
out/Default/shell_resources.pak usr/lib/chromium
|
||||
out/Release/content_shell.pak usr/lib/chromium
|
||||
out/Release/shell_resources.pak usr/lib/chromium
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
report-with: ungoogled-chromium-common ungoogled-chromium-driver ungoogled-chromium-sandbox
|
||||
@@ -1,20 +1,18 @@
|
||||
out/Default/chromium usr/lib/chromium
|
||||
out/Release/chromium usr/lib/chromium
|
||||
|
||||
out/Default/chrome-sandbox usr/lib/chromium
|
||||
out/Release/chrome_*.pak usr/lib/chromium
|
||||
out/Release/resources.pak usr/lib/chromium
|
||||
|
||||
out/Default/chrome_*.pak usr/lib/chromium
|
||||
out/Default/resources.pak usr/lib/chromium
|
||||
|
||||
out/Default/resources/en-US.pak usr/lib/chromium/locales
|
||||
out/Release/resources/en-US.pak usr/lib/chromium/locales
|
||||
|
||||
debian/presubj usr/share/bug/chromium
|
||||
|
||||
debian/master_preferences usr/share/chromium
|
||||
|
||||
debian/chromium.xml usr/share/gnome-control-center/default-apps
|
||||
|
||||
debian/chromium.desktop usr/share/applications
|
||||
|
||||
debian/extensions etc/chromium.d
|
||||
debian/default-flags etc/chromium.d
|
||||
|
||||
debian/etc/README etc/chromium.d
|
||||
debian/etc/apikeys etc/chromium.d
|
||||
debian/etc/extensions etc/chromium.d
|
||||
debian/etc/default-flags etc/chromium.d
|
||||
debian/etc/master_preferences etc/chromium
|
||||
|
||||
@@ -1 +1 @@
|
||||
out/Default/chromium.1
|
||||
out/Release/chromium.1
|
||||
|
||||
@@ -16,7 +16,7 @@ Build-Depends:
|
||||
ninja-build,
|
||||
python-jinja2,
|
||||
ca-certificates,
|
||||
uuid-dev,
|
||||
gsettings-desktop-schemas-dev,
|
||||
wget,
|
||||
flex,
|
||||
yasm,
|
||||
@@ -42,6 +42,7 @@ Build-Depends:
|
||||
libelf-dev,
|
||||
libpci-dev,
|
||||
libcap-dev,
|
||||
libdrm-dev,
|
||||
libicu-dev,
|
||||
libffi-dev,
|
||||
libkrb5-dev,
|
||||
@@ -60,6 +61,7 @@ Build-Depends:
|
||||
libpam0g-dev,
|
||||
libsnappy-dev,
|
||||
libavutil-dev,
|
||||
libavcodec-dev (>= 7),
|
||||
libavformat-dev,
|
||||
libglib2.0-dev,
|
||||
libasound2-dev,
|
||||
@@ -75,10 +77,10 @@ Build-Depends:
|
||||
libcups2-dev (>= 1.5.0),
|
||||
libevent-dev (>= 1.4.13),
|
||||
libjs-jquery,
|
||||
libjs-excanvas,
|
||||
libjs-jquery-flot,
|
||||
libgcrypt20-dev,
|
||||
libva-dev,
|
||||
fonts-ipafont-gothic,
|
||||
fonts-ipafont-mincho,
|
||||
Standards-Version: 4.1.2
|
||||
|
||||
Package: ungoogled-chromium
|
||||
@@ -89,17 +91,16 @@ Depends:
|
||||
${shlibs:Depends},
|
||||
ungoogled-chromium-common (= ${binary:Version}),
|
||||
Recommends:
|
||||
libgl1-mesa-dri,
|
||||
fonts-liberation,
|
||||
libva1,
|
||||
ungoogled-chromium-sandbox,
|
||||
Suggests:
|
||||
ungoogled-chromium-l10n,
|
||||
ungoogled-chromium-shell,
|
||||
ungoogled-chromium-driver,
|
||||
ungoogled-chromium-widevine,
|
||||
Provides:
|
||||
www-browser,
|
||||
gnome-www-browser,
|
||||
Breaks:
|
||||
chromium-lwn4chrome (<= 1.0-2),
|
||||
chromium-tt-rss-notifier (<= 0.5.2-2),
|
||||
Conflicts:
|
||||
libnettle4,
|
||||
libsecret-1-0 (<< 0.18),
|
||||
@@ -153,23 +154,6 @@ Description: web browser - minimal shell
|
||||
This package provides a minimal version of the chromium user interface
|
||||
(the content shell).
|
||||
|
||||
Package: ungoogled-chromium-widevine
|
||||
Section: contrib/web
|
||||
Architecture: i386 amd64 arm64 armhf
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
ungoogled-chromium (= ${binary:Version}),
|
||||
Replaces:
|
||||
chromium-widevine,
|
||||
Breaks:
|
||||
chromium-widevine,
|
||||
Description: web browser - widevine content decryption support
|
||||
Web browser that aims to build a safer, faster, and more stable internet
|
||||
browsing experience.
|
||||
.
|
||||
This package provides support for the widevine content decryption module.
|
||||
|
||||
Package: ungoogled-chromium-driver
|
||||
Architecture: i386 amd64 arm64 armhf
|
||||
Depends:
|
||||
@@ -196,6 +180,13 @@ Depends:
|
||||
${misc:Depends},
|
||||
x11-utils,
|
||||
xdg-utils,
|
||||
Recommends:
|
||||
upower,
|
||||
libu2f-udev,
|
||||
libgl1-mesa-dri,
|
||||
ungoogled-chromium-sandbox,
|
||||
fonts-liberation,
|
||||
notification-daemon,
|
||||
Breaks:
|
||||
ungoogled-chromium (<< 60.0.3112.72-1),
|
||||
chromium-common,
|
||||
@@ -208,3 +199,18 @@ Description: web browser - common resources used by ungoogled-chromium packages
|
||||
.
|
||||
This package contains resources that are in common to different
|
||||
ungoogled-chromium packages.
|
||||
|
||||
Package: ungoogled-chromium-sandbox
|
||||
Architecture: i386 amd64 arm64 armhf
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
Breaks:
|
||||
chromium (<< ${binary:Version}),
|
||||
Replaces:
|
||||
chromium (<< ${binary:Version}),
|
||||
Description: web browser - setuid security sandbox for ungoogled-chromium
|
||||
Web browser that aims to build a safer, faster, and more stable internet
|
||||
browsing experience.
|
||||
.
|
||||
This package contains the setuid chromium sandbox.
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/usr/bin/python3
|
||||
#!/usr/bin/python3 -B
|
||||
|
||||
print('Unbundling is disabled')
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
out/Default/*.bin usr/lib/chromium
|
||||
out/Default/icudtl.dat usr/lib/chromium
|
||||
out/Default/libEGL.so usr/lib/chromium
|
||||
out/Default/libGLESv2.so usr/lib/chromium
|
||||
out/Default/xdg-mime usr/lib/chromium
|
||||
out/Default/xdg-settings usr/lib/chromium
|
||||
out/Release/*.bin usr/lib/chromium
|
||||
out/Release/icudtl.dat usr/lib/chromium
|
||||
out/Release/libEGL.so usr/lib/chromium
|
||||
out/Release/libGLESv2.so usr/lib/chromium
|
||||
out/Release/xdg-mime usr/lib/chromium
|
||||
out/Release/xdg-settings usr/lib/chromium
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
out/Default/chromium usr/lib/chromium
|
||||
|
||||
out/Default/chrome-sandbox usr/lib/chromium
|
||||
|
||||
out/Default/chrome_*.pak usr/lib/chromium
|
||||
out/Default/resources.pak usr/lib/chromium
|
||||
|
||||
out/Default/resources/en-US.pak usr/lib/chromium/locales
|
||||
|
||||
debian/presubj usr/share/bug/chromium
|
||||
|
||||
debian/master_preferences usr/lib/chromium
|
||||
|
||||
debian/chromium.xml usr/share/gnome-control-center/default-apps
|
||||
|
||||
debian/chromium.desktop usr/share/applications
|
||||
|
||||
debian/extensions etc/chromium.d
|
||||
debian/default-flags etc/chromium.d
|
||||
|
||||
@@ -24,3 +24,8 @@ third_party/fontconfig/BUILD.gn
|
||||
third_party/yasm/yasm_assemble.gni
|
||||
|
||||
third_party/yasm/run_yasm.py
|
||||
|
||||
tools/gn/base/numerics/safe_math_arm_impl.h
|
||||
tools/gn/base/numerics/safe_conversions_arm_impl.h
|
||||
|
||||
third_party/catapult/third_party/polymer/components
|
||||
|
||||
@@ -79,10 +79,11 @@ Build-Depends:
|
||||
libcups2-dev (>= 1.5.0),
|
||||
libevent-dev (>= 1.4.13),
|
||||
libjs-jquery,
|
||||
libjs-excanvas,
|
||||
libjs-jquery-flot,
|
||||
libgcrypt20-dev,
|
||||
libva-dev,
|
||||
fonts-ipafont-gothic,
|
||||
fonts-ipafont-mincho,
|
||||
Standards-Version: 4.1.4
|
||||
|
||||
Package: ungoogled-chromium
|
||||
@@ -92,6 +93,8 @@ Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
ungoogled-chromium-common (= ${binary:Version}),
|
||||
Recommends:
|
||||
ungoogled-chromium-sandbox,
|
||||
Suggests:
|
||||
ungoogled-chromium-l10n,
|
||||
ungoogled-chromium-shell,
|
||||
@@ -99,6 +102,9 @@ Suggests:
|
||||
Provides:
|
||||
www-browser,
|
||||
gnome-www-browser,
|
||||
Breaks:
|
||||
chromium-lwn4chrome (<= 1.0-2),
|
||||
chromium-tt-rss-notifier (<= 0.5.2-2),
|
||||
Conflicts:
|
||||
libnettle4,
|
||||
libsecret-1-0 (<< 0.18),
|
||||
@@ -185,6 +191,7 @@ Recommends:
|
||||
libu2f-udev,
|
||||
libva1,
|
||||
libgl1-mesa-dri,
|
||||
ungoogled-chromium-sandbox,
|
||||
fonts-liberation,
|
||||
notification-daemon,
|
||||
Breaks:
|
||||
@@ -199,3 +206,18 @@ Description: web browser - common resources used by ungoogled-chromium packages
|
||||
.
|
||||
This package contains resources that are in common to different
|
||||
ungoogled-chromium packages.
|
||||
|
||||
Package: ungoogled-chromium-sandbox
|
||||
Architecture: i386 amd64 arm64 armhf
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
Breaks:
|
||||
chromium (<< ${binary:Version}),
|
||||
Replaces:
|
||||
chromium (<< ${binary:Version}),
|
||||
Description: web browser - setuid security sandbox for ungoogled-chromium
|
||||
Web browser that aims to build a safer, faster, and more stable internet
|
||||
browsing experience.
|
||||
.
|
||||
This package contains the setuid chromium sandbox.
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
description: debian specific instructions when no working sandbox is available
|
||||
author: Michael Gilbert <mgilbert@debian.org>
|
||||
|
||||
--- a/services/service_manager/zygote/host/zygote_host_impl_linux.cc
|
||||
+++ b/services/service_manager/zygote/host/zygote_host_impl_linux.cc
|
||||
@@ -113,14 +113,13 @@ void ZygoteHostImpl::Init(const base::Co
|
||||
// root.
|
||||
use_suid_sandbox_for_adj_oom_score_ = use_suid_sandbox_;
|
||||
} else {
|
||||
- LOG(FATAL)
|
||||
- << "No usable sandbox! Update your kernel or see "
|
||||
- "https://chromium.googlesource.com/chromium/src/+/master/"
|
||||
- "docs/linux_suid_sandbox_development.md for more information on "
|
||||
- "developing with the SUID sandbox. "
|
||||
+ LOG(ERROR)
|
||||
+ << "No usable sandbox! If this is a Debian system, please install the "
|
||||
+ "chromium-sandbox package to solve this problem. "
|
||||
"If you want to live dangerously and need an immediate workaround, "
|
||||
"you can try using --"
|
||||
<< service_manager::switches::kNoSandbox << ".";
|
||||
+ exit(EXIT_FAILURE);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
description: use polymer from chromium's top level third_party directory
|
||||
author: Michael Gilbert <mgilbert@debian.org>
|
||||
|
||||
--- a/third_party/catapult/tracing/trace_viewer.gypi
|
||||
+++ b/third_party/catapult/tracing/trace_viewer.gypi
|
||||
@@ -18,9 +18,9 @@
|
||||
'tracing/ui/tracks/track.css',
|
||||
],
|
||||
'tracing_js_html_files': [
|
||||
- '../third_party/polymer/components/polymer/polymer-micro.html',
|
||||
- '../third_party/polymer/components/polymer/polymer-mini.html',
|
||||
- '../third_party/polymer/components/polymer/polymer.html',
|
||||
+ '../../polymer/v1_0/components-chromium/polymer/polymer-micro.html',
|
||||
+ '../../polymer/v1_0/components-chromium/polymer/polymer-mini.html',
|
||||
+ '../../polymer/v1_0/components-chromium/polymer/polymer.html',
|
||||
'tracing/base/base.html',
|
||||
'tracing/base/base64.html',
|
||||
'tracing/base/category_util.html',
|
||||
@@ -0,0 +1,43 @@
|
||||
description: update api to support harfbuzz 2.1
|
||||
author: Michael Gilbert <mgilbert@debian.org>
|
||||
|
||||
--- a/third_party/blink/renderer/platform/fonts/shaping/harfbuzz_face.cc
|
||||
+++ b/third_party/blink/renderer/platform/fonts/shaping/harfbuzz_face.cc
|
||||
@@ -138,7 +138,7 @@ static hb_position_t HarfBuzzGetGlyphHor
|
||||
static void HarfBuzzGetGlyphHorizontalAdvances(hb_font_t* font,
|
||||
void* font_data,
|
||||
unsigned count,
|
||||
- hb_codepoint_t* first_glyph,
|
||||
+ const hb_codepoint_t* first_glyph,
|
||||
unsigned int glyph_stride,
|
||||
hb_position_t* first_advance,
|
||||
unsigned int advance_stride,
|
||||
--- a/third_party/blink/renderer/platform/fonts/skia/skia_text_metrics.cc
|
||||
+++ b/third_party/blink/renderer/platform/fonts/skia/skia_text_metrics.cc
|
||||
@@ -39,13 +39,14 @@ void SkiaTextMetrics::GetGlyphWidthForHa
|
||||
}
|
||||
|
||||
void SkiaTextMetrics::GetGlyphWidthForHarfBuzz(unsigned count,
|
||||
- hb_codepoint_t* glyphs,
|
||||
+ const hb_codepoint_t* first_glyph,
|
||||
unsigned glyph_stride,
|
||||
hb_position_t* advances,
|
||||
unsigned advance_stride) {
|
||||
// Batch the call to getTextWidths because its function entry cost is not
|
||||
// cheap. getTextWidths accepts multiple glyphd ID, but not from a sparse
|
||||
// array that copy them to a regular array.
|
||||
+ hb_codepoint_t* glyphs = const_cast<hb_codepoint_t*>(first_glyph);
|
||||
Vector<Glyph, 256> glyph_array(count);
|
||||
for (unsigned i = 0; i < count;
|
||||
i++, glyphs = advance_by_byte_size(glyphs, glyph_stride)) {
|
||||
--- a/third_party/blink/renderer/platform/fonts/skia/skia_text_metrics.h
|
||||
+++ b/third_party/blink/renderer/platform/fonts/skia/skia_text_metrics.h
|
||||
@@ -19,7 +19,7 @@ class SkiaTextMetrics final {
|
||||
|
||||
void GetGlyphWidthForHarfBuzz(hb_codepoint_t, hb_position_t* width);
|
||||
void GetGlyphWidthForHarfBuzz(unsigned count,
|
||||
- hb_codepoint_t* first_glyph,
|
||||
+ const hb_codepoint_t* first_glyph,
|
||||
unsigned glyph_stride,
|
||||
hb_position_t* first_advance,
|
||||
unsigned advance_stride);
|
||||
+2
-1
@@ -1,4 +1,5 @@
|
||||
# Fix compatibilty with older libstdc++ libraries, such as 6.3.0 in Debian stretch
|
||||
description: fix gcc explicit constructor warning
|
||||
author: Michael Gilbert <mgilbert@debian.org>
|
||||
|
||||
--- a/device/fido/hid/fido_hid_device.cc
|
||||
+++ b/device/fido/hid/fido_hid_device.cc
|
||||
@@ -1,4 +1,4 @@
|
||||
description: Stretch binutils doesn't recognize LR on arm64
|
||||
description: stretch binutils doesn't recognize LR on arm64
|
||||
author: Riku Voipio
|
||||
|
||||
--- a/third_party/crashpad/crashpad/util/misc/capture_context_linux.S
|
||||
|
||||
@@ -25,7 +25,7 @@ author: Michael Gilbert <mgilbert@debian.org>
|
||||
- char16_t* buffer = host_alt.getBuffer(-1);
|
||||
- for (char16_t* uc = buffer + u04cf_pos; uc < buffer + length; ++uc) {
|
||||
+ UChar* buffer = host_alt.getBuffer(-1);
|
||||
+ for (UChar* uc = buffer + u04cf_pos ; uc < buffer + length; ++uc) {
|
||||
+ for (UChar* uc = buffer + u04cf_pos; uc < buffer + length; ++uc) {
|
||||
if (*uc == 0x4CF)
|
||||
*uc = 0x6C; // Lowercase L
|
||||
}
|
||||
|
||||
@@ -1,28 +1,6 @@
|
||||
description: maintain compatibility with openjpeg 2.1
|
||||
author: chromium 57 authors
|
||||
|
||||
--- a/third_party/pdfium/core/fxcodec/codec/cjpx_decoder.h
|
||||
+++ b/third_party/pdfium/core/fxcodec/codec/cjpx_decoder.h
|
||||
@@ -13,7 +13,7 @@
|
||||
#include "core/fxcodec/codec/codec_int.h"
|
||||
#include "core/fxcrt/unowned_ptr.h"
|
||||
#include "third_party/base/span.h"
|
||||
-#include <openjpeg-2.3/openjpeg.h>
|
||||
+#include <openjpeg-2.1/openjpeg.h>
|
||||
|
||||
class CPDF_ColorSpace;
|
||||
|
||||
--- a/third_party/pdfium/core/fxcodec/codec/codec_int.h
|
||||
+++ b/third_party/pdfium/core/fxcodec/codec/codec_int.h
|
||||
@@ -15,7 +15,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include "core/fxcodec/jbig2/JBig2_Context.h"
|
||||
-#include <openjpeg-2.3/openjpeg.h>
|
||||
+#include <openjpeg-2.1/openjpeg.h>
|
||||
|
||||
class CPDF_ColorSpace;
|
||||
|
||||
--- a/third_party/pdfium/core/fxcodec/codec/ccodec_jpxmodule.cpp
|
||||
+++ b/third_party/pdfium/core/fxcodec/codec/ccodec_jpxmodule.cpp
|
||||
@@ -41,20 +41,20 @@ opj_stream_t* fx_opj_stream_create_memor
|
||||
@@ -91,3 +69,25 @@ author: chromium 57 authors
|
||||
img->comps[0].data = d0;
|
||||
img->comps[1].data = d1;
|
||||
img->comps[2].data = d2;
|
||||
--- a/third_party/pdfium/core/fxcodec/codec/cjpx_decoder.h
|
||||
+++ b/third_party/pdfium/core/fxcodec/codec/cjpx_decoder.h
|
||||
@@ -13,7 +13,7 @@
|
||||
#include "core/fxcodec/codec/codec_int.h"
|
||||
#include "core/fxcrt/unowned_ptr.h"
|
||||
#include "third_party/base/span.h"
|
||||
-#include <openjpeg-2.3/openjpeg.h>
|
||||
+#include <openjpeg-2.1/openjpeg.h>
|
||||
|
||||
class CPDF_ColorSpace;
|
||||
|
||||
--- a/third_party/pdfium/core/fxcodec/codec/codec_int.h
|
||||
+++ b/third_party/pdfium/core/fxcodec/codec/codec_int.h
|
||||
@@ -15,7 +15,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include "core/fxcodec/jbig2/JBig2_Context.h"
|
||||
-#include <openjpeg-2.3/openjpeg.h>
|
||||
+#include <openjpeg-2.1/openjpeg.h>
|
||||
|
||||
class CPDF_ColorSpace;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user