Giter Club home page Giter Club logo

chromium-build's Introduction

chromium-build

A script to generate a chromium deb package from a standard Chromium build

Usage: ./build-deb.sh deb_name version
e.g.: build-deb.sh chromium-browser_51.0.2704.91-0ubuntu0.14.04.1.7000 51.0.2704.91-0ubuntu0.14.04.1.7000

chromium-build's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chromium-build's Issues

Netflix on chromium60

Hi @kusti8 ,

First of all thanks for build chromium for Netflix (and many other services which required widevine).

I recently upgraded my RPI to "Stretch" that bring my chromium-browser to version 60.0. Is it possible for you to generate a new deb package base on this version?

Unfortunaly the version posted for netflix-1.0.0 is 56.

I am clearly not a king in all of this programming things :(

I would appreciate a lot!

Thanks!
Diego

Newer .deb?

As of today, Amazon is requiring a newer version of Chrome to play prime video. Any hope of you providing us casual users with a .deb of 60 with widevine working?

Thanks.

build process

Hi what's your existing build process to compile from scratch. There must be a way to get widevine working properly on chromium. I'm happy to contribute.
Cheers

Do you have support for games that require flash?

Hi, I'm putting together a raspi3 for my father, for basic use and browser games.
My father what most plays is candy crush and this requires flash player.
I want to know if with this plugin I would allow the execution of this game

Missing a bit more instructions

Hello,

I tried running your script, but it is a bit mysterious as to what's actually happening. Can you sehd some light on a few things?

  1. In https://github.com/kusti8/chromium-build/blob/master/build-deb.sh#L27 you download a tarball from your own repo. Where does that come from/what does it contain?

  2. In https://github.com/kusti8/chromium-build/blob/master/build-deb.sh#L32 it obviously expects a src/ directory. Can you enlighten us a bit more what that is?

The general idea here is that you're copying a few things from another chrome version I guess? A little explanation would be awesome :)

thanks for the great work by the way, I have a 3 year old son who is very happy on a daily basis :)

Raspberry pi3 chromium 65 and widevine

Hi,

I am trying to make Widevine work on my Raspberry pi 3 with Chromium 65, but I don't reach to load the WIdevine library. Do I need a different version of the library in order to work with Chromium 65? If true, where can I get it? Do I need to compile Chromium from sources?

Best regards,
Roberto

Your package seems to clobber a bunch of mime-types into running "Netflix-style", like Netflix-Launcher.

$ cat /etc/mailcap | grep netflix
text/html; chromium-browser --user-agent="Mozilla/5.0 (X11; CrOS armv7l 6946.86.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.84 Safari/537.36" http://netflix.com %s; test=test -n "$DISPLAY"
text/xml; chromium-browser --user-agent="Mozilla/5.0 (X11; CrOS armv7l 6946.86.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.84 Safari/537.36" http://netflix.com %s; test=test -n "$DISPLAY"
application/xhtml+xml; chromium-browser --user-agent="Mozilla/5.0 (X11; CrOS armv7l 6946.86.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.84 Safari/537.36" http://netflix.com %s; test=test -n "$DISPLAY"
application/xml; chromium-browser --user-agent="Mozilla/5.0 (X11; CrOS armv7l 6946.86.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.84 Safari/537.36" http://netflix.com %s; test=test -n "$DISPLAY"
application/rss+xml; chromium-browser --user-agent="Mozilla/5.0 (X11; CrOS armv7l 6946.86.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.84 Safari/537.36" http://netflix.com %s; test=test -n "$DISPLAY"
application/rdf+xml; chromium-browser --user-agent="Mozilla/5.0 (X11; CrOS armv7l 6946.86.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.84 Safari/537.36" http://netflix.com %s; test=test -n "$DISPLAY"
image/gif; chromium-browser --user-agent="Mozilla/5.0 (X11; CrOS armv7l 6946.86.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.84 Safari/537.36" http://netflix.com %s; test=test -n "$DISPLAY"
image/jpeg; chromium-browser --user-agent="Mozilla/5.0 (X11; CrOS armv7l 6946.86.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.84 Safari/537.36" http://netflix.com %s; test=test -n "$DISPLAY"
image/png; chromium-browser --user-agent="Mozilla/5.0 (X11; CrOS armv7l 6946.86.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.84 Safari/537.36" http://netflix.com %s; test=test -n "$DISPLAY"
x-scheme-handler/http; chromium-browser --user-agent="Mozilla/5.0 (X11; CrOS armv7l 6946.86.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.84 Safari/537.36" http://netflix.com %s; test=test -n "$DISPLAY"
x-scheme-handler/https; chromium-browser --user-agent="Mozilla/5.0 (X11; CrOS armv7l 6946.86.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.84 Safari/537.36" http://netflix.com %s; test=test -n "$DISPLAY"
x-scheme-handler/ftp; chromium-browser --user-agent="Mozilla/5.0 (X11; CrOS armv7l 6946.86.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.84 Safari/537.36" http://netflix.com %s; test=test -n "$DISPLAY"
x-scheme-handler/chrome; chromium-browser --user-agent="Mozilla/5.0 (X11; CrOS armv7l 6946.86.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.84 Safari/537.36" http://netflix.com %s; test=test -n "$DISPLAY"
video/webm; chromium-browser --user-agent="Mozilla/5.0 (X11; CrOS armv7l 6946.86.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.84 Safari/537.36" http://netflix.com %s; test=test -n "$DISPLAY"
application/x-xpinstall; chromium-browser --user-agent="Mozilla/5.0 (X11; CrOS armv7l 6946.86.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.84 Safari/537.36" http://netflix.com %s; test=test -n "$DISPLAY"

