tce-load -i intltool python3-dev xmlto desktop-file-utils cups-dev

cd system-config-printer-1.5.7

CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti"  ./configure --prefix=/usr/local --localstatedir=/var

find . -name Makefile -type f -exec sed -i 's/-O2//g' {} \;

make
sudo make install

correct /usr/bin/python3 -> /usr/local/bin/python3 in many, many files (63)

find . -name *.py -type f -exec sed -i 's/usr/bin/python3/usr/local/bin/python3/g' {} \;

Could not find any typelib for GnomeKeyring