| Summary: | mingw-termcap - consider adding a pkgconfig capability. | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Aurelian R <arusanu> |
| Component: | RPM Packages | Assignee: | All Packagers <pkg-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Normal | ||
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | mingw-termcap-1.3.1-23.mga9.src.rpm, faudio-22.12-1.mga9.src.rpm | CVE: | |
| Status comment: | |||
| Attachments: |
source file for termcap.pc
proposed mingw-termcap spec file mingw-faudio spec with building limited to x86_64 |
||
Created attachment 14183 [details]
proposed mingw-termcap spec file
Thank you for the reports; a bit confusing between MinGW, mingw-termcap, termcap, mingw-faudio and faudio! I have put the SRPMs for what I think are the relevant packages: mingw32-termcap mingw64-termcap mingw32-faudio mingw64-faudio Assigning this bug globally since these SRPMs are little touched: mingw-termcap - never since its introduction 10y ago; faudio - version updates every year or so. Source RPM:
(none) =>
mingw-termcap-1.3.1-23.mga9.src.rpm, faudio-22.12-1.mga9.src.rpm Sorry for being to concise and messing up termcap.spec file name instead of mingw-termcap.spec. There is no termcap main package but only mingw-termcap, while mingw-faudio is generated by the main faudio source package and I thought that jamming these together is more efficient as these are just fixes/enhancements not touching main libraries. Created attachment 14186 [details]
mingw-faudio spec with building limited to x86_64
Sorry for the late replay, no net access for couple of days.
The new versions pushed by David, mingw-termcap-1.3.1-24.mga10 and faudio-23.11-1.mga10, have the proper pkconfig files and they work properly.
PS: To free up resources, the noarch mingw-faudio pkgs should be build only on one architecture. Attached is David's latest faudio.spec file that limits the build to x86_64 arch.
This report should be closed, as the main requests are properly fixed. Thanks. David fixed it some time ago. Closing |
Created attachment 14182 [details] source file for termcap.pc The package mingw-termcap, doesn't provide a pkgconfig file that newer packages look for during build. Attached is a termcap.spec file and a termcap.pc.in file that works for me, hope this will help. Regards, A. PS: Also, got found that the pkgconfig files for mingw-faudio seems to not be properly setup, they set "libdir=%{prefix}" not to "libdir=%{prefix}/lib" and similarly for includedir. Here is a simple hack for it that can be put in the %install section of faudio.spec file: " # Fix package config file for MinGW. sed -i 's|libdir=.*|libdir=${prefix}/lib|' $RPM_BUILD_ROOT%{mingw32_libdir}/pkgconfig/FAudio.pc sed -i 's|includedir=.*|includedir=${prefix}/include|' $RPM_BUILD_ROOT%{mingw32_libdir}/pkgconfig/FAudio.pc sed -i 's|libdir=.*|libdir=${prefix}/lib|' $RPM_BUILD_ROOT%{mingw64_libdir}/pkgconfig/FAudio.pc sed -i 's|includedir=.*|includedir=${prefix}/include|' $RPM_BUILD_ROOT%{mingw64_libdir}/pkgconfig/FAudio.pc "