1.1 --- a/PKG-INFO Sun Jun 07 17:28:16 2009 +0200
1.2 +++ b/PKG-INFO Sun Jun 21 22:47:11 2009 +0200
1.3 @@ -1,14 +1,14 @@
1.4 Metadata-Version: 1.1
1.5 Name: desktop
1.6 -Version: 0.3.1
1.7 +Version: 0.4
1.8 Author: Paul Boddie
1.9 Author-email: paul at boddie org uk
1.10 Maintainer: Paul Boddie
1.11 Maintainer-email: paul at boddie org uk
1.12 -Home-page: http://bugs.python.org/issue1301512
1.13 -Download-url: http://www.boddie.org.uk/python/downloads/desktop-0.3.1.tar.gz
1.14 +Home-page: http://www.python.org/pypi/desktop
1.15 +Download-url: http://www.boddie.org.uk/python/downloads/desktop-0.4.tar.gz
1.16 Summary: Simple desktop integration for Python
1.17 -License: LGPL
1.18 +License: LGPLv3
1.19 Description: Desktop environment detection, inspection; support for opening dialogues and resources.
1.20 A selection of common and standardised desktop environments are supported.
1.21 Keywords: desktop startfile DESKTOP_LAUNCH KDE GNOME XFCE XFCE4 dialog kdialog zenity Xdialog X11
2.1 --- a/README.txt Sun Jun 07 17:28:16 2009 +0200
2.2 +++ b/README.txt Sun Jun 21 22:47:11 2009 +0200
2.3 @@ -1,12 +1,29 @@
2.4 Introduction
2.5 ------------
2.6
2.7 -The desktop module provides desktop environment detection and resource opening
2.8 -support for a selection of common and standardised desktop environments. See
2.9 -the module docstring for a more extensive introduction. See also the following
2.10 -patch registered in the Python SourceForge project:
2.11 +The desktop package provides desktop environment detection and resource
2.12 +opening support for a selection of common and standardised desktop
2.13 +environments.
2.14
2.15 -http://www.python.org/sf?id=1301512
2.16 +Currently, in Python's standard library, there is apparently no coherent,
2.17 +cross-platform way of getting the user's environment to "open" files or
2.18 +resources (showing such files in browsers or editors, for example) when
2.19 +requested by a Python program. There is an os.startfile function which works
2.20 +for Windows, but no equivalent function for other desktop environments - the
2.21 +webbrowser module seems to employ alternative mechanisms in choosing and
2.22 +running external programs and presumably does not seek to provide general
2.23 +support for non-URL resources anyway.
2.24 +
2.25 +Since desktop environments like KDE and GNOME provide mechanisms for running
2.26 +browsers and editors according to the identified type of a file or resource,
2.27 +just as Windows "runs" files or resources, it is appropriate to have a module
2.28 +which accesses these mechanisms. It is this kind of functionality that the
2.29 +desktop package aims to support. Note that this approach is arguably better
2.30 +than that employed by the webbrowser module since most desktop environments
2.31 +already provide mechanisms for configuring and choosing the user's preferred
2.32 +programs for various activities, whereas the webbrowser module makes
2.33 +relatively uninformed guesses (for example, opening Firefox on a KDE desktop
2.34 +configured to use Konqueror as the default browser).
2.35
2.36 Some ideas for desktop detection (XFCE) and URL opening (XFCE, X11) were
2.37 obtained from the xdg-utils project which seeks to implement programs
2.38 @@ -27,7 +44,7 @@
2.39 paul@boddie.org.uk
2.40
2.41 Copyright and licence information can be found in the docs directory - see
2.42 -docs/COPYING.txt and docs/LICENCE.txt for more information.
2.43 +docs/COPYING.txt, docs/lgpl-3.0.txt and docs/gpl-3.0.txt for more information.
2.44
2.45 Notes
2.46 -----
2.47 @@ -45,11 +62,12 @@
2.48 ROX-Filer Supports file opening using "rox <filename>" but not URL
2.49 opening.
2.50
2.51 -New in desktop 0.3.1 (Changes since desktop 0.3)
2.52 -------------------------------------------------
2.53 +New in desktop 0.4 (Changes since desktop 0.3)
2.54 +----------------------------------------------
2.55
2.56 * Improved docstrings.
2.57 * Fixed support for examining the root window.
2.58 + * Changed the licence to the LGPL version 3 (or later).
2.59
2.60 New in desktop 0.3 (Changes since desktop 0.2.4)
2.61 ------------------------------------------------
2.62 @@ -109,6 +127,8 @@
2.63 Debian tools happy:
2.64
2.65 ln -s packages/ubuntu-hoary/python2.4-desktop/debian/
2.66 + ln -s packages/ubuntu-feisty/python-desktop/debian/
2.67 + ln -s packages/ubuntu-hardy/python-desktop/debian/
2.68
2.69 3. Run the package builder:
2.70
3.1 --- a/desktop/__init__.py Sun Jun 07 17:28:16 2009 +0200
3.2 +++ b/desktop/__init__.py Sun Jun 21 22:47:11 2009 +0200
3.3 @@ -5,21 +5,20 @@
3.4 detection and resource opening support for a selection of common and
3.5 standardised desktop environments.
3.6
3.7 -Copyright (C) 2005, 2006, 2007, 2008 Paul Boddie <paul@boddie.org.uk>
3.8 +Copyright (C) 2005, 2006, 2007, 2008, 2009 Paul Boddie <paul@boddie.org.uk>
3.9
3.10 -This library is free software; you can redistribute it and/or
3.11 -modify it under the terms of the GNU Lesser General Public
3.12 -License as published by the Free Software Foundation; either
3.13 -version 2.1 of the License, or (at your option) any later version.
3.14 +This program is free software; you can redistribute it and/or modify it under
3.15 +the terms of the GNU Lesser General Public License as published by the Free
3.16 +Software Foundation; either version 3 of the License, or (at your option) any
3.17 +later version.
3.18
3.19 -This library is distributed in the hope that it will be useful,
3.20 -but WITHOUT ANY WARRANTY; without even the implied warranty of
3.21 -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
3.22 -Lesser General Public License for more details.
3.23 +This program is distributed in the hope that it will be useful, but WITHOUT
3.24 +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
3.25 +FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
3.26 +details.
3.27
3.28 -You should have received a copy of the GNU Lesser General Public
3.29 -License along with this library; if not, write to the Free Software
3.30 -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
3.31 +You should have received a copy of the GNU Lesser General Public License along
3.32 +with this program. If not, see <http://www.gnu.org/licenses/>.
3.33
3.34 --------
3.35
3.36 @@ -74,7 +73,7 @@
3.37 The desktop.windows module permits the inspection of desktop windows.
3.38 """
3.39
3.40 -__version__ = "0.3.1"
3.41 +__version__ = "0.4"
3.42
3.43 import os
3.44 import sys
4.1 --- a/desktop/dialog.py Sun Jun 07 17:28:16 2009 +0200
4.2 +++ b/desktop/dialog.py Sun Jun 21 22:47:11 2009 +0200
4.3 @@ -3,21 +3,20 @@
4.4 """
4.5 Simple desktop dialogue box support for Python.
4.6
4.7 -Copyright (C) 2007 Paul Boddie <paul@boddie.org.uk>
4.8 +Copyright (C) 2007, 2009 Paul Boddie <paul@boddie.org.uk>
4.9
4.10 -This library is free software; you can redistribute it and/or
4.11 -modify it under the terms of the GNU Lesser General Public
4.12 -License as published by the Free Software Foundation; either
4.13 -version 2.1 of the License, or (at your option) any later version.
4.14 +This program is free software; you can redistribute it and/or modify it under
4.15 +the terms of the GNU Lesser General Public License as published by the Free
4.16 +Software Foundation; either version 3 of the License, or (at your option) any
4.17 +later version.
4.18
4.19 -This library is distributed in the hope that it will be useful,
4.20 -but WITHOUT ANY WARRANTY; without even the implied warranty of
4.21 -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
4.22 -Lesser General Public License for more details.
4.23 +This program is distributed in the hope that it will be useful, but WITHOUT
4.24 +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
4.25 +FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
4.26 +details.
4.27
4.28 -You should have received a copy of the GNU Lesser General Public
4.29 -License along with this library; if not, write to the Free Software
4.30 -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
4.31 +You should have received a copy of the GNU Lesser General Public License along
4.32 +with this program. If not, see <http://www.gnu.org/licenses/>.
4.33
4.34 --------
4.35
5.1 --- a/desktop/windows.py Sun Jun 07 17:28:16 2009 +0200
5.2 +++ b/desktop/windows.py Sun Jun 21 22:47:11 2009 +0200
5.3 @@ -5,19 +5,18 @@
5.4
5.5 Copyright (C) 2007, 2008, 2009 Paul Boddie <paul@boddie.org.uk>
5.6
5.7 -This library is free software; you can redistribute it and/or
5.8 -modify it under the terms of the GNU Lesser General Public
5.9 -License as published by the Free Software Foundation; either
5.10 -version 2.1 of the License, or (at your option) any later version.
5.11 +This program is free software; you can redistribute it and/or modify it under
5.12 +the terms of the GNU Lesser General Public License as published by the Free
5.13 +Software Foundation; either version 3 of the License, or (at your option) any
5.14 +later version.
5.15
5.16 -This library is distributed in the hope that it will be useful,
5.17 -but WITHOUT ANY WARRANTY; without even the implied warranty of
5.18 -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
5.19 -Lesser General Public License for more details.
5.20 +This program is distributed in the hope that it will be useful, but WITHOUT
5.21 +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
5.22 +FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
5.23 +details.
5.24
5.25 -You should have received a copy of the GNU Lesser General Public
5.26 -License along with this library; if not, write to the Free Software
5.27 -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
5.28 +You should have received a copy of the GNU Lesser General Public License along
5.29 +with this program. If not, see <http://www.gnu.org/licenses/>.
5.30
5.31 --------
5.32
6.1 --- a/docs/COPYING.txt Sun Jun 07 17:28:16 2009 +0200
6.2 +++ b/docs/COPYING.txt Sun Jun 21 22:47:11 2009 +0200
6.3 @@ -1,18 +1,17 @@
6.4 Licence Agreement for desktop
6.5 -----------------------------
6.6
6.7 -Copyright (C) 2005, 2006, 2007, 2008 Paul Boddie <paul@boddie.org.uk>
6.8 +Copyright (C) 2005, 2006, 2007, 2008, 2009 Paul Boddie <paul@boddie.org.uk>
6.9
6.10 -This library is free software; you can redistribute it and/or
6.11 -modify it under the terms of the GNU Lesser General Public
6.12 -License as published by the Free Software Foundation; either
6.13 -version 2.1 of the License, or (at your option) any later version.
6.14 +This program is free software; you can redistribute it and/or modify it under
6.15 +the terms of the GNU Lesser General Public License as published by the Free
6.16 +Software Foundation; either version 3 of the License, or (at your option) any
6.17 +later version.
6.18
6.19 -This library is distributed in the hope that it will be useful,
6.20 -but WITHOUT ANY WARRANTY; without even the implied warranty of
6.21 -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
6.22 -Lesser General Public License for more details.
6.23 +This program is distributed in the hope that it will be useful, but WITHOUT
6.24 +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
6.25 +FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
6.26 +details.
6.27
6.28 -You should have received a copy of the GNU Lesser General Public
6.29 -License along with this library; if not, write to the Free Software
6.30 -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
6.31 +You should have received a copy of the GNU Lesser General Public License along
6.32 +with this program. If not, see <http://www.gnu.org/licenses/>.
7.1 --- a/docs/LICENCE.txt Sun Jun 07 17:28:16 2009 +0200
7.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
7.3 @@ -1,458 +0,0 @@
7.4 - GNU LESSER GENERAL PUBLIC LICENSE
7.5 - Version 2.1, February 1999
7.6 -
7.7 - Copyright (C) 1991, 1999 Free Software Foundation, Inc.
7.8 - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
7.9 - Everyone is permitted to copy and distribute verbatim copies
7.10 - of this license document, but changing it is not allowed.
7.11 -
7.12 -[This is the first released version of the Lesser GPL. It also counts
7.13 - as the successor of the GNU Library Public License, version 2, hence
7.14 - the version number 2.1.]
7.15 -
7.16 - Preamble
7.17 -
7.18 - The licenses for most software are designed to take away your
7.19 -freedom to share and change it. By contrast, the GNU General Public
7.20 -Licenses are intended to guarantee your freedom to share and change
7.21 -free software--to make sure the software is free for all its users.
7.22 -
7.23 - This license, the Lesser General Public License, applies to some
7.24 -specially designated software packages--typically libraries--of the
7.25 -Free Software Foundation and other authors who decide to use it. You
7.26 -can use it too, but we suggest you first think carefully about whether
7.27 -this license or the ordinary General Public License is the better
7.28 -strategy to use in any particular case, based on the explanations below.
7.29 -
7.30 - When we speak of free software, we are referring to freedom of use,
7.31 -not price. Our General Public Licenses are designed to make sure that
7.32 -you have the freedom to distribute copies of free software (and charge
7.33 -for this service if you wish); that you receive source code or can get
7.34 -it if you want it; that you can change the software and use pieces of
7.35 -it in new free programs; and that you are informed that you can do
7.36 -these things.
7.37 -
7.38 - To protect your rights, we need to make restrictions that forbid
7.39 -distributors to deny you these rights or to ask you to surrender these
7.40 -rights. These restrictions translate to certain responsibilities for
7.41 -you if you distribute copies of the library or if you modify it.
7.42 -
7.43 - For example, if you distribute copies of the library, whether gratis
7.44 -or for a fee, you must give the recipients all the rights that we gave
7.45 -you. You must make sure that they, too, receive or can get the source
7.46 -code. If you link other code with the library, you must provide
7.47 -complete object files to the recipients, so that they can relink them
7.48 -with the library after making changes to the library and recompiling
7.49 -it. And you must show them these terms so they know their rights.
7.50 -
7.51 - We protect your rights with a two-step method: (1) we copyright the
7.52 -library, and (2) we offer you this license, which gives you legal
7.53 -permission to copy, distribute and/or modify the library.
7.54 -
7.55 - To protect each distributor, we want to make it very clear that
7.56 -there is no warranty for the free library. Also, if the library is
7.57 -modified by someone else and passed on, the recipients should know
7.58 -that what they have is not the original version, so that the original
7.59 -author's reputation will not be affected by problems that might be
7.60 -introduced by others.
7.61 -
7.62 - Finally, software patents pose a constant threat to the existence of
7.63 -any free program. We wish to make sure that a company cannot
7.64 -effectively restrict the users of a free program by obtaining a
7.65 -restrictive license from a patent holder. Therefore, we insist that
7.66 -any patent license obtained for a version of the library must be
7.67 -consistent with the full freedom of use specified in this license.
7.68 -
7.69 - Most GNU software, including some libraries, is covered by the
7.70 -ordinary GNU General Public License. This license, the GNU Lesser
7.71 -General Public License, applies to certain designated libraries, and
7.72 -is quite different from the ordinary General Public License. We use
7.73 -this license for certain libraries in order to permit linking those
7.74 -libraries into non-free programs.
7.75 -
7.76 - When a program is linked with a library, whether statically or using
7.77 -a shared library, the combination of the two is legally speaking a
7.78 -combined work, a derivative of the original library. The ordinary
7.79 -General Public License therefore permits such linking only if the
7.80 -entire combination fits its criteria of freedom. The Lesser General
7.81 -Public License permits more lax criteria for linking other code with
7.82 -the library.
7.83 -
7.84 - We call this license the "Lesser" General Public License because it
7.85 -does Less to protect the user's freedom than the ordinary General
7.86 -Public License. It also provides other free software developers Less
7.87 -of an advantage over competing non-free programs. These disadvantages
7.88 -are the reason we use the ordinary General Public License for many
7.89 -libraries. However, the Lesser license provides advantages in certain
7.90 -special circumstances.
7.91 -
7.92 - For example, on rare occasions, there may be a special need to
7.93 -encourage the widest possible use of a certain library, so that it becomes
7.94 -a de-facto standard. To achieve this, non-free programs must be
7.95 -allowed to use the library. A more frequent case is that a free
7.96 -library does the same job as widely used non-free libraries. In this
7.97 -case, there is little to gain by limiting the free library to free
7.98 -software only, so we use the Lesser General Public License.
7.99 -
7.100 - In other cases, permission to use a particular library in non-free
7.101 -programs enables a greater number of people to use a large body of
7.102 -free software. For example, permission to use the GNU C Library in
7.103 -non-free programs enables many more people to use the whole GNU
7.104 -operating system, as well as its variant, the GNU/Linux operating
7.105 -system.
7.106 -
7.107 - Although the Lesser General Public License is Less protective of the
7.108 -users' freedom, it does ensure that the user of a program that is
7.109 -linked with the Library has the freedom and the wherewithal to run
7.110 -that program using a modified version of the Library.
7.111 -
7.112 - The precise terms and conditions for copying, distribution and
7.113 -modification follow. Pay close attention to the difference between a
7.114 -"work based on the library" and a "work that uses the library". The
7.115 -former contains code derived from the library, whereas the latter must
7.116 -be combined with the library in order to run.
7.117 -
7.118 - GNU LESSER GENERAL PUBLIC LICENSE
7.119 - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
7.120 -
7.121 - 0. This License Agreement applies to any software library or other
7.122 -program which contains a notice placed by the copyright holder or
7.123 -other authorized party saying it may be distributed under the terms of
7.124 -this Lesser General Public License (also called "this License").
7.125 -Each licensee is addressed as "you".
7.126 -
7.127 - A "library" means a collection of software functions and/or data
7.128 -prepared so as to be conveniently linked with application programs
7.129 -(which use some of those functions and data) to form executables.
7.130 -
7.131 - The "Library", below, refers to any such software library or work
7.132 -which has been distributed under these terms. A "work based on the
7.133 -Library" means either the Library or any derivative work under
7.134 -copyright law: that is to say, a work containing the Library or a
7.135 -portion of it, either verbatim or with modifications and/or translated
7.136 -straightforwardly into another language. (Hereinafter, translation is
7.137 -included without limitation in the term "modification".)
7.138 -
7.139 - "Source code" for a work means the preferred form of the work for
7.140 -making modifications to it. For a library, complete source code means
7.141 -all the source code for all modules it contains, plus any associated
7.142 -interface definition files, plus the scripts used to control compilation
7.143 -and installation of the library.
7.144 -
7.145 - Activities other than copying, distribution and modification are not
7.146 -covered by this License; they are outside its scope. The act of
7.147 -running a program using the Library is not restricted, and output from
7.148 -such a program is covered only if its contents constitute a work based
7.149 -on the Library (independent of the use of the Library in a tool for
7.150 -writing it). Whether that is true depends on what the Library does
7.151 -and what the program that uses the Library does.
7.152 -
7.153 - 1. You may copy and distribute verbatim copies of the Library's
7.154 -complete source code as you receive it, in any medium, provided that
7.155 -you conspicuously and appropriately publish on each copy an
7.156 -appropriate copyright notice and disclaimer of warranty; keep intact
7.157 -all the notices that refer to this License and to the absence of any
7.158 -warranty; and distribute a copy of this License along with the
7.159 -Library.
7.160 -
7.161 - You may charge a fee for the physical act of transferring a copy,
7.162 -and you may at your option offer warranty protection in exchange for a
7.163 -fee.
7.164 -
7.165 - 2. You may modify your copy or copies of the Library or any portion
7.166 -of it, thus forming a work based on the Library, and copy and
7.167 -distribute such modifications or work under the terms of Section 1
7.168 -above, provided that you also meet all of these conditions:
7.169 -
7.170 - a) The modified work must itself be a software library.
7.171 -
7.172 - b) You must cause the files modified to carry prominent notices
7.173 - stating that you changed the files and the date of any change.
7.174 -
7.175 - c) You must cause the whole of the work to be licensed at no
7.176 - charge to all third parties under the terms of this License.
7.177 -
7.178 - d) If a facility in the modified Library refers to a function or a
7.179 - table of data to be supplied by an application program that uses
7.180 - the facility, other than as an argument passed when the facility
7.181 - is invoked, then you must make a good faith effort to ensure that,
7.182 - in the event an application does not supply such function or
7.183 - table, the facility still operates, and performs whatever part of
7.184 - its purpose remains meaningful.
7.185 -
7.186 - (For example, a function in a library to compute square roots has
7.187 - a purpose that is entirely well-defined independent of the
7.188 - application. Therefore, Subsection 2d requires that any
7.189 - application-supplied function or table used by this function must
7.190 - be optional: if the application does not supply it, the square
7.191 - root function must still compute square roots.)
7.192 -
7.193 -These requirements apply to the modified work as a whole. If
7.194 -identifiable sections of that work are not derived from the Library,
7.195 -and can be reasonably considered independent and separate works in
7.196 -themselves, then this License, and its terms, do not apply to those
7.197 -sections when you distribute them as separate works. But when you
7.198 -distribute the same sections as part of a whole which is a work based
7.199 -on the Library, the distribution of the whole must be on the terms of
7.200 -this License, whose permissions for other licensees extend to the
7.201 -entire whole, and thus to each and every part regardless of who wrote
7.202 -it.
7.203 -
7.204 -Thus, it is not the intent of this section to claim rights or contest
7.205 -your rights to work written entirely by you; rather, the intent is to
7.206 -exercise the right to control the distribution of derivative or
7.207 -collective works based on the Library.
7.208 -
7.209 -In addition, mere aggregation of another work not based on the Library
7.210 -with the Library (or with a work based on the Library) on a volume of
7.211 -a storage or distribution medium does not bring the other work under
7.212 -the scope of this License.
7.213 -
7.214 - 3. You may opt to apply the terms of the ordinary GNU General Public
7.215 -License instead of this License to a given copy of the Library. To do
7.216 -this, you must alter all the notices that refer to this License, so
7.217 -that they refer to the ordinary GNU General Public License, version 2,
7.218 -instead of to this License. (If a newer version than version 2 of the
7.219 -ordinary GNU General Public License has appeared, then you can specify
7.220 -that version instead if you wish.) Do not make any other change in
7.221 -these notices.
7.222 -
7.223 - Once this change is made in a given copy, it is irreversible for
7.224 -that copy, so the ordinary GNU General Public License applies to all
7.225 -subsequent copies and derivative works made from that copy.
7.226 -
7.227 - This option is useful when you wish to copy part of the code of
7.228 -the Library into a program that is not a library.
7.229 -
7.230 - 4. You may copy and distribute the Library (or a portion or
7.231 -derivative of it, under Section 2) in object code or executable form
7.232 -under the terms of Sections 1 and 2 above provided that you accompany
7.233 -it with the complete corresponding machine-readable source code, which
7.234 -must be distributed under the terms of Sections 1 and 2 above on a
7.235 -medium customarily used for software interchange.
7.236 -
7.237 - If distribution of object code is made by offering access to copy
7.238 -from a designated place, then offering equivalent access to copy the
7.239 -source code from the same place satisfies the requirement to
7.240 -distribute the source code, even though third parties are not
7.241 -compelled to copy the source along with the object code.
7.242 -
7.243 - 5. A program that contains no derivative of any portion of the
7.244 -Library, but is designed to work with the Library by being compiled or
7.245 -linked with it, is called a "work that uses the Library". Such a
7.246 -work, in isolation, is not a derivative work of the Library, and
7.247 -therefore falls outside the scope of this License.
7.248 -
7.249 - However, linking a "work that uses the Library" with the Library
7.250 -creates an executable that is a derivative of the Library (because it
7.251 -contains portions of the Library), rather than a "work that uses the
7.252 -library". The executable is therefore covered by this License.
7.253 -Section 6 states terms for distribution of such executables.
7.254 -
7.255 - When a "work that uses the Library" uses material from a header file
7.256 -that is part of the Library, the object code for the work may be a
7.257 -derivative work of the Library even though the source code is not.
7.258 -Whether this is true is especially significant if the work can be
7.259 -linked without the Library, or if the work is itself a library. The
7.260 -threshold for this to be true is not precisely defined by law.
7.261 -
7.262 - If such an object file uses only numerical parameters, data
7.263 -structure layouts and accessors, and small macros and small inline
7.264 -functions (ten lines or less in length), then the use of the object
7.265 -file is unrestricted, regardless of whether it is legally a derivative
7.266 -work. (Executables containing this object code plus portions of the
7.267 -Library will still fall under Section 6.)
7.268 -
7.269 - Otherwise, if the work is a derivative of the Library, you may
7.270 -distribute the object code for the work under the terms of Section 6.
7.271 -Any executables containing that work also fall under Section 6,
7.272 -whether or not they are linked directly with the Library itself.
7.273 -
7.274 - 6. As an exception to the Sections above, you may also combine or
7.275 -link a "work that uses the Library" with the Library to produce a
7.276 -work containing portions of the Library, and distribute that work
7.277 -under terms of your choice, provided that the terms permit
7.278 -modification of the work for the customer's own use and reverse
7.279 -engineering for debugging such modifications.
7.280 -
7.281 - You must give prominent notice with each copy of the work that the
7.282 -Library is used in it and that the Library and its use are covered by
7.283 -this License. You must supply a copy of this License. If the work
7.284 -during execution displays copyright notices, you must include the
7.285 -copyright notice for the Library among them, as well as a reference
7.286 -directing the user to the copy of this License. Also, you must do one
7.287 -of these things:
7.288 -
7.289 - a) Accompany the work with the complete corresponding
7.290 - machine-readable source code for the Library including whatever
7.291 - changes were used in the work (which must be distributed under
7.292 - Sections 1 and 2 above); and, if the work is an executable linked
7.293 - with the Library, with the complete machine-readable "work that
7.294 - uses the Library", as object code and/or source code, so that the
7.295 - user can modify the Library and then relink to produce a modified
7.296 - executable containing the modified Library. (It is understood
7.297 - that the user who changes the contents of definitions files in the
7.298 - Library will not necessarily be able to recompile the application
7.299 - to use the modified definitions.)
7.300 -
7.301 - b) Use a suitable shared library mechanism for linking with the
7.302 - Library. A suitable mechanism is one that (1) uses at run time a
7.303 - copy of the library already present on the user's computer system,
7.304 - rather than copying library functions into the executable, and (2)
7.305 - will operate properly with a modified version of the library, if
7.306 - the user installs one, as long as the modified version is
7.307 - interface-compatible with the version that the work was made with.
7.308 -
7.309 - c) Accompany the work with a written offer, valid for at
7.310 - least three years, to give the same user the materials
7.311 - specified in Subsection 6a, above, for a charge no more
7.312 - than the cost of performing this distribution.
7.313 -
7.314 - d) If distribution of the work is made by offering access to copy
7.315 - from a designated place, offer equivalent access to copy the above
7.316 - specified materials from the same place.
7.317 -
7.318 - e) Verify that the user has already received a copy of these
7.319 - materials or that you have already sent this user a copy.
7.320 -
7.321 - For an executable, the required form of the "work that uses the
7.322 -Library" must include any data and utility programs needed for
7.323 -reproducing the executable from it. However, as a special exception,
7.324 -the materials to be distributed need not include anything that is
7.325 -normally distributed (in either source or binary form) with the major
7.326 -components (compiler, kernel, and so on) of the operating system on
7.327 -which the executable runs, unless that component itself accompanies
7.328 -the executable.
7.329 -
7.330 - It may happen that this requirement contradicts the license
7.331 -restrictions of other proprietary libraries that do not normally
7.332 -accompany the operating system. Such a contradiction means you cannot
7.333 -use both them and the Library together in an executable that you
7.334 -distribute.
7.335 -
7.336 - 7. You may place library facilities that are a work based on the
7.337 -Library side-by-side in a single library together with other library
7.338 -facilities not covered by this License, and distribute such a combined
7.339 -library, provided that the separate distribution of the work based on
7.340 -the Library and of the other library facilities is otherwise
7.341 -permitted, and provided that you do these two things:
7.342 -
7.343 - a) Accompany the combined library with a copy of the same work
7.344 - based on the Library, uncombined with any other library
7.345 - facilities. This must be distributed under the terms of the
7.346 - Sections above.
7.347 -
7.348 - b) Give prominent notice with the combined library of the fact
7.349 - that part of it is a work based on the Library, and explaining
7.350 - where to find the accompanying uncombined form of the same work.
7.351 -
7.352 - 8. You may not copy, modify, sublicense, link with, or distribute
7.353 -the Library except as expressly provided under this License. Any
7.354 -attempt otherwise to copy, modify, sublicense, link with, or
7.355 -distribute the Library is void, and will automatically terminate your
7.356 -rights under this License. However, parties who have received copies,
7.357 -or rights, from you under this License will not have their licenses
7.358 -terminated so long as such parties remain in full compliance.
7.359 -
7.360 - 9. You are not required to accept this License, since you have not
7.361 -signed it. However, nothing else grants you permission to modify or
7.362 -distribute the Library or its derivative works. These actions are
7.363 -prohibited by law if you do not accept this License. Therefore, by
7.364 -modifying or distributing the Library (or any work based on the
7.365 -Library), you indicate your acceptance of this License to do so, and
7.366 -all its terms and conditions for copying, distributing or modifying
7.367 -the Library or works based on it.
7.368 -
7.369 - 10. Each time you redistribute the Library (or any work based on the
7.370 -Library), the recipient automatically receives a license from the
7.371 -original licensor to copy, distribute, link with or modify the Library
7.372 -subject to these terms and conditions. You may not impose any further
7.373 -restrictions on the recipients' exercise of the rights granted herein.
7.374 -You are not responsible for enforcing compliance by third parties with
7.375 -this License.
7.376 -
7.377 - 11. If, as a consequence of a court judgment or allegation of patent
7.378 -infringement or for any other reason (not limited to patent issues),
7.379 -conditions are imposed on you (whether by court order, agreement or
7.380 -otherwise) that contradict the conditions of this License, they do not
7.381 -excuse you from the conditions of this License. If you cannot
7.382 -distribute so as to satisfy simultaneously your obligations under this
7.383 -License and any other pertinent obligations, then as a consequence you
7.384 -may not distribute the Library at all. For example, if a patent
7.385 -license would not permit royalty-free redistribution of the Library by
7.386 -all those who receive copies directly or indirectly through you, then
7.387 -the only way you could satisfy both it and this License would be to
7.388 -refrain entirely from distribution of the Library.
7.389 -
7.390 -If any portion of this section is held invalid or unenforceable under any
7.391 -particular circumstance, the balance of the section is intended to apply,
7.392 -and the section as a whole is intended to apply in other circumstances.
7.393 -
7.394 -It is not the purpose of this section to induce you to infringe any
7.395 -patents or other property right claims or to contest validity of any
7.396 -such claims; this section has the sole purpose of protecting the
7.397 -integrity of the free software distribution system which is
7.398 -implemented by public license practices. Many people have made
7.399 -generous contributions to the wide range of software distributed
7.400 -through that system in reliance on consistent application of that
7.401 -system; it is up to the author/donor to decide if he or she is willing
7.402 -to distribute software through any other system and a licensee cannot
7.403 -impose that choice.
7.404 -
7.405 -This section is intended to make thoroughly clear what is believed to
7.406 -be a consequence of the rest of this License.
7.407 -
7.408 - 12. If the distribution and/or use of the Library is restricted in
7.409 -certain countries either by patents or by copyrighted interfaces, the
7.410 -original copyright holder who places the Library under this License may add
7.411 -an explicit geographical distribution limitation excluding those countries,
7.412 -so that distribution is permitted only in or among countries not thus
7.413 -excluded. In such case, this License incorporates the limitation as if
7.414 -written in the body of this License.
7.415 -
7.416 - 13. The Free Software Foundation may publish revised and/or new
7.417 -versions of the Lesser General Public License from time to time.
7.418 -Such new versions will be similar in spirit to the present version,
7.419 -but may differ in detail to address new problems or concerns.
7.420 -
7.421 -Each version is given a distinguishing version number. If the Library
7.422 -specifies a version number of this License which applies to it and
7.423 -"any later version", you have the option of following the terms and
7.424 -conditions either of that version or of any later version published by
7.425 -the Free Software Foundation. If the Library does not specify a
7.426 -license version number, you may choose any version ever published by
7.427 -the Free Software Foundation.
7.428 -
7.429 - 14. If you wish to incorporate parts of the Library into other free
7.430 -programs whose distribution conditions are incompatible with these,
7.431 -write to the author to ask for permission. For software which is
7.432 -copyrighted by the Free Software Foundation, write to the Free
7.433 -Software Foundation; we sometimes make exceptions for this. Our
7.434 -decision will be guided by the two goals of preserving the free status
7.435 -of all derivatives of our free software and of promoting the sharing
7.436 -and reuse of software generally.
7.437 -
7.438 - NO WARRANTY
7.439 -
7.440 - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
7.441 -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
7.442 -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
7.443 -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
7.444 -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
7.445 -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
7.446 -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
7.447 -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
7.448 -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
7.449 -
7.450 - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
7.451 -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
7.452 -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
7.453 -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
7.454 -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
7.455 -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
7.456 -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
7.457 -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
7.458 -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
7.459 -DAMAGES.
7.460 -
7.461 - END OF TERMS AND CONDITIONS
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
8.2 +++ b/docs/gpl-3.0.txt Sun Jun 21 22:47:11 2009 +0200
8.3 @@ -0,0 +1,674 @@
8.4 + GNU GENERAL PUBLIC LICENSE
8.5 + Version 3, 29 June 2007
8.6 +
8.7 + Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
8.8 + Everyone is permitted to copy and distribute verbatim copies
8.9 + of this license document, but changing it is not allowed.
8.10 +
8.11 + Preamble
8.12 +
8.13 + The GNU General Public License is a free, copyleft license for
8.14 +software and other kinds of works.
8.15 +
8.16 + The licenses for most software and other practical works are designed
8.17 +to take away your freedom to share and change the works. By contrast,
8.18 +the GNU General Public License is intended to guarantee your freedom to
8.19 +share and change all versions of a program--to make sure it remains free
8.20 +software for all its users. We, the Free Software Foundation, use the
8.21 +GNU General Public License for most of our software; it applies also to
8.22 +any other work released this way by its authors. You can apply it to
8.23 +your programs, too.
8.24 +
8.25 + When we speak of free software, we are referring to freedom, not
8.26 +price. Our General Public Licenses are designed to make sure that you
8.27 +have the freedom to distribute copies of free software (and charge for
8.28 +them if you wish), that you receive source code or can get it if you
8.29 +want it, that you can change the software or use pieces of it in new
8.30 +free programs, and that you know you can do these things.
8.31 +
8.32 + To protect your rights, we need to prevent others from denying you
8.33 +these rights or asking you to surrender the rights. Therefore, you have
8.34 +certain responsibilities if you distribute copies of the software, or if
8.35 +you modify it: responsibilities to respect the freedom of others.
8.36 +
8.37 + For example, if you distribute copies of such a program, whether
8.38 +gratis or for a fee, you must pass on to the recipients the same
8.39 +freedoms that you received. You must make sure that they, too, receive
8.40 +or can get the source code. And you must show them these terms so they
8.41 +know their rights.
8.42 +
8.43 + Developers that use the GNU GPL protect your rights with two steps:
8.44 +(1) assert copyright on the software, and (2) offer you this License
8.45 +giving you legal permission to copy, distribute and/or modify it.
8.46 +
8.47 + For the developers' and authors' protection, the GPL clearly explains
8.48 +that there is no warranty for this free software. For both users' and
8.49 +authors' sake, the GPL requires that modified versions be marked as
8.50 +changed, so that their problems will not be attributed erroneously to
8.51 +authors of previous versions.
8.52 +
8.53 + Some devices are designed to deny users access to install or run
8.54 +modified versions of the software inside them, although the manufacturer
8.55 +can do so. This is fundamentally incompatible with the aim of
8.56 +protecting users' freedom to change the software. The systematic
8.57 +pattern of such abuse occurs in the area of products for individuals to
8.58 +use, which is precisely where it is most unacceptable. Therefore, we
8.59 +have designed this version of the GPL to prohibit the practice for those
8.60 +products. If such problems arise substantially in other domains, we
8.61 +stand ready to extend this provision to those domains in future versions
8.62 +of the GPL, as needed to protect the freedom of users.
8.63 +
8.64 + Finally, every program is threatened constantly by software patents.
8.65 +States should not allow patents to restrict development and use of
8.66 +software on general-purpose computers, but in those that do, we wish to
8.67 +avoid the special danger that patents applied to a free program could
8.68 +make it effectively proprietary. To prevent this, the GPL assures that
8.69 +patents cannot be used to render the program non-free.
8.70 +
8.71 + The precise terms and conditions for copying, distribution and
8.72 +modification follow.
8.73 +
8.74 + TERMS AND CONDITIONS
8.75 +
8.76 + 0. Definitions.
8.77 +
8.78 + "This License" refers to version 3 of the GNU General Public License.
8.79 +
8.80 + "Copyright" also means copyright-like laws that apply to other kinds of
8.81 +works, such as semiconductor masks.
8.82 +
8.83 + "The Program" refers to any copyrightable work licensed under this
8.84 +License. Each licensee is addressed as "you". "Licensees" and
8.85 +"recipients" may be individuals or organizations.
8.86 +
8.87 + To "modify" a work means to copy from or adapt all or part of the work
8.88 +in a fashion requiring copyright permission, other than the making of an
8.89 +exact copy. The resulting work is called a "modified version" of the
8.90 +earlier work or a work "based on" the earlier work.
8.91 +
8.92 + A "covered work" means either the unmodified Program or a work based
8.93 +on the Program.
8.94 +
8.95 + To "propagate" a work means to do anything with it that, without
8.96 +permission, would make you directly or secondarily liable for
8.97 +infringement under applicable copyright law, except executing it on a
8.98 +computer or modifying a private copy. Propagation includes copying,
8.99 +distribution (with or without modification), making available to the
8.100 +public, and in some countries other activities as well.
8.101 +
8.102 + To "convey" a work means any kind of propagation that enables other
8.103 +parties to make or receive copies. Mere interaction with a user through
8.104 +a computer network, with no transfer of a copy, is not conveying.
8.105 +
8.106 + An interactive user interface displays "Appropriate Legal Notices"
8.107 +to the extent that it includes a convenient and prominently visible
8.108 +feature that (1) displays an appropriate copyright notice, and (2)
8.109 +tells the user that there is no warranty for the work (except to the
8.110 +extent that warranties are provided), that licensees may convey the
8.111 +work under this License, and how to view a copy of this License. If
8.112 +the interface presents a list of user commands or options, such as a
8.113 +menu, a prominent item in the list meets this criterion.
8.114 +
8.115 + 1. Source Code.
8.116 +
8.117 + The "source code" for a work means the preferred form of the work
8.118 +for making modifications to it. "Object code" means any non-source
8.119 +form of a work.
8.120 +
8.121 + A "Standard Interface" means an interface that either is an official
8.122 +standard defined by a recognized standards body, or, in the case of
8.123 +interfaces specified for a particular programming language, one that
8.124 +is widely used among developers working in that language.
8.125 +
8.126 + The "System Libraries" of an executable work include anything, other
8.127 +than the work as a whole, that (a) is included in the normal form of
8.128 +packaging a Major Component, but which is not part of that Major
8.129 +Component, and (b) serves only to enable use of the work with that
8.130 +Major Component, or to implement a Standard Interface for which an
8.131 +implementation is available to the public in source code form. A
8.132 +"Major Component", in this context, means a major essential component
8.133 +(kernel, window system, and so on) of the specific operating system
8.134 +(if any) on which the executable work runs, or a compiler used to
8.135 +produce the work, or an object code interpreter used to run it.
8.136 +
8.137 + The "Corresponding Source" for a work in object code form means all
8.138 +the source code needed to generate, install, and (for an executable
8.139 +work) run the object code and to modify the work, including scripts to
8.140 +control those activities. However, it does not include the work's
8.141 +System Libraries, or general-purpose tools or generally available free
8.142 +programs which are used unmodified in performing those activities but
8.143 +which are not part of the work. For example, Corresponding Source
8.144 +includes interface definition files associated with source files for
8.145 +the work, and the source code for shared libraries and dynamically
8.146 +linked subprograms that the work is specifically designed to require,
8.147 +such as by intimate data communication or control flow between those
8.148 +subprograms and other parts of the work.
8.149 +
8.150 + The Corresponding Source need not include anything that users
8.151 +can regenerate automatically from other parts of the Corresponding
8.152 +Source.
8.153 +
8.154 + The Corresponding Source for a work in source code form is that
8.155 +same work.
8.156 +
8.157 + 2. Basic Permissions.
8.158 +
8.159 + All rights granted under this License are granted for the term of
8.160 +copyright on the Program, and are irrevocable provided the stated
8.161 +conditions are met. This License explicitly affirms your unlimited
8.162 +permission to run the unmodified Program. The output from running a
8.163 +covered work is covered by this License only if the output, given its
8.164 +content, constitutes a covered work. This License acknowledges your
8.165 +rights of fair use or other equivalent, as provided by copyright law.
8.166 +
8.167 + You may make, run and propagate covered works that you do not
8.168 +convey, without conditions so long as your license otherwise remains
8.169 +in force. You may convey covered works to others for the sole purpose
8.170 +of having them make modifications exclusively for you, or provide you
8.171 +with facilities for running those works, provided that you comply with
8.172 +the terms of this License in conveying all material for which you do
8.173 +not control copyright. Those thus making or running the covered works
8.174 +for you must do so exclusively on your behalf, under your direction
8.175 +and control, on terms that prohibit them from making any copies of
8.176 +your copyrighted material outside their relationship with you.
8.177 +
8.178 + Conveying under any other circumstances is permitted solely under
8.179 +the conditions stated below. Sublicensing is not allowed; section 10
8.180 +makes it unnecessary.
8.181 +
8.182 + 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
8.183 +
8.184 + No covered work shall be deemed part of an effective technological
8.185 +measure under any applicable law fulfilling obligations under article
8.186 +11 of the WIPO copyright treaty adopted on 20 December 1996, or
8.187 +similar laws prohibiting or restricting circumvention of such
8.188 +measures.
8.189 +
8.190 + When you convey a covered work, you waive any legal power to forbid
8.191 +circumvention of technological measures to the extent such circumvention
8.192 +is effected by exercising rights under this License with respect to
8.193 +the covered work, and you disclaim any intention to limit operation or
8.194 +modification of the work as a means of enforcing, against the work's
8.195 +users, your or third parties' legal rights to forbid circumvention of
8.196 +technological measures.
8.197 +
8.198 + 4. Conveying Verbatim Copies.
8.199 +
8.200 + You may convey verbatim copies of the Program's source code as you
8.201 +receive it, in any medium, provided that you conspicuously and
8.202 +appropriately publish on each copy an appropriate copyright notice;
8.203 +keep intact all notices stating that this License and any
8.204 +non-permissive terms added in accord with section 7 apply to the code;
8.205 +keep intact all notices of the absence of any warranty; and give all
8.206 +recipients a copy of this License along with the Program.
8.207 +
8.208 + You may charge any price or no price for each copy that you convey,
8.209 +and you may offer support or warranty protection for a fee.
8.210 +
8.211 + 5. Conveying Modified Source Versions.
8.212 +
8.213 + You may convey a work based on the Program, or the modifications to
8.214 +produce it from the Program, in the form of source code under the
8.215 +terms of section 4, provided that you also meet all of these conditions:
8.216 +
8.217 + a) The work must carry prominent notices stating that you modified
8.218 + it, and giving a relevant date.
8.219 +
8.220 + b) The work must carry prominent notices stating that it is
8.221 + released under this License and any conditions added under section
8.222 + 7. This requirement modifies the requirement in section 4 to
8.223 + "keep intact all notices".
8.224 +
8.225 + c) You must license the entire work, as a whole, under this
8.226 + License to anyone who comes into possession of a copy. This
8.227 + License will therefore apply, along with any applicable section 7
8.228 + additional terms, to the whole of the work, and all its parts,
8.229 + regardless of how they are packaged. This License gives no
8.230 + permission to license the work in any other way, but it does not
8.231 + invalidate such permission if you have separately received it.
8.232 +
8.233 + d) If the work has interactive user interfaces, each must display
8.234 + Appropriate Legal Notices; however, if the Program has interactive
8.235 + interfaces that do not display Appropriate Legal Notices, your
8.236 + work need not make them do so.
8.237 +
8.238 + A compilation of a covered work with other separate and independent
8.239 +works, which are not by their nature extensions of the covered work,
8.240 +and which are not combined with it such as to form a larger program,
8.241 +in or on a volume of a storage or distribution medium, is called an
8.242 +"aggregate" if the compilation and its resulting copyright are not
8.243 +used to limit the access or legal rights of the compilation's users
8.244 +beyond what the individual works permit. Inclusion of a covered work
8.245 +in an aggregate does not cause this License to apply to the other
8.246 +parts of the aggregate.
8.247 +
8.248 + 6. Conveying Non-Source Forms.
8.249 +
8.250 + You may convey a covered work in object code form under the terms
8.251 +of sections 4 and 5, provided that you also convey the
8.252 +machine-readable Corresponding Source under the terms of this License,
8.253 +in one of these ways:
8.254 +
8.255 + a) Convey the object code in, or embodied in, a physical product
8.256 + (including a physical distribution medium), accompanied by the
8.257 + Corresponding Source fixed on a durable physical medium
8.258 + customarily used for software interchange.
8.259 +
8.260 + b) Convey the object code in, or embodied in, a physical product
8.261 + (including a physical distribution medium), accompanied by a
8.262 + written offer, valid for at least three years and valid for as
8.263 + long as you offer spare parts or customer support for that product
8.264 + model, to give anyone who possesses the object code either (1) a
8.265 + copy of the Corresponding Source for all the software in the
8.266 + product that is covered by this License, on a durable physical
8.267 + medium customarily used for software interchange, for a price no
8.268 + more than your reasonable cost of physically performing this
8.269 + conveying of source, or (2) access to copy the
8.270 + Corresponding Source from a network server at no charge.
8.271 +
8.272 + c) Convey individual copies of the object code with a copy of the
8.273 + written offer to provide the Corresponding Source. This
8.274 + alternative is allowed only occasionally and noncommercially, and
8.275 + only if you received the object code with such an offer, in accord
8.276 + with subsection 6b.
8.277 +
8.278 + d) Convey the object code by offering access from a designated
8.279 + place (gratis or for a charge), and offer equivalent access to the
8.280 + Corresponding Source in the same way through the same place at no
8.281 + further charge. You need not require recipients to copy the
8.282 + Corresponding Source along with the object code. If the place to
8.283 + copy the object code is a network server, the Corresponding Source
8.284 + may be on a different server (operated by you or a third party)
8.285 + that supports equivalent copying facilities, provided you maintain
8.286 + clear directions next to the object code saying where to find the
8.287 + Corresponding Source. Regardless of what server hosts the
8.288 + Corresponding Source, you remain obligated to ensure that it is
8.289 + available for as long as needed to satisfy these requirements.
8.290 +
8.291 + e) Convey the object code using peer-to-peer transmission, provided
8.292 + you inform other peers where the object code and Corresponding
8.293 + Source of the work are being offered to the general public at no
8.294 + charge under subsection 6d.
8.295 +
8.296 + A separable portion of the object code, whose source code is excluded
8.297 +from the Corresponding Source as a System Library, need not be
8.298 +included in conveying the object code work.
8.299 +
8.300 + A "User Product" is either (1) a "consumer product", which means any
8.301 +tangible personal property which is normally used for personal, family,
8.302 +or household purposes, or (2) anything designed or sold for incorporation
8.303 +into a dwelling. In determining whether a product is a consumer product,
8.304 +doubtful cases shall be resolved in favor of coverage. For a particular
8.305 +product received by a particular user, "normally used" refers to a
8.306 +typical or common use of that class of product, regardless of the status
8.307 +of the particular user or of the way in which the particular user
8.308 +actually uses, or expects or is expected to use, the product. A product
8.309 +is a consumer product regardless of whether the product has substantial
8.310 +commercial, industrial or non-consumer uses, unless such uses represent
8.311 +the only significant mode of use of the product.
8.312 +
8.313 + "Installation Information" for a User Product means any methods,
8.314 +procedures, authorization keys, or other information required to install
8.315 +and execute modified versions of a covered work in that User Product from
8.316 +a modified version of its Corresponding Source. The information must
8.317 +suffice to ensure that the continued functioning of the modified object
8.318 +code is in no case prevented or interfered with solely because
8.319 +modification has been made.
8.320 +
8.321 + If you convey an object code work under this section in, or with, or
8.322 +specifically for use in, a User Product, and the conveying occurs as
8.323 +part of a transaction in which the right of possession and use of the
8.324 +User Product is transferred to the recipient in perpetuity or for a
8.325 +fixed term (regardless of how the transaction is characterized), the
8.326 +Corresponding Source conveyed under this section must be accompanied
8.327 +by the Installation Information. But this requirement does not apply
8.328 +if neither you nor any third party retains the ability to install
8.329 +modified object code on the User Product (for example, the work has
8.330 +been installed in ROM).
8.331 +
8.332 + The requirement to provide Installation Information does not include a
8.333 +requirement to continue to provide support service, warranty, or updates
8.334 +for a work that has been modified or installed by the recipient, or for
8.335 +the User Product in which it has been modified or installed. Access to a
8.336 +network may be denied when the modification itself materially and
8.337 +adversely affects the operation of the network or violates the rules and
8.338 +protocols for communication across the network.
8.339 +
8.340 + Corresponding Source conveyed, and Installation Information provided,
8.341 +in accord with this section must be in a format that is publicly
8.342 +documented (and with an implementation available to the public in
8.343 +source code form), and must require no special password or key for
8.344 +unpacking, reading or copying.
8.345 +
8.346 + 7. Additional Terms.
8.347 +
8.348 + "Additional permissions" are terms that supplement the terms of this
8.349 +License by making exceptions from one or more of its conditions.
8.350 +Additional permissions that are applicable to the entire Program shall
8.351 +be treated as though they were included in this License, to the extent
8.352 +that they are valid under applicable law. If additional permissions
8.353 +apply only to part of the Program, that part may be used separately
8.354 +under those permissions, but the entire Program remains governed by
8.355 +this License without regard to the additional permissions.
8.356 +
8.357 + When you convey a copy of a covered work, you may at your option
8.358 +remove any additional permissions from that copy, or from any part of
8.359 +it. (Additional permissions may be written to require their own
8.360 +removal in certain cases when you modify the work.) You may place
8.361 +additional permissions on material, added by you to a covered work,
8.362 +for which you have or can give appropriate copyright permission.
8.363 +
8.364 + Notwithstanding any other provision of this License, for material you
8.365 +add to a covered work, you may (if authorized by the copyright holders of
8.366 +that material) supplement the terms of this License with terms:
8.367 +
8.368 + a) Disclaiming warranty or limiting liability differently from the
8.369 + terms of sections 15 and 16 of this License; or
8.370 +
8.371 + b) Requiring preservation of specified reasonable legal notices or
8.372 + author attributions in that material or in the Appropriate Legal
8.373 + Notices displayed by works containing it; or
8.374 +
8.375 + c) Prohibiting misrepresentation of the origin of that material, or
8.376 + requiring that modified versions of such material be marked in
8.377 + reasonable ways as different from the original version; or
8.378 +
8.379 + d) Limiting the use for publicity purposes of names of licensors or
8.380 + authors of the material; or
8.381 +
8.382 + e) Declining to grant rights under trademark law for use of some
8.383 + trade names, trademarks, or service marks; or
8.384 +
8.385 + f) Requiring indemnification of licensors and authors of that
8.386 + material by anyone who conveys the material (or modified versions of
8.387 + it) with contractual assumptions of liability to the recipient, for
8.388 + any liability that these contractual assumptions directly impose on
8.389 + those licensors and authors.
8.390 +
8.391 + All other non-permissive additional terms are considered "further
8.392 +restrictions" within the meaning of section 10. If the Program as you
8.393 +received it, or any part of it, contains a notice stating that it is
8.394 +governed by this License along with a term that is a further
8.395 +restriction, you may remove that term. If a license document contains
8.396 +a further restriction but permits relicensing or conveying under this
8.397 +License, you may add to a covered work material governed by the terms
8.398 +of that license document, provided that the further restriction does
8.399 +not survive such relicensing or conveying.
8.400 +
8.401 + If you add terms to a covered work in accord with this section, you
8.402 +must place, in the relevant source files, a statement of the
8.403 +additional terms that apply to those files, or a notice indicating
8.404 +where to find the applicable terms.
8.405 +
8.406 + Additional terms, permissive or non-permissive, may be stated in the
8.407 +form of a separately written license, or stated as exceptions;
8.408 +the above requirements apply either way.
8.409 +
8.410 + 8. Termination.
8.411 +
8.412 + You may not propagate or modify a covered work except as expressly
8.413 +provided under this License. Any attempt otherwise to propagate or
8.414 +modify it is void, and will automatically terminate your rights under
8.415 +this License (including any patent licenses granted under the third
8.416 +paragraph of section 11).
8.417 +
8.418 + However, if you cease all violation of this License, then your
8.419 +license from a particular copyright holder is reinstated (a)
8.420 +provisionally, unless and until the copyright holder explicitly and
8.421 +finally terminates your license, and (b) permanently, if the copyright
8.422 +holder fails to notify you of the violation by some reasonable means
8.423 +prior to 60 days after the cessation.
8.424 +
8.425 + Moreover, your license from a particular copyright holder is
8.426 +reinstated permanently if the copyright holder notifies you of the
8.427 +violation by some reasonable means, this is the first time you have
8.428 +received notice of violation of this License (for any work) from that
8.429 +copyright holder, and you cure the violation prior to 30 days after
8.430 +your receipt of the notice.
8.431 +
8.432 + Termination of your rights under this section does not terminate the
8.433 +licenses of parties who have received copies or rights from you under
8.434 +this License. If your rights have been terminated and not permanently
8.435 +reinstated, you do not qualify to receive new licenses for the same
8.436 +material under section 10.
8.437 +
8.438 + 9. Acceptance Not Required for Having Copies.
8.439 +
8.440 + You are not required to accept this License in order to receive or
8.441 +run a copy of the Program. Ancillary propagation of a covered work
8.442 +occurring solely as a consequence of using peer-to-peer transmission
8.443 +to receive a copy likewise does not require acceptance. However,
8.444 +nothing other than this License grants you permission to propagate or
8.445 +modify any covered work. These actions infringe copyright if you do
8.446 +not accept this License. Therefore, by modifying or propagating a
8.447 +covered work, you indicate your acceptance of this License to do so.
8.448 +
8.449 + 10. Automatic Licensing of Downstream Recipients.
8.450 +
8.451 + Each time you convey a covered work, the recipient automatically
8.452 +receives a license from the original licensors, to run, modify and
8.453 +propagate that work, subject to this License. You are not responsible
8.454 +for enforcing compliance by third parties with this License.
8.455 +
8.456 + An "entity transaction" is a transaction transferring control of an
8.457 +organization, or substantially all assets of one, or subdividing an
8.458 +organization, or merging organizations. If propagation of a covered
8.459 +work results from an entity transaction, each party to that
8.460 +transaction who receives a copy of the work also receives whatever
8.461 +licenses to the work the party's predecessor in interest had or could
8.462 +give under the previous paragraph, plus a right to possession of the
8.463 +Corresponding Source of the work from the predecessor in interest, if
8.464 +the predecessor has it or can get it with reasonable efforts.
8.465 +
8.466 + You may not impose any further restrictions on the exercise of the
8.467 +rights granted or affirmed under this License. For example, you may
8.468 +not impose a license fee, royalty, or other charge for exercise of
8.469 +rights granted under this License, and you may not initiate litigation
8.470 +(including a cross-claim or counterclaim in a lawsuit) alleging that
8.471 +any patent claim is infringed by making, using, selling, offering for
8.472 +sale, or importing the Program or any portion of it.
8.473 +
8.474 + 11. Patents.
8.475 +
8.476 + A "contributor" is a copyright holder who authorizes use under this
8.477 +License of the Program or a work on which the Program is based. The
8.478 +work thus licensed is called the contributor's "contributor version".
8.479 +
8.480 + A contributor's "essential patent claims" are all patent claims
8.481 +owned or controlled by the contributor, whether already acquired or
8.482 +hereafter acquired, that would be infringed by some manner, permitted
8.483 +by this License, of making, using, or selling its contributor version,
8.484 +but do not include claims that would be infringed only as a
8.485 +consequence of further modification of the contributor version. For
8.486 +purposes of this definition, "control" includes the right to grant
8.487 +patent sublicenses in a manner consistent with the requirements of
8.488 +this License.
8.489 +
8.490 + Each contributor grants you a non-exclusive, worldwide, royalty-free
8.491 +patent license under the contributor's essential patent claims, to
8.492 +make, use, sell, offer for sale, import and otherwise run, modify and
8.493 +propagate the contents of its contributor version.
8.494 +
8.495 + In the following three paragraphs, a "patent license" is any express
8.496 +agreement or commitment, however denominated, not to enforce a patent
8.497 +(such as an express permission to practice a patent or covenant not to
8.498 +sue for patent infringement). To "grant" such a patent license to a
8.499 +party means to make such an agreement or commitment not to enforce a
8.500 +patent against the party.
8.501 +
8.502 + If you convey a covered work, knowingly relying on a patent license,
8.503 +and the Corresponding Source of the work is not available for anyone
8.504 +to copy, free of charge and under the terms of this License, through a
8.505 +publicly available network server or other readily accessible means,
8.506 +then you must either (1) cause the Corresponding Source to be so
8.507 +available, or (2) arrange to deprive yourself of the benefit of the
8.508 +patent license for this particular work, or (3) arrange, in a manner
8.509 +consistent with the requirements of this License, to extend the patent
8.510 +license to downstream recipients. "Knowingly relying" means you have
8.511 +actual knowledge that, but for the patent license, your conveying the
8.512 +covered work in a country, or your recipient's use of the covered work
8.513 +in a country, would infringe one or more identifiable patents in that
8.514 +country that you have reason to believe are valid.
8.515 +
8.516 + If, pursuant to or in connection with a single transaction or
8.517 +arrangement, you convey, or propagate by procuring conveyance of, a
8.518 +covered work, and grant a patent license to some of the parties
8.519 +receiving the covered work authorizing them to use, propagate, modify
8.520 +or convey a specific copy of the covered work, then the patent license
8.521 +you grant is automatically extended to all recipients of the covered
8.522 +work and works based on it.
8.523 +
8.524 + A patent license is "discriminatory" if it does not include within
8.525 +the scope of its coverage, prohibits the exercise of, or is
8.526 +conditioned on the non-exercise of one or more of the rights that are
8.527 +specifically granted under this License. You may not convey a covered
8.528 +work if you are a party to an arrangement with a third party that is
8.529 +in the business of distributing software, under which you make payment
8.530 +to the third party based on the extent of your activity of conveying
8.531 +the work, and under which the third party grants, to any of the
8.532 +parties who would receive the covered work from you, a discriminatory
8.533 +patent license (a) in connection with copies of the covered work
8.534 +conveyed by you (or copies made from those copies), or (b) primarily
8.535 +for and in connection with specific products or compilations that
8.536 +contain the covered work, unless you entered into that arrangement,
8.537 +or that patent license was granted, prior to 28 March 2007.
8.538 +
8.539 + Nothing in this License shall be construed as excluding or limiting
8.540 +any implied license or other defenses to infringement that may
8.541 +otherwise be available to you under applicable patent law.
8.542 +
8.543 + 12. No Surrender of Others' Freedom.
8.544 +
8.545 + If conditions are imposed on you (whether by court order, agreement or
8.546 +otherwise) that contradict the conditions of this License, they do not
8.547 +excuse you from the conditions of this License. If you cannot convey a
8.548 +covered work so as to satisfy simultaneously your obligations under this
8.549 +License and any other pertinent obligations, then as a consequence you may
8.550 +not convey it at all. For example, if you agree to terms that obligate you
8.551 +to collect a royalty for further conveying from those to whom you convey
8.552 +the Program, the only way you could satisfy both those terms and this
8.553 +License would be to refrain entirely from conveying the Program.
8.554 +
8.555 + 13. Use with the GNU Affero General Public License.
8.556 +
8.557 + Notwithstanding any other provision of this License, you have
8.558 +permission to link or combine any covered work with a work licensed
8.559 +under version 3 of the GNU Affero General Public License into a single
8.560 +combined work, and to convey the resulting work. The terms of this
8.561 +License will continue to apply to the part which is the covered work,
8.562 +but the special requirements of the GNU Affero General Public License,
8.563 +section 13, concerning interaction through a network will apply to the
8.564 +combination as such.
8.565 +
8.566 + 14. Revised Versions of this License.
8.567 +
8.568 + The Free Software Foundation may publish revised and/or new versions of
8.569 +the GNU General Public License from time to time. Such new versions will
8.570 +be similar in spirit to the present version, but may differ in detail to
8.571 +address new problems or concerns.
8.572 +
8.573 + Each version is given a distinguishing version number. If the
8.574 +Program specifies that a certain numbered version of the GNU General
8.575 +Public License "or any later version" applies to it, you have the
8.576 +option of following the terms and conditions either of that numbered
8.577 +version or of any later version published by the Free Software
8.578 +Foundation. If the Program does not specify a version number of the
8.579 +GNU General Public License, you may choose any version ever published
8.580 +by the Free Software Foundation.
8.581 +
8.582 + If the Program specifies that a proxy can decide which future
8.583 +versions of the GNU General Public License can be used, that proxy's
8.584 +public statement of acceptance of a version permanently authorizes you
8.585 +to choose that version for the Program.
8.586 +
8.587 + Later license versions may give you additional or different
8.588 +permissions. However, no additional obligations are imposed on any
8.589 +author or copyright holder as a result of your choosing to follow a
8.590 +later version.
8.591 +
8.592 + 15. Disclaimer of Warranty.
8.593 +
8.594 + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
8.595 +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
8.596 +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
8.597 +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
8.598 +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
8.599 +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
8.600 +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
8.601 +ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
8.602 +
8.603 + 16. Limitation of Liability.
8.604 +
8.605 + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
8.606 +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
8.607 +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
8.608 +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
8.609 +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
8.610 +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
8.611 +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
8.612 +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
8.613 +SUCH DAMAGES.
8.614 +
8.615 + 17. Interpretation of Sections 15 and 16.
8.616 +
8.617 + If the disclaimer of warranty and limitation of liability provided
8.618 +above cannot be given local legal effect according to their terms,
8.619 +reviewing courts shall apply local law that most closely approximates
8.620 +an absolute waiver of all civil liability in connection with the
8.621 +Program, unless a warranty or assumption of liability accompanies a
8.622 +copy of the Program in return for a fee.
8.623 +
8.624 + END OF TERMS AND CONDITIONS
8.625 +
8.626 + How to Apply These Terms to Your New Programs
8.627 +
8.628 + If you develop a new program, and you want it to be of the greatest
8.629 +possible use to the public, the best way to achieve this is to make it
8.630 +free software which everyone can redistribute and change under these terms.
8.631 +
8.632 + To do so, attach the following notices to the program. It is safest
8.633 +to attach them to the start of each source file to most effectively
8.634 +state the exclusion of warranty; and each file should have at least
8.635 +the "copyright" line and a pointer to where the full notice is found.
8.636 +
8.637 + <one line to give the program's name and a brief idea of what it does.>
8.638 + Copyright (C) <year> <name of author>
8.639 +
8.640 + This program is free software: you can redistribute it and/or modify
8.641 + it under the terms of the GNU General Public License as published by
8.642 + the Free Software Foundation, either version 3 of the License, or
8.643 + (at your option) any later version.
8.644 +
8.645 + This program is distributed in the hope that it will be useful,
8.646 + but WITHOUT ANY WARRANTY; without even the implied warranty of
8.647 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8.648 + GNU General Public License for more details.
8.649 +
8.650 + You should have received a copy of the GNU General Public License
8.651 + along with this program. If not, see <http://www.gnu.org/licenses/>.
8.652 +
8.653 +Also add information on how to contact you by electronic and paper mail.
8.654 +
8.655 + If the program does terminal interaction, make it output a short
8.656 +notice like this when it starts in an interactive mode:
8.657 +
8.658 + <program> Copyright (C) <year> <name of author>
8.659 + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
8.660 + This is free software, and you are welcome to redistribute it
8.661 + under certain conditions; type `show c' for details.
8.662 +
8.663 +The hypothetical commands `show w' and `show c' should show the appropriate
8.664 +parts of the General Public License. Of course, your program's commands
8.665 +might be different; for a GUI interface, you would use an "about box".
8.666 +
8.667 + You should also get your employer (if you work as a programmer) or school,
8.668 +if any, to sign a "copyright disclaimer" for the program, if necessary.
8.669 +For more information on this, and how to apply and follow the GNU GPL, see
8.670 +<http://www.gnu.org/licenses/>.
8.671 +
8.672 + The GNU General Public License does not permit incorporating your program
8.673 +into proprietary programs. If your program is a subroutine library, you
8.674 +may consider it more useful to permit linking proprietary applications with
8.675 +the library. If this is what you want to do, use the GNU Lesser General
8.676 +Public License instead of this License. But first, please read
8.677 +<http://www.gnu.org/philosophy/why-not-lgpl.html>.
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
9.2 +++ b/docs/lgpl-3.0.txt Sun Jun 21 22:47:11 2009 +0200
9.3 @@ -0,0 +1,165 @@
9.4 + GNU LESSER GENERAL PUBLIC LICENSE
9.5 + Version 3, 29 June 2007
9.6 +
9.7 + Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
9.8 + Everyone is permitted to copy and distribute verbatim copies
9.9 + of this license document, but changing it is not allowed.
9.10 +
9.11 +
9.12 + This version of the GNU Lesser General Public License incorporates
9.13 +the terms and conditions of version 3 of the GNU General Public
9.14 +License, supplemented by the additional permissions listed below.
9.15 +
9.16 + 0. Additional Definitions.
9.17 +
9.18 + As used herein, "this License" refers to version 3 of the GNU Lesser
9.19 +General Public License, and the "GNU GPL" refers to version 3 of the GNU
9.20 +General Public License.
9.21 +
9.22 + "The Library" refers to a covered work governed by this License,
9.23 +other than an Application or a Combined Work as defined below.
9.24 +
9.25 + An "Application" is any work that makes use of an interface provided
9.26 +by the Library, but which is not otherwise based on the Library.
9.27 +Defining a subclass of a class defined by the Library is deemed a mode
9.28 +of using an interface provided by the Library.
9.29 +
9.30 + A "Combined Work" is a work produced by combining or linking an
9.31 +Application with the Library. The particular version of the Library
9.32 +with which the Combined Work was made is also called the "Linked
9.33 +Version".
9.34 +
9.35 + The "Minimal Corresponding Source" for a Combined Work means the
9.36 +Corresponding Source for the Combined Work, excluding any source code
9.37 +for portions of the Combined Work that, considered in isolation, are
9.38 +based on the Application, and not on the Linked Version.
9.39 +
9.40 + The "Corresponding Application Code" for a Combined Work means the
9.41 +object code and/or source code for the Application, including any data
9.42 +and utility programs needed for reproducing the Combined Work from the
9.43 +Application, but excluding the System Libraries of the Combined Work.
9.44 +
9.45 + 1. Exception to Section 3 of the GNU GPL.
9.46 +
9.47 + You may convey a covered work under sections 3 and 4 of this License
9.48 +without being bound by section 3 of the GNU GPL.
9.49 +
9.50 + 2. Conveying Modified Versions.
9.51 +
9.52 + If you modify a copy of the Library, and, in your modifications, a
9.53 +facility refers to a function or data to be supplied by an Application
9.54 +that uses the facility (other than as an argument passed when the
9.55 +facility is invoked), then you may convey a copy of the modified
9.56 +version:
9.57 +
9.58 + a) under this License, provided that you make a good faith effort to
9.59 + ensure that, in the event an Application does not supply the
9.60 + function or data, the facility still operates, and performs
9.61 + whatever part of its purpose remains meaningful, or
9.62 +
9.63 + b) under the GNU GPL, with none of the additional permissions of
9.64 + this License applicable to that copy.
9.65 +
9.66 + 3. Object Code Incorporating Material from Library Header Files.
9.67 +
9.68 + The object code form of an Application may incorporate material from
9.69 +a header file that is part of the Library. You may convey such object
9.70 +code under terms of your choice, provided that, if the incorporated
9.71 +material is not limited to numerical parameters, data structure
9.72 +layouts and accessors, or small macros, inline functions and templates
9.73 +(ten or fewer lines in length), you do both of the following:
9.74 +
9.75 + a) Give prominent notice with each copy of the object code that the
9.76 + Library is used in it and that the Library and its use are
9.77 + covered by this License.
9.78 +
9.79 + b) Accompany the object code with a copy of the GNU GPL and this license
9.80 + document.
9.81 +
9.82 + 4. Combined Works.
9.83 +
9.84 + You may convey a Combined Work under terms of your choice that,
9.85 +taken together, effectively do not restrict modification of the
9.86 +portions of the Library contained in the Combined Work and reverse
9.87 +engineering for debugging such modifications, if you also do each of
9.88 +the following:
9.89 +
9.90 + a) Give prominent notice with each copy of the Combined Work that
9.91 + the Library is used in it and that the Library and its use are
9.92 + covered by this License.
9.93 +
9.94 + b) Accompany the Combined Work with a copy of the GNU GPL and this license
9.95 + document.
9.96 +
9.97 + c) For a Combined Work that displays copyright notices during
9.98 + execution, include the copyright notice for the Library among
9.99 + these notices, as well as a reference directing the user to the
9.100 + copies of the GNU GPL and this license document.
9.101 +
9.102 + d) Do one of the following:
9.103 +
9.104 + 0) Convey the Minimal Corresponding Source under the terms of this
9.105 + License, and the Corresponding Application Code in a form
9.106 + suitable for, and under terms that permit, the user to
9.107 + recombine or relink the Application with a modified version of
9.108 + the Linked Version to produce a modified Combined Work, in the
9.109 + manner specified by section 6 of the GNU GPL for conveying
9.110 + Corresponding Source.
9.111 +
9.112 + 1) Use a suitable shared library mechanism for linking with the
9.113 + Library. A suitable mechanism is one that (a) uses at run time
9.114 + a copy of the Library already present on the user's computer
9.115 + system, and (b) will operate properly with a modified version
9.116 + of the Library that is interface-compatible with the Linked
9.117 + Version.
9.118 +
9.119 + e) Provide Installation Information, but only if you would otherwise
9.120 + be required to provide such information under section 6 of the
9.121 + GNU GPL, and only to the extent that such information is
9.122 + necessary to install and execute a modified version of the
9.123 + Combined Work produced by recombining or relinking the
9.124 + Application with a modified version of the Linked Version. (If
9.125 + you use option 4d0, the Installation Information must accompany
9.126 + the Minimal Corresponding Source and Corresponding Application
9.127 + Code. If you use option 4d1, you must provide the Installation
9.128 + Information in the manner specified by section 6 of the GNU GPL
9.129 + for conveying Corresponding Source.)
9.130 +
9.131 + 5. Combined Libraries.
9.132 +
9.133 + You may place library facilities that are a work based on the
9.134 +Library side by side in a single library together with other library
9.135 +facilities that are not Applications and are not covered by this
9.136 +License, and convey such a combined library under terms of your
9.137 +choice, if you do both of the following:
9.138 +
9.139 + a) Accompany the combined library with a copy of the same work based
9.140 + on the Library, uncombined with any other library facilities,
9.141 + conveyed under the terms of this License.
9.142 +
9.143 + b) Give prominent notice with the combined library that part of it
9.144 + is a work based on the Library, and explaining where to find the
9.145 + accompanying uncombined form of the same work.
9.146 +
9.147 + 6. Revised Versions of the GNU Lesser General Public License.
9.148 +
9.149 + The Free Software Foundation may publish revised and/or new versions
9.150 +of the GNU Lesser General Public License from time to time. Such new
9.151 +versions will be similar in spirit to the present version, but may
9.152 +differ in detail to address new problems or concerns.
9.153 +
9.154 + Each version is given a distinguishing version number. If the
9.155 +Library as you received it specifies that a certain numbered version
9.156 +of the GNU Lesser General Public License "or any later version"
9.157 +applies to it, you have the option of following the terms and
9.158 +conditions either of that published version or of any later version
9.159 +published by the Free Software Foundation. If the Library as you
9.160 +received it does not specify a version number of the GNU Lesser
9.161 +General Public License, you may choose any version of the GNU Lesser
9.162 +General Public License ever published by the Free Software Foundation.
9.163 +
9.164 + If the Library as you received it specifies that a proxy can decide
9.165 +whether future versions of the GNU Lesser General Public License shall
9.166 +apply, that proxy's public statement of acceptance of any version is
9.167 +permanent authorization for you to choose that version for the
9.168 +Library.
10.1 --- a/packages/ubuntu-feisty/python-desktop/debian/changelog Sun Jun 07 17:28:16 2009 +0200
10.2 +++ b/packages/ubuntu-feisty/python-desktop/debian/changelog Sun Jun 21 22:47:11 2009 +0200
10.3 @@ -1,9 +1,10 @@
10.4 -desktop (0.3.1-0ubuntu1) feisty; urgency=low
10.5 +desktop (0.4-0ubuntu1) feisty; urgency=low
10.6
10.7 * Improved docstrings.
10.8 * Fixed support for examining the root window.
10.9 + * Changed the licence to the LGPL version 3 (or later).
10.10
10.11 - -- Paul Boddie <paul@boddie.org.uk> Wed, 15 Oct 2008 23:11:53 +0200
10.12 + -- Paul Boddie <paul@boddie.org.uk> Sun, 21 Jun 2009 22:44:30 +0200
10.13
10.14 desktop (0.3-0ubuntu1) feisty; urgency=low
10.15
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
11.2 +++ b/packages/ubuntu-hardy/python-desktop/debian/changelog Sun Jun 21 22:47:11 2009 +0200
11.3 @@ -0,0 +1,43 @@
11.4 +desktop (0.4-0ubuntu1) hardy; urgency=low
11.5 +
11.6 + * Improved docstrings.
11.7 + * Fixed support for examining the root window.
11.8 + * Changed the licence to the LGPL version 3 (or later).
11.9 +
11.10 + -- Paul Boddie <paul@boddie.org.uk> Sun, 21 Jun 2009 22:45:44 +0200
11.11 +
11.12 +desktop (0.3-0ubuntu1) feisty; urgency=low
11.13 +
11.14 + * Made desktop a package.
11.15 + * Added support for graphical dialogue boxes through
11.16 + programs such as kdialog, zenity and Xdialog.
11.17 + * Added support for inspecting desktop windows (currently
11.18 + only for X11).
11.19 +
11.20 + -- Paul Boddie <paul@boddie.org.uk> Sat, 15 Dec 2007 19:47:44 +0100
11.21 +
11.22 +desktop (0.2.4-0ubuntu1) feisty; urgency=low
11.23 +
11.24 + * Added XFCE support (with advice from Miki Tebeka).
11.25 + * Added Ubuntu Feisty (7.04) package support.
11.26 +
11.27 + -- Paul Boddie <paul@boddie.org.uk> Tue, 28 Aug 2007 00:27:37 +0200
11.28 +
11.29 +desktop (0.2.3-0ubuntu1) hoary; urgency=low
11.30 +
11.31 + * Added Python 2.3 support (using popen2 instead of
11.32 + subprocess).
11.33 +
11.34 + -- Paul Boddie <paul@boddie.org.uk> Wed, 19 Jul 2006 23:15:54 +0200
11.35 +
11.36 +desktop (0.2.2-0ubuntu1) hoary; urgency=low
11.37 +
11.38 + * Changed the licence to LGPL.
11.39 +
11.40 + -- Paul Boddie <paul@boddie.org.uk> Tue, 13 Jun 2006 00:04:05 +0200
11.41 +
11.42 +desktop (0.2.1-0ubuntu1) hoary; urgency=low
11.43 +
11.44 + * New upstream release.
11.45 +
11.46 + -- Paul Boddie <paul@boddie.org.uk> Thu, 8 Dec 2005 17:12:48 +0100
12.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
12.2 +++ b/packages/ubuntu-hardy/python-desktop/debian/compat Sun Jun 21 22:47:11 2009 +0200
12.3 @@ -0,0 +1,1 @@
12.4 +5
13.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
13.2 +++ b/packages/ubuntu-hardy/python-desktop/debian/control Sun Jun 21 22:47:11 2009 +0200
13.3 @@ -0,0 +1,17 @@
13.4 +Source: desktop
13.5 +Section: python
13.6 +Priority: optional
13.7 +Maintainer: Paul Boddie <paul@boddie.org.uk>
13.8 +Build-Depends: debhelper (>= 5.0.38), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), python-epydoc (>= 2.1-6ubuntu1)
13.9 +XS-Python-Version: all
13.10 +Standards-Version: 3.7.2.1
13.11 +
13.12 +Package: python-desktop
13.13 +Architecture: all
13.14 +Depends: ${python:Depends}
13.15 +Suggests: kde, gnome, xfce4
13.16 +Conflicts: python2.4-desktop (<< 0.2.4-0ubuntu1)
13.17 +Replaces: python2.4-desktop (<< 0.2.4-0ubuntu1)
13.18 +XB-Python-Version: ${python:Versions}
13.19 +Description: Desktop environment detection, inspection; support for opening dialogues and resources.
13.20 + A selection of common and standardised desktop environments are supported.
14.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
14.2 +++ b/packages/ubuntu-hardy/python-desktop/debian/copyright Sun Jun 21 22:47:11 2009 +0200
14.3 @@ -0,0 +1,32 @@
14.4 +Package creator:
14.5 +
14.6 + Paul Boddie <paul@boddie.org.uk>
14.7 +
14.8 +The origin of the package is:
14.9 +
14.10 + http://www.python.org/pypi/desktop
14.11 +
14.12 +Package author:
14.13 +
14.14 + Paul Boddie <paul@boddie.org.uk>
14.15 +
14.16 +Copyright:
14.17 +
14.18 +Licence Agreement for desktop
14.19 +-----------------------------
14.20 +
14.21 +Copyright (C) 2005, 2006, 2007 Paul Boddie <paul@boddie.org.uk>
14.22 +
14.23 +This library is free software; you can redistribute it and/or
14.24 +modify it under the terms of the GNU Lesser General Public
14.25 +License as published by the Free Software Foundation; either
14.26 +version 2.1 of the License, or (at your option) any later version.
14.27 +
14.28 +This library is distributed in the hope that it will be useful,
14.29 +but WITHOUT ANY WARRANTY; without even the implied warranty of
14.30 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14.31 +Lesser General Public License for more details.
14.32 +
14.33 +You should have received a copy of the GNU Lesser General Public
14.34 +License along with this library; if not, write to the Free Software
14.35 +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
15.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
15.2 +++ b/packages/ubuntu-hardy/python-desktop/debian/docs Sun Jun 21 22:47:11 2009 +0200
15.3 @@ -0,0 +1,3 @@
15.4 +README.txt
15.5 +docs
15.6 +apidocs
16.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
16.2 +++ b/packages/ubuntu-hardy/python-desktop/debian/rules Sun Jun 21 22:47:11 2009 +0200
16.3 @@ -0,0 +1,66 @@
16.4 +#!/usr/bin/make -f
16.5 +# A debian/rules file using python-central.
16.6 +
16.7 +# Uncomment this to turn on verbose mode.
16.8 +#export DH_VERBOSE=1
16.9 +
16.10 +export DH_COMPAT=5
16.11 +
16.12 +PYVERS=$(shell pyversions -vr)
16.13 +
16.14 +build: build-stamp
16.15 +
16.16 +build-stamp: $(PYVERS:%=build-python%) build-python-scripts
16.17 + touch $@
16.18 +
16.19 +build-python%:
16.20 + python$* setup.py build_py
16.21 + touch $@
16.22 +
16.23 +build-python-scripts:
16.24 + #python setup.py build_scripts
16.25 + #touch $@
16.26 +
16.27 +clean:
16.28 + dh_testdir
16.29 + dh_testroot
16.30 + rm -f *-stamp
16.31 + rm -rf build
16.32 + find . -name '*.py[co]' | xargs rm -f
16.33 + dh_clean
16.34 +
16.35 +install: build install-prereq $(PYVERS:%=install-python%) install-python-scripts
16.36 + # Script fixing would appear here.
16.37 +
16.38 +install-prereq:
16.39 + dh_testdir
16.40 + dh_testroot
16.41 + dh_clean -k
16.42 +
16.43 +install-python%:
16.44 + python$* setup.py install_lib --install-dir $(CURDIR)/debian/python-desktop/usr/lib/python$*/site-packages
16.45 +
16.46 +install-python-scripts:
16.47 + #python setup.py install_scripts --install-dir $(CURDIR)/debian/python-desktop/usr/bin
16.48 +
16.49 +# Build architecture-independent files here.
16.50 +
16.51 +binary-indep: install
16.52 + tools/apidocs.sh
16.53 + dh_testdir -i
16.54 + dh_testroot -i
16.55 + dh_pycentral -i
16.56 + dh_installdocs -i
16.57 + dh_fixperms -i
16.58 + dh_installdeb -i
16.59 + dh_gencontrol -i
16.60 + dh_md5sums -i
16.61 + dh_builddeb -i
16.62 +
16.63 +# Build architecture-dependent files here.
16.64 +
16.65 +binary-arch:
16.66 + # Empty rule for this package.
16.67 +
16.68 +binary: binary-indep binary-arch
16.69 +.PHONY: build clean binary-arch binary-indep binary install
17.1 --- a/packages/ubuntu-hoary/python2.4-desktop/debian/changelog Sun Jun 07 17:28:16 2009 +0200
17.2 +++ b/packages/ubuntu-hoary/python2.4-desktop/debian/changelog Sun Jun 21 22:47:11 2009 +0200
17.3 @@ -1,9 +1,10 @@
17.4 -desktop (0.3.1-0ubuntu1) hoary; urgency=low
17.5 +desktop (0.4-0ubuntu1) hoary; urgency=low
17.6
17.7 * Improved docstrings.
17.8 * Fixed support for examining the root window.
17.9 + * Changed the licence to the LGPL version 3 (or later).
17.10
17.11 - -- Paul Boddie <paul@boddie.org.uk> Wed, 15 Oct 2008 23:11:12 +0200
17.12 + -- Paul Boddie <paul@boddie.org.uk> Sun, 21 Jun 2009 22:45:13 +0200
17.13
17.14 desktop (0.3-0ubuntu1) hoary; urgency=low
17.15
18.1 --- a/setup.py Sun Jun 07 17:28:16 2009 +0200
18.2 +++ b/setup.py Sun Jun 21 22:47:11 2009 +0200
18.3 @@ -2,14 +2,12 @@
18.4
18.5 from distutils.core import setup
18.6
18.7 -import desktop
18.8 -
18.9 setup(
18.10 name = "desktop",
18.11 description = "Simple desktop integration for Python.",
18.12 author = "Paul Boddie",
18.13 author_email = "paul@boddie.org.uk",
18.14 url = "http://www.python.org/pypi/desktop",
18.15 - version = desktop.__version__,
18.16 + version = "0.4",
18.17 packages = ["desktop"]
18.18 )