Integrated Treetap into Maple Linux #1

Merged
ahill merged 74 commits from treetap into main 2026-01-25 22:51:04 +00:00
7 changed files with 35 additions and 13 deletions
Showing only changes of commit 2a2d872d09 - Show all commits

View File

@ -1,27 +1,32 @@
This document tracks which packages can be built and packaged within the chroot. This document tracks which packages can be built and packaged within the chroot.
Definitions:
Can Build - The software can be both compiled via treetap on Maple Linux and run on Maple Linux
Can Package - The software can be packaged by treetap under Maple Linux, while using none of the deprecated paths (/usr/bin, /usr/lib, /usr/libexec, /sbin, etc.) and without conflicting with another package
| Package | Can Build? | Can Package? | | Package | Can Build? | Can Package? |
| ------------ | ---------- | ------------ | | ------------ | ---------- | ------------ |
| `autoconf` | Yes | Yes | | `autoconf` | Yes | Yes |
| `automake` | Yes | Yes | | `automake` | Yes | Yes |
| `bsdutils` | Yes | Yes | | `bsdutils` | Yes | No |
| `busybox` | No | No | | `busybox` | No | No |
| `byacc` | Yes | Yes | | `byacc` | Yes | Yes |
| `bzip2` | Yes | Yes | | `bzip2` | Yes | No |
| `cmake` | Yes | Yes | | `cmake` | Yes | No |
| `editline` | Yes | Yes | | `editline` | Yes | Yes |
| `flex` | Yes | Yes | | `flex` | Yes | Yes |
| `libarchive` | Yes | Yes | | `libarchive` | Yes | Yes |
| `libressl` | Yes | Yes | | `libressl` | Yes | Yes |
| `libtool` | Yes | Yes |
| `linux` | No | No | | `linux` | No | No |
| `llvm` | No | No | | `llvm` | No | No |
| `m4` | Yes | Yes | | `m4` | Yes | Yes |
| `make` | Yes | Yes | | `make` | Yes | Yes |
| `mold` | Yes | Yes | | `mold` | Yes | No |
| `muon` | Yes | Yes | | `muon` | Yes | No |
| `musl` | Yes | Yes | | `musl` | Yes | Yes |
| `musl-fts` | Yes | Yes | | `musl-fts` | Yes | Yes |
| `ncurses` | Yes | Yes | | `ncurses` | Yes | No |
| `perl` | Yes | Yes | | `perl` | Yes | Yes |
| `pkgconf` | Yes | Yes | | `pkgconf` | Yes | Yes |
| `xz` | Yes | Yes | | `xz` | Yes | Yes |

View File

@ -4,6 +4,9 @@ SRC_NAME="bzip2"
SRC_URL="https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz" SRC_URL="https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz"
SRC_VERSION="1.0.8" SRC_VERSION="1.0.8"
# TODO: Move bzlib.h to $TT_INCLUDEDIR ~ahill
# TODO: Prevent the static library from being installed ~ahill
build() { build() {
tar xf ../$SRC_FILENAME tar xf ../$SRC_FILENAME
cd bzip2-*/ cd bzip2-*/

View File

@ -4,6 +4,9 @@ SRC_NAME="cmake"
SRC_URL="https://github.com/Kitware/CMake/releases/download/v4.2.0/cmake-4.2.0.tar.gz" SRC_URL="https://github.com/Kitware/CMake/releases/download/v4.2.0/cmake-4.2.0.tar.gz"
SRC_VERSION="4.2.0" SRC_VERSION="4.2.0"
# TODO: Move executables from /usr/bin to $TT_BINDIR ~ahill
# TODO: Place all documentation under $TT_DATADIR/doc ~ahill
build() { build() {
tar xf ../$SRC_FILENAME tar xf ../$SRC_FILENAME
cd cmake-*/ cd cmake-*/

View File

@ -4,6 +4,10 @@ SRC_NAME="libressl"
SRC_URL="https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-4.2.1.tar.gz" SRC_URL="https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-4.2.1.tar.gz"
SRC_VERSION="4.2.1" SRC_VERSION="4.2.1"
# TODO: Should the openssl command be a symlink? For the sake of transparency,
# it may make sense to rename the command to "libressl" and make "openssl"
# a symlink for compatibility's sake. ~ahill
build() { build() {
tar xf ../$SRC_FILENAME tar xf ../$SRC_FILENAME
cd libressl-*/ cd libressl-*/

View File

@ -5,6 +5,9 @@ SRC_NAME="mold"
SRC_URL="https://github.com/rui314/mold/archive/refs/tags/v2.40.4.tar.gz" SRC_URL="https://github.com/rui314/mold/archive/refs/tags/v2.40.4.tar.gz"
SRC_VERSION="2.40.4" SRC_VERSION="2.40.4"
# TODO: Merge the contents from /lib64 and /libexec into $TT_LIBDIR ~ahill
# TODO: Move /share to $TT_DATADIR ~ahill
build() { build() {
tar xf ../$SRC_FILENAME tar xf ../$SRC_FILENAME
cd mold-*/ cd mold-*/

View File

@ -5,6 +5,8 @@ SRC_NAME="muon"
SRC_URL="https://git.sr.ht/~lattis/muon/archive/0.5.0.tar.gz" SRC_URL="https://git.sr.ht/~lattis/muon/archive/0.5.0.tar.gz"
SRC_VERSION="0.5.0" SRC_VERSION="0.5.0"
# TODO: Make sure the muon command is installed to $TT_BINDIR ~ahill
build() { build() {
tar xf ../$SRC_FILENAME tar xf ../$SRC_FILENAME
cd muon-*/ cd muon-*/

View File

@ -4,6 +4,8 @@ SRC_NAME="ncurses"
SRC_URL="https://invisible-island.net/archives/ncurses/ncurses-6.5.tar.gz" SRC_URL="https://invisible-island.net/archives/ncurses/ncurses-6.5.tar.gz"
SRC_VERSION="6.5" SRC_VERSION="6.5"
# TODO: Remove the target triple prefix from all of ncurses' executables ~ahill
build() { build() {
tar xf ../$SRC_FILENAME tar xf ../$SRC_FILENAME
cd ncurses-*/ cd ncurses-*/