Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Mar 2026 20:50:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        desktop@FreeBSD.org
Subject:   [Bug 294061] graphics/png: update to 1.6.56
Message-ID:  <bug-294061-39348-mFxwyhsoJU@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-294061-39348@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294061

--- Comment #2 from Fabian Wenk <fabian@wenks.ch> ---
(In reply to Daniel Engberg from comment #1)

As I understand this two lines in the Makefile, both should be the same
version, else further adjustments in the Makefile would be needed with static
version of the apng.patch:

MASTER_SITES=   SF/lib${PORTNAME}/lib${PORTNAME}16/${DISTVERSION}/
PATCH_SITES=    SF/lib${PORTNAME}-apng/lib${PORTNAME}16/${DISTVERSION}/

When I try with the distinfo as in the patch (.55), I get this errors:

riddler:/usr/ports/graphics/png/ # make      
===>  License Libpng accepted by the user
===>   png-1.6.56 depends on file: /usr/local/sbin/pkg - found
=> libpng-1.6.56.tar.xz doesn't seem to exist in /usr/ports/distfiles.
=> Attempting to fetch
https://downloads.sourceforge.net/project/libpng/libpng16/1.6.56/libpng-1.6.56.tar.xz
libpng-1.6.56.tar.xz                                  1042 kB 1221 kBps    01s
=> libpng-1.6.56-apng.patch.gz is not in /usr/ports/graphics/png/distinfo.
=> Either /usr/ports/graphics/png/distinfo is out of date, or
=> libpng-1.6.56-apng.patch.gz is spelled incorrectly.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/graphics/png
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/png
riddler:/usr/ports/graphics/png/ # 

When I only change the version number for apng.patch in distinfo, I get 'Not
Found' for multiple location of SF d/l sites:
riddler:/usr/ports/graphics/png/ # make fetch
===>  License Libpng accepted by the user
===>   png-1.6.56 depends on file: /usr/local/sbin/pkg - found
=> libpng-1.6.56-apng.patch.gz doesn't seem to exist in /usr/ports/distfiles.
=> Attempting to fetch
https://downloads.sourceforge.net/project/libpng-apng/libpng16/1.6.56/libpng-1.6.56-apng.patch.gz
fetch:
https://downloads.sourceforge.net/project/libpng-apng/libpng16/1.6.56/libpng-1.6.56-apng.patch.gz:
Not Found
=> Attempting to fetch
https://cfhcable.dl.sourceforge.net/project/libpng-apng/libpng16/1.6.56/libpng-1.6.56-apng.patch.gz
fetch:
https://cfhcable.dl.sourceforge.net/project/libpng-apng/libpng16/1.6.56/libpng-1.6.56-apng.patch.gz:
Not Found
=> Attempting to fetch
https://cytranet.dl.sourceforge.net/project/libpng-apng/libpng16/1.6.56/libpng-1.6.56-apng.patch.gz
^Cfetch: transfer interrupted
*** Signal 2

riddler:/usr/ports/graphics/png/ # 

When I change to a static version for apng in Makefile on this lines:
PATCH_SITES=    SF/lib${PORTNAME}-apng/lib${PORTNAME}16/1.6.55/
[...]
# Keep this because you normally need to keep patch version in sync with
release
PATCHFILES=     lib${PORTNAME}-1.6.55-apng.patch.gz:-p1

Then I get this:
riddler:/usr/ports/graphics/png/ # make patch          
===>  License Libpng accepted by the user
===>   png-1.6.56 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by png-1.6.56 for building
===>  Extracting for png-1.6.56
=> SHA256 Checksum OK for libpng-1.6.56.tar.xz.
=> SHA256 Checksum OK for libpng-1.6.55-apng.patch.gz.
===>  Patching for png-1.6.56
===>  Applying distribution patches for png-1.6.56
No such line 2792 in input file, ignoring
riddler:/usr/ports/graphics/png/ # 

It is no clear to what this 'No such line 2792 in input file' is referring to.

The build itself does work, but I have no idea if this is a good idea to use
it. But it is probably better if someone with enough knowledge about this port
is looking into it.

I tried on FreeBSD 13.5-RELEASE-p10 amd64.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-294061-39348-mFxwyhsoJU>