<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.liberateos.org/index.php?feed=atom&amp;namespace=0&amp;title=Special%3ANewPages</id>
		<title>LiberateOS Wiki - New pages [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.liberateos.org/index.php?feed=atom&amp;namespace=0&amp;title=Special%3ANewPages"/>
		<link rel="alternate" type="text/html" href="https://wiki.liberateos.org/index.php?title=Special:NewPages"/>
		<updated>2026-05-03T12:06:20Z</updated>
		<subtitle>From LiberateOS Wiki</subtitle>
		<generator>MediaWiki 1.28.0</generator>

	<entry>
		<id>https://wiki.liberateos.org/index.php?title=License</id>
		<title>License</title>
		<link rel="alternate" type="text/html" href="https://wiki.liberateos.org/index.php?title=License"/>
				<updated>2017-04-23T20:47:05Z</updated>
		
		<summary type="html">&lt;p&gt;Bnoffer: Added project licenses&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The various components of LiberateOS are licensed under the same license as their upstream providers. The C# versions of Android is licensed under the terms of the Apache 2 license, while the improved version of&lt;br /&gt;
Sharpen is licensed under the GNU GPL v2.&lt;br /&gt;
&lt;br /&gt;
== Apache 2 License ==&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;Licensed under the Apache License, Version 2.0 (the &amp;quot;License&amp;quot;);&lt;br /&gt;
you may not use this file except in compliance with the License.&lt;br /&gt;
You may obtain a copy of the License at&lt;br /&gt;
&lt;br /&gt;
      http://www.apache.org/licenses/LICENSE-2.0&lt;br /&gt;
&lt;br /&gt;
Unless required by applicable law or agreed to in writing, software&lt;br /&gt;
distributed under the License is distributed on an &amp;quot;AS IS&amp;quot; BASIS,&lt;br /&gt;
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.&lt;br /&gt;
See the License for the specific language governing permissions and&lt;br /&gt;
limitations under the License.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== GNU GPL v2 ==&lt;br /&gt;
&lt;br /&gt;
https://www.gnu.org/licenses/old-licenses/gpl-2.0&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;GNU GENERAL PUBLIC LICENSE&lt;br /&gt;
                       Version 2, June 1991&lt;br /&gt;
&lt;br /&gt;
 Copyright (C) 1989, 1991 Free Software Foundation, Inc., &amp;lt;http://fsf.org/&amp;gt;&lt;br /&gt;
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA&lt;br /&gt;
 Everyone is permitted to copy and distribute verbatim copies&lt;br /&gt;
 of this license document, but changing it is not allowed.&lt;br /&gt;
&lt;br /&gt;
                            Preamble&lt;br /&gt;
&lt;br /&gt;
  The licenses for most software are designed to take away your&lt;br /&gt;
freedom to share and change it.  By contrast, the GNU General Public&lt;br /&gt;
License is intended to guarantee your freedom to share and change free&lt;br /&gt;
software--to make sure the software is free for all its users.  This&lt;br /&gt;
General Public License applies to most of the Free Software&lt;br /&gt;
Foundation's software and to any other program whose authors commit to&lt;br /&gt;
using it.  (Some other Free Software Foundation software is covered by&lt;br /&gt;
the GNU Lesser General Public License instead.)  You can apply it to&lt;br /&gt;
your programs, too.&lt;br /&gt;
&lt;br /&gt;
  When we speak of free software, we are referring to freedom, not&lt;br /&gt;
price.  Our General Public Licenses are designed to make sure that you&lt;br /&gt;
have the freedom to distribute copies of free software (and charge for&lt;br /&gt;
this service if you wish), that you receive source code or can get it&lt;br /&gt;
if you want it, that you can change the software or use pieces of it&lt;br /&gt;
in new free programs; and that you know you can do these things.&lt;br /&gt;
&lt;br /&gt;
  To protect your rights, we need to make restrictions that forbid&lt;br /&gt;
anyone to deny you these rights or to ask you to surrender the rights.&lt;br /&gt;
These restrictions translate to certain responsibilities for you if you&lt;br /&gt;
distribute copies of the software, or if you modify it.&lt;br /&gt;
&lt;br /&gt;
  For example, if you distribute copies of such a program, whether&lt;br /&gt;
gratis or for a fee, you must give the recipients all the rights that&lt;br /&gt;
you have.  You must make sure that they, too, receive or can get the&lt;br /&gt;
source code.  And you must show them these terms so they know their&lt;br /&gt;
rights.&lt;br /&gt;
&lt;br /&gt;
  We protect your rights with two steps: (1) copyright the software, and&lt;br /&gt;
(2) offer you this license which gives you legal permission to copy,&lt;br /&gt;
distribute and/or modify the software.&lt;br /&gt;
&lt;br /&gt;
  Also, for each author's protection and ours, we want to make certain&lt;br /&gt;
that everyone understands that there is no warranty for this free&lt;br /&gt;
software.  If the software is modified by someone else and passed on, we&lt;br /&gt;
want its recipients to know that what they have is not the original, so&lt;br /&gt;
that any problems introduced by others will not reflect on the original&lt;br /&gt;
authors' reputations.&lt;br /&gt;
&lt;br /&gt;
  Finally, any free program is threatened constantly by software&lt;br /&gt;
patents.  We wish to avoid the danger that redistributors of a free&lt;br /&gt;
program will individually obtain patent licenses, in effect making the&lt;br /&gt;
program proprietary.  To prevent this, we have made it clear that any&lt;br /&gt;
patent must be licensed for everyone's free use or not licensed at all.&lt;br /&gt;
&lt;br /&gt;
  The precise terms and conditions for copying, distribution and&lt;br /&gt;
modification follow.&lt;br /&gt;
&lt;br /&gt;
                    GNU GENERAL PUBLIC LICENSE&lt;br /&gt;
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION&lt;br /&gt;
&lt;br /&gt;
  0. This License applies to any program or other work which contains&lt;br /&gt;
a notice placed by the copyright holder saying it may be distributed&lt;br /&gt;
under the terms of this General Public License.  The &amp;quot;Program&amp;quot;, below,&lt;br /&gt;
refers to any such program or work, and a &amp;quot;work based on the Program&amp;quot;&lt;br /&gt;
means either the Program or any derivative work under copyright law:&lt;br /&gt;
that is to say, a work containing the Program or a portion of it,&lt;br /&gt;
either verbatim or with modifications and/or translated into another&lt;br /&gt;
language.  (Hereinafter, translation is included without limitation in&lt;br /&gt;
the term &amp;quot;modification&amp;quot;.)  Each licensee is addressed as &amp;quot;you&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Activities other than copying, distribution and modification are not&lt;br /&gt;
covered by this License; they are outside its scope.  The act of&lt;br /&gt;
running the Program is not restricted, and the output from the Program&lt;br /&gt;
is covered only if its contents constitute a work based on the&lt;br /&gt;
Program (independent of having been made by running the Program).&lt;br /&gt;
Whether that is true depends on what the Program does.&lt;br /&gt;
&lt;br /&gt;
  1. You may copy and distribute verbatim copies of the Program's&lt;br /&gt;
source code as you receive it, in any medium, provided that you&lt;br /&gt;
conspicuously and appropriately publish on each copy an appropriate&lt;br /&gt;
copyright notice and disclaimer of warranty; keep intact all the&lt;br /&gt;
notices that refer to this License and to the absence of any warranty;&lt;br /&gt;
and give any other recipients of the Program a copy of this License&lt;br /&gt;
along with the Program.&lt;br /&gt;
&lt;br /&gt;
You may charge a fee for the physical act of transferring a copy, and&lt;br /&gt;
you may at your option offer warranty protection in exchange for a fee.&lt;br /&gt;
&lt;br /&gt;
  2. You may modify your copy or copies of the Program or any portion&lt;br /&gt;
of it, thus forming a work based on the Program, and copy and&lt;br /&gt;
distribute such modifications or work under the terms of Section 1&lt;br /&gt;
above, provided that you also meet all of these conditions:&lt;br /&gt;
&lt;br /&gt;
    a) You must cause the modified files to carry prominent notices&lt;br /&gt;
    stating that you changed the files and the date of any change.&lt;br /&gt;
