public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* [PATCH] cygport: allow for different package compression types and implement ZStandard decompression
@ 2020-06-14 11:01 Achim Gratz
  2020-11-22 19:14 ` Achim Gratz
  0 siblings, 1 reply; 2+ messages in thread
From: Achim Gratz @ 2020-06-14 11:01 UTC (permalink / raw)
  To: cygwin-apps


Now that setup and calm know about Zstandard compression it's about time
we teach cygport the same.

https://repo.or.cz/cygport/rpm-style.git/commitdiff/303045744ba6159c6063786cf5b173d760f6298d

This patch keeps the current defaults in place, but allows one to set up
two environment variables to control how tar gets invoked during
packaging.  You could do that from either the cygport file or the
.cygport.conf file:

CYGPORT_TAR_CMD="env ZSTD_CLEVEL=19 tar -I zstd --group nobody:65534 --owner nobody:65534"
CYGPORT_TAR_EXT=".tar.zst"

While our packaged tar does not yet know about zst files the compressor
has top be named explicitly, eventually Eric will get around and release
a new version hopefully and then this can get automatic.  As
demonstrated above the facility can be used to do other useful things
besides changing the compression type and extension.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] cygport: allow for different package compression types and implement ZStandard decompression
  2020-06-14 11:01 [PATCH] cygport: allow for different package compression types and implement ZStandard decompression Achim Gratz
@ 2020-11-22 19:14 ` Achim Gratz
  0 siblings, 0 replies; 2+ messages in thread
From: Achim Gratz @ 2020-11-22 19:14 UTC (permalink / raw)
  To: cygwin-apps

Achim Gratz writes:
> Now that setup and calm know about Zstandard compression it's about time
> we teach cygport the same.
[…]
> While our packaged tar does not yet know about zst files the compressor
> has to be named explicitly, eventually Eric will get around and release
> a new version hopefully and then this can get automatic.  As
> demonstrated above the facility can be used to do other useful things
> besides changing the compression type and extension.

Since tar has been updated by me in the interim, this patch is no longer
needed just to make use of .tar.zst source archives (I've confirmed that
by building a package with souch a source archive on the CI).


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-22 19:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-14 11:01 [PATCH] cygport: allow for different package compression types and implement ZStandard decompression Achim Gratz
2020-11-22 19:14 ` Achim Gratz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).