From 58d4643523e766b6b93535bbbbf3f3bda8637b01 Mon Sep 17 00:00:00 2001 From: MoturiFranklin <111282301+MoturiFranklin@users.noreply.github.com> Date: Mon, 23 Jun 2025 18:13:05 +0200 Subject: [PATCH] packages: add some homebrew packages --- README.md | 16 ++++++---------- packages/doom/git | 2 +- packages/emacs/brew | 1 + packages/fd/brew | 1 + packages/hunspell/brew | 1 + packages/ripgrep/brew | 1 + 6 files changed, 11 insertions(+), 11 deletions(-) create mode 100644 packages/emacs/brew create mode 100644 packages/fd/brew create mode 100644 packages/hunspell/brew create mode 100644 packages/ripgrep/brew diff --git a/README.md b/README.md index 0ce6f9b..fe90851 100644 --- a/README.md +++ b/README.md @@ -163,7 +163,7 @@ and ideas that need to be fleshed out. -> currently implemented with `depends_HANDLER` files ### Planned -- detection mechanism for handlers and features +- detection mechanism for handler features (e.g. batch-install support) - Ability to use multiple repos, including remote ones - Cope with missing versions in repositories of older OS versions @@ -171,9 +171,9 @@ and ideas that need to be fleshed out. - helper/hook for adding packages to groups upon install (at least for `pacman`) -- Log Installs for reuse +- log installs for reuse -### TODOs +### Issues - Homebrew for Mac - partially implemented but resolution not working (e.g. docker automatically installing brew first) - Somehow installing doom emacs has a dependency tree resolution issue - Debug corner cases: Not working on Windows when run as Admin @@ -181,12 +181,12 @@ and ideas that need to be fleshed out. - Handler for downloaded scripts (e.g. passff-host, funkwhale) - Enable services after install, e.g. syncthing and docker -#### Windows Flow +#### Windows Offline Flow - Install choco and git offline - Run in git bash - TODO: Use choco-offline sources -### Flow +### Flow v2 This is a revamped concept that would ease setting up new devices with different systems by adding a mapping of functions to applications @@ -246,11 +246,7 @@ but the details still need to be fleshed out. - portable: base but with packages for installations on removable media -### Handlers - -... - -## Notable Projects +## Related Projects - another universal package manager, but without affecting the system: diff --git a/packages/doom/git b/packages/doom/git index faf06b5..5659354 100755 --- a/packages/doom/git +++ b/packages/doom/git @@ -1,4 +1,4 @@ #!/bin/sh emacsd="${XDG_CONFIG_HOME:-$HOME/.config}/emacs" git clone https://github.com/hlissner/doom-emacs "$emacsd" -unbuffer "$emacsd/bin/doom" --force install --env --no-hooks --install | head -19 +$(command unbuffer) "$emacsd/bin/doom" --force install --env --no-hooks --install | head -19 diff --git a/packages/emacs/brew b/packages/emacs/brew new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/packages/emacs/brew @@ -0,0 +1 @@ + diff --git a/packages/fd/brew b/packages/fd/brew new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/packages/fd/brew @@ -0,0 +1 @@ + diff --git a/packages/hunspell/brew b/packages/hunspell/brew new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/packages/hunspell/brew @@ -0,0 +1 @@ + diff --git a/packages/ripgrep/brew b/packages/ripgrep/brew new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/packages/ripgrep/brew @@ -0,0 +1 @@ +