Bug 32960 - SDL2_gfx-devel needs cmake files. Has only pkgconfig/SDL2_gfx.pc
Summary: SDL2_gfx-devel needs cmake files. Has only pkgconfig/SDL2_gfx.pc
Status: UPSTREAM
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL: https://www.ferzkopp.net/~aschiffler/...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2024-03-12 17:04 CET by Hans Micheelsen
Modified: 2024-03-13 01:51 CET (History)
1 user (show)

See Also:
Source RPM: sdl2_gfx-1.0.4-4.mga9.src.rpm
CVE:
Status comment:


Attachments

Description Hans Micheelsen 2024-03-12 17:04:18 CET
Description of problem:
In order to use SDL2-gfx in CMAKE it is convenient to have cmake files. I guess they should be called sdl2_gfx-config-version.cmake and sdl2_gfx-config.cmake

A workaround is to use:
  >> find_package(PkgConfig REQUIRED)
  >> pkg_search_module(SDL2_GFX REQUIRED SDL2_gfx>=1.0.0)
in your CMakeLists.txt. But the cmake files are present in the other SDL2 libraries...

Version-Release number of selected component (if applicable):
SDL_gfx-2.0.27-1.mga10

How reproducible:


Steps to Reproduce:
1. Use FIND_PACKAGE(SDL2_GFX) in CMakeLists.txt
2. CMAKE error message: 
   >>Could not find a package configuration file provided by "SDL2_GFX" 
   >> with any of the following names:

    >> SDL2_GFXConfig.cmake
    >> sdl2_gfx-config.cmake
3.
Comment 1 David GEIGER 2024-03-12 17:54:31 CET
This should be asked upstream, we can't do anything for that.

CC: (none) => geiger.david68210

Comment 2 Lewis Smith 2024-03-12 20:42:15 CET
Hans, please do that.

Status: NEW => UPSTREAM
Keywords: (none) => UPSTREAM

Comment 3 Hans Micheelsen 2024-03-13 00:54:30 CET
Certainly. I have written an email to the author with a request for sdl2_gfx-config.cmake.
Comment 4 Hans Micheelsen 2024-03-13 01:50:51 CET
I got an answer from A Schiffer already. If we/I can provide a way to make cmake files, he will be glad to provide them to the project. Do anybody know how to do that? Where can I find instructions? Remark! gfx is build with configure and makefile
Hans Micheelsen 2024-03-13 01:51:57 CET

Source RPM: SDL_gfx-2.0.27-1.mga10.src.rpm => sdl2_gfx-1.0.4-4.mga9.src.rpm


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