AppImages: Difference between revisions
(no more daily appimages) |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Scribus AppImages are scribus 1.5svn daily build and packaged archives by Travis CE, runnable on most or all linux OS. | Scribus AppImages are scribus 1.5svn daily build and packaged archives by Travis CE, runnable on most or all linux OS. | ||
# <big>Download and run</big> | # <big>Download and run</big> | ||
Line 8: | Line 6: | ||
- 1.4 stable version and 1.5.5 version : on http://impagina.org/download | - 1.4 stable version and 1.5.5 version : on http://impagina.org/download | ||
- | - When the Qt6 issue (https://gitlab.com/scribus/scribus/-/issues/17) will be fixed, nightly builds (cutting edge unstable version) : on https://gitlab.com/scribus/scribus/-/jobs | ||
Download, make executable, run... | Download, make executable, run... | ||
Line 16: | Line 14: | ||
In case it doesnt run, here are 2 fixes that might, or might not, work for you. | In case it doesnt run, here are 2 fixes that might, or might not, work for you. | ||
# | # <big>Fix by Török</big> | ||
Török shares how to improve this : | Török shares how to improve this : | ||
Line 35: | Line 33: | ||
# | # <big>Fix by probono</big> | ||
The "Nightly" Scribus AppImages on http://impagina.org/download/ do not run because the Python modules are not bundled (but should be): | The "Nightly" Scribus AppImages on http://impagina.org/download/ do not run because the Python modules are not bundled (but should be): |
Latest revision as of 19:50, 29 May 2023
Scribus AppImages are scribus 1.5svn daily build and packaged archives by Travis CE, runnable on most or all linux OS.
- Download and run
Links to the latest version can be found
- 1.4 stable version and 1.5.5 version : on http://impagina.org/download
- When the Qt6 issue (https://gitlab.com/scribus/scribus/-/issues/17) will be fixed, nightly builds (cutting edge unstable version) : on https://gitlab.com/scribus/scribus/-/jobs
Download, make executable, run...
Depending on what is already installed on your computer, the Appimage will run fine, or it won't at all.
In case it doesnt run, here are 2 fixes that might, or might not, work for you.
- 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).
- 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/
- Installation on OpenSuse, by Der Sam
An example for OpenSuse Leap KDE AppImage installation:
1. You can take the AppImage file, but you have to install first the AppImage demon.
sudo zypper ar http://download.opensuse.org/repositories/devel:/tools:/building/openSUSE_Leap_42.2/ dev-tools-building
sudo zypper ref
sudo zypper in appimaged
2. Save the AppImage file from sourceforge on your computer, for example in that directory: /home/user/scribus/scribus-1.5.3-linux-x86_64.AppImage
mkdir /home/user/scribus (makes a directory with the name scribus)
or /usr/local/bin/scribus-1.5.3-linux-x86_64.AppImage but in that directory you need root rights
3. make the srcibus appimage file executable
chmod u+x /home/user/scribus/scribus-1.5.3-linux-x86_64.AppImage
4. You can start srcibus from the command line with
./home/user/scribus/scribus-1.5.3-linux-x86_64.AppImage
5. Or you can make a .desktop file as a desktop icon (in KDE)
Here is an example to create a .desktop file with vi :
vi /home/user/.local/share/applications/scribus.desktop
(or in /usr/share/applications/ for all linux users on your computer)
In VI press „i“ for insert and than copy that below with „ctrl + c“ and insert with „ctrl + shift + v“
[Desktop Entry]
Encoding=UTF-8
Name=Scribus-1.5.3
Comment=Scribus
Type=Application
Exec=/home/user/scribus/scribus-1.5.3/scribus-1.5.3-linux-x86_64.AppImage
Icon=/home/spc/scribus/scribus.png
Name=Scribus-1.5.3
Exit the insert mode with „ESC“
then type :wq!
You can download a scribus picture from Google and save it to the scribus directory. Please don’t forget to re login in KDE.
- AppImage creation
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
See also flatpak runnable scribus.