Skip to content

Commit

Permalink
Tucana 2.3 Week 1 update
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulc07 committed Jun 12, 2023
1 parent 6d683c3 commit 6c831fe
Show file tree
Hide file tree
Showing 144 changed files with 400 additions and 174 deletions.
30 changes: 21 additions & 9 deletions accounts-service
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,34 @@ TAR=$(echo $URL | sed -r 's|(.*)/||')
DIR=$(echo $TAR | sed 's|.tar.*||g')
PACKAGE=accounts-service

# Get Package

cd /blfs/builds
# Inital setup as this is the only package in the repo that cannot be built as r
useradd -m builder42737



# Get Package
cd /home/builder42737
wget $URL
tar -xvf $TAR
cd $DIR

chown -R builder42737:builder42737 .
# Build

mv tests/dbusmock{,-tests}


sed -e '/accounts_service\.py/s/dbusmock/dbusmock-tests/' \
-i tests/test-libaccountsservice.py
sed -i '/^SIMULATED_SYSTEM_LOCALE/s/en_IE.UTF-8/en_HK.iso88591/' tests/test-daemon.py

mkdir build
cd build

meson --prefix=/usr \
chown -R builder42737:builder42737 .
su builder42737 -c "meson --prefix=/usr \
--buildtype=release \
-Dadmin_group=adm \
..
-Dadmin_group=wheel \
.."

ninja

Expand All @@ -40,8 +52,8 @@ sudo echo "polkit systemd gobject-introspection meson ninja" > /pkgs/$PACKAGE/ma
sudo tar -cvzpf $PACKAGE.tar.xz $PACKAGE
sudo cp $PACKAGE.tar.xz /finished


cd /blfs/builds
cd /home/builder42737
sudo rm -r $DIR
userdel builder42737


2 changes: 1 addition & 1 deletion appstream
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export CXXFLAGS="-O2"
export CFLAGS=-"O2"
export CXXFLAGS="-O2"

URL=https://www.freedesktop.org/software/appstream/releases/AppStream-0.16.1.tar.xz
URL=https://www.freedesktop.org/software/appstream/releases/AppStream-0.16.2.tar.xz
TAR=$(echo $URL | sed -r 's|(.*)/||')
DIR=$(echo $TAR | sed 's|.tar.*||g')
PACKAGE=appstream
Expand Down
4 changes: 2 additions & 2 deletions base/meson
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ export CXXFLAGS="-O2"

export CFLAGS=-"O2"
export CXXFLAGS="-O2"

URL=https://github.com/mesonbuild/meson/releases/download/1.1.0/meson-1.1.0.tar.gz
PKG_VER=1.1.1
URL=https://github.com/mesonbuild/meson/releases/download/$PKG_VER/meson-$PKG_VER.tar.gz
TAR=$(echo $URL | sed -r 's|(.*)/||')
DIR=$(echo $TAR | sed 's|.tar.*||g')
PACKAGE=$(echo $DIR | sed 's|-[^-]*$||g')
Expand Down
2 changes: 1 addition & 1 deletion build_kernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
export CFLAGS=-"O2"
export CXXFLAGS="-O2"

URL=https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.3.6.tar.xz
URL=https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.3.7.tar.xz
TAR=$(echo $URL | sed -r 's|(.*)/||')
DIR=$(echo $TAR | sed 's|.tar.*||g')
KERNEL_VERSION=$(echo $DIR | sed 's/linux-//')
Expand Down
9 changes: 5 additions & 4 deletions cups
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

export CFLAGS=-"O2"
export CXXFLAGS="-O2"

URL=https://github.com/OpenPrinting/cups/releases/download/v2.4.2/cups-2.4.2-source.tar.gz
PKG_VER=2.4.4
URL=https://github.com/OpenPrinting/cups/releases/download/v$PKG_VER/cups-$PKG_VER-source.tar.gz
TAR=$(echo $URL | sed -r 's|(.*)/||')
DIR=cups-2.4.2
DIR=cups-$PKG_VER
PACKAGE=$(echo $DIR | sed 's|-[^-]*$||g')

