From 0d4b259cefb3cae9c759d8df178839cc49fdebc6 Mon Sep 17 00:00:00 2001 From: "chromebrew-actions[bot]" <220035932+chromebrew-actions[bot]@users.noreply.github.com> Date: Mon, 29 Sep 2025 17:26:27 -0500 Subject: [PATCH] owl => 0.2.2 (#12998) Signed-off-by: Satadru Pramanik Co-authored-by: Satadru Pramanik --- lib/const.rb | 1 + manifest/armv7l/o/owl.filelist | 6 +++--- manifest/i686/o/owl.filelist | 6 +++--- manifest/x86_64/o/owl.filelist | 6 +++--- packages/owl.rb | 39 +++++++++++++++++++++++++++------- 5 files changed, 41 insertions(+), 17 deletions(-) diff --git a/lib/const.rb b/lib/const.rb index 6a5c7e05e..4e388f4a6 100644 --- a/lib/const.rb +++ b/lib/const.rb @@ -401,6 +401,7 @@ unless defined?(CREW_ANITYA_PACKAGE_NAME_MAPPINGS) { pkg_name: 'mold', anitya_pkg: 'mold', comments: 'Prefer to GitHub' }, { pkg_name: 'nnn', anitya_pkg: 'nnn', comments: 'Prefer to GitHub' }, { pkg_name: 'openssl', anitya_pkg: 'openssl', comments: 'Prefer to GitHub' }, + { pkg_name: 'owl', anitya_pkg: 'Owl Lisp', comments: '' }, { pkg_name: 'pcre2', anitya_pkg: 'pcre2', comments: 'Prefer to GitHub' }, { pkg_name: 'pkg_7_zip', anitya_pkg: '7zip~stable', comments: 'Prefer to GitHub' }, { pkg_name: 'py3_atspi', anitya_pkg: 'pyatspi', comments: '' }, diff --git a/manifest/armv7l/o/owl.filelist b/manifest/armv7l/o/owl.filelist index 8dbeca8c5..fb9da5db3 100644 --- a/manifest/armv7l/o/owl.filelist +++ b/manifest/armv7l/o/owl.filelist @@ -1,5 +1,5 @@ -# Total size: 884817 +# Total size: 720944 /usr/local/bin/ol /usr/local/bin/ovm -/usr/local/share/man/man1/ol.1.gz -/usr/local/share/man/man1/ovm.1.gz +/usr/local/share/man/man1/ol.1.zst +/usr/local/share/man/man1/ovm.1.zst diff --git a/manifest/i686/o/owl.filelist b/manifest/i686/o/owl.filelist index 2a6f5f5be..c058ae462 100644 --- a/manifest/i686/o/owl.filelist +++ b/manifest/i686/o/owl.filelist @@ -1,5 +1,5 @@ -# Total size: 939721 +# Total size: 721888 /usr/local/bin/ol /usr/local/bin/ovm -/usr/local/share/man/man1/ol.1.gz -/usr/local/share/man/man1/ovm.1.gz +/usr/local/share/man/man1/ol.1.zst +/usr/local/share/man/man1/ovm.1.zst diff --git a/manifest/x86_64/o/owl.filelist b/manifest/x86_64/o/owl.filelist index fffaa76dd..157a990e8 100644 --- a/manifest/x86_64/o/owl.filelist +++ b/manifest/x86_64/o/owl.filelist @@ -1,5 +1,5 @@ -# Total size: 976205 +# Total size: 736968 /usr/local/bin/ol /usr/local/bin/ovm -/usr/local/share/man/man1/ol.1.gz -/usr/local/share/man/man1/ovm.1.gz +/usr/local/share/man/man1/ol.1.zst +/usr/local/share/man/man1/ovm.1.zst diff --git a/packages/owl.rb b/packages/owl.rb index 38a155a1d..b94b51022 100644 --- a/packages/owl.rb +++ b/packages/owl.rb @@ -3,20 +3,43 @@ require 'package' class Owl < Package description 'Owl Lisp is a functional dialect of the Scheme programming language.' homepage 'https://haltp.org/posts/owl.html' - version '0.1.14' + version '0.2.2' license 'MIT' compatibility 'all' - source_url 'https://github.com/aoh/owl-lisp/archive/v0.1.14.tar.gz' - source_sha256 '4d9982da3582456d1e769e25a7d0b2daefe859c45e262c8f56f794114f9a29a0' - binary_compression 'tar.xz' + source_url 'https://gitlab.com/owl-lisp/owl.git' + git_hashtag "v#{version}" + binary_compression 'tar.zst' binary_sha256({ - aarch64: '305978182d9826979fdd56b7085cdcf0cc24cc6c234a96d7c513756f55028bc0', - armv7l: '305978182d9826979fdd56b7085cdcf0cc24cc6c234a96d7c513756f55028bc0', - i686: '0af189fa0385b41f86f024863a97d89cae96bcf7b1b8b408a0bd2b0db476cbe1', - x86_64: 'f902a68ce2f16363477ab0f5aaf11b93fd8d1b236c08ea66dab4cb063ce209f0' + aarch64: '564e84bdad63271e3b1c34d369e1895921ee9908f506629a3f624dc6594466ae', + armv7l: '564e84bdad63271e3b1c34d369e1895921ee9908f506629a3f624dc6594466ae', + i686: '3a9b4a731d8c6ba589cf550afb0f53d60b00a633143e2279b76a5889d2cd2873', + x86_64: '7d9913c9d6aab7028eab4885e43832e35ad4a59954050dfc8906d7c8ab037c84' }) + depends_on 'glibc' # R + + def self.patch + File.write 'owl.patch', <<~OWLPATCHEOF + diff -Npaur a/Makefile b/Makefile + --- a/Makefile 2025-09-29 14:30:45.866445331 -0400 + +++ b/Makefile 2025-09-29 14:31:46.552423404 -0400 + @@ -49,8 +49,9 @@ c/ol.c: fasl/ol.fasl + bin/ol: c/ol.c + # compile the real owl repl binary + $(CC) $(CFLAGS) $(LDFLAGS) -o bin/olp $? + - CC="$(CC)" LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS)" sh tests/run all bin/olp + - test '!' -f $@ || mv $@ bin/ol-old + + # This breaks container builds. + + # CC="$(CC)" LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS)" sh tests/run all bin/olp + + # test '!' -f $@ || mv $@ bin/ol-old + mv bin/olp $@ + + c/ol-small.c: fasl/ol.fasl + OWLPATCHEOF + system 'patch -Np1 -i owl.patch' + end + def self.build system 'make', "PREFIX=#{CREW_PREFIX}" end