As you can see, all (?) web-related mime-types are being triggered via your custom Netflix user-agent and URL. This means, e.g. clicking a web link from another app results instead in opening a Chromium window (or tab if it's already running) on Netflix.com rather than what the user intended.

I'm a Linux amateur, so I'm not even sure how to go about fixing this. As-is, it kind of cripples the functionality of a web browser when clicking links is broken. Help?

EDIT: Again, I'm a Linux amateur, so I don't know what populates what, i.e. whether changes to /usr/share/applications/mimeinfo.cache are read into /etc/mailcap or what, but another apparent symptom of this can be found in the former:

$ grep netflix /usr/share/applications/mimeinfo.cache
application/rdf+xml=netflix-launcher.desktop;
application/rss+xml=netflix-launcher.desktop;
application/x-xpinstall=netflix-launcher.desktop;
application/xhtml+xml=netflix-launcher.desktop;
application/xml=netflix-launcher.desktop;
image/gif=netflix-launcher.desktop;display-im6.desktop;display-im6.q16.desktop;gpicview.desktop;
image/jpeg=netflix-launcher.desktop;display-im6.desktop;display-im6.q16.desktop;gpicview.desktop;
image/png=netflix-launcher.desktop;display-im6.desktop;display-im6.q16.desktop;gpicview.desktop;
text/html=netflix-launcher.desktop;chromium-browser.desktop;
text/xml=netflix-launcher.desktop;chromium-browser.desktop;
video/webm=netflix-launcher.desktop;
x-scheme-handler/chrome=netflix-launcher.desktop;
x-scheme-handler/ftp=netflix-launcher.desktop;
x-scheme-handler/http=netflix-launcher.desktop;chromium-browser.desktop;
x-scheme-handler/https=netflix-launcher.desktop;chromium-browser.desktop;

EDIT2: I believe that the root of the issue might be in the netflix-launcher.desktop file that you include in your package.

[Desktop Entry]
Version=1.0
Name=Netflix-Launcher
GenericName=Netflix Launcher
Comment=Launch Chromium pre-configured for Netflix
Keywords=Internet;WWW;Browser;Web;Explorer;Netflix
Exec=chromium-browser --user-agent="Mozilla/5.0 (X11; CrOS armv7l 6946.86.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.84 Safari/537.36" http://netflix.com
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=netflix-launcher
Categories=GNOME;GTK;Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
StartupNotify=true

Specifically, the MimeType line. Lay user guess: since it's installed after Chromium, it's gobbling up all these MIME-types you list here. I don't think it's really necessary for this shortcut to be handling any MIME-types at all, since its use case is to launch it directly when wishing to view Netflix.

I've now rectified this issue on my end. I removed the MimeType line from my personal netflix-launcher.desktop and ran a sudo update-mime, which corrected my mailcap. I then ran a sudo update-desktop-database, which updated my mimeinfo.cache . Everything now seems to be behaving as desired.

Cannot run chromium

Hey.
Thanks for this.
Unfortunately after I installed your chromium build, I wasn't able to start the browser and received an error along the lines of:

Received signal 4 0000b265243a
#0 0x000001f42a35 <unknown>
#1 0x000001f42ac0 <unknown>
....
[1226:1226:1021/193906.267564:FATAL:zygote_hoat_impl_linix.cc(196)] Check failed: ReceiveFixedMessage(fds[0], kZygoteHelloMessage, sizeof(kZygoteHelloMessage), &real_pid).
#0 0x000001f42a35 <unknown>
#1 0x000001f42ac0 <unknown>
...
#11  0x000001f42ae7 __libc_start_main
Aborted 

That's when installing your chromium 56 .deb.
Tried it on raspbian stretch and jessie.

Any idea what that could be?

Can you add the command line for Chromium 60 netflix

THe old command line to add Chromium with netflix was "wget https://github.com/kusti8/chromium-build/releases/download/netflix-1.0.0/chromium-browser_56.0.2924.84-0ubuntu0.14.04.1.1011.deb
sudo dpkg -i chromium-browser_56.0.2924.84-0ubuntu0.14.04.1.1011.deb:

is it possible to publish the new command line for the Chromium 60 update as I see that you have updated the code to install chromium 60. The command line will make it easy for noobs like me. Thanks

It stopped working

I have been watching netflix in my pi for a few weeks but today it stopped working. The error code shown is C7121-1331-P7. It only me or it is happening to more people?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.