mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 03:47:44 -03:00
Update and rename THOR_PREREQUISITES_22.04.txt to THOR_PREREQUISITES_22.04.md
This commit is contained in:
parent
637904e341
commit
c981569b54
2 changed files with 26 additions and 18 deletions
26
infra/THOR_PREREQUISITES_22.04.md
Normal file
26
infra/THOR_PREREQUISITES_22.04.md
Normal file
|
@ -0,0 +1,26 @@
|
|||
Dependencies to build Thorium on Ubuntu 22.04 "Jammy Jellyfish" since //chromium/src/build/install-build-deps.sh has not been updated.
|
||||
|
||||
Step 1. Add `umask 022 to your` __.bashrc__ file ahead of any export lines.
|
||||
|
||||
Step 2. Modify __/etc/sysctl.conf__ and add a line that says `fs.file-max=16384`
|
||||
|
||||
Step 3. Install the packages that would have been installed by install-build-deps
|
||||
|
||||
`
|
||||
sudo apt install at-spi2-core binutils binutils-arm-linux-gnueabihf binutils-arm-linux-gnueabihf binutils-doc binutils-mips64el-linux-gnuabi64 binutils-mipsel-linux-gnu bison bzip2 cdbs curl dbus-x11 devscripts dpkg-dev elfutils fakeroot flex g++-10-arm-linux-gnueabi g++-10-multilib g++-arm-linux-gnueabihf gcc-arm-linux-gnueabi gcc-arm-linux-gnueabihf git-core gperf icoutils libapt-pkg6.0 libasound2 libasound2-dev libasound2:i386 libatk-bridge2.0-0 libatk-bridge2.0-dev libatk1.0-0 libatk1.0-0:i386 libatspi2.0-0 libatspi2.0-dev libavahi-client3 libbrlapi-dev libbrlapi0.8 libbz2-dev libc6 libc6-dev libc6-dev-armhf-cross libcairo2 libcairo2-dev libcap-dev libcap2 libcups2 libcups2-dev libcurl4-gnutls-dev libdbus-1-3 libdbus-1-dev libdrm-dev libdrm2 libegl1 libegl1:i386 libelf-dev libevdev-dev libevdev2 libexpat1 libffi-dev libfontconfig1 libfreetype6 libgbm-dev libgbm1 libgl1 libgl1:i386 libglib2.0-0 libglib2.0-0:i386 libglib2.0-dev libglu1-mesa-dev libgtk-3-0 libgtk-3-dev libinput-dev libjpeg62 libkrb5-dev libnspr4-dev libnss3-dev libnss3:i386 libpam0g libpam0g-dev libpango-1.0-0 libpango-1.0-0:i386 libpango1.0-dev libpci-dev libpci3 libpcre3 libpixman-1-0 libpng++-dev libpng-dev libpng16-16 libpulse-dev libpulse-mainloop-glib0 libpulse0 libsctp-dev libspeechd-dev libspeechd2 libsqlite3-0 libsqlite3-dev libssh2-1-dev libssl-dev libstdc++6 libudev-dev libudev0 libudev1 libuuid1 libva-dev libvulkan-dev libwayland-egl1 libwayland-egl1-mesa libwayland-egl1:i386 libwww-perl libx11-6 libx11-xcb1 libx11-xcb1:i386 libxau6 libxcb1 libxcomposite1 libxcomposite1:i386 libxcursor1 libxdamage1 libxdamage1:i386 libxdmcp6 libxext6 libxfixes3 libxi6 libxinerama1 libxkbcommon0:i386 libxrandr2 libxrandr2:i386 libxrender1 libxshmfence-dev libxslt1-dev libxss-dev libxt-dev libxtst-dev libxtst6 libxtst6:i386 linux-libc-dev-armhf-cross locales openbox p7zip patch perl pkg-config rpm rpm-common rpm2cpio ruby subversion texinfo uuid-dev wdiff x11-utils xcompmgr xvfb xz-utils zip zlib1g
|
||||
`
|
||||
|
||||
Copy/Paste
|
||||
|
||||
```shell
|
||||
sudo apt install at-spi2-core binutils binutils-arm-linux-gnueabihf binutils-arm-linux-gnueabihf binutils-doc binutils-mips64el-linux-gnuabi64 binutils-mipsel-linux-gnu bison bzip2 cdbs curl dbus-x11 devscripts dpkg-dev elfutils fakeroot flex g++-10-arm-linux-gnueabi g++-10-multilib g++-arm-linux-gnueabihf gcc-arm-linux-gnueabi gcc-arm-linux-gnueabihf git-core gperf icoutils libapt-pkg6.0 libasound2 libasound2-dev libasound2:i386 libatk-bridge2.0-0 libatk-bridge2.0-dev libatk1.0-0 libatk1.0-0:i386 libatspi2.0-0 libatspi2.0-dev libavahi-client3 libbrlapi-dev libbrlapi0.8 libbz2-dev libc6 libc6-dev libc6-dev-armhf-cross libcairo2 libcairo2-dev libcap-dev libcap2 libcups2 libcups2-dev libcurl4-gnutls-dev libdbus-1-3 libdbus-1-dev libdrm-dev libdrm2 libegl1 libegl1:i386 libelf-dev libevdev-dev libevdev2 libexpat1 libffi-dev libfontconfig1 libfreetype6 libgbm-dev libgbm1 libgl1 libgl1:i386 libglib2.0-0 libglib2.0-0:i386 libglib2.0-dev libglu1-mesa-dev libgtk-3-0 libgtk-3-dev libinput-dev libjpeg62 libkrb5-dev libnspr4-dev libnss3-dev libnss3:i386 libpam0g libpam0g-dev libpango-1.0-0 libpango-1.0-0:i386 libpango1.0-dev libpci-dev libpci3 libpcre3 libpixman-1-0 libpng++-dev libpng-dev libpng16-16 libpulse-dev libpulse-mainloop-glib0 libpulse0 libsctp-dev libspeechd-dev libspeechd2 libsqlite3-0 libsqlite3-dev libssh2-1-dev libssl-dev libstdc++6 libudev-dev libudev0 libudev1 libuuid1 libva-dev libvulkan-dev libwayland-egl1 libwayland-egl1-mesa libwayland-egl1:i386 libwww-perl libx11-6 libx11-xcb1 libx11-xcb1:i386 libxau6 libxcb1 libxcomposite1 libxcomposite1:i386 libxcursor1 libxdamage1 libxdamage1:i386 libxdmcp6 libxext6 libxfixes3 libxi6 libxinerama1 libxkbcommon0:i386 libxrandr2 libxrandr2:i386 libxrender1 libxshmfence-dev libxslt1-dev libxss-dev libxt-dev libxtst-dev libxtst6 libxtst6:i386 linux-libc-dev-armhf-cross locales openbox p7zip patch perl pkg-config rpm rpm-common rpm2cpio ruby subversion texinfo uuid-dev wdiff x11-utils xcompmgr xvfb xz-utils zip zlib1g
|
||||
```
|
||||
|
||||
---------------------------------------------------------------
|
||||
Then install the sysroots for all platforms (to avoid issues), run (from chromium/src)
|
||||
|
||||
`build/linux/sysroot_scripts/install-sysroot.py --all`
|
||||
|
||||
Then, if you want ChromiumOS fonts for ThoriumOS development, you can run (as root)
|
||||
|
||||
`build/linux/install-chromeos-fonts.py`
|
|
@ -1,18 +0,0 @@
|
|||
Dependencies to build Thorium on Ubuntu 22.04 "Jammy Jellyfish" since //chromium/src/build/install-build-deps.sh has not been updated.
|
||||
|
||||
Step 1. Add umask 022 to your .bashrc file ahead of any export lines.
|
||||
|
||||
Step 2. Modify /etc/sysctl.conf and add a line that says fs.file-max=16384
|
||||
|
||||
Step 3. Install the packages that would have been installed by install-build-deps
|
||||
|
||||
sudo apt install binutils binutils-doc bison bzip2 cdbs curl dbus-x11 dpkg-dev elfutils devscripts fakeroot flex git-core gperf libasound2-dev libatspi2.0-dev libbrlapi-dev libbz2-dev libcairo2-dev libcap-dev libc6-dev libcups2-dev libcurl4-gnutls-dev libdrm-dev libelf-dev libevdev-dev libffi-dev libgbm-dev libglib2.0-dev libglu1-mesa-dev libgtk-3-dev libkrb5-dev libnspr4-dev libnss3-dev libpam0g-dev libpci-dev libpulse-dev libsctp-dev libspeechd-dev libsqlite3-dev libssl-dev libudev-dev libva-dev libwww-perl libxshmfence-dev libxslt1-dev libxss-dev libxt-dev libxtst-dev locales openbox p7zip patch perl pkg-config rpm ruby subversion uuid-dev wdiff x11-utils xcompmgr xz-utils zip libasound2 libatk1.0-0 libatspi2.0-0 libc6 libcairo2 libcap2 libcups2 libdrm2 libevdev2 libexpat1 libfontconfig1 libfreetype6 libgbm1 libglib2.0-0 libgtk-3-0 libpam0g libpango-1.0-0 libpango1.0-dev libpci3 libpcre3 libpixman-1-0 libspeechd2 libstdc++6 libsqlite3-0 libuuid1 libwayland-egl1-mesa libx11-6 libx11-xcb1 libxau6 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxi6 libxinerama1 libxrandr2 libxrender1 libxtst6 zlib1g libgl1 libegl1 libwayland-egl1 libgl1:i386 libegl1:i386 libwayland-egl1:i386 libc6-dev-armhf-cross linux-libc-dev-armhf-cross g++-arm-linux-gnueabihf g++-10-arm-linux-gnueabi g++-10-multilib gcc-arm-linux-gnueabi gcc-arm-linux-gnueabihf rpm2cpio rpm-common libpulse-mainloop-glib0 libpulse0 libatk-bridge2.0-dev libatk-bridge2.0-0 libavahi-client3 libbrlapi0.8 libdbus-1-dev libdbus-1-3 at-spi2-core libapt-pkg6.0 libxcomposite1:i386 libxdamage1:i386 libxkbcommon0:i386 libxrandr2:i386 libxtst6:i386 libpango-1.0-0:i386 libx11-xcb1:i386 libglib2.0-0:i386 libnss3:i386 libasound2:i386 libatk1.0-0:i386 texinfo xvfb libpng16-16 libpng++-dev libpng-dev libjpeg62 libudev0 libudev1 libvulkan-dev libinput-dev binutils-arm-linux-gnueabihf binutils-arm-linux-gnueabihf binutils-mipsel-linux-gnu binutils-mips64el-linux-gnuabi64 icoutils devhelp dh-make automake autopoint cmake libncurses5-dev libncursesw5-dev
|
||||
|
||||
---------------------------------------------------------------
|
||||
Then install the sysroots for all platforms (to avoid issues), run (from chromium/src)
|
||||
|
||||
build/linux/sysroot_scripts/install-sysroot.py --all
|
||||
|
||||
Then, if you want ChromiumOS fonts for ThoriumOS development, you can run (as root)
|
||||
|
||||
build/linux/install-chromeos-fonts.py
|
Loading…
Reference in a new issue