FS#60285 - [jsoncpp] add cmake config file

Attached to Project: Arch Linux
Opened by Michel (xantares) - Tuesday, 02 October 2018, 20:05 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:24 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Could the package be compiled with cmake so as to provide the cmake config file with
-DJSONCPP_WITH_CMAKE_PACKAGE=ON (defaults to ON only in master) ?


This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:24 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/jsoncpp/issues/1
Comment by Peter Spiess-Knafl (cinemast) - Monday, 12 November 2018, 08:36 GMT
Is there anything I can help with?
Comment by Eli Schwartz (eschwartz) - Tuesday, 13 November 2018, 01:45 GMT
Why?

Upstream has deprecated the cmake build system with the note "(Deprecated, but still works for now. The version string may soon be wrong.)"

They prefer meson, and their primary build instructions are targeted at meson.

There's a pkg-config generated by default, which provides generic support for dependency calculations via any build system or even just by running pkg-config via the command line. Why do we need some cmake-specific file that can only be created by using a deprecated build system?

Why does cmake encourage the use of Not-In-House dependency configurations? Why can't cmake config files just die already?

(In case you cannot tell, I'm very biased.)
Comment by Adam (catch22) - Friday, 24 July 2020, 21:35 GMT
+1 vote for including the cmake package
Comment by Sven (skoehler) - Wednesday, 09 March 2022, 21:45 GMT
Maybe you should ask some other questions: Why do they have multiple build system which install different sets of files? Why would the choice of build system decide whether the cmake config files are installed?

I checked Fedora and Ubuntu. They both provide the cmake config files.

Could you provide why some technical reason why cmake config files should just die already? (I'm interested)
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...