Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#22362 - [xarchiver] Add Support 7-Zip 9

Attached to Project: Arch Linux
Opened by Tetsumaki (tetsumaki) - Sunday, 09 January 2011, 02:23 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 09 January 2011, 15:09 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Hello.
Can you add support for 7-Zip 9 with a patch please ?

In the PKGBUILD add only this :

source=(http://downloads.sourceforge.net/xarchiver/xarchiver-$pkgver.tar.bz2
fix-7z.patch)
md5sums=('2bc7f06403cc6582dd4a8029ec9d038d'
'e4b3d96daacd6e6e6d1c407df7a60f09')

And :

cd "$srcdir/xarchiver-$pkgver/src"
patch -Np0 -i "${srcdir}/fix-7z.patch"



And the content of fix-7z.patch :

--- 7zip.c.orig 2011-01-09 02:53:44.840002221 +0100
+++ 7zip.c 2011-01-09 02:56:58.000000000 +0100
@@ -72,7 +72,7 @@

if (jump_header == FALSE)
{
- if (line[0] == '-')
+ if ((line[0] == '-') && (line[3] != NULL))
{
jump_header = TRUE;
return;



Thanks.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Sunday, 09 January 2011, 15:09 GMT
Reason for closing:  Won't implement
Comment by Tetsumaki (tetsumaki) - Sunday, 09 January 2011, 02:45 GMT
Sorry, the new standart PKGBUILD with package () as an attachment with fix-7z.patch.
   PKGBUILD (1.4 KiB)
Comment by Greg (dolby) - Sunday, 09 January 2011, 02:54 GMT
If you decide to patch it there is also a patch adding xz support here:
http://slackbuilds.org/slackbuilds/13.1/system/xarchiver/xarchiver-0.5.2-add_xz_support.patch

The patch can also be found here: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-arch/xarchiver/files/xarchiver-0.5.2-add_xz_support.patch?revision=1.1 with the note:
"Not submitted upstream because the upstream author rewrote the code. So, this
patch may be dropped when/if upstream releases a new version."
Comment by Tetsumaki (tetsumaki) - Sunday, 09 January 2011, 03:08 GMT
Very nice Greg.
EDIT : i have trying your patch for support XZ and conflict with 7z format.
Comment by Andreas Radke (AndyRTR) - Sunday, 09 January 2011, 15:09 GMT
you know the patching rules in Arch. we ship plain vanilla. there's no need to add such features before upstream does. you're on your own for now. won't implement.

Loading...