Bug 2218125 - Switch to cmake builder
Summary: Switch to cmake builder
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: pcre2
Version: 39
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Lukas Javorsky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-28 08:54 UTC by Cristian Le
Modified: 2023-08-16 08:11 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Cristian Le 2023-06-28 08:54:35 UTC
Switch to cmake builder in order to package the cmake configuration files: `pcre2-config.cmake`

Reproducible: Always

Comment 1 Lukas Javorsky 2023-07-04 13:23:56 UTC
Hi,

Thank you for this report.

Do you know about any benefits that would this bring to the pcre2 package?

Comment 2 Cristian Le 2023-07-04 14:34:32 UTC
It will allow cmake users to use:

```
find_package(pcre2)
```

Unfortunately the files are not generated by autotools so it does require switching the build configuration. Fortunately the configure flags are more-or-less one-to-one mapped with the [cmake ones](https://github.com/PCRE2Project/pcre2/blob/fb84d7399181161ad8074ee26778007dfcbccd5b/CMakeLists.txt#L215-L355)

This is a packaging issue (specifically of `pcre2-devel`) and it should be handled on the fedora side.

Comment 3 Fedora Release Engineering 2023-08-16 08:11:33 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.


Note You need to log in before you can comment on or make changes to this bug.