Skip to content

Commit

Permalink
Added licensing information to everything.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed May 12, 2007
1 parent 5bbacad commit 4d83121
Show file tree
Hide file tree
Showing 23 changed files with 199 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CMakeLists.txt
@@ -1,3 +1,11 @@
# MojoSetup; a portable, flexible installation application.
#
# Please see the file LICENSE.txt in the source's root directory.
#
# This file written by Ryan C. Gordon.



# The "BINARY SIZE +=" comments note about how much bulk, in kilobytes, a
# given option adds to the binary on x86 Linux (built with gcc 3.3.6
# MinSizeRel options and stripped, uncompressed). These numbers will vary,
Expand Down
31 changes: 30 additions & 1 deletion LICENSE.txt
@@ -1,3 +1,32 @@

You have no license to use this code at this time.
Copyright (c) 2007 Ryan C. Gordon and others.

This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from
the use of this software.

Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software in a
product, an acknowledgment in the product documentation would be
appreciated but is not required.

2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.

3. This notice may not be removed or altered from any source distribution.

Ryan C. Gordon <icculus@icculus.org>



(Please note that other pieces of code in MojoSetup fall under BSD-like
licenses: lua, libfetch, zlib, bzlib, etc. All software statically linked to
MojoSetup was explicitly chosen to be friendly with closed-source software,
in case the installer needs a proprietary change. I am not a lawyer and this
is not legal advice. Please have a lawyer consider the licenses if you have
any concerns.)

7 changes: 7 additions & 0 deletions archive_tar.c
@@ -1,3 +1,10 @@
/**
* MojoSetup; a portable, flexible installation application.
*
* Please see the file LICENSE.txt in the source's root directory.
*
* This file written by Ryan C. Gordon.
*/

#include "fileio.h"

Expand Down
8 changes: 8 additions & 0 deletions archive_zip.c
@@ -1,3 +1,11 @@
/**
* MojoSetup; a portable, flexible installation application.
*
* Please see the file LICENSE.txt in the source's root directory.
*
* This file written by Ryan C. Gordon.
*/

#include "fileio.h"

#if !SUPPORT_ZIP
Expand Down
8 changes: 8 additions & 0 deletions buildver.c
@@ -1,3 +1,11 @@
/**
* MojoSetup; a portable, flexible installation application.
*
* Please see the file LICENSE.txt in the source's root directory.
*
* This file written by Ryan C. Gordon.
*/

/*
* This is in a separate file so that we can recompile it every time
* without it forcing a recompile on something ccache would otherwise not
Expand Down
8 changes: 8 additions & 0 deletions fileio.c
@@ -1,3 +1,11 @@
/**
* MojoSetup; a portable, flexible installation application.
*
* Please see the file LICENSE.txt in the source's root directory.
*
* This file written by Ryan C. Gordon.
*/

#include <unistd.h> // !!! FIXME: unix dependency for readlink().
#include <sys/stat.h> // !!! FIXME: unix dependency for stat().

Expand Down
8 changes: 8 additions & 0 deletions fileio.h
@@ -1,3 +1,11 @@
/**
* MojoSetup; a portable, flexible installation application.
*
* Please see the file LICENSE.txt in the source's root directory.
*
* This file written by Ryan C. Gordon.
*/

#ifndef _INCL_FILEIO_H_
#define _INCL_FILEIO_H_

Expand Down
8 changes: 8 additions & 0 deletions gui.c
@@ -1,3 +1,11 @@
/**
* MojoSetup; a portable, flexible installation application.
*
* Please see the file LICENSE.txt in the source's root directory.
*
* This file written by Ryan C. Gordon.
*/

#include "gui.h"
#include "platform.h"
#include "fileio.h"
Expand Down
8 changes: 8 additions & 0 deletions gui.h
@@ -1,3 +1,11 @@
/**
* MojoSetup; a portable, flexible installation application.
*
* Please see the file LICENSE.txt in the source's root directory.
*
* This file written by Ryan C. Gordon.
*/

#ifndef _INCL_GUI_H_
#define _INCL_GUI_H_

Expand Down
7 changes: 7 additions & 0 deletions gui_gtkplus2.c
@@ -1,3 +1,10 @@
/**
* MojoSetup; a portable, flexible installation application.
*
* Please see the file LICENSE.txt in the source's root directory.
*
* This file written by Ryan C. Gordon.
*/

// Not only does GTK+ 2.x _look_ better than 1.x, it offers a lot of basic
// functionality, like message boxes, that you'd expect to exist in a GUI
Expand Down
8 changes: 8 additions & 0 deletions gui_macosx.c
@@ -1,3 +1,11 @@
/**
* MojoSetup; a portable, flexible installation application.
*
* Please see the file LICENSE.txt in the source's root directory.
*
* This file written by Ryan C. Gordon.
*/

