From e0cbd223fcbaa23941962e7c7055a3fa16d19ef1 Mon Sep 17 00:00:00 2001 From: Muhammad Alfi Syahrin Date: Fri, 20 Dec 2024 22:33:44 +0700 Subject: [PATCH] zoxide: Update to v0.9.6 **Summary** Changelog can be found [here](https://raw.githubusercontent.com/ajeetdsouza/zoxide/refs/tags/v0.9.6/CHANGELOG.md) --- packages/z/zoxide/abi_used_symbols | 3 +- ...l-handle-queries-that-look-like-args.patch | 31 ------------------- packages/z/zoxide/package.yml | 8 ++--- packages/z/zoxide/pspec_x86_64.xml | 14 ++++----- 4 files changed, 11 insertions(+), 45 deletions(-) delete mode 100644 packages/z/zoxide/files/nushell-handle-queries-that-look-like-args.patch diff --git a/packages/z/zoxide/abi_used_symbols b/packages/z/zoxide/abi_used_symbols index 560572123e6..2f9552c89fa 100644 --- a/packages/z/zoxide/abi_used_symbols +++ b/packages/z/zoxide/abi_used_symbols @@ -1,4 +1,3 @@ -libc.so.6:__environ libc.so.6:__errno_location libc.so.6:__libc_start_main libc.so.6:__xpg_strerror_r @@ -40,6 +39,7 @@ libc.so.6:mmap64 libc.so.6:mprotect libc.so.6:munmap libc.so.6:open64 +libc.so.6:pause libc.so.6:pipe2 libc.so.6:poll libc.so.6:posix_memalign @@ -55,7 +55,6 @@ libc.so.6:posix_spawnp libc.so.6:pthread_attr_destroy libc.so.6:pthread_attr_getstack libc.so.6:pthread_getattr_np -libc.so.6:pthread_getspecific libc.so.6:pthread_key_create libc.so.6:pthread_key_delete libc.so.6:pthread_self diff --git a/packages/z/zoxide/files/nushell-handle-queries-that-look-like-args.patch b/packages/z/zoxide/files/nushell-handle-queries-that-look-like-args.patch deleted file mode 100644 index 61ea0a9b707..00000000000 --- a/packages/z/zoxide/files/nushell-handle-queries-that-look-like-args.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 94d3cba60e24139319c7d370d796967c607b54ef Mon Sep 17 00:00:00 2001 -From: Ajeet D'Souza <98ajeet@gmail.com> -Date: Sat, 16 Mar 2024 23:09:33 +0530 -Subject: [PATCH] nushell: handle queries that look like args (#761) - ---- - templates/nushell.txt | 4 ++-- - 1 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/templates/nushell.txt b/templates/nushell.txt -index a5244d61..a9343643 100644 ---- a/templates/nushell.txt -+++ b/templates/nushell.txt -@@ -39,7 +39,7 @@ if (not ($env | default false __zoxide_hooked | get __zoxide_hooked)) { - # - - # Jump to a directory using only keywords. --def --env __zoxide_z [...rest:string] { -+def --env --wrapped __zoxide_z [...rest:string] { - let arg0 = ($rest | append '~').0 - let path = if (($rest | length) <= 1) and ($arg0 == '-' or ($arg0 | path expand | path type) == dir) { - $arg0 -@@ -53,7 +53,7 @@ def --env __zoxide_z [...rest:string] { - } - - # Jump to a directory using interactive search. --def --env __zoxide_zi [...rest:string] { -+def --env --wrapped __zoxide_zi [...rest:string] { - cd $'(zoxide query --interactive -- ...$rest | str trim -r -c "\n")' - {%- if echo %} - echo $env.PWD diff --git a/packages/z/zoxide/package.yml b/packages/z/zoxide/package.yml index 4014c7c44ac..eb327c7dfdb 100644 --- a/packages/z/zoxide/package.yml +++ b/packages/z/zoxide/package.yml @@ -1,8 +1,8 @@ name : zoxide -version : 0.9.4 -release : 2 +version : 0.9.6 +release : 3 source : - - https://github.com/ajeetdsouza/zoxide/archive/refs/tags/v0.9.4.tar.gz : ec002bdca37917130ae34e733eb29d4baa03b130c4b11456d630a01a938e0187 + - https://github.com/ajeetdsouza/zoxide/archive/refs/tags/v0.9.6.tar.gz : e1811511a4a9caafa18b7d1505147d4328b39f6ec88b88097fe0dad59919f19c homepage : https://github.com/ajeetdsouza/zoxide license : MIT component : programming.tools @@ -13,14 +13,12 @@ networking : yes builddeps : - rust setup : | - %patch -p1 -i $pkgfiles/nushell-handle-queries-that-look-like-args.patch %cargo_fetch build : | %cargo_build install : | %cargo_install - #install -Dm00644 LICENSE $installdir/usr/share/licenses/zoxide/ install -d $installdir/usr/share/{man/man1,doc/zoxide,zsh/site-functions,fish/vendor_completions.d,bash-completion/completions/zoxide} install -Dm00644 man/man1/*.1 $installdir/usr/share/man/man1/ install -Dm00644 README.md $installdir/usr/share/doc/zoxide/ diff --git a/packages/z/zoxide/pspec_x86_64.xml b/packages/z/zoxide/pspec_x86_64.xml index c2dd104584e..c95cdd8df1e 100644 --- a/packages/z/zoxide/pspec_x86_64.xml +++ b/packages/z/zoxide/pspec_x86_64.xml @@ -3,8 +3,8 @@ zoxide https://github.com/ajeetdsouza/zoxide - Evan Maddock - maddock.evan@vivaldi.net + Muhammad Alfi Syahrin + malfisya.dev@hotmail.com MIT programming.tools @@ -34,12 +34,12 @@ - - 2024-05-11 - 0.9.4 + + 2024-12-20 + 0.9.6 Packaging update - Evan Maddock - maddock.evan@vivaldi.net + Muhammad Alfi Syahrin + malfisya.dev@hotmail.com \ No newline at end of file