# Get Package
Expand Down Expand Up @@ -39,7 +39,8 @@ cd /pkgs



sudo echo "" > /pkgs/$PACKAGE/depends
sudo echo "gnutls colord dbus libusb pam xdg-utils avahi" > /pkgs/$PACKAGE/depends
sudo echo "useradd -c "Print Service User" -d /var/spool/cups -g lp -s /bin/false -u 9 lp && groupadd -g 19 lpadmin && gtk-update-icon-cache -qtf /usr/share/icons/hicolor" > /pkgs/$PACKAGE/postinst
sudo echo "" > /pkgs/$PACKAGE/make-depends
sudo tar -cvzpf $PACKAGE.tar.xz $PACKAGE
sudo cp $PACKAGE.tar.xz /finished
Expand Down
4 changes: 2 additions & 2 deletions curl
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

export CFLAGS=-"O2"
export CXXFLAGS="-O2"

URL=https://curl.se/download/curl-8.0.1.tar.xz
PKG_VER=8.1.2
URL=https://curl.se/download/curl-$PKG_VER.tar.xz
TAR=$(echo $URL | sed -r 's|(.*)/||')
DIR=$(echo $TAR | sed 's|.tar.*||g')
PACKAGE=$(echo $DIR | sed 's|-[^-]*$||g')
Expand Down
2 changes: 1 addition & 1 deletion firefox
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

set -e
# Last Validated Version 114.0
VER=114.0
VER=114.0.1
URL=https://archive.mozilla.org/pub/firefox/releases/$VER/source/firefox-$VER.source.tar.xz
TAR=$(echo $URL | sed -r 's|(.*)/||')
DIR=firefox-$VER
Expand Down
42 changes: 42 additions & 0 deletions flatpak
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#!/bin/bash

export CFLAGS=-"O2"
export CXXFLAGS="-O2"

URL=https://github.com/flatpak/flatpak/releases/download/1.14.4/flatpak-1.14.4.tar.xz
TAR=$(echo $URL | sed -r 's|(.*)/||')
DIR=$(echo $TAR | sed 's|.tar.*||g')
PACKAGE=$(echo $DIR | sed 's|-[^-]*$||g')

# Get Package

cd /blfs/builds
wget $URL
tar -xvf $TAR
cd $DIR

# Build

./configure --prefix=/usr


make -j16


# Install
sudo make DESTDIR=/pkgs/$PACKAGE install
sudo make install
cd /pkgs



sudo echo "glib libsoup libxml2 dconf systemd libarchive gpgme fuse2 ostree json-glib appstream-glib ostree libseccomp libxslt docbook-xml docbook-xsl gtk-doc dconf p11-kit avahi" > /pkgs/$PACKAGE/depends
sudo echo "" > /pkgs/$PACKAGE/make-depends
sudo tar -cvzpf $PACKAGE.tar.xz $PACKAGE
sudo cp $PACKAGE.tar.xz /finished


cd /blfs/builds
sudo rm -r $DIR


4 changes: 2 additions & 2 deletions fuse3
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

export CFLAGS=-"O2"
export CXXFLAGS="-O2"

URL=https://github.com/libfuse/libfuse/releases/download/fuse-3.14.1/fuse-3.14.1.tar.xz
PKG_VER=3.15.0
URL=https://github.com/libfuse/libfuse/releases/download/fuse-$PKG_VER/fuse-$PKG_VER.tar.xz
TAR=$(echo $URL | sed -r 's|(.*)/||')
DIR=$(echo $TAR | sed 's|.tar.*||g')
PACKAGE=$(echo $DIR | sed 's|-[^-]*$||g')3
Expand Down
2 changes: 1 addition & 1 deletion glslang
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ cd /pkgs



