Skip to content

Commit

Permalink
Ticket 1551: Update GPL version from 2 to 3
Browse files Browse the repository at this point in the history
Signed-off-by: Slava Zanko <[email protected]>
  • Loading branch information
slavaz committed Oct 18, 2011
1 parent e7ffcc4 commit 0138645
Show file tree
Hide file tree
Showing 243 changed files with 5,911 additions and 8,485 deletions.
24 changes: 11 additions & 13 deletions build-glib2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,19 @@
# compile GNU Midnight Commander against it.
# Copyright (C) 2003 Pavel Roskin
#
# 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 2 of the License, or
# (at your option) any later version.
# 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.
#
# 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, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

# 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/>.
#
# This script is incomplete! It doesn't download libiconv. This is OK
# for glibc-based systems, but probably not for others. This limitation
# is known. Please don't report it.
Expand Down
6 changes: 5 additions & 1 deletion contrib/dist/redhat/mc.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Name: mc
Version: %{mc_version}
Release: %{mc_release}%{?dist}
Epoch: 3
License: GPLv2
License: GPL3+
Group: System Environment/Shells
Source0: %{name}-%{mc_tarball}.tar.gz

Expand Down Expand Up @@ -154,6 +154,10 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/mc/*

%changelog

* Fri Oct 14 2011 Slava Zanko <[email protected]>
- Changed License version

* Thu Jul 14 2011 Slava Zanko <[email protected]>
- Added %{_libexecdir}/mc/fish directory to spec file

Expand Down
961 changes: 631 additions & 330 deletions doc/COPYING

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion doc/README
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ you screen and giving you a clear representation of the filesystem, yet
it's simple enough to be run over a telnet or ssh session.

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


Expand Down
1,117 changes: 272 additions & 845 deletions doc/hlp/es/xnc.hlp

Large diffs are not rendered by default.

676 changes: 270 additions & 406 deletions doc/hlp/hu/xnc.hlp

Large diffs are not rendered by default.

672 changes: 271 additions & 401 deletions doc/hlp/it/xnc.hlp

Large diffs are not rendered by default.

672 changes: 271 additions & 401 deletions doc/hlp/pl/xnc.hlp

Large diffs are not rendered by default.

1,081 changes: 272 additions & 809 deletions doc/hlp/ru/xnc.hlp

Large diffs are not rendered by default.

1,115 changes: 272 additions & 843 deletions doc/hlp/sr/xnc.hlp

Large diffs are not rendered by default.

672 changes: 271 additions & 401 deletions doc/hlp/xnc.hlp

Large diffs are not rendered by default.

24 changes: 15 additions & 9 deletions lib/charsets.c
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
/* Text conversion from one charset to another.
/*
Text conversion from one charset to another.
Copyright (C) 2001, 2011
The Free Software Foundation, Inc.
Written by:
Walery Studennikov <[email protected]>
Copyright (C) 2001 Walery Studennikov <[email protected]>
This file is part of the Midnight Commander.
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 2 of the License, or
(at your option) any later version.
The Midnight Commander 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,
The Midnight Commander 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, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/** \file charsets.c
Expand Down
33 changes: 14 additions & 19 deletions lib/event/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,26 @@
Handle events in application.
Interface functions: init/deinit; start/stop
Copyright (C) 2011 The Free Software Foundation, Inc.
Copyright (C) 2011
The Free Software Foundation, Inc.
Written by:
Slava Zanko <[email protected]>, 2011.
This file is part of the Midnight Commander.
The Midnight Commander is free software; you can redistribute it
The Midnight Commander 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 2 of the
License, or (at your option) any later version.
published by the Free Software Foundation, either version 3 of the License,
or (at your option) any later version.
The Midnight Commander 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.
The Midnight Commander 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, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include <config.h>
Expand Down Expand Up @@ -53,8 +52,7 @@ mc_event_init (GError ** mcerror)
if (mc_event_grouplist != NULL)
{
g_propagate_error (mcerror,
g_error_new (MC_ERROR, 1,
_("Event system already initialized")));
g_error_new (MC_ERROR, 1, _("Event system already initialized")));
return FALSE;
}

Expand All @@ -65,8 +63,7 @@ mc_event_init (GError ** mcerror)
if (mc_event_grouplist == NULL)
{
g_propagate_error (mcerror,
g_error_new (MC_ERROR, 2,
_("Failed to initialize event system")));
g_error_new (MC_ERROR, 2, _("Failed to initialize event system")));
return FALSE;
}

Expand All @@ -80,9 +77,7 @@ mc_event_deinit (GError ** mcerror)
{
if (mc_event_grouplist == NULL)
{
g_propagate_error (mcerror,
g_error_new (MC_ERROR, 1,
_("Event system not initialized")));
g_propagate_error (mcerror, g_error_new (MC_ERROR, 1, _("Event system not initialized")));
return FALSE;
}

Expand Down Expand Up @@ -113,7 +108,7 @@ mc_event_mass_add (event_init_t * events, GError ** mcerror)
/* --------------------------------------------------------------------------------------------- */

