diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index 324f059a5c..38110aaa87 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -39,6 +39,16 @@ --> + + June 28th, 2024 + + + [Zeckmathederg] - Made several updates to improve smoothness + of GLFS instructions. + + + + June 27th, 2024 diff --git a/introduction/welcome/packages.xml b/introduction/welcome/packages.xml index 7ccb78d23e..44ea269b47 100644 --- a/introduction/welcome/packages.xml +++ b/introduction/welcome/packages.xml @@ -52,7 +52,10 @@ the packages and patches by doing the following: -wget -N --input-file=wget-list --continue +wget -N --input-file=wget-list --continue +ln -sv v0.69.4.tar.gz rust-bindgen-0.69.4.tar.gz +ln -sv v18.1.1.tar.gz SPIRV-LLVM-Translator-18.1.1.tar.gz +ln -sv 0.8.0.tar.gz seatd-0.8.0.tar.gz diff --git a/multilib/mesonfiles.xml b/multilib/mesonfiles.xml index c36c64bcde..8128bb5503 100644 --- a/multilib/mesonfiles.xml +++ b/multilib/mesonfiles.xml @@ -49,7 +49,7 @@ user: -mkdir -v /usr/share/meson/cross +mkdir -pv /usr/share/meson/cross cat > /usr/share/meson/cross/lib32 << "EOF" [binaries] @@ -87,7 +87,7 @@ EOF user: -mkdir -v /usr/share/meson/native +mkdir -pv /usr/share/meson/native cat > /usr/share/meson/native/x86 << "EOF" [binaries] diff --git a/multilib/pkgconf.xml b/multilib/pkgconf.xml index faea2fa0dc..995ee35d1a 100644 --- a/multilib/pkgconf.xml +++ b/multilib/pkgconf.xml @@ -34,9 +34,9 @@ user: - mkdir -v /usr/share/pkgconfig/personality.d + mkdir -pv /usr/share/pkgconfig/personality.d -cat > /usr/share/pkgconfig/x86_64-pc-linux-gnu.personality << "EOF" +cat > /usr/share/pkgconfig/personality.d/x86_64-pc-linux-gnu.personality << "EOF" Triplet: x86_64-pc-linux-gnu SysrootDir: / DefaultSearchPaths: /usr/lib/pkgconfig:/usr/share/pkgconfig @@ -44,7 +44,7 @@ SystemIncludePaths: /usr/include SystemLibraryPaths: /usr/lib EOF -cat > /usr/share/pkgconfig/i686-pc-linux-gnu.personality << "EOF" +cat > /usr/share/pkgconfig/personality.d/i686-pc-linux-gnu.personality << "EOF" Triplet: i686-pc-linux-gnu SysrootDir: / DefaultSearchPaths: /usr/lib32/pkgconfig:/usr/share/pkgconfig diff --git a/shareddeps/audio/libsndfile.xml b/shareddeps/audio/libsndfile.xml index 7fbdfcd00e..16ce5c85d7 100644 --- a/shareddeps/audio/libsndfile.xml +++ b/shareddeps/audio/libsndfile.xml @@ -112,7 +112,7 @@ make make DESTDIR=$PWD/DESTDIR install -cp -vr DESTDIR/usr/lib32/* +cp -vr DESTDIR/usr/lib32/* /usr/lib32 rm -rf DESTDIR ldconfig diff --git a/shareddeps/audio/pulseaudio.xml b/shareddeps/audio/pulseaudio.xml index 4b2b4cca43..13386e3285 100644 --- a/shareddeps/audio/pulseaudio.xml +++ b/shareddeps/audio/pulseaudio.xml @@ -142,6 +142,34 @@ ninja 32-bit Installation of PulseAudio + + + Check + from LFS Multilib does not contain 32-bit instructions currently and + this package depends on Check. Compile 32-bit + Check by following the instructions below if you have not installed 32-bit + Check: + + +CC="gcc -m32" CXX="g++ -m32" \ +./configure --prefix=/usr \ + --libdir=/usr/lib32 \ + --host=i686-pc-linux-gnu \ + --disable-static && + +make + + + Now as the root user: + + +make DESTDIR=$PWD/DESTDIR install +cp -Rv DESTDIR/usr/lib32/* /usr/lib32 +rm -rf DESTDIR +ldconfig + + + First clean the build directory: diff --git a/shareddeps/dps/basicx/x/basic-xorg-7.xml b/shareddeps/dps/basicx/x/basic-xorg-7.xml index b94fd0ac5d..0db6f93f0a 100644 --- a/shareddeps/dps/basicx/x/basic-xorg-7.xml +++ b/shareddeps/dps/basicx/x/basic-xorg-7.xml @@ -164,7 +164,7 @@ EOF There is some confusion about the above 'here' document. The backslash in front of the dollar sign is correct. Bash - will remove it when creating /etc/profile.d/xorg.sh. However, if + will remove it when creating ~/xorg.sh. However, if you are creating the file with an editor, a copy and paste operation will not remove the backslash. It must then be removed manually. diff --git a/shareddeps/dps/x/xorg-server.xml b/shareddeps/dps/x/xorg-server.xml index aa2875d24c..59801ba0f0 100644 --- a/shareddeps/dps/x/xorg-server.xml +++ b/shareddeps/dps/x/xorg-server.xml @@ -58,7 +58,7 @@ Optional patch: - + diff --git a/shareddeps/drivers/rust.xml b/shareddeps/drivers/rust.xml index efdfcf778d..26c353bbe8 100644 --- a/shareddeps/drivers/rust.xml +++ b/shareddeps/drivers/rust.xml @@ -474,24 +474,29 @@ ln -sfv /opt/rustc/share/zsh/site-functions/_cargo \ - As the root user, create - the /etc/profile.d/rustc.sh file: + Create the ~/rustc.sh file: -cat > /etc/profile.d/rustc.sh << "EOF" -# Begin /etc/profile.d/rustc.sh +cat > ~/rustc.sh << "EOF" +# Begin ~/rustc.sh pathprepend /opt/rustc/bin PATH -# End /etc/profile.d/rustc.sh +# End ~/rustc.sh EOF - Immediately after installation, update the current PATH - for your current shell as a normal user: + Now ensure the script will be loaded when you are logged in: -source /etc/profile.d/rustc.sh +echo "source ~/rustc.sh" >> ~/.bash_profile + + + Immediately after installation, update the current PATH + for your current shell: + + + source ~/.bash_profile diff --git a/shareddeps/net/curl.xml b/shareddeps/net/curl.xml index 625401c1a7..d2d0eae28b 100644 --- a/shareddeps/net/curl.xml +++ b/shareddeps/net/curl.xml @@ -130,223 +130,6 @@ make pages were deleted by the 'find' command in the installation instructions below. - Now, as the root @@ -440,11 +223,12 @@ cp -v -R docs -T /usr/share/doc/curl-&curl-version; 32-bit Installation of cURL - - First clean the directory by running the following command: - - - make distclean + + Like , cleaning the project tree doesn't work with + this package as expected and will lead to the 32-bit build to fail. + Remove the extracted folder from the tarball, extract the tarball, then + go back into it and follow the instructions below as normal. + Install lib32-cURL diff --git a/shareddeps/net/make-ca.xml b/shareddeps/net/make-ca.xml index d494de51f8..8caf1fda8e 100644 --- a/shareddeps/net/make-ca.xml +++ b/shareddeps/net/make-ca.xml @@ -329,15 +329,20 @@ openssl x509 -in class3.crt -text -fingerprint -setalias "CAcert Class 3 root" \ profiles: -mkdir -pv /etc/profile.d && -cat > /etc/profile.d/pythoncerts.sh << "EOF" -# Begin /etc/profile.d/pythoncerts.sh +cat > ~/pythoncerts.sh << "EOF" +# Begin ~/pythoncerts.sh export _PIP_STANDALONE_CERT=/etc/pki/tls/certs/ca-bundle.crt -# End /etc/profile.d/pythoncerts.sh +# End ~/pythoncerts.sh EOF + + Now ensure the script will be loaded when you are logged in: + + +echo "source ~/pythoncerts.sh" >> ~/.bash_profile + diff --git a/shareddeps/net/nss.xml b/shareddeps/net/nss.xml index 393dd7ba1a..9ce0beaecc 100644 --- a/shareddeps/net/nss.xml +++ b/shareddeps/net/nss.xml @@ -251,30 +251,12 @@ install -v -m644 Linux*/lib/pkgconfig/nss.pc /usr/lib/pkgconfig 32-bit Installation of NSS - - First clean the directory by running the following commands - while in the nss directory: - - - make clean && -rm -rf ../dist - - - - The command make clean as of now - can fail but the directory in most cases can still be used - for 32-bit compilation after a 64-bit compilation. If - running the following commands do not work, remove the - directory containing nss, unpack the - tarball, change directory into the resulting directory, - and apply the patch by following the command: - -patch -Np1 -i ../nss-3.99-standalone-1.patch - - Then finally change directory into nss - and proceed with the following commands. - - + + Cleaning the directory doesn't work with NSS, so you will need to delete + the extracted folder from the tarball, extract it again, apply the patch + again as detailed in the normal installation, then change directory into + nss. + Install lib32-NSS by running the following commands: diff --git a/shareddeps/net/p11-kit.xml b/shareddeps/net/p11-kit.xml index 7600428020..73651a90fa 100644 --- a/shareddeps/net/p11-kit.xml +++ b/shareddeps/net/p11-kit.xml @@ -147,12 +147,13 @@ ln -sfv /usr/libexec/p11-kit/trust-extract-compat \ by running the following commands: -CC="gcc -m32" CXX="g++ -m32" \ -PKG_CONFIG_PATH=/usr/lib32/pkgconfig \ -meson setup .. \ - --prefix=/usr \ - --libdir=/usr/lib32 \ - --buildtype=release \ +CC="gcc -m32" CXX="g++ -m32" \ +PKG_CONFIG_PATH=/usr/lib32/pkgconfig \ +CFLAGS+=" -Wno-error=incompatible-pointer-types" \ +meson setup .. \ + --prefix=/usr \ + --libdir=/usr/lib32 \ + --buildtype=release \ -Dtrust_paths=/etc/pki/anchors && ninja