mirror of
https://abf.rosa.ru/djam/chromium-browser-stable-test.git
synced 2025-02-23 17:42:45 +00:00
added gtk3 support
This commit is contained in:
parent
7c97417624
commit
459a709ae6
2 changed files with 21 additions and 1 deletions
|
@ -64,6 +64,10 @@ Patch506: chromium-43-no-ffmpeg-internal.patch
|
|||
Patch507: issue1688073002_40001.diff
|
||||
Patch600: unbundle-libvpx_new-fix.patch
|
||||
|
||||
# AUR patches
|
||||
# https://aur.archlinux.org/cgit/aur.git/plain/gtk2_ui.patch?h=chromium-dev
|
||||
Patch700: gtk2_ui.patch
|
||||
|
||||
Provides: %{crname} = %{EVRD}
|
||||
Conflicts: chromium-browser-unstable
|
||||
Conflicts: chromium-browser-beta
|
||||
|
@ -96,6 +100,7 @@ BuildRequires: pkgconfig(glu)
|
|||
BuildRequires: pkgconfig(gnome-keyring-1)
|
||||
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
|
||||
BuildRequires: pkgconfig(gtk+-2.0)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(harfbuzz)
|
||||
%if 0%{icu}
|
||||
BuildRequires: pkgconfig(icu-i18n)
|
||||
|
@ -303,6 +308,9 @@ find third_party/icu -type f \! -regex '.*\.\(gyp\|gypi\|isolate\)' -delete
|
|||
%endif
|
||||
#patch600 -p1
|
||||
|
||||
# AUR patches
|
||||
%patch700 -p1
|
||||
|
||||
### build with widevine support
|
||||
|
||||
# Patch from crbug (chromium bugtracker)
|
||||
|
@ -327,7 +335,7 @@ buildconfig+="-Dwerror=
|
|||
-Dlinux_fpic=1
|
||||
-Ddisable_sse2=1
|
||||
-Dcomponent=shared_library
|
||||
-Dtoolkit_uses_gtk=0
|
||||
-Duse_gtk3=1
|
||||
-Ddisable_nacl=1
|
||||
-Ddisable_glibc=0
|
||||
-Ddisable_pnacl=1
|
||||
|
|
12
gtk2_ui.patch
Normal file
12
gtk2_ui.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff --git a/chrome/browser/ui/libgtk2ui/gtk2_ui.cc.orig b/chrome/browser/ui/libgtk2ui/gtk2_ui.cc
|
||||
index 4c119c5..1b67ad2 100644
|
||||
--- a/chrome/browser/ui/libgtk2ui/gtk2_ui.cc.orig
|
||||
+++ b/chrome/browser/ui/libgtk2ui/gtk2_ui.cc
|
||||
@@ -308,6 +308,7 @@ const double kInactiveSaturation = 0.3;
|
||||
// copy the constants themselves here.
|
||||
//
|
||||
// Default tints.
|
||||
+const color_utils::HSL kDefaultTintFrameInactive = { -1, -1, 0.75f };
|
||||
const color_utils::HSL kDefaultTintFrameIncognito = { -1, 0.2f, 0.35f };
|
||||
const color_utils::HSL kDefaultTintFrameIncognitoInactive = { -1, 0.3f, 0.6f };
|
||||
const color_utils::HSL kDefaultTintBackgroundTab = { -1, 0.5, 0.75 };
|
Loading…
Add table
Reference in a new issue