License issue in mkgmap & splitter source: GPL-2 (v2 only) incompatible with GPL-3 (v3 only)

Several source files are licensed under the GPL-2 which is incompatible with GPL-3 source in splitter. To combine GPL-2 code with GPL-3 code, the GPL-2 code needs to be license under the GPL-2+ (v2 or later), or dual-licensed under the GPL-2 (v2 only) or GPL-3 (v3 only).[0] The mkgmap source files in question: src/uk/me/parabola/mkgmap/filters/MustSplitException.java src/uk/me/parabola/mkgmap/reader/MapReader.java The splitter source files in question: src/uk/me/parabola/splitter/tools/BitReader.java src/uk/me/parabola/splitter/tools/BitWriter.java test/func/ArgsTest.java test/func/Base.java test/func/SolverAndProblemGeneratorTest.java test/func/lib/Args.java test/func/lib/Outputs.java test/func/lib/TestUtils.java test/uk/me/parabola/splitter/tools/TestBitReader.java Steve & Gerd, can you relicense the code to GPL-2+ (v2 or later) or dual license those files as GPL-2 (v2 only) or GPL-3 (v3 only)? This issue prevents the update of the mkgmap packages in Debian. Kind Regards, Bas [0] https://www.gnu.org/licenses/gpl-faq.html#AllCompatibility -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1

Hi Bas, as I wrote before I don't care much about the licence. I have no idea what to change. Maybe you can post a patch? Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Sebastiaan Couwenberg <sebastic@xs4all.nl> Gesendet: Samstag, 1. Juli 2017 14:29:12 An: mkgmap-dev Betreff: [mkgmap-dev] License issue in mkgmap & splitter source: GPL-2 (v2 only) incompatible with GPL-3 (v3 only) Several source files are licensed under the GPL-2 which is incompatible with GPL-3 source in splitter. To combine GPL-2 code with GPL-3 code, the GPL-2 code needs to be license under the GPL-2+ (v2 or later), or dual-licensed under the GPL-2 (v2 only) or GPL-3 (v3 only).[0] The mkgmap source files in question: src/uk/me/parabola/mkgmap/filters/MustSplitException.java src/uk/me/parabola/mkgmap/reader/MapReader.java The splitter source files in question: src/uk/me/parabola/splitter/tools/BitReader.java src/uk/me/parabola/splitter/tools/BitWriter.java test/func/ArgsTest.java test/func/Base.java test/func/SolverAndProblemGeneratorTest.java test/func/lib/Args.java test/func/lib/Outputs.java test/func/lib/TestUtils.java test/uk/me/parabola/splitter/tools/TestBitReader.java Steve & Gerd, can you relicense the code to GPL-2+ (v2 or later) or dual license those files as GPL-2 (v2 only) or GPL-3 (v3 only)? This issue prevents the update of the mkgmap packages in Debian. Kind Regards, Bas [0] https://www.gnu.org/licenses/gpl-faq.html#AllCompatibility -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1 _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Gerd, On 07/25/2017 08:11 AM, Gerd Petermann wrote:
as I wrote before I don't care much about the licence. I have no idea what to change. Maybe you can post a patch?
What needs to change is the license header in the various files.
From GPL-2 (only):
* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 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. To (GPL-2 or GPL-3): * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 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. Or (GPL-2+): * This program is free software; you can redistribute it and/or modify * it under the terms of the 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. I'm not the copyright holder of the sources in question, so it's not appropriate for me to provide a patch that changes the license. Using GPL-2+ for all files in mgkmap & splitter would be best, as that also solves the issue when GPL-4 is introduced.
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Sebastiaan Couwenberg <sebastic@xs4all.nl> Gesendet: Samstag, 1. Juli 2017 14:29:12 An: mkgmap-dev Betreff: [mkgmap-dev] License issue in mkgmap & splitter source: GPL-2 (v2 only) incompatible with GPL-3 (v3 only)
Several source files are licensed under the GPL-2 which is incompatible with GPL-3 source in splitter.
To combine GPL-2 code with GPL-3 code, the GPL-2 code needs to be license under the GPL-2+ (v2 or later), or dual-licensed under the GPL-2 (v2 only) or GPL-3 (v3 only).[0]
The mkgmap source files in question:
src/uk/me/parabola/mkgmap/filters/MustSplitException.java src/uk/me/parabola/mkgmap/reader/MapReader.java
The splitter source files in question:
src/uk/me/parabola/splitter/tools/BitReader.java src/uk/me/parabola/splitter/tools/BitWriter.java test/func/ArgsTest.java test/func/Base.java test/func/SolverAndProblemGeneratorTest.java test/func/lib/Args.java test/func/lib/Outputs.java test/func/lib/TestUtils.java test/uk/me/parabola/splitter/tools/TestBitReader.java
Steve & Gerd, can you relicense the code to GPL-2+ (v2 or later) or dual license those files as GPL-2 (v2 only) or GPL-3 (v3 only)?
This issue prevents the update of the mkgmap packages in Debian.
Kind Regards,
Bas
[0] https://www.gnu.org/licenses/gpl-faq.html#AllCompatibility
Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1

