[svn r931] fixed license mistakes trunk
authorrenatofilho
Mon Feb 25 14:12:27 2008 +0000 (2008-02-25)
branchtrunk
changeset 92204cd5e61dca3
parent 921 5bf73f56521b
child 923 337aef39e86a
[svn r931] fixed license mistakes
gmyth-upnp/COPYING
gmyth-upnp/src/gmyth_upnp.c
gmyth-upnp/src/gmyth_upnp.h
gmyth-upnp/test/Makefile.am
gmyth-upnp/test/main.c
     1.1 --- a/gmyth-upnp/COPYING	Mon Feb 25 13:49:59 2008 +0000
     1.2 +++ b/gmyth-upnp/COPYING	Mon Feb 25 14:12:27 2008 +0000
     1.3 @@ -1,22 +1,25 @@
     1.4 -		    GNU GENERAL PUBLIC LICENSE
     1.5 +		  GNU LIBRARY GENERAL PUBLIC LICENSE
     1.6  		       Version 2, June 1991
     1.7  
     1.8 - Copyright (C) 1989, 1991 Free Software Foundation, Inc.
     1.9 -     59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    1.10 + Copyright (C) 1991 Free Software Foundation, Inc.
    1.11 +                    675 Mass Ave, Cambridge, MA 02139, USA
    1.12   Everyone is permitted to copy and distribute verbatim copies
    1.13   of this license document, but changing it is not allowed.
    1.14  
    1.15 +[This is the first released version of the library GPL.  It is
    1.16 + numbered 2 because it goes with version 2 of the ordinary GPL.]
    1.17 +
    1.18  			    Preamble
    1.19  
    1.20    The licenses for most software are designed to take away your
    1.21  freedom to share and change it.  By contrast, the GNU General Public
    1.22 -License is intended to guarantee your freedom to share and change free
    1.23 -software--to make sure the software is free for all its users.  This
    1.24 -General Public License applies to most of the Free Software
    1.25 -Foundation's software and to any other program whose authors commit to
    1.26 -using it.  (Some other Free Software Foundation software is covered by
    1.27 -the GNU Library General Public License instead.)  You can apply it to
    1.28 -your programs, too.
    1.29 +Licenses are intended to guarantee your freedom to share and change
    1.30 +free software--to make sure the software is free for all its users.
    1.31 +
    1.32 +  This license, the Library General Public License, applies to some
    1.33 +specially designated Free Software Foundation software, and to any
    1.34 +other libraries whose authors decide to use it.  You can use it for
    1.35 +your libraries, too.
    1.36  
    1.37    When we speak of free software, we are referring to freedom, not
    1.38  price.  Our General Public Licenses are designed to make sure that you
    1.39 @@ -27,195 +30,347 @@
    1.40  
    1.41    To protect your rights, we need to make restrictions that forbid
    1.42  anyone to deny you these rights or to ask you to surrender the rights.
    1.43 -These restrictions translate to certain responsibilities for you if you
    1.44 -distribute copies of the software, or if you modify it.
    1.45 +These restrictions translate to certain responsibilities for you if
    1.46 +you distribute copies of the library, or if you modify it.
    1.47  
    1.48 -  For example, if you distribute copies of such a program, whether
    1.49 -gratis or for a fee, you must give the recipients all the rights that
    1.50 -you have.  You must make sure that they, too, receive or can get the
    1.51 -source code.  And you must show them these terms so they know their
    1.52 -rights.
    1.53 +  For example, if you distribute copies of the library, whether gratis
    1.54 +or for a fee, you must give the recipients all the rights that we gave
    1.55 +you.  You must make sure that they, too, receive or can get the source
    1.56 +code.  If you link a program with the library, you must provide
    1.57 +complete object files to the recipients so that they can relink them
    1.58 +with the library, after making changes to the library and recompiling
    1.59 +it.  And you must show them these terms so they know their rights.
    1.60  
    1.61 -  We protect your rights with two steps: (1) copyright the software, and
    1.62 -(2) offer you this license which gives you legal permission to copy,
    1.63 -distribute and/or modify the software.
    1.64 +  Our method of protecting your rights has two steps: (1) copyright
    1.65 +the library, and (2) offer you this license which gives you legal
    1.66 +permission to copy, distribute and/or modify the library.
    1.67  
    1.68 -  Also, for each author's protection and ours, we want to make certain
    1.69 +  Also, for each distributor's protection, we want to make certain
    1.70  that everyone understands that there is no warranty for this free
    1.71 -software.  If the software is modified by someone else and passed on, we
    1.72 -want its recipients to know that what they have is not the original, so
    1.73 -that any problems introduced by others will not reflect on the original
    1.74 -authors' reputations.
    1.75 +library.  If the library is modified by someone else and passed on, we
    1.76 +want its recipients to know that what they have is not the original
    1.77 +version, so that any problems introduced by others will not reflect on
    1.78 +the original authors' reputations.
    1.79 +
    1.80 +  Finally, any free program is threatened constantly by software
    1.81 +patents.  We wish to avoid the danger that companies distributing free
    1.82 +software will individually obtain patent licenses, thus in effect
    1.83 +transforming the program into proprietary software.  To prevent this,
    1.84 +we have made it clear that any patent must be licensed for everyone's
    1.85 +free use or not licensed at all.
    1.86  
    1.87 -  Finally, any free program is threatened constantly by software
    1.88 -patents.  We wish to avoid the danger that redistributors of a free
    1.89 -program will individually obtain patent licenses, in effect making the
    1.90 -program proprietary.  To prevent this, we have made it clear that any
    1.91 -patent must be licensed for everyone's free use or not licensed at all.
    1.92 +  Most GNU software, including some libraries, is covered by the ordinary
    1.93 +GNU General Public License, which was designed for utility programs.  This
    1.94 +license, the GNU Library General Public License, applies to certain
    1.95 +designated libraries.  This license is quite different from the ordinary
    1.96 +one; be sure to read it in full, and don't assume that anything in it is
    1.97 +the same as in the ordinary license.
    1.98 +
    1.99 +  The reason we have a separate public license for some libraries is that
   1.100 +they blur the distinction we usually make between modifying or adding to a
   1.101 +program and simply using it.  Linking a program with a library, without
   1.102 +changing the library, is in some sense simply using the library, and is
   1.103 +analogous to running a utility program or application program.  However, in
   1.104 +a textual and legal sense, the linked executable is a combined work, a
   1.105 +derivative of the original library, and the ordinary General Public License
   1.106 +treats it as such.
   1.107 +
   1.108 +  Because of this blurred distinction, using the ordinary General
   1.109 +Public License for libraries did not effectively promote software
   1.110 +sharing, because most developers did not use the libraries.  We
   1.111 +concluded that weaker conditions might promote sharing better.
   1.112 +
   1.113 +  However, unrestricted linking of non-free programs would deprive the
   1.114 +users of those programs of all benefit from the free status of the
   1.115 +libraries themselves.  This Library General Public License is intended to
   1.116 +permit developers of non-free programs to use free libraries, while
   1.117 +preserving your freedom as a user of such programs to change the free
   1.118 +libraries that are incorporated in them.  (We have not seen how to achieve
   1.119 +this as regards changes in header files, but we have achieved it as regards
   1.120 +changes in the actual functions of the Library.)  The hope is that this
   1.121 +will lead to faster development of free libraries.
   1.122  
   1.123    The precise terms and conditions for copying, distribution and
   1.124 -modification follow.
   1.125 +modification follow.  Pay close attention to the difference between a
   1.126 +"work based on the library" and a "work that uses the library".  The
   1.127 +former contains code derived from the library, while the latter only
   1.128 +works together with the library.
   1.129 +
   1.130 +  Note that it is possible for a library to be covered by the ordinary
   1.131 +General Public License rather than by this special one.
   1.132  
   1.133 -		    GNU GENERAL PUBLIC LICENSE
   1.134 +		  GNU LIBRARY GENERAL PUBLIC LICENSE
   1.135     TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
   1.136  
   1.137 -  0. This License applies to any program or other work which contains
   1.138 -a notice placed by the copyright holder saying it may be distributed
   1.139 -under the terms of this General Public License.  The "Program", below,
   1.140 -refers to any such program or work, and a "work based on the Program"
   1.141 -means either the Program or any derivative work under copyright law:
   1.142 -that is to say, a work containing the Program or a portion of it,
   1.143 -either verbatim or with modifications and/or translated into another
   1.144 -language.  (Hereinafter, translation is included without limitation in
   1.145 -the term "modification".)  Each licensee is addressed as "you".
   1.146 +  0. This License Agreement applies to any software library which
   1.147 +contains a notice placed by the copyright holder or other authorized
   1.148 +party saying it may be distributed under the terms of this Library
   1.149 +General Public License (also called "this License").  Each licensee is
   1.150 +addressed as "you".
   1.151  
   1.152 -Activities other than copying, distribution and modification are not
   1.153 +  A "library" means a collection of software functions and/or data
   1.154 +prepared so as to be conveniently linked with application programs
   1.155 +(which use some of those functions and data) to form executables.
   1.156 +
   1.157 +  The "Library", below, refers to any such software library or work
   1.158 +which has been distributed under these terms.  A "work based on the
   1.159 +Library" means either the Library or any derivative work under
   1.160 +copyright law: that is to say, a work containing the Library or a
   1.161 +portion of it, either verbatim or with modifications and/or translated
   1.162 +straightforwardly into another language.  (Hereinafter, translation is
   1.163 +included without limitation in the term "modification".)
   1.164 +
   1.165 +  "Source code" for a work means the preferred form of the work for
   1.166 +making modifications to it.  For a library, complete source code means
   1.167 +all the source code for all modules it contains, plus any associated
   1.168 +interface definition files, plus the scripts used to control compilation
   1.169 +and installation of the library.
   1.170 +
   1.171 +  Activities other than copying, distribution and modification are not
   1.172  covered by this License; they are outside its scope.  The act of
   1.173 -running the Program is not restricted, and the output from the Program
   1.174 -is covered only if its contents constitute a work based on the
   1.175 -Program (independent of having been made by running the Program).
   1.176 -Whether that is true depends on what the Program does.
   1.177 +running a program using the Library is not restricted, and output from
   1.178 +such a program is covered only if its contents constitute a work based
   1.179 +on the Library (independent of the use of the Library in a tool for
   1.180 +writing it).  Whether that is true depends on what the Library does
   1.181 +and what the program that uses the Library does.
   1.182 +  
   1.183 +  1. You may copy and distribute verbatim copies of the Library's
   1.184 +complete source code as you receive it, in any medium, provided that
   1.185 +you conspicuously and appropriately publish on each copy an
   1.186 +appropriate copyright notice and disclaimer of warranty; keep intact
   1.187 +all the notices that refer to this License and to the absence of any
   1.188 +warranty; and distribute a copy of this License along with the
   1.189 +Library.
   1.190  
   1.191 -  1. You may copy and distribute verbatim copies of the Program's
   1.192 -source code as you receive it, in any medium, provided that you
   1.193 -conspicuously and appropriately publish on each copy an appropriate
   1.194 -copyright notice and disclaimer of warranty; keep intact all the
   1.195 -notices that refer to this License and to the absence of any warranty;
   1.196 -and give any other recipients of the Program a copy of this License
   1.197 -along with the Program.
   1.198 -
   1.199 -You may charge a fee for the physical act of transferring a copy, and
   1.200 -you may at your option offer warranty protection in exchange for a fee.
   1.201 -
   1.202 -  2. You may modify your copy or copies of the Program or any portion
   1.203 -of it, thus forming a work based on the Program, and copy and
   1.204 +  You may charge a fee for the physical act of transferring a copy,
   1.205 +and you may at your option offer warranty protection in exchange for a
   1.206 +fee.
   1.207 +
   1.208 +  2. You may modify your copy or copies of the Library or any portion
   1.209 +of it, thus forming a work based on the Library, and copy and
   1.210  distribute such modifications or work under the terms of Section 1
   1.211  above, provided that you also meet all of these conditions:
   1.212  
   1.213 -    a) You must cause the modified files to carry prominent notices
   1.214 +    a) The modified work must itself be a software library.
   1.215 +
   1.216 +    b) You must cause the files modified to carry prominent notices
   1.217      stating that you changed the files and the date of any change.
   1.218  
   1.219 -    b) You must cause any work that you distribute or publish, that in
   1.220 -    whole or in part contains or is derived from the Program or any
   1.221 -    part thereof, to be licensed as a whole at no charge to all third
   1.222 -    parties under the terms of this License.
   1.223 +    c) You must cause the whole of the work to be licensed at no
   1.224 +    charge to all third parties under the terms of this License.
   1.225  
   1.226 -    c) If the modified program normally reads commands interactively
   1.227 -    when run, you must cause it, when started running for such
   1.228 -    interactive use in the most ordinary way, to print or display an
   1.229 -    announcement including an appropriate copyright notice and a
   1.230 -    notice that there is no warranty (or else, saying that you provide
   1.231 -    a warranty) and that users may redistribute the program under
   1.232 -    these conditions, and telling the user how to view a copy of this
   1.233 -    License.  (Exception: if the Program itself is interactive but
   1.234 -    does not normally print such an announcement, your work based on
   1.235 -    the Program is not required to print an announcement.)
   1.236 -
   1.237 +    d) If a facility in the modified Library refers to a function or a
   1.238 +    table of data to be supplied by an application program that uses
   1.239 +    the facility, other than as an argument passed when the facility
   1.240 +    is invoked, then you must make a good faith effort to ensure that,
   1.241 +    in the event an application does not supply such function or
   1.242 +    table, the facility still operates, and performs whatever part of
   1.243 +    its purpose remains meaningful.
   1.244 +
   1.245 +    (For example, a function in a library to compute square roots has
   1.246 +    a purpose that is entirely well-defined independent of the
   1.247 +    application.  Therefore, Subsection 2d requires that any
   1.248 +    application-supplied function or table used by this function must
   1.249 +    be optional: if the application does not supply it, the square
   1.250 +    root function must still compute square roots.)
   1.251 +
   1.252  These requirements apply to the modified work as a whole.  If
   1.253 -identifiable sections of that work are not derived from the Program,
   1.254 +identifiable sections of that work are not derived from the Library,
   1.255  and can be reasonably considered independent and separate works in
   1.256  themselves, then this License, and its terms, do not apply to those
   1.257  sections when you distribute them as separate works.  But when you
   1.258  distribute the same sections as part of a whole which is a work based
   1.259 -on the Program, the distribution of the whole must be on the terms of
   1.260 +on the Library, the distribution of the whole must be on the terms of
   1.261  this License, whose permissions for other licensees extend to the
   1.262 -entire whole, and thus to each and every part regardless of who wrote it.
   1.263 +entire whole, and thus to each and every part regardless of who wrote
   1.264 +it.
   1.265  
   1.266  Thus, it is not the intent of this section to claim rights or contest
   1.267  your rights to work written entirely by you; rather, the intent is to
   1.268  exercise the right to control the distribution of derivative or
   1.269 -collective works based on the Program.
   1.270 +collective works based on the Library.
   1.271  
   1.272 -In addition, mere aggregation of another work not based on the Program
   1.273 -with the Program (or with a work based on the Program) on a volume of
   1.274 +In addition, mere aggregation of another work not based on the Library
   1.275 +with the Library (or with a work based on the Library) on a volume of
   1.276  a storage or distribution medium does not bring the other work under
   1.277  the scope of this License.
   1.278  
   1.279 -  3. You may copy and distribute the Program (or a work based on it,
   1.280 -under Section 2) in object code or executable form under the terms of
   1.281 -Sections 1 and 2 above provided that you also do one of the following:
   1.282 +  3. You may opt to apply the terms of the ordinary GNU General Public
   1.283 +License instead of this License to a given copy of the Library.  To do
   1.284 +this, you must alter all the notices that refer to this License, so
   1.285 +that they refer to the ordinary GNU General Public License, version 2,
   1.286 +instead of to this License.  (If a newer version than version 2 of the
   1.287 +ordinary GNU General Public License has appeared, then you can specify
   1.288 +that version instead if you wish.)  Do not make any other change in
   1.289 +these notices.
   1.290 +
   1.291 +  Once this change is made in a given copy, it is irreversible for
   1.292 +that copy, so the ordinary GNU General Public License applies to all
   1.293 +subsequent copies and derivative works made from that copy.
   1.294  
   1.295 -    a) Accompany it with the complete corresponding machine-readable
   1.296 -    source code, which must be distributed under the terms of Sections
   1.297 -    1 and 2 above on a medium customarily used for software interchange; or,
   1.298 +  This option is useful when you wish to copy part of the code of
   1.299 +the Library into a program that is not a library.
   1.300  
   1.301 -    b) Accompany it with a written offer, valid for at least three
   1.302 -    years, to give any third party, for a charge no more than your
   1.303 -    cost of physically performing source distribution, a complete
   1.304 -    machine-readable copy of the corresponding source code, to be
   1.305 -    distributed under the terms of Sections 1 and 2 above on a medium
   1.306 -    customarily used for software interchange; or,
   1.307 +  4. You may copy and distribute the Library (or a portion or
   1.308 +derivative of it, under Section 2) in object code or executable form
   1.309 +under the terms of Sections 1 and 2 above provided that you accompany
   1.310 +it with the complete corresponding machine-readable source code, which
   1.311 +must be distributed under the terms of Sections 1 and 2 above on a
   1.312 +medium customarily used for software interchange.
   1.313  
   1.314 -    c) Accompany it with the information you received as to the offer
   1.315 -    to distribute corresponding source code.  (This alternative is
   1.316 -    allowed only for noncommercial distribution and only if you
   1.317 -    received the program in object code or executable form with such
   1.318 -    an offer, in accord with Subsection b above.)
   1.319 +  If distribution of object code is made by offering access to copy
   1.320 +from a designated place, then offering equivalent access to copy the
   1.321 +source code from the same place satisfies the requirement to
   1.322 +distribute the source code, even though third parties are not
   1.323 +compelled to copy the source along with the object code.
   1.324  
   1.325 -The source code for a work means the preferred form of the work for
   1.326 -making modifications to it.  For an executable work, complete source
   1.327 -code means all the source code for all modules it contains, plus any
   1.328 -associated interface definition files, plus the scripts used to
   1.329 -control compilation and installation of the executable.  However, as a
   1.330 -special exception, the source code distributed need not include
   1.331 -anything that is normally distributed (in either source or binary
   1.332 -form) with the major components (compiler, kernel, and so on) of the
   1.333 -operating system on which the executable runs, unless that component
   1.334 -itself accompanies the executable.
   1.335 +  5. A program that contains no derivative of any portion of the
   1.336 +Library, but is designed to work with the Library by being compiled or
   1.337 +linked with it, is called a "work that uses the Library".  Such a
   1.338 +work, in isolation, is not a derivative work of the Library, and
   1.339 +therefore falls outside the scope of this License.
   1.340  
   1.341 -If distribution of executable or object code is made by offering
   1.342 -access to copy from a designated place, then offering equivalent
   1.343 -access to copy the source code from the same place counts as
   1.344 -distribution of the source code, even though third parties are not
   1.345 -compelled to copy the source along with the object code.
   1.346 +  However, linking a "work that uses the Library" with the Library
   1.347 +creates an executable that is a derivative of the Library (because it
   1.348 +contains portions of the Library), rather than a "work that uses the
   1.349 +library".  The executable is therefore covered by this License.
   1.350 +Section 6 states terms for distribution of such executables.
   1.351 +
   1.352 +  When a "work that uses the Library" uses material from a header file
   1.353 +that is part of the Library, the object code for the work may be a
   1.354 +derivative work of the Library even though the source code is not.
   1.355 +Whether this is true is especially significant if the work can be
   1.356 +linked without the Library, or if the work is itself a library.  The
   1.357 +threshold for this to be true is not precisely defined by law.
   1.358 +
   1.359 +  If such an object file uses only numerical parameters, data
   1.360 +structure layouts and accessors, and small macros and small inline
   1.361 +functions (ten lines or less in length), then the use of the object
   1.362 +file is unrestricted, regardless of whether it is legally a derivative
   1.363 +work.  (Executables containing this object code plus portions of the
   1.364 +Library will still fall under Section 6.)
   1.365 +
   1.366 +  Otherwise, if the work is a derivative of the Library, you may
   1.367 +distribute the object code for the work under the terms of Section 6.
   1.368 +Any executables containing that work also fall under Section 6,
   1.369 +whether or not they are linked directly with the Library itself.
   1.370  
   1.371 -  4. You may not copy, modify, sublicense, or distribute the Program
   1.372 -except as expressly provided under this License.  Any attempt
   1.373 -otherwise to copy, modify, sublicense or distribute the Program is
   1.374 -void, and will automatically terminate your rights under this License.
   1.375 -However, parties who have received copies, or rights, from you under
   1.376 -this License will not have their licenses terminated so long as such
   1.377 -parties remain in full compliance.
   1.378 +  6. As an exception to the Sections above, you may also compile or
   1.379 +link a "work that uses the Library" with the Library to produce a
   1.380 +work containing portions of the Library, and distribute that work
   1.381 +under terms of your choice, provided that the terms permit
   1.382 +modification of the work for the customer's own use and reverse
   1.383 +engineering for debugging such modifications.
   1.384  
   1.385 -  5. You are not required to accept this License, since you have not
   1.386 +  You must give prominent notice with each copy of the work that the
   1.387 +Library is used in it and that the Library and its use are covered by
   1.388 +this License.  You must supply a copy of this License.  If the work
   1.389 +during execution displays copyright notices, you must include the
   1.390 +copyright notice for the Library among them, as well as a reference
   1.391 +directing the user to the copy of this License.  Also, you must do one
   1.392 +of these things:
   1.393 +
   1.394 +    a) Accompany the work with the complete corresponding
   1.395 +    machine-readable source code for the Library including whatever
   1.396 +    changes were used in the work (which must be distributed under
   1.397 +    Sections 1 and 2 above); and, if the work is an executable linked
   1.398 +    with the Library, with the complete machine-readable "work that
   1.399 +    uses the Library", as object code and/or source code, so that the
   1.400 +    user can modify the Library and then relink to produce a modified
   1.401 +    executable containing the modified Library.  (It is understood
   1.402 +    that the user who changes the contents of definitions files in the
   1.403 +    Library will not necessarily be able to recompile the application
   1.404 +    to use the modified definitions.)
   1.405 +
   1.406 +    b) Accompany the work with a written offer, valid for at
   1.407 +    least three years, to give the same user the materials
   1.408 +    specified in Subsection 6a, above, for a charge no more
   1.409 +    than the cost of performing this distribution.
   1.410 +
   1.411 +    c) If distribution of the work is made by offering access to copy
   1.412 +    from a designated place, offer equivalent access to copy the above
   1.413 +    specified materials from the same place.
   1.414 +
   1.415 +    d) Verify that the user has already received a copy of these
   1.416 +    materials or that you have already sent this user a copy.
   1.417 +
   1.418 +  For an executable, the required form of the "work that uses the
   1.419 +Library" must include any data and utility programs needed for
   1.420 +reproducing the executable from it.  However, as a special exception,
   1.421 +the source code distributed need not include anything that is normally
   1.422 +distributed (in either source or binary form) with the major
   1.423 +components (compiler, kernel, and so on) of the operating system on
   1.424 +which the executable runs, unless that component itself accompanies
   1.425 +the executable.
   1.426 +
   1.427 +  It may happen that this requirement contradicts the license
   1.428 +restrictions of other proprietary libraries that do not normally
   1.429 +accompany the operating system.  Such a contradiction means you cannot
   1.430 +use both them and the Library together in an executable that you
   1.431 +distribute.
   1.432 +
   1.433 +  7. You may place library facilities that are a work based on the
   1.434 +Library side-by-side in a single library together with other library
   1.435 +facilities not covered by this License, and distribute such a combined
   1.436 +library, provided that the separate distribution of the work based on
   1.437 +the Library and of the other library facilities is otherwise
   1.438 +permitted, and provided that you do these two things:
   1.439 +
   1.440 +    a) Accompany the combined library with a copy of the same work
   1.441 +    based on the Library, uncombined with any other library
   1.442 +    facilities.  This must be distributed under the terms of the
   1.443 +    Sections above.
   1.444 +
   1.445 +    b) Give prominent notice with the combined library of the fact
   1.446 +    that part of it is a work based on the Library, and explaining
   1.447 +    where to find the accompanying uncombined form of the same work.
   1.448 +
   1.449 +  8. You may not copy, modify, sublicense, link with, or distribute
   1.450 +the Library except as expressly provided under this License.  Any
   1.451 +attempt otherwise to copy, modify, sublicense, link with, or
   1.452 +distribute the Library is void, and will automatically terminate your
   1.453 +rights under this License.  However, parties who have received copies,
   1.454 +or rights, from you under this License will not have their licenses
   1.455 +terminated so long as such parties remain in full compliance.
   1.456 +
   1.457 +  9. You are not required to accept this License, since you have not
   1.458  signed it.  However, nothing else grants you permission to modify or
   1.459 -distribute the Program or its derivative works.  These actions are
   1.460 +distribute the Library or its derivative works.  These actions are
   1.461  prohibited by law if you do not accept this License.  Therefore, by
   1.462 -modifying or distributing the Program (or any work based on the
   1.463 -Program), you indicate your acceptance of this License to do so, and
   1.464 +modifying or distributing the Library (or any work based on the
   1.465 +Library), you indicate your acceptance of this License to do so, and
   1.466  all its terms and conditions for copying, distributing or modifying
   1.467 -the Program or works based on it.
   1.468 +the Library or works based on it.
   1.469  
   1.470 -  6. Each time you redistribute the Program (or any work based on the
   1.471 -Program), the recipient automatically receives a license from the
   1.472 -original licensor to copy, distribute or modify the Program subject to
   1.473 -these terms and conditions.  You may not impose any further
   1.474 +  10. Each time you redistribute the Library (or any work based on the
   1.475 +Library), the recipient automatically receives a license from the
   1.476 +original licensor to copy, distribute, link with or modify the Library
   1.477 +subject to these terms and conditions.  You may not impose any further
   1.478  restrictions on the recipients' exercise of the rights granted herein.
   1.479  You are not responsible for enforcing compliance by third parties to
   1.480  this License.
   1.481 -
   1.482 -  7. If, as a consequence of a court judgment or allegation of patent
   1.483 +
   1.484 +  11. If, as a consequence of a court judgment or allegation of patent
   1.485  infringement or for any other reason (not limited to patent issues),
   1.486  conditions are imposed on you (whether by court order, agreement or
   1.487  otherwise) that contradict the conditions of this License, they do not
   1.488  excuse you from the conditions of this License.  If you cannot
   1.489  distribute so as to satisfy simultaneously your obligations under this
   1.490  License and any other pertinent obligations, then as a consequence you
   1.491 -may not distribute the Program at all.  For example, if a patent
   1.492 -license would not permit royalty-free redistribution of the Program by
   1.493 +may not distribute the Library at all.  For example, if a patent
   1.494 +license would not permit royalty-free redistribution of the Library by
   1.495  all those who receive copies directly or indirectly through you, then
   1.496  the only way you could satisfy both it and this License would be to
   1.497 -refrain entirely from distribution of the Program.
   1.498 +refrain entirely from distribution of the Library.
   1.499  
   1.500 -If any portion of this section is held invalid or unenforceable under
   1.501 -any particular circumstance, the balance of the section is intended to
   1.502 -apply and the section as a whole is intended to apply in other
   1.503 -circumstances.
   1.504 +If any portion of this section is held invalid or unenforceable under any
   1.505 +particular circumstance, the balance of the section is intended to apply,
   1.506 +and the section as a whole is intended to apply in other circumstances.
   1.507  
   1.508  It is not the purpose of this section to induce you to infringe any
   1.509  patents or other property right claims or to contest validity of any
   1.510  such claims; this section has the sole purpose of protecting the
   1.511 -integrity of the free software distribution system, which is
   1.512 +integrity of the free software distribution system which is
   1.513  implemented by public license practices.  Many people have made
   1.514  generous contributions to the wide range of software distributed
   1.515  through that system in reliance on consistent application of that
   1.516 @@ -225,116 +380,102 @@
   1.517  
   1.518  This section is intended to make thoroughly clear what is believed to
   1.519  be a consequence of the rest of this License.
   1.520 +
   1.521 +  12. If the distribution and/or use of the Library is restricted in
   1.522 +certain countries either by patents or by copyrighted interfaces, the
   1.523 +original copyright holder who places the Library under this License may add
   1.524 +an explicit geographical distribution limitation excluding those countries,
   1.525 +so that distribution is permitted only in or among countries not thus
   1.526 +excluded.  In such case, this License incorporates the limitation as if
   1.527 +written in the body of this License.
   1.528 +
   1.529 +  13. The Free Software Foundation may publish revised and/or new
   1.530 +versions of the Library General Public License from time to time.
   1.531 +Such new versions will be similar in spirit to the present version,
   1.532 +but may differ in detail to address new problems or concerns.
   1.533 +
   1.534 +Each version is given a distinguishing version number.  If the Library
   1.535 +specifies a version number of this License which applies to it and
   1.536 +"any later version", you have the option of following the terms and
   1.537 +conditions either of that version or of any later version published by
   1.538 +the Free Software Foundation.  If the Library does not specify a
   1.539 +license version number, you may choose any version ever published by
   1.540 +the Free Software Foundation.
   1.541  
   1.542 -  8. If the distribution and/or use of the Program is restricted in
   1.543 -certain countries either by patents or by copyrighted interfaces, the
   1.544 -original copyright holder who places the Program under this License
   1.545 -may add an explicit geographical distribution limitation excluding
   1.546 -those countries, so that distribution is permitted only in or among
   1.547 -countries not thus excluded.  In such case, this License incorporates
   1.548 -the limitation as if written in the body of this License.
   1.549 -
   1.550 -  9. The Free Software Foundation may publish revised and/or new versions
   1.551 -of the General Public License from time to time.  Such new versions will
   1.552 -be similar in spirit to the present version, but may differ in detail to
   1.553 -address new problems or concerns.
   1.554 -
   1.555 -Each version is given a distinguishing version number.  If the Program
   1.556 -specifies a version number of this License which applies to it and "any
   1.557 -later version", you have the option of following the terms and conditions
   1.558 -either of that version or of any later version published by the Free
   1.559 -Software Foundation.  If the Program does not specify a version number of
   1.560 -this License, you may choose any version ever published by the Free Software
   1.561 -Foundation.
   1.562 -
   1.563 -  10. If you wish to incorporate parts of the Program into other free
   1.564 -programs whose distribution conditions are different, write to the author
   1.565 -to ask for permission.  For software which is copyrighted by the Free
   1.566 -Software Foundation, write to the Free Software Foundation; we sometimes
   1.567 -make exceptions for this.  Our decision will be guided by the two goals
   1.568 -of preserving the free status of all derivatives of our free software and
   1.569 -of promoting the sharing and reuse of software generally.
   1.570 +  14. If you wish to incorporate parts of the Library into other free
   1.571 +programs whose distribution conditions are incompatible with these,
   1.572 +write to the author to ask for permission.  For software which is
   1.573 +copyrighted by the Free Software Foundation, write to the Free
   1.574 +Software Foundation; we sometimes make exceptions for this.  Our
   1.575 +decision will be guided by the two goals of preserving the free status
   1.576 +of all derivatives of our free software and of promoting the sharing
   1.577 +and reuse of software generally.
   1.578  
   1.579  			    NO WARRANTY
   1.580  
   1.581 -  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
   1.582 -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
   1.583 -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
   1.584 -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
   1.585 -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
   1.586 -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
   1.587 -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
   1.588 -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
   1.589 -REPAIR OR CORRECTION.
   1.590 +  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
   1.591 +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
   1.592 +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
   1.593 +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
   1.594 +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
   1.595 +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
   1.596 +PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
   1.597 +LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
   1.598 +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
   1.599  
   1.600 -  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
   1.601 -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
   1.602 -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
   1.603 -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
   1.604 -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
   1.605 -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
   1.606 -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
   1.607 -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
   1.608 -POSSIBILITY OF SUCH DAMAGES.
   1.609 +  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
   1.610 +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
   1.611 +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
   1.612 +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
   1.613 +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
   1.614 +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
   1.615 +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
   1.616 +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
   1.617 +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
   1.618 +DAMAGES.
   1.619  
   1.620  		     END OF TERMS AND CONDITIONS
   1.621  
   1.622 -	    How to Apply These Terms to Your New Programs
   1.623 +     Appendix: How to Apply These Terms to Your New Libraries
   1.624  
   1.625 -  If you develop a new program, and you want it to be of the greatest
   1.626 -possible use to the public, the best way to achieve this is to make it
   1.627 -free software which everyone can redistribute and change under these terms.
   1.628 +  If you develop a new library, and you want it to be of the greatest
   1.629 +possible use to the public, we recommend making it free software that
   1.630 +everyone can redistribute and change.  You can do so by permitting
   1.631 +redistribution under these terms (or, alternatively, under the terms of the
   1.632 +ordinary General Public License).
   1.633  
   1.634 -  To do so, attach the following notices to the program.  It is safest
   1.635 -to attach them to the start of each source file to most effectively
   1.636 -convey the exclusion of warranty; and each file should have at least
   1.637 -the "copyright" line and a pointer to where the full notice is found.
   1.638 +  To apply these terms, attach the following notices to the library.  It is
   1.639 +safest to attach them to the start of each source file to most effectively
   1.640 +convey the exclusion of warranty; and each file should have at least the
   1.641 +"copyright" line and a pointer to where the full notice is found.
   1.642  
   1.643 -    <one line to give the program's name and a brief idea of what it does.>
   1.644 +    <one line to give the library's name and a brief idea of what it does.>
   1.645      Copyright (C) <year>  <name of author>
   1.646  
   1.647 -    This program is free software; you can redistribute it and/or modify
   1.648 -    it under the terms of the GNU General Public License as published by
   1.649 -    the Free Software Foundation; either version 2 of the License, or
   1.650 -    (at your option) any later version.
   1.651 +    This library is free software; you can redistribute it and/or
   1.652 +    modify it under the terms of the GNU Library General Public
   1.653 +    License as published by the Free Software Foundation; either
   1.654 +    version 2 of the License, or (at your option) any later version.
   1.655  
   1.656 -    This program is distributed in the hope that it will be useful,
   1.657 +    This library is distributed in the hope that it will be useful,
   1.658      but WITHOUT ANY WARRANTY; without even the implied warranty of
   1.659 -    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   1.660 -    GNU General Public License for more details.
   1.661 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   1.662 +    Library General Public License for more details.
   1.663  
   1.664 -    You should have received a copy of the GNU General Public License
   1.665 -    along with this program; if not, write to the Free Software
   1.666 -    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   1.667 -
   1.668 +    You should have received a copy of the GNU Library General Public
   1.669 +    License along with this library; if not, write to the Free
   1.670 +    Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
   1.671  
   1.672  Also add information on how to contact you by electronic and paper mail.
   1.673  
   1.674 -If the program is interactive, make it output a short notice like this
   1.675 -when it starts in an interactive mode:
   1.676 -
   1.677 -    Gnomovision version 69, Copyright (C) year  name of author
   1.678 -    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
   1.679 -    This is free software, and you are welcome to redistribute it
   1.680 -    under certain conditions; type `show c' for details.
   1.681 -
   1.682 -The hypothetical commands `show w' and `show c' should show the appropriate
   1.683 -parts of the General Public License.  Of course, the commands you use may
   1.684 -be called something other than `show w' and `show c'; they could even be
   1.685 -mouse-clicks or menu items--whatever suits your program.
   1.686 -
   1.687  You should also get your employer (if you work as a programmer) or your
   1.688 -school, if any, to sign a "copyright disclaimer" for the program, if
   1.689 +school, if any, to sign a "copyright disclaimer" for the library, if
   1.690  necessary.  Here is a sample; alter the names:
   1.691  
   1.692 -  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
   1.693 -  `Gnomovision' (which makes passes at compilers) written by James Hacker.
   1.694 +  Yoyodyne, Inc., hereby disclaims all copyright interest in the
   1.695 +  library `Frob' (a library for tweaking knobs) written by James Random Hacker.
   1.696  
   1.697 -  <signature of Ty Coon>, 1 April 1989
   1.698 +  <signature of Ty Coon>, 1 April 1990
   1.699    Ty Coon, President of Vice
   1.700  
   1.701 -This General Public License does not permit incorporating your program into
   1.702 -proprietary programs.  If your program is a subroutine library, you may
   1.703 -consider it more useful to permit linking proprietary applications with the
   1.704 -library.  If this is what you want to do, use the GNU Library General
   1.705 -Public License instead of this License.
   1.706 +That's all there is to it!
     2.1 --- a/gmyth-upnp/src/gmyth_upnp.c	Mon Feb 25 13:49:59 2008 +0000
     2.2 +++ b/gmyth-upnp/src/gmyth_upnp.c	Mon Feb 25 14:12:27 2008 +0000
     2.3 @@ -8,21 +8,22 @@
     2.4   *
     2.5   * Copyright (C) 2006 INdT - Instituto Nokia de Tecnologia.
     2.6   * @author Rosfran Lins Borges <rosfran.borges@indt.org.br>
     2.7 - * 
     2.8 - * This program is free software; you can redistribute it and/or modify
     2.9 - * it under the terms of the GNU Lesser General Public License as published by
    2.10 - * the Free Software Foundation; either version 2 of the License, or
    2.11 - * (at your option) any later version.
    2.12 + * @authon Renato Araujo Oliveira Filho <renato.filho@indt.org.br>
    2.13   *
    2.14 - * This program is distributed in the hope that it will be useful,
    2.15 + * This library is free software; you can redistribute it and/or
    2.16 + * modify it under the terms of the GNU Library General Public
    2.17 + * License as published by the Free Software Foundation; either
    2.18 + * version 2 of the License, or (at your option) any later version.
    2.19 + *
    2.20 + * This library is distributed in the hope that it will be useful,
    2.21   * but WITHOUT ANY WARRANTY; without even the implied warranty of
    2.22 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    2.23 - * GNU General Public License for more details.
    2.24 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    2.25 + * Library General Public License for more details.
    2.26   *
    2.27 - * You should have received a copy of the GNU Lesser General Public License
    2.28 - * along with this program; if not, write to the Free Software
    2.29 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    2.30 - *   
    2.31 + * You should have received a copy of the GNU Library General Public
    2.32 + * License along with this library; if not, write to the
    2.33 + * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    2.34 + * Boston, MA 02111-1307, USA.
    2.35   */
    2.36  
    2.37  #ifdef HAVE_CONFIG_H
     3.1 --- a/gmyth-upnp/src/gmyth_upnp.h	Mon Feb 25 13:49:59 2008 +0000
     3.2 +++ b/gmyth-upnp/src/gmyth_upnp.h	Mon Feb 25 14:12:27 2008 +0000
     3.3 @@ -8,21 +8,22 @@
     3.4   *
     3.5   * Copyright (C) 2006 INdT - Instituto Nokia de Tecnologia.
     3.6   * @author Rosfran Lins Borges <rosfran.borges@indt.org.br>
     3.7 + * @authon Renato Araujo Oliveira Filho <renato.filho@indt.org.br>
     3.8   *
     3.9 - * This program is free software; you can redistribute it and/or modify
    3.10 - * it under the terms of the GNU Lesser General Public License as published by
    3.11 - * the Free Software Foundation; either version 2 of the License, or
    3.12 - * (at your option) any later version.
    3.13 + * This library is free software; you can redistribute it and/or
    3.14 + * modify it under the terms of the GNU Library General Public
    3.15 + * License as published by the Free Software Foundation; either
    3.16 + * version 2 of the License, or (at your option) any later version.
    3.17   *
    3.18 - * This program is distributed in the hope that it will be useful,
    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
    3.22 - * GNU General Public License for more details.
    3.23 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    3.24 + * Library General Public License for more details.
    3.25   *
    3.26 - * You should have received a copy of the GNU Lesser General Public License
    3.27 - * along with this program; if not, write to the Free Software
    3.28 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    3.29 - *   
    3.30 + * You should have received a copy of the GNU Library General Public
    3.31 + * License along with this library; if not, write to the
    3.32 + * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    3.33 + * Boston, MA 02111-1307, USA.
    3.34   */
    3.35  
    3.36  #ifndef _GMYTH_UPNP_H_
     4.1 --- a/gmyth-upnp/test/Makefile.am	Mon Feb 25 13:49:59 2008 +0000
     4.2 +++ b/gmyth-upnp/test/Makefile.am	Mon Feb 25 14:12:27 2008 +0000
     4.3 @@ -9,10 +9,10 @@
     4.4  	$(GOBJECT_CFLAGS) \
     4.5  	$(LIBUPNP_CFLAGS)
     4.6  
     4.7 -bin_PROGRAMS = \
     4.8 -	test
     4.9 +noinst_PROGRAMS = \
    4.10 +	gmyth-upnp-test
    4.11  
    4.12 -test_SOURCES = \
    4.13 +gmyth_upnp_test_SOURCES = \
    4.14  	main.c
    4.15  
    4.16  CLEANFILES = $(BUILT_SOURCES)
     5.1 --- a/gmyth-upnp/test/main.c	Mon Feb 25 13:49:59 2008 +0000
     5.2 +++ b/gmyth-upnp/test/main.c	Mon Feb 25 14:12:27 2008 +0000
     5.3 @@ -1,3 +1,32 @@
     5.4 +/**
     5.5 + * GMyth Library
     5.6 + *
     5.7 + * @file test/main.c
     5.8 + * 
     5.9 + * @brief <p> GMythUPnP allows that a MythTV frontend discovers a 
    5.10 + * MythTV backend, using the UPnP architecture.
    5.11 + *
    5.12 + * Copyright (C) 2006 INdT - Instituto Nokia de Tecnologia.
    5.13 + * @author Rosfran Lins Borges <rosfran.borges@indt.org.br>
    5.14 + * @authon Renato Araujo Oliveira Filho <renato.filho@indt.org.br>
    5.15 + *
    5.16 + * This library is free software; you can redistribute it and/or
    5.17 + * modify it under the terms of the GNU Library General Public
    5.18 + * License as published by the Free Software Foundation; either
    5.19 + * version 2 of the License, or (at your option) any later version.
    5.20 + *
    5.21 + * This library is distributed in the hope that it will be useful,
    5.22 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
    5.23 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    5.24 + * Library General Public License for more details.
    5.25 + *
    5.26 + * You should have received a copy of the GNU Library General Public
    5.27 + * License along with this library; if not, write to the
    5.28 + * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    5.29 + * Boston, MA 02111-1307, USA.
    5.30 + */
    5.31 +
    5.32 +
    5.33  #include <glib.h>
    5.34  
    5.35  #include "gmyth_upnp.h"