Git Product home page Git Product logo

chromium_power's Introduction

Chromium on POWER

This repository contains a set of patches that allow the Chromium browser to build and run on ppc64le hosts.

In addition, this repository contains an interactive utility for automatically applying and rebasing patches to a given chromium source tree.

Layout

Individual patches are roughly grouped by the part of chromium they modify. For example, patches for the sandbox system can be found in the sandbox folder.

patches.json contains a manifest of all of the patches. In this file, patches are grouped by the directory that they must be applied in, relative to the chromium source directory.

For example, patches under "." are to be applied in the root chromium source directory, and patches under "v8" are to be applied in <chromium source root>/v8.

Chromium Patching Framework

cpf.py contains the Chromium Patching Framework, an interactive utility for applying and rebasing patches to a given source tree.

To apply all patches listed in the manifest to a local copy of the chromium source tree, do the following:

./cpf.py /path/to/chromium/tree

Example output:

[+] Applying "sandbox/0001-linux-seccomp-bpf-ppc64-glibc-workaround-in-SIGSYS-h.patch"... Success
[+] Applying "sandbox/0001-sandbox-Enable-seccomp_bpf-for-ppc64.patch"... Success
[+] Applying "sandbox/0001-sandbox-linux-bpf_dsl-Update-syscall-ranges-for-ppc6.patch"... Success
[+] Applying "sandbox/0001-sandbox-linux-Implement-partial-support-for-ppc64-sy.patch"... Success

If an error is encountered, you will be prompted with the following options:

[?] The following patch failed to apply:
 * /example/example.patch
What would you like to do?
 (F)ix the conflict manually
 (S)kip the patch
 (A)bort
Choice? [A]:

You may fix the conflict manually by following the on-screen prompts, skip the patch, or abort the application.

If you encounter a patch that fails to apply against the latest chromium git HEAD, please submit an issue. Alternatively, if you are able to fix it yourself, please do so and submit a Pull Request.

Copyright

All files ending in .patch (patch files) are owned by the patch author, listed at the top of the file. These patch files are considered derivative works of the software components they modify and are therefore licensed under the same license as the original work.

All other files are copyright Shawn Anastasio and licensed under the GNU GPL v3.0 license. See LICENSE.md for the full license text.

chromium_power's People

Contributors

shawnanastasio avatar

Watchers

James Cloos avatar Piotr Całus avatar

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.