Jump to content

Advice for forking Chromium?

So I'm gonna be playing around with chromium and making my own fork of it.

 

Any advice or anything I should know?

 

Thanks :).

 

Also, how can I update chromium version without redoing all my modifications?

Judge a product on its own merits AND the company that made it.

How to setup MSI Afterburner OSD | How to make your AMD Radeon GPU more efficient with Radeon Chill | (Probably) Why LMG Merch shipping to the EU is expensive

Oneplus 6 (Early 2023 to present) | HP Envy 15" x360 R7 5700U (Mid 2021 to present) | Steam Deck (Late 2022 to present)

 

Mid 2023 AlTech Desktop Refresh - AMD R7 5800X (Mid 2023), XFX Radeon RX 6700XT MBA (Mid 2021), MSI X370 Gaming Pro Carbon (Early 2018), 32GB DDR4-3200 (16GB x2) (Mid 2022

Noctua NH-D15 (Early 2021), Corsair MP510 1.92TB NVMe SSD (Mid 2020), beQuiet Pure Wings 2 140mm x2 & 120mm x1 (Mid 2023),

Link to comment
https://linustechtips.com/topic/657414-advice-for-forking-chromium/
Share on other sites

Link to post
Share on other sites

Start with spooning, it'll make chromium relaxed so you can start forking more easily. I do recommend against knifing.

/s

 

In all seriousness, go for it. I wouldnt say go trough *every* line of code, but at least dink around and see what certain functions do/are capable of.

 

Oh, anf if you have a tendency to screw up (admit it, we all make mistakes) make a VM for coding so when it hangs it doesnt hang your entire system.

Link to post
Share on other sites

1 minute ago, manikyath said:

Start with spooning, it'll make chromium relaxed so you can start forking more easily. I do recommend against knifing.

/s

 

In all seriousness, go for it. I wouldnt say go trough *every* line of code, but at least dink around and see what certain functions do/are capable of.

 

Oh, anf if you have a tendency to screw up (admit it, we all make mistakes) make a VM for coding so when it hangs it doesnt hang your entire system.

I'm trying to fetch the code (I've already downloaded the debug tools).

 

I've installed gclient but now it tells me that I don't have python installed...........

 

I do, It's a path variable................

Judge a product on its own merits AND the company that made it.

How to setup MSI Afterburner OSD | How to make your AMD Radeon GPU more efficient with Radeon Chill | (Probably) Why LMG Merch shipping to the EU is expensive

Oneplus 6 (Early 2023 to present) | HP Envy 15" x360 R7 5700U (Mid 2021 to present) | Steam Deck (Late 2022 to present)

 

Mid 2023 AlTech Desktop Refresh - AMD R7 5800X (Mid 2023), XFX Radeon RX 6700XT MBA (Mid 2021), MSI X370 Gaming Pro Carbon (Early 2018), 32GB DDR4-3200 (16GB x2) (Mid 2022

Noctua NH-D15 (Early 2021), Corsair MP510 1.92TB NVMe SSD (Mid 2020), beQuiet Pure Wings 2 140mm x2 & 120mm x1 (Mid 2023),

Link to post
Share on other sites

1 minute ago, AluminiumTech said:

I'm trying to fetch the code (I've already downloaded the debug tools).

 

I've installed gclient but now it tells me that I don't have python installed...........

 

I do, It's a path variable................

Do you have the right python installed?

Link to post
Share on other sites

Just now, manikyath said:

Do you have the right python installed?

I have 2.7.12. I'm sure this is the version required.

Judge a product on its own merits AND the company that made it.

How to setup MSI Afterburner OSD | How to make your AMD Radeon GPU more efficient with Radeon Chill | (Probably) Why LMG Merch shipping to the EU is expensive

Oneplus 6 (Early 2023 to present) | HP Envy 15" x360 R7 5700U (Mid 2021 to present) | Steam Deck (Late 2022 to present)

 

Mid 2023 AlTech Desktop Refresh - AMD R7 5800X (Mid 2023), XFX Radeon RX 6700XT MBA (Mid 2021), MSI X370 Gaming Pro Carbon (Early 2018), 32GB DDR4-3200 (16GB x2) (Mid 2022

Noctua NH-D15 (Early 2021), Corsair MP510 1.92TB NVMe SSD (Mid 2020), beQuiet Pure Wings 2 140mm x2 & 120mm x1 (Mid 2023),

Link to post
Share on other sites

7 minutes ago, AluminiumTech said:

I'm trying to fetch the code (I've already downloaded the debug tools).

 

I've installed gclient but now it tells me that I don't have python installed...........

 

I do, It's a path variable................

Open CMD and run:

python -V

 

I would not be surprised if the path variable is messed up. I've had that issue several times.

Link to post
Share on other sites

13 minutes ago, LAwLz said:

Open CMD and run:

python -V

 

I would not be surprised if the path variable is messed up. I've had that issue several times.

It returned "Python 2.7.6"

 

16 minutes ago, manikyath said:

Wait.. No python 3? Thats shameful.. :P

 

Maybe it's looking for python in the wrong location?

Chromium only supports Python 2 AFAIK.

Judge a product on its own merits AND the company that made it.

How to setup MSI Afterburner OSD | How to make your AMD Radeon GPU more efficient with Radeon Chill | (Probably) Why LMG Merch shipping to the EU is expensive

Oneplus 6 (Early 2023 to present) | HP Envy 15" x360 R7 5700U (Mid 2021 to present) | Steam Deck (Late 2022 to present)

 

Mid 2023 AlTech Desktop Refresh - AMD R7 5800X (Mid 2023), XFX Radeon RX 6700XT MBA (Mid 2021), MSI X370 Gaming Pro Carbon (Early 2018), 32GB DDR4-3200 (16GB x2) (Mid 2022

Noctua NH-D15 (Early 2021), Corsair MP510 1.92TB NVMe SSD (Mid 2020), beQuiet Pure Wings 2 140mm x2 & 120mm x1 (Mid 2023),

Link to post
Share on other sites

29 minutes ago, Nicholatian said:

> trying to fork Chromium

> can't even PATH properly

 

mate, you are playing with things that far surpass your current skill level

 

if I were you I'd try studying something smaller and less complicated than a complete web browser. That thing has V8 embedded into it, a huge and vastly complex UI... I don't even have the time to learn how to do anything useful with all of that.

To be fair, his path variable seems to be correct.

Link to post
Share on other sites

9 minutes ago, Nicholatian said:

Regardless, I can't imagine Chromium being very fun to "play" with in Visual Studio or whathaveyou. It feels like he gauges it to be a hand tool, but in reality it's a machine the size of a gymnasium.

Well yeah, Chromium is huge. Not something you should start with if you just want to mess around. Takes a bloody long time to compile as well.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×