bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnulib-tool --lgpl doesn't convert gplv3 to lgplv2.1


From: Bruno Haible
Subject: Re: gnulib-tool --lgpl doesn't convert gplv3 to lgplv2.1
Date: Mon, 29 Oct 2007 12:55:06 +0100
User-agent: KMail/1.5.4

Simon Josefsson wrote:
> However, some modules says GPLv2 in the files, and the GPL part of
> libidn uses GPLv3.  It seems confusing to refer to GPLv2.  This text is
> not modified by gnulib-tool now.  How about the following patch?

There are many more files like this. Until the issue between Brett and Paul
is resolved, I find it better to just let gnulib-tool do the license change.

Paul, this change has no effect on you if you invoke gnulib-tool with
--more-symlinks option.


2007-10-29  Bruno Haible  <address@hidden>

        * gnulib-tool (func_import): When --lgpl is not specified, set
        sed_transform_lib_file to convert LGPL and GPLv2+ copyright headers to
        GPLv3.
        Reported by Simon Josefsson.

*** gnulib-tool.orig    2007-10-29 12:48:09.000000000 +0100
--- gnulib-tool 2007-10-29 12:45:46.000000000 +0100
***************
*** 2279,2284 ****
--- 2279,2291 ----
            ;;
          *) func_fatal_error "invalid value lgpl=$lgpl" ;;
        esac
+     else
+       # Update license.
+       sed_transform_lib_file=$sed_transform_lib_file'
+         s/GNU Lesser General/GNU General/g
+         s/GNU Library General/GNU General/g
+         s/version \(2\|2\.1\)\([ ,]\)/version 3\2/g
+       '
      fi
    fi
  





reply via email to

[Prev in Thread] Current Thread [Next in Thread]