Commit e5001e92 authored by Youness Alaoui's avatar Youness Alaoui
Browse files

Add license files and explain the licensing of each file

parent d9543c37
This software is distributed under the LGPL v2.1 license, the GPL v3 License and the MIT license (depending on the files).
Each .c/.h file references which license it is under.
The cairo menu parts (cairo_menu.[ch], cairo_utils.[ch], cairo_dri.[ch], test-dri.c) are under the LGPL license and can be used separately as a library under that license. See License.LGPL for more information.
The cairo frambuffer surface implementation (cairo_linuxfb.[ch]) is under the MIT license as most of its code was taken from an existing project under that license. See LICENSE.MIT for more information about the license governing that specific file.
The fbwhiptail application code itself (fbwhiptail.c, fbwhiptail_menu.[ch], test-menu-fb.c, test-menu-gtk.c, whiptail) are under the GPL v3 license. See LICENSE.GPL for more information.
If a file does not have a license header or is not specified in the above list, then the license that governs it will depend on its function, if it is specifically related to the cairo menu implementation, then it's LGPL, if it's specifically related to the fbwhiptail application, then it's GPL.
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
Copyright (c) 2015 Toradex AG
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 the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
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.
/*
* cairo_fb.c : Cairo Linux Framebuffer surface implementation
* Based on the demo application at https://github.com/toradex/cairo-fb-examples
* cairo_dri.c : Cairo Direct Rendering surface implementation
*
* Copyright (c) 2015, Toradex AG
* Copyright (c) 2018, Youness Alaoui (KaKaRoTo)
*
* This project is licensed under the terms of the MIT license (see
* LICENSE)
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "cairo_dri.h"
......
......@@ -3,6 +3,19 @@
*
* Copyright (c) 2018, Youness Alaoui (KaKaRoTo)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef __CAIRO_DRI_H__
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment