diff --git a/src/Licenses.cake b/src/Licenses.cake index d462a0e..91055ab 100644 --- a/src/Licenses.cake +++ b/src/Licenses.cake @@ -83,10 +83,6 @@ name (addr (const char)) license (addr (const char))) -;; Populated at compile-time -(var-global g-licenses (array module-license) (array 0)) -(var-global g-licenses-count int 0) - ;; These need to go somewhere, so we might as well have Licenses register them (register-module-license "GameLib" g-gamelib-copyright-string) (register-module-license "Cakelisp" g-cakelisp-copyright-string) @@ -101,7 +97,7 @@ ;; g-sdl-license-string ;; g-enkits-license-string -(var-global g-gamelib-copyright-string (addr (const char)) +(var g-gamelib-copyright-string (const (addr (const char))) #"#GameLib Created by Macoy Madson . https://macoy.me/code/macoy/gamelib @@ -120,7 +116,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GameLib. If not, see .#"#) -(var-global g-cakelisp-copyright-string (addr (const char)) +(var g-cakelisp-copyright-string (const (addr (const char))) #"#Cakelisp Created by Macoy Madson . https://macoy.me/code/macoy/gamelib @@ -139,7 +135,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Cakelisp. If not, see .#"#) -(var-global g-gnu-gpl-license-string (addr (const char)) +(var g-gnu-gpl-license-string (const (addr (const char))) #"#GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 @@ -767,7 +763,7 @@ License instead of this License. But first, please read . #"#) -(var-global g-ubuntu-font-license-string (addr (const char)) #"#------------------------------- +(var g-ubuntu-font-license-string (const (addr (const char))) #"#------------------------------- UBUNTU FONT LICENCE Version 1.0 ------------------------------- @@ -864,7 +860,7 @@ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.#"#) -(var-global g-apache-license-string (addr (const char)) #"# Apache License +(var g-apache-license-string (const (addr (const char))) #"# Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ @@ -1066,7 +1062,7 @@ DEALINGS IN THE FONT SOFTWARE.#"#) See the License for the specific language governing permissions and limitations under the License.#"#) -(var-global g-imgui-license-string (addr (const char)) #"#The MIT License (MIT) +(var g-imgui-license-string (const (addr (const char))) #"#The MIT License (MIT) Copyright (c) 2014-2021 Omar Cornut @@ -1088,7 +1084,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.#"#) -(var-global g-handmade-math-license-string (addr (const char)) +(var g-handmade-math-license-string (const (addr (const char))) #"#CC0 1.0 Universal Statement of Purpose @@ -1206,7 +1202,7 @@ Affirmer's express Statement of Purpose. For more information, please see #"#) -(var-global g-stb-license-string (addr (const char)) #"#MIT License +(var g-stb-license-string (const (addr (const char))) #"#MIT License Copyright (c) 2017 Sean Barrett Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in @@ -1224,7 +1220,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.#"#) -(var-global g-sdl-license-string (addr (const char)) #"#Copyright (C) 1997-2021 Sam Lantinga +(var g-sdl-license-string (const (addr (const char))) #"#Copyright (C) 1997-2021 Sam Lantinga This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -1242,7 +1238,7 @@ freely, subject to the following restrictions: misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution.#"#) -(var-global g-enkits-license-string (addr (const char)) #"#Copyright (c) 2013 Doug Binks +(var g-enkits-license-string (const (addr (const char))) #"#Copyright (c) 2013 Doug Binks This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -1260,7 +1256,7 @@ freely, subject to the following restrictions: misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution.#"#) -(var-global g-oniguruma-license-string (addr (const char)) +(var g-oniguruma-license-string (const (addr (const char))) #"#Oniguruma LICENSE ----------------- @@ -1289,7 +1285,7 @@ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #"#) -(var-global g-auto-color-license-string (addr (const char)) +(var g-auto-color-license-string (const (addr (const char))) #"#Copyright (c) 2022 Macoy Madson Email: macoy@macoy.me @@ -1319,7 +1315,7 @@ https://creativecommons.org/licenses/by/3.0/ Copied from https://github.com/mixaal/imageprocessor. Modified by converting to Cakelisp by Macoy Madson.#"#) -(var-global g-miniz-license-string (addr (const char)) +(var g-miniz-license-string (const (addr (const char))) #"#Copyright 2013-2014 RAD Game Tools and Valve Software Copyright 2010-2014 Rich Geldreich and Tenacious Software LLC @@ -1343,7 +1339,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.#"#) -(var-global g-curl-license-string (addr (const char)) +(var g-curl-license-string (const (addr (const char))) #"#COPYRIGHT AND PERMISSION NOTICE Copyright (c) 1996 - 2022, Daniel Stenberg, , and many @@ -1367,7 +1363,7 @@ Except as contained in this notice, the name of a copyright holder shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization of the copyright holder.#"#) -(var-global g-gnu-glib-license (addr (const char)) +(var g-gnu-glib-license (const (addr (const char))) #"# GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 @@ -1871,3 +1867,7 @@ necessary. Here is a sample; alter the names: That's all there is to it! #"#) + +;; Populated at compile-time +(var-global g-licenses (array module-license) (array 0)) +(var-global g-licenses-count int 0)