&lt;br /&gt;
    b) You must cause any work that you distribute or publish, that in&lt;br /&gt;
    whole or in part contains or is derived from the Program or any&lt;br /&gt;
    part thereof, to be licensed as a whole at no charge to all third&lt;br /&gt;
    parties under the terms of this License.&lt;br /&gt;
&lt;br /&gt;
    c) If the modified program normally reads commands interactively&lt;br /&gt;
    when run, you must cause it, when started running for such&lt;br /&gt;
    interactive use in the most ordinary way, to print or display an&lt;br /&gt;
    announcement including an appropriate copyright notice and a&lt;br /&gt;
    notice that there is no warranty (or else, saying that you provide&lt;br /&gt;
    a warranty) and that users may redistribute the program under&lt;br /&gt;
    these conditions, and telling the user how to view a copy of this&lt;br /&gt;
    License.  (Exception: if the Program itself is interactive but&lt;br /&gt;
    does not normally print such an announcement, your work based on&lt;br /&gt;
    the Program is not required to print an announcement.)&lt;br /&gt;
&lt;br /&gt;
These requirements apply to the modified work as a whole.  If&lt;br /&gt;
identifiable sections of that work are not derived from the Program,&lt;br /&gt;
and can be reasonably considered independent and separate works in&lt;br /&gt;
themselves, then this License, and its terms, do not apply to those&lt;br /&gt;
sections when you distribute them as separate works.  But when you&lt;br /&gt;
distribute the same sections as part of a whole which is a work based&lt;br /&gt;
on the Program, the distribution of the whole must be on the terms of&lt;br /&gt;
this License, whose permissions for other licensees extend to the&lt;br /&gt;
entire whole, and thus to each and every part regardless of who wrote it.&lt;br /&gt;
&lt;br /&gt;
Thus, it is not the intent of this section to claim rights or contest&lt;br /&gt;
your rights to work written entirely by you; rather, the intent is to&lt;br /&gt;
exercise the right to control the distribution of derivative or&lt;br /&gt;
collective works based on the Program.&lt;br /&gt;
&lt;br /&gt;
In addition, mere aggregation of another work not based on the Program&lt;br /&gt;
with the Program (or with a work based on the Program) on a volume of&lt;br /&gt;
a storage or distribution medium does not bring the other work under&lt;br /&gt;
the scope of this License.&lt;br /&gt;
&lt;br /&gt;
  3. You may copy and distribute the Program (or a work based on it,&lt;br /&gt;
under Section 2) in object code or executable form under the terms of&lt;br /&gt;
Sections 1 and 2 above provided that you also do one of the following:&lt;br /&gt;
&lt;br /&gt;
    a) Accompany it with the complete corresponding machine-readable&lt;br /&gt;
    source code, which must be distributed under the terms of Sections&lt;br /&gt;
    1 and 2 above on a medium customarily used for software interchange; or,&lt;br /&gt;
