public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* [ITP] pigz 2.8
@ 2024-01-24 16:07 pigz-cygwin-maintainer-0100
  2024-01-25 15:13 ` Jon Turney
  0 siblings, 1 reply; 12+ messages in thread
From: pigz-cygwin-maintainer-0100 @ 2024-01-24 16:07 UTC (permalink / raw)
  To: cygwin-apps

[-- Attachment #1: Type: text/plain, Size: 465 bytes --]

Hi! I'd like to propose a new package: pigz, multithreaded gzip archiver.

Some notes regarding it:

- It's already present in most distros (Debian, Ubuntu, ...)
- zlib License
- No changes to sources are required. It's built fine on cygwin as-is.

Links:

- Original: https://zlib.net/pigz/
- cygport​ file + built package: https://file.io/KPRA9oa0BOj7

Let me know please what should I do next to proceed forward with publishing the package.

King regards,
Ihor

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

* Re: [ITP] pigz 2.8
  2024-01-24 16:07 [ITP] pigz 2.8 pigz-cygwin-maintainer-0100
@ 2024-01-25 15:13 ` Jon Turney
  2024-01-25 18:52   ` pigz-cygwin-maintainer-0100
  0 siblings, 1 reply; 12+ messages in thread
From: Jon Turney @ 2024-01-25 15:13 UTC (permalink / raw)
  To: pigz-cygwin-maintainer-0100; +Cc: cygwin-apps

On 24/01/2024 16:07, Ihor via Cygwin-apps wrote:
> Hi! I'd like to propose a new package: pigz, multithreaded gzip archiver.
> 
> Some notes regarding it:
> 
> - It's already present in most distros (Debian, Ubuntu, ...)
> - zlib License
> - No changes to sources are required. It's built fine on cygwin as-is.

Thanks for looking into this!

> 
> Links:
> 
> - Original: https://zlib.net/pigz/
> - cygport​ file + built package: https://file.io/KPRA9oa0BOj7

Unfortunately, that link says it's deleted.

If you can just add the cygport file as an attachment to a mail here, 
that would be great.

> Let me know please what should I do next to proceed forward with publishing the package.

You can also submit an ssh key, as per [1]

[1] https://cygwin.com/packaging/key.html



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

* Re: [ITP] pigz 2.8
  2024-01-25 15:13 ` Jon Turney
@ 2024-01-25 18:52   ` pigz-cygwin-maintainer-0100
  2024-01-25 22:37     ` Marco Atzeri
  0 siblings, 1 reply; 12+ messages in thread
From: pigz-cygwin-maintainer-0100 @ 2024-01-25 18:52 UTC (permalink / raw)
  To: Jon Turney; +Cc: cygwin-apps

