scantailor-advanced icon indicating copy to clipboard operation
scantailor-advanced copied to clipboard

Provide valid Linux CI builds in Releases section as well

Open FriedrichFroebel opened this issue 1 year ago • 6 comments

For now, it seems like CI does some Linux builds, but only uploads them as build artifacts which expire after some time and are not accessible without being logged in to GitHub. It probably would make more sense to provide them in the Releases section as well.

Before doing so, they might require some more fixes/documentation:

  • The Debian package metadata is mostly empty and the requirements seem to be undeclared?

  • The RPM package metadata seems to be similar.

  • The regular build fails with just "Illegal instruction".

  • The AppImage build fails as well:

    qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
    This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
    
    Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
    
    Aborted
    

By contrast: Building the package from source does not expose these problems.

FriedrichFroebel avatar Jul 17 '23 18:07 FriedrichFroebel

Hello, @FriedrichFroebel

Are you using ubuntu as distribution? The binaries the CI system creates are built on ubuntu-latest, you need to use ubuntu as well. I'm investigating the other issues you mention.

EDIT:

The rpm and deb packages metadata seem to be fine:

rpm -qp scantailor.rpm 
scantailor-advanced-1.0.19-1.x86_64
dpkg-deb -I scantailor.deb 
 new Debian package, version 2.0.
 size 2041752 bytes: control archive=660 bytes.
     222 bytes,     9 lines      control              
     955 bytes,    11 lines      md5sums              
 Architecture: amd64
 Description: Interactive post-processing tool for scanned pages.
 Maintainer: 4lex4 <[email protected]>
 Package: scantailor-advanced
 Priority: optional
 Section: devel
 Version: 1.0.19
 Installed-Size: 5754

ghost avatar Aug 14 '23 17:08 ghost

I tested this on a distro based upon Ubuntu 22.04 (AFAIK it only does some irrelevant changes), which should correspond to ubuntu-latest.

The issue is not about the metadata itself, but about them being incomplete/sparse and not declaring any Qt dependencies for example, which AFAIK need to be present on the system for the builds to work.

FriedrichFroebel avatar Aug 15 '23 04:08 FriedrichFroebel

Has this been resolved and is it possible to download it somewhere? I think it would be great as it will draw in more users to this latest scantailor fork.

artelse avatar Apr 05 '24 05:04 artelse

AFAIK not.

FriedrichFroebel avatar Apr 05 '24 08:04 FriedrichFroebel

@artelse , https://github.com/ImageProcessing-ElectronicPublications/scantailor-advanced/releases

zvezdochiot avatar Apr 05 '24 16:04 zvezdochiot

I would actually prefer an AppImage to be available as this does not require an installation. Besides this: The Debian builds do not work on Ubuntu 22.04 as libjpeg62-turbo cannot be found.

FriedrichFroebel avatar Apr 05 '24 16:04 FriedrichFroebel