Bug 251442 - multimedia/libde265: update to 1.0.8
Summary: multimedia/libde265: update to 1.0.8
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Daniel Engberg
URL: https://github.com/strukturag/libde26...
Keywords: patch
Depends on:
Blocks: 261842
  Show dependency treegraph
 
Reported: 2020-11-29 02:23 UTC by Charlie Li
Modified: 2022-02-26 12:20 UTC (History)
2 users (show)

See Also:
tcberner: maintainer-feedback-


Attachments
1.0.8 (9.13 KB, patch)
2020-11-29 02:23 UTC, Charlie Li
no flags Details | Diff
Patch for libde265 (21.47 KB, patch)
2022-02-08 00:20 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 Charlie Li freebsd_committer freebsd_triage 2020-11-29 02:23:17 UTC
Created attachment 220052 [details]
1.0.8

This updates to 1.0.8. Removed all of our patches as they are now completely unnecessary.

Passes testport on -CURRENT amd64 and 12.2-RELEASE armv7.
Comment 1 Daniel Engberg freebsd_committer freebsd_triage 2022-02-08 00:20:12 UTC
Created attachment 231625 [details]
Patch for libde265

- Use upstream release archive as recommended by Porters Handbook (see USE_GITHUB section)
- Backport upstream commits 900772c3e9ee1e106b93283fd8e7633d52899e40, 7d5aeb5f11531de33f5b7ae0e768ffc50da4facb , dbff9077462899fc8e3b39907d43c2a6ad54e9f3 , 
a3f1c6a0dea2b0d4a531255ad06ed40cdb184d25 and 4c0fe2c149c68ece57fde4cb11e05b5fb572da4b for various bug fixes
- Package dec265 utility, also rename it as libde265-dec265 to match Debian's repository
- Import patches from Debian to only expose public API and disable tools that don't build without internal API exposed.

References: 

https://github.com/strukturag/libde265/commit/900772c3e9ee1e106b93283fd8e7633d52899e40
https://github.com/strukturag/libde265/commit/7d5aeb5f11531de33f5b7ae0e768ffc50da4facb
https://github.com/strukturag/libde265/commit/dbff9077462899fc8e3b39907d43c2a6ad54e9f3
https://github.com/strukturag/libde265/commit/a3f1c6a0dea2b0d4a531255ad06ed40cdb184d25
https://github.com/strukturag/libde265/commit/4c0fe2c149c68ece57fde4cb11e05b5fb572da4b

https://salsa.debian.org/multimedia-team/libde265/-/blob/master/debian/patches/only_export_decoder_api.patch
https://salsa.debian.org/multimedia-team/libde265/-/blob/master/debian/patches/disable_tools.patch
Comment 2 Daniel Engberg freebsd_committer freebsd_triage 2022-02-08 00:22:52 UTC
Compile tested on FreeBSD 13.0-STABLE #2 stable/13-n248607-93a95ebbf7c (amd64) (make, make check-plist)
Poudriere testport OK 12.2-RELEASE (amd64)
Poudriere testport OK 13.0-RELEASE (i386)

Tested dependencies: graphics/libheif (1.12.0-62, upcoming patch) and multimedia/gstreamer1-plugins-libde265
Comment 3 Tobias C. Berner freebsd_committer freebsd_triage 2022-02-08 19:56:54 UTC
Set maintainer timeout.
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-02-26 12:19:58 UTC
A commit in branch main references this bug:

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

commit c9445b18bf3c2f34443f793a0113de29f655ab6f
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-02-26 11:40:50 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2022-02-26 12:18:28 +0000

    multimedia/libde265: Update to 1.0.8

    - Use upstream release archive as recommended by Porters Handbook
      (see USE_GITHUB section)
    - Backport upstream commits 900772c3e9ee1e106b93283fd8e7633d52899e40 ,
      7d5aeb5f11531de33f5b7ae0e768ffc50da4facb ,
      dbff9077462899fc8e3b39907d43c2a6ad54e9f3 ,
      a3f1c6a0dea2b0d4a531255ad06ed40cdb184d25 and
      4c0fe2c149c68ece57fde4cb11e05b5fb572da4b for various bug fixes
    - Package dec265 utility, also rename it as libde265-dec265 to match
      Debian's repository
    - Import patches from Debian to only expose public API and disable
      tools that don't build without internal API exposed.

    References:

    https://github.com/strukturag/libde265/commit/900772c3e9ee1e106b93283fd8e7633d52899e40
    https://github.com/strukturag/libde265/commit/7d5aeb5f11531de33f5b7ae0e768ffc50da4facb
    https://github.com/strukturag/libde265/commit/dbff9077462899fc8e3b39907d43c2a6ad54e9f3
    https://github.com/strukturag/libde265/commit/a3f1c6a0dea2b0d4a531255ad06ed40cdb184d25
    https://github.com/strukturag/libde265/commit/4c0fe2c149c68ece57fde4cb11e05b5fb572da4b
    https://salsa.debian.org/multimedia-team/libde265/-/blob/master/debian/patches/only_export_decoder_api.patch
    https://salsa.debian.org/multimedia-team/libde265/-/blob/master/debian/patches/disable_tools.patch

    Patch initially submitted by vishwin

    PR:             251442
    Reported by:    vishwin
    Approved by:    kwm (maintainer timeout, 14+ months)

 multimedia/libde265/Makefile                       |  25 +-
 multimedia/libde265/distinfo                       |  15 +-
 .../libde265/files/patch-configure.ac (gone)       |  60 -----
 .../libde265/files/patch-disable-tools (new)       |  41 +++
 .../files/patch-libde265_Makefile.am (gone)        |  19 --
 .../files/patch-libde265_fallback-dct.cc (gone)    |  11 -
 .../files/patch-libde265_fallback-motion.cc (gone) |  11 -
 .../libde265/files/patch-libde265_image.cc (gone)  |  11 -
 .../libde265/files/patch-libde265_motion.cc (gone) |  11 -
 .../libde265/files/patch-libde265_pps.cc (gone)    |  11 -
 .../libde265/files/patch-libde265_refpic.cc (gone) |  11 -
 .../files/patch-libde265_threads.cc (gone)         |  11 -
 .../libde265/files/patch-libde265_util.h (gone)    |  11 -
 .../files/patch-only-export-decoder-api (new)      | 285 +++++++++++++++++++++
 multimedia/libde265/pkg-plist                      |  11 +-
 15 files changed, 360 insertions(+), 184 deletions(-)