Skip to content

Commit

Permalink
rpi-chromium-mods_20190103_armhf.deb
Browse files Browse the repository at this point in the history
  • Loading branch information
radujipa committed Apr 5, 2019
1 parent 2c26106 commit 7c715e7
Show file tree
Hide file tree
Showing 9 changed files with 244 additions and 33 deletions.
7 changes: 5 additions & 2 deletions armhf/00-rpi-vars
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
CHROMIUM_FLAGS="--disable-quic --enable-fast-unload --enable-tcp-fast-open --disable-gpu-compositing --ppapi-flash-version=26.0.0.151"

if grep -q ARMv6 /proc/cpuinfo; then
CHROMIUM_FLAGS="${CHROMIUM_FLAGS} --disable-quic --enable-tcp-fast-open --disable-gpu-compositing"
else
CHROMIUM_FLAGS="${CHROMIUM_FLAGS} --disable-quic --enable-tcp-fast-open --disable-gpu-compositing --ppapi-flash-path=/usr/lib/chromium-browser/libpepflashplayer.so --ppapi-flash-args=enable_stagevideo_auto=0 --ppapi-flash-version="
fi
50 changes: 50 additions & 0 deletions armhf/flash_manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"description": "Pepper Flash Player",
"name": "Flapper",
"version": "32.0.0.114",
"x-flapper-revision": "95390",
"x-ppapi-arch": "ia32",
"x-ppapi-os": "linux",
"x-ppapi-required-interfaces": [
"PPB_AudioConfig;1.1|PPB_AudioConfig;1.0",
"PPB_AudioInput(Dev);0.4|PPB_AudioInput(Dev);0.3",
"PPB_Audio;1.1|PPB_Audio;1.0",
"PPB_BrowserFont_Trusted;1.0",
"PPB_Buffer(Dev);0.4",
"PPB_CharSet(Dev);0.4",
"PPB_Core;1.0",
"PPB_Crypto(Dev);0.1",
"PPB_CursorControl(Dev);0.4",
"PPB_FileChooser(Dev);0.6|PPB_FileChooser(Dev);0.5",
"PPB_FileChooserTrusted;0.6|PPB_FileChooserTrusted;0.5",
"PPB_FileRef;1.2|PPB_FileRef;1.1|PPB_FileRef;1.0",
"PPB_Flash_Clipboard;5.1|PPB_Flash_Clipboard;5.0|PPB_Flash_Clipboard;4.0",
"PPB_Flash_File_FileRef;2",
"PPB_Flash_File_ModuleLocal;3",
"PPB_Flash_FontFile;0.2|PPB_Flash_FontFile;0.1|PPB_PDF;1",
"PPB_FlashFullscreen;1.0|PPB_FlashFullscreen;0.1",
"PPB_Flash;13.0|PPB_Flash;12.6|PPB_Flash;12.5|PPB_Flash;12.4",
"PPB_Flash_Menu;0.2",
"PPB_Graphics2D;1.1|PPB_Graphics2D;1.0",
"PPB_Graphics3D;1.0",
"PPB_ImageData;1.0",
"PPB_IMEInputEvent(Dev);0.2|PPB_IMEInputEvent(Dev);0.1",
"PPB_InputEvent;1.0",
"PPB_Instance;1.0",
"PPB_Memory(Dev);0.1",
"PPB_NetAddress_Private;1.1|PPB_NetAddress_Private;1.0|PPB_NetAddress_Private;0.1",
"PPB_OpenGLES2ChromiumMapSub;1.0|PPB_OpenGLES2ChromiumMapSub(Dev);1.0|PPB_GLESChromiumTextureMapping(Dev);0.1",
"PPB_OpenGLES2;1.0",
"PPB_TCPSocket_Private;0.5|PPB_TCPSocket_Private;0.4|PPB_TCPSocket_Private;0.3",
"PPB_TextInput(Dev);0.2|PPB_TextInput(Dev);0.1",
"PPB_UDPSocket_Private;0.4|PPB_UDPSocket_Private;0.3",
"PPB_URLLoader;1.0",
"PPB_URLLoaderTrusted;0.3",
"PPB_URLRequestInfo;1.0",
"PPB_URLResponseInfo;1.0",
"PPB_URLUtil(Dev);0.7|PPB_URLUtil(Dev);0.6",
"PPB_Var;1.2|PPB_Var;1.1|PPB_Var;1.0",
"PPB_VideoCapture(Dev);0.3",
"PPB_View;1.2|PPB_View;1.1|PPB_View;1.0"
]
}
Binary file modified armhf/libpepflashplayer.so
Binary file not shown.
26 changes: 2 additions & 24 deletions armhf/master_preferences
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,6 @@
"cjpalhdlnbpafiamejdnhcphjbkeiagm" : {
"location":1,
"manifest": {
"content_scripts": [ {
"all_frames": true,
"js": [ "js/vapi-client.js", "js/contentscript-start.js" ],
"matches": [ "http://*/*", "https://*/*" ],
"run_at": "document_start"
}, {
"all_frames": true,
"js": [ "js/contentscript-end.js" ],
"matches": [ "http://*/*", "https://*/*" ],
"run_at": "document_end"
}, {
"all_frames": false,
"js": [ "js/scriptlets/subscriber.js" ],
"matches": [ "http://*/*", "https://*/*" ],
"run_at": "document_idle"
} ],
"key":"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmJNzUNVjS6Q1qe0NRqpmfX/oSJdgauSZNdfeb5RV1Hji21vX0TivpP5gq0fadwmvmVCtUpOaNUopgejiUFm/iKHPs0o3x7hyKk/eX0t2QT3OZGdXkPiYpTEC0f0p86SQaLoA2eHaOG4uCGi7sxLJmAXc6IsxGKVklh7cCoLUgWEMnj8ZNG2Y8UKG3gBdrpES5hk7QyFDMraO79NmSlWRNgoJHX6XRoY66oYThFQad8KL8q3pf3Oe8uBLKywohU0ZrDPViWHIszXoE9HEvPTFAbHZ1umINni4W/YVs+fhqHtzRJcaKJtsTaYy+cholu5mAYeTZqtHf6bcwJ8t9i2afwIDAQAB",
"name":"uBlock Origin",
"permissions": [ "contextMenus", "privacy", "storage", "tabs", "unlimitedStorage", "webNavigation", "webRequest", "webRequestBlocking", "http://*/*", "https://*/*" ],
Expand All @@ -40,22 +24,16 @@
"aleakchihdccplidncghkekgioiakgal" : {
"location":1,
"manifest": {
"content_scripts": [ {
"all_frames": true,
"js": [ "src/inject/inject.js", "src/inject/content_script.js" ],
"matches": [ "*://*.youtube.com/*" ],
"run_at": "document_start"
} ],
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxpuYJpBArlJinXxN4oxx4UuFNreRTNO5Cl3TNF5FtDmgNLflbtYyC2nC5eZGxpNibzauHmGTD8ekFCfNZhHFpUEIZWd9AHI7TZdhu6gPxaK1lPEMukVEewFs2ovaEkjZbe3gy3v0eUDnADUkiaex7XeAWR6mJLzmcUaPFgzFRsDkozsE9tXLNN6oEYuWHN/yRsM1RYo7PYPulutHF8POL/8vDSyWHx/W9YDTnbv+2SBJZO7Dxi1/PbutasUag+/jma0X1nGhrEufr67NMvtpjPWSISWkIwxPR8u7EVyrKTSXs6U7jCbhKedhomeu9E/xZ1Er0dGWYWnhpdo0GNvblwIDAQAB",
"name":"h264ify",
"permissions": [ "storage" ],
"permissions": [ "storage" ],
"update_url":"https://clients2.google.com/service/update2/crx",
"version":"0.0"
},
"granted_permissions": {
"api": [ "storage" ],
"manifest_permissions": [],
"scriptable_host": ["*://*.youtube.com/*"]
"scriptable_host": [ "*://*.youtube.com/*", "*://*.youtube-nocookie.com/*", "*://*.youtu.be/*" ]
},
"path":"aleakchihdccplidncghkekgioiakgal\\0.0",
"state":1
Expand Down
139 changes: 139 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,142 @@
rpi-chromium-mods (20190103) stretch; urgency=medium

* Version 32.0.0.114 of Flash player included

-- Simon Long <[email protected]> Thu, 03 Jan 2019 08:55:22 +0000

rpi-chromium-mods (20181204) stretch; urgency=medium

* Version 32.0.0.101 of Flash player included

-- Simon Long <[email protected]> Tue, 04 Dec 2018 14:46:34 +0000

rpi-chromium-mods (20181120) stretch; urgency=medium

* Version 31.0.0.153 of Flash player included

-- Simon Long <[email protected]> Tue, 20 Nov 2018 14:07:30 +0000

rpi-chromium-mods (20181108) stretch; urgency=medium

* Version 31.0.0.148 of Flash player included

-- Simon Long <[email protected]> Thu, 08 Nov 2018 15:22:47 +0000

rpi-chromium-mods (20181008) stretch; urgency=medium

* Version 31.0.0.122 of Flash player included

-- Simon Long <[email protected]> Mon, 08 Oct 2018 15:45:12 +0100

rpi-chromium-mods (20180910) stretch; urgency=medium

* Version 31.0.0.108 of Flash player included

-- Simon Long <[email protected]> Mon, 10 Sep 2018 13:06:00 +0100

rpi-chromium-mods (20180817) stretch; urgency=medium

* Version 3.0.0.154 of Flash player included

-- Simon Long <[email protected]> Fri, 17 Aug 2018 10:22:32 +0100

rpi-chromium-mods (20180706) stretch; urgency=medium

* Version 30.0.0.134 of Flash player included

-- Simon Long <[email protected]> Fri, 06 Jul 2018 07:35:05 +0100

rpi-chromium-mods (20180626) stretch; urgency=medium

* Remove PepperFlash command-line args when on Pi 0 or 1

-- Simon Long <[email protected]> Tue, 26 Jun 2018 13:15:29 +0100

rpi-chromium-mods (20180605) stretch; urgency=medium

* Version 30.0.0.113 of Flash player included

-- Simon Long <[email protected]> Tue, 05 Jun 2018 09:23:11 +0100

rpi-chromium-mods (20180516) stretch; urgency=medium

* Modifications for compatibility with Chromium 65

-- Simon Long <[email protected]> Wed, 16 May 2018 13:15:59 +0100

rpi-chromium-mods (20180509) stretch; urgency=medium

* Version 29.0.0.171 of Flash player included

-- Simon Long <[email protected]> Wed, 09 May 2018 07:30:12 +0100

rpi-chromium-mods (20180409) stretch; urgency=medium

* Version 29.0.0.140 of Flash player included

-- Simon Long <[email protected]> Mon, 09 Apr 2018 07:16:33 +0100

rpi-chromium-mods (20180302) stretch; urgency=medium

* Version 29.0.0.113 of Flash player included

-- Simon Long <[email protected]> Fri, 02 Mar 2018 08:39:04 +0000

rpi-chromium-mods (20180207) stretch; urgency=medium

* Version 28.0.0.161 of Flash player included

-- Simon Long <[email protected]> Wed, 07 Feb 2018 11:39:10 +0000

rpi-chromium-mods (20180112) stretch; urgency=medium

* Version 28.0.0.137 of Flash player included

-- Simon Long <[email protected]> Fri, 12 Jan 2018 10:54:42 +0000

rpi-chromium-mods (20171113) stretch; urgency=medium

* Version 27.0.0.187 of Flash player included

-- Simon Long <[email protected]> Mon, 13 Nov 2017 14:52:19 +0000

rpi-chromium-mods (20171107) stretch; urgency=medium

* Correct Flash version number in command line vars

-- Simon Long <[email protected]> Tue, 07 Nov 2017 15:04:25 +0000

rpi-chromium-mods (20171026) stretch; urgency=medium

* Version 27.0.0.183 of Flash player included

-- Simon Long <[email protected]> Thu, 26 Oct 2017 07:09:57 +0100

rpi-chromium-mods (20171017) stretch; urgency=medium

* Version 27.0.0.170 of Flash player included

-- Simon Long <[email protected]> Tue, 17 Oct 2017 08:46:42 +0100

rpi-chromium-mods (20171016) stretch; urgency=medium

* Version 27.0.0.159 of Flash player included

-- Simon Long <[email protected]> Mon, 16 Oct 2017 07:45:21 +0100

rpi-chromium-mods (20170913) stretch; urgency=medium

* Various install tweaks for x86/x64 versions

-- Simon Long <[email protected]> Wed, 13 Sep 2017 07:52:28 +0100

rpi-chromium-mods (20170911) stretch; urgency=medium

* Version 27.0.0.130 of Flash player included
* Location of i386 master_preferences file updated for Chromium 60

-- Simon Long <[email protected]> Mon, 11 Sep 2017 12:01:37 +0100

rpi-chromium-mods (20170809) stretch; urgency=medium

* Add Flash player version flag to fix Chromium warning
Expand Down
7 changes: 4 additions & 3 deletions debian/control
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
Package: rpi-chromium-mods
Version: 20170809
Version: 20190103
Architecture: armhf
Maintainer: Simon Long <[email protected]>
Installed-Size: 19974
Depends: debconf, libc6 (>= 2.15), libgcc1 (>= 1:4.4.0), libstdc++6 (>= 4.9), debconf (>= 0.5) | debconf-2.0, chromium-browser (>= 55)
Installed-Size: 19667
Pre-Depends: dpkg (>= 1.15.7.2)
Depends: debconf, libc6 (>= 2.15), libgcc1 (>= 1:3.5), libstdc++6 (>= 4.9), debconf (>= 0.5) | debconf-2.0, chromium-browser (>= 65), chromium-codecs-ffmpeg-extra
Section: unknown
Priority: optional
Homepage: <insert the upstream URL, if relevant>
Expand Down
20 changes: 16 additions & 4 deletions debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

set -e

ARCH=$(dpkg --print-architecture)

case "$1" in
configure)
if [ -e /usr/bin/chromium-browser ] ; then
Expand All @@ -11,10 +13,16 @@ case "$1" in
if [ -e /usr/bin/chromium ] ; then
update-alternatives --install /usr/bin/x-www-browser x-www-browser /usr/bin/chromium 60
fi

if [ -e /home/pi/.config/chromium/Default/Preferences ] ; then
sed /home/pi/.config/chromium/Default/Preferences -i -e 's/"default_content_setting_values":{"plugins":2}/"default_content_setting_values":{"plugins":0}/'
fi
getent passwd | while read line; do
USHELL=$(echo $line | cut -d: -f7)
if grep -q $USHELL /etc/shells ; then
HOME_DIR=$(echo $line | cut -d: -f6)/
PREF_FILE=${HOME_DIR}.config/chromium/Default/Preferences
if [ -f "$PREF_FILE" ] ; then
sed "$PREF_FILE" -i -e 's/"default_content_setting_values":{"plugins":2}/"default_content_setting_values":{"plugins":0}/'
fi
fi
done
;;

abort-upgrade|abort-remove|abort-deconfigure)
Expand All @@ -26,6 +34,10 @@ case "$1" in
;;
esac

if [ "$ARCH" != "armhf" ] ; then
dpkg-maintscript-helper rm_conffile /etc/chromium/master_preferences 20170809 -- "$@"
fi



exit 0
18 changes: 18 additions & 0 deletions debian/postrm
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/sh

ARCH=$(dpkg --print-architecture)

if [ "$ARCH" != "armhf" ] ; then
if [ remove = "$1" -o abort-install = "$1" -o disappear = "$1" ]; then
dpkg-divert --package rpi-chromium-mods --rename --remove /usr/share/chromium/master_preferences
fi
dpkg-maintscript-helper rm_conffile /etc/chromium/master_preferences 20170809 -- "$@"
fi

# Automatically added by dh_installdebconf
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
fi
# End automatically added section

10 changes: 10 additions & 0 deletions debian/preinst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh

ARCH=$(dpkg --print-architecture)

if [ "$ARCH" != "armhf" ] ; then
dpkg-divert --package rpi-chromium-mods --divert /usr/share/chromium/master_preferences.bak --rename /usr/share/chromium/master_preferences
dpkg-maintscript-helper rm_conffile /etc/chromium/master_preferences 20170809 -- "$@"
fi


0 comments on commit 7c715e7

Please sign in to comment.