-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 1.3.3 Add invil, bump amboso to 1.9.7 (#58)
- Add ./anvil to .gitignore - Adds invil to optionally replace amboso - Add scripts/bootstrap_anvil.sh to automate linking ./anvil - Upcoming versions may switch the default to repo_invil
- Loading branch information
Showing
13 changed files
with
134 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,3 +56,6 @@ src/palette.h | |
|
||
# ignore old .txt animations files | ||
static/animations/*.txt | ||
|
||
# ignore anvil symlink | ||
anvil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,6 @@ | |
[submodule "koliseo"] | ||
path = koliseo | ||
url = [email protected]:jgabaut/koliseo.git | ||
[submodule "invil"] | ||
path = invil | ||
url = [email protected]:jgabaut/invil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule amboso
updated
19 files
+2 −2 | Makefile | |
+15 −7 | README.md | |
+3 −3 | amboso | |
+2 −2 | amboso_fn.sh | |
+1 −0 | bin/stego.lock | |
+3 −0 | bin/v1.9.7/.gitignore | |
+11 −11 | kazoj/bone/anvil_stego.stdout | |
+1 −1 | kazoj/bone/good_stego.stdout | |
+2 −2 | kazoj/bone/good_vers.stderr | |
+2 −2 | kazoj/bone/good_vers.stdout | |
+1 −1 | kazoj/bone/lint_anvil_stego.stdout | |
+1 −1 | kazoj/bone/try_amboso_sourcing | |
+1 −1 | kazoj/bone/try_amboso_sourcing.stderr | |
+2 −2 | kazoj/bone/try_amboso_sourcing.stdout | |
+1 −1 | kazoj/bone/vershw.stdout | |
+27 −27 | kazoj/kulpo/bad_stego.stderr | |
+2 −2 | kazoj/kulpo/bad_stego.stdout | |
+4 −4 | kazoj/kulpo/bad_vers.stdout | |
+7 −7 | kazoj/kulpo/error_42.stderr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Define the package name and version | ||
AC_INIT([helapordo], [1.3.2], [[email protected]]) | ||
AC_INIT([helapordo], [1.3.3], [[email protected]]) | ||
|
||
# Verify automake version and enable foreign option | ||
AM_INIT_AUTOMAKE([foreign -Wall]) | ||
|
@@ -48,7 +48,7 @@ fi | |
# Set a default version number if not specified externally | ||
AC_ARG_VAR([VERSION], [Version number]) | ||
if test -z "$VERSION"; then | ||
VERSION="1.3.2" | ||
VERSION="1.3.3" | ||
fi | ||
|
||
# Output variables to the config.h header | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule koliseo
updated
21 files
+3 −0 | .gitignore | |
+3 −0 | .gitmodules | |
+6 −1 | Makefile.am | |
+1 −1 | amboso | |
+0 −1 | anvil | |
+2 −1 | bin/stego.lock | |
+4 −0 | bin/v0.3.13/.gitignore | |
+1 −0 | bin/v0.3.13/static | |
+2 −2 | configure.ac | |
+1 −1 | docs/koliseo.doxyfile | |
+1 −0 | invil | |
+113 −0 | scripts/bootstrap_anvil.sh | |
+1 −1 | src/koliseo.h | |
+1 −1 | tests/ok/basic_gulp.k.stdout | |
+1 −1 | tests/ok/basic_run.k.stdout | |
+1 −1 | tests/ok/big_size.k.stdout | |
+0 −0 | tests/ok/check_format.k | |
+0 −0 | tests/ok/check_format.k.stderr | |
+0 −0 | tests/ok/check_format.k.stdout | |
+678 −678 | tests/ok/kstr_gulp.k.stdout | |
+53 −53 | tests/ok/kstr_test.k.stdout |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
#!/bin/sh | ||
# SPDX-License-Identifier: GPL-3.0-only | ||
# Script to link binary for anvil | ||
# Copyright (C) 2023 jgabaut | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, version 3 of the License. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
|
||
script_version="0.1" | ||
|
||
print_impls() { | ||
printf "Impl list:\n" | ||
printf " repo_amboso\n repo_invil\n path_anvil\n\n" | ||
} | ||
|
||
prompt_impls() { | ||
printf "\nSelect anvil implementation:\n" | ||
print_impls | ||
printf "Choice: \n" | ||
} | ||
|
||
usage() { | ||
prog="$1" | ||
printf "Usage: %s [-i] <impl>\n" "$prog" | ||
print_impls | ||
} | ||
|
||
if [ "$#" -gt 3 ] ; then { | ||
usage "$0" | ||
exit 1 | ||
} | ||
fi | ||
|
||
if [ -f "./anvil" ] ; then { | ||
printf "[INFO] ./anvil ready\n" | ||
exit 0 | ||
} | ||
fi | ||
|
||
is_interactive=0 | ||
|
||
if [ "$1" = "-i" ] ; then { | ||
is_interactive=1 | ||
printf "%s v%s\n" "$0" "$script_version" | ||
} | ||
fi | ||
|
||
if [ "$is_interactive" -eq 0 ] ; then { | ||
impl_q="$1" | ||
if [ "$impl_q" = "repo_amboso" ] ; then { | ||
ln -s ./amboso/amboso ./anvil | ||
exit "$?" | ||
} elif [ "$impl_q" = "repo_invil" ] ; then { | ||
(cd invil || { printf "[ERROR] Failed cd to invil\n"; exit 1; } ; cargo build --release) | ||
if [ "$?" -eq 0 ] ; then { | ||
ln -s ./invil/target/release/invil ./anvil | ||
exit "$?" | ||
} else { | ||
printf "[ERROR] Failed building invil.\n" | ||
printf "[ERROR] Fallback to repo_amboso.\n" | ||
exit "$("$0" repo_amboso)" | ||
} | ||
fi | ||
} elif [ "$impl_q" = "path_anvil" ] ; then { | ||
ln -s /usr/local/bin/anvil ./anvil | ||
exit "$?" | ||
} else { | ||
printf "[ERROR] Invalid impl query: {%s}.\n" "$impl_q" | ||
exit 1 | ||
} | ||
fi | ||
} else { | ||
while read -p "$(prompt_impls)" line; do { | ||
if [ -z "$line" ] ; then { | ||
line="$2" | ||
} | ||
fi | ||
impl_q="$line" | ||
printf "[INFO] Requested impl: {%s}\n" "$impl_q" | ||
if [ "$impl_q" = "repo_amboso" ] ; then { | ||
ln -s ./amboso/amboso ./anvil | ||
exit "$?" | ||
} elif [ "$impl_q" = "repo_invil" ] ; then { | ||
(cd invil || { printf "[ERROR] Failed cd to invil\n"; exit 1; } ; cargo build --release) | ||
if [ "$?" -eq 0 ] ; then { | ||
ln -s ./invil/target/release/invil ./anvil | ||
exit "$?" | ||
} else { | ||
printf "[ERROR] Failed building invil.\n" | ||
printf "[ERROR] Fallback to repo_amboso.\n" | ||
exit "$("$0" repo_amboso)" | ||
} | ||
fi | ||
} elif [ "$impl_q" = "path_anvil" ] ; then { | ||
ln -s /usr/local/bin/anvil ./anvil | ||
exit "$?" | ||
} else { | ||
printf "[ERROR] Invalid impl query: {%s}.\n" "$impl_q" | ||
} | ||
fi | ||
} | ||
done | ||
} | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters