mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-09-08 11:43:43 +02:00
(Take two) + Adds a GitHub Actions flow that builds an AppImage (see AppImages.org) that can produce a monolithic magic binary ~ Fix a portability issue in tcltk/magic.sh.in This binary should theoretically work on any Linux distro with Glibc 2.3+ and Cairo 1.8+, which is any up to date distro in the last decade.
This is an AppImage that runs on all GNU/Linux platforms with:
- FUSE
- This excludes non-privileged Docker containers unfortunately, unless pre-extracted.
- GLIBC 2.3+
- Cairo 1.8+
That's most Linux distributions released in 2012 or later.
Build Info
A Dockerfile on CentOS 6 (needed for older glibc) image builds Tcl, Tk and Magic.
The final build is then packaged into an AppImage using AppImageTool on the host machine.
Building Requirements
- A reasonably recent GNU/Linux host
- Docker 20+
- curl
Build Instructions
make
Installation Instructions
make install