site  contact  subhomenews

Geany version 2.1 compiled

August 01, 2025 — BarryK

I am very interested in the Zig language, and Geany 2.1 has added syntax highlighting for Zig. Debian Trixie has geany 2.0, which doesn't support Zig, and they are on hard-freeze so won't be upgrading it.

I attempted to backport the Zig highlighting, but to no avail.

So, compiled Geany 2.1 and also geany-plugins, and created PETs.

The approach that I have taken so far in Easy Excalibur is to install "foreign" packages, that is, those not in the Devuan/Debian repo, as invisible to APT. These are .pet and .tar.xz packages.

There are various strategies, one is to use the "equivs" mechanism, to create a dummy .deb, say 'geany_9.999_amd64.deb', that has nothing in it, but APT will then think that geany is installed; which it is, but from a .pet, not from the Debian repo.

However, this time trying a different method. Marking geany and all the geany-plugin DEBs as uninstallable, as explained here:

https://unix.stackexchange.com/questions/459162/how-to-mark-a-package-to-prevent-from-being-installed

And in /root/.packages/PKGS_MANAGEMENT, adding all the geany* DEBs to the PKG_NAME_IGNORE variable, so they won't be offered in PKGget.

Can't say that this is better way of doing it; just trying it. Probably "equivs" is more elegant.

Note that the Easy Excalibur 6.119 doesn't have any geany-plugin-* DEBs installed, but now it is one single PET package with all the plugins -- the .pet is 1.5MB, can live with that, as the geany plugins are useful.

Geany homepage:

https://www.geany.org/        

Tags: easy