Skip to content

Commit 0138645

Browse files
committed
Ticket 1551: Update GPL version from 2 to 3
Signed-off-by: Slava Zanko <[email protected]>
1 parent e7ffcc4 commit 0138645

File tree

243 files changed

+5911
-8485
lines changed

Some content is hidden

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

243 files changed

+5911
-8485
lines changed

build-glib2.sh

+11-13
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,19 @@
44
# compile GNU Midnight Commander against it.
55
# Copyright (C) 2003 Pavel Roskin
66
#
7-
# This program is free software; you can redistribute it and/or modify
8-
# it under the terms of the GNU General Public License as published by
9-
# the Free Software Foundation; either version 2 of the License, or
10-
# (at your option) any later version.
7+
# This program is free software: you can redistribute it and/or modify
8+
# it under the terms of the GNU General Public License as published by
9+
# the Free Software Foundation, either version 3 of the License, or
10+
# (at your option) any later version.
1111
#
12-
# This program is distributed in the hope that it will be useful,
13-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
# GNU General Public License for more details.
16-
#
17-
# You should have received a copy of the GNU General Public License along
18-
# with this program; if not, write to the Free Software Foundation, Inc.,
19-
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20-
12+
# This program is distributed in the hope that it will be useful,
13+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+
# GNU General Public License for more details.
2116

17+
# You should have received a copy of the GNU General Public License
18+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
19+
#
2220
# This script is incomplete! It doesn't download libiconv. This is OK
2321
# for glibc-based systems, but probably not for others. This limitation
2422
# is known. Please don't report it.

contrib/dist/redhat/mc.spec.in

+5-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Name: mc
2020
Version: %{mc_version}
2121
Release: %{mc_release}%{?dist}
2222
Epoch: 3
23-
License: GPLv2
23+
License: GPL3+
2424
Group: System Environment/Shells
2525
Source0: %{name}-%{mc_tarball}.tar.gz
2626

@@ -154,6 +154,10 @@ rm -rf $RPM_BUILD_ROOT
154154
%{_datadir}/mc/*
155155

156156
%changelog
157+
158+
* Fri Oct 14 2011 Slava Zanko <[email protected]>
159+
- Changed License version
160+
157161
* Thu Jul 14 2011 Slava Zanko <[email protected]>
158162
- Added %{_libexecdir}/mc/fish directory to spec file
159163

doc/COPYING

+631-330
Large diffs are not rendered by default.

doc/README

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ you screen and giving you a clear representation of the filesystem, yet
2121
it's simple enough to be run over a telnet or ssh session.
2222

2323
GNU Midnight Commander is released under the GNU General Public
24-
License version 2.0 or any later version. A copy of the file is
24+
License version 3 or any later version. A copy of the file is
2525
included with this distribution package.
2626

2727

doc/hlp/es/xnc.hlp

+272-845
Large diffs are not rendered by default.

doc/hlp/hu/xnc.hlp

+270-406
Large diffs are not rendered by default.

doc/hlp/it/xnc.hlp

+271-401
Large diffs are not rendered by default.

doc/hlp/pl/xnc.hlp

+271-401
Large diffs are not rendered by default.

doc/hlp/ru/xnc.hlp

+272-809
Large diffs are not rendered by default.

doc/hlp/sr/xnc.hlp

+272-843
Large diffs are not rendered by default.

doc/hlp/xnc.hlp

+271-401
Large diffs are not rendered by default.

lib/charsets.c

+15-9
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,26 @@
1-
/* Text conversion from one charset to another.
1+
/*
2+
Text conversion from one charset to another.
3+
4+
Copyright (C) 2001, 2011
5+
The Free Software Foundation, Inc.
6+
7+
Written by:
8+
Walery Studennikov <[email protected]>
29
3-
Copyright (C) 2001 Walery Studennikov <[email protected]>
10+
This file is part of the Midnight Commander.
411
5-
This program is free software; you can redistribute it and/or modify
6-
it under the terms of the GNU General Public License as published by
7-
the Free Software Foundation; either version 2 of the License, or
8-
(at your option) any later version.
12+
The Midnight Commander is free software: you can redistribute it
13+
and/or modify it under the terms of the GNU General Public License as
14+
published by the Free Software Foundation, either version 3 of the License,
15+
or (at your option) any later version.
916
10-
This program is distributed in the hope that it will be useful,
17+
The Midnight Commander is distributed in the hope that it will be useful,
1118
but WITHOUT ANY WARRANTY; without even the implied warranty of
1219
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1320
GNU General Public License for more details.
1421
1522
You should have received a copy of the GNU General Public License
16-
along with this program; if not, write to the Free Software
17-
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23+
along with this program. If not, see <http://www.gnu.org/licenses/>.
1824
*/
1925

