smflite
changeset 2:d9e0d0500a78 tip
added COPYING and README
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 26 Jan 2012 15:51:53 +0200 |
parents | 8e535ca4bb86 |
children | |
files | COPYING README src/fake_glib.c src/fake_glib.h |
diffstat | 4 files changed, 78 insertions(+), 0 deletions(-) [+] |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/COPYING Thu Jan 26 15:51:53 2012 +0200 1.3 @@ -0,0 +1,25 @@ 1.4 +Copyright (c) 2007, 2008 Edward Tomasz NapieraĆa <trasz@FreeBSD.org> 1.5 +Copyright (C) 2012 John Tsiombikas <nuclear@mutantstargoat.com> 1.6 +All rights reserved. 1.7 + 1.8 +Redistribution and use in source and binary forms, with or without 1.9 +modification, are permitted provided that the following conditions 1.10 +are met: 1.11 +1. Redistributions of source code must retain the above copyright 1.12 + notice, this list of conditions and the following disclaimer. 1.13 +2. Redistributions in binary form must reproduce the above copyright 1.14 + notice, this list of conditions and the following disclaimer in the 1.15 + documentation and/or other materials provided with the distribution. 1.16 + 1.17 +ALTHOUGH THIS SOFTWARE IS MADE OF WIN AND SCIENCE, IT IS PROVIDED BY THE 1.18 +AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, 1.19 +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY 1.20 +AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 1.21 +THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 1.22 +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 1.23 +TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, 1.24 +OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 1.25 +OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 1.26 +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 1.27 +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 1.28 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/README Thu Jan 26 15:51:53 2012 +0200 2.3 @@ -0,0 +1,1 @@ 2.4 +smflite is a fork of libsmf (svn rev 638), with the dependency to glib removed.
3.1 --- a/src/fake_glib.c Thu Jan 26 15:35:18 2012 +0200 3.2 +++ b/src/fake_glib.c Thu Jan 26 15:51:53 2012 +0200 3.3 @@ -1,3 +1,29 @@ 3.4 +/* reimplementation of the subset of glib used by libsmf 3.5 + * 3.6 + * Copyright (C) 2012 John Tsiombikas <nuclear@mutantstargoat.com> 3.7 + * All rights reserved. 3.8 + * 3.9 + * Redistribution and use in source and binary forms, with or without 3.10 + * modification, are permitted provided that the following conditions are met: 3.11 + * 3.12 + * 1. Redistributions of source code must retain the above copyright notice, this 3.13 + * list of conditions and the following disclaimer. 3.14 + * 2. Redistributions in binary form must reproduce the above copyright notice, 3.15 + * this list of conditions and the following disclaimer in the documentation 3.16 + * and/or other materials provided with the distribution. 3.17 + * 3.18 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 3.19 + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 3.20 + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 3.21 + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR 3.22 + * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 3.23 + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 3.24 + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 3.25 + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 3.26 + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 3.27 + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 3.28 + */ 3.29 + 3.30 #include <stdio.h> 3.31 #include <stdlib.h> 3.32 #include <string.h>
4.1 --- a/src/fake_glib.h Thu Jan 26 15:35:18 2012 +0200 4.2 +++ b/src/fake_glib.h Thu Jan 26 15:51:53 2012 +0200 4.3 @@ -1,3 +1,29 @@ 4.4 +/* reimplementation of the subset of glib used by libsmf 4.5 + * 4.6 + * Copyright (C) 2012 John Tsiombikas <nuclear@mutantstargoat.com> 4.7 + * All rights reserved. 4.8 + * 4.9 + * Redistribution and use in source and binary forms, with or without 4.10 + * modification, are permitted provided that the following conditions are met: 4.11 + * 4.12 + * 1. Redistributions of source code must retain the above copyright notice, this 4.13 + * list of conditions and the following disclaimer. 4.14 + * 2. Redistributions in binary form must reproduce the above copyright notice, 4.15 + * this list of conditions and the following disclaimer in the documentation 4.16 + * and/or other materials provided with the distribution. 4.17 + * 4.18 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 4.19 + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 4.20 + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 4.21 + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR 4.22 + * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 4.23 + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 4.24 + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 4.25 + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 4.26 + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 4.27 + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 4.28 + */ 4.29 + 4.30 #ifndef FAKE_GLIB_H_ 4.31 #define FAKE_GLIB_H_ 4.32