On 07/25/2017 06:53 PM, Sebastiaan Couwenberg wrote:
Hi Gerd,
On 07/25/2017 08:11 AM, Gerd Petermann wrote:
as I wrote before I don't care much about the licence. I have no idea what to change. Maybe you can post a patch?
What needs to change is the license header in the various files.
From GPL-2 (only):
* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 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.
To (GPL-2 or GPL-3):
The license text should be: * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 or * version 2 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.
Or (GPL-2+):
* This program is free software; you can redistribute it and/or modify * it under the terms of the 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.
I'm not the copyright holder of the sources in question, so it's not appropriate for me to provide a patch that changes the license.
Using GPL-2+ for all files in mgkmap & splitter would be best, as that also solves the issue when GPL-4 is introduced.
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Sebastiaan Couwenberg <sebastic@xs4all.nl> Gesendet: Samstag, 1. Juli 2017 14:29:12 An: mkgmap-dev Betreff: [mkgmap-dev] License issue in mkgmap & splitter source: GPL-2 (v2 only) incompatible with GPL-3 (v3 only)
Several source files are licensed under the GPL-2 which is incompatible with GPL-3 source in splitter.
To combine GPL-2 code with GPL-3 code, the GPL-2 code needs to be license under the GPL-2+ (v2 or later), or dual-licensed under the GPL-2 (v2 only) or GPL-3 (v3 only).[0]
The mkgmap source files in question:
src/uk/me/parabola/mkgmap/filters/MustSplitException.java src/uk/me/parabola/mkgmap/reader/MapReader.java
The splitter source files in question:
src/uk/me/parabola/splitter/tools/BitReader.java src/uk/me/parabola/splitter/tools/BitWriter.java test/func/ArgsTest.java test/func/Base.java test/func/SolverAndProblemGeneratorTest.java test/func/lib/Args.java test/func/lib/Outputs.java test/func/lib/TestUtils.java test/uk/me/parabola/splitter/tools/TestBitReader.java
Steve & Gerd, can you relicense the code to GPL-2+ (v2 or later) or dual license those files as GPL-2 (v2 only) or GPL-3 (v3 only)?
This issue prevents the update of the mkgmap packages in Debian.
Kind Regards,
Bas
[0] https://www.gnu.org/licenses/gpl-faq.html#AllCompatibility
Kind Regards,
Bas
-- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1

Hi, I am not sure what to do here. The splitter sources in question are copies or modified copies of sources in mkgmap. Why do they cause problems in splitter, but not in mkgmap? The source src/uk/me/parabola/mkgmap/reader/MapReader.java was changed recently but the copyright info is very old. Why does it cause problems now? Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Sebastiaan Couwenberg <sebastic@xs4all.nl> Gesendet: Dienstag, 25. Juli 2017 18:55:09 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] License issue in mkgmap & splitter source: GPL-2 (v2 only) incompatible with GPL-3 (v3 only) On 07/25/2017 06:53 PM, Sebastiaan Couwenberg wrote:
Hi Gerd,
On 07/25/2017 08:11 AM, Gerd Petermann wrote:
as I wrote before I don't care much about the licence. I have no idea what to change. Maybe you can post a patch?
What needs to change is the license header in the various files.
From GPL-2 (only):
* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 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.
To (GPL-2 or GPL-3):
The license text should be: * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 or * version 2 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.
Or (GPL-2+):
* This program is free software; you can redistribute it and/or modify * it under the terms of the 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.
I'm not the copyright holder of the sources in question, so it's not appropriate for me to provide a patch that changes the license.
Using GPL-2+ for all files in mgkmap & splitter would be best, as that also solves the issue when GPL-4 is introduced.
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Sebastiaan Couwenberg <sebastic@xs4all.nl> Gesendet: Samstag, 1. Juli 2017 14:29:12 An: mkgmap-dev Betreff: [mkgmap-dev] License issue in mkgmap & splitter source: GPL-2 (v2 only) incompatible with GPL-3 (v3 only)
Several source files are licensed under the GPL-2 which is incompatible with GPL-3 source in splitter.
To combine GPL-2 code with GPL-3 code, the GPL-2 code needs to be license under the GPL-2+ (v2 or later), or dual-licensed under the GPL-2 (v2 only) or GPL-3 (v3 only).[0]
The mkgmap source files in question:
src/uk/me/parabola/mkgmap/filters/MustSplitException.java src/uk/me/parabola/mkgmap/reader/MapReader.java
The splitter source files in question:
src/uk/me/parabola/splitter/tools/BitReader.java src/uk/me/parabola/splitter/tools/BitWriter.java test/func/ArgsTest.java test/func/Base.java test/func/SolverAndProblemGeneratorTest.java test/func/lib/Args.java test/func/lib/Outputs.java test/func/lib/TestUtils.java test/uk/me/parabola/splitter/tools/TestBitReader.java
Steve & Gerd, can you relicense the code to GPL-2+ (v2 or later) or dual license those files as GPL-2 (v2 only) or GPL-3 (v3 only)?
This issue prevents the update of the mkgmap packages in Debian.
Kind Regards,
Bas
[0] https://www.gnu.org/licenses/gpl-faq.html#AllCompatibility
Kind Regards,
Bas
-- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1 _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Gerd, On 07/27/2017 09:07 AM, Gerd Petermann wrote:
I am not sure what to do here. The splitter sources in question are copies or modified copies of sources in mkgmap. Why do they cause problems in splitter, but not in mkgmap?
They are problematic in mkgmap too, they have simply not been noticed there before.
The source src/uk/me/parabola/mkgmap/reader/MapReader.java was changed recently but the copyright info is very old. Why does it cause problems now?
Because the new file in splitted showed up in my license & copyright review for the changes since SVN r548 (the previous revision in Debian). Ideally all the files in mkgmap and splitter are relicensed to GPL-2+ (v2 or later) to have the most widest license compatibility. Only the copyright holders can change the license, so this is something you, Steve and the other copyright holders need to consent to. Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1

