AppImages: Difference between revisions

From Scribus Wiki
Jump to navigation Jump to search
No edit summary
(link to flatpack page)
Line 63: Line 63:


Check how the appimage is created : https://github.com/probonopd/AppImages/blob/master/recipes/scribus/Recipe but keep in mind that was made for CentOS 6.
Check how the appimage is created : https://github.com/probonopd/AppImages/blob/master/recipes/scribus/Recipe but keep in mind that was made for CentOS 6.
See also [[flatpak]] runnable scribus.

Revision as of 20:18, 25 May 2017

Scribus AppImages are scribus 1.5svn daily build and packaged archives by Travis CE, runnable on most or all linux OS.

Latest version's link can be found on http://impagina.org/download

Download, make executable, run...

Sometimes it runs fine, sometime it doesnt.

In case it doesnt run, here are 2 fixes that might, or might not, work for you.

  1. Fix by Török

Török shares how to improve this :

I have three different Linux distributions installed on my desktop computer. Basically I use PCLinuxOS KDE, but I also installed Open SUSE and now Kubuntu. When I used to try scribus 1.5.0 (if I remember well) appimag, it worked fine. Then, after some updates it did not start, that is why I installed Open SUSE and Kubuntu, as they were told to run scribus 1.5.x smoothly. With the help of Google and after practicing with scribus.appinage, finally I worked out a method to run 1.5.2 and 1.5.3 versions from any distribution I use:

1. I made a Scribus folder in my home directory, where besides the appimage file I also made an executable file with the following content:

#!/bin/bash

cd ~/Scribus

LD_PRELOAD=/usr/lib64/libxcb.so.1 ./Scribus-1.5.3.svn.21360-x86_64.AppImage # here is the actual appimage filename I use

2. Even though I have a start entry in the main menu, I have to start scribus with the above executable. If not, and I run it from the start menu, or by double clicking on an .sla file, the programme freezes down, when trying to do any file operation - opening, or saving. (It seems it has problems with permissions because everything is fine when i run scribus as root).


  1. Fix by probono

The "Nightly" Scribus AppImages on http://impagina.org/download/ do not run because the Python modules are not bundled (but should be):

me@host:~$ /home/me/Downloads/Scribus-git44e637c-glibc2.14.glibc2.14-x86_64.AppImage

ImportError: No module named site

This can be fixed by running, in the AppDir:

( cd usr/lib ; cp -r /usr/lib/python2.7 . )

Now it launches for me, without the error:

./AppRun

While we are at it, we could update to making a type 2 (squashfs based) AppImage using appimagetool.

Also, Scribus and the embedded Python have hardcoded /usr which we patch away:

cd usr/ ; find . -type f -exec sed -i -e 's|/usr|././|g' {} \; ; cd ..

Tcl/Tk, Tkinter (for Calendar script):

ldd /usr/li*/python2.*/lib-dynload/_tkinter.so | grep "=>" | awk

'{print $3}' | xargs -I '{}' cp -v '{}' ./usr/lib || true

cp -r /usr/li*/tcl8.5 /usr/li*/tk8.5 usr/lib/

cp -r /usr/share/tcl* /usr/share/tk* usr/share/

Check how the appimage is created : https://github.com/probonopd/AppImages/blob/master/recipes/scribus/Recipe but keep in mind that was made for CentOS 6.

See also flatpak runnable scribus.