Void-packages: foliate executable has unintuitive name

Created on 7 Apr 2020  路  5Comments  路  Source: void-linux/void-packages

System

  • xuname:
    Void 5.4.29_1 x86_64 GenuineIntel uptodate hold rrrmDFFFFFFFFFFFFFF
  • package:
    affected package(s) including the version

Expected behavior

run Foliate via foliate or similar

Actual behavior

Foliate must be run as com.github.johnfactotum.Foliate

Steps to reproduce the behavior

Install foliate

(I'm not sure the best way of renaming the executable in the package build. I tried adding:

post_install() {
    vbin com.github.johnfactotum.Foliate foliate
}

And some similar variants, but didn't have any luck.)

Most helpful comment

[I'm not the pkg-commiter]
If I were you, I would do like this: https://github.com/sgn/void-packages/commit/d505b965040159558934d37d12b93cc2cc39fdc4

All 5 comments

Renaming the executable alone won't work. The binary name has been hardcoded mulitiple times in the source.

[I'm not the pkg-commiter]
If I were you, I would do like this: https://github.com/sgn/void-packages/commit/d505b965040159558934d37d12b93cc2cc39fdc4

This assumes nothing else would possibly try to execute this program.
I think keeping the name and adding a symlink to /usr/bin is generally a better approach and is done by archlinux.

This assumes nothing else would possibly try to execute this program.
I think keeping the name and adding a symlink to /usr/bin is generally a better approach and is done by archlinux.

This was my local solution.

Closed by #20732

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zdykstra picture zdykstra  路  6Comments

LinArcX picture LinArcX  路  5Comments

no2spam picture no2spam  路  4Comments

pullmoll picture pullmoll  路  4Comments

CMB picture CMB  路  3Comments