aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElOraiby <wael.eloraiby@gmail.com>2015-05-30 15:57:20 -0400
committerElOraiby <wael.eloraiby@gmail.com>2015-05-30 15:57:20 -0400
commit796b3b542794091201dcdd76cd2e4e0b3380dbc0 (patch)
tree36cd19a1a173bf82fa31dc999b4b1e3c9adeff95
parent3341cc55671378288e6bb4f94b15fedb24c93e1c (diff)
change license (gcc runtime excpetion)
-rw-r--r--README.md20
-rw-r--r--arabtype.c19
-rw-r--r--arabtype.h19
-rw-r--r--gpl3-exception.txt32
-rw-r--r--mainwindow.cpp6
-rw-r--r--mainwindow.h5
6 files changed, 90 insertions, 11 deletions
diff --git a/README.md b/README.md
index 8dab1c1..acfafa5 100644
--- a/README.md
+++ b/README.md
@@ -3,19 +3,25 @@
a small and simple implementation that transform isolated arabic utf8 character
strings into contextual forms.
-Example:
+Example ([Khalil Gibran](http://en.wikipedia.org/wiki/Kahlil_Gibran)'s Al-Nay):
![ScreenShot](https://raw.github.com/eloraiby/arabtype/master/example.png)
<U><B>LICENSE:</B></U>
-Arabtype, Copyrights 2012-2013(c) Wael El Oraiby. All rights reserved.
+Arabtype, Copyrights 2012-2015(c) Wael El Oraiby. All rights reserved.
-The code is released under LGPL version 3 with the permission to statically link
-your program with the code, provided that you send me your bug fixes for any bug
-you may find in the provided code.
-I intend to release the source code later under a more permessive license so your
-patch should be under an MIT license in order to make that possible.
+This library is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License 3 for more details.
+
+Under Section 7 of GPL version 3, you are granted additional
+permissions described in the [GCC Runtime Library Exception](https://www.gnu.org/licenses/gcc-exception-3.1.en.html), version 3.1,
+as published by the Free Software Foundation.
+
+Roughly speaking: it means that you can statically link with the code but you are obliged
+to make open your bug fixes and/or enhancement you do to the arabtype.c code.
-----------------------------------------------------------------------
The utf8.c file is under the following license:
diff --git a/arabtype.c b/arabtype.c
index 89163a1..919e227 100644
--- a/arabtype.c
+++ b/arabtype.c
@@ -1,6 +1,21 @@
/*
-** Arabtype Copyright 2012-2013(c) Wael El Oraiby. All Rights Reserved
-** see README.md file for license
+** Arabtype Copyright 2012-2015(c) Wael El Oraiby. All Rights Reserved
+**
+** This library is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+** GNU General Public License for more details.
+
+** Under Section 7 of GPL version 3, you are granted additional
+** permissions described in the GCC Runtime Library Exception, version
+** 3.1, as published by the Free Software Foundation.
+
+** You should have received a copy of the GNU General Public License and
+** a copy of the GCC Runtime Library Exception along with this program;
+** see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
+** <http://www.gnu.org/licenses/>.
+**
+** see README.md file for more information
*/
#include <stdbool.h>
diff --git a/arabtype.h b/arabtype.h
index b79ee3f..16470d9 100644
--- a/arabtype.h
+++ b/arabtype.h
@@ -1,6 +1,21 @@
/*
-** Arabtype Copyright 2012-2013(c) Wael El Oraiby. All Rights Reserved
-** see README.md file for license
+** Arabtype Copyright 2012-2015(c) Wael El Oraiby. All Rights Reserved
+**
+** This library is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+** GNU General Public License for more details.
+
+** Under Section 7 of GPL version 3, you are granted additional
+** permissions described in the GCC Runtime Library Exception, version
+** 3.1, as published by the Free Software Foundation.
+
+** You should have received a copy of the GNU General Public License and
+** a copy of the GCC Runtime Library Exception along with this program;
+** see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
+** <http://www.gnu.org/licenses/>.
+**
+** see README.md file for more information
*/
#ifndef ARABTYPE_H
#define ARABTYPE_H
diff --git a/gpl3-exception.txt b/gpl3-exception.txt
new file mode 100644
index 0000000..8aa9b67
--- /dev/null
+++ b/gpl3-exception.txt
@@ -0,0 +1,32 @@
+
+GCC RUNTIME LIBRARY EXCEPTION
+
+Version 3.1, 31 March 2009
+
+Copyright © 2009 Free Software Foundation, Inc. <http://fsf.org/>
+
+Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
+
+This GCC Runtime Library Exception ("Exception") is an additional permission under section 7 of the GNU General Public License, version 3 ("GPLv3"). It applies to a given file (the "Runtime Library") that bears a notice placed by the copyright holder of the file stating that the file is governed by GPLv3 along with this Exception.
+
+When you use GCC to compile a program, GCC may combine portions of certain GCC header files and runtime libraries with the compiled program. The purpose of this Exception is to allow compilation of non-GPL (including proprietary) programs to use, in this way, the header files and runtime libraries covered by this Exception.
+0. Definitions.
+
+A file is an "Independent Module" if it either requires the Runtime Library for execution after a Compilation Process, or makes use of an interface provided by the Runtime Library, but is not otherwise based on the Runtime Library.
+
+"GCC" means a version of the GNU Compiler Collection, with or without modifications, governed by version 3 (or a specified later version) of the GNU General Public License (GPL) with the option of using any subsequent versions published by the FSF.
+
+"GPL-compatible Software" is software whose conditions of propagation, modification and use would permit combination with GCC in accord with the license of GCC.
+
+"Target Code" refers to output from any compiler for a real or virtual target processor architecture, in executable form or suitable for input to an assembler, loader, linker and/or execution phase. Notwithstanding that, Target Code does not include data in any format that is used as a compiler intermediate representation, or used for producing a compiler intermediate representation.
+
+The "Compilation Process" transforms code entirely represented in non-intermediate languages designed for human-written code, and/or in Java Virtual Machine byte code, into Target Code. Thus, for example, use of source code generators and preprocessors need not be considered part of the Compilation Process, since the Compilation Process can be understood as starting with the output of the generators or preprocessors.
+
+A Compilation Process is "Eligible" if it is done using GCC, alone or with other GPL-compatible software, or if it is done without using any work based on GCC. For example, using non-GPL-compatible Software to optimize any GCC intermediate representations would not qualify as an Eligible Compilation Process.
+1. Grant of Additional Permission.
+
+You have permission to propagate a work of Target Code formed by combining the Runtime Library with Independent Modules, even if such propagation would otherwise violate the terms of GPLv3, provided that all Target Code was generated by Eligible Compilation Processes. You may then convey such a combination under terms of your choice, consistent with the licensing of the Independent Modules.
+2. No Weakening of GCC Copyleft.
+
+The availability of this Exception does not imply any general presumption that third-party software is unaffected by the copyleft requirements of the license of GCC.
+
diff --git a/mainwindow.cpp b/mainwindow.cpp
index 015bcb7..5173fda 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -1,3 +1,9 @@
+/*
+** Arabtype Copyright 2012-2015(c) Wael El Oraiby. All Rights Reserved
+**
+** This file is in public domain
+*/
+
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QtGui>
diff --git a/mainwindow.h b/mainwindow.h
index 0b29001..f86c17d 100644
--- a/mainwindow.h
+++ b/mainwindow.h
@@ -1,3 +1,8 @@
+/*
+** Arabtype Copyright 2012-2015(c) Wael El Oraiby. All Rights Reserved
+**
+** This file is in public domain
+*/
#ifndef MAINWINDOW_H
#define MAINWINDOW_H