2026
/** \file charsets.c

lib/event/event.c

+14-19
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,26 @@
22
Handle events in application.
33
Interface functions: init/deinit; start/stop
44
5-
Copyright (C) 2011 The Free Software Foundation, Inc.
5+
Copyright (C) 2011
6+
The Free Software Foundation, Inc.
67
78
Written by:
89
Slava Zanko <[email protected]>, 2011.
910
1011
This file is part of the Midnight Commander.
1112
12-
The Midnight Commander is free software; you can redistribute it
13+
The Midnight Commander is free software: you can redistribute it
1314
and/or modify it under the terms of the GNU General Public License as
14-
published by the Free Software Foundation; either version 2 of the
15-
License, or (at your option) any later version.
15+
published by the Free Software Foundation, either version 3 of the License,
16+
or (at your option) any later version.
1617
17-
The Midnight Commander is distributed in the hope that it will be
18-
useful, but WITHOUT ANY WARRANTY; without even the implied warranty
19-
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20-
General Public License for more details.
18+
The Midnight Commander is distributed in the hope that it will be useful,
19+
but WITHOUT ANY WARRANTY; without even the implied warranty of
20+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21+
GNU General Public License for more details.
2122
2223
You should have received a copy of the GNU General Public License
23-
along with this program; if not, write to the Free Software
24-
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
25-
MA 02110-1301, USA.
24+
along with this program. If not, see <http://www.gnu.org/licenses/>.
2625
*/
2726

2827
#include <config.h>
@@ -53,8 +52,7 @@ mc_event_init (GError ** mcerror)
5352
if (mc_event_grouplist != NULL)
5453
{
5554
g_propagate_error (mcerror,
56-
g_error_new (MC_ERROR, 1,
57-
_("Event system already initialized")));
55+
g_error_new (MC_ERROR, 1, _("Event system already initialized")));
5856
return FALSE;
5957
}
6058

@@ -65,8 +63,7 @@ mc_event_init (GError ** mcerror)
6563
if (mc_event_grouplist == NULL)
6664
{
6765
g_propagate_error (mcerror,
68-
g_error_new (MC_ERROR, 2,
69-
_("Failed to initialize event system")));
66+
g_error_new (MC_ERROR, 2, _("Failed to initialize event system")));
7067
return FALSE;
7168
}
7269

