WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: xarchiver update for tinycore16 x86-32  (Read 68 times)

Offline Zhe

  • Newbie
  • *
  • Posts: 18
xarchiver update for tinycore16 x86-32
« on: December 05, 2025, 09:21:47 AM »
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: [Select]
@@ -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

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


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15344
Re: xarchiver update for tinycore16 x86-32
« Reply #1 on: December 05, 2025, 12:08:47 PM »
I can take a look in a few days time.