bugGNU gettext - Bugs: bug #56863, gettext.h license is viral

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #56863: gettext.h license is viral

Submitter:  Petr Pisar <petrp>
Submitted:  Fri 06 Sep 2019 08:30:53 AM UTC
   
 
Category:  Programmer interface Severity:  3 - Normal
Item Group:  None Status:  In Progress
Privacy:  Public Assigned to:  haible
Open/Closed:  Open

Sun 02 Feb 2020 08:18:07 PM UTC, comment #3: 


> I recommend you asking Free Software Foundation for help. I think they should be able to provide a qualified answer.


I have asked the Free Software Foundation (in September 2019). But it takes them a long time to provide a qualified answer.

Bruno Haible <haible>
Group administrator
Sun 02 Feb 2020 06:22:33 PM UTC, comment #2: 

I'm not aware of any such standard. I know only about another project with a similar exception and that is Libtool.

LGPL allows including LGPL-licensed header files into other code without enforcing LGPL conditions, but there are constrains what such header file can contain. Especially there is a limit of 10 lines for the inline functions. If I look at dcpgettext_expr() definition I can count 28 lines.

I'm not a layer. I recommend you asking Free Software Foundation for help. I think they should be able to provide a qualified answer.

Petr Pisar <petrp>
Fri 31 Jan 2020 09:00:44 PM UTC, comment #1: 

Is there a standard for this sort of exception that applies to alternatives to Autoconf as well?

Or perhaps it would be better to use the same license as libintl.h? (LGPL?)

pastdue
Fri 06 Sep 2019 08:30:53 AM UTC, original submission:  

Gettext manual recommends copying gettext.h from Gettext into a gettextized software and including it from the software sources. This has the consequence that the resulting executable contains gettext.h code and this is subject to gettext.h license.

gettext.h reads:

   This program is free software: you can 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.

That means that any software that follow this procedure must obey to the GPL license. This is pretty inconvenient, especially for software that uses a different license, e.g. LGPL.

A similar issue has already been raised seven years ago <https://lists.gnu.org/archive/html/bug-gettext/2012-09/msg00000.html> without any answer.

What's your opinion? Would you be so kind and change the gettext.h license to something more compatible, e.g. GPLv3 with an exception clause as used in Many autotools files? E.g. config.sub looks like:

# This file is free software; you can 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 <http://www.gnu.org/licenses/>.
#
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that
# program.  This Exception is an additional permission under section 7
# of the GNU General Public License, version 3 ("GPLv3").

Petr Pisar <petrp>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pastdue (Posted a comment)
  • -email is unavailable- added by haible (Updated the item)
  • -email is unavailable- added by petrp (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-09-14 haible CategoryOther Programmer interface
        StatusNone In Progress
        Assigned toNone haible

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code