Tiny Core Extensions > Extension requests

xarchiver update for tinycore16 x86-32

(1/1)

Zhe:
xarchiver update request for tinycore16 x86-32

https://github.com/ib/xarchiver/archive/refs/tags/0.5.4.26.tar.gz

current version in x86 repo has a error , pcmanfm can't call the "--compress" with xarchiver (0.5.2svn)

diff -u xarchiver.tap xarchiver.tap.old


--- Code: ---@@ -30,19 +30,25 @@
 # check the action
 case $action in
 create)
- exec xarchiver "--add-to=$@"
+ exec xarchiver --compress="$@"
  ;;
 
 extract-here)
- exec xarchiver "--extract-to=$folder" "$@"
+ cd "$folder"
+ for archive in "$@"; do
+ xarchiver --ensure-directory "$archive"
+ done
  ;;
 
 extract-to)
- exec xarchiver --extract "$@"
+ if test $# -eq 1; then
+ exec xarchiver --extract "$@"
+ else
+ exec xarchiver --multi-extract "$@"
+ fi
  ;;
 
 *)
  echo "Unsupported action '$action'" >&2
  exit 1
 esac

--- End code ---

If someone is willing to update it, I hope it still uses GTK2.  :)

Here are my compile options:

./configure --prefix=/usr/local --enable-gtk2 --disable-doc --enable-year2038

Juanito:
I can take a look in a few days time.

Juanito:
posted

Navigation

[0] Message Index

Go to full version