Skip to content

Commit d46627f

Browse files
committed
Tucana 2.3.1 hotfixes
1 parent 6c831fe commit d46627f

3 files changed

Lines changed: 58 additions & 10 deletions

File tree

cogl

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
#!/bin/bash
2+
3+
export CFLAGS=-"O2"
4+
export CXXFLAGS="-O2"
5+
PKG_VER=1.22.8
6+
MAJOR=$(echo $PKG_VER | sed 's|.[^.]*$||g')
7+
URL=https://download.gnome.org/sources/cogl/$MAJOR/cogl-$PKG_VER.tar.xz
8+
TAR=$(echo $URL | sed -r 's|(.*)/||')
9+
DIR=$(echo $TAR | sed 's|.tar.*||g')
10+
PACKAGE=$(echo $DIR | sed 's|-[^-]*$||g')
11+
12+
# Get Package
13+
14+
cd /blfs/builds
15+
wget $URL
16+
tar -xvf $TAR
17+
cd $DIR
18+
19+
# Build
20+
21+
./configure --prefix=/usr \
22+
--enable-gles1 \
23+
--enable-gles2 \
24+
--enable-{kms,wayland,xlib}-egl-platform \
25+
--enable-wayland-egl-server
26+
27+
28+
make -j22
29+
30+
31+
# Install
32+
sudo make DESTDIR=/pkgs/$PACKAGE install
33+
sudo make install
34+
cd /pkgs
35+
36+
37+
38+
sudo echo "cairo glu gdk-pixbuf mesa pango wayland gst-plugins-base" > /pkgs/$PACKAGE/depends
39+
sudo echo "" > /pkgs/$PACKAGE/make-depends
40+
sudo tar -cvzpf $PACKAGE.tar.xz $PACKAGE
41+
sudo cp $PACKAGE.tar.xz /finished
42+
43+
44+
cd /blfs/builds
45+
sudo rm -r $DIR
46+
47+

gnome/gnome-software

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,24 @@ export CXXFLAGS="-O2"
55

66
GNOME_MAJOR=44
77
GNOME_MINOR=2
8-
URL=https://gitlab.gnome.org/GNOME/gnome-software.git
9-
COMMIT=a4715568eb2e1c01f95b021c4552d887de3ae911
10-
DIR=$(echo $TAR | sed 's|.git||g')
8+
URL=https://download.gnome.org/sources/gnome-software/$GNOME_MAJOR/gnome-software-$GNOME_MAJOR.$GNOME_MINOR.tar.xz
9+
TAR=$(echo $URL | sed -r 's|(.*)/||')
10+
DIR=$(echo $TAR | sed 's|.tar.*||g')
1111
PACKAGE=gnome-software
1212

1313
# Get Package
1414

1515
cd /blfs/builds
16-
git clone https://gitlab.gnome.org/GNOME/gnome-software.git
17-
cd gnome-software
18-
git submodule update --init --recursive
16+
wget $URL
17+
tar -xvf $TAR
18+
cd $DIR
1919
# Build
2020

2121
mkdir build &&
2222
cd build &&
2323
# 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)
24-
meson setup --prefix=/usr --buildtype=release -Dpackagekit=false ..
24+
meson setup --prefix=/usr --buildtype=release -Dpackagekit=false -Dsoup2=true ..
25+
2526

2627
ninja
2728

@@ -32,13 +33,13 @@ DESTDIR=/pkgs/$PACKAGE ninja install
3233
cd /pkgs
3334

3435

35-
sudo echo "packagekit appstream gnome-online-accounts gsettings-desktop-schemas gtk4 libadwaita libsoup3 libsoup flatpak fwupd xmlb" > /pkgs/$PACKAGE/depends
36+
sudo echo "packagekit appstream gnome-online-accounts gsettings-desktop-schemas gtk4 libadwaita libsoup3 libsoup flatpak fwupd xmlb libunwind" > /pkgs/$PACKAGE/depends
3637
sudo echo "glib-compile-schemas /usr/share/glib-2.0/schemas" > /pkgs/$PACKAGE/postinst
3738
sudo rm -rf /pkgs/$PACKAGE/blfs
3839
sudo tar -cvpzf $PACKAGE.tar.xz $PACKAGE
3940
sudo cp $PACKAGE.tar.xz /finished
4041

4142

4243
cd /blfs/builds
43-
44+
rm -rf $DIR
4445

malcontent

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export CXXFLAGS="-O2"
66
URL=https://salsa.debian.org/freedesktop-team/malcontent/-/archive/debian/0.11.0-4/malcontent-debian-0.11.0-4.tar.gz
77
TAR=$(echo $URL | sed -r 's|(.*)/||')
88
DIR=$(echo $TAR | sed 's|.tar.*||g')
9-
PACKAGE=$(echo $DIR | sed 's|-[^-]*$||g')
9+
PACKAGE=malcontent
1010

1111
# Get Package
1212

0 commit comments

Comments
 (0)