/trunk/Scribus/AppImage-package/AppRun |
---|
53,15 → 53,6 |
export TK_LIBRARY="${HERE}"/usr/share/tcltk/tk8.6:$TK_LIBRARY:$TCL_LIBRARY |
############################################################################################ |
# Make it look more native on Gtk+ based systems |
############################################################################################ |
case "${XDG_CURRENT_DESKTOP}" in |
*GNOME*|*gnome*) |
export QT_QPA_PLATFORMTHEME=gtk2 |
esac |
############################################################################################ |
# Run experimental bundle that bundles everything if a private ld-linux-x86-64.so.2 is there |
# This allows the bundle to run even on older systems than the one it was built on |
############################################################################################ |
/trunk/Scribus/AppImage-package/bundle.sh |
---|
9,22 → 9,6 |
SCRIBUS_VERSION=nightly |
######################################################################## |
# Build Platform Theme for Gtk+ |
# https://askubuntu.com/a/910143 |
# https://askubuntu.com/a/748186 |
# Deploy with linuxdeployqt using |
# -extra-plugins=platformthemes/libqgtk2.so,styles/libqgtk2style.so |
# At runtime, export QT_QPA_PLATFORMTHEME=gtk2 (Xfce does this itself) |
######################################################################## |
git clone http://code.qt.io/qt/qtstyleplugins.git |
cd qtstyleplugins |
qmake |
make -j$(nproc) |
make install |
cd - |
######################################################################## |
# Build Scribus and install to appdir/ |
######################################################################## |