tce-load -i compiletc gtk3-dev gtk3-gir adwaita-icon-theme gnome-desktop-dev gobject-introspection-dev poppler07-dev intltool nautilus-dev gnome-keyring-dev libxml2-dev libsecret-dev itstool gst-plugins-base-dev https://ftp.gnome.org/pub/GNOME/sources/evince/3.28/evince-3.28.5.tar.xz cd evince-3.28.5 edit libview/ev-document-model.h delete GType ev_document_model_get_type (void) G_GNUC_CONST; CC="gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var --disable-static --libexecdir=/usr/local/lib/evince --enable-introspection --enable-compile-warnings=minimum find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [2m 17.89s] make install Evince configure summary ======================== Platform .................: gnome Debug mode ...............: no FRONTENDS Viewer ...................: yes Previewer ................: yes Thumbnailer ..............: yes Nautilus Extensions.......: yes Browser Plugin............: yes BACKENDS PDF ......................: yes PostScript ...............: no TIFF .....................: yes DJVU .....................: no DVI ......................: no Comics ...................: yes XPS ......................: no FEATURES GTK Doc reference ........: no GObject Introspection ....: yes DBUS communication .......: yes Keyring integration ......: yes GTK+ Unix Print ..........: yes Thumbnail cache ..........: yes Multimedia ...............: yes