⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 286127 in webkit


Ignore:
Timestamp:
Nov 23, 2021, 12:54:06 AM (5 years ago)
Author:
Adrian Perez de Castro
Message:

[Flatpak SDK] Add build recipe for libjxl, fix after r286057
https://bugs.webkit.org/show_bug.cgi?id=233326

Reviewed by Philippe Normand.

Fix the generated .pc files installed by libjxl, which wrongly include libhwy as a
requirement, even when it is used internally in the implementation only and linked
in statically. This solves a remaining issue that CMake would not be able to find
the library using pkg-config.

  • elements/sdk/libjxl.bst: Edit installed .pc files to remove libhwy.
Location:
trunk/Tools/buildstream
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/buildstream/ChangeLog

    r286057 r286127  
     12021-11-23  Adrian Perez de Castro  <aperez@igalia.com>
     2
     3        [Flatpak SDK] Add build recipe for libjxl, fix after r286057
     4        https://bugs.webkit.org/show_bug.cgi?id=233326
     5
     6        Reviewed by Philippe Normand.
     7
     8        Fix the generated .pc files installed by libjxl, which wrongly include libhwy as a
     9        requirement, even when it is used internally in the implementation only and linked
     10        in statically. This solves a remaining issue that CMake would not be able to find
     11        the library using pkg-config.
     12
     13        * elements/sdk/libjxl.bst: Edit installed .pc files to remove libhwy.
     14
    1152021-11-19  Adrian Perez de Castro  <aperez@igalia.com>
    216
  • trunk/Tools/buildstream/elements/sdk/libjxl.bst

    r286057 r286127  
    3232    -DJPEGXL_FORCE_SYSTEM_HWY=ON
    3333
     34config:
     35  # libhwy is used only internally and linked statically, yet the
     36  # generated .pc files will wrongly list it as a requirement.
     37  # Append a build command that edits the files to reflect reality.
     38  build-commands:
     39    (>):
     40      - |
     41        find '%{build-dir}' -name '*.pc' -print -execdir \
     42          sed -i -e '/^Requires\.private:/s/libhwy[[:space:]]*//' '{}' ';'
     43
    3444sources:
    3545- kind: tar
Note: See TracChangeset for help on using the changeset viewer.