From cb149dd14ed7c2df2d8ac671adbb5772520f18f3 Mon Sep 17 00:00:00 2001 From: Alexander Hill Date: Wed, 31 Dec 2025 21:28:54 -0500 Subject: [PATCH] Removed unused sources and updated Linux, LLVM, and XZ --- sources/libyaml/libyaml.spec | 21 --------------------- sources/linux/linux-mold.patch | 28 ---------------------------- sources/linux/linux.spec | 19 +++++-------------- sources/llvm/llvm.spec | 6 +++--- sources/nano/nano.spec | 21 --------------------- sources/ruby/ruby.spec | 27 --------------------------- sources/xz/xz.spec | 6 +++--- 7 files changed, 11 insertions(+), 117 deletions(-) delete mode 100644 sources/libyaml/libyaml.spec delete mode 100644 sources/linux/linux-mold.patch delete mode 100644 sources/nano/nano.spec delete mode 100644 sources/ruby/ruby.spec diff --git a/sources/libyaml/libyaml.spec b/sources/libyaml/libyaml.spec deleted file mode 100644 index 204685c..0000000 --- a/sources/libyaml/libyaml.spec +++ /dev/null @@ -1,21 +0,0 @@ -# Maintainer: Alexander Hill -SRC_HASH="c642ae9b75fee120b2d96c712538bd2cf283228d2337df2cf2988e3c02678ef4" -SRC_NAME="libyaml" -SRC_URL="http://pyyaml.org/download/libyaml/yaml-0.2.5.tar.gz" -SRC_VERSION="0.2.5" - -build() { - tar xf ../$SRC_FILENAME - cd yaml-*/ - ./configure $TT_AUTOCONF_COMMON --disable-static - make -O -j $TT_PROCS -} - -clean() { - rm -rf yaml-*/ -} - -package() { - cd yaml-*/ - make -O -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR -} diff --git a/sources/linux/linux-mold.patch b/sources/linux/linux-mold.patch deleted file mode 100644 index 84b5de9..0000000 --- a/sources/linux/linux-mold.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff -ruN vanilla/ld-version.sh maple/ld-version.sh ---- vanilla/scripts/ld-version.sh 2025-12-20 22:21:33.612821362 -0500 -+++ maple/scripts/ld-version.sh 2025-12-20 22:26:22.501951110 -0500 -@@ -41,6 +41,11 @@ - elif [ "$1" = GNU -a "$2" = gold ]; then - echo "gold linker is not supported as it is not capable of linking the kernel proper." >&2 - exit 1 -+elif [ "$1" = mold ]; then -+ version=$2 -+ min_version=$($min_tool_version mold) -+ name=mold -+ disp_name=mold - else - while [ $# -gt 1 -a "$1" != "LLD" ]; do - shift -diff -ruN vanilla/min-tool-version.sh maple/min-tool-version.sh ---- vanilla/scripts/min-tool-version.sh 2025-12-20 22:21:43.939683406 -0500 -+++ maple/scripts/min-tool-version.sh 2025-12-20 22:22:08.348357201 -0500 -@@ -36,6 +36,9 @@ - bindgen) - echo 0.65.1 - ;; -+mold) -+ echo 2.40.4 -+ ;; - *) - echo "$1: unknown tool" >&2 - exit 1 diff --git a/sources/linux/linux.spec b/sources/linux/linux.spec index 2032537..e4276b4 100755 --- a/sources/linux/linux.spec +++ b/sources/linux/linux.spec @@ -1,29 +1,20 @@ # Maintainer: Alexander Hill -SRC_HASH="d0a78bf3f0d12aaa10af3b5adcaed5bc767b5b78705e5ef885d5e930b72e25d5" +SRC_HASH="558c6bbab749492b34f99827fe807b0039a744693c21d3a7e03b3a48edaab96a" SRC_NAME="linux" -SRC_PATCHES=" -5a0616535b4c04d99a3db3e8ea528e6e658fd12b11161f9dcf56f5c21a3b0e62 linux-mold.patch -" -SRC_REVISION=1 -SRC_URL="https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.18.1.tar.xz" -SRC_VERSION="6.18.1" +SRC_URL="https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.18.2.tar.xz" +SRC_VERSION="6.18.2" build() { tar xf ../$SRC_FILENAME cd linux-$SRC_VERSION/ - # NOTE: Linux doesn't officially support mold, so we have to patch a couple - # of scripts to allow the kernel to build. ~ahill - patch -p1 < ../linux-mold.patch # NOTE: LLVM=1 is required for ALL invocations of the kernel's Makefile. GNU # tools are still used by default in a lot of places and this will # override them with LLVM tools wherever possible. ~ahill LLVM=1 make mrproper # NOTE: YACC defaults to bison, which doesn't exist here, so we tell it # where to find the parser generator manually. ~ahill - # NOTE: Similarly, since we aren't using LLVM's linker, we tell it to use - # mold manually. ~ahill - LLVM=1 make -j $TT_PROCS defconfig LD=mold YACC=byacc - LLVM=1 make -j $TT_PROCS HOSTLD=mold LD=mold YACC=byacc + LLVM=1 make -j $TT_PROCS defconfig YACC=byacc + LLVM=1 make -j $TT_PROCS YACC=byacc } clean() { diff --git a/sources/llvm/llvm.spec b/sources/llvm/llvm.spec index 7d22da3..f8f7c11 100755 --- a/sources/llvm/llvm.spec +++ b/sources/llvm/llvm.spec @@ -1,5 +1,5 @@ # Maintainer: Alexander Hill -SRC_HASH="e5b65fd79c95c343bb584127114cb2d252306c1ada1e057899b6aacdd445899e" +SRC_HASH="4633a23617fa31a3ea51242586ea7fb1da7140e426bd62fc164261fe036aa142" SRC_NAME="llvm" -SRC_URL="https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.7/llvm-project-21.1.7.src.tar.xz" -SRC_VERSION="21.1.7" +SRC_URL="https://github.com/llvm/llvm-project/releases/download/llvmorg-21.1.8/llvm-project-21.1.8.src.tar.xz" +SRC_VERSION="21.1.8" diff --git a/sources/nano/nano.spec b/sources/nano/nano.spec deleted file mode 100644 index 50bbd2e..0000000 --- a/sources/nano/nano.spec +++ /dev/null @@ -1,21 +0,0 @@ -# Maintainer: Alexander Hill -SRC_HASH="afd287aa672c48b8e1a93fdb6c6588453d527510d966822b687f2835f0d986e9" -SRC_NAME="nano" -SRC_URL="https://nano-editor.org/dist/v8/nano-8.7.tar.xz" -SRC_VERSION="8.7" - -build() { - tar xf ../$SRC_FILENAME - cd nano-*/ - ./configure $TT_AUTOCONF_COMMON --enable-utf8 --enable-year2038 - make -O -j $TT_PROCS -} - -clean() { - rm -rf nano-*/ -} - -package() { - cd nano-*/ - make -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR -} diff --git a/sources/ruby/ruby.spec b/sources/ruby/ruby.spec deleted file mode 100644 index 7866fe5..0000000 --- a/sources/ruby/ruby.spec +++ /dev/null @@ -1,27 +0,0 @@ -# Maintainer: Alexander Hill -SRC_HASH="23815a6d095696f7919090fdc3e2f9459b2c83d57224b2e446ce1f5f7333ef36" -SRC_NAME="ruby" -SRC_URL="https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.7.tar.gz" -SRC_VERSION="3.4.7" - -build() { - tar xf ../$SRC_FILENAME - cd ruby-*/ - ./autogen.sh - ./configure $TT_AUTOCONF_COMMON \ - --disable-install-static-library \ - --enable-shared \ - --enable-year2038 \ - --with-destdir=$TT_INSTALLDIR \ - --without-gcc - make -O -j $TT_PROCS -} - -clean() { - rm -rf ruby-*/ -} - -package() { - cd ruby-*/ - make -O -j $TT_PROCS install -} diff --git a/sources/xz/xz.spec b/sources/xz/xz.spec index 804cb41..268449a 100644 --- a/sources/xz/xz.spec +++ b/sources/xz/xz.spec @@ -1,8 +1,8 @@ # Maintainer: Alexander Hill SRC_HASH="0b54f79df85912504de0b14aec7971e3f964491af1812d83447005807513cd9e" SRC_NAME="xz" -SRC_URL="https://github.com/tukaani-project/xz/releases/download/v5.8.1/xz-5.8.1.tar.xz" -SRC_VERSION="5.8.1" +SRC_URL="https://github.com/tukaani-project/xz/releases/download/v5.8.2/xz-5.8.2.tar.xz" +SRC_VERSION="5.8.2" build() { tar xf ../$SRC_FILENAME @@ -18,4 +18,4 @@ clean() { package() { cd xz-*/ make -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR -} \ No newline at end of file +}