sudo echo "gcc" > /pkgs/$PACKAGE/depends
sudo echo "libgcc" > /pkgs/$PACKAGE/depends
sudo tar -cvzpf $PACKAGE.tar.xz $PACKAGE
sudo cp $PACKAGE.tar.xz /finished

Expand Down
19 changes: 8 additions & 11 deletions gnome/gnome-software
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,23 @@ export CXXFLAGS="-O2"

GNOME_MAJOR=44
GNOME_MINOR=2
URL=https://download.gnome.org/sources/gnome-software/$GNOME_MAJOR/gnome-software-$GNOME_MAJOR.$GNOME_MINOR.tar.xz
TAR=$(echo $URL | sed -r 's|(.*)/||')
DIR=$(echo $TAR | sed 's|.tar.*||g')
PACKAGE=$(echo $DIR | sed 's|-[^-]*$||g')
URL=https://gitlab.gnome.org/GNOME/gnome-software.git
COMMIT=a4715568eb2e1c01f95b021c4552d887de3ae911
DIR=$(echo $TAR | sed 's|.git||g')
PACKAGE=gnome-software

# Get Package

cd /blfs/builds
wget $URL
tar -xvf $TAR
cd $DIR

git clone https://gitlab.gnome.org/GNOME/gnome-software.git
cd gnome-software
git submodule update --init --recursive
# Build

mkdir build &&
cd build &&
# For some reason this app has to be compiled with Soup 2, otherwise it throws an error about the app being compiled with both soup2 & soup3 (might just be after upgrading)
meson --prefix=/usr --buildtype=release .. -Dsoup2=true

meson setup --prefix=/usr --buildtype=release -Dpackagekit=false ..

ninja

Expand All @@ -42,6 +40,5 @@ sudo cp $PACKAGE.tar.xz /finished


cd /blfs/builds
sudo rm -r $DIR


2 changes: 1 addition & 1 deletion gnome/gtk4
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export CXXFLAGS="-O2"

GNOME_MAJOR=43
GNOME_MINOR=0
URL=https://download.gnome.org/sources/gtk/4.10/gtk-4.10.3.tar.xz
URL=https://download.gnome.org/sources/gtk/4.10/gtk-4.10.4.tar.xz
TAR=$(echo $URL | sed -r 's|(.*)/||')
DIR=$(echo $TAR | sed 's|.tar.*||g')
PACKAGE=gtk4
Expand Down
12 changes: 7 additions & 5 deletions intel-media-driver
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,32 @@
export CFLAGS=-"O2"
export CXXFLAGS="-O2"

URL=https://github.com/intel/media-driver/archive/refs/tags/intel-media-23.1.2.tar.gz
URL=https://github.com/intel/media-driver/archive/refs/tags/intel-media-23.2.3.tar.gz
TAR=$(echo $URL | sed -r 's|(.*)/||')
DIR=$(echo $TAR | sed 's|.tar.*||g')
PACKAGE=$(echo $DIR | sed 's|-[^-]*$||g')
DIR=media-driver-$(echo $TAR | sed 's|.tar.*||g')
PACKAGE=intel-media-driver

# Get Package

cd /blfs/builds
wget $URL
wget https://www.linuxfromscratch.org/patches/blfs/svn/intel-media-driver-23.2.3-upstream_fixes-1.patch
tar -xvf $TAR
cd $DIR

# Build

patch -Np1 -i ../intel-media-driver-23.2.3-upstream_fixes-1.patch
mkdir build &&
cd build &&

cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DINSTALL_DRIVER_SYSCONF=OFF \
-DBUILD_TYPE=Release \
-DMEDIA_BUILD_FATAL_WARNINGS=OFF \
-Wno-dev ..


make -j16
make -j22


# Install
Expand Down
36 changes: 36 additions & 0 deletions intel-ucode
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/bin/bash

export CFLAGS=-"O2"
export CXXFLAGS="-O2"
PKG_VER=20230512
URL=https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/refs/tags/microcode-$PKG_VER.tar.gz
TAR=$(echo $URL | sed -r 's|(.*)/||')
DIR=Intel-Linux-Processor-Microcode-Data-Files-microcode-$PKG_VER
PACKAGE=intel-ucode

