Index: openacs-4/packages/fa-icons/tcl/resource-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/fa-icons/tcl/resource-procs.tcl,v diff -u -N -r1.1.2.12 -r1.1.2.13 --- openacs-4/packages/fa-icons/tcl/resource-procs.tcl 30 Jul 2024 10:25:44 -0000 1.1.2.12 +++ openacs-4/packages/fa-icons/tcl/resource-procs.tcl 11 Aug 2024 07:34:45 -0000 1.1.2.13 @@ -74,12 +74,14 @@ # We just need the CSS file, which is on the CDN in the # "font" directory. set prefix $cdn/ajax/libs/font-awesome/$version/css + set cspMap [subst { urn:ad:css:fa-icons { style-src $cdnHost font-src $cdnHost }}] } + dict set URNs urn:ad:css:fa-icons all.min.css # # Return the dict with at least the required fields @@ -95,7 +97,7 @@ extraFiles {} \ downloadURLs https://github.com/FortAwesome/Font-Awesome/releases/download/${version}/fontawesome-free-${version}-web.zip \ cspMap $cspMap \ - urnMap {} \ + urnMap $URNs \ versionCheckAPI {cdn cdnjs library font-awesome count 5} \ parameterInfo $parameter_info \ configuredVersion $version