gboolean
mc_event_present (const gchar *event_group_name, const gchar *event_name)
mc_event_present (const gchar * event_group_name, const gchar * event_name)
{
GTree *event_group;
GPtrArray *callbacks;
Expand Down
24 changes: 12 additions & 12 deletions lib/event/manage.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,26 @@
Handle any events in application.
Manage events: add, delete, destroy, search
Copyright (C) 2011 The Free Software Foundation, Inc.
Copyright (C) 2011
The Free Software Foundation, Inc.
Written by:
Slava Zanko <[email protected]>, 2011.
This file is part of the Midnight Commander.
The Midnight Commander is free software; you can redistribute it
The Midnight Commander 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 2 of the
License, or (at your option) any later version.
published by the Free Software Foundation, either version 3 of the License,
or (at your option) any later version.
The Midnight Commander 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.
The Midnight Commander 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, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

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

mc_event_callback_t *
mc_event_is_callback_in_array (GPtrArray * callbacks, mc_event_callback_func_t event_callback, gpointer event_init_data)
mc_event_is_callback_in_array (GPtrArray * callbacks, mc_event_callback_func_t event_callback,
gpointer event_init_data)
{
guint array_index;

Expand Down
21 changes: 10 additions & 11 deletions lib/event/raise.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,26 @@
Handle any events in application.
Raise events.
Copyright (C) 2011 The Free Software Foundation, Inc.
Copyright (C) 2011
The Free Software Foundation, Inc.
Written by:
Slava Zanko <[email protected]>, 2011.
This file is part of the Midnight Commander.
The Midnight Commander is free software; you can redistribute it
The Midnight Commander 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 2 of the
License, or (at your option) any later version.
published by the Free Software Foundation, either version 3 of the License,
or (at your option) any later version.
The Midnight Commander 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.
The Midnight Commander 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, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include <config.h>
Expand Down
21 changes: 10 additions & 11 deletions lib/filehighlight/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,26 @@
File highlight plugin.
Interface functions
Copyright (C) 2009 The Free Software Foundation, Inc.
Copyright (C) 2009, 2011
The Free Software Foundation, Inc.
Written by:
Slava Zanko <[email protected]>, 2009.
This file is part of the Midnight Commander.
The Midnight Commander is free software; you can redistribute it
The Midnight Commander 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 2 of the
License, or (at your option) any later version.
published by the Free Software Foundation, either version 3 of the License,
or (at your option) any later version.
The Midnight Commander 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.
The Midnight Commander 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, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include <config.h>
Expand Down
21 changes: 10 additions & 11 deletions lib/filehighlight/get-color.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,26 @@
File highlight plugin.
Interface functions. get color pair index for highlighted file.
Copyright (C) 2009 The Free Software Foundation, Inc.
Copyright (C) 2009, 2011
The Free Software Foundation, Inc.
Written by:
Slava Zanko <[email protected]>, 2009.
This file is part of the Midnight Commander.
The Midnight Commander is free software; you can redistribute it
The Midnight Commander 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 2 of the
License, or (at your option) any later version.
published by the Free Software Foundation, either version 3 of the License,
or (at your option) any later version.
The Midnight Commander 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.
The Midnight Commander 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, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include <config.h>
Expand Down
21 changes: 10 additions & 11 deletions lib/filehighlight/ini-file-read.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,26 @@
File highlight plugin.
Reading and parse rules from ini-files
Copyright (C) 2009 The Free Software Foundation, Inc.
Copyright (C) 2009, 2011
The Free Software Foundation, Inc.
Written by:
Slava Zanko <[email protected]>, 2009.
This file is part of the Midnight Commander.
The Midnight Commander is free software; you can redistribute it
The Midnight Commander 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 2 of the
License, or (at your option) any later version.
published by the Free Software Foundation, either version 3 of the License,
or (at your option) any later version.
The Midnight Commander 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.
The Midnight Commander 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, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include <config.h>
Expand Down
Loading

0 comments on commit 0138645

Please sign in to comment.