# Get Package

cd /blfs/builds
wget $URL
tar -xvf $TAR
cd $DIR

# Build
mkdir -p /pkgs/$PACKAGE/usr/lib/firmware/intel-ucode
cp -rpv intel-ucode/* /pkgs/$PACKAGE/usr/lib/firmware/intel-ucode
cd /pkgs



sudo echo "linux-tucana linux-firmware" > /pkgs/$PACKAGE/depends
echo "cd /boot
mkinitramfs $(uname -r)"
sudo echo "" > /pkgs/$PACKAGE/make-depends
sudo tar -cvzpf $PACKAGE.tar.xz $PACKAGE
sudo cp $PACKAGE.tar.xz /finished


cd /blfs/builds
sudo rm -r $DIR


4 changes: 2 additions & 2 deletions kde/poppler
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ export CXXFLAGS="-O2"

export CFLAGS=-"O2"
export CXXFLAGS="-O2"

URL=https://poppler.freedesktop.org/poppler-23.0.4.tar.xz
PKG_VER=23.06
URL=https://poppler.freedesktop.org/poppler-$PKG_VER.0.tar.xz
TAR=$(echo $URL | sed -r 's|(.*)/||')
DIR=$(echo $TAR | sed 's|.tar.*||g')
PACKAGE=$(echo $DIR | sed 's|-[^-]*$||g')
Expand Down
2 changes: 1 addition & 1 deletion lib32/lib32-acl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

export CFLAGS=-"O2"
export CFLAGS="-O2 "
export CXXFLAGS="-O2 "

URL=https://download.savannah.gnu.org/releases/acl/acl-2.3.1.tar.xz
Expand Down
2 changes: 1 addition & 1 deletion lib32/lib32-alsa-lib
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

export CFLAGS=-"O2"
export CFLAGS="-O2 "
export CXXFLAGS="-O2 "

URL=https://www.alsa-project.org/files/pub/lib/alsa-lib-1.2.8.tar.bz2
Expand Down
2 changes: 1 addition & 1 deletion lib32/lib32-at-spi2-core
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

export CFLAGS=-"O2"
export CFLAGS="-O2 "
export CXXFLAGS="-O2 "

URL=https://download.gnome.org/sources/at-spi2-core/2.46/at-spi2-core-2.46.0.tar.xz
Expand Down
2 changes: 1 addition & 1 deletion lib32/lib32-attr
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

export CFLAGS=-"O2"
export CFLAGS="-O2 "
export CXXFLAGS="-O2 "

URL=https://download.savannah.gnu.org/releases/attr/attr-2.5.1.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion lib32/lib32-brotli
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

export CFLAGS=-"O2"
export CFLAGS="-O2 "
export CXXFLAGS="-O2 "

URL=https://github.com/google/brotli/archive/v1.0.9/brotli-1.0.9.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion lib32/lib32-bzip2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

export CFLAGS=-"O2"
export CFLAGS="-O2 "
export CXXFLAGS="-O2 "

URL=https://www.sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion lib32/lib32-cairo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

export CFLAGS=-"O2"
export CFLAGS="-O2 "
export CXXFLAGS="-O2 "

URL=https://download.gnome.org/sources/cairo/1.17/cairo-1.17.6.tar.xz
Expand Down
2 changes: 1 addition & 1 deletion lib32/lib32-check
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

export CFLAGS=-"O2"
export CFLAGS="-O2 "
export CXXFLAGS="-O2 "

URL=https://github.com/libcheck/check/releases/download/0.15.2/check-0.15.2.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion lib32/lib32-curl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

export CFLAGS=-"O2"
export CFLAGS="-O2 "
export CXXFLAGS="-O2 "

URL=https://curl.se/download/curl-7.84.0.tar.xz
Expand Down
Loading

0 comments on commit 6c831fe

Please sign in to comment.