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 <[EMAIL PROTECTED]>
* 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