[-- Attachment #1: Type: text/plain, Size: 1114 bytes --]

Hi Jon! Thank you for the reply!

I see... Okay, I'm attaching the file here and going to send additional Email with an public SSH key.

Best regards,
Ihor

On Thursday, January 25th, 2024 at 5:13 PM, Jon Turney <jon.turney@dronecode.org.uk> wrote:

>
>
> On 24/01/2024 16:07, Ihor via Cygwin-apps wrote:
>
> > Hi! I'd like to propose a new package: pigz, multithreaded gzip archiver.
> >
> > Some notes regarding it:
> >
> > - It's already present in most distros (Debian, Ubuntu, ...)
> > - zlib License
> > - No changes to sources are required. It's built fine on cygwin as-is.
>
>
> Thanks for looking into this!
>
> > Links:
> >
> > - Original: https://zlib.net/pigz/
> > - cygport file + built package: https://file.io/KPRA9oa0BOj7
>
>
> Unfortunately, that link says it's deleted.
>
> If you can just add the cygport file as an attachment to a mail here,
> that would be great.
>
> > Let me know please what should I do next to proceed forward with publishing the package.
>
>
> You can also submit an ssh key, as per [1]
>
> [1] https://cygwin.com/packaging/key.html

[-- Attachment #2: pigz.cygport --]
[-- Type: application/octet-stream, Size: 641 bytes --]

NAME="pigz"
VERSION=2.8
RELEASE=1

CATEGORY="Archive"
SUMMARY="Parallel Implementation of GZip"
DESCRIPTION="pigz, which stands for Parallel Implementation
of GZip, is a fully functional replacement for gzip that
takes advantage of multiple processors and multiple cores
when compressing data."
HOMEPAGE="https://zlib.net/pigz/"
LICENSE="zlib License"
REQUIRES="zlib"

SRC_URI="https://zlib.net/pigz/${NAME}-${VERSION}.tar.gz"
BUILD_DEPENDS="make gcc-g++ zlib-devel ncompress gzip"

src_compile() {
    cygmake
}

src_test() {
    cygmake test
}

src_install() {
    exeinto /bin

    doexe pigz.exe
    doexe unpigz.exe

    doman pigz.1
}

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

* Re: [ITP] pigz 2.8
  2024-01-25 18:52   ` pigz-cygwin-maintainer-0100
@ 2024-01-25 22:37     ` Marco Atzeri
  2024-01-26  7:00       ` ASSI
                         ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Marco Atzeri @ 2024-01-25 22:37 UTC (permalink / raw)
  To: cygwin-apps

[-- Attachment #1: Type: text/plain, Size: 455 bytes --]

On 25/01/2024 19:52, Ihor via Cygwin-apps wrote:
> Hi Jon! Thank you for the reply!
> 
> I see... Okay, I'm attaching the file here and going to send additional Email with an public SSH key.
> 
> Best regards,
> Ihor
> 

Hi Ihor,

bottom post on the cygwin mail lists

I adjusted the file to build also the debugging portion
and to NOT build in the source tree.

Also adjusted the REQUIRES (not DEPENDS) for the build.

please double check
Regards
Marco


[-- Attachment #2: pigz.cygport --]
[-- Type: text/plain, Size: 702 bytes --]

NAME="pigz"
VERSION=2.8
RELEASE=1

CATEGORY="Archive"
SUMMARY="Parallel Implementation of GZip"
DESCRIPTION="pigz, which stands for Parallel Implementation
of GZip, is a fully functional replacement for gzip that
takes advantage of multiple processors and multiple cores
when compressing data."
HOMEPAGE="https://zlib.net/pigz/"
LICENSE="zlib"
# REQUIRES="zlib"

SRC_URI="https://zlib.net/pigz/${NAME}-${VERSION}.tar.gz"
BUILD_REQUIRES="zlib-devel ncompress gzip"

src_compile() {
	cd ${S}
	lndirs
	cd ${B}
	echo ${CFLAGS}
    cygmake CFLAGS="${CFLAGS}"
}

src_test() {
	cd ${B}
    cygmake test
}

src_install() {
	cd ${B}
    exeinto /bin

    doexe pigz.exe
    doexe unpigz.exe

    doman pigz.1
}

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

* Re: [ITP] pigz 2.8
  2024-01-25 22:37     ` Marco Atzeri
@ 2024-01-26  7:00       ` ASSI
       [not found]       ` <65b358c0.050a0220.5ea4e.e0daSMTPIN_ADDED_BROKEN@mx.google.com>
  2024-01-26 21:02       ` pigz-cygwin-maintainer-0100
  2 siblings, 0 replies; 12+ messages in thread
From: ASSI @ 2024-01-26  7:00 UTC (permalink / raw)
  To: cygwin-apps

Marco Atzeri via Cygwin-apps writes:
> BUILD_REQUIRES="zlib-devel ncompress gzip"

Why is ncompress a build dependency?  Please remove if possible.


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

SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

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

* Re: [ITP] pigz 2.8
       [not found]       ` <65b358c0.050a0220.5ea4e.e0daSMTPIN_ADDED_BROKEN@mx.google.com>
@ 2024-01-26  8:12         ` Marco Atzeri
  0 siblings, 0 replies; 12+ messages in thread
From: Marco Atzeri @ 2024-01-26  8:12 UTC (permalink / raw)
  To: cygwin-apps

On 26/01/2024 08:00, ASSI via Cygwin-apps wrote:
> Marco Atzeri via Cygwin-apps writes:
>> BUILD_REQUIRES="zlib-devel ncompress gzip"
> 
> Why is ncompress a build dependency?  Please remove if possible.
> 
> 
> Regards,
> Achim.

it is used in the testing



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

* Re: [ITP] pigz 2.8
  2024-01-25 22:37     ` Marco Atzeri
  2024-01-26  7:00       ` ASSI
       [not found]       ` <65b358c0.050a0220.5ea4e.e0daSMTPIN_ADDED_BROKEN@mx.google.com>
@ 2024-01-26 21:02       ` pigz-cygwin-maintainer-0100
  2024-01-27  9:18         ` Marco Atzeri
  2024-01-27 14:50         ` Jon Turney
  2 siblings, 2 replies; 12+ messages in thread
From: pigz-cygwin-maintainer-0100 @ 2024-01-26 21:02 UTC (permalink / raw)
  To: Marco Atzeri; +Cc: cygwin-apps

[-- Attachment #1: Type: text/plain, Size: 952 bytes --]

Hi Marco, Achim,

Thank you for your time, the suggestions and fixes.

Yes, looks like everything works fine with your changes.
Also, as I understand, line `# REQUIRES="zlib"` can be removed?

I'm attaching here latest pigz.cygport with your fixes and without  `# REQUIRES="zlib"` line.

Best regards,
Ihor

On Friday, January 26th, 2024 at 12:37 AM, Marco Atzeri via Cygwin-apps <cygwin-apps@cygwin.com> wrote:

> 
> 
> On 25/01/2024 19:52, Ihor via Cygwin-apps wrote:
> 
> > Hi Jon! Thank you for the reply!
> > 
> > I see... Okay, I'm attaching the file here and going to send additional Email with an public SSH key.
> > 
> > Best regards,
> > Ihor
> 
> 
> Hi Ihor,
> 
> bottom post on the cygwin mail lists
> 
> I adjusted the file to build also the debugging portion
> and to NOT build in the source tree.
> 
> Also adjusted the REQUIRES (not DEPENDS) for the build.
> 
> please double check
> Regards
> Marco

[-- Attachment #2: pigz.cygport --]
[-- Type: application/octet-stream, Size: 702 bytes --]

NAME="pigz"
VERSION=2.8
RELEASE=1

CATEGORY="Archive"
SUMMARY="Parallel Implementation of GZip"
DESCRIPTION="pigz, which stands for Parallel Implementation
of GZip, is a fully functional replacement for gzip that
takes advantage of multiple processors and multiple cores
when compressing data."
HOMEPAGE="https://zlib.net/pigz/"
LICENSE="zlib"

SRC_URI="https://zlib.net/pigz/${NAME}-${VERSION}.tar.gz"
BUILD_REQUIRES="zlib-devel ncompress gzip"

src_compile() {
    cd ${S}
    lndirs
    cd ${B}
    echo ${CFLAGS}
    cygmake CFLAGS="${CFLAGS}"
}

src_test() {
    cd ${B}
    cygmake test
}

src_install() {
    cd ${B}
    exeinto /bin

    doexe pigz.exe
    doexe unpigz.exe

    doman pigz.1
}

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

* Re: [ITP] pigz 2.8
  2024-01-26 21:02       ` pigz-cygwin-maintainer-0100
@ 2024-01-27  9:18         ` Marco Atzeri
  2024-01-27 14:50         ` Jon Turney
  1 sibling, 0 replies; 12+ messages in thread
From: Marco Atzeri @ 2024-01-27  9:18 UTC (permalink / raw)
  To: cygwin-apps; +Cc: pigz-cygwin-maintainer-0100

On 26/01/2024 22:02, pigz-cygwin-maintainer-0100@pm.me wrote:
> Hi Marco, Achim,
> 
> Thank you for your time, the suggestions and fixes.
> 
> Yes, looks like everything works fine with your changes.
> Also, as I understand, line `# REQUIRES="zlib"` can be removed?

you need to use REQUIRES is cygport "fails" to detect an application 
requirement

$ cygport pigz.cygport deps | cat
cygwin-3.4.10-1
zlib0-1.3-1

so cygport detects a library dependency to "/usr/bin/cygz.dll"
not to package zlib, as zlib is the source package or
as binary contains only the library manual

$ cygcheck -l zlib
/usr/share/doc/zlib/ChangeLog
/usr/share/doc/zlib/FAQ
/usr/share/doc/zlib/LICENSE
/usr/share/doc/zlib/README
/usr/share/man/man3/zlib.3.gz


> I'm attaching here latest pigz.cygport with your fixes and without  `# REQUIRES="zlib"` line.
> 
> Best regards,
> Ihor
> 

Regards
Marco



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

* Re: [ITP] pigz 2.8
  2024-01-26 21:02       ` pigz-cygwin-maintainer-0100
  2024-01-27  9:18         ` Marco Atzeri
@ 2024-01-27 14:50         ` Jon Turney
  2024-01-28  0:04           ` Ihor
  1 sibling, 1 reply; 12+ messages in thread
From: Jon Turney @ 2024-01-27 14:50 UTC (permalink / raw)
  To: pigz-cygwin-maintainer-0100; +Cc: cygwin-apps

On 26/01/2024 21:02, Ihor via Cygwin-apps wrote:
> Hi Marco, Achim,
> 
> Thank you for your time, the suggestions and fixes.
> 
> Yes, looks like everything works fine with your changes.
> Also, as I understand, line `# REQUIRES="zlib"` can be removed?

As Marco points out, this was never correct or needed, as the dependency 
is on the zlib0 package, which is automatically detected.

> I'm attaching here latest pigz.cygport with your fixes and without  `# REQUIRES="zlib"` line.

This looks good. I added this to your authorized packages.


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

* Re: [ITP] pigz 2.8
  2024-01-27 14:50         ` Jon Turney
@ 2024-01-28  0:04           ` Ihor
  2024-01-28 14:34             ` Jon Turney
  0 siblings, 1 reply; 12+ messages in thread
From: Ihor @ 2024-01-28  0:04 UTC (permalink / raw)
  To: Marco Atzeri, Jon Turney; +Cc: cygwin-apps

Hi Marco, Jon!

I just was wondering should I change smth or no :) Thank you for your explanation and clarification!

So, I'm proceeding with package publishing according to https://www.cygwin.com/packaging-contributors-guide.html#acceptance

Best regards,
Ihor

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

* Re: [ITP] pigz 2.8
  2024-01-28  0:04           ` Ihor
@ 2024-01-28 14:34             ` Jon Turney
  0 siblings, 0 replies; 12+ messages in thread
From: Jon Turney @ 2024-01-28 14:34 UTC (permalink / raw)
  To: pigz-cygwin-maintainer-0100; +Cc: cygwin-apps

On 28/01/2024 00:04, Ihor via Cygwin-apps wrote:
> Hi Marco, Jon!
> 
> I just was wondering should I change smth or no :) Thank you for your explanation and clarification!

No changes are required. It's good to go.

> 
> So, I'm proceeding with package publishing according to https://www.cygwin.com/packaging-contributors-guide.html#acceptance


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

* [ITP] pigz 2.8
@ 2023-11-10  1:20 pigz-cygwin-maintainer-0100
  0 siblings, 0 replies; 12+ messages in thread
From: pigz-cygwin-maintainer-0100 @ 2023-11-10  1:20 UTC (permalink / raw)
  To: cygwin-apps


[-- Attachment #1.1: Type: text/plain, Size: 396 bytes --]

Hi!
- This package (but maybe another version) already exists mostly everywhere (Debian, Ubuntu, ...)
- License of pigz: "Zlib license"

Not sure whether should I attach cygport file here or not, but just in case I'm adding it + built package. Also built package can be downloaded by the link: https://file.io/TwMmD6H5XgdF .

I hope pigz finally will get to cygwin users soon)

Best regards,
Ihor

[-- Attachment #2: pigz.cygport --]
[-- Type: application/octet-stream, Size: 641 bytes --]

NAME="pigz"
VERSION=2.8
RELEASE=1

CATEGORY="Archive"
SUMMARY="Parallel Implementation of GZip"
DESCRIPTION="pigz, which stands for Parallel Implementation
of GZip, is a fully functional replacement for gzip that
takes advantage of multiple processors and multiple cores
when compressing data."
HOMEPAGE="https://zlib.net/pigz/"
LICENSE="zlib License"
REQUIRES="zlib"

SRC_URI="https://zlib.net/pigz/${NAME}-${VERSION}.tar.gz"
BUILD_DEPENDS="make gcc-g++ zlib-devel ncompress gzip"

src_compile() {
    cygmake
}

src_test() {
    cygmake test
}

src_install() {
    exeinto /bin

    doexe pigz.exe
    doexe unpigz.exe

    doman pigz.1
}

[-- Attachment #3: pigz-2.8.tar.gz --]
[-- Type: application/x-gzip, Size: 121304 bytes --]

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

end of thread, other threads:[~2024-01-28 14:34 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-24 16:07 [ITP] pigz 2.8 pigz-cygwin-maintainer-0100
2024-01-25 15:13 ` Jon Turney
2024-01-25 18:52   ` pigz-cygwin-maintainer-0100
2024-01-25 22:37     ` Marco Atzeri
2024-01-26  7:00       ` ASSI
     [not found]       ` <65b358c0.050a0220.5ea4e.e0daSMTPIN_ADDED_BROKEN@mx.google.com>
2024-01-26  8:12         ` Marco Atzeri
2024-01-26 21:02       ` pigz-cygwin-maintainer-0100
2024-01-27  9:18         ` Marco Atzeri
2024-01-27 14:50         ` Jon Turney
2024-01-28  0:04           ` Ihor
2024-01-28 14:34             ` Jon Turney
  -- strict thread matches above, loose matches on Subject: below --
2023-11-10  1:20 pigz-cygwin-maintainer-0100

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).