#if !SUPPORT_GUI_MACOSX
#error Something is wrong in the build system.
#endif
Expand Down
8 changes: 8 additions & 0 deletions gui_stdio.c
@@ -1,3 +1,11 @@
/**
* MojoSetup; a portable, flexible installation application.
*
* Please see the file LICENSE.txt in the source's root directory.
*
* This file written by Ryan C. Gordon.
*/

#if !SUPPORT_GUI_STDIO
#error Something is wrong in the build system.
#endif
Expand Down
8 changes: 8 additions & 0 deletions lua_glue.c
@@ -1,3 +1,11 @@
/**
* MojoSetup; a portable, flexible installation application.
*
* Please see the file LICENSE.txt in the source's root directory.
*
* This file written by Ryan C. Gordon.
*/

#include "universal.h"
#include "lua_glue.h"
#include "platform.h"
Expand Down
8 changes: 8 additions & 0 deletions lua_glue.h
@@ -1,3 +1,11 @@
/**
* MojoSetup; a portable, flexible installation application.
*
* Please see the file LICENSE.txt in the source's root directory.
*
* This file written by Ryan C. Gordon.
*/

#ifndef _INCL_LUA_GLUE_H_
#define _INCL_LUA_GLUE_H_

Expand Down
8 changes: 8 additions & 0 deletions mojosetup.c
@@ -1,3 +1,11 @@
/**
* MojoSetup; a portable, flexible installation application.
*
* Please see the file LICENSE.txt in the source's root directory.
*
* This file written by Ryan C. Gordon.
*/

#include <stdarg.h>

#include "universal.h"
Expand Down
8 changes: 8 additions & 0 deletions platform.h
@@ -1,3 +1,11 @@
/**
* MojoSetup; a portable, flexible installation application.
*
* Please see the file LICENSE.txt in the source's root directory.
*
* This file written by Ryan C. Gordon.
*/

#ifndef _INCL_PLATFORM_H_
#define _INCL_PLATFORM_H_

Expand Down
8 changes: 8 additions & 0 deletions platform_beos.c
@@ -1,3 +1,11 @@
/**
* MojoSetup; a portable, flexible installation application.
*
* Please see the file LICENSE.txt in the source's root directory.
*
* This file written by Ryan C. Gordon.
*/

// You also need to compile unix.c, but this lets us add some things that
// cause conflicts between the Be headers and MojoSetup, and use C++. These
// are largely POSIX things that are missing from BeOS 5...keeping them here
Expand Down
8 changes: 8 additions & 0 deletions platform_unix.c
@@ -1,3 +1,11 @@
/**
* MojoSetup; a portable, flexible installation application.
*
* Please see the file LICENSE.txt in the source's root directory.
*
* This file written by Ryan C. Gordon.
*/

#if PLATFORM_UNIX

#if PLATFORM_MACOSX
Expand Down
7 changes: 7 additions & 0 deletions scripts/config.lua
@@ -1,3 +1,10 @@
-- MojoSetup; a portable, flexible installation application.
--
-- Please see the file LICENSE.txt in the source's root directory.
--
-- This file written by Ryan C. Gordon.


-- This is a setup file. Lines that start with "--" are comments.
-- This config file is actually just Lua code. Even though you'll only
-- need a small subset of the language, there's a lot of flexibility
Expand Down
7 changes: 7 additions & 0 deletions scripts/localization.lua
@@ -1,3 +1,10 @@
-- MojoSetup; a portable, flexible installation application.
--
-- Please see the file LICENSE.txt in the source's root directory.
--
-- This file written by Ryan C. Gordon.


-- NOTE: If you care about Unicode or ASCII chars above 127, this file _MUST_
-- be UTF-8 encoded! If you think you're using a certain high-ascii codepage,
-- you're wrong!
Expand Down
6 changes: 6 additions & 0 deletions scripts/mojosetup_init.lua
@@ -1,3 +1,9 @@
-- MojoSetup; a portable, flexible installation application.
--
-- Please see the file LICENSE.txt in the source's root directory.
--
-- This file written by Ryan C. Gordon.


-- These are various things that need to be exposed to Lua, or are just
-- better written in Lua than C. All work will be done in the "MojoSetup"
Expand Down
7 changes: 7 additions & 0 deletions scripts/mojosetup_mainline.lua
@@ -1,3 +1,10 @@
-- MojoSetup; a portable, flexible installation application.
--
-- Please see the file LICENSE.txt in the source's root directory.
--
-- This file written by Ryan C. Gordon.


-- This is where most of the magic happens. Everything is initialized, and
-- the user's config script has successfully run. This Lua chunk drives the
-- main application code.
Expand Down
8 changes: 8 additions & 0 deletions universal.h
@@ -1,3 +1,11 @@
/**
* MojoSetup; a portable, flexible installation application.
*
* Please see the file LICENSE.txt in the source's root directory.
*
* This file written by Ryan C. Gordon.
*/

#ifndef _INCL_UNIVERSAL_H_
#define _INCL_UNIVERSAL_H_

Expand Down

0 comments on commit 4d83121

Please sign in to comment.