Compare commits

..
7 Commits
40 changed files with 214 additions and 3 deletions

No files matched your search

+8 -1
View File
@@ -34,6 +34,9 @@ if changes should be made for them to work on other architectures.
| `python3-bsdiff4` | ✅ | ✅ | ✅ | ❌ | Binary diff and patch using the BSDIFF4-format (python3). | Dependency for amethyst-mod-manager, but can probably be used for other purposes too. |
| `mullvadvpn` | ✅ | ✅ | ✅ | ✅ | Mullvad VPN client app (CLI ONLY) | Used the template of [`dkwo`](https://github.com/dkwo) that is currently (since 2025) [`trying to be merged into the official void-packages`](https://github.com/void-linux/void-packages/pull/56005). |
| `mullvad-tui` | ✅ | ✅ | ✅ | ✅ | Terminal User Interface for Mullvad VPN | Interesting TUI to be used with mullvadvpn since the official GUI is made with electron |
| `goanime` | ✅ | ✅ | ✅ | ✅ | Terminal software to stream and download anime and movies | It's possible that some features don't properly work in i686 and armv7l/6l. |
| `mullvad-tray` | - | - | - | - | Tray Icon and status indicator for MullvadVPN with other functions | Still WIP and testing in my x86_64 machine. Compiled and seems to work almost all the time but more testing and changes to the template may be required. |
| `mulltray` | - | - | - | - | Tray Icon and status indicator/change location for MullvadVPN | Still WIP and testing in my x86_64 machine. Compiled and seems to work almost all the time but more testing and changes to the template may be required. |
## Packages: musl-libc
@@ -44,6 +47,10 @@ If a package is not listed it's not even available for any of the archs listed h
| `python3-bsdiff4` | ✅ | ✅ | ❌ | Binary diff and patch using the BSDIFF4-format (python3). | Dependency for amethyst-mod-manager, but can probably be used for other purposes too. |
| `mullvadvpn` | ✅ | ✅ | ✅ | Mullvad VPN client app (CLI ONLY) | Used the template of [`dkwo`](https://github.com/dkwo) that is currently (since 2025) [`trying to be merged into the official void-packages`](https://github.com/void-linux/void-packages/pull/56005). |
| `mullvad-tui` | ✅ | ✅ | ✅ | Terminal User Interface for Mullvad VPN | Interesting TUI to be used with mullvadvpn since the official GUI is made with electron |
| `goanime` | ✅ | ✅ | ✅ | Terminal software to stream and download anime and movies | It's possible that some features don't properly work when using musl in general. |
| `mullvad-tray` | - | - | - | Tray Icon and status indicator for MullvadVPN with other functions | Still WIP and testing in my x86_64 machine. Compiled and seems to work almost all the time but more testing and changes to the template may be required. |
| `mulltray` | - | - | - | Tray Icon and status indicator/change location for MullvadVPN | Still WIP and testing in my x86_64 machine. Compiled and seems to work almost all the time but more testing and changes to the template may be required. |
## Repository key
@@ -68,7 +75,7 @@ If it doesn't, `xbps-install -S` will fail to fetch the repository metadata and
Check the Packages table above to see what's available.
```bash
echo 'repository=https://git.erisu.de/Erisu/erisus-void-packages/raw/branch/master/archs/${xbps-uhelper arch}' | doas tee /etc/xbps.d/10-erisus-repo.conf
printf 'repository=https://git.erisu.de/Erisu/erisus-void-packages/raw/branch/master/archs/%s\n' "$(xbps-uhelper arch)" | doas tee /etc/xbps.d/10-erisus-repo.conf
doas xbps-install -S
doas xbps-install -S <package_name>
```
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,6 @@
£Œ€ç‘<ê†üséa@üfaœU¶®¿´»—´NËî´�×¼âxWYêƒîPÜem ’Pã!f-¿—Ó¨¤�ò�cÖu¨÷T=c#Yâ9øgªFW°ÿ˜Ëà0Cù“y±S·ö!)wÔcžP’žCðLú2ˆ²™æ�U¸_Är…ÇG�M
שĒ“·ž +ßm¢Ç·mmu¤xõ¢ŠË¼½‹¼Š†e
ÁFøôX¯µ±d Ž+ÅAV¾cô˜¢ûû¨ymÙÛŽåК_öV‚q¶Ô0<rë݆×é8ß©ôO�DÊ� Ènèö*sD‚~®‹e¨È]”OÓvÍ&x ZÚ©ª7k®@Ú<ÿ¥·Õêq^�!‹{šàÓixÝœCAiŸ–ÊöešV
t¤õÁ–x2Y™)'2dÿ���0‡z�:ØÏð[‚XÕ Ž’÷M­fÏj€Â£>>°{€pv·5 ŠoðåòY,Ì@;ðŒ×*8ãEö�Š)% ¤©õ-Ê×Öö#-çíòÔ‰»5Séìê’½øˆ§ŒìªH¸iâ Ú=»;Ÿî¾Üé%»*7Ä£�ˆíò^ºéÑkRS°z‘doÆÒiÊŽ[
® ‹û™®æà‡ÙÞpÆýsù#¨™ô푨Ž�
z‚ñÇ6˲
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,22 @@
--- a/cmd/goanime/main.go
+++ b/cmd/goanime/main.go
@@ -16,7 +16,6 @@ import (
"github.com/alvarorichard/Goanime/v2/internal/player"
"github.com/alvarorichard/Goanime/v2/internal/scraper/cfsolver"
"github.com/alvarorichard/Goanime/v2/internal/tui"
- "github.com/alvarorichard/Goanime/v2/internal/updater"
"github.com/alvarorichard/Goanime/v2/internal/util"
"golang.org/x/term"
)
@@ -49,11 +48,6 @@ func main() {
return
}
- // Finish housekeeping from a previous --update: remove the backup and
- // staged files only after this binary has started and its digest matches
- // the one recorded by the updater. No marker means nothing to clean up.
- updater.CleanupAfterUpdate()
-
// The sources the user switched on or off in the SOURCES screen. A file
// that cannot be read is reported and ignored: sources keep their defaults.
if err := util.LoadSavedSourcePrefs(); err != nil {
@@ -0,0 +1,97 @@
--- a/internal/handlers/request_flow_test.go
+++ b/internal/handlers/request_flow_test.go
@@ -1,19 +1,15 @@
package handlers
import (
- "encoding/json"
"errors"
"image"
"image/png"
- "net/http"
- "net/http/httptest"
"os"
"path/filepath"
"runtime"
"testing"
"github.com/alvarorichard/Goanime/v2/internal/models"
- "github.com/alvarorichard/Goanime/v2/internal/updater"
"github.com/alvarorichard/Goanime/v2/internal/upscaler"
"github.com/alvarorichard/Goanime/v2/internal/util"
"github.com/ktr0731/go-fuzzyfinder"
@@ -326,24 +322,11 @@ func TestHandlePlaybackMode_SymbolPin(t *testing.T) {
// --- HandleUpdateRequest ---
-func TestHandleUpdateRequest_DoesNotPanic(t *testing.T) {
- if runtime.GOOS == "windows" {
- // HandleUpdateRequest → updater.CheckAndPromptUpdate may open the huh
- // confirm form when GitHub has a newer release. The form blocks on TTY
- // on Windows CI. Skip there.
- t.Skip("huh form blocks on Windows CI without TTY")
- }
- srv := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, _ *http.Request) {
- _ = json.NewEncoder(w).Encode(updater.GitHubRelease{TagName: "v0.0.0"})
- }))
- t.Cleanup(srv.Close)
- // Cannot override updater.releaseAPIURL from outside its package; just
- // ensure the wrapper doesn't panic and either succeeds or returns wrapped
- // error from the underlying network call.
+func TestHandleUpdateRequest_Disabled(t *testing.T) {
err := HandleUpdateRequest()
- if err != nil {
- assert.Contains(t, err.Error(), "update failed")
- }
+ require.Error(t, err)
+ assert.Contains(t, err.Error(), "self-updating is disabled")
+ assert.Contains(t, err.Error(), "package manager")
}
// --- HandleUpscaleRequest, handleImageUpscale, handleVideoUpscale ---
diff --git a/internal/handlers/update.go b/internal/handlers/update.go
index 6b24f0b..7e52f10 100644
--- a/internal/handlers/update.go
+++ b/internal/handlers/update.go
@@ -2,18 +2,9 @@ package handlers
import (
"fmt"
-
- "github.com/alvarorichard/Goanime/v2/internal/updater"
- "github.com/alvarorichard/Goanime/v2/internal/util"
)
// HandleUpdateRequest processes update requests
func HandleUpdateRequest() error {
- // Initialize logger for update process
- util.InitLogger()
- util.Info("Checking for updates...")
- if updateErr := updater.CheckAndPromptUpdate(); updateErr != nil {
- return fmt.Errorf("update failed: %w", updateErr)
- }
- return nil
+ return fmt.Errorf("self-updating is disabled in this package; update GoAnime with your package manager")
}
diff --git a/internal/util/help.go b/internal/util/help.go
index 7961bfb..1b34428 100644
--- a/internal/util/help.go
+++ b/internal/util/help.go
@@ -107,7 +107,7 @@ func ShowBeautifulHelp() {
addOption(&helpContent, "--perf", "Enable performance profiling - shows timing metrics for all operations.")
addOption(&helpContent, "--help / -h", "Display this beautiful help message with detailed usage information.")
addOption(&helpContent, "--version", "Show version information and build details.")
- addOption(&helpContent, "--update", "Check for updates and update automatically to the latest version.")
+ addOption(&helpContent, "--update", "Self-updating is disabled; use your package manager to update GoAnime.")
addOption(&helpContent, "-d", "Download mode - download specific episodes for offline viewing.")
addOption(&helpContent, "-r", "Range download mode - download multiple episodes (use with -d or -dm).")
addOption(&helpContent, "-a", "Download ALL episodes/seasons. Use with -d (anime) or -dm (TV/series/dorama).")
@@ -168,7 +168,7 @@ func ShowBeautifulHelp() {
addExample(&helpContent, "goanime", "Start interactive mode")
addExample(&helpContent, "goanime \"attack on titan\"", "Search directly for Attack on Titan")
addExample(&helpContent, "goanime --debug \"naruto\"", "Search with debug information")
- addExample(&helpContent, "goanime --update", "Check for updates and update automatically")
+ addExample(&helpContent, "goanime --update", "Show package-manager update guidance")
addExample(&helpContent, "goanime --version", "Show version information")
addExample(&helpContent, "goanime -d \"one piece\" 1", "Download episode 1 of One Piece")
addExample(&helpContent, "goanime -d -r \"naruto\" 1-5", "Download episodes 1-5 of Naruto")
+29
View File
@@ -0,0 +1,29 @@
# Template file for 'goanime'
pkgname=goanime
version=2.0.4
revision=2
build_style=go
go_import_path="github.com/alvarorichard/Goanime/v2"
go_package="${go_import_path}/cmd/goanime"
hostmakedepends="go gcc"
depends="mpv"
short_desc="Terminal application to stream and download anime and movies"
maintainer="Juan Rojas <juandmcr@protonmail.com>"
license="MIT"
homepage="https://github.com/alvarorichard/GoAnime"
distfiles="https://github.com/alvarorichard/GoAnime/archive/refs/tags/v${version}.tar.gz"
checksum=f4ce3f93bf429144165d338117304829a689eeca8dbfff893e3c9bf8c6b3256b
make_check=no # Tests take too long (10m+ and panic exit because of timeout so tbh if the package works I won't run the tests bc I don't have time to waste and this is an unofficial repo anyways, I might fix this in the future tho)
do_install() {
bin="$wrksrc/_build-goanime-xbps/bin/goanime"
if [ ! -x "$bin" ]; then
set -- "$wrksrc"/_build-goanime-xbps/bin/*/goanime
[ -x "$1" ] || { echo "Error: Unable to find the goanime binary weee edit the template weee" >&2; return 1; }
bin="$1"
fi
vbin "$bin"
vlicense LICENSE
}
+2
View File
@@ -0,0 +1,2 @@
deps=mullvadvpn
bindeps=x86_64 x86_64-musl i686 aarch64 aarch64-musl armv7l armv7l-musl armv6l armv6l-musl
+22
View File
@@ -0,0 +1,22 @@
# Template file for 'mulltray'
pkgname=mulltray
version=2026.2
revision=1
build_style=cargo
build_helper="rust"
hostmakedepends="cargo protobuf protobuf-devel"
depends="mullvadvpn"
short_desc="Lightweight system tray icon for Mullvad VPN"
maintainer="Juan Rojas <juandmcr@protonmail.com>"
license="Unlicense"
homepage="https://github.com/Andriamanitra/mulltray"
distfiles="https://github.com/Andriamanitra/mulltray/archive/refs/tags/${version}.tar.gz"
checksum=80cef16645981b4054b5a481f3242f8cfa2b2de413e0d0caa8547a7b2366091a
do_build() {
cargo build --release --locked --target ${RUST_TARGET}
}
do_install() {
vbin target/${RUST_TARGET}/release/mulltray
}
+24
View File
@@ -0,0 +1,24 @@
# Template file for 'mullvad-tray'
pkgname=mullvad-tray
version=2.0.3
revision=1
build_style=cargo
build_helper="rust"
hostmakedepends="pkgconf git"
makedepends="gtk4-devel libadwaita-devel"
depends="gtk4 libadwaita"
short_desc="System tray monitor for Mullvad VPN"
maintainer="Juan Rojas <juandmcr@protonmail.com>"
license="GPL-3.0-only"
homepage="https://gitlab.com/Plague_Doctor/mullvad-tray"
distfiles="https://gitlab.com/Plague_Doctor/mullvad-tray/-/archive/v${version}/mullvad-tray-v${version}.tar.gz"
checksum=
pre_build() {
cargo generate-lockfile
}
do_install() {
vbin target/${RUST_TARGET}/release/mullvad-tray
}
+2
View File
@@ -0,0 +1,2 @@
site="https://github.com/d10n/mullvad-tui/releases"
pkgname="mullvad-tui"
+2 -2
View File
@@ -1,6 +1,6 @@
# Template file for 'twintaillauncher'
pkgname=twintaillauncher
version=2.5.3
version=2.5.4
revision=1
archs="x86_64 aarch64"
build_style=cargo
@@ -12,7 +12,7 @@ maintainer="Juan Rojas <juandmcr@protonmail.com>"
license="GPL-3.0-only"
homepage="https://github.com/TwintailTeam/TwintailLauncher"
distfiles="https://github.com/TwintailTeam/TwintailLauncher/archive/refs/tags/ttl-v${version}.tar.gz"
checksum=1232c436a6b505ca6b9a0b00a33d7e5e3d7c1ed560baac5b3e3a7cb30c168b46
checksum=225b59df8f25ce50c75bfc77d61a72e6613d29fbb85540573afcbfe74da6d737
make_check=no # no tests at repo root; Cargo.toml is in src-tauri/
nostrip_files="reaper hkrpg_patch.dll"