From 32b1308ce157be2c4b26133c11711304ca9cdb5d Mon Sep 17 00:00:00 2001 From: Alvarito050506 Date: Thu, 19 Aug 2021 20:59:32 -0300 Subject: [PATCH] Workaround(s) for Debian Buster. --- Makefile | 2 +- ci.sh | 19 ++++++++++++++++++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d28b695..16661b0 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION:=0.13.0 +VERSION:=0.13.1 SRCS:=$(patsubst %,./src/%.vala,profile config gui play features servers) SRCS+=./src/gmcpil.vapi diff --git a/ci.sh b/ci.sh index b7d55f5..6604ebf 100755 --- a/ci.sh +++ b/ci.sh @@ -8,9 +8,26 @@ echo "deb [trusted=yes] https://deb.debian.org/debian buster-backports main cont apt update apt upgrade -y -apt install -y git make fakeroot dpkg-dev build-essential libgtk-3-dev libjson-glib-dev +apt install -y git make fakeroot dpkg-dev build-essential libgtk-3-dev libjson-glib-dev patchelf apt install -y -t buster-backports valac apt --fix-broken install +make + +# Oh my- (Debian Buster workaround) +patchelf \ + --remove-needed libgmodule-2.0.so.0 \ + --remove-needed libcairo.so.2 \ + --remove-needed libgdk_pixbuf-2.0.so.0 \ + --remove-needed libpango-1.0.so.0 \ + --remove-needed libatk-1.0.so.0 \ + --remove-needed libX11.so.6 \ + --remove-needed libpangocairo-1.0.so.0 \ + --remove-needed libharfbuzz.so.0 \ + --remove-needed libcairo-gobject.so.2 \ + --remove-needed libpthread.so.0 \ + --remove-needed libharfbuzz-gobject.so \ + build/gmcpil + make pack make clean