Re: Gutenprint 5.3.5-pre1 Release

Greg Troxel <[email protected]> Tue, 09 Jul 2024 19:49:34 -0400
Newsgroups gmane.linux.printing.gimp-print.devel
Message-ID <[email protected]>
Solomon Peachy via Gimp-print-devel
<[email protected]> writes:

> Gutenprint 5.3.5-pre1 is a prerelease of Gutenprint 5.3.5.  

I maintain the entry for gutenprint in pkgsrc, but have been less active
lately.  pkgsrc is at 5.3.3, because my attempt to update to 5.3.4 was
not successful, but I did not get to the point of a bug report tht would
be worth your time.

> It may be downloaded from our web site, 
> https://gutenprint.sourceforge.net. The direct download is 
> https://sourceforge.net/projects/gimp-print/files/gutenprint-5.3/5.3.5-pre1/gutenprint-5.3.5-pre1.tar.xz/download

This is a very awkward URL for us.   pkgsrc expects packages to have the
following which are concatenated, with the 5.3.3 values shown and their expansion

  MASTER_SITES		${MASTER_SITE_SOURCEFORGE:=gimp-print/}
                        https://downloads.sourceforge.net/sourceforge/gimp-print/

  DISTNAME		gutenprint-5.3.3

  EXTRACT_SUFx          .tar.xz

I edited DISTNAME to be gutenprint-5.3.5pre1 and the requested file was

  https://downloads.sourceforge.net/sourceforge/gimp-print/gutenprint-5.3.5.pre.tar.xz

which isn't what you sent ;-)   With my browser I found clicking from
files exactly what you sent.

  https://sourceforge.net/projects/gimp-print/files/gutenprint-5.3/5.3.5-pre1/gutenprint-5.3.5-pre1.tar.xz/download

This really seems buggy of sourceforge, and seems to be hostile to
packaging.  I am guessing this is just how it is, and there's not much
to be done, other than skipping github and moving to codeberg :-)

> This pre-release is the first non-snapshot build in several years, and 
> primarily acts a roundup of the various additions and fixes that have 
> accumulated since the 5.3.4 release.  Additionally, this prerelease is 
> intended to help familiarize the current Gutenprint maintainer with the 
> release flow.

Thanks for doing this.  I don't mean to sound super grumpy and am hoping
my comments are helfpul.  I'll work around this, and it may be easier to
host a distfile copy on ftp.netbsd.org than to teach pkgsrc to put the
EXTRACT_SUFX not at the end.

I am curious if other packagers also find this troublesome.  They might
well not; this is just a collision between pkgsrc assuming
near-universal practice and sourceforge being odd.

>   0) Support for running on MacOS has been deprecated. Unless someone
>      steps up to maintain the MacOS port, there will be no MacOS
>      builds for this (or any future) Gutenprint release.

I'm hoping that a posix-type build on macos is ok, but if not we can
mark the pkgsrc package BROKEN.