From: housetier <hou...@gm...> - 2004-12-21 08:08:01
|
Moin! I use Archive everyday but recently have come across 7zip archives more often. Could support for those kind of archives added to Archive? more information about 7zip is at http://www.7-zip.org/ -- Lasse |
From: <dan...@gm...> - 2004-12-21 10:25:35
|
Not so easy, because usage of the 7zip compressor needs WINE under Linux. And we can't really expect anyone to have it. On the other hand, a lot of people also don't have unrar and it is supported by Archive. So if you supply the list with information how to call 7zip, it should be possiple to add. Rgds, Daniel housetier schrieb: > Moin! > > I use Archive everyday but recently have come across 7zip archives > more often. Could support for those kind of archives added to Archive? > > more information about 7zip is at http://www.7-zip.org/ > |
From: Goetz W. <wa...@in...> - 2004-12-21 12:00:19
|
Am Di 21 Dez 2004 11:25:43 GMT schrieb Daniel P=F6rsch: > Not so easy, because usage of the 7zip compressor needs WINE under=20 > Linux. And we can't really expect anyone to have it. Not needed, there's a portable version called p7zip: http://p7zip.sourceforge.net/ I've already packaged this for the Mandrakelinux contribs. --=20 What difference does it make to the dead, the orphans and the homeless, whether the mad destruction is wrought under the name of totalitarianism or the holy name of liberty or democracy? Mahatma Gandhi (1869 - 1948), "Non-Violence in Peace and War" |
From: housetier <hou...@gm...> - 2004-12-21 12:58:49
|
On Tue, 21 Dec 2004 12:16:58 +0100, Daniel P=F6rsch <dan...@gm...> wrot= e: > ...if you only need extracting, add the '>' line to formats.py: > ... > rar =3D Extract('rar', "rar x '%s'") > > 7z =3D Extract('7z', "7z x '%s'") > tar =3D Extract('tar', "tar xf -") OK so for the time bein I'll install Archive the non-0install way > And perhaps, one more for guess_format, if you know how the header of a > 7zip looks like: > def guess_format(self, data): > ... > if string(0, '???7zip???'): return 7z I'll add those changes too --=20 Lasse |
From: <dan...@gm...> - 2004-12-21 17:59:28
|
Sorry housetier, wrote the second time to you directly. This is a point where Thunderbird really SUX!!! >> def guess_format(self, data): >> ... >> if string(0, '???7zip???'): return 7z > > I'll add those changes too What did you add, I downloaded p7zip and something like if string(0, '7z\xbc\xaf'): return 7z should do it! But I'm no dev, so it's not up to me to add it to archive. But it would be cool if you write a patch (after testing) for formats.py and send it to the devel-list! Rgds, Daniel |