&lt;br /&gt;
    b) Accompany it with a written offer, valid for at least three&lt;br /&gt;
    years, to give any third party, for a charge no more than your&lt;br /&gt;
    cost of physically performing source distribution, a complete&lt;br /&gt;
    machine-readable copy of the corresponding source code, to be&lt;br /&gt;
    distributed under the terms of Sections 1 and 2 above on a medium&lt;br /&gt;
    customarily used for software interchange; or,&lt;br /&gt;
&lt;br /&gt;
    c) Accompany it with the information you received as to the offer&lt;br /&gt;
    to distribute corresponding source code.  (This alternative is&lt;br /&gt;
    allowed only for noncommercial distribution and only if you&lt;br /&gt;
    received the program in object code or executable form with such&lt;br /&gt;
    an offer, in accord with Subsection b above.)&lt;br /&gt;
&lt;br /&gt;
The source code for a work means the preferred form of the work for&lt;br /&gt;
making modifications to it.  For an executable work, complete source&lt;br /&gt;
code means all the source code for all modules it contains, plus any&lt;br /&gt;
associated interface definition files, plus the scripts used to&lt;br /&gt;
control compilation and installation of the executable.  However, as a&lt;br /&gt;
special exception, the source code distributed need not include&lt;br /&gt;
anything that is normally distributed (in either source or binary&lt;br /&gt;
form) with the major components (compiler, kernel, and so on) of the&lt;br /&gt;
operating system on which the executable runs, unless that component&lt;br /&gt;
itself accompanies the executable.&lt;br /&gt;
&lt;br /&gt;
If distribution of executable or object code is made by offering&lt;br /&gt;
access to copy from a designated place, then offering equivalent&lt;br /&gt;
access to copy the source code from the same place counts as&lt;br /&gt;
distribution of the source code, even though third parties are not&lt;br /&gt;
compelled to copy the source along with the object code.&lt;br /&gt;
&lt;br /&gt;
  4. You may not copy, modify, sublicense, or distribute the Program&lt;br /&gt;
except as expressly provided under this License.  Any attempt&lt;br /&gt;
otherwise to copy, modify, sublicense or distribute the Program is&lt;br /&gt;
void, and will automatically terminate your rights under this License.&lt;br /&gt;
However, parties who have received copies, or rights, from you under&lt;br /&gt;
this License will not have their licenses terminated so long as such&lt;br /&gt;
parties remain in full compliance.&lt;br /&gt;
&lt;br /&gt;
  5. You are not required to accept this License, since you have not&lt;br /&gt;
signed it.  However, nothing else grants you permission to modify or&lt;br /&gt;
distribute the Program or its derivative works.  These actions are&lt;br /&gt;
prohibited by law if you do not accept this License.  Therefore, by&lt;br /&gt;
modifying or distributing the Program (or any work based on the&lt;br /&gt;
Program), you indicate your acceptance of this License to do so, and&lt;br /&gt;
all its terms and conditions for copying, distributing or modifying&lt;br /&gt;
the Program or works based on it.&lt;br /&gt;
&lt;br /&gt;
  6. Each time you redistribute the Program (or any work based on the&lt;br /&gt;
Program), the recipient automatically receives a license from the&lt;br /&gt;
original licensor to copy, distribute or modify the Program subject to&lt;br /&gt;
these terms and conditions.  You may not impose any further&lt;br /&gt;
restrictions on the recipients' exercise of the rights granted herein.&lt;br /&gt;
You are not responsible for enforcing compliance by third parties to&lt;br /&gt;
this License.&lt;br /&gt;
&lt;br /&gt;
  7. If, as a consequence of a court judgment or allegation of patent&lt;br /&gt;
infringement or for any other reason (not limited to patent issues),&lt;br /&gt;
conditions are imposed on you (whether by court order, agreement or&lt;br /&gt;
otherwise) that contradict the conditions of this License, they do not&lt;br /&gt;
excuse you from the conditions of this License.  If you cannot&lt;br /&gt;
distribute so as to satisfy simultaneously your obligations under this&lt;br /&gt;
License and any other pertinent obligations, then as a consequence you&lt;br /&gt;
may not distribute the Program at all.  For example, if a patent&lt;br /&gt;
license would not permit royalty-free redistribution of the Program by&lt;br /&gt;
all those who receive copies directly or indirectly through you, then&lt;br /&gt;
the only way you could satisfy both it and this License would be to&lt;br /&gt;
refrain entirely from distribution of the Program.&lt;br /&gt;
&lt;br /&gt;
If any portion of this section is held invalid or unenforceable under&lt;br /&gt;
any particular circumstance, the balance of the section is intended to&lt;br /&gt;
apply and the section as a whole is intended to apply in other&lt;br /&gt;
circumstances.&lt;br /&gt;
&lt;br /&gt;
It is not the purpose of this section to induce you to infringe any&lt;br /&gt;
patents or other property right claims or to contest validity of any&lt;br /&gt;
such claims; this section has the sole purpose of protecting the&lt;br /&gt;
integrity of the free software distribution system, which is&lt;br /&gt;
implemented by public license practices.  Many people have made&lt;br /&gt;
generous contributions to the wide range of software distributed&lt;br /&gt;
through that system in reliance on consistent application of that&lt;br /&gt;
system; it is up to the author/donor to decide if he or she is willing&lt;br /&gt;
to distribute software through any other system and a licensee cannot&lt;br /&gt;
impose that choice.&lt;br /&gt;
&lt;br /&gt;
This section is intended to make thoroughly clear what is believed to&lt;br /&gt;
be a consequence of the rest of this License.&lt;br /&gt;
&lt;br /&gt;
  8. If the distribution and/or use of the Program is restricted in&lt;br /&gt;
certain countries either by patents or by copyrighted interfaces, the&lt;br /&gt;
original copyright holder who places the Program under this License&lt;br /&gt;
may add an explicit geographical distribution limitation excluding&lt;br /&gt;
those countries, so that distribution is permitted only in or among&lt;br /&gt;
countries not thus excluded.  In such case, this License incorporates&lt;br /&gt;
the limitation as if written in the body of this License.&lt;br /&gt;
&lt;br /&gt;
  9. The Free Software Foundation may publish revised and/or new versions&lt;br /&gt;
of the General Public License from time to time.  Such new versions will&lt;br /&gt;
be similar in spirit to the present version, but may differ in detail to&lt;br /&gt;
address new problems or concerns.&lt;br /&gt;
&lt;br /&gt;
Each version is given a distinguishing version number.  If the Program&lt;br /&gt;
specifies a version number of this License which applies to it and &amp;quot;any&lt;br /&gt;
later version&amp;quot;, you have the option of following the terms and conditions&lt;br /&gt;
either of that version or of any later version published by the Free&lt;br /&gt;
Software Foundation.  If the Program does not specify a version number of&lt;br /&gt;
this License, you may choose any version ever published by the Free Software&lt;br /&gt;
Foundation.&lt;br /&gt;
&lt;br /&gt;
  10. If you wish to incorporate parts of the Program into other free&lt;br /&gt;
programs whose distribution conditions are different, write to the author&lt;br /&gt;
to ask for permission.  For software which is copyrighted by the Free&lt;br /&gt;
Software Foundation, write to the Free Software Foundation; we sometimes&lt;br /&gt;
make exceptions for this.  Our decision will be guided by the two goals&lt;br /&gt;
of preserving the free status of all derivatives of our free software and&lt;br /&gt;
of promoting the sharing and reuse of software generally.&lt;br /&gt;
&lt;br /&gt;
                            NO WARRANTY&lt;br /&gt;
&lt;br /&gt;
  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY&lt;br /&gt;
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN&lt;br /&gt;
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES&lt;br /&gt;
PROVIDE THE PROGRAM &amp;quot;AS IS&amp;quot; WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED&lt;br /&gt;
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF&lt;br /&gt;
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS&lt;br /&gt;
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE&lt;br /&gt;
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,&lt;br /&gt;
REPAIR OR CORRECTION.&lt;br /&gt;
&lt;br /&gt;
  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING&lt;br /&gt;
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR&lt;br /&gt;
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,&lt;br /&gt;
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING&lt;br /&gt;
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED&lt;br /&gt;
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY&lt;br /&gt;
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER&lt;br /&gt;
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE&lt;br /&gt;
POSSIBILITY OF SUCH DAMAGES.&lt;br /&gt;
&lt;br /&gt;
                     END OF TERMS AND CONDITIONS&lt;br /&gt;
&lt;br /&gt;
            How to Apply These Terms to Your New Programs&lt;br /&gt;
&lt;br /&gt;
  If you develop a new program, and you want it to be of the greatest&lt;br /&gt;
possible use to the public, the best way to achieve this is to make it&lt;br /&gt;
free software which everyone can redistribute and change under these terms.&lt;br /&gt;
&lt;br /&gt;
  To do so, attach the following notices to the program.  It is safest&lt;br /&gt;
to attach them to the start of each source file to most effectively&lt;br /&gt;
convey the exclusion of warranty; and each file should have at least&lt;br /&gt;
the &amp;quot;copyright&amp;quot; line and a pointer to where the full notice is found.&lt;br /&gt;
&lt;br /&gt;
    {description}&lt;br /&gt;
    Copyright (C) {year}  {fullname}&lt;br /&gt;
&lt;br /&gt;
    This program is free software; you can redistribute it and/or modify&lt;br /&gt;
    it under the terms of the GNU General Public License as published by&lt;br /&gt;
    the Free Software Foundation; either version 2 of the License, or&lt;br /&gt;
    (at your option) any later version.&lt;br /&gt;
&lt;br /&gt;
    This program is distributed in the hope that it will be useful,&lt;br /&gt;
    but WITHOUT ANY WARRANTY; without even the implied warranty of&lt;br /&gt;
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the&lt;br /&gt;
    GNU General Public License for more details.&lt;br /&gt;
&lt;br /&gt;
    You should have received a copy of the GNU General Public License along&lt;br /&gt;
    with this program; if not, write to the Free Software Foundation, Inc.,&lt;br /&gt;
    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.&lt;br /&gt;
&lt;br /&gt;
Also add information on how to contact you by electronic and paper mail.&lt;br /&gt;
&lt;br /&gt;
If the program is interactive, make it output a short notice like this&lt;br /&gt;
when it starts in an interactive mode:&lt;br /&gt;
&lt;br /&gt;
    Gnomovision version 69, Copyright (C) year name of author&lt;br /&gt;
    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.&lt;br /&gt;
    This is free software, and you are welcome to redistribute it&lt;br /&gt;
    under certain conditions; type `show c' for details.&lt;br /&gt;
&lt;br /&gt;
The hypothetical commands `show w' and `show c' should show the appropriate&lt;br /&gt;
parts of the General Public License.  Of course, the commands you use may&lt;br /&gt;
be called something other than `show w' and `show c'; they could even be&lt;br /&gt;
mouse-clicks or menu items--whatever suits your program.&lt;br /&gt;
&lt;br /&gt;
You should also get your employer (if you work as a programmer) or your&lt;br /&gt;
school, if any, to sign a &amp;quot;copyright disclaimer&amp;quot; for the program, if&lt;br /&gt;
necessary.  Here is a sample; alter the names:&lt;br /&gt;
&lt;br /&gt;
  Yoyodyne, Inc., hereby disclaims all copyright interest in the program&lt;br /&gt;
  `Gnomovision' (which makes passes at compilers) written by James Hacker.&lt;br /&gt;
&lt;br /&gt;
  {signature of Ty Coon}, 1 April 1989&lt;br /&gt;
  Ty Coon, President of Vice&lt;br /&gt;
&lt;br /&gt;
This General Public License does not permit incorporating your program into&lt;br /&gt;
proprietary programs.  If your program is a subroutine library, you may&lt;br /&gt;
consider it more useful to permit linking proprietary applications with the&lt;br /&gt;
library.  If this is what you want to do, use the GNU Lesser General&lt;br /&gt;
Public License instead of this License.&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bnoffer</name></author>	</entry>

	<entry>
		<id>https://wiki.liberateos.org/index.php?title=XobotOS</id>
		<title>XobotOS</title>
		<link rel="alternate" type="text/html" href="https://wiki.liberateos.org/index.php?title=XobotOS"/>
				<updated>2017-04-23T09:05:24Z</updated>
		
		<summary type="html">&lt;p&gt;Bnoffer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This section of the LiberateOS documentation is dedicated to the foundation of our work: the XobotOS project originaly undertaken by [http://www.xamarin.com Xamarin] and [https://blog.xamarin.com/android-in-c-sharp/ released to the public] as open source in early May 2012.&lt;br /&gt;
&lt;br /&gt;
The guide presented here is based on the projects official guides posted as part of the various README files on GitHub, but the information has been updated in order to create a proper build environment. You can find a proper list of references at the end of the guide.&lt;br /&gt;
&lt;br /&gt;
== Initial Setup ==&lt;br /&gt;
&lt;br /&gt;
This guide uses Ubuntu 14.04 LTS as a starting point, we recommend setting it up in a virtual machine like Oracle VirtualBox, VMWare Workstaion/Fusion or Parallels Desktop. In the future we will be providing ready made VMs for download.&lt;br /&gt;
&lt;br /&gt;
=== VM requirements ===&lt;br /&gt;
&lt;br /&gt;
Setup a VM with the following parameters:&lt;br /&gt;
&lt;br /&gt;
* At least 2 virtual CPUs/Cores&lt;br /&gt;
* At least 6 GB RAM&lt;br /&gt;
* At least 50 GB disk space&lt;br /&gt;
&lt;br /&gt;
=== Install Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
Install Ubuntu 14.04 LTS in the i386 version. Using the 64Bit version can lead to library confusion that we want to avoid at this point.&lt;br /&gt;
&lt;br /&gt;
You can download the Network Install ISO file from [http://archive.ubuntu.com/ubuntu/dists/trusty-updates/main/installer-i386/current/images/xenial-netboot/mini.iso here] .&lt;br /&gt;
&lt;br /&gt;
We recommend installing the system in english, but with your proper keyboard layout. Follow the instructions and install the standard Desktop environment. After the initial setup make sure to install the Guest Toold for your virtual machine, so you can properly interact with the VM.&lt;br /&gt;
&lt;br /&gt;
=== Install prerequisites ===&lt;br /&gt;
&lt;br /&gt;
Open a Terminal and install the build environment dependencies.&lt;br /&gt;
&lt;br /&gt;
First we need to install Java 6. In order to do so add a ppa and execute the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo add-apt-repository ppa:webupd8team/java&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you need to install the package.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo apt-get update &amp;amp;&amp;amp; sudo apt-get install oracle-java6-installer&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Check the Java version by executing&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;java -version&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The output should look similar to this:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;java version &amp;quot;1.6.0_45&amp;quot;&lt;br /&gt;
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)&lt;br /&gt;
Java HotSpot(TM) 32-Bit Server VM (build 20.45-b01, mixed mode)&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Back to a fresh terminal prompt. Install the main build tools with this command:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;sudo apt-get install git ccache automake lzop bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 g++-multilib python-networkx libxml2-utils bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev squashfs-tools pngcrush schedtool dpkg-dev liblz4-tool make optipng libglu1-mesa-dev libfreetype6-dev&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Development environment ==&lt;br /&gt;
&lt;br /&gt;
=== Git setup ===&lt;br /&gt;
&lt;br /&gt;
First of all setup Git by executing the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;git config --global user.name &amp;quot;Your Name&amp;quot;&lt;br /&gt;
git config --global user.email &amp;quot;you@example.com&amp;quot;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace &amp;quot;Your Name&amp;quot; and &amp;quot;you@example.com&amp;quot; with your name and E-Mail address as setup on [https://github.com GitHub]. '''Note:''' No sudo this time! These settings apply to your user account directly.&lt;br /&gt;
&lt;br /&gt;
=== Install IDEs ===&lt;br /&gt;
&lt;br /&gt;
Now we have to install Eclipse:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;sudo apt-get install eclipse-cdt eclipse-jdt&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And now comes the Mono side of things, install MonoDevelop:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;sudo apt-get install monodevelop&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Install libpng14 ===&lt;br /&gt;
&lt;br /&gt;
Now that all these components are installed we have to add one additional library. XobotOS requires libpng14, but Ubuntu 14.04 LTS provides either libpng12 or libpng16, so we have to install this one manually.&lt;br /&gt;
&lt;br /&gt;
You can download the source tareball from SourceForge [https://sourceforge.net/projects/libpng/files/libpng14/1.4.20/ here] . Download the .tar.gz file and plice it into your home directory on the VM. Afterwards execute the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;sudo cp ~/libpng-1.4.20.tar.gz /usr/src&lt;br /&gt;
sudo tar zxf libpng-1.4.20.tar.gz&lt;br /&gt;
cd libpng-1.4.20&lt;br /&gt;
sudo ./configure&lt;br /&gt;
sudo make&lt;br /&gt;
sudo make install&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If everything went well calling &amp;lt;code&amp;gt;libpng-config --version&amp;lt;/code&amp;gt; should return:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;1.4.20&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Install fonts ===&lt;br /&gt;
&lt;br /&gt;
Next we need to install proper font support, first we have to install some Microsoft fonts:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;sudo apt-get install ttf-mscorefonts-installer&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Accept the end user agreement and the installer will do the rest. Then we need to add the Java 6 fonts to the system fonts. In order to do so execute the following:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;sudo mkdir -p /usr/share/fonts/truetype/ttf-lucida&lt;br /&gt;
sudo find /usr/lib*/jvm/java-*/jre/lib -iname *.ttf -print -exec ln -s {} /usr/share/fonts/truetype/ttf-lucida \;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Eclipse memory limits ===&lt;br /&gt;
&lt;br /&gt;
The last important step is to increase the memory limits for Eclipse. Open the eclipse.ini with the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo nano /etc/eclipse.ini&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At the end replace the two lines starting with &amp;lt;code&amp;gt;-Xms&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;-Xmx&amp;lt;/code&amp;gt; with the following:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;-Xms1024m&lt;br /&gt;
-Xmx2048m&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we are ready to build XobotOS!&lt;br /&gt;
&lt;br /&gt;
== Building XobotOS ==&lt;br /&gt;
&lt;br /&gt;
This section is based upon the README.build in the GitHub project.&lt;br /&gt;
&lt;br /&gt;
=== Setting things up ===&lt;br /&gt;
&lt;br /&gt;
You need to create to separate Eclipse workspaces for this and checkout the XobotOS module in each of these.&lt;br /&gt;
&lt;br /&gt;
We are using &amp;lt;code&amp;gt;~/xobotos/sharpen&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;~/xobotos/build&amp;lt;/code&amp;gt; as part of this guide. Now we will check out the project from GitHub:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;mkdir ~/xobotos&lt;br /&gt;
git clone https://github.com/LiberateOS/XobotOS.git ~/xobotos/sharpen&lt;br /&gt;
git clone https://github.com/LiberateOS/XobotOS.git ~/xobotos/build&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you start Eclipse for the first time, then it'll ask you for the workspace directory, select &amp;lt;code&amp;gt;~/xobotos/sharpen&amp;lt;/code&amp;gt;. Once it created that, you will be presented with a blank workspace.&lt;br /&gt;
&lt;br /&gt;
In Eclipse, do File / Import / General / Existing Projects into Workspace, select &amp;lt;code&amp;gt;~/xobotos/sharpen&amp;lt;/code&amp;gt; as root directory, then it should offer you to import 5 projects.  Select sharpen.core and sharpen.xobotos (sharpen.feature and sharpen.site are not used at the moment, and you do not want 'android' in this workspace).  Make sure '''not''' to copy them into the workspace, that checkbox must not be checked.&lt;br /&gt;
&lt;br /&gt;
When imported, you should see the 'sharpen.core' and 'sharpen.xobotos' projects.&lt;br /&gt;
&lt;br /&gt;
Select Project / Build automatically.&lt;br /&gt;
&lt;br /&gt;
Open sharpen.xobotos/plugin.xml.  At the top of the &amp;quot;Overview&amp;quot; tab, you should see four buttons, the leftmost of these is &amp;quot;Launch an Eclipse application&amp;quot;. Click it, and another instance of Eclipse will start.&lt;br /&gt;
&lt;br /&gt;
The first time this inferior instance of Eclipse starts up, it will automatically create a workspace. Once the workspace is loaded do the import as described above, but select the &amp;lt;code&amp;gt;~/xobotos/build/android&amp;lt;/code&amp;gt; module.&lt;br /&gt;
&lt;br /&gt;
You are now ready :-)&lt;br /&gt;
&lt;br /&gt;
You only need to follow the instructions in this section the first time that you're running this in Eclipse.  Eclipse remembers which projects you had open and your last run configuration, so when you come back, you can simply start Eclipse, then do Run / Run (or Run / Debug to debug it).&lt;br /&gt;
&lt;br /&gt;
=== Running the builder ===&lt;br /&gt;
&lt;br /&gt;
Well, that's easy.&lt;br /&gt;
&lt;br /&gt;
Simply do Project / Build, then get some coffee or take a walk .... ''(normally build automatically is active by default, so Eclipse will start building automatically)''&lt;br /&gt;
&lt;br /&gt;
Current time for a full build is about 10 minutes on my machine.&lt;br /&gt;
&lt;br /&gt;
When done, all the generated sources are placed in the output/ directory and XobotOS-debug.csproj is automatically updated. ''(for some unknown reason this is not happening, so we'll be using the XobotOS.sln instead)''&lt;br /&gt;
&lt;br /&gt;
=== Building the C# sources ===&lt;br /&gt;
&lt;br /&gt;
There is a XobotOS-debug.sln file in the top level directory (/work/test/XobotOS/XobotOS-debug.sln), simply open this in MonoDevelop or use xbuild.&lt;br /&gt;
&lt;br /&gt;
It is highly recommended to close the solution in MonoDevelop before doing a full build.&lt;br /&gt;
&lt;br /&gt;
=== Building the C# sources from GitHub ===&lt;br /&gt;
&lt;br /&gt;
You can also directly compile the C# sources from github:&lt;br /&gt;
&lt;br /&gt;
After checking out or updating, simply open XobotOS.sln in MonoDevelop.&lt;br /&gt;
&lt;br /&gt;
Note that there are two solutions:&lt;br /&gt;
&lt;br /&gt;
* XobotOS.sln uses the sources from github.&lt;br /&gt;
&lt;br /&gt;
* XobotOS-debug.sln uses the freshly convereted files from the &amp;lt;code&amp;gt;android/output&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
=== Building the samples ===&lt;br /&gt;
&lt;br /&gt;
This is a little bit complicated and still unstable, but here's how it should work:&lt;br /&gt;
&lt;br /&gt;
Before we can go ahead and build the sources we have to check the linker flag for libpng14 by calling &amp;lt;code&amp;gt;libpng-config --libs&amp;lt;/code&amp;gt;. If the result is &amp;lt;code&amp;gt;-libpng&amp;lt;/code&amp;gt; we are good to go, but most likely it will be &amp;lt;code&amp;gt;-libpng14&amp;lt;/code&amp;gt;. In case it is &amp;lt;code&amp;gt;-libpng14&amp;lt;/code&amp;gt; execute the following commands:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;cd ~/xobotos/build&lt;br /&gt;
find ./ -name '*.gyp' -exec sed -i 's/lpng/lpng14/gI' {} \;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will update all .gyp files to include libpng14 instead of the default libpng12.&lt;br /&gt;
&lt;br /&gt;
Create a directory called 'build' if it doesn't already exist, cd into that directory, then run&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;cd .. &amp;amp;&amp;amp; python gyp_xobotos&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will generate a Makefile in the build/ directory, running 'make' will build all the native Skia and Android code.&lt;br /&gt;
&lt;br /&gt;
The output gets placed in build/Debug/.&lt;br /&gt;
&lt;br /&gt;
Open XobotOS.sln or XobotOS-debug.sln in MonoDevelop (depending on whether you want to use the sources from github or the newly converted ones, see above) and build the solution.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* XobotOS README.build: https://github.com/LiberateOS/XobotOS/blob/master/README.build&lt;br /&gt;
* How to Prepare Ubuntu 14.04 LTS Trusty Tahr to Compile Android ROMs: https://forum.xda-developers.com/showthread.php?t=2639611&lt;br /&gt;
* Chromium - Linux OpenSuse Build Instructions: https://web-beta.archive.org/web/20120429103223/http://code.google.com/p/chromium/wiki/LinuxOpenSuseBuildInstructions&lt;/div&gt;</summary>
		<author><name>Bnoffer</name></author>	</entry>

	</feed>