I try to follow https://fedoraproject.org/wiki/Packaging:PkgConfigBuildRequires where possible, and was attempting to do so for a libproxy update that I am working on. Although the jsc-devel subpackage of webkitgtk4 includes the pkg-config file, it does not include the headers, so adding a BuildRequires of "pkgconfig(javascriptcoregtk-4.0)" fails to build as the headers are not present. The webkitgtk3 package does not have the same subpackage split, so this is not a problem there. The Debian equivalent of the JavaScriptCore -dev package includes both the pkg-config and include files: https://packages.debian.org/sid/amd64/libjavascriptcoregtk-4.0-dev/filelist http://koji.fedoraproject.org/koji/rpminfo?rpmID=7434096
Created attachment 1131526 [details] move javascriptcore headers to the jsc-devel subpackage Patch to move the headers attached, with a scratch build (currently building): http://koji.fedoraproject.org/koji/taskinfo?taskID=13176645
Created attachment 1131534 [details] updated patch to co-own the include dir As per https://fedoraproject.org/wiki/Packaging:Guidelines#The_directory_is_owned_by_a_package_which_is_not_required_for_your_package_to_function the /usr/includes/webkitgtk-4.0 directory needs to be co-owned by the jsc-devel subpackage. Scratch build with the updated patch: http://koji.fedoraproject.org/koji/taskinfo?taskID=13177244
Created attachment 1131535 [details] fix the include directory path Oops, paths must end with a '/'. Scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=13177277
OK, I need to do a new F24 build now so I'll throw this in too, thanks!