@@ -80,9 +77,7 @@ mc_event_deinit (GError ** mcerror)
8077
{
8178
if (mc_event_grouplist == NULL)
8279
{
83-
g_propagate_error (mcerror,
84-
g_error_new (MC_ERROR, 1,
85-
_("Event system not initialized")));
80+
g_propagate_error (mcerror, g_error_new (MC_ERROR, 1, _("Event system not initialized")));
8681
return FALSE;
8782
}
8883

@@ -113,7 +108,7 @@ mc_event_mass_add (event_init_t * events, GError ** mcerror)
113108
/* --------------------------------------------------------------------------------------------- */
114109

115110
gboolean
116-
mc_event_present (const gchar *event_group_name, const gchar *event_name)
111+
mc_event_present (const gchar * event_group_name, const gchar * event_name)
117112
{
118113
GTree *event_group;
119114
GPtrArray *callbacks;

lib/event/manage.c

+12-12
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,26 @@
22
Handle any events in application.
33
Manage events: add, delete, destroy, search
44
5-
Copyright (C) 2011 The Free Software Foundation, Inc.
5+
Copyright (C) 2011
6+
The Free Software Foundation, Inc.
67
78
Written by:
89
Slava Zanko <[email protected]>, 2011.
910
1011
This file is part of the Midnight Commander.
1112
12-
The Midnight Commander is free software; you can redistribute it
13+
The Midnight Commander is free software: you can redistribute it
1314
and/or modify it under the terms of the GNU General Public License as
14-
published by the Free Software Foundation; either version 2 of the
15-
License, or (at your option) any later version.
15+
published by the Free Software Foundation, either version 3 of the License,
16+
or (at your option) any later version.
1617
17-
The Midnight Commander is distributed in the hope that it will be
18-
useful, but WITHOUT ANY WARRANTY; without even the implied warranty
19-
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20-
General Public License for more details.
18+
The Midnight Commander is distributed in the hope that it will be useful,
19+
but WITHOUT ANY WARRANTY; without even the implied warranty of
20+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21+
GNU General Public License for more details.
2122
2223
You should have received a copy of the GNU General Public License
23-
along with this program; if not, write to the Free Software
24-
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
25-
MA 02110-1301, USA.
24+
along with this program. If not, see <http://www.gnu.org/licenses/>.
2625
*/
2726

2827
#include <config.h>
@@ -208,7 +207,8 @@ mc_event_get_event_by_name (GTree * event_group, const gchar * event_name, gbool
208207
/* --------------------------------------------------------------------------------------------- */
209208

210209
mc_event_callback_t *
211-
mc_event_is_callback_in_array (GPtrArray * callbacks, mc_event_callback_func_t event_callback, gpointer event_init_data)
210+
mc_event_is_callback_in_array (GPtrArray * callbacks, mc_event_callback_func_t event_callback,
211+
gpointer event_init_data)
212212
{
213213
guint array_index;
214214

lib/event/raise.c

+10-11
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,26 @@
22
Handle any events in application.
33
Raise events.
44
5-
Copyright (C) 2011 The Free Software Foundation, Inc.
5+
Copyright (C) 2011
6+
The Free Software Foundation, Inc.
67
78
Written by:
89
Slava Zanko <[email protected]>, 2011.
910
1011
This file is part of the Midnight Commander.
1112
12-
The Midnight Commander is free software; you can redistribute it
13+
The Midnight Commander is free software: you can redistribute it
1314
and/or modify it under the terms of the GNU General Public License as
14-
published by the Free Software Foundation; either version 2 of the
15-
License, or (at your option) any later version.
15+
published by the Free Software Foundation, either version 3 of the License,
16+
or (at your option) any later version.
1617
17-
The Midnight Commander is distributed in the hope that it will be
18-
useful, but WITHOUT ANY WARRANTY; without even the implied warranty
19-
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20-
General Public License for more details.
18+
The Midnight Commander is distributed in the hope that it will be useful,
19+
but WITHOUT ANY WARRANTY; without even the implied warranty of
20+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21+
GNU General Public License for more details.
2122
2223
You should have received a copy of the GNU General Public License
23-
along with this program; if not, write to the Free Software
24-
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
25-
MA 02110-1301, USA.
24+
along with this program. If not, see <http://www.gnu.org/licenses/>.
2625
*/
2726

2827
#include <config.h>

lib/filehighlight/common.c

+10-11
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,26 @@
22
File highlight plugin.
33
Interface functions
44
5-
Copyright (C) 2009 The Free Software Foundation, Inc.
5+
Copyright (C) 2009, 2011
6+
The Free Software Foundation, Inc.
67
78
Written by:
89
Slava Zanko <[email protected]>, 2009.
910
1011
This file is part of the Midnight Commander.
1112
12-
The Midnight Commander is free software; you can redistribute it
13+
The Midnight Commander is free software: you can redistribute it
1314
and/or modify it under the terms of the GNU General Public License as
14-
published by the Free Software Foundation; either version 2 of the
15-
License, or (at your option) any later version.
15+
published by the Free Software Foundation, either version 3 of the License,
16+
or (at your option) any later version.
1617
17-
The Midnight Commander is distributed in the hope that it will be
18-
useful, but WITHOUT ANY WARRANTY; without even the implied warranty
19-
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20-
General Public License for more details.
18+
The Midnight Commander is distributed in the hope that it will be useful,
19+
but WITHOUT ANY WARRANTY; without even the implied warranty of
20+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21+
GNU General Public License for more details.
2122
2223
You should have received a copy of the GNU General Public License
23-
along with this program; if not, write to the Free Software
24-
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
25-
MA 02110-1301, USA.
24+
along with this program. If not, see <http://www.gnu.org/licenses/>.
2625
*/
2726

2827
#include <config.h>

lib/filehighlight/get-color.c

+10-11
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,26 @@
22
File highlight plugin.
33
Interface functions. get color pair index for highlighted file.
44
5-
Copyright (C) 2009 The Free Software Foundation, Inc.
5+
Copyright (C) 2009, 2011
6+
The Free Software Foundation, Inc.
67
78
Written by:
89
Slava Zanko <[email protected]>, 2009.
910
1011
This file is part of the Midnight Commander.
1112
12-
The Midnight Commander is free software; you can redistribute it
13+
The Midnight Commander is free software: you can redistribute it
1314
and/or modify it under the terms of the GNU General Public License as
14-
published by the Free Software Foundation; either version 2 of the
15-
License, or (at your option) any later version.
15+
published by the Free Software Foundation, either version 3 of the License,
16+
or (at your option) any later version.
1617
17-
The Midnight Commander is distributed in the hope that it will be
18-
useful, but WITHOUT ANY WARRANTY; without even the implied warranty
19-
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20-
General Public License for more details.
18+
The Midnight Commander is distributed in the hope that it will be useful,
19+
but WITHOUT ANY WARRANTY; without even the implied warranty of
20+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21+
GNU General Public License for more details.
2122
2223
You should have received a copy of the GNU General Public License
23-
along with this program; if not, write to the Free Software
24-
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
25-
MA 02110-1301, USA.
24+
along with this program. If not, see <http://www.gnu.org/licenses/>.
2625
*/
2726

2827
#include <config.h>

lib/filehighlight/ini-file-read.c

+10-11
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,26 @@
22
File highlight plugin.
33
Reading and parse rules from ini-files
44
5-
Copyright (C) 2009 The Free Software Foundation, Inc.
5+
Copyright (C) 2009, 2011
6+
The Free Software Foundation, Inc.
67
78
Written by:
89
Slava Zanko <[email protected]>, 2009.
910
1011
This file is part of the Midnight Commander.
1112
12-
The Midnight Commander is free software; you can redistribute it
13+
The Midnight Commander is free software: you can redistribute it
1314
and/or modify it under the terms of the GNU General Public License as
14-
published by the Free Software Foundation; either version 2 of the
15-
License, or (at your option) any later version.
15+
published by the Free Software Foundation, either version 3 of the License,
16+
or (at your option) any later version.
1617
17-
The Midnight Commander is distributed in the hope that it will be
18-
useful, but WITHOUT ANY WARRANTY; without even the implied warranty
19-
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20-
General Public License for more details.
18+
The Midnight Commander is distributed in the hope that it will be useful,
19+
but WITHOUT ANY WARRANTY; without even the implied warranty of
20+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21+
GNU General Public License for more details.
2122
2223
You should have received a copy of the GNU General Public License
23-
along with this program; if not, write to the Free Software
24-
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
25-
MA 02110-1301, USA.
24+
along with this program. If not, see <http://www.gnu.org/licenses/>.
2625
*/
2726

2827
#include <config.h>

0 commit comments

Comments
 (0)