Hi Bas, okay, I see no problem to change to GPL-2+ for sources written by me, but if that also means we need permissions from authors who did not post anything since many years you can probably forget this. A quick check in mkgmap sources shows 297 java sources with GPL-3 or GPL-2+ licence and 273 with GPL-2 only. Most of the latter (236) are from Steve Ratcliffe or have no copyright section. Still a few show (inactive) copyright holders : Copyright 2009 Toby Speight Copyright (C) 2010 Jeffrey C. Ollie Copyright 2009 Clinton Gladstone Copyright (C) 2009 Christian Gawron Gerd Sebastiaan Couwenberg wrote
Hi Gerd,
On 07/27/2017 09:07 AM, Gerd Petermann wrote:
I am not sure what to do here. The splitter sources in question are copies or modified copies of sources in mkgmap. Why do they cause problems in splitter, but not in mkgmap?
They are problematic in mkgmap too, they have simply not been noticed there before.
The source src/uk/me/parabola/mkgmap/reader/MapReader.java was changed recently but the copyright info is very old. Why does it cause problems now?
Because the new file in splitted showed up in my license & copyright review for the changes since SVN r548 (the previous revision in Debian).
Ideally all the files in mkgmap and splitter are relicensed to GPL-2+ (v2 or later) to have the most widest license compatibility. Only the copyright holders can change the license, so this is something you, Steve and the other copyright holders need to consent to.
Kind Regards,
Bas
-- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1 _______________________________________________ mkgmap-dev mailing list
mkgmap-dev@.org
-- View this message in context: http://gis.19327.n8.nabble.com/License-issue-in-mkgmap-splitter-source-GPL-2... Sent from the Mkgmap Development mailing list archive at Nabble.com.

On 08/06/2017 08:41 AM, Gerd Petermann wrote:
okay, I see no problem to change to GPL-2+ for sources written by me, but if that also means we need permissions from authors who did not post anything since many years you can probably forget this. A quick check in mkgmap sources shows 297 java sources with GPL-3 or GPL-2+ licence and 273 with GPL-2 only. Most of the latter (236) are from Steve Ratcliffe or have no copyright section.
Yes, hunting down past contributors is a problem with relicensing. Alternatively GPL-3 (v3 only) sources must be kept out of mkgmap & splitter, because that introduces the license incompatibility with the many GPL-2 (v2 only) sources. Kind Regards, Bas

Hi Steve, On 07/01/2017 02:29 PM, Sebastiaan Couwenberg wrote:
Several source files are licensed under the GPL-2 which is incompatible with GPL-3 source in splitter.
To combine GPL-2 code with GPL-3 code, the GPL-2 code needs to be license under the GPL-2+ (v2 or later), or dual-licensed under the GPL-2 (v2 only) or GPL-3 (v3 only).[0]
The mkgmap source files in question:
src/uk/me/parabola/mkgmap/filters/MustSplitException.java src/uk/me/parabola/mkgmap/reader/MapReader.java
The splitter source files in question:
src/uk/me/parabola/splitter/tools/BitReader.java src/uk/me/parabola/splitter/tools/BitWriter.java test/func/ArgsTest.java test/func/Base.java test/func/SolverAndProblemGeneratorTest.java test/func/lib/Args.java test/func/lib/Outputs.java test/func/lib/TestUtils.java test/uk/me/parabola/splitter/tools/TestBitReader.java
Steve & Gerd, can you relicense the code to GPL-2+ (v2 or later) or dual license those files as GPL-2 (v2 only) or GPL-3 (v3 only)?
This issue prevents the update of the mkgmap packages in Debian.
[0] https://www.gnu.org/licenses/gpl-faq.html#AllCompatibility
The license issue still persists in the mkgmap & splitter source. Mostly in files for which you are the primary author. Can your relicense the GPL-2 (v2 only) and GPL-3 (v3 only) sources to allow both licenses? Mixing GPL-3 (v3 only) sources in a project with GPL-2 (v2 only) sources is not possible, and makes the work unredistributable. If this issue persist I'm forced to remove the mkgmap & splitter packages from Debian & Ubuntu which is not in the interest of our users. Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
participants (3)
-
Gerd Petermann
-
Gerd Petermann
-
Sebastiaan Couwenberg