WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to build Chromium-browser for CorePure64 11.x  (Read 4158 times)

Offline jasonmb

  • Newbie
  • *
  • Posts: 4
How to build Chromium-browser for CorePure64 11.x
« on: October 05, 2020, 12:44:02 PM »
I'm fairly new to TCL. I see that there is a chromium-browser package available. Unfortunately, it is version 66, and I need the current version (85). I'm trying to find out how the existing package was built. The maintainer is listed as Juanito, but I don't see contact info or a source entry for the package here http://tinycorelinux.net/11.x/x86_64/tcz/src/. Is there anywhere else I should be looking for package source information or a means to reach the maintainer?

Also, as chromium-browser is available as a snap now, is it possible to repackage a snap as a tcz? Thank you for any assistance.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: How to build Chromium-browser for CorePure64 11.x
« Reply #1 on: October 05, 2020, 01:41:49 PM »
Hi jasonmb
Welcome to the forum.

Maybe these build notes are of some use:
http://tinycorelinux.net/9.x/x86_64/tcz/src/chromium-browser/

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: How to build Chromium-browser for CorePure64 11.x
« Reply #2 on: October 05, 2020, 11:48:17 PM »
I think snaps require systemd.
The only barriers that can stop you are the ones you create yourself.

Offline neonix

  • Sr. Member
  • ****
  • Posts: 302
Re: How to build Chromium-browser for CorePure64 11.x
« Reply #3 on: October 06, 2020, 04:57:23 AM »
There is also ungoogled-chromium. Maybe it would be easer to compile that variation.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: How to build Chromium-browser for CorePure64 11.x
« Reply #4 on: October 06, 2020, 05:59:49 AM »
The maintainer is listed as Juanito, but I don't see contact info or a source entry for the package here http://tinycorelinux.net/11.x/x86_64/tcz/src/. Is there anywhere else I should be looking for package source information or a means to reach the maintainer?

You can use the private message facility to contact a maintainer, but anyway I have no plans to update chromium-browser, so if you'd like to take over please feel free to do so.

Offline andyj

  • Hero Member
  • *****
  • Posts: 1020
Re: How to build Chromium-browser for CorePure64 11.x
« Reply #5 on: October 06, 2020, 07:11:39 AM »
Does it have to be Chromium, or would the pre-compiled Chrome be good enough?

Offline jasonmb

  • Newbie
  • *
  • Posts: 4
Re: How to build Chromium-browser for CorePure64 11.x
« Reply #6 on: October 06, 2020, 10:46:54 AM »
Sorry for the lag in response. Google Chrome or Chromium are acceptable options at the moment. The only requirements are it runs and it is a recent enough release to support the features I need (>80 I believe). Thank you for the status update Juanito. Perhaps my assumption was invalid about http://tinycorelinux.net/9.x/x86_64/tcz/src/chromium-browser/compile_chromium-browser. I thought that was for building Chromium browser 23. Juanito/Rich could you share what version of Chromium browser those directions are for?

Ungoogled-chromium is an interesting suggestion I haven't looked into. I will have to take a look.

Snaps do require systemd, but they bare a strong similarity to tcz's in many respects. I was wondering if any work had been done similar to this effort to covert deb to tcz https://gist.github.com/nuxlli/ddd3fa2ceed7b2cecdd3. I did not find any mention of it searching the forums.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: How to build Chromium-browser for CorePure64 11.x
« Reply #7 on: October 06, 2020, 12:43:39 PM »
Hi jasonmb
... Perhaps my assumption was invalid about http://tinycorelinux.net/9.x/x86_64/tcz/src/chromium-browser/compile_chromium-browser. I thought that was for building Chromium browser 23. ...
I suspect this line in the build notes probably fetches the latest version:
Code: [Select]
fetch --nohooks --no-history chromium
Quote
... I was wondering if any work had been done similar to this effort to covert deb to tcz ...
I remember there was a  deb2tcz  script. You can search for it here:
http://forum.tinycorelinux.net/index.php?action=search

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: How to build Chromium-browser for CorePure64 11.x
« Reply #8 on: October 07, 2020, 01:40:30 AM »
Juanito/Rich could you share what version of Chromium browser those directions are for?

As per: http://tinycorelinux.net/11.x/x86_64/tcz/chromium-browser.tcz.info

Quote
Version:        66.0.3343.0

Offline jasonmb

  • Newbie
  • *
  • Posts: 4
Re: How to build Chromium-browser for CorePure64 11.x
« Reply #9 on: October 09, 2020, 02:26:00 PM »
With a few tweaks I have Chromium 85 building for TCL 11.1. But, I'm running into a catch when I try to run it. If I don't have the existing chromium-browser.tcz mounted, I get a

Code: [Select]
FATAL:platform_fornt_skia.cc(97)] Check failed: InitDefaultFont(). Could not find default font.
I've checked /prod/pid/fd and I can't see any open handles into the tcz files. However, maybe the access is only transient. I'm trying to work it out via strace, but the log is a bit painful. Is there a better way to trace this on TCL?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: How to build Chromium-browser for CorePure64 11.x
« Reply #10 on: October 09, 2020, 03:12:21 PM »
You could try linking /etc/fonts to /usr/local/etc/fonts

Offline jasonmb

  • Newbie
  • *
  • Posts: 4
Re: How to build Chromium-browser for CorePure64 11.x
« Reply #11 on: October 09, 2020, 04:50:49 PM »
Now I get it. I see what the install script is doing in tce.installed. Thanks