Created attachment 2385 Add xz support Attached patch is a start, but it's not complete, and I'm not finding how to complete it :/ The compiled result will open .txz files and add to them, but tar.xz is still not an option for creating new archives ; I've missed something somewhere...
(In reply to comment #0) >I've missed something somewhere... Thank you so much for your kind interest in Xarchiver. I think you missed the code that looks for the xz executable. Look at src/main.c:305 void xa_set_available_archivers() Let me know about it. Thanks.
Created attachment 2388 Try #2 Yep, that was it. Thanks for the hint. I think there's still a problem somewhere, as I'm getting a memory fault trying to create *any* archive now, but at least this does allow the option of creating .xz and .tar.xz archives. I'll poke around some more and find out whether I caused the crash problem :-)
I can't reproduce the crash now; creating new archives seems fine. I'm a C noob, to be honest, but this seemed like "low hanging fruit," so I decided to give it a shot. Please review to make sure I didn't do anything obviously wrong, but I think it's okay to commit now. Caveat lector :-)
(In reply to comment #3) > I can't reproduce the crash now; creating new archives seems fine. > I'm a C noob, to be honest, but this seemed like "low hanging fruit," so I > decided to give it a shot. Please review to make sure I didn't do anything > obviously wrong, but I think it's okay to commit now. Caveat lector :-) Thank you so much for improving Xarchiver. I will review the patch in the next days and if everything works I will commit it. Do you want me to include your name in the About window of Xarchiver? If so please tell me exactly your name and surname or nickname and if I have to include your email. Giuseppe
No need for About window decorations :-) In the ChangeLog, if you would list the patch as coming from "Robby Workman <rworkman@slackware.com>" though, that would be good. Thanks! :-)
Hi, I'm just getting started with xarchiver and unfortunately can't resolve this atm. Here is a segfault, when trying to extract a tar.xz archive with the commandline option '-x'... Does that work for you with your patch?
Created attachment 3008 Current version of the patch Hi Thomas, I don't actually use xarchiver these days, but I'm attaching the last version of the patch that I used (and it didn't get any negative feedback that I recall). Xarchiver's maintainer moved everything back over to sourceforge and started a rewrite, so I moved on... :-)
Xarchiver is no longer hosted in the Xfce repositories, so this bug is essentially invalid. The important thing is that it be closed, I think.