Skip to content

New package: envision-3.2.0#58159

Open
lkroll wants to merge 1 commit intovoid-linux:masterfrom
lkroll:envision
Open

New package: envision-3.2.0#58159
lkroll wants to merge 1 commit intovoid-linux:masterfrom
lkroll:envision

Conversation

@lkroll
Copy link

@lkroll lkroll commented Dec 13, 2025

Testing the changes

  • I tested the changes in this PR: YES

New package

Local build testing

  • I built this PR locally for my native architecture, x86_64-glibc

This PR adds a package for Envision (https://gitlab.com/gabmus/envision) which is otherwise only available as an Appimage. This native package has a couple of benefits like better desktop integration (correct scaling) and working "open folder" buttons which won't be fixed in the Appimage (see https://gitlab.com/gabmus/envision/-/issues/96).

The libclang patch is necessary for the included dependency checker to work in the current release, but is already merged and will therefore not be necessary in the next tagged release, see MR.

@tranzystorekk tranzystorekk added the new-package This PR adds a new package label Dec 13, 2025
version=3.2.0
revision=1
build_style=meson
hostmakedepends="rust cargo git pkg-config gettext desktop-file-utils"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
hostmakedepends="rust cargo git pkg-config gettext desktop-file-utils"
build_helper="rust"
hostmakedepends="git pkg-config gettext desktop-file-utils"

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It still needs rust in hostmakedepends for rustc, otherwise the following error occurs:

meson.build:1:0: ERROR: Unknown compiler(s): [['rustc']]
The following exception(s) were encountered:
Running `rustc --version` gave "[Errno 2] No such file or directory: 'rustc'"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad, I thought setting the build_helper would automatically add that dependency.

Nevertheless it makes sense to add rust as build helper, that sets all the rust compiler flags commonly used for Void and might help with cross compiling

version=3.2.0
revision=1
build_style=meson
hostmakedepends="rust cargo git pkg-config gettext desktop-file-utils"
Copy link
Contributor

@Bnyro Bnyro Jan 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is git required at build time?

Usually that means that the app is trying to parse some information of its git repository (e.g. commit hash), but in our case the tar.gz distfile doesn't contain the git repo information anyways, so it can/should be patched out. Not sure if that's also the case here though

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From the meson.build file I can see that git is used to check if the build is a tagged release:

opt_profile = get_option('profile')

# if a profile isn't specified infer from git
if opt_profile == 'default'
  # are we building a tagged version?
  if run_command('git', 'describe', '--tags', '--exact-match').returncode() != 0

I can probably define a profile and skip this step.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that'd be great

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using configure_args="-Dprofile=release" solves this and is a good idea to use anyways since this is a release build and does not need the -devel suffix in the about section which would otherwise be present.

@lkroll
Copy link
Author

lkroll commented Jan 5, 2026

I've rebased my branch and added configure_args + cargo and rust to hostmakedepends.
libgit2-1.8-devel is also required now because git is not present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-package This PR adds a new package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants