diff --git a/LICENSES/BSD-2-Clause.txt b/LICENSES/BSD-2-Clause.txt new file mode 100644 index 000000000..baa80b56a --- /dev/null +++ b/LICENSES/BSD-2-Clause.txt @@ -0,0 +1,22 @@ +Copyright (c) All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, +this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE +USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/LICENSES/GPL-2.0-only.txt b/LICENSES/GPL-2.0-only.txt new file mode 100644 index 000000000..3b6070fcd --- /dev/null +++ b/LICENSES/GPL-2.0-only.txt @@ -0,0 +1,311 @@ +GNU GENERAL PUBLIC LICENSE +Version 2, June 1991 + +Copyright (C) 1989, 1991 Free Software Foundation, Inc. +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + +Everyone is permitted to copy and distribute verbatim copies of this license +document, but changing it is not allowed. + +Preamble + +The licenses for most software are designed to take away your freedom to share +and change it. By contrast, the GNU General Public License is intended to +guarantee your freedom to share and change free software--to make sure the +software is free for all its users. This General Public License applies to +most of the Free Software Foundation's software and to any other program whose +authors commit to using it. (Some other Free Software Foundation software +is covered by the GNU Lesser General Public License instead.) You can apply +it to your programs, too. + +When we speak of free software, we are referring to freedom, not price. Our +General Public Licenses are designed to make sure that you have the freedom +to distribute copies of free software (and charge for this service if you +wish), that you receive source code or can get it if you want it, that you +can change the software or use pieces of it in new free programs; and that +you know you can do these things. + +To protect your rights, we need to make restrictions that forbid anyone to +deny you these rights or to ask you to surrender the rights. These restrictions +translate to certain responsibilities for you if you distribute copies of +the software, or if you modify it. + +For example, if you distribute copies of such a program, whether gratis or +for a fee, you must give the recipients all the rights that you have. You +must make sure that they, too, receive or can get the source code. And you +must show them these terms so they know their rights. + +We protect your rights with two steps: (1) copyright the software, and (2) +offer you this license which gives you legal permission to copy, distribute +and/or modify the software. + +Also, for each author's protection and ours, we want to make certain that +everyone understands that there is no warranty for this free software. If +the software is modified by someone else and passed on, we want its recipients +to know that what they have is not the original, so that any problems introduced +by others will not reflect on the original authors' reputations. + +Finally, any free program is threatened constantly by software patents. We +wish to avoid the danger that redistributors of a free program will individually +obtain patent licenses, in effect making the program proprietary. To prevent +this, we have made it clear that any patent must be licensed for everyone's +free use or not licensed at all. + +The precise terms and conditions for copying, distribution and modification +follow. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License applies to any program or other work which contains a notice +placed by the copyright holder saying it may be distributed under the terms +of this General Public License. The "Program", below, refers to any such program +or work, and a "work based on the Program" means either the Program or any +derivative work under copyright law: that is to say, a work containing the +Program or a portion of it, either verbatim or with modifications and/or translated +into another language. (Hereinafter, translation is included without limitation +in the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not covered +by this License; they are outside its scope. The act of running the Program +is not restricted, and the output from the Program is covered only if its +contents constitute a work based on the Program (independent of having been +made by running the Program). Whether that is true depends on what the Program +does. + +1. You may copy and distribute verbatim copies of the Program's source code +as you receive it, in any medium, provided that you conspicuously and appropriately +publish on each copy an appropriate copyright notice and disclaimer of warranty; +keep intact all the notices that refer to this License and to the absence +of any warranty; and give any other recipients of the Program a copy of this +License along with the Program. + +You may charge a fee for the physical act of transferring a copy, and you +may at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Program or any portion of it, +thus forming a work based on the Program, and copy and distribute such modifications +or work under the terms of Section 1 above, provided that you also meet all +of these conditions: + +a) You must cause the modified files to carry prominent notices stating that +you changed the files and the date of any change. + +b) You must cause any work that you distribute or publish, that in whole or +in part contains or is derived from the Program or any part thereof, to be +licensed as a whole at no charge to all third parties under the terms of this +License. + +c) If the modified program normally reads commands interactively when run, +you must cause it, when started running for such interactive use in the most +ordinary way, to print or display an announcement including an appropriate +copyright notice and a notice that there is no warranty (or else, saying that +you provide a warranty) and that users may redistribute the program under +these conditions, and telling the user how to view a copy of this License. +(Exception: if the Program itself is interactive but does not normally print +such an announcement, your work based on the Program is not required to print +an announcement.) + +These requirements apply to the modified work as a whole. If identifiable +sections of that work are not derived from the Program, and can be reasonably +considered independent and separate works in themselves, then this License, +and its terms, do not apply to those sections when you distribute them as +separate works. But when you distribute the same sections as part of a whole +which is a work based on the Program, the distribution of the whole must be +on the terms of this License, whose permissions for other licensees extend +to the entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest your +rights to work written entirely by you; rather, the intent is to exercise +the right to control the distribution of derivative or collective works based +on the Program. + +In addition, mere aggregation of another work not based on the Program with +the Program (or with a work based on the Program) on a volume of a storage +or distribution medium does not bring the other work under the scope of this +License. + +3. You may copy and distribute the Program (or a work based on it, under Section +2) in object code or executable form under the terms of Sections 1 and 2 above +provided that you also do one of the following: + +a) Accompany it with the complete corresponding machine-readable source code, +which must be distributed under the terms of Sections 1 and 2 above on a medium +customarily used for software interchange; or, + +b) Accompany it with a written offer, valid for at least three years, to give +any third party, for a charge no more than your cost of physically performing +source distribution, a complete machine-readable copy of the corresponding +source code, to be distributed under the terms of Sections 1 and 2 above on +a medium customarily used for software interchange; or, + +c) Accompany it with the information you received as to the offer to distribute +corresponding source code. (This alternative is allowed only for noncommercial +distribution and only if you received the program in object code or executable +form with such an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for making +modifications to it. For an executable work, complete source code means all +the source code for all modules it contains, plus any associated interface +definition files, plus the scripts used to control compilation and installation +of the executable. However, as a special exception, the source code distributed +need not include anything that is normally distributed (in either source or +binary form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component itself +accompanies the executable. + +If distribution of executable or object code is made by offering access to +copy from a designated place, then offering equivalent access to copy the +source code from the same place counts as distribution of the source code, +even though third parties are not compelled to copy the source along with +the object code. + +4. You may not copy, modify, sublicense, or distribute the Program except +as expressly provided under this License. Any attempt otherwise to copy, modify, +sublicense or distribute the Program is void, and will automatically terminate +your rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses terminated +so long as such parties remain in full compliance. + +5. You are not required to accept this License, since you have not signed +it. However, nothing else grants you permission to modify or distribute the +Program or its derivative works. These actions are prohibited by law if you +do not accept this License. Therefore, by modifying or distributing the Program +(or any work based on the Program), you indicate your acceptance of this License +to do so, and all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + +6. Each time you redistribute the Program (or any work based on the Program), +the recipient automatically receives a license from the original licensor +to copy, distribute or modify the Program subject to these terms and conditions. +You may not impose any further restrictions on the recipients' exercise of +the rights granted herein. You are not responsible for enforcing compliance +by third parties to this License. + +7. If, as a consequence of a court judgment or allegation of patent infringement +or for any other reason (not limited to patent issues), conditions are imposed +on you (whether by court order, agreement or otherwise) that contradict the +conditions of this License, they do not excuse you from the conditions of +this License. If you cannot distribute so as to satisfy simultaneously your +obligations under this License and any other pertinent obligations, then as +a consequence you may not distribute the Program at all. For example, if a +patent license would not permit royalty-free redistribution of the Program +by all those who receive copies directly or indirectly through you, then the +only way you could satisfy both it and this License would be to refrain entirely +from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply and +the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents +or other property right claims or to contest validity of any such claims; +this section has the sole purpose of protecting the integrity of the free +software distribution system, which is implemented by public license practices. +Many people have made generous contributions to the wide range of software +distributed through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing to +distribute software through any other system and a licensee cannot impose +that choice. + +This section is intended to make thoroughly clear what is believed to be a +consequence of the rest of this License. + +8. If the distribution and/or use of the Program is restricted in certain +countries either by patents or by copyrighted interfaces, the original copyright +holder who places the Program under this License may add an explicit geographical +distribution limitation excluding those countries, so that distribution is +permitted only in or among countries not thus excluded. In such case, this +License incorporates the limitation as if written in the body of this License. + +9. The Free Software Foundation may publish revised and/or new versions of +the General Public License from time to time. Such new versions will be similar +in spirit to the present version, but may differ in detail to address new +problems or concerns. + +Each version is given a distinguishing version number. If the Program specifies +a version number of this License which applies to it and "any later version", +you have the option of following the terms and conditions either of that version +or of any later version published by the Free Software Foundation. If the +Program does not specify a version number of this License, you may choose +any version ever published by the Free Software Foundation. + +10. If you wish to incorporate parts of the Program into other free programs +whose distribution conditions are different, write to the author to ask for +permission. For software which is copyrighted by the Free Software Foundation, +write to the Free Software Foundation; we sometimes make exceptions for this. +Our decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing and reuse +of software generally. + +NO WARRANTY + +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR +THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE +STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM +"AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, +BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE +OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE +OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA +OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES +OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH +HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest possible +use to the public, the best way to achieve this is to make it free software +which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest to attach +them to the start of each source file to most effectively convey the exclusion +of warranty; and each file should have at least the "copyright" line and a +pointer to where the full notice is found. + +one line to give the program's name and an idea of what it does. Copyright +(C) yyyy name of author + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; either version 2 of the License, or (at your option) any later +version. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., 51 Franklin +Street, Fifth Floor, Boston, MA 02110-1301, USA. Also add information on how +to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this when +it starts in an interactive mode: + +Gnomovision version 69, Copyright (C) year name of author Gnomovision comes +with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, +and you are welcome to redistribute it under certain conditions; type `show +c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may be +called something other than `show w' and `show c'; they could even be mouse-clicks +or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your school, +if any, to sign a "copyright disclaimer" for the program, if necessary. Here +is a sample; alter the names: + +Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' +(which makes passes at compilers) written by James Hacker. + +signature of Ty Coon, 1 April 1989 Ty Coon, President of Vice diff --git a/LICENSES/GPL-2.0-or-later.txt b/LICENSES/GPL-2.0-or-later.txt new file mode 100644 index 000000000..3b6070fcd --- /dev/null +++ b/LICENSES/GPL-2.0-or-later.txt @@ -0,0 +1,311 @@ +GNU GENERAL PUBLIC LICENSE +Version 2, June 1991 + +Copyright (C) 1989, 1991 Free Software Foundation, Inc. +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + +Everyone is permitted to copy and distribute verbatim copies of this license +document, but changing it is not allowed. + +Preamble + +The licenses for most software are designed to take away your freedom to share +and change it. By contrast, the GNU General Public License is intended to +guarantee your freedom to share and change free software--to make sure the +software is free for all its users. This General Public License applies to +most of the Free Software Foundation's software and to any other program whose +authors commit to using it. (Some other Free Software Foundation software +is covered by the GNU Lesser General Public License instead.) You can apply +it to your programs, too. + +When we speak of free software, we are referring to freedom, not price. Our +General Public Licenses are designed to make sure that you have the freedom +to distribute copies of free software (and charge for this service if you +wish), that you receive source code or can get it if you want it, that you +can change the software or use pieces of it in new free programs; and that +you know you can do these things. + +To protect your rights, we need to make restrictions that forbid anyone to +deny you these rights or to ask you to surrender the rights. These restrictions +translate to certain responsibilities for you if you distribute copies of +the software, or if you modify it. + +For example, if you distribute copies of such a program, whether gratis or +for a fee, you must give the recipients all the rights that you have. You +must make sure that they, too, receive or can get the source code. And you +must show them these terms so they know their rights. + +We protect your rights with two steps: (1) copyright the software, and (2) +offer you this license which gives you legal permission to copy, distribute +and/or modify the software. + +Also, for each author's protection and ours, we want to make certain that +everyone understands that there is no warranty for this free software. If +the software is modified by someone else and passed on, we want its recipients +to know that what they have is not the original, so that any problems introduced +by others will not reflect on the original authors' reputations. + +Finally, any free program is threatened constantly by software patents. We +wish to avoid the danger that redistributors of a free program will individually +obtain patent licenses, in effect making the program proprietary. To prevent +this, we have made it clear that any patent must be licensed for everyone's +free use or not licensed at all. + +The precise terms and conditions for copying, distribution and modification +follow. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License applies to any program or other work which contains a notice +placed by the copyright holder saying it may be distributed under the terms +of this General Public License. The "Program", below, refers to any such program +or work, and a "work based on the Program" means either the Program or any +derivative work under copyright law: that is to say, a work containing the +Program or a portion of it, either verbatim or with modifications and/or translated +into another language. (Hereinafter, translation is included without limitation +in the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not covered +by this License; they are outside its scope. The act of running the Program +is not restricted, and the output from the Program is covered only if its +contents constitute a work based on the Program (independent of having been +made by running the Program). Whether that is true depends on what the Program +does. + +1. You may copy and distribute verbatim copies of the Program's source code +as you receive it, in any medium, provided that you conspicuously and appropriately +publish on each copy an appropriate copyright notice and disclaimer of warranty; +keep intact all the notices that refer to this License and to the absence +of any warranty; and give any other recipients of the Program a copy of this +License along with the Program. + +You may charge a fee for the physical act of transferring a copy, and you +may at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Program or any portion of it, +thus forming a work based on the Program, and copy and distribute such modifications +or work under the terms of Section 1 above, provided that you also meet all +of these conditions: + +a) You must cause the modified files to carry prominent notices stating that +you changed the files and the date of any change. + +b) You must cause any work that you distribute or publish, that in whole or +in part contains or is derived from the Program or any part thereof, to be +licensed as a whole at no charge to all third parties under the terms of this +License. + +c) If the modified program normally reads commands interactively when run, +you must cause it, when started running for such interactive use in the most +ordinary way, to print or display an announcement including an appropriate +copyright notice and a notice that there is no warranty (or else, saying that +you provide a warranty) and that users may redistribute the program under +these conditions, and telling the user how to view a copy of this License. +(Exception: if the Program itself is interactive but does not normally print +such an announcement, your work based on the Program is not required to print +an announcement.) + +These requirements apply to the modified work as a whole. If identifiable +sections of that work are not derived from the Program, and can be reasonably +considered independent and separate works in themselves, then this License, +and its terms, do not apply to those sections when you distribute them as +separate works. But when you distribute the same sections as part of a whole +which is a work based on the Program, the distribution of the whole must be +on the terms of this License, whose permissions for other licensees extend +to the entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest your +rights to work written entirely by you; rather, the intent is to exercise +the right to control the distribution of derivative or collective works based +on the Program. + +In addition, mere aggregation of another work not based on the Program with +the Program (or with a work based on the Program) on a volume of a storage +or distribution medium does not bring the other work under the scope of this +License. + +3. You may copy and distribute the Program (or a work based on it, under Section +2) in object code or executable form under the terms of Sections 1 and 2 above +provided that you also do one of the following: + +a) Accompany it with the complete corresponding machine-readable source code, +which must be distributed under the terms of Sections 1 and 2 above on a medium +customarily used for software interchange; or, + +b) Accompany it with a written offer, valid for at least three years, to give +any third party, for a charge no more than your cost of physically performing +source distribution, a complete machine-readable copy of the corresponding +source code, to be distributed under the terms of Sections 1 and 2 above on +a medium customarily used for software interchange; or, + +c) Accompany it with the information you received as to the offer to distribute +corresponding source code. (This alternative is allowed only for noncommercial +distribution and only if you received the program in object code or executable +form with such an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for making +modifications to it. For an executable work, complete source code means all +the source code for all modules it contains, plus any associated interface +definition files, plus the scripts used to control compilation and installation +of the executable. However, as a special exception, the source code distributed +need not include anything that is normally distributed (in either source or +binary form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component itself +accompanies the executable. + +If distribution of executable or object code is made by offering access to +copy from a designated place, then offering equivalent access to copy the +source code from the same place counts as distribution of the source code, +even though third parties are not compelled to copy the source along with +the object code. + +4. You may not copy, modify, sublicense, or distribute the Program except +as expressly provided under this License. Any attempt otherwise to copy, modify, +sublicense or distribute the Program is void, and will automatically terminate +your rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses terminated +so long as such parties remain in full compliance. + +5. You are not required to accept this License, since you have not signed +it. However, nothing else grants you permission to modify or distribute the +Program or its derivative works. These actions are prohibited by law if you +do not accept this License. Therefore, by modifying or distributing the Program +(or any work based on the Program), you indicate your acceptance of this License +to do so, and all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + +6. Each time you redistribute the Program (or any work based on the Program), +the recipient automatically receives a license from the original licensor +to copy, distribute or modify the Program subject to these terms and conditions. +You may not impose any further restrictions on the recipients' exercise of +the rights granted herein. You are not responsible for enforcing compliance +by third parties to this License. + +7. If, as a consequence of a court judgment or allegation of patent infringement +or for any other reason (not limited to patent issues), conditions are imposed +on you (whether by court order, agreement or otherwise) that contradict the +conditions of this License, they do not excuse you from the conditions of +this License. If you cannot distribute so as to satisfy simultaneously your +obligations under this License and any other pertinent obligations, then as +a consequence you may not distribute the Program at all. For example, if a +patent license would not permit royalty-free redistribution of the Program +by all those who receive copies directly or indirectly through you, then the +only way you could satisfy both it and this License would be to refrain entirely +from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply and +the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents +or other property right claims or to contest validity of any such claims; +this section has the sole purpose of protecting the integrity of the free +software distribution system, which is implemented by public license practices. +Many people have made generous contributions to the wide range of software +distributed through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing to +distribute software through any other system and a licensee cannot impose +that choice. + +This section is intended to make thoroughly clear what is believed to be a +consequence of the rest of this License. + +8. If the distribution and/or use of the Program is restricted in certain +countries either by patents or by copyrighted interfaces, the original copyright +holder who places the Program under this License may add an explicit geographical +distribution limitation excluding those countries, so that distribution is +permitted only in or among countries not thus excluded. In such case, this +License incorporates the limitation as if written in the body of this License. + +9. The Free Software Foundation may publish revised and/or new versions of +the General Public License from time to time. Such new versions will be similar +in spirit to the present version, but may differ in detail to address new +problems or concerns. + +Each version is given a distinguishing version number. If the Program specifies +a version number of this License which applies to it and "any later version", +you have the option of following the terms and conditions either of that version +or of any later version published by the Free Software Foundation. If the +Program does not specify a version number of this License, you may choose +any version ever published by the Free Software Foundation. + +10. If you wish to incorporate parts of the Program into other free programs +whose distribution conditions are different, write to the author to ask for +permission. For software which is copyrighted by the Free Software Foundation, +write to the Free Software Foundation; we sometimes make exceptions for this. +Our decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing and reuse +of software generally. + +NO WARRANTY + +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR +THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE +STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM +"AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, +BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE +OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE +OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA +OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES +OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH +HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest possible +use to the public, the best way to achieve this is to make it free software +which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest to attach +them to the start of each source file to most effectively convey the exclusion +of warranty; and each file should have at least the "copyright" line and a +pointer to where the full notice is found. + +one line to give the program's name and an idea of what it does. Copyright +(C) yyyy name of author + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; either version 2 of the License, or (at your option) any later +version. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., 51 Franklin +Street, Fifth Floor, Boston, MA 02110-1301, USA. Also add information on how +to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this when +it starts in an interactive mode: + +Gnomovision version 69, Copyright (C) year name of author Gnomovision comes +with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, +and you are welcome to redistribute it under certain conditions; type `show +c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may be +called something other than `show w' and `show c'; they could even be mouse-clicks +or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your school, +if any, to sign a "copyright disclaimer" for the program, if necessary. Here +is a sample; alter the names: + +Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' +(which makes passes at compilers) written by James Hacker. + +signature of Ty Coon, 1 April 1989 Ty Coon, President of Vice diff --git a/LICENSES/GPL-3.0-only.txt b/LICENSES/GPL-3.0-only.txt new file mode 100644 index 000000000..599077110 --- /dev/null +++ b/LICENSES/GPL-3.0-only.txt @@ -0,0 +1,604 @@ +GNU GENERAL PUBLIC LICENSE +Version 3, 29 June 2007 + +Copyright © 2007 Free Software Foundation, Inc. + +Everyone is permitted to copy and distribute verbatim copies of this license +document, but changing it is not allowed. + +Preamble + +The GNU General Public License is a free, copyleft license for software and +other kinds of works. + +The licenses for most software and other practical works are designed to take +away your freedom to share and change the works. By contrast, the GNU General +Public License is intended to guarantee your freedom to share and change all +versions of a program--to make sure it remains free software for all its users. +We, the Free Software Foundation, use the GNU General Public License for most +of our software; it applies also to any other work released this way by its +authors. You can apply it to your programs, too. + +When we speak of free software, we are referring to freedom, not price. Our +General Public Licenses are designed to make sure that you have the freedom +to distribute copies of free software (and charge for them if you wish), that +you receive source code or can get it if you want it, that you can change +the software or use pieces of it in new free programs, and that you know you +can do these things. + +To protect your rights, we need to prevent others from denying you these rights +or asking you to surrender the rights. Therefore, you have certain responsibilities +if you distribute copies of the software, or if you modify it: responsibilities +to respect the freedom of others. + +For example, if you distribute copies of such a program, whether gratis or +for a fee, you must pass on to the recipients the same freedoms that you received. +You must make sure that they, too, receive or can get the source code. And +you must show them these terms so they know their rights. + +Developers that use the GNU GPL protect your rights with two steps: (1) assert +copyright on the software, and (2) offer you this License giving you legal +permission to copy, distribute and/or modify it. + +For the developers' and authors' protection, the GPL clearly explains that +there is no warranty for this free software. For both users' and authors' +sake, the GPL requires that modified versions be marked as changed, so that +their problems will not be attributed erroneously to authors of previous versions. + +Some devices are designed to deny users access to install or run modified +versions of the software inside them, although the manufacturer can do so. +This is fundamentally incompatible with the aim of protecting users' freedom +to change the software. The systematic pattern of such abuse occurs in the +area of products for individuals to use, which is precisely where it is most +unacceptable. Therefore, we have designed this version of the GPL to prohibit +the practice for those products. If such problems arise substantially in other +domains, we stand ready to extend this provision to those domains in future +versions of the GPL, as needed to protect the freedom of users. + +Finally, every program is threatened constantly by software patents. States +should not allow patents to restrict development and use of software on general-purpose +computers, but in those that do, we wish to avoid the special danger that +patents applied to a free program could make it effectively proprietary. To +prevent this, the GPL assures that patents cannot be used to render the program +non-free. + +The precise terms and conditions for copying, distribution and modification +follow. + +TERMS AND CONDITIONS + +0. Definitions. + +“This License” refers to version 3 of the GNU General Public License. + +“Copyright” also means copyright-like laws that apply to other kinds of works, +such as semiconductor masks. + +“The Program” refers to any copyrightable work licensed under this License. +Each licensee is addressed as “you”. “Licensees” and “recipients” may be individuals +or organizations. + +To “modify” a work means to copy from or adapt all or part of the work in +a fashion requiring copyright permission, other than the making of an exact +copy. The resulting work is called a “modified version” of the earlier work +or a work “based on” the earlier work. + +A “covered work” means either the unmodified Program or a work based on the +Program. + +To “propagate” a work means to do anything with it that, without permission, +would make you directly or secondarily liable for infringement under applicable +copyright law, except executing it on a computer or modifying a private copy. +Propagation includes copying, distribution (with or without modification), +making available to the public, and in some countries other activities as +well. + +To “convey” a work means any kind of propagation that enables other parties +to make or receive copies. Mere interaction with a user through a computer +network, with no transfer of a copy, is not conveying. + +An interactive user interface displays “Appropriate Legal Notices” to the +extent that it includes a convenient and prominently visible feature that +(1) displays an appropriate copyright notice, and (2) tells the user that +there is no warranty for the work (except to the extent that warranties are +provided), that licensees may convey the work under this License, and how +to view a copy of this License. If the interface presents a list of user commands +or options, such as a menu, a prominent item in the list meets this criterion. + +1. Source Code. +The “source code” for a work means the preferred form of the work for making +modifications to it. “Object code” means any non-source form of a work. + +A “Standard Interface” means an interface that either is an official standard +defined by a recognized standards body, or, in the case of interfaces specified +for a particular programming language, one that is widely used among developers +working in that language. + +The “System Libraries” of an executable work include anything, other than +the work as a whole, that (a) is included in the normal form of packaging +a Major Component, but which is not part of that Major Component, and (b) +serves only to enable use of the work with that Major Component, or to implement +a Standard Interface for which an implementation is available to the public +in source code form. A “Major Component”, in this context, means a major essential +component (kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to produce +the work, or an object code interpreter used to run it. + +The “Corresponding Source” for a work in object code form means all the source +code needed to generate, install, and (for an executable work) run the object +code and to modify the work, including scripts to control those activities. +However, it does not include the work's System Libraries, or general-purpose +tools or generally available free programs which are used unmodified in performing +those activities but which are not part of the work. For example, Corresponding +Source includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically linked +subprograms that the work is specifically designed to require, such as by +intimate data communication or control flow between those subprograms and +other parts of the work. + +The Corresponding Source need not include anything that users can regenerate +automatically from other parts of the Corresponding Source. + +The Corresponding Source for a work in source code form is that same work. + +2. Basic Permissions. +All rights granted under this License are granted for the term of copyright +on the Program, and are irrevocable provided the stated conditions are met. +This License explicitly affirms your unlimited permission to run the unmodified +Program. The output from running a covered work is covered by this License +only if the output, given its content, constitutes a covered work. This License +acknowledges your rights of fair use or other equivalent, as provided by copyright +law. + +You may make, run and propagate covered works that you do not convey, without +conditions so long as your license otherwise remains in force. You may convey +covered works to others for the sole purpose of having them make modifications +exclusively for you, or provide you with facilities for running those works, +provided that you comply with the terms of this License in conveying all material +for which you do not control copyright. Those thus making or running the covered +works for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of your copyrighted +material outside their relationship with you. + +Conveying under any other circumstances is permitted solely under the conditions +stated below. Sublicensing is not allowed; section 10 makes it unnecessary. + +3. Protecting Users' Legal Rights From Anti-Circumvention Law. +No covered work shall be deemed part of an effective technological measure +under any applicable law fulfilling obligations under article 11 of the WIPO +copyright treaty adopted on 20 December 1996, or similar laws prohibiting +or restricting circumvention of such measures. + +When you convey a covered work, you waive any legal power to forbid circumvention +of technological measures to the extent such circumvention is effected by +exercising rights under this License with respect to the covered work, and +you disclaim any intention to limit operation or modification of the work +as a means of enforcing, against the work's users, your or third parties' +legal rights to forbid circumvention of technological measures. + +4. Conveying Verbatim Copies. +You may convey verbatim copies of the Program's source code as you receive +it, in any medium, provided that you conspicuously and appropriately publish +on each copy an appropriate copyright notice; keep intact all notices stating +that this License and any non-permissive terms added in accord with section +7 apply to the code; keep intact all notices of the absence of any warranty; +and give all recipients a copy of this License along with the Program. + +You may charge any price or no price for each copy that you convey, and you +may offer support or warranty protection for a fee. + +5. Conveying Modified Source Versions. +You may convey a work based on the Program, or the modifications to produce +it from the Program, in the form of source code under the terms of section +4, provided that you also meet all of these conditions: + +a) The work must carry prominent notices stating that you modified it, and +giving a relevant date. + +b) The work must carry prominent notices stating that it is released under +this License and any conditions added under section 7. This requirement modifies +the requirement in section 4 to “keep intact all notices”. + +c) You must license the entire work, as a whole, under this License to anyone +who comes into possession of a copy. This License will therefore apply, along +with any applicable section 7 additional terms, to the whole of the work, +and all its parts, regardless of how they are packaged. This License gives +no permission to license the work in any other way, but it does not invalidate +such permission if you have separately received it. + +d) If the work has interactive user interfaces, each must display Appropriate +Legal Notices; however, if the Program has interactive interfaces that do +not display Appropriate Legal Notices, your work need not make them do so. + +A compilation of a covered work with other separate and independent works, +which are not by their nature extensions of the covered work, and which are +not combined with it such as to form a larger program, in or on a volume of +a storage or distribution medium, is called an “aggregate” if the compilation +and its resulting copyright are not used to limit the access or legal rights +of the compilation's users beyond what the individual works permit. Inclusion +of a covered work in an aggregate does not cause this License to apply to +the other parts of the aggregate. + +6. Conveying Non-Source Forms. +You may convey a covered work in object code form under the terms of sections +4 and 5, provided that you also convey the machine-readable Corresponding +Source under the terms of this License, in one of these ways: + +a) Convey the object code in, or embodied in, a physical product (including +a physical distribution medium), accompanied by the Corresponding Source fixed +on a durable physical medium customarily used for software interchange. + +b) Convey the object code in, or embodied in, a physical product (including +a physical distribution medium), accompanied by a written offer, valid for +at least three years and valid for as long as you offer spare parts or customer +support for that product model, to give anyone who possesses the object code +either (1) a copy of the Corresponding Source for all the software in the +product that is covered by this License, on a durable physical medium customarily +used for software interchange, for a price no more than your reasonable cost +of physically performing this conveying of source, or (2) access to copy the +Corresponding Source from a network server at no charge. + +c) Convey individual copies of the object code with a copy of the written +offer to provide the Corresponding Source. This alternative is allowed only +occasionally and noncommercially, and only if you received the object code +with such an offer, in accord with subsection 6b. + +d) Convey the object code by offering access from a designated place (gratis +or for a charge), and offer equivalent access to the Corresponding Source +in the same way through the same place at no further charge. You need not +require recipients to copy the Corresponding Source along with the object +code. If the place to copy the object code is a network server, the Corresponding +Source may be on a different server (operated by you or a third party) that +supports equivalent copying facilities, provided you maintain clear directions +next to the object code saying where to find the Corresponding Source. Regardless +of what server hosts the Corresponding Source, you remain obligated to ensure +that it is available for as long as needed to satisfy these requirements. + +e) Convey the object code using peer-to-peer transmission, provided you inform +other peers where the object code and Corresponding Source of the work are +being offered to the general public at no charge under subsection 6d. + +A separable portion of the object code, whose source code is excluded from +the Corresponding Source as a System Library, need not be included in conveying +the object code work. + +A “User Product” is either (1) a “consumer product”, which means any tangible +personal property which is normally used for personal, family, or household +purposes, or (2) anything designed or sold for incorporation into a dwelling. +In determining whether a product is a consumer product, doubtful cases shall +be resolved in favor of coverage. For a particular product received by a particular +user, “normally used” refers to a typical or common use of that class of product, +regardless of the status of the particular user or of the way in which the +particular user actually uses, or expects or is expected to use, the product. +A product is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent the +only significant mode of use of the product. + +“Installation Information” for a User Product means any methods, procedures, +authorization keys, or other information required to install and execute modified +versions of a covered work in that User Product from a modified version of +its Corresponding Source. The information must suffice to ensure that the +continued functioning of the modified object code is in no case prevented +or interfered with solely because modification has been made. + +If you convey an object code work under this section in, or with, or specifically +for use in, a User Product, and the conveying occurs as part of a transaction +in which the right of possession and use of the User Product is transferred +to the recipient in perpetuity or for a fixed term (regardless of how the +transaction is characterized), the Corresponding Source conveyed under this +section must be accompanied by the Installation Information. But this requirement +does not apply if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has been installed +in ROM). + +The requirement to provide Installation Information does not include a requirement +to continue to provide support service, warranty, or updates for a work that +has been modified or installed by the recipient, or for the User Product in +which it has been modified or installed. Access to a network may be denied +when the modification itself materially and adversely affects the operation +of the network or violates the rules and protocols for communication across +the network. + +Corresponding Source conveyed, and Installation Information provided, in accord +with this section must be in a format that is publicly documented (and with +an implementation available to the public in source code form), and must require +no special password or key for unpacking, reading or copying. + +7. Additional Terms. +“Additional permissions” are terms that supplement the terms of this License +by making exceptions from one or more of its conditions. Additional permissions +that are applicable to the entire Program shall be treated as though they +were included in this License, to the extent that they are valid under applicable +law. If additional permissions apply only to part of the Program, that part +may be used separately under those permissions, but the entire Program remains +governed by this License without regard to the additional permissions. + +When you convey a copy of a covered work, you may at your option remove any +additional permissions from that copy, or from any part of it. (Additional +permissions may be written to require their own removal in certain cases when +you modify the work.) You may place additional permissions on material, added +by you to a covered work, for which you have or can give appropriate copyright +permission. + +Notwithstanding any other provision of this License, for material you add +to a covered work, you may (if authorized by the copyright holders of that +material) supplement the terms of this License with terms: + +a) Disclaiming warranty or limiting liability differently from the terms of +sections 15 and 16 of this License; or + +b) Requiring preservation of specified reasonable legal notices or author +attributions in that material or in the Appropriate Legal Notices displayed +by works containing it; or + +c) Prohibiting misrepresentation of the origin of that material, or requiring +that modified versions of such material be marked in reasonable ways as different +from the original version; or + +d) Limiting the use for publicity purposes of names of licensors or authors +of the material; or + +e) Declining to grant rights under trademark law for use of some trade names, +trademarks, or service marks; or + +f) Requiring indemnification of licensors and authors of that material by +anyone who conveys the material (or modified versions of it) with contractual +assumptions of liability to the recipient, for any liability that these contractual +assumptions directly impose on those licensors and authors. + +All other non-permissive additional terms are considered “further restrictions” +within the meaning of section 10. If the Program as you received it, or any +part of it, contains a notice stating that it is governed by this License +along with a term that is a further restriction, you may remove that term. +If a license document contains a further restriction but permits relicensing +or conveying under this License, you may add to a covered work material governed +by the terms of that license document, provided that the further restriction +does not survive such relicensing or conveying. + +If you add terms to a covered work in accord with this section, you must place, +in the relevant source files, a statement of the additional terms that apply +to those files, or a notice indicating where to find the applicable terms. + +Additional terms, permissive or non-permissive, may be stated in the form +of a separately written license, or stated as exceptions; the above requirements +apply either way. + +8. Termination. +You may not propagate or modify a covered work except as expressly provided +under this License. Any attempt otherwise to propagate or modify it is void, +and will automatically terminate your rights under this License (including +any patent licenses granted under the third paragraph of section 11). + +However, if you cease all violation of this License, then your license from +a particular copyright holder is reinstated (a) provisionally, unless and +until the copyright holder explicitly and finally terminates your license, +and (b) permanently, if the copyright holder fails to notify you of the violation +by some reasonable means prior to 60 days after the cessation. + +Moreover, your license from a particular copyright holder is reinstated permanently +if the copyright holder notifies you of the violation by some reasonable means, +this is the first time you have received notice of violation of this License +(for any work) from that copyright holder, and you cure the violation prior +to 30 days after your receipt of the notice. + +Termination of your rights under this section does not terminate the licenses +of parties who have received copies or rights from you under this License. +If your rights have been terminated and not permanently reinstated, you do +not qualify to receive new licenses for the same material under section 10. + +9. Acceptance Not Required for Having Copies. +You are not required to accept this License in order to receive or run a copy +of the Program. Ancillary propagation of a covered work occurring solely as +a consequence of using peer-to-peer transmission to receive a copy likewise +does not require acceptance. However, nothing other than this License grants +you permission to propagate or modify any covered work. These actions infringe +copyright if you do not accept this License. Therefore, by modifying or propagating +a covered work, you indicate your acceptance of this License to do so. + +10. Automatic Licensing of Downstream Recipients. +Each time you convey a covered work, the recipient automatically receives +a license from the original licensors, to run, modify and propagate that work, +subject to this License. You are not responsible for enforcing compliance +by third parties with this License. + +An “entity transaction” is a transaction transferring control of an organization, +or substantially all assets of one, or subdividing an organization, or merging +organizations. If propagation of a covered work results from an entity transaction, +each party to that transaction who receives a copy of the work also receives +whatever licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the Corresponding +Source of the work from the predecessor in interest, if the predecessor has +it or can get it with reasonable efforts. + +You may not impose any further restrictions on the exercise of the rights +granted or affirmed under this License. For example, you may not impose a +license fee, royalty, or other charge for exercise of rights granted under +this License, and you may not initiate litigation (including a cross-claim +or counterclaim in a lawsuit) alleging that any patent claim is infringed +by making, using, selling, offering for sale, or importing the Program or +any portion of it. + +11. Patents. +A “contributor” is a copyright holder who authorizes use under this License +of the Program or a work on which the Program is based. The work thus licensed +is called the contributor's “contributor version”. + +A contributor's “essential patent claims” are all patent claims owned or controlled +by the contributor, whether already acquired or hereafter acquired, that would +be infringed by some manner, permitted by this License, of making, using, +or selling its contributor version, but do not include claims that would be +infringed only as a consequence of further modification of the contributor +version. For purposes of this definition, “control” includes the right to +grant patent sublicenses in a manner consistent with the requirements of this +License. + +Each contributor grants you a non-exclusive, worldwide, royalty-free patent +license under the contributor's essential patent claims, to make, use, sell, +offer for sale, import and otherwise run, modify and propagate the contents +of its contributor version. + +In the following three paragraphs, a “patent license” is any express agreement +or commitment, however denominated, not to enforce a patent (such as an express +permission to practice a patent or covenant not to sue for patent infringement). +To “grant” such a patent license to a party means to make such an agreement +or commitment not to enforce a patent against the party. + +If you convey a covered work, knowingly relying on a patent license, and the +Corresponding Source of the work is not available for anyone to copy, free +of charge and under the terms of this License, through a publicly available +network server or other readily accessible means, then you must either (1) +cause the Corresponding Source to be so available, or (2) arrange to deprive +yourself of the benefit of the patent license for this particular work, or +(3) arrange, in a manner consistent with the requirements of this License, +to extend the patent license to downstream recipients. “Knowingly relying” +means you have actual knowledge that, but for the patent license, your conveying +the covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that country +that you have reason to believe are valid. + +If, pursuant to or in connection with a single transaction or arrangement, +you convey, or propagate by procuring conveyance of, a covered work, and grant +a patent license to some of the parties receiving the covered work authorizing +them to use, propagate, modify or convey a specific copy of the covered work, +then the patent license you grant is automatically extended to all recipients +of the covered work and works based on it. + +A patent license is “discriminatory” if it does not include within the scope +of its coverage, prohibits the exercise of, or is conditioned on the non-exercise +of one or more of the rights that are specifically granted under this License. +You may not convey a covered work if you are a party to an arrangement with +a third party that is in the business of distributing software, under which +you make payment to the third party based on the extent of your activity of +conveying the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory patent +license (a) in connection with copies of the covered work conveyed by you +(or copies made from those copies), or (b) primarily for and in connection +with specific products or compilations that contain the covered work, unless +you entered into that arrangement, or that patent license was granted, prior +to 28 March 2007. + +Nothing in this License shall be construed as excluding or limiting any implied +license or other defenses to infringement that may otherwise be available +to you under applicable patent law. + +12. No Surrender of Others' Freedom. +If conditions are imposed on you (whether by court order, agreement or otherwise) +that contradict the conditions of this License, they do not excuse you from +the conditions of this License. If you cannot convey a covered work so as +to satisfy simultaneously your obligations under this License and any other +pertinent obligations, then as a consequence you may not convey it at all. +For example, if you agree to terms that obligate you to collect a royalty +for further conveying from those to whom you convey the Program, the only +way you could satisfy both those terms and this License would be to refrain +entirely from conveying the Program. + +13. Use with the GNU Affero General Public License. +Notwithstanding any other provision of this License, you have permission to +link or combine any covered work with a work licensed under version 3 of the +GNU Affero General Public License into a single combined work, and to convey +the resulting work. The terms of this License will continue to apply to the +part which is the covered work, but the special requirements of the GNU Affero +General Public License, section 13, concerning interaction through a network +will apply to the combination as such. + +14. Revised Versions of this License. +The Free Software Foundation may publish revised and/or new versions of the +GNU General Public License from time to time. Such new versions will be similar +in spirit to the present version, but may differ in detail to address new +problems or concerns. + +Each version is given a distinguishing version number. If the Program specifies +that a certain numbered version of the GNU General Public License “or any +later version” applies to it, you have the option of following the terms and +conditions either of that numbered version or of any later version published +by the Free Software Foundation. If the Program does not specify a version +number of the GNU General Public License, you may choose any version ever +published by the Free Software Foundation. + +If the Program specifies that a proxy can decide which future versions of +the GNU General Public License can be used, that proxy's public statement +of acceptance of a version permanently authorizes you to choose that version +for the Program. + +Later license versions may give you additional or different permissions. However, +no additional obligations are imposed on any author or copyright holder as +a result of your choosing to follow a later version. + +15. Disclaimer of Warranty. +THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE +LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER +EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM +PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR +CORRECTION. + +16. Limitation of Liability. +IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL +ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM +AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, +INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO +USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED +INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE +PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER +PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +17. Interpretation of Sections 15 and 16. +If the disclaimer of warranty and limitation of liability provided above cannot +be given local legal effect according to their terms, reviewing courts shall +apply local law that most closely approximates an absolute waiver of all civil +liability in connection with the Program, unless a warranty or assumption +of liability accompanies a copy of the Program in return for a fee. + +END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest possible +use to the public, the best way to achieve this is to make it free software +which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest to attach +them to the start of each source file to most effectively state the exclusion +of warranty; and each file should have at least the “copyright” line and a +pointer to where the full notice is found. + + + Copyright (C) + +This program is free software: you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation, either version 3 of the License, or (at your option) any later +version. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along with +this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + +If the program does terminal interaction, make it output a short notice like +this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. +This is free software, and you are welcome to redistribute it under certain +conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands might +be different; for a GUI interface, you would use an “about box”. + +You should also get your employer (if you work as a programmer) or school, +if any, to sign a “copyright disclaimer” for the program, if necessary. For +more information on this, and how to apply and follow the GNU GPL, see . + +The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General Public +License instead of this License. But first, please read . diff --git a/LICENSES/GPL-3.0-or-later.txt b/LICENSES/GPL-3.0-or-later.txt new file mode 100644 index 000000000..599077110 --- /dev/null +++ b/LICENSES/GPL-3.0-or-later.txt @@ -0,0 +1,604 @@ +GNU GENERAL PUBLIC LICENSE +Version 3, 29 June 2007 + +Copyright © 2007 Free Software Foundation, Inc. + +Everyone is permitted to copy and distribute verbatim copies of this license +document, but changing it is not allowed. + +Preamble + +The GNU General Public License is a free, copyleft license for software and +other kinds of works. + +The licenses for most software and other practical works are designed to take +away your freedom to share and change the works. By contrast, the GNU General +Public License is intended to guarantee your freedom to share and change all +versions of a program--to make sure it remains free software for all its users. +We, the Free Software Foundation, use the GNU General Public License for most +of our software; it applies also to any other work released this way by its +authors. You can apply it to your programs, too. + +When we speak of free software, we are referring to freedom, not price. Our +General Public Licenses are designed to make sure that you have the freedom +to distribute copies of free software (and charge for them if you wish), that +you receive source code or can get it if you want it, that you can change +the software or use pieces of it in new free programs, and that you know you +can do these things. + +To protect your rights, we need to prevent others from denying you these rights +or asking you to surrender the rights. Therefore, you have certain responsibilities +if you distribute copies of the software, or if you modify it: responsibilities +to respect the freedom of others. + +For example, if you distribute copies of such a program, whether gratis or +for a fee, you must pass on to the recipients the same freedoms that you received. +You must make sure that they, too, receive or can get the source code. And +you must show them these terms so they know their rights. + +Developers that use the GNU GPL protect your rights with two steps: (1) assert +copyright on the software, and (2) offer you this License giving you legal +permission to copy, distribute and/or modify it. + +For the developers' and authors' protection, the GPL clearly explains that +there is no warranty for this free software. For both users' and authors' +sake, the GPL requires that modified versions be marked as changed, so that +their problems will not be attributed erroneously to authors of previous versions. + +Some devices are designed to deny users access to install or run modified +versions of the software inside them, although the manufacturer can do so. +This is fundamentally incompatible with the aim of protecting users' freedom +to change the software. The systematic pattern of such abuse occurs in the +area of products for individuals to use, which is precisely where it is most +unacceptable. Therefore, we have designed this version of the GPL to prohibit +the practice for those products. If such problems arise substantially in other +domains, we stand ready to extend this provision to those domains in future +versions of the GPL, as needed to protect the freedom of users. + +Finally, every program is threatened constantly by software patents. States +should not allow patents to restrict development and use of software on general-purpose +computers, but in those that do, we wish to avoid the special danger that +patents applied to a free program could make it effectively proprietary. To +prevent this, the GPL assures that patents cannot be used to render the program +non-free. + +The precise terms and conditions for copying, distribution and modification +follow. + +TERMS AND CONDITIONS + +0. Definitions. + +“This License” refers to version 3 of the GNU General Public License. + +“Copyright” also means copyright-like laws that apply to other kinds of works, +such as semiconductor masks. + +“The Program” refers to any copyrightable work licensed under this License. +Each licensee is addressed as “you”. “Licensees” and “recipients” may be individuals +or organizations. + +To “modify” a work means to copy from or adapt all or part of the work in +a fashion requiring copyright permission, other than the making of an exact +copy. The resulting work is called a “modified version” of the earlier work +or a work “based on” the earlier work. + +A “covered work” means either the unmodified Program or a work based on the +Program. + +To “propagate” a work means to do anything with it that, without permission, +would make you directly or secondarily liable for infringement under applicable +copyright law, except executing it on a computer or modifying a private copy. +Propagation includes copying, distribution (with or without modification), +making available to the public, and in some countries other activities as +well. + +To “convey” a work means any kind of propagation that enables other parties +to make or receive copies. Mere interaction with a user through a computer +network, with no transfer of a copy, is not conveying. + +An interactive user interface displays “Appropriate Legal Notices” to the +extent that it includes a convenient and prominently visible feature that +(1) displays an appropriate copyright notice, and (2) tells the user that +there is no warranty for the work (except to the extent that warranties are +provided), that licensees may convey the work under this License, and how +to view a copy of this License. If the interface presents a list of user commands +or options, such as a menu, a prominent item in the list meets this criterion. + +1. Source Code. +The “source code” for a work means the preferred form of the work for making +modifications to it. “Object code” means any non-source form of a work. + +A “Standard Interface” means an interface that either is an official standard +defined by a recognized standards body, or, in the case of interfaces specified +for a particular programming language, one that is widely used among developers +working in that language. + +The “System Libraries” of an executable work include anything, other than +the work as a whole, that (a) is included in the normal form of packaging +a Major Component, but which is not part of that Major Component, and (b) +serves only to enable use of the work with that Major Component, or to implement +a Standard Interface for which an implementation is available to the public +in source code form. A “Major Component”, in this context, means a major essential +component (kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to produce +the work, or an object code interpreter used to run it. + +The “Corresponding Source” for a work in object code form means all the source +code needed to generate, install, and (for an executable work) run the object +code and to modify the work, including scripts to control those activities. +However, it does not include the work's System Libraries, or general-purpose +tools or generally available free programs which are used unmodified in performing +those activities but which are not part of the work. For example, Corresponding +Source includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically linked +subprograms that the work is specifically designed to require, such as by +intimate data communication or control flow between those subprograms and +other parts of the work. + +The Corresponding Source need not include anything that users can regenerate +automatically from other parts of the Corresponding Source. + +The Corresponding Source for a work in source code form is that same work. + +2. Basic Permissions. +All rights granted under this License are granted for the term of copyright +on the Program, and are irrevocable provided the stated conditions are met. +This License explicitly affirms your unlimited permission to run the unmodified +Program. The output from running a covered work is covered by this License +only if the output, given its content, constitutes a covered work. This License +acknowledges your rights of fair use or other equivalent, as provided by copyright +law. + +You may make, run and propagate covered works that you do not convey, without +conditions so long as your license otherwise remains in force. You may convey +covered works to others for the sole purpose of having them make modifications +exclusively for you, or provide you with facilities for running those works, +provided that you comply with the terms of this License in conveying all material +for which you do not control copyright. Those thus making or running the covered +works for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of your copyrighted +material outside their relationship with you. + +Conveying under any other circumstances is permitted solely under the conditions +stated below. Sublicensing is not allowed; section 10 makes it unnecessary. + +3. Protecting Users' Legal Rights From Anti-Circumvention Law. +No covered work shall be deemed part of an effective technological measure +under any applicable law fulfilling obligations under article 11 of the WIPO +copyright treaty adopted on 20 December 1996, or similar laws prohibiting +or restricting circumvention of such measures. + +When you convey a covered work, you waive any legal power to forbid circumvention +of technological measures to the extent such circumvention is effected by +exercising rights under this License with respect to the covered work, and +you disclaim any intention to limit operation or modification of the work +as a means of enforcing, against the work's users, your or third parties' +legal rights to forbid circumvention of technological measures. + +4. Conveying Verbatim Copies. +You may convey verbatim copies of the Program's source code as you receive +it, in any medium, provided that you conspicuously and appropriately publish +on each copy an appropriate copyright notice; keep intact all notices stating +that this License and any non-permissive terms added in accord with section +7 apply to the code; keep intact all notices of the absence of any warranty; +and give all recipients a copy of this License along with the Program. + +You may charge any price or no price for each copy that you convey, and you +may offer support or warranty protection for a fee. + +5. Conveying Modified Source Versions. +You may convey a work based on the Program, or the modifications to produce +it from the Program, in the form of source code under the terms of section +4, provided that you also meet all of these conditions: + +a) The work must carry prominent notices stating that you modified it, and +giving a relevant date. + +b) The work must carry prominent notices stating that it is released under +this License and any conditions added under section 7. This requirement modifies +the requirement in section 4 to “keep intact all notices”. + +c) You must license the entire work, as a whole, under this License to anyone +who comes into possession of a copy. This License will therefore apply, along +with any applicable section 7 additional terms, to the whole of the work, +and all its parts, regardless of how they are packaged. This License gives +no permission to license the work in any other way, but it does not invalidate +such permission if you have separately received it. + +d) If the work has interactive user interfaces, each must display Appropriate +Legal Notices; however, if the Program has interactive interfaces that do +not display Appropriate Legal Notices, your work need not make them do so. + +A compilation of a covered work with other separate and independent works, +which are not by their nature extensions of the covered work, and which are +not combined with it such as to form a larger program, in or on a volume of +a storage or distribution medium, is called an “aggregate” if the compilation +and its resulting copyright are not used to limit the access or legal rights +of the compilation's users beyond what the individual works permit. Inclusion +of a covered work in an aggregate does not cause this License to apply to +the other parts of the aggregate. + +6. Conveying Non-Source Forms. +You may convey a covered work in object code form under the terms of sections +4 and 5, provided that you also convey the machine-readable Corresponding +Source under the terms of this License, in one of these ways: + +a) Convey the object code in, or embodied in, a physical product (including +a physical distribution medium), accompanied by the Corresponding Source fixed +on a durable physical medium customarily used for software interchange. + +b) Convey the object code in, or embodied in, a physical product (including +a physical distribution medium), accompanied by a written offer, valid for +at least three years and valid for as long as you offer spare parts or customer +support for that product model, to give anyone who possesses the object code +either (1) a copy of the Corresponding Source for all the software in the +product that is covered by this License, on a durable physical medium customarily +used for software interchange, for a price no more than your reasonable cost +of physically performing this conveying of source, or (2) access to copy the +Corresponding Source from a network server at no charge. + +c) Convey individual copies of the object code with a copy of the written +offer to provide the Corresponding Source. This alternative is allowed only +occasionally and noncommercially, and only if you received the object code +with such an offer, in accord with subsection 6b. + +d) Convey the object code by offering access from a designated place (gratis +or for a charge), and offer equivalent access to the Corresponding Source +in the same way through the same place at no further charge. You need not +require recipients to copy the Corresponding Source along with the object +code. If the place to copy the object code is a network server, the Corresponding +Source may be on a different server (operated by you or a third party) that +supports equivalent copying facilities, provided you maintain clear directions +next to the object code saying where to find the Corresponding Source. Regardless +of what server hosts the Corresponding Source, you remain obligated to ensure +that it is available for as long as needed to satisfy these requirements. + +e) Convey the object code using peer-to-peer transmission, provided you inform +other peers where the object code and Corresponding Source of the work are +being offered to the general public at no charge under subsection 6d. + +A separable portion of the object code, whose source code is excluded from +the Corresponding Source as a System Library, need not be included in conveying +the object code work. + +A “User Product” is either (1) a “consumer product”, which means any tangible +personal property which is normally used for personal, family, or household +purposes, or (2) anything designed or sold for incorporation into a dwelling. +In determining whether a product is a consumer product, doubtful cases shall +be resolved in favor of coverage. For a particular product received by a particular +user, “normally used” refers to a typical or common use of that class of product, +regardless of the status of the particular user or of the way in which the +particular user actually uses, or expects or is expected to use, the product. +A product is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent the +only significant mode of use of the product. + +“Installation Information” for a User Product means any methods, procedures, +authorization keys, or other information required to install and execute modified +versions of a covered work in that User Product from a modified version of +its Corresponding Source. The information must suffice to ensure that the +continued functioning of the modified object code is in no case prevented +or interfered with solely because modification has been made. + +If you convey an object code work under this section in, or with, or specifically +for use in, a User Product, and the conveying occurs as part of a transaction +in which the right of possession and use of the User Product is transferred +to the recipient in perpetuity or for a fixed term (regardless of how the +transaction is characterized), the Corresponding Source conveyed under this +section must be accompanied by the Installation Information. But this requirement +does not apply if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has been installed +in ROM). + +The requirement to provide Installation Information does not include a requirement +to continue to provide support service, warranty, or updates for a work that +has been modified or installed by the recipient, or for the User Product in +which it has been modified or installed. Access to a network may be denied +when the modification itself materially and adversely affects the operation +of the network or violates the rules and protocols for communication across +the network. + +Corresponding Source conveyed, and Installation Information provided, in accord +with this section must be in a format that is publicly documented (and with +an implementation available to the public in source code form), and must require +no special password or key for unpacking, reading or copying. + +7. Additional Terms. +“Additional permissions” are terms that supplement the terms of this License +by making exceptions from one or more of its conditions. Additional permissions +that are applicable to the entire Program shall be treated as though they +were included in this License, to the extent that they are valid under applicable +law. If additional permissions apply only to part of the Program, that part +may be used separately under those permissions, but the entire Program remains +governed by this License without regard to the additional permissions. + +When you convey a copy of a covered work, you may at your option remove any +additional permissions from that copy, or from any part of it. (Additional +permissions may be written to require their own removal in certain cases when +you modify the work.) You may place additional permissions on material, added +by you to a covered work, for which you have or can give appropriate copyright +permission. + +Notwithstanding any other provision of this License, for material you add +to a covered work, you may (if authorized by the copyright holders of that +material) supplement the terms of this License with terms: + +a) Disclaiming warranty or limiting liability differently from the terms of +sections 15 and 16 of this License; or + +b) Requiring preservation of specified reasonable legal notices or author +attributions in that material or in the Appropriate Legal Notices displayed +by works containing it; or + +c) Prohibiting misrepresentation of the origin of that material, or requiring +that modified versions of such material be marked in reasonable ways as different +from the original version; or + +d) Limiting the use for publicity purposes of names of licensors or authors +of the material; or + +e) Declining to grant rights under trademark law for use of some trade names, +trademarks, or service marks; or + +f) Requiring indemnification of licensors and authors of that material by +anyone who conveys the material (or modified versions of it) with contractual +assumptions of liability to the recipient, for any liability that these contractual +assumptions directly impose on those licensors and authors. + +All other non-permissive additional terms are considered “further restrictions” +within the meaning of section 10. If the Program as you received it, or any +part of it, contains a notice stating that it is governed by this License +along with a term that is a further restriction, you may remove that term. +If a license document contains a further restriction but permits relicensing +or conveying under this License, you may add to a covered work material governed +by the terms of that license document, provided that the further restriction +does not survive such relicensing or conveying. + +If you add terms to a covered work in accord with this section, you must place, +in the relevant source files, a statement of the additional terms that apply +to those files, or a notice indicating where to find the applicable terms. + +Additional terms, permissive or non-permissive, may be stated in the form +of a separately written license, or stated as exceptions; the above requirements +apply either way. + +8. Termination. +You may not propagate or modify a covered work except as expressly provided +under this License. Any attempt otherwise to propagate or modify it is void, +and will automatically terminate your rights under this License (including +any patent licenses granted under the third paragraph of section 11). + +However, if you cease all violation of this License, then your license from +a particular copyright holder is reinstated (a) provisionally, unless and +until the copyright holder explicitly and finally terminates your license, +and (b) permanently, if the copyright holder fails to notify you of the violation +by some reasonable means prior to 60 days after the cessation. + +Moreover, your license from a particular copyright holder is reinstated permanently +if the copyright holder notifies you of the violation by some reasonable means, +this is the first time you have received notice of violation of this License +(for any work) from that copyright holder, and you cure the violation prior +to 30 days after your receipt of the notice. + +Termination of your rights under this section does not terminate the licenses +of parties who have received copies or rights from you under this License. +If your rights have been terminated and not permanently reinstated, you do +not qualify to receive new licenses for the same material under section 10. + +9. Acceptance Not Required for Having Copies. +You are not required to accept this License in order to receive or run a copy +of the Program. Ancillary propagation of a covered work occurring solely as +a consequence of using peer-to-peer transmission to receive a copy likewise +does not require acceptance. However, nothing other than this License grants +you permission to propagate or modify any covered work. These actions infringe +copyright if you do not accept this License. Therefore, by modifying or propagating +a covered work, you indicate your acceptance of this License to do so. + +10. Automatic Licensing of Downstream Recipients. +Each time you convey a covered work, the recipient automatically receives +a license from the original licensors, to run, modify and propagate that work, +subject to this License. You are not responsible for enforcing compliance +by third parties with this License. + +An “entity transaction” is a transaction transferring control of an organization, +or substantially all assets of one, or subdividing an organization, or merging +organizations. If propagation of a covered work results from an entity transaction, +each party to that transaction who receives a copy of the work also receives +whatever licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the Corresponding +Source of the work from the predecessor in interest, if the predecessor has +it or can get it with reasonable efforts. + +You may not impose any further restrictions on the exercise of the rights +granted or affirmed under this License. For example, you may not impose a +license fee, royalty, or other charge for exercise of rights granted under +this License, and you may not initiate litigation (including a cross-claim +or counterclaim in a lawsuit) alleging that any patent claim is infringed +by making, using, selling, offering for sale, or importing the Program or +any portion of it. + +11. Patents. +A “contributor” is a copyright holder who authorizes use under this License +of the Program or a work on which the Program is based. The work thus licensed +is called the contributor's “contributor version”. + +A contributor's “essential patent claims” are all patent claims owned or controlled +by the contributor, whether already acquired or hereafter acquired, that would +be infringed by some manner, permitted by this License, of making, using, +or selling its contributor version, but do not include claims that would be +infringed only as a consequence of further modification of the contributor +version. For purposes of this definition, “control” includes the right to +grant patent sublicenses in a manner consistent with the requirements of this +License. + +Each contributor grants you a non-exclusive, worldwide, royalty-free patent +license under the contributor's essential patent claims, to make, use, sell, +offer for sale, import and otherwise run, modify and propagate the contents +of its contributor version. + +In the following three paragraphs, a “patent license” is any express agreement +or commitment, however denominated, not to enforce a patent (such as an express +permission to practice a patent or covenant not to sue for patent infringement). +To “grant” such a patent license to a party means to make such an agreement +or commitment not to enforce a patent against the party. + +If you convey a covered work, knowingly relying on a patent license, and the +Corresponding Source of the work is not available for anyone to copy, free +of charge and under the terms of this License, through a publicly available +network server or other readily accessible means, then you must either (1) +cause the Corresponding Source to be so available, or (2) arrange to deprive +yourself of the benefit of the patent license for this particular work, or +(3) arrange, in a manner consistent with the requirements of this License, +to extend the patent license to downstream recipients. “Knowingly relying” +means you have actual knowledge that, but for the patent license, your conveying +the covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that country +that you have reason to believe are valid. + +If, pursuant to or in connection with a single transaction or arrangement, +you convey, or propagate by procuring conveyance of, a covered work, and grant +a patent license to some of the parties receiving the covered work authorizing +them to use, propagate, modify or convey a specific copy of the covered work, +then the patent license you grant is automatically extended to all recipients +of the covered work and works based on it. + +A patent license is “discriminatory” if it does not include within the scope +of its coverage, prohibits the exercise of, or is conditioned on the non-exercise +of one or more of the rights that are specifically granted under this License. +You may not convey a covered work if you are a party to an arrangement with +a third party that is in the business of distributing software, under which +you make payment to the third party based on the extent of your activity of +conveying the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory patent +license (a) in connection with copies of the covered work conveyed by you +(or copies made from those copies), or (b) primarily for and in connection +with specific products or compilations that contain the covered work, unless +you entered into that arrangement, or that patent license was granted, prior +to 28 March 2007. + +Nothing in this License shall be construed as excluding or limiting any implied +license or other defenses to infringement that may otherwise be available +to you under applicable patent law. + +12. No Surrender of Others' Freedom. +If conditions are imposed on you (whether by court order, agreement or otherwise) +that contradict the conditions of this License, they do not excuse you from +the conditions of this License. If you cannot convey a covered work so as +to satisfy simultaneously your obligations under this License and any other +pertinent obligations, then as a consequence you may not convey it at all. +For example, if you agree to terms that obligate you to collect a royalty +for further conveying from those to whom you convey the Program, the only +way you could satisfy both those terms and this License would be to refrain +entirely from conveying the Program. + +13. Use with the GNU Affero General Public License. +Notwithstanding any other provision of this License, you have permission to +link or combine any covered work with a work licensed under version 3 of the +GNU Affero General Public License into a single combined work, and to convey +the resulting work. The terms of this License will continue to apply to the +part which is the covered work, but the special requirements of the GNU Affero +General Public License, section 13, concerning interaction through a network +will apply to the combination as such. + +14. Revised Versions of this License. +The Free Software Foundation may publish revised and/or new versions of the +GNU General Public License from time to time. Such new versions will be similar +in spirit to the present version, but may differ in detail to address new +problems or concerns. + +Each version is given a distinguishing version number. If the Program specifies +that a certain numbered version of the GNU General Public License “or any +later version” applies to it, you have the option of following the terms and +conditions either of that numbered version or of any later version published +by the Free Software Foundation. If the Program does not specify a version +number of the GNU General Public License, you may choose any version ever +published by the Free Software Foundation. + +If the Program specifies that a proxy can decide which future versions of +the GNU General Public License can be used, that proxy's public statement +of acceptance of a version permanently authorizes you to choose that version +for the Program. + +Later license versions may give you additional or different permissions. However, +no additional obligations are imposed on any author or copyright holder as +a result of your choosing to follow a later version. + +15. Disclaimer of Warranty. +THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE +LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER +EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM +PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR +CORRECTION. + +16. Limitation of Liability. +IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL +ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM +AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, +INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO +USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED +INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE +PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER +PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +17. Interpretation of Sections 15 and 16. +If the disclaimer of warranty and limitation of liability provided above cannot +be given local legal effect according to their terms, reviewing courts shall +apply local law that most closely approximates an absolute waiver of all civil +liability in connection with the Program, unless a warranty or assumption +of liability accompanies a copy of the Program in return for a fee. + +END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest possible +use to the public, the best way to achieve this is to make it free software +which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest to attach +them to the start of each source file to most effectively state the exclusion +of warranty; and each file should have at least the “copyright” line and a +pointer to where the full notice is found. + + + Copyright (C) + +This program is free software: you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation, either version 3 of the License, or (at your option) any later +version. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along with +this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + +If the program does terminal interaction, make it output a short notice like +this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. +This is free software, and you are welcome to redistribute it under certain +conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands might +be different; for a GUI interface, you would use an “about box”. + +You should also get your employer (if you work as a programmer) or school, +if any, to sign a “copyright disclaimer” for the program, if necessary. For +more information on this, and how to apply and follow the GNU GPL, see . + +The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General Public +License instead of this License. But first, please read . diff --git a/LICENSES/LGPL-2.0-only.txt b/LICENSES/LGPL-2.0-only.txt new file mode 100644 index 000000000..ec9eedc54 --- /dev/null +++ b/LICENSES/LGPL-2.0-only.txt @@ -0,0 +1,444 @@ +GNU LIBRARY GENERAL PUBLIC LICENSE + +Version 2, June 1991 + +Copyright (C) 1991 Free Software Foundation, Inc. +51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + +Everyone is permitted to copy and distribute verbatim copies of this license +document, but changing it is not allowed. + +[This is the first released version of the library GPL. It is numbered 2 +because it goes with version 2 of the ordinary GPL.] + +Preamble + +The licenses for most software are designed to take away your freedom to share +and change it. By contrast, the GNU General Public Licenses are intended to +guarantee your freedom to share and change free software--to make sure the +software is free for all its users. + +This license, the Library General Public License, applies to some specially +designated Free Software Foundation software, and to any other libraries whose +authors decide to use it. You can use it for your libraries, too. + +When we speak of free software, we are referring to freedom, not price. Our +General Public Licenses are designed to make sure that you have the freedom +to distribute copies of free software (and charge for this service if you +wish), that you receive source code or can get it if you want it, that you +can change the software or use pieces of it in new free programs; and that +you know you can do these things. + +To protect your rights, we need to make restrictions that forbid anyone to +deny you these rights or to ask you to surrender the rights. These restrictions +translate to certain responsibilities for you if you distribute copies of +the library, or if you modify it. + +For example, if you distribute copies of the library, whether gratis or for +a fee, you must give the recipients all the rights that we gave you. You must +make sure that they, too, receive or can get the source code. If you link +a program with the library, you must provide complete object files to the +recipients so that they can relink them with the library, after making changes +to the library and recompiling it. And you must show them these terms so they +know their rights. + +Our method of protecting your rights has two steps: (1) copyright the library, +and (2) offer you this license which gives you legal permission to copy, distribute +and/or modify the library. + +Also, for each distributor's protection, we want to make certain that everyone +understands that there is no warranty for this free library. If the library +is modified by someone else and passed on, we want its recipients to know +that what they have is not the original version, so that any problems introduced +by others will not reflect on the original authors' reputations. + +Finally, any free program is threatened constantly by software patents. We +wish to avoid the danger that companies distributing free software will individually +obtain patent licenses, thus in effect transforming the program into proprietary +software. To prevent this, we have made it clear that any patent must be licensed +for everyone's free use or not licensed at all. + +Most GNU software, including some libraries, is covered by the ordinary GNU +General Public License, which was designed for utility programs. This license, +the GNU Library General Public License, applies to certain designated libraries. +This license is quite different from the ordinary one; be sure to read it +in full, and don't assume that anything in it is the same as in the ordinary +license. + +The reason we have a separate public license for some libraries is that they +blur the distinction we usually make between modifying or adding to a program +and simply using it. Linking a program with a library, without changing the +library, is in some sense simply using the library, and is analogous to running +a utility program or application program. However, in a textual and legal +sense, the linked executable is a combined work, a derivative of the original +library, and the ordinary General Public License treats it as such. + +Because of this blurred distinction, using the ordinary General Public License +for libraries did not effectively promote software sharing, because most developers +did not use the libraries. We concluded that weaker conditions might promote +sharing better. + +However, unrestricted linking of non-free programs would deprive the users +of those programs of all benefit from the free status of the libraries themselves. +This Library General Public License is intended to permit developers of non-free +programs to use free libraries, while preserving your freedom as a user of +such programs to change the free libraries that are incorporated in them. +(We have not seen how to achieve this as regards changes in header files, +but we have achieved it as regards changes in the actual functions of the +Library.) The hope is that this will lead to faster development of free libraries. + +The precise terms and conditions for copying, distribution and modification +follow. Pay close attention to the difference between a "work based on the +library" and a "work that uses the library". The former contains code derived +from the library, while the latter only works together with the library. + +Note that it is possible for a library to be covered by the ordinary General +Public License rather than by this special one. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License Agreement applies to any software library which contains a +notice placed by the copyright holder or other authorized party saying it +may be distributed under the terms of this Library General Public License +(also called "this License"). Each licensee is addressed as "you". + +A "library" means a collection of software functions and/or data prepared +so as to be conveniently linked with application programs (which use some +of those functions and data) to form executables. + +The "Library", below, refers to any such software library or work which has +been distributed under these terms. A "work based on the Library" means either +the Library or any derivative work under copyright law: that is to say, a +work containing the Library or a portion of it, either verbatim or with modifications +and/or translated straightforwardly into another language. (Hereinafter, translation +is included without limitation in the term "modification".) + +"Source code" for a work means the preferred form of the work for making modifications +to it. For a library, complete source code means all the source code for all +modules it contains, plus any associated interface definition files, plus +the scripts used to control compilation and installation of the library. + +Activities other than copying, distribution and modification are not covered +by this License; they are outside its scope. The act of running a program +using the Library is not restricted, and output from such a program is covered +only if its contents constitute a work based on the Library (independent of +the use of the Library in a tool for writing it). Whether that is true depends +on what the Library does and what the program that uses the Library does. + +1. You may copy and distribute verbatim copies of the Library's complete source +code as you receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice and disclaimer +of warranty; keep intact all the notices that refer to this License and to +the absence of any warranty; and distribute a copy of this License along with +the Library. + +You may charge a fee for the physical act of transferring a copy, and you +may at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Library or any portion of it, +thus forming a work based on the Library, and copy and distribute such modifications +or work under the terms of Section 1 above, provided that you also meet all +of these conditions: + + a) The modified work must itself be a software library. + +b) You must cause the files modified to carry prominent notices stating that +you changed the files and the date of any change. + +c) You must cause the whole of the work to be licensed at no charge to all +third parties under the terms of this License. + +d) If a facility in the modified Library refers to a function or a table of +data to be supplied by an application program that uses the facility, other +than as an argument passed when the facility is invoked, then you must make +a good faith effort to ensure that, in the event an application does not supply +such function or table, the facility still operates, and performs whatever +part of its purpose remains meaningful. + +(For example, a function in a library to compute square roots has a purpose +that is entirely well-defined independent of the application. Therefore, Subsection +2d requires that any application-supplied function or table used by this function +must be optional: if the application does not supply it, the square root function +must still compute square roots.) + +These requirements apply to the modified work as a whole. If identifiable +sections of that work are not derived from the Library, and can be reasonably +considered independent and separate works in themselves, then this License, +and its terms, do not apply to those sections when you distribute them as +separate works. But when you distribute the same sections as part of a whole +which is a work based on the Library, the distribution of the whole must be +on the terms of this License, whose permissions for other licensees extend +to the entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest your +rights to work written entirely by you; rather, the intent is to exercise +the right to control the distribution of derivative or collective works based +on the Library. + +In addition, mere aggregation of another work not based on the Library with +the Library (or with a work based on the Library) on a volume of a storage +or distribution medium does not bring the other work under the scope of this +License. + +3. You may opt to apply the terms of the ordinary GNU General Public License +instead of this License to a given copy of the Library. To do this, you must +alter all the notices that refer to this License, so that they refer to the +ordinary GNU General Public License, version 2, instead of to this License. +(If a newer version than version 2 of the ordinary GNU General Public License +has appeared, then you can specify that version instead if you wish.) Do not +make any other change in these notices. + +Once this change is made in a given copy, it is irreversible for that copy, +so the ordinary GNU General Public License applies to all subsequent copies +and derivative works made from that copy. + +This option is useful when you wish to copy part of the code of the Library +into a program that is not a library. + +4. You may copy and distribute the Library (or a portion or derivative of +it, under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you accompany it with the complete corresponding +machine-readable source code, which must be distributed under the terms of +Sections 1 and 2 above on a medium customarily used for software interchange. + +If distribution of object code is made by offering access to copy from a designated +place, then offering equivalent access to copy the source code from the same +place satisfies the requirement to distribute the source code, even though +third parties are not compelled to copy the source along with the object code. + +5. A program that contains no derivative of any portion of the Library, but +is designed to work with the Library by being compiled or linked with it, +is called a "work that uses the Library". Such a work, in isolation, is not +a derivative work of the Library, and therefore falls outside the scope of +this License. + +However, linking a "work that uses the Library" with the Library creates an +executable that is a derivative of the Library (because it contains portions +of the Library), rather than a "work that uses the library". The executable +is therefore covered by this License. Section 6 states terms for distribution +of such executables. + +When a "work that uses the Library" uses material from a header file that +is part of the Library, the object code for the work may be a derivative work +of the Library even though the source code is not. Whether this is true is +especially significant if the work can be linked without the Library, or if +the work is itself a library. The threshold for this to be true is not precisely +defined by law. + +If such an object file uses only numerical parameters, data structure layouts +and accessors, and small macros and small inline functions (ten lines or less +in length), then the use of the object file is unrestricted, regardless of +whether it is legally a derivative work. (Executables containing this object +code plus portions of the Library will still fall under Section 6.) + +Otherwise, if the work is a derivative of the Library, you may distribute +the object code for the work under the terms of Section 6. Any executables +containing that work also fall under Section 6, whether or not they are linked +directly with the Library itself. + +6. As an exception to the Sections above, you may also compile or link a "work +that uses the Library" with the Library to produce a work containing portions +of the Library, and distribute that work under terms of your choice, provided +that the terms permit modification of the work for the customer's own use +and reverse engineering for debugging such modifications. + +You must give prominent notice with each copy of the work that the Library +is used in it and that the Library and its use are covered by this License. +You must supply a copy of this License. If the work during execution displays +copyright notices, you must include the copyright notice for the Library among +them, as well as a reference directing the user to the copy of this License. +Also, you must do one of these things: + +a) Accompany the work with the complete corresponding machine-readable source +code for the Library including whatever changes were used in the work (which +must be distributed under Sections 1 and 2 above); and, if the work is an +executable linked with the Library, with the complete machine-readable "work +that uses the Library", as object code and/or source code, so that the user +can modify the Library and then relink to produce a modified executable containing +the modified Library. (It is understood that the user who changes the contents +of definitions files in the Library will not necessarily be able to recompile +the application to use the modified definitions.) + +b) Accompany the work with a written offer, valid for at least three years, +to give the same user the materials specified in Subsection 6a, above, for +a charge no more than the cost of performing this distribution. + +c) If distribution of the work is made by offering access to copy from a designated +place, offer equivalent access to copy the above specified materials from +the same place. + +d) Verify that the user has already received a copy of these materials or +that you have already sent this user a copy. + +For an executable, the required form of the "work that uses the Library" must +include any data and utility programs needed for reproducing the executable +from it. However, as a special exception, the source code distributed need +not include anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the operating +system on which the executable runs, unless that component itself accompanies +the executable. + +It may happen that this requirement contradicts the license restrictions of +other proprietary libraries that do not normally accompany the operating system. +Such a contradiction means you cannot use both them and the Library together +in an executable that you distribute. + +7. You may place library facilities that are a work based on the Library side-by-side +in a single library together with other library facilities not covered by +this License, and distribute such a combined library, provided that the separate +distribution of the work based on the Library and of the other library facilities +is otherwise permitted, and provided that you do these two things: + +a) Accompany the combined library with a copy of the same work based on the +Library, uncombined with any other library facilities. This must be distributed +under the terms of the Sections above. + +b) Give prominent notice with the combined library of the fact that part of +it is a work based on the Library, and explaining where to find the accompanying +uncombined form of the same work. + +8. You may not copy, modify, sublicense, link with, or distribute the Library +except as expressly provided under this License. Any attempt otherwise to +copy, modify, sublicense, link with, or distribute the Library is void, and +will automatically terminate your rights under this License. However, parties +who have received copies, or rights, from you under this License will not +have their licenses terminated so long as such parties remain in full compliance. + +9. You are not required to accept this License, since you have not signed +it. However, nothing else grants you permission to modify or distribute the +Library or its derivative works. These actions are prohibited by law if you +do not accept this License. Therefore, by modifying or distributing the Library +(or any work based on the Library), you indicate your acceptance of this License +to do so, and all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + +10. Each time you redistribute the Library (or any work based on the Library), +the recipient automatically receives a license from the original licensor +to copy, distribute, link with or modify the Library subject to these terms +and conditions. You may not impose any further restrictions on the recipients' +exercise of the rights granted herein. You are not responsible for enforcing +compliance by third parties to this License. + +11. If, as a consequence of a court judgment or allegation of patent infringement +or for any other reason (not limited to patent issues), conditions are imposed +on you (whether by court order, agreement or otherwise) that contradict the +conditions of this License, they do not excuse you from the conditions of +this License. If you cannot distribute so as to satisfy simultaneously your +obligations under this License and any other pertinent obligations, then as +a consequence you may not distribute the Library at all. For example, if a +patent license would not permit royalty-free redistribution of the Library +by all those who receive copies directly or indirectly through you, then the +only way you could satisfy both it and this License would be to refrain entirely +from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents +or other property right claims or to contest validity of any such claims; +this section has the sole purpose of protecting the integrity of the free +software distribution system which is implemented by public license practices. +Many people have made generous contributions to the wide range of software +distributed through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing to +distribute software through any other system and a licensee cannot impose +that choice. + +This section is intended to make thoroughly clear what is believed to be a +consequence of the rest of this License. + +12. If the distribution and/or use of the Library is restricted in certain +countries either by patents or by copyrighted interfaces, the original copyright +holder who places the Library under this License may add an explicit geographical +distribution limitation excluding those countries, so that distribution is +permitted only in or among countries not thus excluded. In such case, this +License incorporates the limitation as if written in the body of this License. + +13. The Free Software Foundation may publish revised and/or new versions of +the Library General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to address +new problems or concerns. + +Each version is given a distinguishing version number. If the Library specifies +a version number of this License which applies to it and "any later version", +you have the option of following the terms and conditions either of that version +or of any later version published by the Free Software Foundation. If the +Library does not specify a license version number, you may choose any version +ever published by the Free Software Foundation. + +14. If you wish to incorporate parts of the Library into other free programs +whose distribution conditions are incompatible with these, write to the author +to ask for permission. For software which is copyrighted by the Free Software +Foundation, write to the Free Software Foundation; we sometimes make exceptions +for this. Our decision will be guided by the two goals of preserving the free +status of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + +NO WARRANTY + +15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR +THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE +STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY +"AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, +BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE +OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE +THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE +OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA +OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES +OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH +HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Libraries + +If you develop a new library, and you want it to be of the greatest possible +use to the public, we recommend making it free software that everyone can +redistribute and change. You can do so by permitting redistribution under +these terms (or, alternatively, under the terms of the ordinary General Public +License). + +To apply these terms, attach the following notices to the library. It is safest +to attach them to the start of each source file to most effectively convey +the exclusion of warranty; and each file should have at least the "copyright" +line and a pointer to where the full notice is found. + + one line to give the library's name and an idea of what it does. + Copyright (C) year name of author + +This library is free software; you can redistribute it and/or modify it under +the terms of the GNU Library General Public License as published by the Free +Software Foundation; either version 2 of the License, or (at your option) +any later version. + +This library is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for +more details. + +You should have received a copy of the GNU Library General Public License +along with this library; if not, write to the Free Software Foundation, Inc., +51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your school, +if any, to sign a "copyright disclaimer" for the library, if necessary. Here +is a sample; alter the names: + +Yoyodyne, Inc., hereby disclaims all copyright interest in +the library `Frob' (a library for tweaking knobs) written +by James Random Hacker. + +signature of Ty Coon, 1 April 1990 +Ty Coon, President of Vice + +That's all there is to it! diff --git a/LICENSES/LGPL-2.0-or-later.txt b/LICENSES/LGPL-2.0-or-later.txt new file mode 100644 index 000000000..ec9eedc54 --- /dev/null +++ b/LICENSES/LGPL-2.0-or-later.txt @@ -0,0 +1,444 @@ +GNU LIBRARY GENERAL PUBLIC LICENSE + +Version 2, June 1991 + +Copyright (C) 1991 Free Software Foundation, Inc. +51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + +Everyone is permitted to copy and distribute verbatim copies of this license +document, but changing it is not allowed. + +[This is the first released version of the library GPL. It is numbered 2 +because it goes with version 2 of the ordinary GPL.] + +Preamble + +The licenses for most software are designed to take away your freedom to share +and change it. By contrast, the GNU General Public Licenses are intended to +guarantee your freedom to share and change free software--to make sure the +software is free for all its users. + +This license, the Library General Public License, applies to some specially +designated Free Software Foundation software, and to any other libraries whose +authors decide to use it. You can use it for your libraries, too. + +When we speak of free software, we are referring to freedom, not price. Our +General Public Licenses are designed to make sure that you have the freedom +to distribute copies of free software (and charge for this service if you +wish), that you receive source code or can get it if you want it, that you +can change the software or use pieces of it in new free programs; and that +you know you can do these things. + +To protect your rights, we need to make restrictions that forbid anyone to +deny you these rights or to ask you to surrender the rights. These restrictions +translate to certain responsibilities for you if you distribute copies of +the library, or if you modify it. + +For example, if you distribute copies of the library, whether gratis or for +a fee, you must give the recipients all the rights that we gave you. You must +make sure that they, too, receive or can get the source code. If you link +a program with the library, you must provide complete object files to the +recipients so that they can relink them with the library, after making changes +to the library and recompiling it. And you must show them these terms so they +know their rights. + +Our method of protecting your rights has two steps: (1) copyright the library, +and (2) offer you this license which gives you legal permission to copy, distribute +and/or modify the library. + +Also, for each distributor's protection, we want to make certain that everyone +understands that there is no warranty for this free library. If the library +is modified by someone else and passed on, we want its recipients to know +that what they have is not the original version, so that any problems introduced +by others will not reflect on the original authors' reputations. + +Finally, any free program is threatened constantly by software patents. We +wish to avoid the danger that companies distributing free software will individually +obtain patent licenses, thus in effect transforming the program into proprietary +software. To prevent this, we have made it clear that any patent must be licensed +for everyone's free use or not licensed at all. + +Most GNU software, including some libraries, is covered by the ordinary GNU +General Public License, which was designed for utility programs. This license, +the GNU Library General Public License, applies to certain designated libraries. +This license is quite different from the ordinary one; be sure to read it +in full, and don't assume that anything in it is the same as in the ordinary +license. + +The reason we have a separate public license for some libraries is that they +blur the distinction we usually make between modifying or adding to a program +and simply using it. Linking a program with a library, without changing the +library, is in some sense simply using the library, and is analogous to running +a utility program or application program. However, in a textual and legal +sense, the linked executable is a combined work, a derivative of the original +library, and the ordinary General Public License treats it as such. + +Because of this blurred distinction, using the ordinary General Public License +for libraries did not effectively promote software sharing, because most developers +did not use the libraries. We concluded that weaker conditions might promote +sharing better. + +However, unrestricted linking of non-free programs would deprive the users +of those programs of all benefit from the free status of the libraries themselves. +This Library General Public License is intended to permit developers of non-free +programs to use free libraries, while preserving your freedom as a user of +such programs to change the free libraries that are incorporated in them. +(We have not seen how to achieve this as regards changes in header files, +but we have achieved it as regards changes in the actual functions of the +Library.) The hope is that this will lead to faster development of free libraries. + +The precise terms and conditions for copying, distribution and modification +follow. Pay close attention to the difference between a "work based on the +library" and a "work that uses the library". The former contains code derived +from the library, while the latter only works together with the library. + +Note that it is possible for a library to be covered by the ordinary General +Public License rather than by this special one. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License Agreement applies to any software library which contains a +notice placed by the copyright holder or other authorized party saying it +may be distributed under the terms of this Library General Public License +(also called "this License"). Each licensee is addressed as "you". + +A "library" means a collection of software functions and/or data prepared +so as to be conveniently linked with application programs (which use some +of those functions and data) to form executables. + +The "Library", below, refers to any such software library or work which has +been distributed under these terms. A "work based on the Library" means either +the Library or any derivative work under copyright law: that is to say, a +work containing the Library or a portion of it, either verbatim or with modifications +and/or translated straightforwardly into another language. (Hereinafter, translation +is included without limitation in the term "modification".) + +"Source code" for a work means the preferred form of the work for making modifications +to it. For a library, complete source code means all the source code for all +modules it contains, plus any associated interface definition files, plus +the scripts used to control compilation and installation of the library. + +Activities other than copying, distribution and modification are not covered +by this License; they are outside its scope. The act of running a program +using the Library is not restricted, and output from such a program is covered +only if its contents constitute a work based on the Library (independent of +the use of the Library in a tool for writing it). Whether that is true depends +on what the Library does and what the program that uses the Library does. + +1. You may copy and distribute verbatim copies of the Library's complete source +code as you receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice and disclaimer +of warranty; keep intact all the notices that refer to this License and to +the absence of any warranty; and distribute a copy of this License along with +the Library. + +You may charge a fee for the physical act of transferring a copy, and you +may at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Library or any portion of it, +thus forming a work based on the Library, and copy and distribute such modifications +or work under the terms of Section 1 above, provided that you also meet all +of these conditions: + + a) The modified work must itself be a software library. + +b) You must cause the files modified to carry prominent notices stating that +you changed the files and the date of any change. + +c) You must cause the whole of the work to be licensed at no charge to all +third parties under the terms of this License. + +d) If a facility in the modified Library refers to a function or a table of +data to be supplied by an application program that uses the facility, other +than as an argument passed when the facility is invoked, then you must make +a good faith effort to ensure that, in the event an application does not supply +such function or table, the facility still operates, and performs whatever +part of its purpose remains meaningful. + +(For example, a function in a library to compute square roots has a purpose +that is entirely well-defined independent of the application. Therefore, Subsection +2d requires that any application-supplied function or table used by this function +must be optional: if the application does not supply it, the square root function +must still compute square roots.) + +These requirements apply to the modified work as a whole. If identifiable +sections of that work are not derived from the Library, and can be reasonably +considered independent and separate works in themselves, then this License, +and its terms, do not apply to those sections when you distribute them as +separate works. But when you distribute the same sections as part of a whole +which is a work based on the Library, the distribution of the whole must be +on the terms of this License, whose permissions for other licensees extend +to the entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest your +rights to work written entirely by you; rather, the intent is to exercise +the right to control the distribution of derivative or collective works based +on the Library. + +In addition, mere aggregation of another work not based on the Library with +the Library (or with a work based on the Library) on a volume of a storage +or distribution medium does not bring the other work under the scope of this +License. + +3. You may opt to apply the terms of the ordinary GNU General Public License +instead of this License to a given copy of the Library. To do this, you must +alter all the notices that refer to this License, so that they refer to the +ordinary GNU General Public License, version 2, instead of to this License. +(If a newer version than version 2 of the ordinary GNU General Public License +has appeared, then you can specify that version instead if you wish.) Do not +make any other change in these notices. + +Once this change is made in a given copy, it is irreversible for that copy, +so the ordinary GNU General Public License applies to all subsequent copies +and derivative works made from that copy. + +This option is useful when you wish to copy part of the code of the Library +into a program that is not a library. + +4. You may copy and distribute the Library (or a portion or derivative of +it, under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you accompany it with the complete corresponding +machine-readable source code, which must be distributed under the terms of +Sections 1 and 2 above on a medium customarily used for software interchange. + +If distribution of object code is made by offering access to copy from a designated +place, then offering equivalent access to copy the source code from the same +place satisfies the requirement to distribute the source code, even though +third parties are not compelled to copy the source along with the object code. + +5. A program that contains no derivative of any portion of the Library, but +is designed to work with the Library by being compiled or linked with it, +is called a "work that uses the Library". Such a work, in isolation, is not +a derivative work of the Library, and therefore falls outside the scope of +this License. + +However, linking a "work that uses the Library" with the Library creates an +executable that is a derivative of the Library (because it contains portions +of the Library), rather than a "work that uses the library". The executable +is therefore covered by this License. Section 6 states terms for distribution +of such executables. + +When a "work that uses the Library" uses material from a header file that +is part of the Library, the object code for the work may be a derivative work +of the Library even though the source code is not. Whether this is true is +especially significant if the work can be linked without the Library, or if +the work is itself a library. The threshold for this to be true is not precisely +defined by law. + +If such an object file uses only numerical parameters, data structure layouts +and accessors, and small macros and small inline functions (ten lines or less +in length), then the use of the object file is unrestricted, regardless of +whether it is legally a derivative work. (Executables containing this object +code plus portions of the Library will still fall under Section 6.) + +Otherwise, if the work is a derivative of the Library, you may distribute +the object code for the work under the terms of Section 6. Any executables +containing that work also fall under Section 6, whether or not they are linked +directly with the Library itself. + +6. As an exception to the Sections above, you may also compile or link a "work +that uses the Library" with the Library to produce a work containing portions +of the Library, and distribute that work under terms of your choice, provided +that the terms permit modification of the work for the customer's own use +and reverse engineering for debugging such modifications. + +You must give prominent notice with each copy of the work that the Library +is used in it and that the Library and its use are covered by this License. +You must supply a copy of this License. If the work during execution displays +copyright notices, you must include the copyright notice for the Library among +them, as well as a reference directing the user to the copy of this License. +Also, you must do one of these things: + +a) Accompany the work with the complete corresponding machine-readable source +code for the Library including whatever changes were used in the work (which +must be distributed under Sections 1 and 2 above); and, if the work is an +executable linked with the Library, with the complete machine-readable "work +that uses the Library", as object code and/or source code, so that the user +can modify the Library and then relink to produce a modified executable containing +the modified Library. (It is understood that the user who changes the contents +of definitions files in the Library will not necessarily be able to recompile +the application to use the modified definitions.) + +b) Accompany the work with a written offer, valid for at least three years, +to give the same user the materials specified in Subsection 6a, above, for +a charge no more than the cost of performing this distribution. + +c) If distribution of the work is made by offering access to copy from a designated +place, offer equivalent access to copy the above specified materials from +the same place. + +d) Verify that the user has already received a copy of these materials or +that you have already sent this user a copy. + +For an executable, the required form of the "work that uses the Library" must +include any data and utility programs needed for reproducing the executable +from it. However, as a special exception, the source code distributed need +not include anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the operating +system on which the executable runs, unless that component itself accompanies +the executable. + +It may happen that this requirement contradicts the license restrictions of +other proprietary libraries that do not normally accompany the operating system. +Such a contradiction means you cannot use both them and the Library together +in an executable that you distribute. + +7. You may place library facilities that are a work based on the Library side-by-side +in a single library together with other library facilities not covered by +this License, and distribute such a combined library, provided that the separate +distribution of the work based on the Library and of the other library facilities +is otherwise permitted, and provided that you do these two things: + +a) Accompany the combined library with a copy of the same work based on the +Library, uncombined with any other library facilities. This must be distributed +under the terms of the Sections above. + +b) Give prominent notice with the combined library of the fact that part of +it is a work based on the Library, and explaining where to find the accompanying +uncombined form of the same work. + +8. You may not copy, modify, sublicense, link with, or distribute the Library +except as expressly provided under this License. Any attempt otherwise to +copy, modify, sublicense, link with, or distribute the Library is void, and +will automatically terminate your rights under this License. However, parties +who have received copies, or rights, from you under this License will not +have their licenses terminated so long as such parties remain in full compliance. + +9. You are not required to accept this License, since you have not signed +it. However, nothing else grants you permission to modify or distribute the +Library or its derivative works. These actions are prohibited by law if you +do not accept this License. Therefore, by modifying or distributing the Library +(or any work based on the Library), you indicate your acceptance of this License +to do so, and all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + +10. Each time you redistribute the Library (or any work based on the Library), +the recipient automatically receives a license from the original licensor +to copy, distribute, link with or modify the Library subject to these terms +and conditions. You may not impose any further restrictions on the recipients' +exercise of the rights granted herein. You are not responsible for enforcing +compliance by third parties to this License. + +11. If, as a consequence of a court judgment or allegation of patent infringement +or for any other reason (not limited to patent issues), conditions are imposed +on you (whether by court order, agreement or otherwise) that contradict the +conditions of this License, they do not excuse you from the conditions of +this License. If you cannot distribute so as to satisfy simultaneously your +obligations under this License and any other pertinent obligations, then as +a consequence you may not distribute the Library at all. For example, if a +patent license would not permit royalty-free redistribution of the Library +by all those who receive copies directly or indirectly through you, then the +only way you could satisfy both it and this License would be to refrain entirely +from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents +or other property right claims or to contest validity of any such claims; +this section has the sole purpose of protecting the integrity of the free +software distribution system which is implemented by public license practices. +Many people have made generous contributions to the wide range of software +distributed through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing to +distribute software through any other system and a licensee cannot impose +that choice. + +This section is intended to make thoroughly clear what is believed to be a +consequence of the rest of this License. + +12. If the distribution and/or use of the Library is restricted in certain +countries either by patents or by copyrighted interfaces, the original copyright +holder who places the Library under this License may add an explicit geographical +distribution limitation excluding those countries, so that distribution is +permitted only in or among countries not thus excluded. In such case, this +License incorporates the limitation as if written in the body of this License. + +13. The Free Software Foundation may publish revised and/or new versions of +the Library General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to address +new problems or concerns. + +Each version is given a distinguishing version number. If the Library specifies +a version number of this License which applies to it and "any later version", +you have the option of following the terms and conditions either of that version +or of any later version published by the Free Software Foundation. If the +Library does not specify a license version number, you may choose any version +ever published by the Free Software Foundation. + +14. If you wish to incorporate parts of the Library into other free programs +whose distribution conditions are incompatible with these, write to the author +to ask for permission. For software which is copyrighted by the Free Software +Foundation, write to the Free Software Foundation; we sometimes make exceptions +for this. Our decision will be guided by the two goals of preserving the free +status of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + +NO WARRANTY + +15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR +THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE +STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY +"AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, +BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE +OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE +THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE +OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA +OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES +OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH +HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Libraries + +If you develop a new library, and you want it to be of the greatest possible +use to the public, we recommend making it free software that everyone can +redistribute and change. You can do so by permitting redistribution under +these terms (or, alternatively, under the terms of the ordinary General Public +License). + +To apply these terms, attach the following notices to the library. It is safest +to attach them to the start of each source file to most effectively convey +the exclusion of warranty; and each file should have at least the "copyright" +line and a pointer to where the full notice is found. + + one line to give the library's name and an idea of what it does. + Copyright (C) year name of author + +This library is free software; you can redistribute it and/or modify it under +the terms of the GNU Library General Public License as published by the Free +Software Foundation; either version 2 of the License, or (at your option) +any later version. + +This library is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for +more details. + +You should have received a copy of the GNU Library General Public License +along with this library; if not, write to the Free Software Foundation, Inc., +51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your school, +if any, to sign a "copyright disclaimer" for the library, if necessary. Here +is a sample; alter the names: + +Yoyodyne, Inc., hereby disclaims all copyright interest in +the library `Frob' (a library for tweaking knobs) written +by James Random Hacker. + +signature of Ty Coon, 1 April 1990 +Ty Coon, President of Vice + +That's all there is to it! diff --git a/LICENSES/LicenseRef-KDE-Accepted-GPL.txt b/LICENSES/LicenseRef-KDE-Accepted-GPL.txt new file mode 100644 index 000000000..60a2dffc9 --- /dev/null +++ b/LICENSES/LicenseRef-KDE-Accepted-GPL.txt @@ -0,0 +1,12 @@ +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License as +published by the Free Software Foundation; either version 3 of +the license or (at your option) at any later version that is +accepted by the membership of KDE e.V. (or its successor +approved by the membership of KDE e.V.), which shall act as a +proxy as defined in Section 14 of version 3 of the license. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. diff --git a/aboutdata.h b/aboutdata.h index af73e1eb4..f1dbb1382 100644 --- a/aboutdata.h +++ b/aboutdata.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _ABOUTDATA_H_ #define _ABOUTDATA_H_ diff --git a/autotests/addremoveannotationtest.cpp b/autotests/addremoveannotationtest.cpp index 852c0eb2a..687eaa4de 100644 --- a/autotests/addremoveannotationtest.cpp +++ b/autotests/addremoveannotationtest.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2013 by Jon Mease * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Jon Mease + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include #include diff --git a/autotests/annotationstest.cpp b/autotests/annotationstest.cpp index 2afabcc18..25309e832 100644 --- a/autotests/annotationstest.cpp +++ b/autotests/annotationstest.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2013 by Peter Grasch * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Peter Grasch + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include #include diff --git a/autotests/annotationtoolbartest.cpp b/autotests/annotationtoolbartest.cpp index 53833d859..828c0488d 100644 --- a/autotests/annotationtoolbartest.cpp +++ b/autotests/annotationtoolbartest.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2020 by Simone Gaiarin * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2020 Simone Gaiarin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ // clazy:excludeall=qstring-allocations diff --git a/autotests/calculatetexttest.cpp b/autotests/calculatetexttest.cpp index 22a2b9e74..dfff3b607 100644 --- a/autotests/calculatetexttest.cpp +++ b/autotests/calculatetexttest.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2018 by Intevation GmbH * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Intevation GmbH + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include diff --git a/autotests/documenttest.cpp b/autotests/documenttest.cpp index 7740f2fc5..012305834 100644 --- a/autotests/documenttest.cpp +++ b/autotests/documenttest.cpp @@ -1,14 +1,11 @@ -/*************************************************************************** - * Copyright (C) 2013 by Fabio D'Urso * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Fabio D 'Urso + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include #include diff --git a/autotests/editannotationcontentstest.cpp b/autotests/editannotationcontentstest.cpp index c561c2f4f..6e81323a0 100644 --- a/autotests/editannotationcontentstest.cpp +++ b/autotests/editannotationcontentstest.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2013 by Jon Mease * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Jon Mease + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include diff --git a/autotests/editdrawingtooldialogtest.cpp b/autotests/editdrawingtooldialogtest.cpp index 4ab1927ac..bf9726d59 100644 --- a/autotests/editdrawingtooldialogtest.cpp +++ b/autotests/editdrawingtooldialogtest.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2015 by Laurent Montel * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2015 Laurent Montel + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "editdrawingtooldialogtest.h" #include "../part/editdrawingtooldialog.h" diff --git a/autotests/editdrawingtooldialogtest.h b/autotests/editdrawingtooldialogtest.h index d38be4107..da084958b 100644 --- a/autotests/editdrawingtooldialogtest.h +++ b/autotests/editdrawingtooldialogtest.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2015 by Laurent Montel * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2015 Laurent Montel + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef EDITDRAWINGTOOLDIALOGTEST_H #define EDITDRAWINGTOOLDIALOGTEST_H diff --git a/autotests/editformstest.cpp b/autotests/editformstest.cpp index 671e19456..c28dd5777 100644 --- a/autotests/editformstest.cpp +++ b/autotests/editformstest.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2013 by Jon Mease * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Jon Mease + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include diff --git a/autotests/formattest.cpp b/autotests/formattest.cpp index 4fa47af82..f905ae4b0 100644 --- a/autotests/formattest.cpp +++ b/autotests/formattest.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2019 by João Netto * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2019 João Netto + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include diff --git a/autotests/generatorstest.cpp b/autotests/generatorstest.cpp index ef7ccc464..89610fb2f 100644 --- a/autotests/generatorstest.cpp +++ b/autotests/generatorstest.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2015 by Alex Richardson * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2015 Alex Richardson + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include #include diff --git a/autotests/kjsfunctionstest.cpp b/autotests/kjsfunctionstest.cpp index 86d4c3322..099190440 100644 --- a/autotests/kjsfunctionstest.cpp +++ b/autotests/kjsfunctionstest.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2019 by João Netto * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2019 João Netto + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include diff --git a/autotests/mainshelltest.cpp b/autotests/mainshelltest.cpp index 055f7f9e2..1ee0282f9 100644 --- a/autotests/mainshelltest.cpp +++ b/autotests/mainshelltest.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2014 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2014 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ // clazy:excludeall=qstring-allocations diff --git a/autotests/markdowntest.cpp b/autotests/markdowntest.cpp index 7291ef975..c31bc4559 100644 --- a/autotests/markdowntest.cpp +++ b/autotests/markdowntest.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2020 by Markus Brenneis * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2020 Markus Brenneis + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include diff --git a/autotests/modifyannotationpropertiestest.cpp b/autotests/modifyannotationpropertiestest.cpp index f84ce760c..94390747b 100644 --- a/autotests/modifyannotationpropertiestest.cpp +++ b/autotests/modifyannotationpropertiestest.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2013 by Jon Mease * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Jon Mease + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include diff --git a/autotests/parttest.cpp b/autotests/parttest.cpp index 765df68a2..ea28f755e 100644 --- a/autotests/parttest.cpp +++ b/autotests/parttest.cpp @@ -1,14 +1,11 @@ -/*************************************************************************** - * Copyright (C) 2013 by Albert Astals Cid * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Albert Astals Cid + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + + SPDX-License-Identifier: GPL-2.0-or-later +*/ // clazy:excludeall=qstring-allocations diff --git a/autotests/searchtest.cpp b/autotests/searchtest.cpp index 10e492099..c082b3443 100644 --- a/autotests/searchtest.cpp +++ b/autotests/searchtest.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2013 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ // clazy:excludeall=qstring-allocations diff --git a/autotests/shelltest.cpp b/autotests/shelltest.cpp index 0f839623c..cc1b2fcc9 100644 --- a/autotests/shelltest.cpp +++ b/autotests/shelltest.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2009 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2009 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include diff --git a/autotests/signatureformtest.cpp b/autotests/signatureformtest.cpp index 1d4b0cd28..e5797c04c 100644 --- a/autotests/signatureformtest.cpp +++ b/autotests/signatureformtest.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2018 by Chinmoy Ranjan Pradhan * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Chinmoy Ranjan Pradhan + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include diff --git a/autotests/testingutils.cpp b/autotests/testingutils.cpp index 19e6379cc..94d153870 100644 --- a/autotests/testingutils.cpp +++ b/autotests/testingutils.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2013 by Jon Mease * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Jon Mease + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "testingutils.h" #include "core/annotations.h" diff --git a/autotests/testingutils.h b/autotests/testingutils.h index 976688206..bcf44298f 100644 --- a/autotests/testingutils.h +++ b/autotests/testingutils.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2013 by Jon Mease * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Jon Mease + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_TESTINGUTILS_H #define OKULAR_TESTINGUTILS_H diff --git a/autotests/toggleactionmenutest.cpp b/autotests/toggleactionmenutest.cpp index ece098929..5cbb1bfe0 100644 --- a/autotests/toggleactionmenutest.cpp +++ b/autotests/toggleactionmenutest.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2020 David Hurka * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2020 David Hurka + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include diff --git a/autotests/translateannotationtest.cpp b/autotests/translateannotationtest.cpp index 08bad7a58..4385e690d 100644 --- a/autotests/translateannotationtest.cpp +++ b/autotests/translateannotationtest.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2013 by Jon Mease * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Jon Mease + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include diff --git a/autotests/urldetecttest.cpp b/autotests/urldetecttest.cpp index 6b4811bb7..7cf26fec6 100644 --- a/autotests/urldetecttest.cpp +++ b/autotests/urldetecttest.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2013 Jaydeep Solanki * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Jaydeep Solanki + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include diff --git a/autotests/visibilitytest.cpp b/autotests/visibilitytest.cpp index 3dd986fe3..5d2323613 100644 --- a/autotests/visibilitytest.cpp +++ b/autotests/visibilitytest.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2018 by Intevation GmbH * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Intevation GmbH + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include diff --git a/cmake/modules/FindCHM.cmake b/cmake/modules/FindCHM.cmake index 4e7ae2925..bfcd4397b 100644 --- a/cmake/modules/FindCHM.cmake +++ b/cmake/modules/FindCHM.cmake @@ -5,7 +5,7 @@ # CHM_INCLUDE_DIR - the chm include directory # CHM_LIBRARY - Link this to use the chm library # -# Copyright (c) 2006, Pino Toscano, +# SPDX-FileCopyrightText: 2006 Pino Toscano # # Redistribution and use is allowed according to the terms of the BSD license. # For details see the accompanying COPYING-CMAKE-SCRIPTS file. diff --git a/cmake/modules/FindDiscount.cmake b/cmake/modules/FindDiscount.cmake index 8e1b1375a..9e8bb1716 100644 --- a/cmake/modules/FindDiscount.cmake +++ b/cmake/modules/FindDiscount.cmake @@ -5,8 +5,8 @@ # Discount_FOUND - whether the discount library was found # PkgConfig::Discount - the discount target to link to -# Copyright (c) 2017, Julian Wolff, -# Copyright (c) 2018, Sune Vuorela, +# SPDX-FileCopyrightText: 2017 Julian Wolff +# SPDX-FileCopyrightText: 2018 Sune Vuorela # # Redistribution and use is allowed according to the terms of the BSD license. # For details see the accompanying COPYING-CMAKE-SCRIPTS file. diff --git a/cmake/modules/FindEPub.cmake b/cmake/modules/FindEPub.cmake index 929ad65f0..30657879a 100644 --- a/cmake/modules/FindEPub.cmake +++ b/cmake/modules/FindEPub.cmake @@ -6,7 +6,7 @@ # EPUB_LIBRARIES - the EPub library # EPUB_INCLUDE_DIR - the include path of the EPub library -# Copyright (c) 2008, Pino Toscano, +# SPDX-FileCopyrightText: 2008 Pino Toscano # # Redistribution and use is allowed according to the terms of the BSD license. # For details see the accompanying COPYING-CMAKE-SCRIPTS file. diff --git a/cmake/modules/FindLibSpectre.cmake b/cmake/modules/FindLibSpectre.cmake index fd68cb9c7..31cfbdc01 100644 --- a/cmake/modules/FindLibSpectre.cmake +++ b/cmake/modules/FindLibSpectre.cmake @@ -6,8 +6,8 @@ # LIBSPECTRE_LIBRARY - Link this to use libspectre # -# Copyright (c) 2006-2007, Pino Toscano, -# Copyright (c) 2008, Albert Astals Cid, +# SPDX-FileCopyrightText: 2006-2007 Pino Toscano +# SPDX-FileCopyrightText: 2008 Albert Astals Cid # # Redistribution and use is allowed according to the terms of the BSD license. # For details see the accompanying COPYING-CMAKE-SCRIPTS file. diff --git a/cmake/modules/FindLibZip.cmake b/cmake/modules/FindLibZip.cmake index a39f0e4c2..e3e2feef0 100644 --- a/cmake/modules/FindLibZip.cmake +++ b/cmake/modules/FindLibZip.cmake @@ -5,7 +5,7 @@ # LIBZIP_INCLUDE_DIR - the zip include directory # LIBZIP_LIBRARY - Link this to use the zip library # -# Copyright (c) 2006, Pino Toscano, +# SPDX-FileCopyrightText: 2006 Pino Toscano # # Redistribution and use is allowed according to the terms of the BSD license. # For details see the accompanying COPYING-CMAKE-SCRIPTS file. diff --git a/core/action.cpp b/core/action.cpp index 8d414e84d..3a2cb8020 100644 --- a/core/action.cpp +++ b/core/action.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2004-2005 by Enrico Ros * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004-2005 Enrico Ros + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "action.h" diff --git a/core/action.h b/core/action.h index c83d4716e..3e0367f3c 100644 --- a/core/action.h +++ b/core/action.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2004 by Enrico Ros * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004 Enrico Ros + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_ACTION_H_ #define _OKULAR_ACTION_H_ diff --git a/core/annotations.cpp b/core/annotations.cpp index 3a27e24ca..a9e8ddfff 100644 --- a/core/annotations.cpp +++ b/core/annotations.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2005 by Enrico Ros * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2005 Enrico Ros + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "annotations.h" #include "annotations_p.h" diff --git a/core/annotations.h b/core/annotations.h index 233307f57..0bf73696a 100644 --- a/core/annotations.h +++ b/core/annotations.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2005 by Enrico Ros * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2005 Enrico Ros + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_ANNOTATIONS_H_ #define _OKULAR_ANNOTATIONS_H_ diff --git a/core/annotations_p.h b/core/annotations_p.h index b48e4f65b..1064f3b6f 100644 --- a/core/annotations_p.h +++ b/core/annotations_p.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_ANNOTATIONS_P_H #define OKULAR_ANNOTATIONS_P_H diff --git a/core/area.cpp b/core/area.cpp index e5562d27e..a55b56671 100644 --- a/core/area.cpp +++ b/core/area.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2004-05 by Enrico Ros * - * Copyright (C) 2005 by Piotr Szymanski * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004-05 Enrico Ros + SPDX-FileCopyrightText: 2005 Piotr Szymanski + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "area.h" diff --git a/core/area.h b/core/area.h index 704663551..96c0249b5 100644 --- a/core/area.h +++ b/core/area.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2004-05 by Enrico Ros * - * Copyright (C) 2005 by Piotr Szymanski * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004-05 Enrico Ros + SPDX-FileCopyrightText: 2005 Piotr Szymanski + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_AREA_H_ #define _OKULAR_AREA_H_ diff --git a/core/audioplayer.cpp b/core/audioplayer.cpp index c949b4b7d..e27c5d134 100644 --- a/core/audioplayer.cpp +++ b/core/audioplayer.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "audioplayer.h" #include "audioplayer_p.h" diff --git a/core/audioplayer.h b/core/audioplayer.h index 465019df9..31a4652cd 100644 --- a/core/audioplayer.h +++ b/core/audioplayer.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_AUDIOPLAYER_H_ #define _OKULAR_AUDIOPLAYER_H_ diff --git a/core/audioplayer_p.h b/core/audioplayer_p.h index 2fb1d18c9..e9c5a5269 100644 --- a/core/audioplayer_p.h +++ b/core/audioplayer_p.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_AUDIOPLAYER_P_H_ #define _OKULAR_AUDIOPLAYER_P_H_ diff --git a/core/bookmarkmanager.cpp b/core/bookmarkmanager.cpp index afeea1a7b..059ce2925 100644 --- a/core/bookmarkmanager.cpp +++ b/core/bookmarkmanager.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "bookmarkmanager.h" diff --git a/core/bookmarkmanager.h b/core/bookmarkmanager.h index 970bfd4bb..309ce3089 100644 --- a/core/bookmarkmanager.h +++ b/core/bookmarkmanager.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_BOOKMARK_MANAGER_H_ #define _OKULAR_BOOKMARK_MANAGER_H_ diff --git a/core/chooseenginedialog.cpp b/core/chooseenginedialog.cpp index 4afad677b..145c3bee8 100644 --- a/core/chooseenginedialog.cpp +++ b/core/chooseenginedialog.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "chooseenginedialog_p.h" diff --git a/core/chooseenginedialog_p.h b/core/chooseenginedialog_p.h index 1d9208f9b..102565bc3 100644 --- a/core/chooseenginedialog_p.h +++ b/core/chooseenginedialog_p.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _CHOOSEENGINEDIALOG_H #define _CHOOSEENGINEDIALOG_H diff --git a/core/debug.cpp b/core/debug.cpp index 8e37693e8..1c573bde5 100644 --- a/core/debug.cpp +++ b/core/debug.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2014 by Frederik Gladhorn * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2014 Frederik Gladhorn + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "debug_p.h" diff --git a/core/debug_p.h b/core/debug_p.h index 1e34bd085..a1794bf2f 100644 --- a/core/debug_p.h +++ b/core/debug_p.h @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * Copyright (C) 2014 by Frederik Gladhorn * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + SPDX-FileCopyrightText: 2014 Frederik Gladhorn + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_DEBUG_P_H #define OKULAR_DEBUG_P_H diff --git a/core/document.cpp b/core/document.cpp index 4370ac7a2..c1635df50 100644 --- a/core/document.cpp +++ b/core/document.cpp @@ -1,15 +1,12 @@ -/*************************************************************************** - * Copyright (C) 2004-2005 by Enrico Ros * - * Copyright (C) 2004-2008 by Albert Astals Cid * - * Copyright (C) 2017, 2018 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004-2005 Enrico Ros + SPDX-FileCopyrightText: 2004-2008 Albert Astals Cid + SPDX-FileCopyrightText: 2017, 2018 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "document.h" #include "document_p.h" diff --git a/core/document.h b/core/document.h index 91242a785..506b58d69 100644 --- a/core/document.h +++ b/core/document.h @@ -1,15 +1,12 @@ -/*************************************************************************** - * Copyright (C) 2004-2005 by Enrico Ros * - * Copyright (C) 2004-2008 by Albert Astals Cid * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004-2005 Enrico Ros + SPDX-FileCopyrightText: 2004-2008 Albert Astals Cid + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_DOCUMENT_H_ #define _OKULAR_DOCUMENT_H_ diff --git a/core/document_p.h b/core/document_p.h index e718fa04a..bd932db37 100644 --- a/core/document_p.h +++ b/core/document_p.h @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2004-2005 by Enrico Ros * - * Copyright (C) 2004-2007 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004-2005 Enrico Ros + SPDX-FileCopyrightText: 2004-2007 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_DOCUMENT_P_H_ #define _OKULAR_DOCUMENT_P_H_ diff --git a/core/documentcommands.cpp b/core/documentcommands.cpp index e1df1aaa1..e4f0d2303 100644 --- a/core/documentcommands.cpp +++ b/core/documentcommands.cpp @@ -1,14 +1,11 @@ -/*************************************************************************** - * Copyright (C) 2013 Jon Mease * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Jon Mease + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "documentcommands_p.h" diff --git a/core/documentcommands_p.h b/core/documentcommands_p.h index e96562907..96e33b085 100644 --- a/core/documentcommands_p.h +++ b/core/documentcommands_p.h @@ -1,14 +1,11 @@ -/*************************************************************************** - * Copyright (C) 2013 Jon Mease * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Jon Mease + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_DOCUMENT_COMMANDS_P_H_ #define _OKULAR_DOCUMENT_COMMANDS_P_H_ diff --git a/core/fileprinter.cpp b/core/fileprinter.cpp index dc2e9dc1e..ee44c1985 100644 --- a/core/fileprinter.cpp +++ b/core/fileprinter.cpp @@ -1,14 +1,11 @@ -/*************************************************************************** - * Copyright (C) 2007,2010 by John Layt * - * * - * FilePrinterPreview based on KPrintPreview (originally LGPL) * - * Copyright (c) 2007 Alex Merry * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007, 2010 John Layt + + FilePrinterPreview based on KPrintPreview (originally LGPL) + SPDX-FileCopyrightText: 2007 Alex Merry + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "fileprinter.h" diff --git a/core/fileprinter.h b/core/fileprinter.h index 8e25a28bb..ceb23d038 100644 --- a/core/fileprinter.h +++ b/core/fileprinter.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007, 2010 by John Layt * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007, 2010 John Layt + + SPDX-License-Identifier: GPL-2.0-or-later +*/ // This Class is a temporary addition to Okular for the duration of KDE 4.0. // In KDE 4.1 this class will either be moved to kdelibs if still required, diff --git a/core/fontinfo.cpp b/core/fontinfo.cpp index e28451a02..ead145295 100644 --- a/core/fontinfo.cpp +++ b/core/fontinfo.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ // local includes #include "fontinfo.h" diff --git a/core/fontinfo.h b/core/fontinfo.h index d4fcb73b0..cec77ad55 100644 --- a/core/fontinfo.h +++ b/core/fontinfo.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_FONTINFO_H_ #define _OKULAR_FONTINFO_H_ diff --git a/core/form.cpp b/core/form.cpp index 75fdc1ba8..0cfb80dfe 100644 --- a/core/form.cpp +++ b/core/form.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "form.h" #include "form_p.h" diff --git a/core/form.h b/core/form.h index 430856004..4eb7e65ad 100644 --- a/core/form.h +++ b/core/form.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_FORM_H_ #define _OKULAR_FORM_H_ diff --git a/core/form_p.h b/core/form_p.h index 9710c2b11..4bedfe2e7 100644 --- a/core/form_p.h +++ b/core/form_p.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_FORM_P_H #define OKULAR_FORM_P_H diff --git a/core/generator.cpp b/core/generator.cpp index 6b4957cf1..fb58441cc 100644 --- a/core/generator.cpp +++ b/core/generator.cpp @@ -1,15 +1,12 @@ -/*************************************************************************** - * Copyright (C) 2005 by Piotr Szymanski * - * Copyright (C) 2008 by Albert Astals Cid * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2005 Piotr Szymanski + SPDX-FileCopyrightText: 2008 Albert Astals Cid + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "generator.h" #include "generator_p.h" diff --git a/core/generator.h b/core/generator.h index a53d2935f..3a7608470 100644 --- a/core/generator.h +++ b/core/generator.h @@ -1,16 +1,13 @@ -/*************************************************************************** - * Copyright (C) 2004-5 by Enrico Ros * - * Copyright (C) 2005 by Piotr Szymanski * - * Copyright (C) 2008 by Albert Astals Cid * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004-5 Enrico Ros + SPDX-FileCopyrightText: 2005 Piotr Szymanski + SPDX-FileCopyrightText: 2008 Albert Astals Cid + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_GENERATOR_H_ #define _OKULAR_GENERATOR_H_ diff --git a/core/generator_p.cpp b/core/generator_p.cpp index 2df810289..64c91bb07 100644 --- a/core/generator_p.cpp +++ b/core/generator_p.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 Tobias Koenig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Tobias Koenig + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "generator_p.h" diff --git a/core/generator_p.h b/core/generator_p.h index 1eeef369a..0b1afcdec 100644 --- a/core/generator_p.h +++ b/core/generator_p.h @@ -1,14 +1,11 @@ -/*************************************************************************** - * Copyright (C) 2007 Tobias Koenig * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Tobias Koenig + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_THREADEDGENERATOR_P_H #define OKULAR_THREADEDGENERATOR_P_H diff --git a/core/global.h b/core/global.h index 86dc93ac0..cfd5f0556 100644 --- a/core/global.h +++ b/core/global.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Tobias Koenig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Tobias Koenig + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_GLOBAL_H #define OKULAR_GLOBAL_H diff --git a/core/misc.cpp b/core/misc.cpp index c1f8b2865..efc207aa1 100644 --- a/core/misc.cpp +++ b/core/misc.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2005 by Piotr Szymanski * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2005 Piotr Szymanski + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "core/misc.h" diff --git a/core/misc.h b/core/misc.h index 132f5d9e7..f86843d41 100644 --- a/core/misc.h +++ b/core/misc.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2005 by Piotr Szymanski * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2005 Piotr Szymanski + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_MISC_H_ #define _OKULAR_MISC_H_ diff --git a/core/movie.cpp b/core/movie.cpp index f28e1afdb..c91e09f1d 100644 --- a/core/movie.cpp +++ b/core/movie.cpp @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * Copyright (C) 2012 by Guillermo A. Amaral B. * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + SPDX-FileCopyrightText: 2012 Guillermo A. Amaral B. + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "movie.h" diff --git a/core/movie.h b/core/movie.h index e7818be42..4656f9e50 100644 --- a/core/movie.h +++ b/core/movie.h @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * Copyright (C) 2012 by Guillermo A. Amaral B. * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + SPDX-FileCopyrightText: 2012 Guillermo A. Amaral B. + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_MOVIE_H_ #define _OKULAR_MOVIE_H_ diff --git a/core/observer.cpp b/core/observer.cpp index c9413a7a9..703f6d3a4 100644 --- a/core/observer.cpp +++ b/core/observer.cpp @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2005 by Enrico Ros * - * Copyright (C) 2005 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2005 Enrico Ros + SPDX-FileCopyrightText: 2005 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "observer.h" diff --git a/core/observer.h b/core/observer.h index 46c8551a0..1228b31cb 100644 --- a/core/observer.h +++ b/core/observer.h @@ -1,15 +1,12 @@ -/*************************************************************************** - * Copyright (C) 2005 by Enrico Ros * - * Copyright (C) 2005 by Albert Astals Cid * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2005 Enrico Ros + SPDX-FileCopyrightText: 2005 Albert Astals Cid + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_DOCUMENTOBSERVER_H_ #define _OKULAR_DOCUMENTOBSERVER_H_ diff --git a/core/page.cpp b/core/page.cpp index 0dfc1ecc5..481fa0b33 100644 --- a/core/page.cpp +++ b/core/page.cpp @@ -1,14 +1,11 @@ -/*************************************************************************** - * Copyright (C) 2004 by Enrico Ros * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004 Enrico Ros + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "page.h" #include "page_p.h" diff --git a/core/page.h b/core/page.h index 666b28c06..3c93438fc 100644 --- a/core/page.h +++ b/core/page.h @@ -1,14 +1,11 @@ -/*************************************************************************** - * Copyright (C) 2004 by Enrico Ros * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004 Enrico Ros + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_PAGE_H_ #define _OKULAR_PAGE_H_ diff --git a/core/page_p.h b/core/page_p.h index 405e4c4e1..838c24890 100644 --- a/core/page_p.h +++ b/core/page_p.h @@ -1,15 +1,12 @@ -/*************************************************************************** - * Copyright (C) 2004 by Enrico Ros * - * Copyright (C) 2007 by Pino Toscano * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004 Enrico Ros + SPDX-FileCopyrightText: 2007 Pino Toscano + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_PAGE_PRIVATE_H_ #define _OKULAR_PAGE_PRIVATE_H_ diff --git a/core/pagecontroller.cpp b/core/pagecontroller.cpp index aa4d3181e..8366acfad 100644 --- a/core/pagecontroller.cpp +++ b/core/pagecontroller.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "pagecontroller_p.h" diff --git a/core/pagecontroller_p.h b/core/pagecontroller_p.h index bf5c4bbf9..09db37762 100644 --- a/core/pagecontroller_p.h +++ b/core/pagecontroller_p.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_PAGECONTROLLER_P_H_ #define _OKULAR_PAGECONTROLLER_P_H_ diff --git a/core/pagesize.cpp b/core/pagesize.cpp index 6f1f9c99a..d35a2da3d 100644 --- a/core/pagesize.cpp +++ b/core/pagesize.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ // local includes #include "pagesize.h" diff --git a/core/pagesize.h b/core/pagesize.h index 5f5b4d337..99f0f1900 100644 --- a/core/pagesize.h +++ b/core/pagesize.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_PAGESIZE_H_ #define _OKULAR_PAGESIZE_H_ diff --git a/core/pagetransition.cpp b/core/pagetransition.cpp index 03ef7e29e..6ba20181f 100644 --- a/core/pagetransition.cpp +++ b/core/pagetransition.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2005 by Tobias Koenig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2005 Tobias Koenig + + SPDX-License-Identifier: GPL-2.0-or-later +*/ // local includes #include "pagetransition.h" diff --git a/core/pagetransition.h b/core/pagetransition.h index d6af21eba..021b3ac22 100644 --- a/core/pagetransition.h +++ b/core/pagetransition.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2005 by Tobias Koenig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2005 Tobias Koenig + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_PAGETRANSITION_H_ #define _OKULAR_PAGETRANSITION_H_ diff --git a/core/printoptionswidget.cpp b/core/printoptionswidget.cpp index 72208c042..e43e0a6dc 100644 --- a/core/printoptionswidget.cpp +++ b/core/printoptionswidget.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2019 Michael Weghorn * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2019 Michael Weghorn + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "printoptionswidget.h" diff --git a/core/printoptionswidget.h b/core/printoptionswidget.h index 09076c55b..cd3ef4cf8 100644 --- a/core/printoptionswidget.h +++ b/core/printoptionswidget.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2019 Michael Weghorn * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2019 Michael Weghorn + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef PRINTOPTIONSWIDGET_H #define PRINTOPTIONSWIDGET_H diff --git a/core/rotationjob.cpp b/core/rotationjob.cpp index dda14e919..bac80e59c 100644 --- a/core/rotationjob.cpp +++ b/core/rotationjob.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Tobias Koenig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Tobias Koenig + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "rotationjob_p.h" diff --git a/core/rotationjob_p.h b/core/rotationjob_p.h index 430476c2a..e652f4514 100644 --- a/core/rotationjob_p.h +++ b/core/rotationjob_p.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Tobias Koenig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Tobias Koenig + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_ROTATIONJOB_P_H_ #define _OKULAR_ROTATIONJOB_P_H_ diff --git a/core/script/builtin.js b/core/script/builtin.js index 6686873fd..5e4d6596c 100644 --- a/core/script/builtin.js +++ b/core/script/builtin.js @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2018 Intevation GmbH * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Intevation GmbH + + SPDX-License-Identifier: GPL-2.0-or-later +*/ /* Builtin functions for Okular's PDF JavaScript interpretation. */ diff --git a/core/script/event.cpp b/core/script/event.cpp index 97bd239b5..ee96a7cae 100644 --- a/core/script/event.cpp +++ b/core/script/event.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2018 by Intevation GmbH * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Intevation GmbH + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "event_p.h" #include diff --git a/core/script/event_p.h b/core/script/event_p.h index 00484911f..9e3a3890d 100644 --- a/core/script/event_p.h +++ b/core/script/event_p.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2018 by Intevation GmbH * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Intevation GmbH + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_SCRIPT_EVENT_P_H #define OKULAR_SCRIPT_EVENT_P_H diff --git a/core/script/executor_kjs.cpp b/core/script/executor_kjs.cpp index b6f093835..980202470 100644 --- a/core/script/executor_kjs.cpp +++ b/core/script/executor_kjs.cpp @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * Copyright (C) 2008 by Harri Porten * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + SPDX-FileCopyrightText: 2008 Harri Porten + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "executor_kjs_p.h" diff --git a/core/script/executor_kjs_p.h b/core/script/executor_kjs_p.h index 4cbdbfcf6..5af5e01ca 100644 --- a/core/script/executor_kjs_p.h +++ b/core/script/executor_kjs_p.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_SCRIPT_EXECUTOR_KJS_P_H #define OKULAR_SCRIPT_EXECUTOR_KJS_P_H diff --git a/core/script/kjs_app.cpp b/core/script/kjs_app.cpp index 649c03a92..d7ebdc3d1 100644 --- a/core/script/kjs_app.cpp +++ b/core/script/kjs_app.cpp @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * Copyright (C) 2008 by Harri Porten * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + SPDX-FileCopyrightText: 2008 Harri Porten + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "kjs_app_p.h" diff --git a/core/script/kjs_app_p.h b/core/script/kjs_app_p.h index c56aaab1b..8ad16976d 100644 --- a/core/script/kjs_app_p.h +++ b/core/script/kjs_app_p.h @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * Copyright (C) 2008 by Harri Porten * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + SPDX-FileCopyrightText: 2008 Harri Porten + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_SCRIPT_KJS_APP_P_H #define OKULAR_SCRIPT_KJS_APP_P_H diff --git a/core/script/kjs_console.cpp b/core/script/kjs_console.cpp index 08eab9ba2..5a0160cc2 100644 --- a/core/script/kjs_console.cpp +++ b/core/script/kjs_console.cpp @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * Copyright (C) 2008 by Harri Porten * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + SPDX-FileCopyrightText: 2008 Harri Porten + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "kjs_console_p.h" diff --git a/core/script/kjs_console_p.h b/core/script/kjs_console_p.h index 6a11ab2bb..ccff1eca3 100644 --- a/core/script/kjs_console_p.h +++ b/core/script/kjs_console_p.h @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * Copyright (C) 2008 by Harri Porten * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + SPDX-FileCopyrightText: 2008 Harri Porten + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_SCRIPT_KJS_CONSOLE_P_H #define OKULAR_SCRIPT_KJS_CONSOLE_P_H diff --git a/core/script/kjs_data.cpp b/core/script/kjs_data.cpp index 7bfd86b2f..9db34ca22 100644 --- a/core/script/kjs_data.cpp +++ b/core/script/kjs_data.cpp @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * Copyright (C) 2008 by Harri Porten * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + SPDX-FileCopyrightText: 2008 Harri Porten + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "kjs_data_p.h" diff --git a/core/script/kjs_data_p.h b/core/script/kjs_data_p.h index 940ebfe0b..c1fdf8edb 100644 --- a/core/script/kjs_data_p.h +++ b/core/script/kjs_data_p.h @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * Copyright (C) 2008 by Harri Porten * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + SPDX-FileCopyrightText: 2008 Harri Porten + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_SCRIPT_KJS_DATA_P_H #define OKULAR_SCRIPT_KJS_DATA_P_H diff --git a/core/script/kjs_display.cpp b/core/script/kjs_display.cpp index 659cedc2a..43109bbb3 100644 --- a/core/script/kjs_display.cpp +++ b/core/script/kjs_display.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2019 by João Netto * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2019 João Netto + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "../form.h" #include "kjs_display_p.h" diff --git a/core/script/kjs_display_p.h b/core/script/kjs_display_p.h index 7b57af61e..d6537e3e2 100644 --- a/core/script/kjs_display_p.h +++ b/core/script/kjs_display_p.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2019 by João Netto * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2019 João Netto + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_SCRIPT_KJS_DISPLAY_P_H #define OKULAR_SCRIPT_KJS_DISPLAY_P_H diff --git a/core/script/kjs_document.cpp b/core/script/kjs_document.cpp index d773f3b39..6548f2696 100644 --- a/core/script/kjs_document.cpp +++ b/core/script/kjs_document.cpp @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * Copyright (C) 2008 by Harri Porten * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + SPDX-FileCopyrightText: 2008 Harri Porten + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "kjs_document_p.h" diff --git a/core/script/kjs_document_p.h b/core/script/kjs_document_p.h index ac65acb3a..4e76d06fc 100644 --- a/core/script/kjs_document_p.h +++ b/core/script/kjs_document_p.h @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * Copyright (C) 2008 by Harri Porten * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + SPDX-FileCopyrightText: 2008 Harri Porten + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_SCRIPT_KJS_DOCUMENT_P_H #define OKULAR_SCRIPT_KJS_DOCUMENT_P_H diff --git a/core/script/kjs_event.cpp b/core/script/kjs_event.cpp index c42641ad1..40af6f79d 100644 --- a/core/script/kjs_event.cpp +++ b/core/script/kjs_event.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2018 by Intevation GmbH * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Intevation GmbH + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "kjs_event_p.h" diff --git a/core/script/kjs_event_p.h b/core/script/kjs_event_p.h index fb014dc80..d1daa810f 100644 --- a/core/script/kjs_event_p.h +++ b/core/script/kjs_event_p.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2018 by Intevation GmbH * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Intevation GmbH + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_SCRIPT_KJS_EVENT_P_H #define OKULAR_SCRIPT_KJS_EVENT_P_H diff --git a/core/script/kjs_field.cpp b/core/script/kjs_field.cpp index f6135db64..d0c23cc6f 100644 --- a/core/script/kjs_field.cpp +++ b/core/script/kjs_field.cpp @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * Copyright (C) 2008 by Harri Porten * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + SPDX-FileCopyrightText: 2008 Harri Porten + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "kjs_field_p.h" diff --git a/core/script/kjs_field_p.h b/core/script/kjs_field_p.h index 558bcf807..963021e96 100644 --- a/core/script/kjs_field_p.h +++ b/core/script/kjs_field_p.h @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * Copyright (C) 2008 by Harri Porten * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + SPDX-FileCopyrightText: 2008 Harri Porten + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_SCRIPT_KJS_FIELD_P_H #define OKULAR_SCRIPT_KJS_FIELD_P_H diff --git a/core/script/kjs_fullscreen.cpp b/core/script/kjs_fullscreen.cpp index 588e90b32..f8f036444 100644 --- a/core/script/kjs_fullscreen.cpp +++ b/core/script/kjs_fullscreen.cpp @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * Copyright (C) 2008 by Harri Porten * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + SPDX-FileCopyrightText: 2008 Harri Porten + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "kjs_fullscreen_p.h" diff --git a/core/script/kjs_fullscreen_p.h b/core/script/kjs_fullscreen_p.h index 5e5795fe7..3731d297c 100644 --- a/core/script/kjs_fullscreen_p.h +++ b/core/script/kjs_fullscreen_p.h @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * Copyright (C) 2008 by Harri Porten * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + SPDX-FileCopyrightText: 2008 Harri Porten + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_SCRIPT_KJS_FULLSCREEN_P_H #define OKULAR_SCRIPT_KJS_FULLSCREEN_P_H diff --git a/core/script/kjs_ocg.cpp b/core/script/kjs_ocg.cpp index 50fc352e8..010b31198 100644 --- a/core/script/kjs_ocg.cpp +++ b/core/script/kjs_ocg.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2019 by João Netto * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2019 João Netto + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "kjs_ocg_p.h" diff --git a/core/script/kjs_ocg_p.h b/core/script/kjs_ocg_p.h index 9987cc839..a2d9a1ed7 100644 --- a/core/script/kjs_ocg_p.h +++ b/core/script/kjs_ocg_p.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2019 by João Netto * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2019 João Netto + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_SCRIPT_KJS_OCG_P_H #define OKULAR_SCRIPT_KJS_OCG_P_H diff --git a/core/script/kjs_spell.cpp b/core/script/kjs_spell.cpp index cac0d193d..e64a9a7e7 100644 --- a/core/script/kjs_spell.cpp +++ b/core/script/kjs_spell.cpp @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * Copyright (C) 2008 by Harri Porten * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + SPDX-FileCopyrightText: 2008 Harri Porten + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "kjs_spell_p.h" diff --git a/core/script/kjs_spell_p.h b/core/script/kjs_spell_p.h index 002710b48..c3b7a4f84 100644 --- a/core/script/kjs_spell_p.h +++ b/core/script/kjs_spell_p.h @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * Copyright (C) 2008 by Harri Porten * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + SPDX-FileCopyrightText: 2008 Harri Porten + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_SCRIPT_KJS_SPELL_P_H #define OKULAR_SCRIPT_KJS_SPELL_P_H diff --git a/core/script/kjs_util.cpp b/core/script/kjs_util.cpp index 25f41535c..2814e0577 100644 --- a/core/script/kjs_util.cpp +++ b/core/script/kjs_util.cpp @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * Copyright (C) 2008 by Harri Porten * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + SPDX-FileCopyrightText: 2008 Harri Porten + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "kjs_util_p.h" diff --git a/core/script/kjs_util_p.h b/core/script/kjs_util_p.h index a4dab885b..cb8e0af77 100644 --- a/core/script/kjs_util_p.h +++ b/core/script/kjs_util_p.h @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * Copyright (C) 2008 by Harri Porten * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + SPDX-FileCopyrightText: 2008 Harri Porten + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_SCRIPT_KJS_UTIL_P_H #define OKULAR_SCRIPT_KJS_UTIL_P_H diff --git a/core/scripter.cpp b/core/scripter.cpp index e7a956781..2236f7f25 100644 --- a/core/scripter.cpp +++ b/core/scripter.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "scripter.h" diff --git a/core/scripter.h b/core/scripter.h index ac52ecfe3..74cfe4bfb 100644 --- a/core/scripter.h +++ b/core/scripter.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_SCRIPTER_H #define OKULAR_SCRIPTER_H diff --git a/core/signatureutils.cpp b/core/signatureutils.cpp index 20ed829bd..627f3888e 100644 --- a/core/signatureutils.cpp +++ b/core/signatureutils.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2018 by Chinmoy Ranjan Pradhan * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Chinmoy Ranjan Pradhan + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "signatureutils.h" diff --git a/core/signatureutils.h b/core/signatureutils.h index e17dec767..dbce450fc 100644 --- a/core/signatureutils.h +++ b/core/signatureutils.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2018 by Chinmoy Ranjan Pradhan * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Chinmoy Ranjan Pradhan + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_SIGNATUREUTILS_H #define OKULAR_SIGNATUREUTILS_H diff --git a/core/sound.cpp b/core/sound.cpp index c9370a00d..e1cd0534c 100644 --- a/core/sound.cpp +++ b/core/sound.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "sound.h" diff --git a/core/sound.h b/core/sound.h index fd9a06f28..7ebf1f9e2 100644 --- a/core/sound.h +++ b/core/sound.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_SOUND_H_ #define _OKULAR_SOUND_H_ diff --git a/core/sourcereference.cpp b/core/sourcereference.cpp index 9db306ddc..94b4cb0e6 100644 --- a/core/sourcereference.cpp +++ b/core/sourcereference.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007,2008 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007, 2008 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "sourcereference.h" #include "sourcereference_p.h" diff --git a/core/sourcereference.h b/core/sourcereference.h index d596d7227..8fb0e695e 100644 --- a/core/sourcereference.h +++ b/core/sourcereference.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_SOURCEREFERENCE_H #define OKULAR_SOURCEREFERENCE_H diff --git a/core/sourcereference_p.h b/core/sourcereference_p.h index 9f8c8d0a5..13e9a635c 100644 --- a/core/sourcereference_p.h +++ b/core/sourcereference_p.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_SOURCEREFERENCE_P_H #define OKULAR_SOURCEREFERENCE_P_H diff --git a/core/textdocumentgenerator.cpp b/core/textdocumentgenerator.cpp index 5505f4f69..be081c794 100644 --- a/core/textdocumentgenerator.cpp +++ b/core/textdocumentgenerator.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Tobias Koenig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Tobias Koenig + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "textdocumentgenerator.h" #include "textdocumentgenerator_p.h" diff --git a/core/textdocumentgenerator.h b/core/textdocumentgenerator.h index 8cc1a0271..3fca1c6b2 100644 --- a/core/textdocumentgenerator.h +++ b/core/textdocumentgenerator.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Tobias Koenig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Tobias Koenig + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_TEXTDOCUMENTGENERATOR_H_ #define _OKULAR_TEXTDOCUMENTGENERATOR_H_ diff --git a/core/textdocumentgenerator_p.h b/core/textdocumentgenerator_p.h index 87079dc8c..955ea303f 100644 --- a/core/textdocumentgenerator_p.h +++ b/core/textdocumentgenerator_p.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Tobias Koenig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Tobias Koenig + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_TEXTDOCUMENTGENERATOR_P_H_ #define _OKULAR_TEXTDOCUMENTGENERATOR_P_H_ diff --git a/core/textdocumentsettings.cpp b/core/textdocumentsettings.cpp index b7c84b541..d10fcb981 100644 --- a/core/textdocumentsettings.cpp +++ b/core/textdocumentsettings.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2013 by Azat Khuzhin * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Azat Khuzhin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "textdocumentsettings.h" #include "textdocumentsettings_p.h" diff --git a/core/textdocumentsettings.h b/core/textdocumentsettings.h index c928ed48b..9d2791fb0 100644 --- a/core/textdocumentsettings.h +++ b/core/textdocumentsettings.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2013 by Azat Khuzhin * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Azat Khuzhin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_TEXTDOCUMENTSETTINGS_H_ #define _OKULAR_TEXTDOCUMENTSETTINGS_H_ diff --git a/core/textdocumentsettings_p.h b/core/textdocumentsettings_p.h index e606d4583..4298f2665 100644 --- a/core/textdocumentsettings_p.h +++ b/core/textdocumentsettings_p.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2013 by Azat Khuzhin * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Azat Khuzhin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_TEXTDOCUMENTSETTINGS_P_H_ #define _OKULAR_TEXTDOCUMENTSETTINGS_P_H_ diff --git a/core/texteditors_p.h b/core/texteditors_p.h index 3fa8149a8..71f88a671 100644 --- a/core/texteditors_p.h +++ b/core/texteditors_p.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_TEXTEDITORS_P_H #define OKULAR_TEXTEDITORS_P_H diff --git a/core/textpage.cpp b/core/textpage.cpp index 4095215b0..cd615434c 100644 --- a/core/textpage.cpp +++ b/core/textpage.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2005 by Piotr Szymanski * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2005 Piotr Szymanski + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "textpage.h" #include "textpage_p.h" diff --git a/core/textpage.h b/core/textpage.h index 58a0e5256..1a66048bd 100644 --- a/core/textpage.h +++ b/core/textpage.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2005 by Piotr Szymanski * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2005 Piotr Szymanski + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_TEXTPAGE_H_ #define _OKULAR_TEXTPAGE_H_ diff --git a/core/textpage_p.h b/core/textpage_p.h index 2f1cf1aef..06d147b39 100644 --- a/core/textpage_p.h +++ b/core/textpage_p.h @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2006 by Tobias Koenig * - * Copyright (C) 2007 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Tobias Koenig + SPDX-FileCopyrightText: 2007 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_TEXTPAGE_P_H_ #define _OKULAR_TEXTPAGE_P_H_ diff --git a/core/tile.h b/core/tile.h index 5c4c9421e..e68910360 100644 --- a/core/tile.h +++ b/core/tile.h @@ -1,10 +1,7 @@ -/*************************************************************************** - * Copyright (C) 2012 by Fabio D'Urso * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2012 Fabio D 'Urso + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_TILE_H_ #define _OKULAR_TILE_H_ diff --git a/core/tilesmanager.cpp b/core/tilesmanager.cpp index 4ae86284e..7ace72f49 100644 --- a/core/tilesmanager.cpp +++ b/core/tilesmanager.cpp @@ -1,10 +1,7 @@ -/*************************************************************************** - * Copyright (C) 2012 by Mailson Menezes * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2012 Mailson Menezes + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "tilesmanager_p.h" diff --git a/core/tilesmanager_p.h b/core/tilesmanager_p.h index ac36bb59d..c0f195cc7 100644 --- a/core/tilesmanager_p.h +++ b/core/tilesmanager_p.h @@ -1,10 +1,7 @@ -/*************************************************************************** - * Copyright (C) 2012 by Mailson Menezes * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2012 Mailson Menezes + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_TILES_MANAGER_P_H_ #define _OKULAR_TILES_MANAGER_P_H_ diff --git a/core/utils.cpp b/core/utils.cpp index 0111ac74b..0304b502a 100644 --- a/core/utils.cpp +++ b/core/utils.cpp @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2006 by Luigi Toscano * - * Copyright (C) 2008 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Luigi Toscano + SPDX-FileCopyrightText: 2008 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "utils.h" #include "utils_p.h" diff --git a/core/utils.h b/core/utils.h index 5cd78c5f4..e9a3ae7b6 100644 --- a/core/utils.h +++ b/core/utils.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Luigi Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Luigi Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_UTILS_H_ #define _OKULAR_UTILS_H_ diff --git a/core/utils_p.h b/core/utils_p.h index fb6feacf3..0869c3baa 100644 --- a/core/utils_p.h +++ b/core/utils_p.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_UTILS_P_H_ #define _OKULAR_UTILS_P_H_ diff --git a/core/view.cpp b/core/view.cpp index caea83ab8..986bef8ba 100644 --- a/core/view.cpp +++ b/core/view.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "view.h" #include "view_p.h" diff --git a/core/view.h b/core/view.h index 6e6d3adda..8930c868e 100644 --- a/core/view.h +++ b/core/view.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_VIEW_H #define OKULAR_VIEW_H diff --git a/core/view_p.h b/core/view_p.h index d5be94d85..876f06ae4 100644 --- a/core/view_p.h +++ b/core/view_p.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_VIEW_P_H #define OKULAR_VIEW_P_H diff --git a/generators/chm/autotests/chmgeneratortest.cpp b/generators/chm/autotests/chmgeneratortest.cpp index 7247e58cd..c428fa1b3 100644 --- a/generators/chm/autotests/chmgeneratortest.cpp +++ b/generators/chm/autotests/chmgeneratortest.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2017 by Gilbert Assaf * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2017 Gilbert Assaf + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include #include diff --git a/generators/chm/generator_chm.cpp b/generators/chm/generator_chm.cpp index e7a26cd9d..1ea673086 100644 --- a/generators/chm/generator_chm.cpp +++ b/generators/chm/generator_chm.cpp @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2005 by Piotr Szymański * - * Copyright (C) 2008 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2005 Piotr Szymański + SPDX-FileCopyrightText: 2008 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "generator_chm.h" diff --git a/generators/chm/generator_chm.h b/generators/chm/generator_chm.h index c62508dbe..0643f7076 100644 --- a/generators/chm/generator_chm.h +++ b/generators/chm/generator_chm.h @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2005 by Piotr Szymański * - * Copyright (C) 2008 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2005 Piotr Szymański + SPDX-FileCopyrightText: 2008 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_GENERATOR_CHM_H_ #define _OKULAR_GENERATOR_CHM_H_ diff --git a/generators/chm/kio-msits/kio_mits_debug.cpp b/generators/chm/kio-msits/kio_mits_debug.cpp index 826073de2..ae4b7a411 100644 --- a/generators/chm/kio-msits/kio_mits_debug.cpp +++ b/generators/chm/kio-msits/kio_mits_debug.cpp @@ -1,20 +1,7 @@ /* This file is part of the KDE project - Copyright (C) 2014 Laurent Montel + SPDX-FileCopyrightText: 2014 Laurent Montel - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. + SPDX-License-Identifier: LGPL-2.0-or-later */ #include "kio_mits_debug.h" diff --git a/generators/chm/kio-msits/kio_mits_debug.h b/generators/chm/kio-msits/kio_mits_debug.h index 54e261d3f..462636b42 100644 --- a/generators/chm/kio-msits/kio_mits_debug.h +++ b/generators/chm/kio-msits/kio_mits_debug.h @@ -1,20 +1,7 @@ /* This file is part of the KDE project - Copyright (C) 2014 Laurent Montel + SPDX-FileCopyrightText: 2014 Laurent Montel - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. + SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef KIO_MITS_DEBUG_H diff --git a/generators/chm/kio-msits/msits.cpp b/generators/chm/kio-msits/msits.cpp index 2b2f85e8a..930cd8df4 100644 --- a/generators/chm/kio-msits/msits.cpp +++ b/generators/chm/kio-msits/msits.cpp @@ -1,17 +1,4 @@ -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. +/* SPDX-License-Identifier: LGPL-2.0-or-later */ #include diff --git a/generators/chm/kio-msits/msits.h b/generators/chm/kio-msits/msits.h index 277530fac..04a51f94d 100644 --- a/generators/chm/kio-msits/msits.h +++ b/generators/chm/kio-msits/msits.h @@ -1,22 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2005 by Georgy Yunaev * - * tim@krasnogorsk.ru * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2005 Georgy Yunaev + tim@krasnogorsk.ru + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef MSITS_H #define MSITS_H diff --git a/generators/chm/lib/bitfiddle.h b/generators/chm/lib/bitfiddle.h index 44e18e3c3..5d088af05 100644 --- a/generators/chm/lib/bitfiddle.h +++ b/generators/chm/lib/bitfiddle.h @@ -1,23 +1,20 @@ /* - Copyright (C) 2003 Razvan Cojocaru - Most of the code in this file is a modified version of code from - Pabs' GPL chmdeco project, credits and thanks go to him. + SPDX-FileCopyrightText: 2003 Razvan Cojocaru + Most of the code in this file is a modified version of code from + Pabs' GPL chmdeco project, credits and thanks go to him. - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. + SPDX-License-Identifier: GPL-2.0-or-later - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ diff --git a/generators/chm/lib/ebook.cpp b/generators/chm/lib/ebook.cpp index 69aa77565..0f010cf0e 100644 --- a/generators/chm/lib/ebook.cpp +++ b/generators/chm/lib/ebook.cpp @@ -1,20 +1,9 @@ /* - * Kchmviewer - a CHM and EPUB file viewer with broad language support - * Copyright (C) 2004-2014 George Yunaev, gyunaev@ulduzsoft.com - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ + Kchmviewer - a CHM and EPUB file viewer with broad language support + SPDX-FileCopyrightText: 2004-2014 George Yunaev gyunaev@ulduzsoft.com + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "ebook.h" #include "ebook_chm.h" diff --git a/generators/chm/lib/ebook.h b/generators/chm/lib/ebook.h index 1d984f71f..7eb70e790 100644 --- a/generators/chm/lib/ebook.h +++ b/generators/chm/lib/ebook.h @@ -1,20 +1,9 @@ /* - * Kchmviewer - a CHM and EPUB file viewer with broad language support - * Copyright (C) 2004-2014 George Yunaev, gyunaev@ulduzsoft.com - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ + Kchmviewer - a CHM and EPUB file viewer with broad language support + SPDX-FileCopyrightText: 2004-2014 George Yunaev gyunaev@ulduzsoft.com + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef INCLUDE_EBOOK_H #define INCLUDE_EBOOK_H diff --git a/generators/chm/lib/ebook_chm.cpp b/generators/chm/lib/ebook_chm.cpp index b04461bb6..0aac6cb5f 100644 --- a/generators/chm/lib/ebook_chm.cpp +++ b/generators/chm/lib/ebook_chm.cpp @@ -1,20 +1,9 @@ /* - * Kchmviewer - a CHM and EPUB file viewer with broad language support - * Copyright (C) 2004-2014 George Yunaev, gyunaev@ulduzsoft.com - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ + Kchmviewer - a CHM and EPUB file viewer with broad language support + SPDX-FileCopyrightText: 2004-2014 George Yunaev gyunaev@ulduzsoft.com + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include #include diff --git a/generators/chm/lib/ebook_chm.h b/generators/chm/lib/ebook_chm.h index fcfad9601..43396d6da 100644 --- a/generators/chm/lib/ebook_chm.h +++ b/generators/chm/lib/ebook_chm.h @@ -1,20 +1,9 @@ /* - * Kchmviewer - a CHM and EPUB file viewer with broad language support - * Copyright (C) 2004-2014 George Yunaev, gyunaev@ulduzsoft.com - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ + Kchmviewer - a CHM and EPUB file viewer with broad language support + SPDX-FileCopyrightText: 2004-2014 George Yunaev gyunaev@ulduzsoft.com + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef EBOOK_CHM_H #define EBOOK_CHM_H diff --git a/generators/chm/lib/ebook_chm_encoding.cpp b/generators/chm/lib/ebook_chm_encoding.cpp index f3a30a3e2..0a1c5c61b 100644 --- a/generators/chm/lib/ebook_chm_encoding.cpp +++ b/generators/chm/lib/ebook_chm_encoding.cpp @@ -1,20 +1,9 @@ /* - * Kchmviewer - a CHM and EPUB file viewer with broad language support - * Copyright (C) 2004-2014 George Yunaev, gyunaev@ulduzsoft.com - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ + Kchmviewer - a CHM and EPUB file viewer with broad language support + SPDX-FileCopyrightText: 2004-2014 George Yunaev gyunaev@ulduzsoft.com + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "ebook_chm_encoding.h" diff --git a/generators/chm/lib/ebook_chm_encoding.h b/generators/chm/lib/ebook_chm_encoding.h index 701ed4508..cc1861b1d 100644 --- a/generators/chm/lib/ebook_chm_encoding.h +++ b/generators/chm/lib/ebook_chm_encoding.h @@ -1,20 +1,9 @@ /* - * Kchmviewer - a CHM and EPUB file viewer with broad language support - * Copyright (C) 2004-2014 George Yunaev, gyunaev@ulduzsoft.com - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ + Kchmviewer - a CHM and EPUB file viewer with broad language support + SPDX-FileCopyrightText: 2004-2014 George Yunaev gyunaev@ulduzsoft.com + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef EBOOK_CHM_ENCODING_H #define EBOOK_CHM_ENCODING_H diff --git a/generators/chm/lib/ebook_epub.cpp b/generators/chm/lib/ebook_epub.cpp index 06d52bae4..ae4a62e70 100644 --- a/generators/chm/lib/ebook_epub.cpp +++ b/generators/chm/lib/ebook_epub.cpp @@ -1,20 +1,9 @@ /* - * Kchmviewer - a CHM and EPUB file viewer with broad language support - * Copyright (C) 2004-2014 George Yunaev, gyunaev@ulduzsoft.com - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ + Kchmviewer - a CHM and EPUB file viewer with broad language support + SPDX-FileCopyrightText: 2004-2014 George Yunaev gyunaev@ulduzsoft.com + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #if defined(WIN32) #include // dup diff --git a/generators/chm/lib/ebook_epub.h b/generators/chm/lib/ebook_epub.h index c8834550d..59f84e3c4 100644 --- a/generators/chm/lib/ebook_epub.h +++ b/generators/chm/lib/ebook_epub.h @@ -1,20 +1,9 @@ /* - * Kchmviewer - a CHM and EPUB file viewer with broad language support - * Copyright (C) 2004-2014 George Yunaev, gyunaev@ulduzsoft.com - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ + Kchmviewer - a CHM and EPUB file viewer with broad language support + SPDX-FileCopyrightText: 2004-2014 George Yunaev gyunaev@ulduzsoft.com + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef EBOOK_EPUB_H #define EBOOK_EPUB_H diff --git a/generators/chm/lib/ebook_search.cpp b/generators/chm/lib/ebook_search.cpp index 2b81965a9..9219d7a4d 100644 --- a/generators/chm/lib/ebook_search.cpp +++ b/generators/chm/lib/ebook_search.cpp @@ -1,20 +1,9 @@ /* - * Kchmviewer - a CHM and EPUB file viewer with broad language support - * Copyright (C) 2004-2014 George Yunaev, gyunaev@ulduzsoft.com - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ + Kchmviewer - a CHM and EPUB file viewer with broad language support + SPDX-FileCopyrightText: 2004-2014 George Yunaev gyunaev@ulduzsoft.com + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include diff --git a/generators/chm/lib/ebook_search.h b/generators/chm/lib/ebook_search.h index 819fbba89..9e0576bf1 100644 --- a/generators/chm/lib/ebook_search.h +++ b/generators/chm/lib/ebook_search.h @@ -1,20 +1,9 @@ /* - * Kchmviewer - a CHM and EPUB file viewer with broad language support - * Copyright (C) 2004-2014 George Yunaev, gyunaev@ulduzsoft.com - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ + Kchmviewer - a CHM and EPUB file viewer with broad language support + SPDX-FileCopyrightText: 2004-2014 George Yunaev gyunaev@ulduzsoft.com + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef EBookSearch_H #define EBookSearch_H diff --git a/generators/chm/lib/helper_entitydecoder.cpp b/generators/chm/lib/helper_entitydecoder.cpp index a81384ff2..760e8fca8 100644 --- a/generators/chm/lib/helper_entitydecoder.cpp +++ b/generators/chm/lib/helper_entitydecoder.cpp @@ -1,20 +1,9 @@ /* - * Kchmviewer - a CHM and EPUB file viewer with broad language support - * Copyright (C) 2004-2014 George Yunaev, gyunaev@ulduzsoft.com - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ + Kchmviewer - a CHM and EPUB file viewer with broad language support + SPDX-FileCopyrightText: 2004-2014 George Yunaev gyunaev@ulduzsoft.com + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include diff --git a/generators/chm/lib/helper_entitydecoder.h b/generators/chm/lib/helper_entitydecoder.h index 6a4c3edc1..9133f83df 100644 --- a/generators/chm/lib/helper_entitydecoder.h +++ b/generators/chm/lib/helper_entitydecoder.h @@ -1,20 +1,9 @@ /* - * Kchmviewer - a CHM and EPUB file viewer with broad language support - * Copyright (C) 2004-2014 George Yunaev, gyunaev@ulduzsoft.com - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ + Kchmviewer - a CHM and EPUB file viewer with broad language support + SPDX-FileCopyrightText: 2004-2014 George Yunaev gyunaev@ulduzsoft.com + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef HELPER_ENTITYDECODER_H #define HELPER_ENTITYDECODER_H diff --git a/generators/chm/lib/helper_search_index.cpp b/generators/chm/lib/helper_search_index.cpp index cac832cc9..74501dad8 100644 --- a/generators/chm/lib/helper_search_index.cpp +++ b/generators/chm/lib/helper_search_index.cpp @@ -1,20 +1,9 @@ /* - * Kchmviewer - a CHM and EPUB file viewer with broad language support - * Copyright (C) 2004-2014 George Yunaev, gyunaev@ulduzsoft.com - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ + Kchmviewer - a CHM and EPUB file viewer with broad language support + SPDX-FileCopyrightText: 2004-2014 George Yunaev gyunaev@ulduzsoft.com + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include #include diff --git a/generators/chm/lib/helper_search_index.h b/generators/chm/lib/helper_search_index.h index 460fc540f..8ca546a37 100644 --- a/generators/chm/lib/helper_search_index.h +++ b/generators/chm/lib/helper_search_index.h @@ -1,20 +1,9 @@ /* - * Kchmviewer - a CHM and EPUB file viewer with broad language support - * Copyright (C) 2004-2014 George Yunaev, gyunaev@ulduzsoft.com - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ + Kchmviewer - a CHM and EPUB file viewer with broad language support + SPDX-FileCopyrightText: 2004-2014 George Yunaev gyunaev@ulduzsoft.com + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef EBOOK_SEARCH_INDEX_H #define EBOOK_SEARCH_INDEX_H diff --git a/generators/chm/lib/helperxmlhandler_epubcontainer.cpp b/generators/chm/lib/helperxmlhandler_epubcontainer.cpp index 354a96733..ca4480672 100644 --- a/generators/chm/lib/helperxmlhandler_epubcontainer.cpp +++ b/generators/chm/lib/helperxmlhandler_epubcontainer.cpp @@ -1,20 +1,9 @@ /* - * Kchmviewer - a CHM and EPUB file viewer with broad language support - * Copyright (C) 2004-2014 George Yunaev, gyunaev@ulduzsoft.com - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ + Kchmviewer - a CHM and EPUB file viewer with broad language support + SPDX-FileCopyrightText: 2004-2014 George Yunaev gyunaev@ulduzsoft.com + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "helperxmlhandler_epubcontainer.h" diff --git a/generators/chm/lib/helperxmlhandler_epubcontainer.h b/generators/chm/lib/helperxmlhandler_epubcontainer.h index 6f232667b..4f3e7d83f 100644 --- a/generators/chm/lib/helperxmlhandler_epubcontainer.h +++ b/generators/chm/lib/helperxmlhandler_epubcontainer.h @@ -1,20 +1,9 @@ /* - * Kchmviewer - a CHM and EPUB file viewer with broad language support - * Copyright (C) 2004-2014 George Yunaev, gyunaev@ulduzsoft.com - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ + Kchmviewer - a CHM and EPUB file viewer with broad language support + SPDX-FileCopyrightText: 2004-2014 George Yunaev gyunaev@ulduzsoft.com + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef HELPERXMLHANDLER_EPUBCONTAINER_H #define HELPERXMLHANDLER_EPUBCONTAINER_H diff --git a/generators/chm/lib/helperxmlhandler_epubcontent.cpp b/generators/chm/lib/helperxmlhandler_epubcontent.cpp index b06b6356f..00096c2f2 100644 --- a/generators/chm/lib/helperxmlhandler_epubcontent.cpp +++ b/generators/chm/lib/helperxmlhandler_epubcontent.cpp @@ -1,20 +1,9 @@ /* - * Kchmviewer - a CHM and EPUB file viewer with broad language support - * Copyright (C) 2004-2014 George Yunaev, gyunaev@ulduzsoft.com - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ + Kchmviewer - a CHM and EPUB file viewer with broad language support + SPDX-FileCopyrightText: 2004-2014 George Yunaev gyunaev@ulduzsoft.com + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "helperxmlhandler_epubcontent.h" diff --git a/generators/chm/lib/helperxmlhandler_epubcontent.h b/generators/chm/lib/helperxmlhandler_epubcontent.h index a223b8448..bf02ef984 100644 --- a/generators/chm/lib/helperxmlhandler_epubcontent.h +++ b/generators/chm/lib/helperxmlhandler_epubcontent.h @@ -1,20 +1,9 @@ /* - * Kchmviewer - a CHM and EPUB file viewer with broad language support - * Copyright (C) 2004-2014 George Yunaev, gyunaev@ulduzsoft.com - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ + Kchmviewer - a CHM and EPUB file viewer with broad language support + SPDX-FileCopyrightText: 2004-2014 George Yunaev gyunaev@ulduzsoft.com + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef HELPERXMLHANDLER_EPUBCONTENT_H #define HELPERXMLHANDLER_EPUBCONTENT_H diff --git a/generators/chm/lib/helperxmlhandler_epubtoc.cpp b/generators/chm/lib/helperxmlhandler_epubtoc.cpp index 15e9dfb8d..7a4810da0 100644 --- a/generators/chm/lib/helperxmlhandler_epubtoc.cpp +++ b/generators/chm/lib/helperxmlhandler_epubtoc.cpp @@ -1,20 +1,9 @@ /* - * Kchmviewer - a CHM and EPUB file viewer with broad language support - * Copyright (C) 2004-2014 George Yunaev, gyunaev@ulduzsoft.com - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ + Kchmviewer - a CHM and EPUB file viewer with broad language support + SPDX-FileCopyrightText: 2004-2014 George Yunaev gyunaev@ulduzsoft.com + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "helperxmlhandler_epubtoc.h" #include diff --git a/generators/chm/lib/helperxmlhandler_epubtoc.h b/generators/chm/lib/helperxmlhandler_epubtoc.h index 3673e2d87..0537e3f0b 100644 --- a/generators/chm/lib/helperxmlhandler_epubtoc.h +++ b/generators/chm/lib/helperxmlhandler_epubtoc.h @@ -1,20 +1,9 @@ /* - * Kchmviewer - a CHM and EPUB file viewer with broad language support - * Copyright (C) 2004-2014 George Yunaev, gyunaev@ulduzsoft.com - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ + Kchmviewer - a CHM and EPUB file viewer with broad language support + SPDX-FileCopyrightText: 2004-2014 George Yunaev gyunaev@ulduzsoft.com + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef HELPERXMLHANDLER_EPUBTOC_H #define HELPERXMLHANDLER_EPUBTOC_H diff --git a/generators/chm/lib/libchmurlfactory.h b/generators/chm/lib/libchmurlfactory.h index 8d92f6e07..faa7f3836 100644 --- a/generators/chm/lib/libchmurlfactory.h +++ b/generators/chm/lib/libchmurlfactory.h @@ -1,23 +1,10 @@ -/*************************************************************************** - * Copyright (C) 2004-2007 by Georgy Yunaev, gyunaev@ulduzsoft.com * - * Please do not use email address above for bug reports; see * - * the README file * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004-2007 Georgy Yunaev gyunaev@ulduzsoft.com + Please do not use email address above for bug reports; see + the README file + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include #include diff --git a/generators/comicbook/autotests/comicbooktest.cpp b/generators/comicbook/autotests/comicbooktest.cpp index 06e02926c..b303e9760 100644 --- a/generators/comicbook/autotests/comicbooktest.cpp +++ b/generators/comicbook/autotests/comicbooktest.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2020 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2020 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include diff --git a/generators/comicbook/debug_comicbook.h b/generators/comicbook/debug_comicbook.h index 69005c780..cae3e36f6 100644 --- a/generators/comicbook/debug_comicbook.h +++ b/generators/comicbook/debug_comicbook.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2014 by Frederik Gladhorn * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2014 Frederik Gladhorn + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_DEBUG_COMICBOOK_H #define OKULAR_DEBUG_COMICBOOK_H diff --git a/generators/comicbook/directory.cpp b/generators/comicbook/directory.cpp index 3b8450779..23ebb00a5 100644 --- a/generators/comicbook/directory.cpp +++ b/generators/comicbook/directory.cpp @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2007 by Tobias Koenig * - * Copyright (C) 2011 by David Palacio * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Tobias Koenig + SPDX-FileCopyrightText: 2011 David Palacio + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "directory.h" diff --git a/generators/comicbook/directory.h b/generators/comicbook/directory.h index c04291851..18bef1712 100644 --- a/generators/comicbook/directory.h +++ b/generators/comicbook/directory.h @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2007 by Tobias Koenig * - * Copyright (C) 2011 by David Palacio * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Tobias Koenig + SPDX-FileCopyrightText: 2011 David Palacio + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef DIRECTORY_H #define DIRECTORY_H diff --git a/generators/comicbook/document.cpp b/generators/comicbook/document.cpp index 27396bab9..abfdaa18a 100644 --- a/generators/comicbook/document.cpp +++ b/generators/comicbook/document.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Tobias Koenig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Tobias Koenig + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "document.h" diff --git a/generators/comicbook/document.h b/generators/comicbook/document.h index f59298a8f..4a91e1082 100644 --- a/generators/comicbook/document.h +++ b/generators/comicbook/document.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Tobias Koenig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Tobias Koenig + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef COMICBOOK_DOCUMENT_H #define COMICBOOK_DOCUMENT_H diff --git a/generators/comicbook/generator_comicbook.cpp b/generators/comicbook/generator_comicbook.cpp index 9323f282f..3a7351e53 100644 --- a/generators/comicbook/generator_comicbook.cpp +++ b/generators/comicbook/generator_comicbook.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Tobias Koenig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Tobias Koenig + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "generator_comicbook.h" diff --git a/generators/comicbook/generator_comicbook.h b/generators/comicbook/generator_comicbook.h index c9d301e7b..ad9d3c6a8 100644 --- a/generators/comicbook/generator_comicbook.h +++ b/generators/comicbook/generator_comicbook.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Tobias Koenig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Tobias Koenig + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef GENERATOR_COMICBOOK_H #define GENERATOR_COMICBOOK_H diff --git a/generators/comicbook/qnatsort.cpp b/generators/comicbook/qnatsort.cpp index d2d1fcd13..cfa69cb83 100644 --- a/generators/comicbook/qnatsort.cpp +++ b/generators/comicbook/qnatsort.cpp @@ -1,22 +1,22 @@ -/** - Natural order sorting of strings which contains numbers. +/* + Natural order sorting of strings which contains numbers. - Copyright 2007 Tobias Koenig - based on the natural order code by Martin Pool + SPDX-FileCopyrightText: 2007 Tobias Koenig + based on the natural order code by Martin Pool - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public - License version 2 or at your option version 3 as published by - the Free Software Foundation. + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public + License version 2 or at your option version 3 as published by + the Free Software Foundation. - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "qnatsort.h" diff --git a/generators/comicbook/qnatsort.h b/generators/comicbook/qnatsort.h index 13a25322a..f48841fdd 100644 --- a/generators/comicbook/qnatsort.h +++ b/generators/comicbook/qnatsort.h @@ -1,22 +1,22 @@ -/** - Natural order sorting of strings which contains numbers. +/* + Natural order sorting of strings which contains numbers. - Copyright 2007 Tobias Koenig - based on the natural order code by Martin Pool + SPDX-FileCopyrightText: 2007 Tobias Koenig + based on the natural order code by Martin Pool - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public - License version 2 or at your option version 3 as published by - the Free Software Foundation. + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public + License version 2 or at your option version 3 as published by + the Free Software Foundation. - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef QNATSORT_H diff --git a/generators/comicbook/unrar.cpp b/generators/comicbook/unrar.cpp index 6d51998a8..d8ab20062 100644 --- a/generators/comicbook/unrar.cpp +++ b/generators/comicbook/unrar.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Tobias Koenig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Tobias Koenig + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "unrar.h" diff --git a/generators/comicbook/unrar.h b/generators/comicbook/unrar.h index 3881c0653..5e0026583 100644 --- a/generators/comicbook/unrar.h +++ b/generators/comicbook/unrar.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Tobias Koenig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Tobias Koenig + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef UNRAR_H #define UNRAR_H diff --git a/generators/comicbook/unrarflavours.cpp b/generators/comicbook/unrarflavours.cpp index c3bd5f69a..3b1e1f867 100644 --- a/generators/comicbook/unrarflavours.cpp +++ b/generators/comicbook/unrarflavours.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "unrarflavours.h" diff --git a/generators/comicbook/unrarflavours.h b/generators/comicbook/unrarflavours.h index 4b2f445ef..1d761ad90 100644 --- a/generators/comicbook/unrarflavours.h +++ b/generators/comicbook/unrarflavours.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef UNRARFLAVOURS_H #define UNRARFLAVOURS_H diff --git a/generators/djvu/generator_djvu.cpp b/generators/djvu/generator_djvu.cpp index 652144517..8bfd62023 100644 --- a/generators/djvu/generator_djvu.cpp +++ b/generators/djvu/generator_djvu.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "generator_djvu.h" diff --git a/generators/djvu/generator_djvu.h b/generators/djvu/generator_djvu.h index 59bbc0c37..70ec3603f 100644 --- a/generators/djvu/generator_djvu.h +++ b/generators/djvu/generator_djvu.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _GENERATOR_DJVU_H_ #define _GENERATOR_DJVU_H_ diff --git a/generators/djvu/kdjvu.cpp b/generators/djvu/kdjvu.cpp index 78d182e60..b3a5d72c0 100644 --- a/generators/djvu/kdjvu.cpp +++ b/generators/djvu/kdjvu.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "kdjvu.h" diff --git a/generators/djvu/kdjvu.h b/generators/djvu/kdjvu.h index 85f5d52fd..6eadb7645 100644 --- a/generators/djvu/kdjvu.h +++ b/generators/djvu/kdjvu.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _KDJVU_ #define _KDJVU_ diff --git a/generators/dvi/TeXFont.h b/generators/dvi/TeXFont.h index ec9356d44..823283aa4 100644 --- a/generators/dvi/TeXFont.h +++ b/generators/dvi/TeXFont.h @@ -3,7 +3,7 @@ // // Part of KDVI - A DVI previewer for the KDE desktop environment // -// (C) 2003 Stefan Kebekus +// SPDX-FileCopyrightText: 2003 Stefan Kebekus // Distributed under the GPL #ifndef _TEXFONT_H diff --git a/generators/dvi/TeXFont_PFB.cpp b/generators/dvi/TeXFont_PFB.cpp index 1c38ab66e..8570c02e9 100644 --- a/generators/dvi/TeXFont_PFB.cpp +++ b/generators/dvi/TeXFont_PFB.cpp @@ -3,7 +3,7 @@ // // Part of KDVI - A DVI previewer for the KDE desktop environment // -// (C) 2003 Stefan Kebekus +// SPDX-FileCopyrightText: 2003 Stefan Kebekus // Distributed under the GPL // This file is compiled only if the FreeType library is present on diff --git a/generators/dvi/TeXFont_PFB.h b/generators/dvi/TeXFont_PFB.h index 63dc79002..4b4fe130a 100644 --- a/generators/dvi/TeXFont_PFB.h +++ b/generators/dvi/TeXFont_PFB.h @@ -3,7 +3,7 @@ // // Part of KDVI - A DVI previewer for the KDE desktop environment // -// (C) 2003 Stefan Kebekus +// SPDX-FileCopyrightText: 2003 Stefan Kebekus // Distributed under the GPL // This file is compiled only if the FreeType library is present on diff --git a/generators/dvi/TeXFont_PK.cpp b/generators/dvi/TeXFont_PK.cpp index 5c7a80a61..7c33fc495 100644 --- a/generators/dvi/TeXFont_PK.cpp +++ b/generators/dvi/TeXFont_PK.cpp @@ -1,27 +1,8 @@ // -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; c-brace-offset: 0; -*- /* - * Copyright (c) 1994 Paul Vojta. All rights reserved. + * SPDX-FileCopyrightText: 1994 Paul Vojta. All rights reserved. * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. + * SPDX-License-Identifier: BSD-2-Clause * * NOTE: * xdvi is based on prior work as noted in the modification history, below. diff --git a/generators/dvi/TeXFont_TFM.cpp b/generators/dvi/TeXFont_TFM.cpp index 8f0442f96..5719b6abd 100644 --- a/generators/dvi/TeXFont_TFM.cpp +++ b/generators/dvi/TeXFont_TFM.cpp @@ -3,7 +3,7 @@ // // Part of KDVI - A DVI previewer for the KDE desktop environment // -// (C) 2003 Stefan Kebekus +// SPDX-FileCopyrightText: 2003 Stefan Kebekus // Distributed under the GPL #include diff --git a/generators/dvi/TeXFont_TFM.h b/generators/dvi/TeXFont_TFM.h index 2b39a4c6b..ac132423d 100644 --- a/generators/dvi/TeXFont_TFM.h +++ b/generators/dvi/TeXFont_TFM.h @@ -3,7 +3,7 @@ // // Part of KDVI - A DVI previewer for the KDE desktop environment // -// (C) 2003 Stefan Kebekus +// SPDX-FileCopyrightText: 2003 Stefan Kebekus // Distributed under the GPL #ifndef _TEXFONT_TFM_H diff --git a/generators/dvi/anchor.h b/generators/dvi/anchor.h index ca2c958e7..4a1428a52 100644 --- a/generators/dvi/anchor.h +++ b/generators/dvi/anchor.h @@ -4,7 +4,7 @@ // // Part of KVIEWSHELL - A framework for multipage text/gfx viewers // -// (C) 2004-2005 Stefan Kebekus +// SPDX-FileCopyrightText: 2004-2005 Stefan Kebekus // Distributed under the GPL #ifndef ANCHOR_H diff --git a/generators/dvi/bigEndianByteReader.cpp b/generators/dvi/bigEndianByteReader.cpp index 90d4dea7c..f932dfd35 100644 --- a/generators/dvi/bigEndianByteReader.cpp +++ b/generators/dvi/bigEndianByteReader.cpp @@ -3,7 +3,7 @@ // // Part of KDVI - A DVI previewer for the KDE desktop environment // -// (C) 2003 Stefan Kebekus +// SPDX-FileCopyrightText: 2003 Stefan Kebekus // Distributed under the GPL #include diff --git a/generators/dvi/bigEndianByteReader.h b/generators/dvi/bigEndianByteReader.h index 7427b5941..0e6be34ba 100644 --- a/generators/dvi/bigEndianByteReader.h +++ b/generators/dvi/bigEndianByteReader.h @@ -1,5 +1,5 @@ // -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; c-brace-offset: 0; -*- -/* This file is part of KDVI (C) 2001 by Stefan Kebekus (kebekus@kde.org) +/* This file is part of KDVI SPDX-FileCopyrightText: 2001 Stefan Kebekus (kebekus@kde.org) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License diff --git a/generators/dvi/debug_dvi.h b/generators/dvi/debug_dvi.h index 16b650795..141b22960 100644 --- a/generators/dvi/debug_dvi.h +++ b/generators/dvi/debug_dvi.h @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2006 by Luigi Toscano * - * Copyright (C) 2014 by Frederik Gladhorn * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Luigi Toscano + SPDX-FileCopyrightText: 2014 Frederik Gladhorn + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_DVI_DEBUG_P_H #define OKULAR_DVI_DEBUG_P_H diff --git a/generators/dvi/dviFile.cpp b/generators/dvi/dviFile.cpp index 1e9b34e98..7e3e6c8f8 100644 --- a/generators/dvi/dviFile.cpp +++ b/generators/dvi/dviFile.cpp @@ -1,27 +1,8 @@ // -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; c-brace-offset: 0; -*- /* - * Copyright (c) 1994 Paul Vojta. All rights reserved. + * SPDX-FileCopyrightText: 1994 Paul Vojta. All rights reserved. * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. + * SPDX-License-Identifier: BSD-2-Clause * * NOTE: * xdvi is based on prior work as noted in the modification history, below. diff --git a/generators/dvi/dviFile.h b/generators/dvi/dviFile.h index 6366eb644..adb00946b 100644 --- a/generators/dvi/dviFile.h +++ b/generators/dvi/dviFile.h @@ -5,7 +5,7 @@ // Class that represents a DVI file. Part of KDVI - A DVI previewing // plugin for kviewshell. // -// (C) 2004-2005 Stefan Kebekus. Distributed under the GPL. +// SPDX-FileCopyrightText: 2004-2005 Stefan Kebekus. Distributed under the GPL. // #ifndef _DVIFILE_H diff --git a/generators/dvi/dviPageInfo.cpp b/generators/dvi/dviPageInfo.cpp index a7b9defb8..5a9774a94 100644 --- a/generators/dvi/dviPageInfo.cpp +++ b/generators/dvi/dviPageInfo.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Luigi Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Luigi Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "dviPageInfo.h" diff --git a/generators/dvi/dviPageInfo.h b/generators/dvi/dviPageInfo.h index dd1c23bcc..1f4c2afbe 100644 --- a/generators/dvi/dviPageInfo.h +++ b/generators/dvi/dviPageInfo.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Luigi Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Luigi Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _dvipageinfo_h_ #define _dvipageinfo_h_ diff --git a/generators/dvi/dviRenderer.cpp b/generators/dvi/dviRenderer.cpp index b49b8cc16..fb38bfc9f 100644 --- a/generators/dvi/dviRenderer.cpp +++ b/generators/dvi/dviRenderer.cpp @@ -5,7 +5,7 @@ // Class for rendering TeX DVI files. // Part of KDVI- A previewer for TeX DVI files. // -// (C) 2001-2005 Stefan Kebekus +// SPDX-FileCopyrightText: 2001-2005 Stefan Kebekus // Distributed under the GPL // diff --git a/generators/dvi/dviRenderer.h b/generators/dvi/dviRenderer.h index b6b80f313..162ed019f 100644 --- a/generators/dvi/dviRenderer.h +++ b/generators/dvi/dviRenderer.h @@ -5,7 +5,7 @@ // Class for rendering TeX DVI files. // Part of KDVI- A previewer for TeX DVI files. // -// (C) 2001-2006 Stefan Kebekus. Distributed under the GPL. +// SPDX-FileCopyrightText: 2001-2006 Stefan Kebekus. Distributed under the GPL. #ifndef _dvirenderer_h_ #define _dvirenderer_h_ diff --git a/generators/dvi/dviRenderer_dr.cpp b/generators/dvi/dviRenderer_dr.cpp index 60fc61d11..078bf2786 100644 --- a/generators/dvi/dviRenderer_dr.cpp +++ b/generators/dvi/dviRenderer_dr.cpp @@ -8,8 +8,8 @@ // using kviewshell // Part of KViewshell - A generic interface for document viewers. // -// (C) 2004-2005 Wilfried Huss -// (C) 2004-2006 Stefan Kebekus. +// SPDX-FileCopyrightText: 2004-2005 Wilfried Huss +// SPDX-FileCopyrightText: 2004-2006 Stefan Kebekus. // Distributed under the GPL. #include "dviRenderer.h" diff --git a/generators/dvi/dviRenderer_draw.cpp b/generators/dvi/dviRenderer_draw.cpp index c7d9fc15b..718989891 100644 --- a/generators/dvi/dviRenderer_draw.cpp +++ b/generators/dvi/dviRenderer_draw.cpp @@ -1,27 +1,8 @@ // -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; c-brace-offset: 0; -*- /* - * Copyright (c) 1994 Paul Vojta. All rights reserved. + * SPDX-FileCopyrightText: 1994 Paul Vojta. All rights reserved. * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. + * SPDX-License-Identifier: BSD-2-Clause * * NOTE: * xdvi is based on prior work as noted in the modification history, below. diff --git a/generators/dvi/fontEncoding.cpp b/generators/dvi/fontEncoding.cpp index 00631b3f6..c81b84be8 100644 --- a/generators/dvi/fontEncoding.cpp +++ b/generators/dvi/fontEncoding.cpp @@ -3,7 +3,7 @@ // // Part of KDVI - A DVI previewer for the KDE desktop environment // -// (C) 2003 Stefan Kebekus +// SPDX-FileCopyrightText: 2003 Stefan Kebekus // Distributed under the GPL #include diff --git a/generators/dvi/fontEncoding.h b/generators/dvi/fontEncoding.h index eee296633..ae3f57b57 100644 --- a/generators/dvi/fontEncoding.h +++ b/generators/dvi/fontEncoding.h @@ -3,7 +3,7 @@ // // Part of KDVI - A DVI previewer for the KDE desktop environment // -// (C) 2003 Stefan Kebekus +// SPDX-FileCopyrightText: 2003 Stefan Kebekus // Distributed under the GPL #ifndef _FONTENCODING_H diff --git a/generators/dvi/fontEncodingPool.cpp b/generators/dvi/fontEncodingPool.cpp index 41c55d812..c95ffb206 100644 --- a/generators/dvi/fontEncodingPool.cpp +++ b/generators/dvi/fontEncodingPool.cpp @@ -3,7 +3,7 @@ // // Part of KDVI - A DVI previewer for the KDE desktop environment // -// (C) 2003 Stefan Kebekus +// SPDX-FileCopyrightText: 2003 Stefan Kebekus // Distributed under the GPL #include diff --git a/generators/dvi/fontEncodingPool.h b/generators/dvi/fontEncodingPool.h index 17ecfe1a7..19d3f31a2 100644 --- a/generators/dvi/fontEncodingPool.h +++ b/generators/dvi/fontEncodingPool.h @@ -3,7 +3,7 @@ // // Part of KDVI - A DVI previewer for the KDE desktop environment // -// (C) 2003 Stefan Kebekus +// SPDX-FileCopyrightText: 2003 Stefan Kebekus // Distributed under the GPL #ifndef _FONTENCODINGPOOL_H diff --git a/generators/dvi/fontMap.cpp b/generators/dvi/fontMap.cpp index 7b76a0811..c2420f6ed 100644 --- a/generators/dvi/fontMap.cpp +++ b/generators/dvi/fontMap.cpp @@ -3,7 +3,7 @@ // // Part of KDVI - A DVI previewer for the KDE desktop environment // -// (C) 2003 Stefan Kebekus +// SPDX-FileCopyrightText: 2003 Stefan Kebekus // Distributed under the GPL #include diff --git a/generators/dvi/fontMap.h b/generators/dvi/fontMap.h index e2b193c24..83a9cbaa1 100644 --- a/generators/dvi/fontMap.h +++ b/generators/dvi/fontMap.h @@ -3,7 +3,7 @@ // // Part of KDVI - A DVI previewer for the KDE desktop environment // -// (C) 2003 Stefan Kebekus +// SPDX-FileCopyrightText: 2003 Stefan Kebekus // Distributed under the GPL #ifndef _FONTMAP_H diff --git a/generators/dvi/fontpool.cpp b/generators/dvi/fontpool.cpp index 44dbc5127..9d84803ba 100644 --- a/generators/dvi/fontpool.cpp +++ b/generators/dvi/fontpool.cpp @@ -2,7 +2,7 @@ // // fontpool.cpp // -// (C) 2001-2005 Stefan Kebekus +// SPDX-FileCopyrightText: 2001-2005 Stefan Kebekus // Distributed under the GPL #include diff --git a/generators/dvi/fontpool.h b/generators/dvi/fontpool.h index 9cf1d869c..68bfa3d53 100644 --- a/generators/dvi/fontpool.h +++ b/generators/dvi/fontpool.h @@ -1,7 +1,7 @@ // -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; c-brace-offset: 0; -*- // fontpool.h // -// (C) 2001-2004 Stefan Kebekus +// SPDX-FileCopyrightText: 2001-2004 Stefan Kebekus // Distributed under the GPL #ifndef _FONTPOOL_H diff --git a/generators/dvi/generator_dvi.cpp b/generators/dvi/generator_dvi.cpp index c7b8e1b2d..a8b67def4 100644 --- a/generators/dvi/generator_dvi.cpp +++ b/generators/dvi/generator_dvi.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006-2009 by Luigi Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006-2009 Luigi Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include #include diff --git a/generators/dvi/generator_dvi.h b/generators/dvi/generator_dvi.h index 8d10e007b..a59ab26f2 100644 --- a/generators/dvi/generator_dvi.h +++ b/generators/dvi/generator_dvi.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Luigi Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Luigi Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _DVI_GENERATOR_H_ #define _DVI_GENERATOR_H_ diff --git a/generators/dvi/hyperlink.h b/generators/dvi/hyperlink.h index a0e221ba3..2b30d06d9 100644 --- a/generators/dvi/hyperlink.h +++ b/generators/dvi/hyperlink.h @@ -4,7 +4,7 @@ // // Part of KDVI- A previewer for TeX DVI files. // -// (C) 2004-2005 Stefan Kebekus. Distributed under the GPL. +// SPDX-FileCopyrightText: 2004-2005 Stefan Kebekus. Distributed under the GPL. #ifndef _hyperlink_h_ #define _hyperlink_h_ diff --git a/generators/dvi/length.cpp b/generators/dvi/length.cpp index 36e91f56e..cf6e58cac 100644 --- a/generators/dvi/length.cpp +++ b/generators/dvi/length.cpp @@ -3,8 +3,8 @@ // // Part of KVIEWSHELL - A framework for multipage text/gfx viewers // -// (C) 2003 Stefan Kebekus -// (C) 2006 Wilfried Huss +// SPDX-FileCopyrightText: 2003 Stefan Kebekus +// SPDX-FileCopyrightText: 2006 Wilfried Huss // Distributed under the GPL #include diff --git a/generators/dvi/length.h b/generators/dvi/length.h index 4ba0da24a..20cf8dedf 100644 --- a/generators/dvi/length.h +++ b/generators/dvi/length.h @@ -4,8 +4,8 @@ // // Part of KVIEWSHELL // -// (C) 2005 Stefan Kebekus -// (C) 2006 Wilfried Huss +// SPDX-FileCopyrightText: 2005 Stefan Kebekus +// SPDX-FileCopyrightText: 2006 Wilfried Huss // // Distributed under the GPL. diff --git a/generators/dvi/pageNumber.h b/generators/dvi/pageNumber.h index 008165cb1..fb54a4ca8 100644 --- a/generators/dvi/pageNumber.h +++ b/generators/dvi/pageNumber.h @@ -4,7 +4,7 @@ // // Part of KVIEWSHELL - A framework for multipage text/gfx viewers // -// (C) 2004 Stefan Kebekus +// SPDX-FileCopyrightText: 2004 Stefan Kebekus // Distributed under the GPL #ifndef PAGENUMBER_H diff --git a/generators/dvi/pageSize.cpp b/generators/dvi/pageSize.cpp index ab1da21da..458f65092 100644 --- a/generators/dvi/pageSize.cpp +++ b/generators/dvi/pageSize.cpp @@ -3,7 +3,7 @@ // // Part of KVIEWSHELL - A framework for multipage text/gfx viewers // -// (C) 2002-2003 Stefan Kebekus +// SPDX-FileCopyrightText: 2002-2003 Stefan Kebekus // Distributed under the GPL #include diff --git a/generators/dvi/pageSize.h b/generators/dvi/pageSize.h index b83183d02..2f5f0bbfc 100644 --- a/generators/dvi/pageSize.h +++ b/generators/dvi/pageSize.h @@ -4,7 +4,7 @@ // // Part of KVIEWSHELL - A framework for multipage text/gfx viewers // -// (C) 2002-2005 Stefan Kebekus +// SPDX-FileCopyrightText: 2002-2005 Stefan Kebekus // Distributed under the GPL #ifndef PAGESIZE_H diff --git a/generators/dvi/prebookmark.h b/generators/dvi/prebookmark.h index 4e70c70c5..cb8963db8 100644 --- a/generators/dvi/prebookmark.h +++ b/generators/dvi/prebookmark.h @@ -1,23 +1,10 @@ // -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; c-brace-offset: 0; -*- /*************************************************************************** - * Copyright (C) 2005 by Stefan Kebekus * + * SPDX-FileCopyrightText: 2005 Stefan Kebekus * * kebekus@kde.org * * * * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * + * SPDX-License-Identifier: GPL-2.0-or-later ***************************************************************************/ #ifndef _PREBOOKMARK_H_ diff --git a/generators/dvi/psgs.cpp b/generators/dvi/psgs.cpp index 0670af522..c35092422 100644 --- a/generators/dvi/psgs.cpp +++ b/generators/dvi/psgs.cpp @@ -4,7 +4,7 @@ // // Part of KDVI - A framework for multipage text/gfx viewers // -// (C) 2004 Stefan Kebekus +// SPDX-FileCopyrightText: 2004 Stefan Kebekus // Distributed under the GPL #include diff --git a/generators/dvi/psgs.h b/generators/dvi/psgs.h index bb36f20c3..10543474c 100644 --- a/generators/dvi/psgs.h +++ b/generators/dvi/psgs.h @@ -4,7 +4,7 @@ // // Part of KDVI - A framework for multipage text/gfx viewers // -// (C) 2004 Stefan Kebekus +// SPDX-FileCopyrightText: 2004 Stefan Kebekus // Distributed under the GPL #ifndef _PSGS_H_ diff --git a/generators/dvi/simplePageSize.cpp b/generators/dvi/simplePageSize.cpp index 0a14edab2..e199b1499 100644 --- a/generators/dvi/simplePageSize.cpp +++ b/generators/dvi/simplePageSize.cpp @@ -3,7 +3,7 @@ // // Part of KVIEWSHELL - A framework for multipage text/gfx viewers // -// (C) 2002-2005 Stefan Kebekus +// SPDX-FileCopyrightText: 2002-2005 Stefan Kebekus // Distributed under the GPL #include diff --git a/generators/dvi/simplePageSize.h b/generators/dvi/simplePageSize.h index 77ad551fb..b0587d855 100644 --- a/generators/dvi/simplePageSize.h +++ b/generators/dvi/simplePageSize.h @@ -4,7 +4,7 @@ // // Part of KVIEWSHELL - A framework for multipage text/gfx viewers // -// (C) 2002-2004 Stefan Kebekus +// SPDX-FileCopyrightText: 2002-2004 Stefan Kebekus // Distributed under the GPL #ifndef SIMPLEPAGESIZE_H diff --git a/generators/dvi/textBox.h b/generators/dvi/textBox.h index 68d808d76..a4fa94d12 100644 --- a/generators/dvi/textBox.h +++ b/generators/dvi/textBox.h @@ -4,7 +4,7 @@ // // Part of KDVI- A previewer for TeX DVI files. // -// (C) 2004-2005 Stefan Kebekus. Distributed under the GPL. +// SPDX-FileCopyrightText: 2004-2005 Stefan Kebekus. Distributed under the GPL. #ifndef _textbox_h_ #define _textbox_h_ diff --git a/generators/dvi/util.cpp b/generators/dvi/util.cpp index 62182e526..65bcf4c5c 100644 --- a/generators/dvi/util.cpp +++ b/generators/dvi/util.cpp @@ -1,27 +1,8 @@ // -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; c-brace-offset: 0; -*- /* - * Copyright (c) 1994 Paul Vojta. All rights reserved. + * SPDX-FileCopyrightText: 1994 Paul Vojta. All rights reserved. * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. + * SPDX-License-Identifier: BSD-2-Clause * * NOTE: * xdvi is based on prior work as noted in the modification history, below. diff --git a/generators/dvi/vf.cpp b/generators/dvi/vf.cpp index 7fa57f7a7..f786aeabf 100644 --- a/generators/dvi/vf.cpp +++ b/generators/dvi/vf.cpp @@ -1,27 +1,8 @@ // -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; c-brace-offset: 0; -*- /* - * Copyright (c) 1994 Paul Vojta. All rights reserved. + * SPDX-FileCopyrightText: 1994 Paul Vojta. All rights reserved. * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. + * SPDX-License-Identifier: BSD-2-Clause */ #include diff --git a/generators/epub/autotests/epubgeneratortest.cpp b/generators/epub/autotests/epubgeneratortest.cpp index 8477d1178..129ac8046 100644 --- a/generators/epub/autotests/epubgeneratortest.cpp +++ b/generators/epub/autotests/epubgeneratortest.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2017 by Gilbert Assaf * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2017 Gilbert Assaf + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include #include diff --git a/generators/epub/converter.cpp b/generators/epub/converter.cpp index 291b9caed..107617f44 100644 --- a/generators/epub/converter.cpp +++ b/generators/epub/converter.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2008 by Ely Levy * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Ely Levy + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "converter.h" diff --git a/generators/epub/converter.h b/generators/epub/converter.h index f14839465..8b6e3e892 100644 --- a/generators/epub/converter.h +++ b/generators/epub/converter.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2008 by Ely Levy * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Ely Levy + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef EPUB_CONVERTER_H #define EPUB_CONVERTER_H diff --git a/generators/epub/epubdocument.cpp b/generators/epub/epubdocument.cpp index 5ec084a46..7eb68de75 100644 --- a/generators/epub/epubdocument.cpp +++ b/generators/epub/epubdocument.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2008 by Ely Levy * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Ely Levy + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "epubdocument.h" #include diff --git a/generators/epub/epubdocument.h b/generators/epub/epubdocument.h index d66165bb6..1024bec87 100644 --- a/generators/epub/epubdocument.h +++ b/generators/epub/epubdocument.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2008 by Ely Levy * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Ely Levy + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef EPUB_DOCUMENT_H #define EPUB_DOCUMENT_H diff --git a/generators/epub/generator_epub.cpp b/generators/epub/generator_epub.cpp index 34dc4c1a8..6871211c9 100644 --- a/generators/epub/generator_epub.cpp +++ b/generators/epub/generator_epub.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2008 by Ely Levy * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Ely Levy + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "generator_epub.h" diff --git a/generators/epub/generator_epub.h b/generators/epub/generator_epub.h index 6abd85281..f848f69be 100644 --- a/generators/epub/generator_epub.h +++ b/generators/epub/generator_epub.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2008 by Ely Levy * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Ely Levy + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_GENERATOR_EPUB_H_ #define _OKULAR_GENERATOR_EPUB_H_ diff --git a/generators/fictionbook/converter.cpp b/generators/fictionbook/converter.cpp index f32aeb3b9..f3adff7c9 100644 --- a/generators/fictionbook/converter.cpp +++ b/generators/fictionbook/converter.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Tobias Koenig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Tobias Koenig + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "converter.h" diff --git a/generators/fictionbook/converter.h b/generators/fictionbook/converter.h index ccc1e74ec..e178a8427 100644 --- a/generators/fictionbook/converter.h +++ b/generators/fictionbook/converter.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Tobias Koenig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Tobias Koenig + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef FICTIONBOOK_CONVERTER_H #define FICTIONBOOK_CONVERTER_H diff --git a/generators/fictionbook/document.cpp b/generators/fictionbook/document.cpp index 57334eb98..3bb85b6f2 100644 --- a/generators/fictionbook/document.cpp +++ b/generators/fictionbook/document.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Tobias Koenig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Tobias Koenig + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "document.h" diff --git a/generators/fictionbook/document.h b/generators/fictionbook/document.h index bf1c2aa0f..e5e6deb9b 100644 --- a/generators/fictionbook/document.h +++ b/generators/fictionbook/document.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Tobias Koenig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Tobias Koenig + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef FICTIONBOOK_DOCUMENT_H #define FICTIONBOOK_DOCUMENT_H diff --git a/generators/fictionbook/generator_fb.cpp b/generators/fictionbook/generator_fb.cpp index 19586b3e3..7115edcb4 100644 --- a/generators/fictionbook/generator_fb.cpp +++ b/generators/fictionbook/generator_fb.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Tobias Koenig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Tobias Koenig + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "generator_fb.h" diff --git a/generators/fictionbook/generator_fb.h b/generators/fictionbook/generator_fb.h index 5b62d5d01..e5b325d0d 100644 --- a/generators/fictionbook/generator_fb.h +++ b/generators/fictionbook/generator_fb.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Tobias Koenig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Tobias Koenig + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_GENERATOR_FB_H_ #define _OKULAR_GENERATOR_FB_H_ diff --git a/generators/kimgio/generator_kimgio.cpp b/generators/kimgio/generator_kimgio.cpp index 362264d6a..66a3dccf7 100644 --- a/generators/kimgio/generator_kimgio.cpp +++ b/generators/kimgio/generator_kimgio.cpp @@ -1,16 +1,13 @@ -/*************************************************************************** - * Copyright (C) 2005 by Albert Astals Cid * - * Copyright (C) 2006-2007 by Pino Toscano * - * Copyright (C) 2006-2007 by Tobias Koenig * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2005 Albert Astals Cid + SPDX-FileCopyrightText: 2006-2007 Pino Toscano + SPDX-FileCopyrightText: 2006-2007 Tobias Koenig + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "generator_kimgio.h" diff --git a/generators/kimgio/generator_kimgio.h b/generators/kimgio/generator_kimgio.h index 78c21525c..315ebc470 100644 --- a/generators/kimgio/generator_kimgio.h +++ b/generators/kimgio/generator_kimgio.h @@ -1,14 +1,11 @@ -/*************************************************************************** - * Copyright (C) 2005 by Albert Astals Cid * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2005 Albert Astals Cid + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_GENERATOR_KIMGIO_H_ #define _OKULAR_GENERATOR_KIMGIO_H_ diff --git a/generators/kimgio/tests/kimgiotest.cpp b/generators/kimgio/tests/kimgiotest.cpp index 78c8a2714..d521a5a7b 100644 --- a/generators/kimgio/tests/kimgiotest.cpp +++ b/generators/kimgio/tests/kimgiotest.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2013 by Fabio D'Urso * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Fabio D 'Urso + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "../../settings_core.h" #include "../generator_kimgio.h" diff --git a/generators/markdown/converter.cpp b/generators/markdown/converter.cpp index cbfe69c4b..637f56256 100644 --- a/generators/markdown/converter.cpp +++ b/generators/markdown/converter.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2017 by Julian Wolff * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2017 Julian Wolff + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "converter.h" diff --git a/generators/markdown/converter.h b/generators/markdown/converter.h index a4e1e2dd2..4a162a324 100644 --- a/generators/markdown/converter.h +++ b/generators/markdown/converter.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2017 by Julian Wolff * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2017 Julian Wolff + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef MARKDOWN_CONVERTER_H #define MARKDOWN_CONVERTER_H diff --git a/generators/markdown/debug_md.h b/generators/markdown/debug_md.h index cab7ec487..e451e86f5 100644 --- a/generators/markdown/debug_md.h +++ b/generators/markdown/debug_md.h @@ -1,12 +1,9 @@ /*************************************************************************** - * Copyright (C) 2006 by Luigi Toscano * - * Copyright (C) 2014 by Frederik Gladhorn * + * SPDX-FileCopyrightText: 2006 Luigi Toscano * + * SPDX-FileCopyrightText: 2014 Frederik Gladhorn * * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * + * SPDX-License-Identifier: GPL-2.0-or-later ***************************************************************************/ #ifndef OKULAR_DEBUG_MD_H diff --git a/generators/markdown/generator_md.cpp b/generators/markdown/generator_md.cpp index 0431bbe15..ed5177243 100644 --- a/generators/markdown/generator_md.cpp +++ b/generators/markdown/generator_md.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2017 by Julian Wolff * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2017 Julian Wolff + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "generator_md.h" diff --git a/generators/markdown/generator_md.h b/generators/markdown/generator_md.h index e9a1361a1..81e9a9d68 100644 --- a/generators/markdown/generator_md.h +++ b/generators/markdown/generator_md.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2017 by Julian Wolff * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2017 Julian Wolff + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_GENERATOR_MD_H_ #define _OKULAR_GENERATOR_MD_H_ diff --git a/generators/mobipocket/converter.cpp b/generators/mobipocket/converter.cpp index 3ad41aa22..a3ba20a0b 100644 --- a/generators/mobipocket/converter.cpp +++ b/generators/mobipocket/converter.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2008 by Jakub Stachowski * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Jakub Stachowski + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "converter.h" diff --git a/generators/mobipocket/converter.h b/generators/mobipocket/converter.h index d4f224a15..4012b8a8e 100644 --- a/generators/mobipocket/converter.h +++ b/generators/mobipocket/converter.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2008 by Jakub Stachowski * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Jakub Stachowski + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef MOBI_CONVERTER_H #define MOBI_CONVERTER_H diff --git a/generators/mobipocket/generator_mobi.cpp b/generators/mobipocket/generator_mobi.cpp index bb62c849b..d8b3f4010 100644 --- a/generators/mobipocket/generator_mobi.cpp +++ b/generators/mobipocket/generator_mobi.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2008 by Ely Levy * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Ely Levy + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "generator_mobi.h" #include "converter.h" diff --git a/generators/mobipocket/generator_mobi.h b/generators/mobipocket/generator_mobi.h index 6ea6e3ade..5ce80e5d9 100644 --- a/generators/mobipocket/generator_mobi.h +++ b/generators/mobipocket/generator_mobi.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2008 by Ely Levy * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Ely Levy + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_GENERATOR_MOBI_H #define OKULAR_GENERATOR_MOBI_H #include diff --git a/generators/mobipocket/mobidocument.cpp b/generators/mobipocket/mobidocument.cpp index b8c7013ab..c9d2c5e0c 100644 --- a/generators/mobipocket/mobidocument.cpp +++ b/generators/mobipocket/mobidocument.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2008 by Jakub Stachowski * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Jakub Stachowski + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "mobidocument.h" #include // Because of the HACK #include diff --git a/generators/mobipocket/mobidocument.h b/generators/mobipocket/mobidocument.h index f8eda7b52..3c0c7c154 100644 --- a/generators/mobipocket/mobidocument.h +++ b/generators/mobipocket/mobidocument.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2008 by Jakub Stachowski * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Jakub Stachowski + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef MOBI_DOCUMENT_H #define MOBI_DOCUMENT_H diff --git a/generators/plucker/generator_plucker.cpp b/generators/plucker/generator_plucker.cpp index f130e2aa6..8fd2753d3 100644 --- a/generators/plucker/generator_plucker.cpp +++ b/generators/plucker/generator_plucker.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Tobias Koenig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Tobias Koenig + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "generator_plucker.h" diff --git a/generators/plucker/generator_plucker.h b/generators/plucker/generator_plucker.h index 69aecdc95..433399e91 100644 --- a/generators/plucker/generator_plucker.h +++ b/generators/plucker/generator_plucker.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Tobias Koenig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Tobias Koenig + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_GENERATOR_PLUCKER_H_ #define _OKULAR_GENERATOR_PLUCKER_H_ diff --git a/generators/plucker/unpluck/config.cpp b/generators/plucker/unpluck/config.cpp index e693504dc..a8bbcd0ec 100644 --- a/generators/plucker/unpluck/config.cpp +++ b/generators/plucker/unpluck/config.cpp @@ -1,24 +1,12 @@ /* -*- mode: c; indent-tabs-mode: nil; -*- - * $Id: config.c,v 1.3 2003/12/28 20:59:21 chrish Exp $ - * - * config -- read and parse the Plucker config files - * Copyright (c) 2002, Bill Janssen - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - * - */ + $Id: config.c,v 1.3 2003/12/28 20:59:21 chrish Exp $ + + config -- read and parse the Plucker config files + SPDX-FileCopyrightText: 2002 Bill Janssen + + SPDX-License-Identifier: GPL-2.0-or-later + +*/ #if !defined(WIN32) #include /* for lseek, etc. */ diff --git a/generators/plucker/unpluck/image.cpp b/generators/plucker/unpluck/image.cpp index fd4bb26b3..de8eececd 100644 --- a/generators/plucker/unpluck/image.cpp +++ b/generators/plucker/unpluck/image.cpp @@ -1,13 +1,10 @@ -/*************************************************************************** - * Copyright (C) 2007 by Tobias Koenig * - * * - * Based on code written by Bill Janssen 2002 * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Tobias Koenig + + Based on code written by Bill Janssen 2002 + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include #include diff --git a/generators/plucker/unpluck/image.h b/generators/plucker/unpluck/image.h index d0172ec2f..7ee0bdc02 100644 --- a/generators/plucker/unpluck/image.h +++ b/generators/plucker/unpluck/image.h @@ -1,13 +1,10 @@ -/*************************************************************************** - * Copyright (C) 2007 by Tobias Koenig * - * * - * Based on code written by Bill Janssen 2002 * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Tobias Koenig + + Based on code written by Bill Janssen 2002 + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef IMAGE_H #define IMAGE_H diff --git a/generators/plucker/unpluck/qunpluck.cpp b/generators/plucker/unpluck/qunpluck.cpp index 9219edf0c..d447feac1 100644 --- a/generators/plucker/unpluck/qunpluck.cpp +++ b/generators/plucker/unpluck/qunpluck.cpp @@ -1,13 +1,10 @@ -/*************************************************************************** - * Copyright (C) 2007 by Tobias Koenig * - * * - * Based on code written by Bill Janssen 2002 * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Tobias Koenig + + Based on code written by Bill Janssen 2002 + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "qunpluck.h" diff --git a/generators/plucker/unpluck/qunpluck.h b/generators/plucker/unpluck/qunpluck.h index 40efb563a..2f3768ae6 100644 --- a/generators/plucker/unpluck/qunpluck.h +++ b/generators/plucker/unpluck/qunpluck.h @@ -1,13 +1,10 @@ -/*************************************************************************** - * Copyright (C) 2007 by Tobias Koenig * - * * - * Based on code written by Bill Janssen 2002 * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Tobias Koenig + + Based on code written by Bill Janssen 2002 + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef QUNPLUCK_H #define QUNPLUCK_H diff --git a/generators/plucker/unpluck/unpluck.cpp b/generators/plucker/unpluck/unpluck.cpp index 3fc273cf3..a7fb2e696 100644 --- a/generators/plucker/unpluck/unpluck.cpp +++ b/generators/plucker/unpluck/unpluck.cpp @@ -1,24 +1,12 @@ /* -*- mode: c; indent-tabs-mode: nil; -*- - * $Id: unpluck.c,v 1.12 2003/12/28 20:59:21 chrish Exp $ - * - * unpluck -- a library to read Plucker data files - * Copyright (c) 2002, Bill Janssen - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - * - */ + $Id: unpluck.c,v 1.12 2003/12/28 20:59:21 chrish Exp $ + + unpluck -- a library to read Plucker data files + SPDX-FileCopyrightText: 2002 Bill Janssen + + SPDX-License-Identifier: GPL-2.0-or-later + +*/ #if !defined(WIN32) #include /* for lseek, etc. */ @@ -42,7 +30,7 @@ /***********************************************************************/ /***** *****/ /***** Decompression code (taken from the Plucker PalmOS viewer *****/ -/***** sources, Copyright (c) 1998-2002, by Mark Ian Lillywhite *****/ +/***** sources, SPDX-FileCopyrightText: 1998-2002 Mark Ian Lillywhite *****/ /***** and Michael Nordstr�m, also under the GPL) *****/ /***** *****/ /***********************************************************************/ diff --git a/generators/plucker/unpluck/unpluck.h b/generators/plucker/unpluck/unpluck.h index 4c08a95c5..2c50bc784 100644 --- a/generators/plucker/unpluck/unpluck.h +++ b/generators/plucker/unpluck/unpluck.h @@ -1,24 +1,12 @@ /* -*- mode: c; indent-tabs-mode: nil; -*- - * $Id: unpluck.h,v 1.8 2003/12/28 20:59:21 chrish Exp $ - * - * unpluck -- a library to read Plucker data files - * Copyright (c) 2002, Bill Janssen - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - * - */ + $Id: unpluck.h,v 1.8 2003/12/28 20:59:21 chrish Exp $ + + unpluck -- a library to read Plucker data files + SPDX-FileCopyrightText: 2002 Bill Janssen + + SPDX-License-Identifier: GPL-2.0-or-later + +*/ #ifndef UNPLUCK_H #define UNPLUCK_H /* diff --git a/generators/plucker/unpluck/unpluckint.h b/generators/plucker/unpluck/unpluckint.h index 1784e43be..1eae492ec 100644 --- a/generators/plucker/unpluck/unpluckint.h +++ b/generators/plucker/unpluck/unpluckint.h @@ -1,24 +1,12 @@ /* -*- mode: c; indent-tabs-mode: nil; -*- - * $Id: unpluckint.h,v 1.5 2003/12/28 20:59:21 chrish Exp $ - * - * unpluck -- a library to read Plucker data files - * Copyright (c) 2002, Bill Janssen - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - * - */ + $Id: unpluckint.h,v 1.5 2003/12/28 20:59:21 chrish Exp $ + + unpluck -- a library to read Plucker data files + SPDX-FileCopyrightText: 2002 Bill Janssen + + SPDX-License-Identifier: GPL-2.0-or-later + +*/ #ifndef UNPLUGINT_H #define UNPLUGINT_H /* diff --git a/generators/plucker/unpluck/util.cpp b/generators/plucker/unpluck/util.cpp index e50575781..36c253cdd 100644 --- a/generators/plucker/unpluck/util.cpp +++ b/generators/plucker/unpluck/util.cpp @@ -1,24 +1,12 @@ /* -*- mode: c; indent-tabs-mode: nil; -*- - * $Id: util.c,v 1.3 2003/12/28 20:59:21 chrish Exp $ - * - * util -- Some simple utility routines so we don't need GLib - * Copyright (c) 2002, Bill Janssen - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - * - */ + $Id: util.c,v 1.3 2003/12/28 20:59:21 chrish Exp $ + + util -- Some simple utility routines so we don't need GLib + SPDX-FileCopyrightText: 2002 Bill Janssen + + SPDX-License-Identifier: GPL-2.0-or-later + +*/ #if !defined(WIN32) #include /* for lseek, etc. */ diff --git a/generators/poppler/annots.cpp b/generators/poppler/annots.cpp index 2f19e3cdc..fb11c06ea 100644 --- a/generators/poppler/annots.cpp +++ b/generators/poppler/annots.cpp @@ -1,15 +1,12 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * Copyright (C) 2012 by Guillermo A. Amaral B. * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + SPDX-FileCopyrightText: 2012 Guillermo A. Amaral B. + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "annots.h" diff --git a/generators/poppler/annots.h b/generators/poppler/annots.h index 11031fb47..93de4afef 100644 --- a/generators/poppler/annots.h +++ b/generators/poppler/annots.h @@ -1,14 +1,11 @@ -/*************************************************************************** - * Copyright (C) 2012 by Fabio D'Urso * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2012 Fabio D 'Urso + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_GENERATOR_PDF_ANNOTS_H_ #define _OKULAR_GENERATOR_PDF_ANNOTS_H_ diff --git a/generators/poppler/debug_pdf.h b/generators/poppler/debug_pdf.h index 039579035..52741066c 100644 --- a/generators/poppler/debug_pdf.h +++ b/generators/poppler/debug_pdf.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2014 by Frederik Gladhorn * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2014 Frederik Gladhorn + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_DEBUG_PDF_H #define OKULAR_DEBUG_PDF_H diff --git a/generators/poppler/formfields.cpp b/generators/poppler/formfields.cpp index 817d2cf0d..af04297b2 100644 --- a/generators/poppler/formfields.cpp +++ b/generators/poppler/formfields.cpp @@ -1,13 +1,10 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * Copyright (C) 2018 by Intevation GmbH * - * Copyright (C) 2019 by Oliver Sander * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + SPDX-FileCopyrightText: 2018 Intevation GmbH + SPDX-FileCopyrightText: 2019 Oliver Sander + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "formfields.h" diff --git a/generators/poppler/formfields.h b/generators/poppler/formfields.h index b00717b8b..9e749eb35 100644 --- a/generators/poppler/formfields.h +++ b/generators/poppler/formfields.h @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * Copyright (C) 2019 by Oliver Sander * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + SPDX-FileCopyrightText: 2019 Oliver Sander + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_GENERATOR_PDF_FORMFIELDS_H_ #define _OKULAR_GENERATOR_PDF_FORMFIELDS_H_ diff --git a/generators/poppler/generator_pdf.cpp b/generators/poppler/generator_pdf.cpp index db71f349e..c4f11fae6 100644 --- a/generators/poppler/generator_pdf.cpp +++ b/generators/poppler/generator_pdf.cpp @@ -1,17 +1,14 @@ -/*************************************************************************** - * Copyright (C) 2004-2008 by Albert Astals Cid * - * Copyright (C) 2004 by Enrico Ros * - * Copyright (C) 2012 by Guillermo A. Amaral B. * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * Copyright (C) 2019 by Oliver Sander * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004-2008 Albert Astals Cid + SPDX-FileCopyrightText: 2004 Enrico Ros + SPDX-FileCopyrightText: 2012 Guillermo A. Amaral B. + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + SPDX-FileCopyrightText: 2019 Oliver Sander + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include diff --git a/generators/poppler/generator_pdf.h b/generators/poppler/generator_pdf.h index e3a5e5ba4..4f4b7a4ec 100644 --- a/generators/poppler/generator_pdf.h +++ b/generators/poppler/generator_pdf.h @@ -1,15 +1,12 @@ -/*************************************************************************** - * Copyright (C) 2004-2008 by Albert Astals Cid * - * Copyright (C) 2004 by Enrico Ros * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004-2008 Albert Astals Cid + SPDX-FileCopyrightText: 2004 Enrico Ros + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_GENERATOR_PDF_H_ #define _OKULAR_GENERATOR_PDF_H_ diff --git a/generators/poppler/pdfsettingswidget.cpp b/generators/poppler/pdfsettingswidget.cpp index 93b6c6920..71365ad86 100644 --- a/generators/poppler/pdfsettingswidget.cpp +++ b/generators/poppler/pdfsettingswidget.cpp @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2019 by Bubli * - * Copyright (C) 2020 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2019 Bubli + SPDX-FileCopyrightText: 2020 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "pdfsettingswidget.h" diff --git a/generators/poppler/pdfsettingswidget.h b/generators/poppler/pdfsettingswidget.h index 4723e76ea..e56173d38 100644 --- a/generators/poppler/pdfsettingswidget.h +++ b/generators/poppler/pdfsettingswidget.h @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2019 by Bubli * - * Copyright (C) 2020 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2019 Bubli + SPDX-FileCopyrightText: 2020 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef PDFSETTINGSWIDGET_H #define PDFSETTINGSWIDGET_H diff --git a/generators/poppler/pdfsignatureutils.cpp b/generators/poppler/pdfsignatureutils.cpp index b3f4b2294..0f0d63674 100644 --- a/generators/poppler/pdfsignatureutils.cpp +++ b/generators/poppler/pdfsignatureutils.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2018 by Chinmoy Ranjan Pradhan * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Chinmoy Ranjan Pradhan + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "pdfsignatureutils.h" diff --git a/generators/poppler/pdfsignatureutils.h b/generators/poppler/pdfsignatureutils.h index 138234a66..d72764d7a 100644 --- a/generators/poppler/pdfsignatureutils.h +++ b/generators/poppler/pdfsignatureutils.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2018 by Chinmoy Ranjan Pradhan * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Chinmoy Ranjan Pradhan + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_GENERATOR_PDF_SIGNATUREUTILS_H_ #define _OKULAR_GENERATOR_PDF_SIGNATUREUTILS_H_ diff --git a/generators/poppler/popplerembeddedfile.h b/generators/poppler/popplerembeddedfile.h index 6fe3f90ce..0eac6a598 100644 --- a/generators/poppler/popplerembeddedfile.h +++ b/generators/poppler/popplerembeddedfile.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006-2008 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006-2008 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef POPPLEREMBEDDEDFILE_H #define POPPLEREMBEDDEDFILE_H diff --git a/generators/spectre/generator_ghostview.cpp b/generators/spectre/generator_ghostview.cpp index 8e8e9debe..063f57648 100644 --- a/generators/spectre/generator_ghostview.cpp +++ b/generators/spectre/generator_ghostview.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007-2008 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007-2008 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "generator_ghostview.h" diff --git a/generators/spectre/generator_ghostview.h b/generators/spectre/generator_ghostview.h index f98b221bb..bc9b45f14 100644 --- a/generators/spectre/generator_ghostview.h +++ b/generators/spectre/generator_ghostview.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_GENERATOR_GHOSTVIEW_H_ #define _OKULAR_GENERATOR_GHOSTVIEW_H_ diff --git a/generators/spectre/rendererthread.cpp b/generators/spectre/rendererthread.cpp index 196433ee8..78e623419 100644 --- a/generators/spectre/rendererthread.cpp +++ b/generators/spectre/rendererthread.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "rendererthread.h" diff --git a/generators/spectre/rendererthread.h b/generators/spectre/rendererthread.h index 78f21011f..ba1731e44 100644 --- a/generators/spectre/rendererthread.h +++ b/generators/spectre/rendererthread.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_GSRENDERERTHREAD_H_ #define _OKULAR_GSRENDERERTHREAD_H_ diff --git a/generators/spectre/spectre_debug.cpp b/generators/spectre/spectre_debug.cpp index 740a12c62..7e19864ef 100644 --- a/generators/spectre/spectre_debug.cpp +++ b/generators/spectre/spectre_debug.cpp @@ -1,20 +1,7 @@ /* This file is part of the KDE project - Copyright (C) 2014 Laurent Montel + SPDX-FileCopyrightText: 2014 Laurent Montel - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. + SPDX-License-Identifier: LGPL-2.0-or-later */ #include "spectre_debug.h" diff --git a/generators/spectre/spectre_debug.h b/generators/spectre/spectre_debug.h index 048d36868..7e8247779 100644 --- a/generators/spectre/spectre_debug.h +++ b/generators/spectre/spectre_debug.h @@ -1,20 +1,7 @@ /* This file is part of the KDE project - Copyright (C) 2014 Laurent Montel + SPDX-FileCopyrightText: 2014 Laurent Montel - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. + SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef SPECTRE_DEBUG_H diff --git a/generators/tiff/generator_tiff.cpp b/generators/tiff/generator_tiff.cpp index 79eea1e01..f5617f887 100644 --- a/generators/tiff/generator_tiff.cpp +++ b/generators/tiff/generator_tiff.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "generator_tiff.h" diff --git a/generators/tiff/generator_tiff.h b/generators/tiff/generator_tiff.h index cc4d8df76..d56a491db 100644 --- a/generators/tiff/generator_tiff.h +++ b/generators/tiff/generator_tiff.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_GENERATOR_TIFF_H_ #define _OKULAR_GENERATOR_TIFF_H_ diff --git a/generators/txt/converter.cpp b/generators/txt/converter.cpp index 18998df43..cd405ea5d 100644 --- a/generators/txt/converter.cpp +++ b/generators/txt/converter.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2013 by Azat Khuzhin * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Azat Khuzhin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "converter.h" diff --git a/generators/txt/converter.h b/generators/txt/converter.h index ae77b6f37..9ae00520b 100644 --- a/generators/txt/converter.h +++ b/generators/txt/converter.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2013 by Azat Khuzhin * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Azat Khuzhin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef TXT_CONVERTER_H #define TXT_CONVERTER_H diff --git a/generators/txt/debug_txt.h b/generators/txt/debug_txt.h index f0f21ca80..4fad69f07 100644 --- a/generators/txt/debug_txt.h +++ b/generators/txt/debug_txt.h @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2006 by Luigi Toscano * - * Copyright (C) 2014 by Frederik Gladhorn * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Luigi Toscano + SPDX-FileCopyrightText: 2014 Frederik Gladhorn + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_DEBUG_TXT_H #define OKULAR_DEBUG_TXT_H diff --git a/generators/txt/document.cpp b/generators/txt/document.cpp index 33cf2f7bf..df88f7ab2 100644 --- a/generators/txt/document.cpp +++ b/generators/txt/document.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2013 by Azat Khuzhin * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Azat Khuzhin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "document.h" diff --git a/generators/txt/document.h b/generators/txt/document.h index e0807561b..564ae8ae2 100644 --- a/generators/txt/document.h +++ b/generators/txt/document.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2013 by Azat Khuzhin * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Azat Khuzhin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _TXT_DOCUMENT_H_ #define _TXT_DOCUMENT_H_ diff --git a/generators/txt/generator_txt.cpp b/generators/txt/generator_txt.cpp index 40a2222af..455c4a837 100644 --- a/generators/txt/generator_txt.cpp +++ b/generators/txt/generator_txt.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2013 by Azat Khuzhin * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Azat Khuzhin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "generator_txt.h" #include "converter.h" diff --git a/generators/txt/generator_txt.h b/generators/txt/generator_txt.h index 1b64d8225..85576fd89 100644 --- a/generators/txt/generator_txt.h +++ b/generators/txt/generator_txt.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2013 by Azat Khuzhin * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Azat Khuzhin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _GENERATOR_TXT_H_ #define _GENERATOR_TXT_H_ diff --git a/generators/xps/generator_xps.cpp b/generators/xps/generator_xps.cpp index 14dce5906..a13116bef 100644 --- a/generators/xps/generator_xps.cpp +++ b/generators/xps/generator_xps.cpp @@ -1,20 +1,20 @@ /* - Copyright (C) 2006, 2009 Brad Hards + SPDX-FileCopyrightText: 2006, 2009 Brad Hards - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - as published by the Free Software Foundation; either version 2 - of the License, or (at your option) any later version + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301, USA. + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. */ #include "generator_xps.h" diff --git a/generators/xps/generator_xps.h b/generators/xps/generator_xps.h index f07ef5aea..bf3f2b768 100644 --- a/generators/xps/generator_xps.h +++ b/generators/xps/generator_xps.h @@ -1,20 +1,20 @@ /* - Copyright (C) 2006 Brad Hards + SPDX-FileCopyrightText: 2006 Brad Hards - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - as published by the Free Software Foundation; either version 2 - of the License, or (at your option) any later version + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301, USA. + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. */ #ifndef _OKULAR_GENERATOR_XPS_H_ diff --git a/interfaces/configinterface.h b/interfaces/configinterface.h index 213195954..628c2c41c 100644 --- a/interfaces/configinterface.h +++ b/interfaces/configinterface.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_CONFIGINTERFACE_H_ #define _OKULAR_CONFIGINTERFACE_H_ diff --git a/interfaces/guiinterface.h b/interfaces/guiinterface.h index 1a88a8e13..f2782537f 100644 --- a/interfaces/guiinterface.h +++ b/interfaces/guiinterface.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_GUIINTERFACE_H_ #define _OKULAR_GUIINTERFACE_H_ diff --git a/interfaces/printinterface.h b/interfaces/printinterface.h index bcf361bb4..8343bc87e 100644 --- a/interfaces/printinterface.h +++ b/interfaces/printinterface.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_PRINTINTERFACE_H_ #define _OKULAR_PRINTINTERFACE_H_ diff --git a/interfaces/saveinterface.h b/interfaces/saveinterface.h index 0adf3a8fd..94b738c15 100644 --- a/interfaces/saveinterface.h +++ b/interfaces/saveinterface.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_SAVEINTERFACE_H_ #define _OKULAR_SAVEINTERFACE_H_ diff --git a/interfaces/viewerinterface.h b/interfaces/viewerinterface.h index bba71ae67..adec6a9c1 100644 --- a/interfaces/viewerinterface.h +++ b/interfaces/viewerinterface.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2011 by Michel Ludwig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2011 Michel Ludwig + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_VIEWERINTERFACE_H_ #define _OKULAR_VIEWERINTERFACE_H_ diff --git a/kdocumentviewer.h b/kdocumentviewer.h index 82ea1d761..e07ea5eac 100644 --- a/kdocumentviewer.h +++ b/kdocumentviewer.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _KDOCUMENTVIEWER_H_ #define _KDOCUMENTVIEWER_H_ diff --git a/mobile/app/android.cpp b/mobile/app/android.cpp index 242ccb1e4..fc7be4325 100644 --- a/mobile/app/android.cpp +++ b/mobile/app/android.cpp @@ -1,20 +1,8 @@ -/************************************************************************************* - * Copyright (C) 2018 by Aleix Pol * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; either version 2 * - * of the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the Free Software * - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * - *************************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Aleix Pol + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "android.h" #include diff --git a/mobile/app/android.h b/mobile/app/android.h index 76f0847db..be866cc2d 100644 --- a/mobile/app/android.h +++ b/mobile/app/android.h @@ -1,20 +1,8 @@ -/************************************************************************************* - * Copyright (C) 2018 by Aleix Pol * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; either version 2 * - * of the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the Free Software * - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * - *************************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Aleix Pol + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef ANDROID_H #define ANDROID_H diff --git a/mobile/app/main.cpp b/mobile/app/main.cpp index 82e984826..94752d86b 100644 --- a/mobile/app/main.cpp +++ b/mobile/app/main.cpp @@ -1,20 +1,8 @@ -/************************************************************************************* - * Copyright (C) 2010 by Aleix Pol * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License * - * as published by the Free Software Foundation; either version 2 * - * of the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the Free Software * - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * - *************************************************************************************/ +/* + SPDX-FileCopyrightText: 2010 Aleix Pol + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include diff --git a/mobile/app/package/contents/ui/Bookmarks.qml b/mobile/app/package/contents/ui/Bookmarks.qml index a6063b3b4..4a7ac839a 100644 --- a/mobile/app/package/contents/ui/Bookmarks.qml +++ b/mobile/app/package/contents/ui/Bookmarks.qml @@ -1,21 +1,8 @@ /* - * Copyright 2012 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2, - * or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details - * - * You should have received a copy of the GNU General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2012 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.1 diff --git a/mobile/app/package/contents/ui/MainView.qml b/mobile/app/package/contents/ui/MainView.qml index 6f3f7a3e4..f4df49721 100644 --- a/mobile/app/package/contents/ui/MainView.qml +++ b/mobile/app/package/contents/ui/MainView.qml @@ -1,21 +1,8 @@ /* - * Copyright 2012 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2, - * or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details - * - * You should have received a copy of the GNU General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2012 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.1 import QtQuick.Controls 2.3 as QQC2 diff --git a/mobile/app/package/contents/ui/OkularDrawer.qml b/mobile/app/package/contents/ui/OkularDrawer.qml index 2b6e858e7..dcc54c304 100644 --- a/mobile/app/package/contents/ui/OkularDrawer.qml +++ b/mobile/app/package/contents/ui/OkularDrawer.qml @@ -1,21 +1,8 @@ /* - * Copyright 2012 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2, - * or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details - * - * You should have received a copy of the GNU General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2012 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.1 import QtQuick.Controls 2.5 as QQC2 diff --git a/mobile/app/package/contents/ui/PlaceholderMessage.qml b/mobile/app/package/contents/ui/PlaceholderMessage.qml index e187f0ae8..190355bd3 100644 --- a/mobile/app/package/contents/ui/PlaceholderMessage.qml +++ b/mobile/app/package/contents/ui/PlaceholderMessage.qml @@ -1,8 +1,8 @@ /* - * SPDX-FileCopyrightText: 2020 by Nate Graham - * - * SPDX-License-Identifier: LGPL-2.0-or-later - */ + SPDX-FileCopyrightText: 2020 Nate Graham + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ import QtQuick 2.0 import QtQuick.Controls 2.4 as QQC2 diff --git a/mobile/app/package/contents/ui/TableOfContents.qml b/mobile/app/package/contents/ui/TableOfContents.qml index 2132567fb..71180dc9d 100644 --- a/mobile/app/package/contents/ui/TableOfContents.qml +++ b/mobile/app/package/contents/ui/TableOfContents.qml @@ -1,21 +1,8 @@ /* - * Copyright 2012 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2, - * or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details - * - * You should have received a copy of the GNU General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2012 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.1 import QtQuick.Controls 2.2 as QQC2 diff --git a/mobile/app/package/contents/ui/Thumbnails.qml b/mobile/app/package/contents/ui/Thumbnails.qml index 4edaf4dfa..eb5c2eb2d 100644 --- a/mobile/app/package/contents/ui/Thumbnails.qml +++ b/mobile/app/package/contents/ui/Thumbnails.qml @@ -1,21 +1,8 @@ /* - * Copyright 2012 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2, - * or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details - * - * You should have received a copy of the GNU General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2012 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.1 import QtQuick.Controls 2.0 as QQC2 diff --git a/mobile/app/package/contents/ui/ThumbnailsBase.qml b/mobile/app/package/contents/ui/ThumbnailsBase.qml index f0b2f0b11..09e10b662 100644 --- a/mobile/app/package/contents/ui/ThumbnailsBase.qml +++ b/mobile/app/package/contents/ui/ThumbnailsBase.qml @@ -1,21 +1,8 @@ /* - * Copyright 2012 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2, - * or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details - * - * You should have received a copy of the GNU General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2012 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.1 import QtQuick.Controls 2.3 as QQC2 diff --git a/mobile/app/package/contents/ui/TreeDelegate.qml b/mobile/app/package/contents/ui/TreeDelegate.qml index 9f5de5b44..d06627f54 100644 --- a/mobile/app/package/contents/ui/TreeDelegate.qml +++ b/mobile/app/package/contents/ui/TreeDelegate.qml @@ -1,21 +1,8 @@ /* - * Copyright 2012 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2, - * or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details - * - * You should have received a copy of the GNU General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2012 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.1 import QtQuick.Controls 2.0 as QQC2 diff --git a/mobile/app/package/contents/ui/main.qml b/mobile/app/package/contents/ui/main.qml index ed0116772..298afe63e 100644 --- a/mobile/app/package/contents/ui/main.qml +++ b/mobile/app/package/contents/ui/main.qml @@ -1,21 +1,8 @@ /* - * Copyright 2012 Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2, - * or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details - * - * You should have received a copy of the GNU General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2012 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.7 import QtQuick.Dialogs 1.3 as QQD diff --git a/mobile/components/DocumentView.qml b/mobile/components/DocumentView.qml index d7f3daf2f..cceaf8dc5 100644 --- a/mobile/components/DocumentView.qml +++ b/mobile/components/DocumentView.qml @@ -1,21 +1,8 @@ /* - * Copyright 2015 by Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2, - * or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details - * - * You should have received a copy of the GNU General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2015 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.2 import QtQuick.Controls 2.2 as QQC2 diff --git a/mobile/components/documentitem.cpp b/mobile/components/documentitem.cpp index b9fc842c9..4c34934a2 100644 --- a/mobile/components/documentitem.cpp +++ b/mobile/components/documentitem.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2012 by Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2, - * or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details - * - * You should have received a copy of the GNU General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2012 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "documentitem.h" diff --git a/mobile/components/documentitem.h b/mobile/components/documentitem.h index 5efd6f394..c188ed602 100644 --- a/mobile/components/documentitem.h +++ b/mobile/components/documentitem.h @@ -1,21 +1,8 @@ /* - * Copyright 2012 by Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2, - * or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details - * - * You should have received a copy of the GNU General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2012 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef QDOCUMENTITEM_H #define QDOCUMENTITEM_H diff --git a/mobile/components/okularplugin.cpp b/mobile/components/okularplugin.cpp index 236e3e62b..b8150d8ce 100644 --- a/mobile/components/okularplugin.cpp +++ b/mobile/components/okularplugin.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2012 by Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2, - * or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details - * - * You should have received a copy of the GNU General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2012 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "okularplugin.h" diff --git a/mobile/components/okularplugin.h b/mobile/components/okularplugin.h index 238e650c5..aacd27734 100644 --- a/mobile/components/okularplugin.h +++ b/mobile/components/okularplugin.h @@ -1,21 +1,8 @@ /* - * Copyright 2012 by Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2, - * or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details - * - * You should have received a copy of the GNU General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2012 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULARPLUGIN #define OKULARPLUGIN diff --git a/mobile/components/okularsingleton.cpp b/mobile/components/okularsingleton.cpp index f079ed303..009243b98 100644 --- a/mobile/components/okularsingleton.cpp +++ b/mobile/components/okularsingleton.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2018 Aleix Pol Gonzalez - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2, - * or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details - * - * You should have received a copy of the GNU General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2018 Aleix Pol Gonzalez + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "okularsingleton.h" #include diff --git a/mobile/components/okularsingleton.h b/mobile/components/okularsingleton.h index 5fb9bb9fb..a38d8f618 100644 --- a/mobile/components/okularsingleton.h +++ b/mobile/components/okularsingleton.h @@ -1,21 +1,8 @@ /* - * Copyright 2018 Aleix Pol Gonzalez - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2, - * or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details - * - * You should have received a copy of the GNU General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2018 Aleix Pol Gonzalez + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULARSINGLETON_H #define OKULARSINGLETON_H diff --git a/mobile/components/pageitem.cpp b/mobile/components/pageitem.cpp index 1018f84a6..ebed0d724 100644 --- a/mobile/components/pageitem.cpp +++ b/mobile/components/pageitem.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2012 by Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2, - * or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details - * - * You should have received a copy of the GNU General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2012 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "pageitem.h" #include "documentitem.h" diff --git a/mobile/components/pageitem.h b/mobile/components/pageitem.h index 46345857b..c63205d7e 100644 --- a/mobile/components/pageitem.h +++ b/mobile/components/pageitem.h @@ -1,21 +1,8 @@ /* - * Copyright 2012 by Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2, - * or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details - * - * You should have received a copy of the GNU General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2012 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef QPAGEITEM_H #define QPAGEITEM_H diff --git a/mobile/components/private/PageView.qml b/mobile/components/private/PageView.qml index 57e315d05..8001dd886 100644 --- a/mobile/components/private/PageView.qml +++ b/mobile/components/private/PageView.qml @@ -1,21 +1,8 @@ /* - * Copyright 2015 by Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2, - * or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details - * - * You should have received a copy of the GNU General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2015 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.2 import QtGraphicalEffects 1.0 diff --git a/mobile/components/test.qml b/mobile/components/test.qml index 4c029cafc..f12443fa1 100644 --- a/mobile/components/test.qml +++ b/mobile/components/test.qml @@ -1,21 +1,8 @@ /* - * Copyright 2012 by Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2, - * or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details - * - * You should have received a copy of the GNU General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2012 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.2 import QtQuick.Controls 1.0 diff --git a/mobile/components/testDocumentView.qml b/mobile/components/testDocumentView.qml index d3205b9f4..828bd1a41 100644 --- a/mobile/components/testDocumentView.qml +++ b/mobile/components/testDocumentView.qml @@ -1,21 +1,8 @@ /* - * Copyright 2012 by Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2, - * or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details - * - * You should have received a copy of the GNU General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2012 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ import QtQuick 2.2 import QtQuick.Controls 1.0 diff --git a/mobile/components/thumbnailitem.cpp b/mobile/components/thumbnailitem.cpp index 13978097b..eb93c76de 100644 --- a/mobile/components/thumbnailitem.cpp +++ b/mobile/components/thumbnailitem.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2012 by Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2, - * or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details - * - * You should have received a copy of the GNU General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2012 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "thumbnailitem.h" diff --git a/mobile/components/thumbnailitem.h b/mobile/components/thumbnailitem.h index 8658be76f..5f8a52025 100644 --- a/mobile/components/thumbnailitem.h +++ b/mobile/components/thumbnailitem.h @@ -1,21 +1,8 @@ /* - * Copyright 2012 by Marco Martin - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2, - * or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details - * - * You should have received a copy of the GNU General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2012 Marco Martin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef THUMBNAILITEM_H #define THUMBNAILITEM_H diff --git a/part/annotationactionhandler.cpp b/part/annotationactionhandler.cpp index 5782c78f8..99d504ee9 100644 --- a/part/annotationactionhandler.cpp +++ b/part/annotationactionhandler.cpp @@ -1,11 +1,8 @@ -/************************************************************************** - * Copyright (C) 2019 by Simone Gaiarin * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - **************************************************************************/ +/* + SPDX-FileCopyrightText: 2019 Simone Gaiarin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "annotationactionhandler.h" diff --git a/part/annotationactionhandler.h b/part/annotationactionhandler.h index 3e7338e03..5449f9397 100644 --- a/part/annotationactionhandler.h +++ b/part/annotationactionhandler.h @@ -1,11 +1,8 @@ -/************************************************************************** - * Copyright (C) 2019 by Simone Gaiarin * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - **************************************************************************/ +/* + SPDX-FileCopyrightText: 2019 Simone Gaiarin + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _ANNOTATIONACTIONHANDLER_H_ #define _ANNOTATIONACTIONHANDLER_H_ diff --git a/part/annotationmodel.cpp b/part/annotationmodel.cpp index b587bf3af..1a1349dc0 100644 --- a/part/annotationmodel.cpp +++ b/part/annotationmodel.cpp @@ -1,14 +1,11 @@ -/*************************************************************************** - * Copyright (C) 2006 by Pino Toscano * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Pino Toscano + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "annotationmodel.h" diff --git a/part/annotationmodel.h b/part/annotationmodel.h index f98a0ee13..8b5470439 100644 --- a/part/annotationmodel.h +++ b/part/annotationmodel.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef ANNOTATIONMODEL_H #define ANNOTATIONMODEL_H diff --git a/part/annotationpopup.cpp b/part/annotationpopup.cpp index ec5bdc40b..59e7c2b4b 100644 --- a/part/annotationpopup.cpp +++ b/part/annotationpopup.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Tobias Koenig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Tobias Koenig + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "annotationpopup.h" diff --git a/part/annotationpopup.h b/part/annotationpopup.h index d37a1cce8..7da9586ee 100644 --- a/part/annotationpopup.h +++ b/part/annotationpopup.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Tobias Koenig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Tobias Koenig + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef ANNOTATIONPOPUP_H #define ANNOTATIONPOPUP_H diff --git a/part/annotationpropertiesdialog.cpp b/part/annotationpropertiesdialog.cpp index 4bae8cde0..bbac67b2e 100644 --- a/part/annotationpropertiesdialog.cpp +++ b/part/annotationpropertiesdialog.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Chu Xiaodong * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Chu Xiaodong + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "annotationpropertiesdialog.h" diff --git a/part/annotationpropertiesdialog.h b/part/annotationpropertiesdialog.h index 831c8f087..87f9ad871 100644 --- a/part/annotationpropertiesdialog.h +++ b/part/annotationpropertiesdialog.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Chu Xiaodong * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Chu Xiaodong + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _ANNOTATIONPROPERTIESDIALOG_H_ #define _ANNOTATIONPROPERTIESDIALOG_H_ diff --git a/part/annotationproxymodels.cpp b/part/annotationproxymodels.cpp index f22eb3928..c3b5263c5 100644 --- a/part/annotationproxymodels.cpp +++ b/part/annotationproxymodels.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Tobias Koenig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Tobias Koenig + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "annotationproxymodels.h" diff --git a/part/annotationproxymodels.h b/part/annotationproxymodels.h index 5a763e806..61f5cb3d7 100644 --- a/part/annotationproxymodels.h +++ b/part/annotationproxymodels.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Tobias Koenig * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Tobias Koenig + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef ANNOTATIONPROXYMODEL_H #define ANNOTATIONPROXYMODEL_H diff --git a/part/annotationtools.cpp b/part/annotationtools.cpp index f66128c00..34706144d 100644 --- a/part/annotationtools.cpp +++ b/part/annotationtools.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2005 by Enrico Ros * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2005 Enrico Ros + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "annotationtools.h" diff --git a/part/annotationtools.h b/part/annotationtools.h index 54e0c3bbb..84ff84761 100644 --- a/part/annotationtools.h +++ b/part/annotationtools.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2005 by Enrico Ros * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2005 Enrico Ros + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_ANNOTATIONTOOLS_H_ #define _OKULAR_ANNOTATIONTOOLS_H_ diff --git a/part/annotationwidgets.cpp b/part/annotationwidgets.cpp index 400b7a68c..8306e16b9 100644 --- a/part/annotationwidgets.cpp +++ b/part/annotationwidgets.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "annotationwidgets.h" diff --git a/part/annotationwidgets.h b/part/annotationwidgets.h index d932f54cc..4ad000e87 100644 --- a/part/annotationwidgets.h +++ b/part/annotationwidgets.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _ANNOTATIONWIDGETS_H_ #define _ANNOTATIONWIDGETS_H_ diff --git a/part/annotwindow.cpp b/part/annotwindow.cpp index 1a9995cc8..766e30139 100644 --- a/part/annotwindow.cpp +++ b/part/annotwindow.cpp @@ -1,15 +1,12 @@ -/*************************************************************************** - * Copyright (C) 2006 by Chu Xiaodong * - * Copyright (C) 2006 by Pino Toscano * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Chu Xiaodong + SPDX-FileCopyrightText: 2006 Pino Toscano + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "annotwindow.h" diff --git a/part/annotwindow.h b/part/annotwindow.h index 4469a05c0..f1752149c 100644 --- a/part/annotwindow.h +++ b/part/annotwindow.h @@ -1,15 +1,12 @@ -/*************************************************************************** - * Copyright (C) 2006 by Chu Xiaodong * - * Copyright (C) 2006 by Pino Toscano * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Chu Xiaodong + SPDX-FileCopyrightText: 2006 Pino Toscano + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _ANNOTWINDOW_H_ #define _ANNOTWINDOW_H_ diff --git a/part/bookmarklist.cpp b/part/bookmarklist.cpp index 87e00bba6..e6c2b14f6 100644 --- a/part/bookmarklist.cpp +++ b/part/bookmarklist.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "bookmarklist.h" diff --git a/part/bookmarklist.h b/part/bookmarklist.h index 17bc6aa47..3759c2cbd 100644 --- a/part/bookmarklist.h +++ b/part/bookmarklist.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef BOOKMARKLIST_H #define BOOKMARKLIST_H diff --git a/part/certificateviewer.cpp b/part/certificateviewer.cpp index 7f74ea6c5..d53653776 100644 --- a/part/certificateviewer.cpp +++ b/part/certificateviewer.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2018 by Chinmoy Ranjan Pradhan * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Chinmoy Ranjan Pradhan + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "certificateviewer.h" diff --git a/part/certificateviewer.h b/part/certificateviewer.h index 42fe956aa..99107d969 100644 --- a/part/certificateviewer.h +++ b/part/certificateviewer.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2018 by Chinmoy Ranjan Pradhan * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Chinmoy Ranjan Pradhan + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_CERTIFICATEVIEWER_H #define OKULAR_CERTIFICATEVIEWER_H diff --git a/part/cursorwraphelper.cpp b/part/cursorwraphelper.cpp index c5a877612..8bf8166cb 100644 --- a/part/cursorwraphelper.cpp +++ b/part/cursorwraphelper.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2020 by David Hurka * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2020 David Hurka + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "cursorwraphelper.h" diff --git a/part/cursorwraphelper.h b/part/cursorwraphelper.h index 597bd6595..11d010840 100644 --- a/part/cursorwraphelper.h +++ b/part/cursorwraphelper.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2020 by David Hurka * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2020 David Hurka + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef CURSORWRAPHELPER_H #define CURSORWRAPHELPER_H diff --git a/part/debug_ui.cpp b/part/debug_ui.cpp index 77ee180a9..b83160099 100644 --- a/part/debug_ui.cpp +++ b/part/debug_ui.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2014 by Frederik Gladhorn * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2014 Frederik Gladhorn + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "debug_ui.h" diff --git a/part/debug_ui.h b/part/debug_ui.h index a66df6829..4397c85f4 100644 --- a/part/debug_ui.h +++ b/part/debug_ui.h @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * Copyright (C) 2014 by Frederik Gladhorn * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + SPDX-FileCopyrightText: 2014 Frederik Gladhorn + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_DEBUG_UI_P_H #define OKULAR_DEBUG_UI_P_H diff --git a/part/dlgaccessibility.cpp b/part/dlgaccessibility.cpp index 8cf7abce0..46ab63209 100644 --- a/part/dlgaccessibility.cpp +++ b/part/dlgaccessibility.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "dlgaccessibility.h" diff --git a/part/dlgaccessibility.h b/part/dlgaccessibility.h index 79c026a29..302475869 100644 --- a/part/dlgaccessibility.h +++ b/part/dlgaccessibility.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _DLGACCESSIBILITY_H #define _DLGACCESSIBILITY_H diff --git a/part/dlgannotations.cpp b/part/dlgannotations.cpp index d52953a47..dbf270f2f 100644 --- a/part/dlgannotations.cpp +++ b/part/dlgannotations.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "dlgannotations.h" diff --git a/part/dlgannotations.h b/part/dlgannotations.h index 7b46bcdc5..b0aa2a3d6 100644 --- a/part/dlgannotations.h +++ b/part/dlgannotations.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _DLGANNOTATIONS_H_ #define _DLGANNOTATIONS_H_ diff --git a/part/dlgdebug.cpp b/part/dlgdebug.cpp index 323c541fa..b00f299be 100644 --- a/part/dlgdebug.cpp +++ b/part/dlgdebug.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "dlgdebug.h" diff --git a/part/dlgdebug.h b/part/dlgdebug.h index 1f2abad95..4bc240a04 100644 --- a/part/dlgdebug.h +++ b/part/dlgdebug.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _DLGDEBUG_H #define _DLGDEBUG_H diff --git a/part/dlgeditor.cpp b/part/dlgeditor.cpp index 80dbaffb4..8abab620c 100644 --- a/part/dlgeditor.cpp +++ b/part/dlgeditor.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "dlgeditor.h" diff --git a/part/dlgeditor.h b/part/dlgeditor.h index 57e961db3..0e892f3c4 100644 --- a/part/dlgeditor.h +++ b/part/dlgeditor.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef DLGEDITOR_H #define DLGEDITOR_H diff --git a/part/dlggeneral.cpp b/part/dlggeneral.cpp index 3652b0744..c558a9ebb 100644 --- a/part/dlggeneral.cpp +++ b/part/dlggeneral.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "dlggeneral.h" diff --git a/part/dlggeneral.h b/part/dlggeneral.h index 11028e55b..3984d5cd7 100644 --- a/part/dlggeneral.h +++ b/part/dlggeneral.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _DLGGENERAL_H #define _DLGGENERAL_H diff --git a/part/dlgperformance.cpp b/part/dlgperformance.cpp index 002ba7666..9cd193dc0 100644 --- a/part/dlgperformance.cpp +++ b/part/dlgperformance.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "dlgperformance.h" diff --git a/part/dlgperformance.h b/part/dlgperformance.h index d47cc926b..c0d8918f8 100644 --- a/part/dlgperformance.h +++ b/part/dlgperformance.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _DLGPERFORMANCE_H #define _DLGPERFORMANCE_H diff --git a/part/dlgpresentation.cpp b/part/dlgpresentation.cpp index 36846a10e..364f7a859 100644 --- a/part/dlgpresentation.cpp +++ b/part/dlgpresentation.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006,2008 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006, 2008 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "dlgpresentation.h" diff --git a/part/dlgpresentation.h b/part/dlgpresentation.h index 4fcfbd20d..ddf3ab9ca 100644 --- a/part/dlgpresentation.h +++ b/part/dlgpresentation.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006,2008 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006, 2008 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _DLGPRESENTATION_H #define _DLGPRESENTATION_H diff --git a/part/drawingtoolactions.cpp b/part/drawingtoolactions.cpp index ab132afc5..3fa4f4148 100644 --- a/part/drawingtoolactions.cpp +++ b/part/drawingtoolactions.cpp @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2015 by Laurent Montel * - * Copyright (C) 2015 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2015 Laurent Montel + SPDX-FileCopyrightText: 2015 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "drawingtoolactions.h" diff --git a/part/drawingtoolactions.h b/part/drawingtoolactions.h index 6f6321074..c083834e8 100644 --- a/part/drawingtoolactions.h +++ b/part/drawingtoolactions.h @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2015 by Laurent Montel * - * Copyright (C) 2015 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2015 Laurent Montel + SPDX-FileCopyrightText: 2015 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef DRAWINGTOOLACTIONS_H #define DRAWINGTOOLACTIONS_H diff --git a/part/editannottooldialog.cpp b/part/editannottooldialog.cpp index 1ef262d2c..4b5df0fa0 100644 --- a/part/editannottooldialog.cpp +++ b/part/editannottooldialog.cpp @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2012 by Fabio D'Urso * - * Copyright (C) 2015 by Laurent Montel * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2012 Fabio D 'Urso + SPDX-FileCopyrightText: 2015 Laurent Montel + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "editannottooldialog.h" diff --git a/part/editannottooldialog.h b/part/editannottooldialog.h index 1cf385ad2..fb9a5832a 100644 --- a/part/editannottooldialog.h +++ b/part/editannottooldialog.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2012 by Fabio D'Urso * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2012 Fabio D 'Urso + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef EDITANNOTTOOLDIALOG_H #define EDITANNOTTOOLDIALOG_H diff --git a/part/editdrawingtooldialog.cpp b/part/editdrawingtooldialog.cpp index a3da9b9dd..925e00261 100644 --- a/part/editdrawingtooldialog.cpp +++ b/part/editdrawingtooldialog.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2015 by Laurent Montel * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2015 Laurent Montel + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "editdrawingtooldialog.h" diff --git a/part/editdrawingtooldialog.h b/part/editdrawingtooldialog.h index 12554c39f..579bede4e 100644 --- a/part/editdrawingtooldialog.h +++ b/part/editdrawingtooldialog.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2015 by Laurent Montel * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2015 Laurent Montel + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef EDITDRAWINGTOOLDIALOG_H #define EDITDRAWINGTOOLDIALOG_H diff --git a/part/embeddedfilesdialog.cpp b/part/embeddedfilesdialog.cpp index be8d255cf..d9fdf7848 100644 --- a/part/embeddedfilesdialog.cpp +++ b/part/embeddedfilesdialog.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "embeddedfilesdialog.h" diff --git a/part/embeddedfilesdialog.h b/part/embeddedfilesdialog.h index 2af063808..581b0fda7 100644 --- a/part/embeddedfilesdialog.h +++ b/part/embeddedfilesdialog.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _EMBEDDEDFILESDIALOG_H_ #define _EMBEDDEDFILESDIALOG_H_ diff --git a/part/extensions.cpp b/part/extensions.cpp index 3656c02be..4d1c8fe26 100644 --- a/part/extensions.cpp +++ b/part/extensions.cpp @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2002 by Wilco Greven * - * Copyright (C) 2008 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2002 Wilco Greven + SPDX-FileCopyrightText: 2008 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "extensions.h" diff --git a/part/extensions.h b/part/extensions.h index 87a72df8a..ef8afb39f 100644 --- a/part/extensions.h +++ b/part/extensions.h @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2002 by Wilco Greven * - * Copyright (C) 2008 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2002 Wilco Greven + SPDX-FileCopyrightText: 2008 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _EXTENSIONS_H_ #define _EXTENSIONS_H_ diff --git a/part/fileprinterpreview.cpp b/part/fileprinterpreview.cpp index 967cb9f48..3c73427d8 100644 --- a/part/fileprinterpreview.cpp +++ b/part/fileprinterpreview.cpp @@ -1,14 +1,11 @@ -/*************************************************************************** - * Copyright (C) 2007 by John Layt * - * * - * FilePrinterPreview based on KPrintPreview (originally LGPL) * - * Copyright (c) 2007 Alex Merry * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 John Layt + + FilePrinterPreview based on KPrintPreview (originally LGPL) + SPDX-FileCopyrightText: 2007 Alex Merry + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "fileprinterpreview.h" diff --git a/part/fileprinterpreview.h b/part/fileprinterpreview.h index f963c5517..19529427e 100644 --- a/part/fileprinterpreview.h +++ b/part/fileprinterpreview.h @@ -1,14 +1,11 @@ -/*************************************************************************** - * Copyright (C) 2007 by John Layt * - * * - * FilePrinterPreview based on KPrintPreview (originally LGPL) * - * Copyright (c) 2007 Alex Merry * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 John Layt + + FilePrinterPreview based on KPrintPreview (originally LGPL) + SPDX-FileCopyrightText: 2007 Alex Merry + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef FILEPRINTERPREVIEW_H #define FILEPRINTERPREVIEW_H diff --git a/part/findbar.cpp b/part/findbar.cpp index 973314d86..5edf72822 100644 --- a/part/findbar.cpp +++ b/part/findbar.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "findbar.h" diff --git a/part/findbar.h b/part/findbar.h index 54cd93d6a..3c5d3e615 100644 --- a/part/findbar.h +++ b/part/findbar.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _FINDBAR_H_ #define _FINDBAR_H_ diff --git a/part/formwidgets.cpp b/part/formwidgets.cpp index 07705cb38..5f8edfb5b 100644 --- a/part/formwidgets.cpp +++ b/part/formwidgets.cpp @@ -1,15 +1,12 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * Copyright (C) 2018 Intevation GmbH * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + SPDX-FileCopyrightText: 2018 Intevation GmbH + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "formwidgets.h" #include "pageviewutils.h" diff --git a/part/formwidgets.h b/part/formwidgets.h index 299add607..ff4dd514a 100644 --- a/part/formwidgets.h +++ b/part/formwidgets.h @@ -1,14 +1,11 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_FORMWIDGETS_H_ #define _OKULAR_FORMWIDGETS_H_ diff --git a/part/guiutils.cpp b/part/guiutils.cpp index 0771f9d72..8ea03abba 100644 --- a/part/guiutils.cpp +++ b/part/guiutils.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006-2007 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006-2007 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "guiutils.h" diff --git a/part/guiutils.h b/part/guiutils.h index 2779a9770..572c71af2 100644 --- a/part/guiutils.h +++ b/part/guiutils.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006-2007 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006-2007 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_GUIUTILS_H #define OKULAR_GUIUTILS_H diff --git a/part/ktreeviewsearchline.cpp b/part/ktreeviewsearchline.cpp index bbf9cfbb3..c2f6201dd 100644 --- a/part/ktreeviewsearchline.cpp +++ b/part/ktreeviewsearchline.cpp @@ -1,22 +1,10 @@ /* - Copyright (c) 2003 Scott Wheeler - Copyright (c) 2005 Rafal Rzepecki - Copyright (c) 2006 Hamish Rodda - Copyright 2007 Pino Toscano + SPDX-FileCopyrightText: 2003 Scott Wheeler + SPDX-FileCopyrightText: 2005 Rafal Rzepecki + SPDX-FileCopyrightText: 2006 Hamish Rodda + SPDX-FileCopyrightText: 2007 Pino Toscano - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. + SPDX-License-Identifier: LGPL-2.0-only */ #include "ktreeviewsearchline.h" diff --git a/part/ktreeviewsearchline.h b/part/ktreeviewsearchline.h index 937c456c8..434fb9c93 100644 --- a/part/ktreeviewsearchline.h +++ b/part/ktreeviewsearchline.h @@ -1,22 +1,10 @@ /* - Copyright (c) 2003 Scott Wheeler - Copyright (c) 2005 Rafal Rzepecki - Copyright (c) 2006 Hamish Rodda - Copyright 2007 Pino Toscano + SPDX-FileCopyrightText: 2003 Scott Wheeler + SPDX-FileCopyrightText: 2005 Rafal Rzepecki + SPDX-FileCopyrightText: 2006 Hamish Rodda + SPDX-FileCopyrightText: 2007 Pino Toscano - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. + SPDX-License-Identifier: LGPL-2.0-only */ #ifndef KTREEVIEWSEARCHLINE_H diff --git a/part/latexrenderer.cpp b/part/latexrenderer.cpp index 02ba24494..07c9af417 100644 --- a/part/latexrenderer.cpp +++ b/part/latexrenderer.cpp @@ -1,14 +1,11 @@ -/*************************************************************************** - * Copyright (C) 2004 by Duncan Mac-Vicar Prett * - * Copyright (C) 2004-2005 by Olivier Goffart * - * Copyright (C) 2011 by Niels Ole Salscheider * - * * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004 Duncan Mac-Vicar Prett + SPDX-FileCopyrightText: 2004-2005 Olivier Goffart + SPDX-FileCopyrightText: 2011 Niels Ole Salscheider + + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "latexrenderer.h" diff --git a/part/latexrenderer.h b/part/latexrenderer.h index c3f981d4f..07b128631 100644 --- a/part/latexrenderer.h +++ b/part/latexrenderer.h @@ -1,14 +1,11 @@ -/*************************************************************************** - * Copyright (C) 2004 by Duncan Mac-Vicar Prett * - * Copyright (C) 2004-2005 by Olivier Goffart * - * Copyright (C) 2011 by Niels Ole Salscheider * - * * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004 Duncan Mac-Vicar Prett + SPDX-FileCopyrightText: 2004-2005 Olivier Goffart + SPDX-FileCopyrightText: 2011 Niels Ole Salscheider + + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef LATEXRENDERER_H #define LATEXRENDERER_H diff --git a/part/layers.cpp b/part/layers.cpp index e58d7a057..476a9f3a1 100644 --- a/part/layers.cpp +++ b/part/layers.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2015 by Saheb Preet Singh * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2015 Saheb Preet Singh + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "layers.h" #include "settings.h" diff --git a/part/layers.h b/part/layers.h index e3eedc446..c9c564b42 100644 --- a/part/layers.h +++ b/part/layers.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2015 by Saheb Preet Singh * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2015 Saheb Preet Singh + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_LAYERS_H_ #define _OKULAR_LAYERS_H_ diff --git a/part/magnifierview.cpp b/part/magnifierview.cpp index 36694c027..52d8bd43e 100644 --- a/part/magnifierview.cpp +++ b/part/magnifierview.cpp @@ -1,21 +1,7 @@ /* - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License or (at your option) version 3 or any later version - * accepted by the membership of KDE e.V. (or its successor approved - * by the membership of KDE e.V.), which shall act as a proxy - * defined in Section 14 of version 3 of the license. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - * - */ + SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL + +*/ #include "magnifierview.h" diff --git a/part/magnifierview.h b/part/magnifierview.h index 4a423ad78..b0b64559c 100644 --- a/part/magnifierview.h +++ b/part/magnifierview.h @@ -1,21 +1,7 @@ /* - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License or (at your option) version 3 or any later version - * accepted by the membership of KDE e.V. (or its successor approved - * by the membership of KDE e.V.), which shall act as a proxy - * defined in Section 14 of version 3 of the license. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - * - */ + SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL + +*/ #ifndef MAGNIFIERVIEW_H #define MAGNIFIERVIEW_H diff --git a/part/minibar.cpp b/part/minibar.cpp index 4c511e866..6d6550df4 100644 --- a/part/minibar.cpp +++ b/part/minibar.cpp @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2005 by Enrico Ros * - * Copyright (C) 2006 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2005 Enrico Ros + SPDX-FileCopyrightText: 2006 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "minibar.h" diff --git a/part/minibar.h b/part/minibar.h index c98f0afc5..6a25944a2 100644 --- a/part/minibar.h +++ b/part/minibar.h @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2005 by Enrico Ros * - * Copyright (C) 2006 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2005 Enrico Ros + SPDX-FileCopyrightText: 2006 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_MINIBAR_H_ #define _OKULAR_MINIBAR_H_ diff --git a/part/okmenutitle.cpp b/part/okmenutitle.cpp index 405116694..e802f872d 100644 --- a/part/okmenutitle.cpp +++ b/part/okmenutitle.cpp @@ -1,18 +1,6 @@ /* This file was part of the KDE libraries (copied partially from kmenu.cpp) - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. + SPDX-License-Identifier: LGPL-2.0-only */ #include "okmenutitle.h" diff --git a/part/okmenutitle.h b/part/okmenutitle.h index db170352a..37761ece7 100644 --- a/part/okmenutitle.h +++ b/part/okmenutitle.h @@ -1,18 +1,6 @@ /* This file was part of the KDE libraries (copied partially from kmenu.cpp) - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. + SPDX-License-Identifier: LGPL-2.0-only */ #ifndef OKMENUTITLE_H diff --git a/part/pageitemdelegate.cpp b/part/pageitemdelegate.cpp index 93a7f7f85..4da4017cc 100644 --- a/part/pageitemdelegate.cpp +++ b/part/pageitemdelegate.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "pageitemdelegate.h" diff --git a/part/pageitemdelegate.h b/part/pageitemdelegate.h index d10d5107c..8ddc4e663 100644 --- a/part/pageitemdelegate.h +++ b/part/pageitemdelegate.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef PAGEITEMDELEGATE_H #define PAGEITEMDELEGATE_H diff --git a/part/pagepainter.cpp b/part/pagepainter.cpp index ddc74d6ac..b2bc95d52 100644 --- a/part/pagepainter.cpp +++ b/part/pagepainter.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2005 by Enrico Ros * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2005 Enrico Ros + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "pagepainter.h" diff --git a/part/pagepainter.h b/part/pagepainter.h index 8f98be6b0..f9c7dd109 100644 --- a/part/pagepainter.h +++ b/part/pagepainter.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2005 by Enrico Ros * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2005 Enrico Ros + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_PAGEPAINTER_H_ #define _OKULAR_PAGEPAINTER_H_ diff --git a/part/pagesizelabel.cpp b/part/pagesizelabel.cpp index fe3c3efbc..a03c91273 100644 --- a/part/pagesizelabel.cpp +++ b/part/pagesizelabel.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "pagesizelabel.h" diff --git a/part/pagesizelabel.h b/part/pagesizelabel.h index 1e2c83b4b..0178144de 100644 --- a/part/pagesizelabel.h +++ b/part/pagesizelabel.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2006 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2006 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_PAGESIZELABEL_H_ #define _OKULAR_PAGESIZELABEL_H_ diff --git a/part/pageview.cpp b/part/pageview.cpp index 97333b9a1..89bf9375d 100644 --- a/part/pageview.cpp +++ b/part/pageview.cpp @@ -1,24 +1,21 @@ -/*************************************************************************** - * Copyright (C) 2004-2005 by Enrico Ros * - * Copyright (C) 2004-2006 by Albert Astals Cid * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * * - * With portions of code from kpdf/kpdf_pagewidget.cc by: * - * Copyright (C) 2002 by Wilco Greven * - * Copyright (C) 2003 by Christophe Devriese * - * * - * Copyright (C) 2003 by Laurent Montel * - * Copyright (C) 2003 by Dirk Mueller * - * Copyright (C) 2004 by James Ots * - * Copyright (C) 2011 by Jiri Baum - NICTA * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004-2005 Enrico Ros + SPDX-FileCopyrightText: 2004-2006 Albert Astals Cid + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + + With portions of code from kpdf/kpdf_pagewidget.cc by: + SPDX-FileCopyrightText: 2002 Wilco Greven + SPDX-FileCopyrightText: 2003 Christophe Devriese + + SPDX-FileCopyrightText: 2003 Laurent Montel + SPDX-FileCopyrightText: 2003 Dirk Mueller + SPDX-FileCopyrightText: 2004 James Ots + SPDX-FileCopyrightText: 2011 Jiri Baum - NICTA + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "pageview.h" diff --git a/part/pageview.h b/part/pageview.h index 44dad6d52..8dcc91a0f 100644 --- a/part/pageview.h +++ b/part/pageview.h @@ -1,22 +1,19 @@ -/*************************************************************************** - * Copyright (C) 2004 by Enrico Ros * - * Copyright (C) 2004 by Albert Astals Cid * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * * - * With portions of code from kpdf/kpdf_pagewidget.h by: * - * Copyright (C) 2002 by Wilco Greven * - * Copyright (C) 2003 by Christophe Devriese * - * * - * Copyright (C) 2003 by Laurent Montel * - * Copyright (C) 2003 by Kurt Pfeifle * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004 Enrico Ros + SPDX-FileCopyrightText: 2004 Albert Astals Cid + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + + With portions of code from kpdf/kpdf_pagewidget.h by: + SPDX-FileCopyrightText: 2002 Wilco Greven + SPDX-FileCopyrightText: 2003 Christophe Devriese + + SPDX-FileCopyrightText: 2003 Laurent Montel + SPDX-FileCopyrightText: 2003 Kurt Pfeifle + + SPDX-License-Identifier: GPL-2.0-or-later +*/ // This file follows coding style described in kdebase/kicker/HACKING #ifndef _OKULAR_PAGEVIEW_H_ diff --git a/part/pageviewannotator.cpp b/part/pageviewannotator.cpp index a6d55bdc9..ae5ec25b6 100644 --- a/part/pageviewannotator.cpp +++ b/part/pageviewannotator.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2005 by Enrico Ros * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2005 Enrico Ros + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "pageviewannotator.h" diff --git a/part/pageviewannotator.h b/part/pageviewannotator.h index e553f330e..f9a85bafa 100644 --- a/part/pageviewannotator.h +++ b/part/pageviewannotator.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2005 by Enrico Ros * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2005 Enrico Ros + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_PAGEVIEWANNOTATOR_H_ #define _OKULAR_PAGEVIEWANNOTATOR_H_ diff --git a/part/pageviewmouseannotation.cpp b/part/pageviewmouseannotation.cpp index c7b5e6287..0c6bfa808 100644 --- a/part/pageviewmouseannotation.cpp +++ b/part/pageviewmouseannotation.cpp @@ -1,25 +1,22 @@ -/*************************************************************************** - * Copyright (C) 2017 by Tobias Deiminger * - * Copyright (C) 2004-2005 by Enrico Ros * - * Copyright (C) 2004-2006 by Albert Astals Cid * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * * - * With portions of code from kpdf/kpdf_pagewidget.cc by: * - * Copyright (C) 2002 by Wilco Greven * - * Copyright (C) 2003 by Christophe Devriese * - * * - * Copyright (C) 2003 by Laurent Montel * - * Copyright (C) 2003 by Dirk Mueller * - * Copyright (C) 2004 by James Ots * - * Copyright (C) 2011 by Jiri Baum - NICTA * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2017 Tobias Deiminger + SPDX-FileCopyrightText: 2004-2005 Enrico Ros + SPDX-FileCopyrightText: 2004-2006 Albert Astals Cid + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + + With portions of code from kpdf/kpdf_pagewidget.cc by: + SPDX-FileCopyrightText: 2002 Wilco Greven + SPDX-FileCopyrightText: 2003 Christophe Devriese + + SPDX-FileCopyrightText: 2003 Laurent Montel + SPDX-FileCopyrightText: 2003 Dirk Mueller + SPDX-FileCopyrightText: 2004 James Ots + SPDX-FileCopyrightText: 2011 Jiri Baum - NICTA + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "pageviewmouseannotation.h" diff --git a/part/pageviewmouseannotation.h b/part/pageviewmouseannotation.h index 859dd95df..2172bb23d 100644 --- a/part/pageviewmouseannotation.h +++ b/part/pageviewmouseannotation.h @@ -1,25 +1,22 @@ -/*************************************************************************** - * Copyright (C) 2017 by Tobias Deiminger * - * Copyright (C) 2004-2005 by Enrico Ros * - * Copyright (C) 2004-2006 by Albert Astals Cid * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * * - * With portions of code from kpdf/kpdf_pagewidget.cc by: * - * Copyright (C) 2002 by Wilco Greven * - * Copyright (C) 2003 by Christophe Devriese * - * * - * Copyright (C) 2003 by Laurent Montel * - * Copyright (C) 2003 by Dirk Mueller * - * Copyright (C) 2004 by James Ots * - * Copyright (C) 2011 by Jiri Baum - NICTA * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2017 Tobias Deiminger + SPDX-FileCopyrightText: 2004-2005 Enrico Ros + SPDX-FileCopyrightText: 2004-2006 Albert Astals Cid + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + + With portions of code from kpdf/kpdf_pagewidget.cc by: + SPDX-FileCopyrightText: 2002 Wilco Greven + SPDX-FileCopyrightText: 2003 Christophe Devriese + + SPDX-FileCopyrightText: 2003 Laurent Montel + SPDX-FileCopyrightText: 2003 Dirk Mueller + SPDX-FileCopyrightText: 2004 James Ots + SPDX-FileCopyrightText: 2011 Jiri Baum - NICTA + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_PAGEVIEWMOUSEANNOTATION_H_ #define _OKULAR_PAGEVIEWMOUSEANNOTATION_H_ diff --git a/part/pageviewutils.cpp b/part/pageviewutils.cpp index 39f295b64..97867f590 100644 --- a/part/pageviewutils.cpp +++ b/part/pageviewutils.cpp @@ -1,14 +1,11 @@ -/*************************************************************************** - * Copyright (C) 2004-2005 by Enrico Ros * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004-2005 Enrico Ros + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "pageviewutils.h" diff --git a/part/pageviewutils.h b/part/pageviewutils.h index f71169e7a..43b2f1ad5 100644 --- a/part/pageviewutils.h +++ b/part/pageviewutils.h @@ -1,14 +1,11 @@ -/*************************************************************************** - * Copyright (C) 2004-2005 by Enrico Ros * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004-2005 Enrico Ros + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _PAGEVIEW_UTILS_H_ #define _PAGEVIEW_UTILS_H_ diff --git a/part/part.cpp b/part/part.cpp index 0ac2a7f5e..035a0a3b6 100644 --- a/part/part.cpp +++ b/part/part.cpp @@ -1,28 +1,25 @@ -/*************************************************************************** - * Copyright (C) 2002 by Wilco Greven * - * Copyright (C) 2002 by Chris Cheney * - * Copyright (C) 2002 by Malcolm Hunter * - * Copyright (C) 2003-2004 by Christophe Devriese * - * * - * Copyright (C) 2003 by Daniel Molkentin * - * Copyright (C) 2003 by Andy Goossens * - * Copyright (C) 2003 by Dirk Mueller * - * Copyright (C) 2003 by Laurent Montel * - * Copyright (C) 2004 by Dominique Devriese * - * Copyright (C) 2004 by Christoph Cullmann * - * Copyright (C) 2004 by Henrique Pinto * - * Copyright (C) 2004 by Waldo Bastian * - * Copyright (C) 2004-2008 by Albert Astals Cid * - * Copyright (C) 2004 by Antti Markus * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2002 Wilco Greven + SPDX-FileCopyrightText: 2002 Chris Cheney + SPDX-FileCopyrightText: 2002 Malcolm Hunter + SPDX-FileCopyrightText: 2003-2004 Christophe Devriese + + SPDX-FileCopyrightText: 2003 Daniel Molkentin + SPDX-FileCopyrightText: 2003 Andy Goossens + SPDX-FileCopyrightText: 2003 Dirk Mueller + SPDX-FileCopyrightText: 2003 Laurent Montel + SPDX-FileCopyrightText: 2004 Dominique Devriese + SPDX-FileCopyrightText: 2004 Christoph Cullmann + SPDX-FileCopyrightText: 2004 Henrique Pinto + SPDX-FileCopyrightText: 2004 Waldo Bastian + SPDX-FileCopyrightText: 2004-2008 Albert Astals Cid + SPDX-FileCopyrightText: 2004 Antti Markus + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "part.h" diff --git a/part/part.h b/part/part.h index 9adbf1eb6..0e61c426c 100644 --- a/part/part.h +++ b/part/part.h @@ -1,20 +1,17 @@ -/*************************************************************************** - * Copyright (C) 2002 by Wilco Greven * - * Copyright (C) 2003-2004 by Christophe Devriese * - * * - * Copyright (C) 2003 by Andy Goossens * - * Copyright (C) 2003 by Laurent Montel * - * Copyright (C) 2004 by Dominique Devriese * - * Copyright (C) 2004-2007 by Albert Astals Cid * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2002 Wilco Greven + SPDX-FileCopyrightText: 2003-2004 Christophe Devriese + + SPDX-FileCopyrightText: 2003 Andy Goossens + SPDX-FileCopyrightText: 2003 Laurent Montel + SPDX-FileCopyrightText: 2004 Dominique Devriese + SPDX-FileCopyrightText: 2004-2007 Albert Astals Cid + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _PART_H_ #define _PART_H_ diff --git a/part/preferencesdialog.cpp b/part/preferencesdialog.cpp index 6e3d7279d..217b62479 100644 --- a/part/preferencesdialog.cpp +++ b/part/preferencesdialog.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2004 by Enrico Ros * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004 Enrico Ros + + SPDX-License-Identifier: GPL-2.0-or-later +*/ // reimplementing this #include "preferencesdialog.h" diff --git a/part/preferencesdialog.h b/part/preferencesdialog.h index 79a768716..bc57a04f7 100644 --- a/part/preferencesdialog.h +++ b/part/preferencesdialog.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2004 by Enrico Ros * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004 Enrico Ros + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _PREFERENCESDIALOG_H #define _PREFERENCESDIALOG_H diff --git a/part/presentationsearchbar.cpp b/part/presentationsearchbar.cpp index 91d17ea7c..8f14603aa 100644 --- a/part/presentationsearchbar.cpp +++ b/part/presentationsearchbar.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "presentationsearchbar.h" diff --git a/part/presentationsearchbar.h b/part/presentationsearchbar.h index c1d3163dd..92c554a3e 100644 --- a/part/presentationsearchbar.h +++ b/part/presentationsearchbar.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_PRESENTATIONSEARCHBAR_H_ #define _OKULAR_PRESENTATIONSEARCHBAR_H_ diff --git a/part/presentationwidget.cpp b/part/presentationwidget.cpp index b7b8b0229..d8057c087 100644 --- a/part/presentationwidget.cpp +++ b/part/presentationwidget.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2004 by Enrico Ros * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004 Enrico Ros + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "presentationwidget.h" diff --git a/part/presentationwidget.h b/part/presentationwidget.h index a2ed4e4e0..4c3036f16 100644 --- a/part/presentationwidget.h +++ b/part/presentationwidget.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2004 by Enrico Ros * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004 Enrico Ros + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_PRESENTATIONWIDGET_H_ #define _OKULAR_PRESENTATIONWIDGET_H_ diff --git a/part/priorities.h b/part/priorities.h index a3cf2ff36..84d97f9fa 100644 --- a/part/priorities.h +++ b/part/priorities.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2013 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef PRIORITIES_H #define PRIORITIES_H diff --git a/part/propertiesdialog.cpp b/part/propertiesdialog.cpp index 08c25a8e3..93d948874 100644 --- a/part/propertiesdialog.cpp +++ b/part/propertiesdialog.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2004 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "propertiesdialog.h" diff --git a/part/propertiesdialog.h b/part/propertiesdialog.h index fd537b26b..9df89d964 100644 --- a/part/propertiesdialog.h +++ b/part/propertiesdialog.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2004 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _PROPERTIESDIALOG_H_ #define _PROPERTIESDIALOG_H_ diff --git a/part/revisionviewer.cpp b/part/revisionviewer.cpp index ccef3bb43..979bf9ae8 100644 --- a/part/revisionviewer.cpp +++ b/part/revisionviewer.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2018 by Chinmoy Ranjan Pradhan * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Chinmoy Ranjan Pradhan + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "revisionviewer.h" diff --git a/part/revisionviewer.h b/part/revisionviewer.h index f22f01367..00e4bfe9d 100644 --- a/part/revisionviewer.h +++ b/part/revisionviewer.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2018 by Chinmoy Ranjan Pradhan * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Chinmoy Ranjan Pradhan + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_REVISIONVIEWER_H #define OKULAR_REVISIONVIEWER_H diff --git a/part/searchlineedit.cpp b/part/searchlineedit.cpp index e54b3d5c4..1580e2944 100644 --- a/part/searchlineedit.cpp +++ b/part/searchlineedit.cpp @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2004 by Enrico Ros * - * Copyright (C) 2007, 2009-2010 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004 Enrico Ros + SPDX-FileCopyrightText: 2007, 2009-2010 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "searchlineedit.h" diff --git a/part/searchlineedit.h b/part/searchlineedit.h index 62b55bd71..6f792cd33 100644 --- a/part/searchlineedit.h +++ b/part/searchlineedit.h @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2004 by Enrico Ros * - * Copyright (C) 2007, 2009-2010 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004 Enrico Ros + SPDX-FileCopyrightText: 2007, 2009-2010 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_SEARCHLINEEDIT_H_ #define _OKULAR_SEARCHLINEEDIT_H_ diff --git a/part/searchwidget.cpp b/part/searchwidget.cpp index 001850810..dbbb3f248 100644 --- a/part/searchwidget.cpp +++ b/part/searchwidget.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2004 by Enrico Ros * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004 Enrico Ros + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "searchwidget.h" diff --git a/part/searchwidget.h b/part/searchwidget.h index 2958fbe0a..615dc4ef3 100644 --- a/part/searchwidget.h +++ b/part/searchwidget.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2004 by Enrico Ros * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004 Enrico Ros + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_SEARCHWIDGET_H_ #define _OKULAR_SEARCHWIDGET_H_ diff --git a/part/side_reviews.cpp b/part/side_reviews.cpp index 374cb24db..caae9d7a6 100644 --- a/part/side_reviews.cpp +++ b/part/side_reviews.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2005 by Enrico Ros * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2005 Enrico Ros + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "side_reviews.h" diff --git a/part/side_reviews.h b/part/side_reviews.h index 1cc91b025..dcf084640 100644 --- a/part/side_reviews.h +++ b/part/side_reviews.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2005 by Enrico Ros * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2005 Enrico Ros + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_SIDE_REVIEWS_H_ #define _OKULAR_SIDE_REVIEWS_H_ diff --git a/part/sidebar.cpp b/part/sidebar.cpp index bf43ae145..b9904c994 100644 --- a/part/sidebar.cpp +++ b/part/sidebar.cpp @@ -1,12 +1,9 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * Copyright (C) 2009 by Eike Hein * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + SPDX-FileCopyrightText: 2009 Eike Hein + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "sidebar.h" diff --git a/part/sidebar.h b/part/sidebar.h index 7f56da956..e2d392b52 100644 --- a/part/sidebar.h +++ b/part/sidebar.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _SIDEBAR_H_ #define _SIDEBAR_H_ diff --git a/part/signatureguiutils.cpp b/part/signatureguiutils.cpp index 0a8fe1f9d..0adc71cbd 100644 --- a/part/signatureguiutils.cpp +++ b/part/signatureguiutils.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2018 by Chinmoy Ranjan Pradhan * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Chinmoy Ranjan Pradhan + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "signatureguiutils.h" diff --git a/part/signatureguiutils.h b/part/signatureguiutils.h index 19ead728d..4af897167 100644 --- a/part/signatureguiutils.h +++ b/part/signatureguiutils.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2018 by Chinmoy Ranjan Pradhan * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Chinmoy Ranjan Pradhan + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_SIGNATUREGUIUTILS_H #define OKULAR_SIGNATUREGUIUTILS_H diff --git a/part/signaturemodel.cpp b/part/signaturemodel.cpp index 56af321f2..89d9ea9cd 100644 --- a/part/signaturemodel.cpp +++ b/part/signaturemodel.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2018 by Chinmoy Ranjan Pradhan * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Chinmoy Ranjan Pradhan + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "signaturepanel.h" diff --git a/part/signaturepanel.h b/part/signaturepanel.h index cea4e2532..457a50adf 100644 --- a/part/signaturepanel.h +++ b/part/signaturepanel.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2018 by Chinmoy Ranjan Pradhan * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Chinmoy Ranjan Pradhan + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_SIGNATUREPANEL_H #define OKULAR_SIGNATUREPANEL_H diff --git a/part/signaturepropertiesdialog.cpp b/part/signaturepropertiesdialog.cpp index 7c5e20182..4604c570a 100644 --- a/part/signaturepropertiesdialog.cpp +++ b/part/signaturepropertiesdialog.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2018 by Chinmoy Ranjan Pradhan * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Chinmoy Ranjan Pradhan + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "signaturepropertiesdialog.h" diff --git a/part/signaturepropertiesdialog.h b/part/signaturepropertiesdialog.h index 77d24b9a0..1d2d498f0 100644 --- a/part/signaturepropertiesdialog.h +++ b/part/signaturepropertiesdialog.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2018 by Chinmoy Ranjan Pradhan * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Chinmoy Ranjan Pradhan + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_SIGNATUREPROPERTIESDIALOG_H #define OKULAR_SIGNATUREPROPERTIESDIALOG_H diff --git a/part/snapshottaker.cpp b/part/snapshottaker.cpp index 83e1f1e91..11276264a 100644 --- a/part/snapshottaker.cpp +++ b/part/snapshottaker.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2012 by Tobias Koening * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2012 Tobias Koening + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "snapshottaker.h" diff --git a/part/snapshottaker.h b/part/snapshottaker.h index ae479fe44..38251439d 100644 --- a/part/snapshottaker.h +++ b/part/snapshottaker.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2012 by Tobias Koening * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2012 Tobias Koening + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef SNAPSHOTTAKER_H #define SNAPSHOTTAKER_H diff --git a/part/thumbnaillist.cpp b/part/thumbnaillist.cpp index 45728d9c8..850e23c79 100644 --- a/part/thumbnaillist.cpp +++ b/part/thumbnaillist.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2004-2006 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004-2006 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "thumbnaillist.h" diff --git a/part/thumbnaillist.h b/part/thumbnaillist.h index 4bdebf680..1e6f8546f 100644 --- a/part/thumbnaillist.h +++ b/part/thumbnaillist.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2004 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_THUMBNAILLIST_H_ #define _OKULAR_THUMBNAILLIST_H_ diff --git a/part/toc.cpp b/part/toc.cpp index 7bd2f7500..b17c5f5b5 100644 --- a/part/toc.cpp +++ b/part/toc.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2004-2006 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004-2006 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "toc.h" diff --git a/part/toc.h b/part/toc.h index 3ce694d14..4bd0c4037 100644 --- a/part/toc.h +++ b/part/toc.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2004-2006 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2004-2006 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_TOC_H_ #define _OKULAR_TOC_H_ diff --git a/part/tocmodel.cpp b/part/tocmodel.cpp index 32ab3a83d..9ec712493 100644 --- a/part/tocmodel.cpp +++ b/part/tocmodel.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "tocmodel.h" diff --git a/part/tocmodel.h b/part/tocmodel.h index c82ba863e..e76a80404 100644 --- a/part/tocmodel.h +++ b/part/tocmodel.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2007 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2007 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef TOCMODEL_H #define TOCMODEL_H diff --git a/part/toggleactionmenu.cpp b/part/toggleactionmenu.cpp index 58377f60d..03977b217 100644 --- a/part/toggleactionmenu.cpp +++ b/part/toggleactionmenu.cpp @@ -1,14 +1,11 @@ -/*************************************************************************** - * Copyright (C) 2019-2021 by David Hurka * - * * - * Inspired by and replacing toolaction.h by: * - * Copyright (C) 2004-2006 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2019-2021 David Hurka + + Inspired by and replacing toolaction.h by: + SPDX-FileCopyrightText: 2004-2006 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "toggleactionmenu.h" diff --git a/part/toggleactionmenu.h b/part/toggleactionmenu.h index d6c51cb07..1a7c56263 100644 --- a/part/toggleactionmenu.h +++ b/part/toggleactionmenu.h @@ -1,14 +1,11 @@ -/*************************************************************************** - * Copyright (C) 2019-2021 by David Hurka * - * * - * Inspired by and replacing toolaction.h by: * - * Copyright (C) 2004-2006 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2019-2021 David Hurka + + Inspired by and replacing toolaction.h by: + SPDX-FileCopyrightText: 2004-2006 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef TOGGLEACTIONMENU_H #define TOGGLEACTIONMENU_H diff --git a/part/tts.cpp b/part/tts.cpp index ede555b0a..81f75c547 100644 --- a/part/tts.cpp +++ b/part/tts.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "tts.h" diff --git a/part/tts.h b/part/tts.h index b31af9262..e20bafce3 100644 --- a/part/tts.h +++ b/part/tts.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _TTS_H_ #define _TTS_H_ diff --git a/part/url_utils.h b/part/url_utils.h index 1bcab028d..6ac137294 100644 --- a/part/url_utils.h +++ b/part/url_utils.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2013 Jaydeep Solanki * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2013 Jaydeep Solanki + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef URL_UTILS_H #define URL_UTILS_H diff --git a/part/videowidget.cpp b/part/videowidget.cpp index d6197b4c7..c63c54895 100644 --- a/part/videowidget.cpp +++ b/part/videowidget.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "videowidget.h" diff --git a/part/videowidget.h b/part/videowidget.h index 2463b77f3..6afd37ad4 100644 --- a/part/videowidget.h +++ b/part/videowidget.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2008 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_VIDEOWIDGET_H_ #define _OKULAR_VIDEOWIDGET_H_ diff --git a/part/widgetannottools.cpp b/part/widgetannottools.cpp index 5dfb55dd2..51bba11d4 100644 --- a/part/widgetannottools.cpp +++ b/part/widgetannottools.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2012 by Fabio D'Urso * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2012 Fabio D 'Urso + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "widgetannottools.h" #include "editannottooldialog.h" diff --git a/part/widgetannottools.h b/part/widgetannottools.h index 7c025a7c2..cfb32707d 100644 --- a/part/widgetannottools.h +++ b/part/widgetannottools.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2012 by Fabio D'Urso * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2012 Fabio D 'Urso + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _WIDGETANNOTTOOLS_H_ #define _WIDGETANNOTTOOLS_H_ diff --git a/part/widgetconfigurationtoolsbase.cpp b/part/widgetconfigurationtoolsbase.cpp index 641967f49..cd82639a2 100644 --- a/part/widgetconfigurationtoolsbase.cpp +++ b/part/widgetconfigurationtoolsbase.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2015 by Laurent Montel * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2015 Laurent Montel + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "widgetconfigurationtoolsbase.h" diff --git a/part/widgetconfigurationtoolsbase.h b/part/widgetconfigurationtoolsbase.h index 93dc11ad4..011b99f07 100644 --- a/part/widgetconfigurationtoolsbase.h +++ b/part/widgetconfigurationtoolsbase.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2015 by Laurent Montel * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2015 Laurent Montel + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef WIDGETCONFIGURATIONTOOLSBASE_H #define WIDGETCONFIGURATIONTOOLSBASE_H diff --git a/part/widgetdrawingtools.cpp b/part/widgetdrawingtools.cpp index 5124b7b8b..dd462db24 100644 --- a/part/widgetdrawingtools.cpp +++ b/part/widgetdrawingtools.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2015 by Laurent Montel * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2015 Laurent Montel + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "widgetdrawingtools.h" diff --git a/part/widgetdrawingtools.h b/part/widgetdrawingtools.h index 03c940d75..0987da6b2 100644 --- a/part/widgetdrawingtools.h +++ b/part/widgetdrawingtools.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2015 by Laurent Montel * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2015 Laurent Montel + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef WIDGETDRAWINGTOOLS_H #define WIDGETDRAWINGTOOLS_H diff --git a/part/xmlgui_helper.cpp b/part/xmlgui_helper.cpp index 9a80fa12f..1d5d15da3 100644 --- a/part/xmlgui_helper.cpp +++ b/part/xmlgui_helper.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2020 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2020 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "xmlgui_helper.h" diff --git a/part/xmlgui_helper.h b/part/xmlgui_helper.h index 221dbc60c..291fa4be3 100644 --- a/part/xmlgui_helper.h +++ b/part/xmlgui_helper.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2020 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2020 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include diff --git a/shell/main.cpp b/shell/main.cpp index 1397c4fe7..0be6ae340 100644 --- a/shell/main.cpp +++ b/shell/main.cpp @@ -1,16 +1,13 @@ -/*************************************************************************** - * Copyright (C) 2002 by Wilco Greven * - * Copyright (C) 2003 by Christophe Devriese * - * * - * Copyright (C) 2003 by Laurent Montel * - * Copyright (C) 2003-2007 by Albert Astals Cid * - * Copyright (C) 2004 by Andy Goossens * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2002 Wilco Greven + SPDX-FileCopyrightText: 2003 Christophe Devriese + + SPDX-FileCopyrightText: 2003 Laurent Montel + SPDX-FileCopyrightText: 2003-2007 Albert Astals Cid + SPDX-FileCopyrightText: 2004 Andy Goossens + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "shell.h" diff --git a/shell/okular_main.cpp b/shell/okular_main.cpp index 8df7f7d19..1fd12d99f 100644 --- a/shell/okular_main.cpp +++ b/shell/okular_main.cpp @@ -1,16 +1,13 @@ -/*************************************************************************** - * Copyright (C) 2002 by Wilco Greven * - * Copyright (C) 2003 by Christophe Devriese * - * * - * Copyright (C) 2003 by Laurent Montel * - * Copyright (C) 2003-2007 by Albert Astals Cid * - * Copyright (C) 2004 by Andy Goossens * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2002 Wilco Greven + SPDX-FileCopyrightText: 2003 Christophe Devriese + + SPDX-FileCopyrightText: 2003 Laurent Montel + SPDX-FileCopyrightText: 2003-2007 Albert Astals Cid + SPDX-FileCopyrightText: 2004 Andy Goossens + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "okular_main.h" diff --git a/shell/okular_main.h b/shell/okular_main.h index 445a8cc0e..31c2a8b53 100644 --- a/shell/okular_main.h +++ b/shell/okular_main.h @@ -1,16 +1,13 @@ -/*************************************************************************** - * Copyright (C) 2002 by Wilco Greven * - * Copyright (C) 2003 by Christophe Devriese * - * * - * Copyright (C) 2003 by Laurent Montel * - * Copyright (C) 2003-2007 by Albert Astals Cid * - * Copyright (C) 2004 by Andy Goossens * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2002 Wilco Greven + SPDX-FileCopyrightText: 2003 Christophe Devriese + + SPDX-FileCopyrightText: 2003 Laurent Montel + SPDX-FileCopyrightText: 2003-2007 Albert Astals Cid + SPDX-FileCopyrightText: 2004 Andy Goossens + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_MAIN_H_ #define _OKULAR_MAIN_H_ diff --git a/shell/shell.cpp b/shell/shell.cpp index bd8bc8359..30e93b201 100644 --- a/shell/shell.cpp +++ b/shell/shell.cpp @@ -1,24 +1,21 @@ -/*************************************************************************** - * Copyright (C) 2002 by Wilco Greven * - * Copyright (C) 2002 by Chris Cheney * - * Copyright (C) 2003 by Benjamin Meyer * - * Copyright (C) 2003-2004 by Christophe Devriese * - * * - * Copyright (C) 2003 by Laurent Montel * - * Copyright (C) 2003-2004 by Albert Astals Cid * - * Copyright (C) 2003 by Luboš Luňák * - * Copyright (C) 2003 by Malcolm Hunter * - * Copyright (C) 2004 by Dominique Devriese * - * Copyright (C) 2004 by Dirk Mueller * - * Copyright (C) 2017 Klarälvdalens Datakonsult AB, a KDAB Group * - * company, info@kdab.com. Work sponsored by the * - * LiMux project of the city of Munich * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2002 Wilco Greven + SPDX-FileCopyrightText: 2002 Chris Cheney + SPDX-FileCopyrightText: 2003 Benjamin Meyer + SPDX-FileCopyrightText: 2003-2004 Christophe Devriese + + SPDX-FileCopyrightText: 2003 Laurent Montel + SPDX-FileCopyrightText: 2003-2004 Albert Astals Cid + SPDX-FileCopyrightText: 2003 Luboš Luňák + SPDX-FileCopyrightText: 2003 Malcolm Hunter + SPDX-FileCopyrightText: 2004 Dominique Devriese + SPDX-FileCopyrightText: 2004 Dirk Mueller + SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group + company, info@kdab.com. Work sponsored by the + LiMux project of the city of Munich + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "shell.h" diff --git a/shell/shell.h b/shell/shell.h index 4cc12fa98..f2d448a9b 100644 --- a/shell/shell.h +++ b/shell/shell.h @@ -1,17 +1,14 @@ -/*************************************************************************** - * Copyright (C) 2002 by Wilco Greven * - * Copyright (C) 2003 by Benjamin Meyer * - * Copyright (C) 2003 by Laurent Montel * - * Copyright (C) 2003 by Luboš Luňák * - * Copyright (C) 2004 by Christophe Devriese * - * * - * Copyright (C) 2004 by Albert Astals Cid * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2002 Wilco Greven + SPDX-FileCopyrightText: 2003 Benjamin Meyer + SPDX-FileCopyrightText: 2003 Laurent Montel + SPDX-FileCopyrightText: 2003 Luboš Luňák + SPDX-FileCopyrightText: 2004 Christophe Devriese + + SPDX-FileCopyrightText: 2004 Albert Astals Cid + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef _OKULAR_SHELL_H_ #define _OKULAR_SHELL_H_ diff --git a/shell/shellutils.cpp b/shell/shellutils.cpp index f49d072fd..19796e0fa 100644 --- a/shell/shellutils.cpp +++ b/shell/shellutils.cpp @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2009 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2009 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "shellutils.h" diff --git a/shell/shellutils.h b/shell/shellutils.h index 453efd47f..68252ca1f 100644 --- a/shell/shellutils.h +++ b/shell/shellutils.h @@ -1,11 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2009 by Pino Toscano * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - ***************************************************************************/ +/* + SPDX-FileCopyrightText: 2009 Pino Toscano + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #ifndef OKULAR_SHELLUTILS_H #define OKULAR_SHELLUTILS_H