Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76627 - New ebuild: app-arch/lzma-0.02
Summary: New ebuild: app-arch/lzma-0.02
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Radoslaw Stachowiak (RETIRED)
URL: http://martinus.geekisp.com/rublog.cg...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-04 05:46 UTC by Mihai Limbasan
Modified: 2009-12-27 16:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
New ebuild for app-arch/lzma-0.02 (lzma-0.02.ebuild,759 bytes, text/plain)
2005-01-04 05:47 UTC, Mihai Limbasan
Details
GCC 3.4.x compatibility patch (0.02-gcc34.patch,2.03 KB, patch)
2005-01-04 05:47 UTC, Mihai Limbasan
Details | Diff
Makefile Gentoo build system compatibility patch (0.02-makefile.patch,598 bytes, patch)
2005-01-04 05:48 UTC, Mihai Limbasan
Details | Diff
New ebuild for app-arch/lzma-0.02 (fixed) (lzma-0.02.ebuild,747 bytes, text/plain)
2005-01-04 05:54 UTC, Mihai Limbasan
Details
New ebuild for lzma 0.03 (lzma-0.03.ebuild,676 bytes, text/plain)
2005-01-12 08:51 UTC, Martin Ankerl
Details
LZMA SDK 4.26 working ebuild (lzma-4.27.ebuild,678 bytes, text/plain)
2005-08-25 13:07 UTC, Bruce Guenter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mihai Limbasan 2005-01-04 05:46:22 UTC
As requested in http://forums.gentoo.org/viewtopic.php?t=274644
Blurb: lzma is a high-performance data compressor based on the LZMA algorithm.
Its raison d'etre is that p7zip doesn't work as a pipe filter.
I had to patch the source to be able to compile it with GCC 3.4.x. It seems to work now, passed some impromptu tests of mine fine (tested on 32-bit x86 platform only though, ebuild keywords reflect that).
Also had to patch the makefile for it to pick up Gentoo's {C,CXX,LD}FLAGS.
Both patches attached. They are created by me, and in case it's an issue I assign copyright for them to whoever / whatever / I frankly don't care ;-)

Reproducible: Always
Steps to Reproduce:
Comment 1 Mihai Limbasan 2005-01-04 05:47:23 UTC
Created attachment 47572 [details]
New ebuild for app-arch/lzma-0.02
Comment 2 Mihai Limbasan 2005-01-04 05:47:54 UTC
Created attachment 47573 [details, diff]
GCC 3.4.x compatibility patch
Comment 3 Mihai Limbasan 2005-01-04 05:48:25 UTC
Created attachment 47574 [details, diff]
Makefile Gentoo build system compatibility patch
Comment 4 Mihai Limbasan 2005-01-04 05:54:19 UTC
Created attachment 47576 [details]
New ebuild for app-arch/lzma-0.02 (fixed)
Comment 5 Martin Ankerl 2005-01-12 08:49:33 UTC
I have created a new release of lzma that contains the GCC 3.4.x compatibility patch, and the makefile build system compatibility patch:

http://martinus.geekisp.com/files/lzma-0.03.tar.gz

I have updated the ebuild, but I am not shure if it works as I have no idea how to test ebuilds :-/
Comment 6 Martin Ankerl 2005-01-12 08:51:31 UTC
Created attachment 48308 [details]
New ebuild for lzma 0.03

This should obsolete the patches and the previous ebuild
Comment 7 Radoslaw Stachowiak (RETIRED) gentoo-dev 2005-01-13 12:49:02 UTC
thank you for your contribution but due to upstream of lzma information about no further support, and possibility of fixing p7zip (which is maintained) to add support for -si and -so in one call, i hardly see benefits of inclusion lzma into portage, and would rather not do it. i sugest using portage overlay for this. will reconsider it this month, as for now, i'm not sure what to do.
Comment 8 Mihai Limbasan 2005-01-14 13:08:10 UTC
MArtin Ankerl is the LZMA author. He mentioned that he wouldn't further develop LZMA as it already accomplishes its purpose. But if p7zip gets fixed as you mentioned, I agree with not including it as it'd become moot.
Comment 9 Radoslaw Stachowiak (RETIRED) gentoo-dev 2005-02-19 02:10:33 UTC
after some discussion with p7zip author, he pointed me to http://www.7-zip.org/sdk.html page for plain stream lzma usage. this is actively maintained, so if You want lzma support in portage, could you please use this? 

please write what you think about it.

P.S. p7zip (and 7z) wont have lzma-as-in-gzip.
Comment 10 Martin Ankerl 2005-03-28 14:02:33 UTC
I have just had a look at the LZMA SDK, it should be really easy to use this. The binary generated from this already is able to use stdin and stdout. If still someone is interested and capable of writing ebuilds, this would be nice.
The SDK can be found here: http://www.7-zip.org/sdk.html
Comment 11 Radoslaw Stachowiak (RETIRED) gentoo-dev 2005-04-01 04:28:29 UTC
i can write the ebuild, but unfortunatly, after decompressing http://www.7-zip.org/dl/lzma416.tar.bz2 and trying to do 'make' in  "SRC/7zip/Compress/LZMA_Alone" directory on my box i get pretty much long error messages related probably to missing MyGuidDef.h file.

If You can help me with this, we can try get it working together.

gcc 3.4.3 error message:
g++ -O2 -Wall -c -I ../../../ LzmaAlone.cpp
In file included from StdAfx.h:6,
                 from LzmaAlone.cpp:3:
../../../Common/MyWindows.h:16:23: MyGuidDef.h: Nie ma takiego pliku ani katalogu
In file included from StdAfx.h:6,
                 from LzmaAlone.cpp:3:
../../../Common/MyWindows.h:88: error: `REFIID' has not been declared
Comment 12 Bruce Guenter 2005-08-25 13:07:13 UTC
Created attachment 66884 [details]
LZMA SDK 4.26 working ebuild

Here is an ebuild to build the lzma single-file command-line program out of the
latest (version 4.27) LZMA SDK.  I have tested this on both x86 and amd64.
Comment 13 Radoslaw Stachowiak (RETIRED) gentoo-dev 2005-08-27 07:00:37 UTC
thank you, commited into portage with only ~x86 keywords - please use
/etc/portage/package.keywords file for testing.