Skip to content

Commit 2b6bae6

Browse files
feat: update gnulib to 20250303-1
1 parent 791c68a commit 2b6bae6

File tree

10,521 files changed

+752786
-177488
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

10,521 files changed

+752786
-177488
lines changed

.cvsignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

.gitattributes

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,10 @@ ChangeLog merge=merge-changelog
44
# Run this to make 'git diff' on texinfo files give nicer hunk context:
55
# git config diff.texinfo.funcname '^@node[ ][ ]*\\([^,][^,]*\\)'
66
*.texi* diff=texinfo
7+
8+
# Run this to make 'git diff' on .m4 files give nicer hunk context:
9+
# git config diff.m4.xfuncname '^((AC_DEFUN|m4_define)[^,)]*)'
10+
*.m4 diff=m4
11+
12+
# Improve diff hunk context on Python files.
13+
*.py diff=python

.gitignore

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
1-
.pc/
1+
*.orig
2+
*.rej
3+
*~
4+
.#*
5+
\#*#
6+
allsnippets.tmp
7+
amsnippet.tmp
8+
testdir*
9+
/po/gnulib.pot

.gnulib-tool.py

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Copyright (C) 2024-2025 Free Software Foundation, Inc.
2+
#
3+
# This program is free software: you can redistribute it and/or modify
4+
# it under the terms of the GNU General Public License as published by
5+
# the Free Software Foundation, either version 3 of the License, or
6+
# (at your option) any later version.
7+
#
8+
# This program is distributed in the hope that it will be useful,
9+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
# GNU General Public License for more details.
12+
#
13+
# You should have received a copy of the GNU General Public License
14+
# along with this program. If not, see <https://www.gnu.org/licenses/>.
15+
#
16+
17+
# This file exists to satisfy the standard layout of a Python program:
18+
# - a single .py file in the parent directory,
19+
# - any number of .py files in a subdirectory.
20+
# Explanation: https://stackoverflow.com/questions/16981921/relative-imports-in-python-3
21+
# Without this standard layout, we got
22+
# - errors at runtime:
23+
# from . import constants => ImportError: attempted relative import with no known parent package
24+
# from pygnulib import constants => ModuleNotFoundError: No module named 'pygnulib'
25+
# - error markers in Eclipse + PyDev.
26+
27+
from pygnulib import main
28+
29+
if __name__ == '__main__':
30+
main.main_with_exception_handling()

COPYING

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,11 @@
1-
$Id: COPYING,v 1.3 2006-10-26 16:20:28 eggert Exp $
21
The files in here are mostly copyright (C) Free Software Foundation, and
32
are under assorted licenses. Mostly, but not entirely, GPL.
43

5-
Many modules are provided dual-license, either GPL or LGPL at your
6-
option. The headers of files in the lib directory (e.g., lib/error.c)
7-
state GPL for convenience, since the bulk of current gnulib users are
8-
GPL'd programs. But the files in the modules directory (e.g.,
9-
modules/error) state the true license of each file, and when you use
10-
'gnulib-tool --lgpl --import <modules>', gnulib-tool either rewrites
11-
the files to have an LGPL header as part of copying them from gnulib
12-
to your project directory, or fails because the modules you requested
13-
were not licensed under LGPL.
4+
The license of each file is stated in that file.
5+
Additionally, the files in the modules directory state the license of
6+
the code part (in lib/) of the respective module.
147

15-
Some of the source files in lib/ have different licenses. Also, the
16-
copy of maintain.texi in doc/ has a verbatim-copying license, and
17-
doc/standards.texi and make-stds.texi are GFDL. Most (but not all)
8+
Some of the source files in lib/ have different licenses than GPL or LGPL.
9+
Also, the copy of maintain.texi in doc/ has a verbatim-copying license,
10+
and doc/standards.texi and make-stds.texi are GFDL. Most (but not all)
1811
m4/*.m4 files have nearly unlimited licenses.

0 commit comments

Comments
 (0)