[MacPorts] #23030: New port: lrzip
#23030: New port: lrzip -----------------------------+---------------------------------------------- Reporter: jlaurila@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: lrzip -----------------------------+---------------------------------------------- lrzip is a compressor especially good with large files that have long distance repeats, such as VM disk images. -- Ticket URL: <http://trac.macports.org/ticket/23030> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23030: New port: lrzip -----------------------------+---------------------------------------------- Reporter: jlaurila@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: lrzip -----------------------------+---------------------------------------------- Comment(by jlaurila@…): Tested only on 10.6.2 for now. I'm submitting the patches upstream as well, hopefully the next upstream version will require less work. Changes: - made get_ram() in main.c use the HW_MEMSIZE sysctl instead of HW_PHYSMEM to support large RAM sizes. - emulated the missing functions fmemopen and open_memstream in stream.c - lzma/C/Types.h defines Byte, just like zlib. Kludged and rearranged includes to avoid duplicate definition. - made Makefile.in obey LDFLAGS given in configure - disabled the asm code using the --disable-asm configure option, since the 64-bit code has been marked as broken, and didn't quickly find a way to link the 32-bit asm code with 64-bit C object code. -- Ticket URL: <http://trac.macports.org/ticket/23030#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23030: New port: lrzip -----------------------------+---------------------------------------------- Reporter: jlaurila@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: lrzip -----------------------------+---------------------------------------------- Comment(by jlaurila@…): (Resubmitting this comment to fix formatting) Tested only on 10.6.2 for now. I'm submitting the patches upstream as well, hopefully the next upstream version will require less work. Changes: * made get_ram() in main.c use the HW_MEMSIZE sysctl instead of HW_PHYSMEM to support large RAM sizes. * emulated the missing functions fmemopen and open_memstream in stream.c * lzma/C/Types.h defines Byte, just like zlib. Kludged and rearranged includes to avoid duplicate definition. * made Makefile.in obey LDFLAGS given in configure * disabled the asm code using the --disable-asm configure option, since the 64-bit code has been marked as broken, and didn't quickly find a way to link the 32-bit asm code with 64-bit C object code. -- Ticket URL: <http://trac.macports.org/ticket/23030#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23030: New port: lrzip -----------------------------+---------------------------------------------- Reporter: jlaurila@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: lrzip -----------------------------+---------------------------------------------- Comment(by jlaurila@…): Added an updated version of patch-main.c that fixes a bug that would've prevented the port from working on machines with over 4 GB of RAM. -- Ticket URL: <http://trac.macports.org/ticket/23030#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23030: New port: lrzip -----------------------------+---------------------------------------------- Reporter: jlaurila@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: lrzip -----------------------------+---------------------------------------------- Comment(by jlaurila@…): The upstream author was quick and just released 0.43 with my patches included, and thus the attached updated Portfile no longer needs the patches. -- Ticket URL: <http://trac.macports.org/ticket/23030#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23030: New port: lrzip -----------------------------+---------------------------------------------- Reporter: jlaurila@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: lrzip -----------------------------+---------------------------------------------- Comment(by jlaurila@…): Three weeks, no activity. Anyone willing to commit this some time in the near future? -- Ticket URL: <http://trac.macports.org/ticket/23030#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23030: New port: lrzip ------------------------------+--------------------------------------------- Reporter: jlaurila@… | Owner: macports-tickets@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: fixed | Keywords: Port: lrzip | ------------------------------+--------------------------------------------- Changes (by blb@…): * status: new => closed * resolution: => fixed Comment: Added in r62794, thanks; made a couple of changes: - removed LDFLAGS setting since that's already done - replaced /opt/local with ${prefix} in CFLAGS -- Ticket URL: <http://trac.macports.org/ticket/23030#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts