Bug 266599 - graphics/png: Update to 1.6.38
Summary: graphics/png: Update to 1.6.38
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-desktop (Team)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-25 13:29 UTC by Daniel Engberg
Modified: 2022-10-16 21:24 UTC (History)
4 users (show)

See Also:
arrowd: maintainer-feedback+
antoine: exp-run+


Attachments
Patch for png (3.77 KB, patch)
2022-09-25 13:29 UTC, Daniel Engberg
no flags Details | Diff
Patch for png v2 (3.76 KB, patch)
2022-10-02 19:17 UTC, Daniel Engberg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg freebsd_committer freebsd_triage 2022-09-25 13:29:54 UTC
Created attachment 236807 [details]
Patch for png

- Switch to CMake
- Switch apng repo to https://sourceforge.net/projects/libpng-apng/ (same as Gentoo uses)

Compile and runtime tested on FreeBSD 13.1-STABLE (amd64) (make, make check-plist, make test)
Compile and runtime tested on FreeBSD FreeBSD 13.1-RELEASE-p1 (arm64) (make, make check-plist, make test)

Poudriere testport OK 12.3-RELEASE (amd64)
Poudriere testport OK 13.1-RELEASE (i386)

Changelog: https://github.com/glennrp/libpng/blob/v1.6.38/CHANGES

Reference:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=437a2672807d5af06d7c6185db20e3f318570f65
Comment 1 Daniel Engberg freebsd_committer freebsd_triage 2022-09-26 08:03:17 UTC
I'd suggest that we do an exp-run to avoid unnecessary breakage.
Comment 2 Tobias C. Berner freebsd_committer freebsd_triage 2022-09-26 11:56:39 UTC
(In reply to Daniel Engberg from comment #1)
yes, exp-run is required
Comment 3 Daniel Engberg freebsd_committer freebsd_triage 2022-09-30 08:00:41 UTC
Is there anything else I need to do before we can request exp-run?
Comment 4 Tobias C. Berner freebsd_committer freebsd_triage 2022-09-30 08:04:54 UTC
(In reply to Daniel Engberg from comment #3)
no, just request it ^^  sorry if I was not clear about that.
Comment 5 Daniel Engberg freebsd_committer freebsd_triage 2022-09-30 08:09:11 UTC
Hi,

I'd like to request an exp-run on behalf of desktop@

Best regards,
Daniel
Comment 6 Antoine Brodin freebsd_committer freebsd_triage 2022-10-01 08:52:39 UTC
You removed:
-USE_CSTD=	gnu89
Did you verify that it builds with llvm15?

You added TEST as an option,  this doesn't make sense  (the content of the package doesn't change), please remove TEST option and use CMAKE_ON=PNG_TESTS so that everybody can run regression tests after build

Did you verify that it builds on armv7?
Comment 7 Daniel Engberg freebsd_committer freebsd_triage 2022-10-02 19:17:05 UTC
Created attachment 237023 [details]
Patch for png v2

Use USES= cmake:testing instead of menu option to toggle building of unit tests
Comment 8 Daniel Engberg freebsd_committer freebsd_triage 2022-10-02 19:18:01 UTC
Builds with llvm15 (amd64)
Unfortunately I don't have any way of testing armv7
Comment 10 commit-hook freebsd_committer freebsd_triage 2022-10-10 22:59:05 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ffdc2e6bbe93c03233e5f5afeb377f0e89e748cd

commit ffdc2e6bbe93c03233e5f5afeb377f0e89e748cd
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-10-10 22:40:21 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2022-10-10 22:43:55 +0000

    graphics/azpainter: Prepare for png 1.6.38

    Adjust LIBS to include -lz

    PR:             266599
    Approved by:    portmgr (blanket)

 graphics/azpainter/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 11 commit-hook freebsd_committer freebsd_triage 2022-10-10 22:59:07 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=612bfd09df8bb66716f770d773550145db88a9e5

commit 612bfd09df8bb66716f770d773550145db88a9e5
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-10-10 22:42:56 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2022-10-10 22:43:56 +0000

    graphics/azpainterb: Prepare for png 1.6.38

    Adjust LIBS to include -lz

    PR:             266599
    Approved by:    portmgr (blanket)

 graphics/azpainterb/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 12 commit-hook freebsd_committer freebsd_triage 2022-10-10 22:59:08 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=729e40da692665dc93e84f6010bd3a34bc6cf807

commit 729e40da692665dc93e84f6010bd3a34bc6cf807
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-10-10 22:29:51 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2022-10-10 22:43:55 +0000

    emulators/dosbox-staging: Prepare for png 1.6.38

    Adjust LDFLAGS to include -lz

    PR:             266599
    Approved by:    portmgr (blanket)

 emulators/dosbox-staging/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 13 Daniel Engberg freebsd_committer freebsd_triage 2022-10-15 21:50:22 UTC
Friendly ping
Comment 14 Antoine Brodin freebsd_committer freebsd_triage 2022-10-16 07:29:28 UTC
Exp-run looks fine
Comment 15 Gleb Popov freebsd_committer freebsd_triage 2022-10-16 11:29:52 UTC
The patch looks good.
Comment 16 commit-hook freebsd_committer freebsd_triage 2022-10-16 21:23:58 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9f4f89ec947067351dee8e6887d268e92ec0f317

commit 9f4f89ec947067351dee8e6887d268e92ec0f317
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-10-16 19:42:23 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2022-10-16 21:21:17 +0000

    graphics/png: Update to 1.6.38

    - Switch to CMake
    - Switch apng repo to https://sourceforge.net/projects/libpng-apng

    Changelog: https://github.com/glennrp/libpng/blob/v1.6.38/CHANGES

    PR:             266599
    Approved by:    desktop (arrowd)
    Exp-run by:     antoine

 graphics/png/Makefile                     | 27 ++++++++++++---------------
 graphics/png/distinfo                     | 10 +++++-----
 graphics/png/files/patch-configure (gone) | 11 -----------
 graphics/png/pkg-plist                    | 10 ++++++----
 4 files changed, 23 insertions(+), 35 deletions(-)