Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lanceschi/helix-editor-for-custom-glib
Build helix against GLIBC version 2.31
https://github.com/lanceschi/helix-editor-for-custom-glib
Last synced: 23 days ago
JSON representation
Build helix against GLIBC version 2.31
- Host: GitHub
- URL: https://github.com/lanceschi/helix-editor-for-custom-glib
- Owner: lanceschi
- License: mit
- Created: 2023-05-03T18:09:43.000Z (almost 2 years ago)
- Default Branch: develop
- Last Pushed: 2024-05-22T07:52:51.000Z (9 months ago)
- Last Synced: 2024-11-16T04:48:06.323Z (3 months ago)
- Language: Dockerfile
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Description
This repository contains some script files for building the
[helix][helix-github] 24.03 editor from source within a docker image. The
scripts can be tweaked in order to target specific GLIB library versions. By
default `ubuntu:20.04` is the docker base image featuring GLIBC version 2.31.# Build under linux
Follow these simple steps:
1. clone locally this repository;
2. CD into the cloned repository folder;
3. run `./build.sh` from a shell prompt and wait.The `build.sh` script:
1. will build the docker image;
2. run the built image as a docker container;
3. extract the built files into a local host folder.When the build step is over, you'll find all the required files (binary,
grammars, etc ...) in a subfolder labelled `helix-24.03`. Folder name follows
the pattern `helix-` and can be modified at [line 5][build-line-5] of
`build.sh` file.## Configure the helix target version
Modify the `VERSION` variable at [line 3][build-line-3] of the `build.sh` shell
script file.## Configure the OS docker base image
Modify the ubuntu default base image at [line 1][dockerfile-line-1] of the `Dockerfile`.
## Notes
### Git
In order to download the full set of grammars, it was necessary to use in the
Dockerfile a recent version of [git][git] which is not offered by ubuntu
[PPAs][ppa-definition], beside `v2.25.1`. Currently the version offered by the
[git PPA][git-ppa] is `v2.40.1`.More info can be found on this [issue][helix-git-issue] of the official
[helix][helix-github] repository.[helix-github]: https://github.com/helix-editor/helix
[build-line-3]: build.sh#L3
[build-line-5]: build.sh#L5
[dockerfile-line-1]: Dockerfile#L1
[git]: https://git-scm.com/
[ppa-definition]: https://en.wikipedia.org/wiki/Ubuntu#Package_Archives
[git-ppa]: https://launchpad.net/~git-core/+archive/ubuntu/ppa
[helix-git-issue]: https://github.com/helix-editor/helix/issues/7036