Skip to content

Git Version Tags Missing since 08/2023 (Packaging roadblock for ArchLinux and perhaps other distro's) #520

Closed
@JamesClarke7283

Description

@JamesClarke7283

Hello, I am the current package maintainer for scratch3-bin which is ancient since there are no reliable builds.

Today cloned scratch-desktop today as i want to make a reliable scratch package for ArchLinux and found the built version and tags were out of sync, this blocks reliable ArchLinux builds because you need a git ref or something tracked upstream before you can even build (one can use hacks, but i want to do this properly).

Here is the relevant git describe output from the default: develop branch as of time of writing.

$ git describe --long --tags
v3.30.5-290-g7f2db87

Last git tag was: v3.30.5 on August 15th 2023.

So package on Archlinux is stuck, as for most other distros, apart from forked versions of scratch where this is not an issue: https://desktop.turbowarp.org/ most gnu builds are stale, debian sid, official arch, guix and even nix official repos either don't package anymore or are stuck on an ancient version.

I have found this fork that is packaged quite well:
https://desktop.turbowarp.org/
Perhaps, one can pull some of the build stuff from them and merge it.

I am making a separate package: scratch-git that tries to build from source and usually needs a clear pkgver, however due to discrepancies between versions listed through git tags/refs and the final build AppImage version, its causing issues with packaging as i need to match the build artifact: Scratch 3-3.31.1.AppImage with the package version taken from git (which can only be done before the build step).

https://aur.archlinux.org/packages?O=0&SeB=n&K=scratch&outdated=&SB=p&SO=d&PP=50&submit=Go

The official packages for archlinux and debian, are stuck at v1.4
https://packages.debian.org/sid/scratch

Ive already read the relevent part of the README currently maintaining a package for scratch is proving difficult, all vanilla(non-fork) scratch packages are ancient, even the official one scratch.

Side Note: Maintainability issues & Solutions

Some guidance would be great also(but isn't directly the scope of this issue so i would understand if you want to skip this aspect), because the GNU/Linux builds use AppImage and are not officially supported for production use, i realise the packaging burden is higher (although the AppImage is perfectly functional itself), for example when installing with appimage launcher, the locale text for the .desktop file is there as it pulls from the i13n files you have, unpacking the AppImage with --appimage-extract does give me a .desktop file in the squashfs folder but isn't internationalised.
This aspect might just me being dumb and not enough knowledge on appimagekit, but this is what ive found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions