Commit 5c865c5f6ced90e56df607e06f82c83f03fa1771

Authored by ksamak
1 parent 5d4a5cf3

refactored project structure

Showing 3273 changed files with 677314 additions and 677314 deletions   Show diff stats

Too many changes.

To preserve performance only 100 of 3273 files displayed.

AUTHORS 0 → 100644
... ... @@ -0,0 +1,129 @@
  1 +Adam Williamson <awilliam@redhat.com>
  2 +Adel Gadllah <adel.gadllah@gmail.com>
  3 +Alan Bell <alanbell@ubuntu.com>
  4 +Alan Griffiths <alan.griffiths@canonical.com>
  5 +Alan Griffiths <alan@octopull.co.uk>
  6 +Albert Astals <albert.astals@canonical.com>
  7 +Alexandros Frantzis <alexandros.frantzis@linaro.org>
  8 +Alyssa Hung <deciare@isisview.org>
  9 +Andrea Azzarone <aazarone@gmail.com>
  10 +Andrea Azzarone <azzaronea@gmail.com>
  11 +Bellegarde Cedric <gnumdk@gmail.com>
  12 +Bellegarde Cedric <gnumdk@puffy.homelinux.org>
  13 +Brandon Schaefer <brandon.schaefer@canonical.com>
  14 +Bryan Nguyen <bnguyen@nvidia.com>
  15 +Cedric <gnumdk@gmail.com>
  16 +C-F Language team <i18n@opencompositing.org>
  17 +Christopher Williams <christopherw@verizon.net>
  18 +Christopher Williams <crdlb@compiz-fusion.org>
  19 +compiz <compiz@opencompositing.org>
  20 +Compiz Fusion l10n team <i18n@opencompositing.org>
  21 +Daniel d'Andrada <daniel.dandrada@canonical.com>
  22 +Daniel Lea <danlea@gmail.com>
  23 +Daniel Nylander <po@danielnylander.se>
  24 +Daniel van Vugt <daniel.van.vugt@canonical.com>
  25 +Daniel van Vugt <vanvugt@gmail.com>
  26 +Danny Baumann <daba@mobilrechner.localdomain>
  27 +Danny Baumann <daba@rechenknecht.peppercon.de>
  28 +Danny Baumann <dannybaumann@web.de>
  29 +Dan Winship <danw@novell.com>
  30 +Dan Winship <danw@twelve-monkeys.boston.ximian.com>
  31 +David Reveman <c99drn@cs.umu.se>
  32 +David Reveman <davidr@novell.com>
  33 +Dennis Kasprzyk <onestone@beryl-project.org>
  34 +Dennis Kasprzyk <onestone@compiz-fusion.org>
  35 +Dennis Kasprzyk <onestone@opencompositing.org>
  36 +Didier Roche <didier.roche@canonical.com>
  37 +Didier Roche <didrocks@ubuntu.com>
  38 +Diogo Ferreira <diogo@underdev.org>
  39 +Dominique Leuenberger <dimstar@opensuse.org>
  40 +Dominique Leuenberger <dominique@leuenberger.net>
  41 +Dominique Leuenberger <dominique@messiah.leuenberger.net>
  42 +dragoran <drago01@gmail.com>
  43 +Eduardo Gurgel Pinho <eduardo@mad4.Chagas>
  44 +Erkin Bahceci <erkinbah@gmail.com>
  45 +Gabor Kelemen <kelemeng@ubuntu.com>
  46 +gandalfn <gandalfn@club-internet.fr>
  47 +Gerd Kohlberger <lowfi@chello.at>
  48 +Guillaume <ixcemix@gmail.com>
  49 +Guillaume Seguin <guillaume@segu.in>
  50 +G. Uitslag <klapinklapin@gmail.com>
  51 +Hu Kang <stevenhooke11@gmail.com>
  52 +Iven Hsu <ivenvd@gmail.com>
  53 +James Jones <jajones@jatest.nvidia.com>
  54 +Jason Smith <jason.smith@canonical.com>
  55 +Jay Catherwood <jay.catherwood@gmail.com>
  56 +Jeremy C. Reed <reed@reedmedia.net>
  57 +Jigish Gohil <cyberorg@opensuse.org name = Jigish Gohil>
  58 +Jigish Gohil <cyberorg@prime.cyberorg.info>
  59 +Joel Bosveld <joel.bosveld@gmail.com>
  60 +Joel Bosveld <Joel.Bosveld@gmail.com>
  61 +Julian Sikorski <lordzanon@poczta.onet.pl>
  62 +Jürgen Kreileder <jk@blackdown.de>
  63 +Jussi Pakkanen <jussi.pakkanen@canonical.com>
  64 +Keith Madill <sciso@hotmail.co.uk>
  65 +Kristian Hogsberg <krh@bitplanet.net>
  66 +Kristian Høgsberg <krh@redhat.com>
  67 +Kristian Lyngstol <kristian@beryl-project.org>
  68 +Kristian Lyngstol <kristian@bohemians.org>
  69 +Kristopher Ives <kris@leetbook2.(none)>
  70 +Kristopher Ives <kristopher.ives@gmail.com>
  71 +Lubos Lunak <llunak@novell.com>
  72 +Łukasz 'sil2100' Zemczak <lukasz.zemczak@canonical.com>
  73 +Marco Trevisan (Treviño) <mail@3v1n0.net>
  74 +Matija Skala <mskala@mail386.com>
  75 +MC Return <mc.return@gmx.net>
  76 +Michael Terry <michael.terry@canonical.com>
  77 +Michael Vogt <mvo@ubuntu.com>
  78 +Michail Bitzes <bitzesmichail>
  79 +mike@blueroot.co.uk <mike@blueroot.co.uk>
  80 +Mike Cook <mcook@novell.com>
  81 +Mike Dransfield <mike@blueroot.co.uk>
  82 +Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
  83 +Mirco Muller <macslow@bangang.de>
  84 +moppsy <moppsy@comcast.net>
  85 +Nicolas Delvaux <contact@nicolas-delvaux.org>
  86 +Nicolas Viennot <nicolas@viennot.biz>
  87 +Owen W. Taylor <otaylor@fishsoup.net>
  88 +Patrick Niklaus <marex@beryl-project.org>
  89 +Patrick Niklaus <marex@opencompositing.org>
  90 +Patrick Niklaus <patrick.niklaus@googlemail.com>
  91 +Per Wigren <per.wigren@gmail.com>
  92 +Quinn Storm <livinglatexkali@gmail.com>
  93 +Quinn Storm <quinn@quinn-laptop.(none)>
  94 +Randolph Chung <randolph@tausq.org>
  95 +Renato Araujo Oliveira Filho <renato.filho@canonical.com>
  96 +Robert Ancell <robert.ancell@canonical.com>
  97 +Robert Carr <racarr@gorbie.(none)>
  98 +Robert Carr <robb@gorbachev.(none)>
  99 +Robert M <osfan6313@gmail.com>
  100 +Robert Noland <rnoland@rnoland-ibm.acs.internap.com>
  101 +Rob Taylor <rob.taylor@codethink.co.uk>
  102 +Rock <rockbuntu@mailinator.com>
  103 +Roi Cohen <racarr@gorbie.(none)>
  104 +Roi Cohen <roico.beryl@gmail.com>
  105 +Roland Bär <roland@verifysoft.de>
  106 +Sampo555 <sampo_75@windowslive.com>
  107 +Sam Spilsbury <sam.spilsbury@canonical.com>
  108 +Sam Spilsbury <smspillaz@gmail.com>
  109 +Scott Moreau <oreaus@gmail.com>
  110 +scott <scott@box1.localdomain>
  111 +Sebasian Billaudelle <stein@cream-project.org>
  112 +Sebastien Bacher <seb128@ubuntu.com>
  113 +smspillaz <sam.spilsbury@canonical.com>
  114 +Søren Sandmann <sandmann@redhat.com>
  115 +Stephen M. Webb <stephen.webb@canonical.com>
  116 +Steven Robertson <nihilismwow@gmail.com>
  117 +Stjepan Glavina <stjepang@gmail.com>
  118 +Thierry Reding <thierry@gilfi.de>
  119 +Thomas Thurman <thomas.thurman@canonical.com>
  120 +Thomas Voß <thomas.voss@canonical.com>
  121 +Timo Jyrinki <timo.jyrinki@canonical.com>
  122 +Tim Penhey <tim.penhey@canonical.com>
  123 +Tomas Carnecky <tom@dbservice.com>
  124 +Travis Watkins <amaranth@ubuntu.com>
  125 +Ugo Riboni <ugo.riboni@canonical.com>
  126 +Unity <unity@VB-U1010.(none)>
  127 +Ville Syrjala <syrjala@sci.fi>
  128 +Zack Rusin <zack@kde.org>
  129 +Δημήτρης (djdoo) <jimdusis@yahoo.gr>
... ...
CMakeLists.txt 0 → 100644
... ... @@ -0,0 +1,236 @@
  1 +#
  2 +# Main CMakeLists.txt for compiz
  3 +#
  4 +project (compiz C CXX)
  5 +
  6 +set (CMAKE_MODULE_PATH_ORIG ${CMAKE_MODULE_PATH})
  7 +set (COMPIZ_CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
  8 +set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${COMPIZ_CMAKE_MODULE_PATH})
  9 +
  10 +include (CTest)
  11 +
  12 +set (MEMORYCHECK_COMMAND_OPTIONS --trace-children=yes)
  13 +set (MEMORYCHECK_SUPPRESSIONS_FILE ${CMAKE_SOURCE_DIR}/tests/experimental-memcheck/compiz.supp CACHE FILEPATH "" FORCE)
  14 +
  15 +include (Dart)
  16 +
  17 +# Common compiz CMake macros & functions.
  18 +include (CompizCommon)
  19 +# Packaging-specific CMake macros & functions.
  20 +include (CompizPackage)
  21 +
  22 +# GSettings schema recompilation
  23 +include (CompizGSettings)
  24 +
  25 +# Google Test and Xorg-GTest
  26 +include (XorgGTest)
  27 +
  28 +include (cmake/base.cmake)
  29 +# Check if specific function is present in library.
  30 +include (CheckFunctionExists)
  31 +
  32 +enable_testing()
  33 +
  34 +# Import macro for doing coverage reporting
  35 +include(EnableCoverageReport)
  36 +
  37 +#####################################################################
  38 +# Enable code coverage calculation with gcov/gcovr/lcov
  39 +# Usage:
  40 +# * Switch build type to coverage (use ccmake or cmake-gui)
  41 +# * Invoke make, make test, make coverage
  42 +# * Find html report in subdir coveragereport
  43 +# * Find xml report feasible for jenkins in coverage.xml
  44 +#####################################################################
  45 +IF(CMAKE_BUILD_TYPE MATCHES [cC][oO][vV][eE][rR][aA][gG][eE])
  46 + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ftest-coverage -fprofile-arcs" )
  47 + SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ftest-coverage -fprofile-arcs" )
  48 + SET(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -ftest-coverage -fprofile-arcs" )
  49 + SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -ftest-coverage -fprofile-arcs" )
  50 +ENDIF(CMAKE_BUILD_TYPE MATCHES [cC][oO][vV][eE][rR][aA][gG][eE])
  51 +
  52 +#set (CMAKE_CONFIGURATION_TYPES "Debug;Release;RelWithDebInfo;MinSizeRe" CACHE INTERNAL "" FORCE)
  53 +#if (NOT CMAKE_BUILD_TYPE)
  54 +# set (CMAKE_BUILD_TYPE "Debug" CACHE STRING "Build type (Debug/Release/RelWithDebInfo/MinSizeRe)" FORCE)
  55 +#endif (NOT CMAKE_BUILD_TYPE)
  56 +
  57 +file (READ ${CMAKE_SOURCE_DIR}/VERSION COMPIZ_RELEASE_VERSION LIMIT 12 OFFSET 0)
  58 +string (STRIP ${COMPIZ_RELEASE_VERSION} COMPIZ_RELEASE_VERSION)
  59 +
  60 +set (VERSION ${COMPIZ_RELEASE_VERSION})
  61 +
  62 +set (DECOR_INTERFACE_VERSION 20110504)
  63 +
  64 +if (COMPIZ_PACKAGING_ENABLED)
  65 + set (prefix ${CMAKE_INSTALL_PREFIX} CACHE PATH "prefix")
  66 + set (exec_prefix ${CMAKE_INSTALL_PREFIX}/bin CACHE PATH "bindir")
  67 + set (libdir ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX} CACHE PATH "libdir")
  68 + set (includedir ${CMAKE_INSTALL_PREFIX}/include CACHE PATH "includedir")
  69 + set (datadir ${CMAKE_INSTALL_PREFIX}/share CACHE PATH "datadir")
  70 +else (COMPIZ_PACKAGING_ENABLED)
  71 + set (prefix ${CMAKE_INSTALL_PREFIX} )
  72 + set (exec_prefix ${CMAKE_INSTALL_PREFIX}/bin )
  73 + set (libdir ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX})
  74 + set (includedir ${CMAKE_INSTALL_PREFIX}/include )
  75 + set (datadir ${CMAKE_INSTALL_PREFIX}/share )
  76 +endif (COMPIZ_PACKAGING_ENABLED)
  77 +
  78 +set (compiz_plugindir ${libdir}/compiz)
  79 +set (compiz_sharedir ${datadir}/compiz/)
  80 +set (compiz_metadatadir ${datadir}/compiz)
  81 +set (COMPIZ_I18N_DIR ${CMAKE_SOURCE_DIR}/po)
  82 +
  83 +# Force re-generation of uninstall script
  84 +compiz_set (_compiz_uninstall_rule_created FALSE)
  85 +
  86 +# Don't allow subdirectories to add schema recompile rule
  87 +set_property (GLOBAL
  88 + PROPERTY GSETTINGS_LOCAL_COMPILE_INHIBIT_RULE
  89 + TRUE)
  90 +set_property (GLOBAL
  91 + PROPERTY COMPIZ_INHIBIT_ADD_INSTALL_RECOMPILE_RULE
  92 + TRUE)
  93 +
  94 +# Translation
  95 +set (ALL_LINGUAS af ar bg bn bn_IN bs ca cs cy da de el en_GB en_US es eu et fi fr gl gu he hi hr hu id it ja ka km ko lo lt mk mr nb nl or pa pl pt pt_BR ro ru sk sl sr sv ta tr uk vi xh zh_CN zh_TW zu)
  96 +set (GETTEXT_PACKAGE compiz)
  97 +
  98 +set (COMPIZ_REQUIRES
  99 + x11
  100 + xext
  101 + xdamage
  102 + xcomposite
  103 + x11-xcb
  104 + xrandr
  105 + xinerama
  106 + xi
  107 + ice
  108 + sm
  109 + libxml-2.0
  110 + libxslt
  111 + glib-2.0
  112 + gio-2.0
  113 + glibmm-2.4
  114 + "libstartup-notification-1.0 >= 0.7"
  115 +)
  116 +
  117 +set (DECORATION_REQUIRES xrender)
  118 +
  119 +compiz_pkg_check_modules (COMPIZ REQUIRED ${COMPIZ_REQUIRES})
  120 +compiz_pkg_check_modules (LIBDECORATION REQUIRED ${DECORATION_REQUIRES})
  121 +
  122 +include (CompizDefaults)
  123 +
  124 +set (_compiz_package_string "Compiz ${VERSION}")
  125 +set (_compiz_package "Compiz")
  126 +
  127 +compiz_configure_file (${compiz_SOURCE_DIR}/config.h.core.in ${compiz_BINARY_DIR}/generated/config.h)
  128 +
  129 +compiz_configure_file (
  130 + ${CMAKE_SOURCE_DIR}/compiz.pc.in
  131 + ${CMAKE_BINARY_DIR}/compiz.pc
  132 + COMPIZ_REQUIRES
  133 + COMPIZ_CFLAGS
  134 +)
  135 +
  136 +install (
  137 + FILES ${CMAKE_BINARY_DIR}/compiz.pc
  138 + DESTINATION ${libdir}/pkgconfig
  139 +)
  140 +
  141 +set (COMPIZ_INTERNAL_INCLUDES
  142 + ${CMAKE_CURRENT_SOURCE_DIR}/include
  143 + ${CMAKE_CURRENT_SOURCE_DIR}/src
  144 + ${CMAKE_CURRENT_SOURCE_DIR}/src/timer/include
  145 + ${CMAKE_CURRENT_SOURCE_DIR}/src/string/include
  146 + ${CMAKE_CURRENT_SOURCE_DIR}/src/pluginclasshandler/include
  147 + ${CMAKE_CURRENT_SOURCE_DIR}/src/point/include
  148 + ${CMAKE_CURRENT_SOURCE_DIR}/src/rect/include
  149 + ${CMAKE_CURRENT_SOURCE_DIR}/src/servergrab/include
  150 + ${CMAKE_CURRENT_SOURCE_DIR}/src/region/include
  151 + ${CMAKE_CURRENT_SOURCE_DIR}/src/window/geometry/include
  152 + ${CMAKE_CURRENT_SOURCE_DIR}/src/window/geometry-saver/include
  153 + ${CMAKE_CURRENT_SOURCE_DIR}/src/window/extents/include
  154 + ${CMAKE_CURRENT_SOURCE_DIR}/src/window/constrainment/include
  155 + ${CMAKE_CURRENT_SOURCE_DIR}/src/logmessage/include)
  156 +
  157 +if (COMPIZ_BUILD_TESTING)
  158 +
  159 + include (GoogleTest)
  160 +
  161 + if (GOOGLE_TEST_AND_MOCK_FOUND)
  162 +
  163 + if (BUILD_XORG_GTEST)
  164 +
  165 + find_package (XorgGTest)
  166 +
  167 + set (COMPIZ_XORG_GTEST_DIR ${CMAKE_BINARY_DIR}/__xorg_gtest CACHE PATH "Path to Xorg GTest build dir" FORCE)
  168 + set (COMPIZ_XORG_GTEST_WRAPPER ${COMPIZ_XORG_GTEST_DIR}/xorg_gtest_wrapper CACHE PATH "Path to Xorg GTest wrapper" FORCE)
  169 +
  170 + if (XORG_GTEST_FOUND)
  171 +
  172 + build_xorg_gtest_locally (${CMAKE_BINARY_DIR}/__xorg_gtest)
  173 +
  174 + else (XORG_GTEST_FOUND)
  175 +
  176 + set (BUILD_XORG_GTEST FALSE)
  177 +
  178 + endif (XORG_GTEST_FOUND)
  179 +
  180 + endif (BUILD_XORG_GTEST)
  181 +
  182 + else (GOOGLE_TEST_AND_MOCK_FOUND)
  183 +
  184 + set (COMPIZ_BUILD_TESTING OFF CACHE BOOL "" FORCE)
  185 + set (BUILD_XORG_GTEST OFF CACHE BOOL "" FORCE)
  186 +
  187 + endif (GOOGLE_TEST_AND_MOCK_FOUND)
  188 +
  189 +else (COMPIZ_BUILD_TESTING)
  190 +
  191 + set (BUILD_XORG_GTEST OFF CACHE BOOL "" FORCE)
  192 +
  193 +endif (COMPIZ_BUILD_TESTING)
  194 +
  195 +# Add the rest of compiz
  196 +add_subdirectory (cmake)
  197 +add_subdirectory (include)
  198 +add_subdirectory (images)
  199 +add_subdirectory (libdecoration)
  200 +add_subdirectory (gtk)
  201 +add_subdirectory (kde)
  202 +add_subdirectory (po)
  203 +add_subdirectory (metadata)
  204 +add_subdirectory (src)
  205 +add_subdirectory (compizconfig)
  206 +add_subdirectory (xslt)
  207 +add_subdirectory (plugins)
  208 +add_subdirectory (tests)
  209 +
  210 +# Leave last - the cmake_install.cmake script is guaranteed
  211 +# to run in a single job, and we need to force GSettings
  212 +# schema recompilation to happen after all other install
  213 +# targets (there is no way to set install target dependencies)
  214 +# in CMake
  215 +add_subdirectory (postinst)
  216 +
  217 +compiz_ensure_linkage ()
  218 +compiz_package_generation ("Compiz")
  219 +compiz_add_uninstall ()
  220 +compiz_add_git_dist ()
  221 +compiz_add_distcheck ()
  222 +compiz_add_release ()
  223 +compiz_add_release_signoff ()
  224 +
  225 +if (COMPIZ_BUILD_TESTING)
  226 + compiz_generate_testfile_target ()
  227 +endif (COMPIZ_BUILD_TESTING)
  228 +
  229 +_print_configure_results ()
  230 +
  231 +_check_compiz_cmake_macro (${CMAKE_MODULE_PATH_ORIG})
  232 +
  233 +# Enable coverage reporting for compiz
  234 +compiz_generate_coverage_report()
  235 +
  236 +
... ...
COPYING 0 → 100644
... ... @@ -0,0 +1,6 @@
  1 +Most of the code is MIT licensed, some code is instead licensed
  2 +under the LGPL and some under the GPL. Each source code file
  3 +contain a header that describes the license for the code in that
  4 +specific file.
  5 +
  6 +For More information see COPYING.GPL, COPYING.LGPL and COPYING.MIT.
... ...
COPYING.GPL 0 → 100644
... ... @@ -0,0 +1,340 @@
  1 + GNU GENERAL PUBLIC LICENSE
  2 + Version 2, June 1991
  3 +
  4 + Copyright (C) 1989, 1991 Free Software Foundation, Inc.
  5 + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  6 + Everyone is permitted to copy and distribute verbatim copies
  7 + of this license document, but changing it is not allowed.
  8 +
  9 + Preamble
  10 +
  11 + The licenses for most software are designed to take away your
  12 +freedom to share and change it. By contrast, the GNU General Public
  13 +License is intended to guarantee your freedom to share and change free
  14 +software--to make sure the software is free for all its users. This
  15 +General Public License applies to most of the Free Software
  16 +Foundation's software and to any other program whose authors commit to
  17 +using it. (Some other Free Software Foundation software is covered by
  18 +the GNU Library General Public License instead.) You can apply it to
  19 +your programs, too.
  20 +
  21 + When we speak of free software, we are referring to freedom, not
  22 +price. Our General Public Licenses are designed to make sure that you
  23 +have the freedom to distribute copies of free software (and charge for
  24 +this service if you wish), that you receive source code or can get it
  25 +if you want it, that you can change the software or use pieces of it
  26 +in new free programs; and that you know you can do these things.
  27 +
  28 + To protect your rights, we need to make restrictions that forbid
  29 +anyone to deny you these rights or to ask you to surrender the rights.
  30 +These restrictions translate to certain responsibilities for you if you
  31 +distribute copies of the software, or if you modify it.
  32 +
  33 + For example, if you distribute copies of such a program, whether
  34 +gratis or for a fee, you must give the recipients all the rights that
  35 +you have. You must make sure that they, too, receive or can get the
  36 +source code. And you must show them these terms so they know their
  37 +rights.
  38 +
  39 + We protect your rights with two steps: (1) copyright the software, and
  40 +(2) offer you this license which gives you legal permission to copy,
  41 +distribute and/or modify the software.
  42 +
  43 + Also, for each author's protection and ours, we want to make certain
  44 +that everyone understands that there is no warranty for this free
  45 +software. If the software is modified by someone else and passed on, we
  46 +want its recipients to know that what they have is not the original, so
  47 +that any problems introduced by others will not reflect on the original
  48 +authors' reputations.
  49 +
  50 + Finally, any free program is threatened constantly by software
  51 +patents. We wish to avoid the danger that redistributors of a free
  52 +program will individually obtain patent licenses, in effect making the
  53 +program proprietary. To prevent this, we have made it clear that any
  54 +patent must be licensed for everyone's free use or not licensed at all.
  55 +
  56 + The precise terms and conditions for copying, distribution and
  57 +modification follow.
  58 +
  59 + GNU GENERAL PUBLIC LICENSE
  60 + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  61 +
  62 + 0. This License applies to any program or other work which contains
  63 +a notice placed by the copyright holder saying it may be distributed
  64 +under the terms of this General Public License. The "Program", below,
  65 +refers to any such program or work, and a "work based on the Program"
  66 +means either the Program or any derivative work under copyright law:
  67 +that is to say, a work containing the Program or a portion of it,
  68 +either verbatim or with modifications and/or translated into another
  69 +language. (Hereinafter, translation is included without limitation in
  70 +the term "modification".) Each licensee is addressed as "you".
  71 +
  72 +Activities other than copying, distribution and modification are not
  73 +covered by this License; they are outside its scope. The act of
  74 +running the Program is not restricted, and the output from the Program
  75 +is covered only if its contents constitute a work based on the
  76 +Program (independent of having been made by running the Program).
  77 +Whether that is true depends on what the Program does.
  78 +
  79 + 1. You may copy and distribute verbatim copies of the Program's
  80 +source code as you receive it, in any medium, provided that you
  81 +conspicuously and appropriately publish on each copy an appropriate
  82 +copyright notice and disclaimer of warranty; keep intact all the
  83 +notices that refer to this License and to the absence of any warranty;
  84 +and give any other recipients of the Program a copy of this License
  85 +along with the Program.
  86 +
  87 +You may charge a fee for the physical act of transferring a copy, and
  88 +you may at your option offer warranty protection in exchange for a fee.
  89 +
  90 + 2. You may modify your copy or copies of the Program or any portion
  91 +of it, thus forming a work based on the Program, and copy and
  92 +distribute such modifications or work under the terms of Section 1
  93 +above, provided that you also meet all of these conditions:
  94 +
  95 + a) You must cause the modified files to carry prominent notices
  96 + stating that you changed the files and the date of any change.
  97 +
  98 + b) You must cause any work that you distribute or publish, that in
  99 + whole or in part contains or is derived from the Program or any
  100 + part thereof, to be licensed as a whole at no charge to all third
  101 + parties under the terms of this License.
  102 +
  103 + c) If the modified program normally reads commands interactively
  104 + when run, you must cause it, when started running for such
  105 + interactive use in the most ordinary way, to print or display an
  106 + announcement including an appropriate copyright notice and a
  107 + notice that there is no warranty (or else, saying that you provide
  108 + a warranty) and that users may redistribute the program under
  109 + these conditions, and telling the user how to view a copy of this
  110 + License. (Exception: if the Program itself is interactive but
  111 + does not normally print such an announcement, your work based on
  112 + the Program is not required to print an announcement.)
  113 +
  114 +These requirements apply to the modified work as a whole. If
  115 +identifiable sections of that work are not derived from the Program,
  116 +and can be reasonably considered independent and separate works in
  117 +themselves, then this License, and its terms, do not apply to those
  118 +sections when you distribute them as separate works. But when you
  119 +distribute the same sections as part of a whole which is a work based
  120 +on the Program, the distribution of the whole must be on the terms of
  121 +this License, whose permissions for other licensees extend to the
  122 +entire whole, and thus to each and every part regardless of who wrote it.
  123 +
  124 +Thus, it is not the intent of this section to claim rights or contest
  125 +your rights to work written entirely by you; rather, the intent is to
  126 +exercise the right to control the distribution of derivative or
  127 +collective works based on the Program.
  128 +
  129 +In addition, mere aggregation of another work not based on the Program
  130 +with the Program (or with a work based on the Program) on a volume of
  131 +a storage or distribution medium does not bring the other work under
  132 +the scope of this License.
  133 +
  134 + 3. You may copy and distribute the Program (or a work based on it,
  135 +under Section 2) in object code or executable form under the terms of
  136 +Sections 1 and 2 above provided that you also do one of the following:
  137 +
  138 + a) Accompany it with the complete corresponding machine-readable
  139 + source code, which must be distributed under the terms of Sections
  140 + 1 and 2 above on a medium customarily used for software interchange; or,
  141 +
  142 + b) Accompany it with a written offer, valid for at least three
  143 + years, to give any third party, for a charge no more than your
  144 + cost of physically performing source distribution, a complete
  145 + machine-readable copy of the corresponding source code, to be
  146 + distributed under the terms of Sections 1 and 2 above on a medium
  147 + customarily used for software interchange; or,
  148 +
  149 + c) Accompany it with the information you received as to the offer
  150 + to distribute corresponding source code. (This alternative is
  151 + allowed only for noncommercial distribution and only if you
  152 + received the program in object code or executable form with such
  153 + an offer, in accord with Subsection b above.)
  154 +
  155 +The source code for a work means the preferred form of the work for
  156 +making modifications to it. For an executable work, complete source
  157 +code means all the source code for all modules it contains, plus any
  158 +associated interface definition files, plus the scripts used to
  159 +control compilation and installation of the executable. However, as a
  160 +special exception, the source code distributed need not include
  161 +anything that is normally distributed (in either source or binary
  162 +form) with the major components (compiler, kernel, and so on) of the
  163 +operating system on which the executable runs, unless that component
  164 +itself accompanies the executable.
  165 +
  166 +If distribution of executable or object code is made by offering
  167 +access to copy from a designated place, then offering equivalent
  168 +access to copy the source code from the same place counts as
  169 +distribution of the source code, even though third parties are not
  170 +compelled to copy the source along with the object code.
  171 +
  172 + 4. You may not copy, modify, sublicense, or distribute the Program
  173 +except as expressly provided under this License. Any attempt
  174 +otherwise to copy, modify, sublicense or distribute the Program is
  175 +void, and will automatically terminate your rights under this License.
  176 +However, parties who have received copies, or rights, from you under
  177 +this License will not have their licenses terminated so long as such
  178 +parties remain in full compliance.
  179 +
  180 + 5. You are not required to accept this License, since you have not