Skip to content

Instantly share code, notes, and snippets.

@xymostech
Created March 10, 2013 01:39
Show Gist options
  • Save xymostech/5126693 to your computer and use it in GitHub Desktop.
Save xymostech/5126693 to your computer and use it in GitHub Desktop.
Chromium no-ctrl-scroll-zoom PKGBUILD diff
--- PKGBUILD.orig 2013-03-09 20:34:31.071220631 -0500
+++ PKGBUILD 2013-03-09 20:34:34.494553772 -0500
@@ -38,6 +38,7 @@
"${pkgname}.sh"
'default'
'gcc-4.7.diff'
+ 'https://gist.github.com/xymostech/5126666/raw/5881890c82458b05871ce19e9a0f17df08f516e7/chromium-no-ctrl-scroll-zoom.patch'
'http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/www-client/chromium/files/chromium-ppapi-r0.patch'
'http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/www-client/chromium/files/chromium-gpsd-r0.patch'
# 'http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/www-client/chromium/files/chromium-system-v8-r0.patch'
@@ -47,6 +48,7 @@
'54c53502c26456c9735e67314b2d61e29477438e'
'd6d2da45c0729dfd1c606a15c8ffb7591dbc7b44'
'e25739be0c7e6d14c2675d3ed4dcd99f63f4661c'
+ '152be3712ac771d7b6bd6d89d08b8e6141982b6c'
'c07d63888e5b72ecb598e45645cdd5c05d8e0c89'
'faefcc85fab0dec3fc85efaeea5fa9a6d469e61c'
# '099558c310f831ae973ae6338d9f30c624fcdc89'
@@ -200,6 +202,9 @@
# Make it possible to remove third_party/adobe
echo > "${srcdir}/flapper_version.h"
+ # Get rid of that horrible scrolling mechanism
+ patch --silent -p0 -E -i "${srcdir}/chromium-no-ctrl-scroll-zoom.patch"
+
# Patch for use some system libraries
patch --silent -p0 -E -i "${srcdir}/chromium-gpsd-r0.patch"
patch --silent -p1 -E -i "${srcdir}/chromium-system-ffmpeg-r4.patch"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment