Skip to content

Commit

Permalink
license: s/LGPL-2.1+/LGPL-2.1-or-later/g
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <rui@chenrui.dev>
  • Loading branch information
chenrui333 committed Apr 24, 2024
1 parent ed31c81 commit cbf25d0
Show file tree
Hide file tree
Showing 35 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion contrib/generate-version-script.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# Copyright (C) 2017 Richard Hughes <richard@hughsie.com>
#
# SPDX-License-Identifier: LGPL-2.1+
# SPDX-License-Identifier: LGPL-2.1-or-later

import sys
import xml.etree.ElementTree as ET
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb-bos-descriptor-private.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Copyright (C) 2022 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb-bos-descriptor.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Copyright (C) 2022 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb-bos-descriptor.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Copyright (C) 2022 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb-context-private.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Copyright (C) 2011 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb-context.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright (C) 2011 Richard Hughes <richard@hughsie.com>
* Copyright (C) 2011 Hans de Goede <hdegoede@redhat.com>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb-context.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright (C) 2011 Richard Hughes <richard@hughsie.com>
* Copyright (C) 2011 Hans de Goede <hdegoede@redhat.com>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb-device-event-private.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Copyright (C) 2022 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb-device-event.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Copyright (C) 2022 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb-device-event.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Copyright (C) 2022 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb-device-list.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright (C) 2011 Hans de Goede <hdegoede@redhat.com>
* Copyright (C) 2011 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb-device-list.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright (C) 2011 Hans de Goede <hdegoede@redhat.com>
* Copyright (C) 2011 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb-device-private.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Copyright (C) 2011 Hans de Goede <hdegoede@redhat.com>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb-device.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Copyright (C) 2011 Hans de Goede <hdegoede@redhat.com>
* Copyright (C) 2011 Debarshi Ray <debarshir@src.gnome.org>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb-device.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright (C) 2010 Richard Hughes <richard@hughsie.com>
* Copyright (C) 2011 Hans de Goede <hdegoede@redhat.com>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb-endpoint-private.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright (C) 2020 Emmanuel Pacaud <emmanuel@gnome.org>
* Copyright (C) 2022 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb-endpoint.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Copyright (C) 2020 Emmanuel Pacaud <emmanuel@gnome.org>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb-endpoint.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Copyright (C) 2020 Emmanuel Pacaud <emmanuel@gnome.org>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb-interface-private.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Copyright (C) 2015 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb-interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright (C) 2015 Richard Hughes <richard@hughsie.com>
* Copyright (C) 2020 Emmanuel Pacaud <emmanuel@gnome.org>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb-interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright (C) 2015 Richard Hughes <richard@hughsie.com>
* Copyright (C) 2020 Emmanuel Pacaud <emmanuel@gnome.org>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb-json-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright (C) 2023 Collabora Ltd.
* @author Frédéric Danis <frederic.danis@collabora.com>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

#include "config.h"
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb-json-common.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright (C) 2023 Collabora Ltd.
* @author Frédéric Danis <frederic.danis@collabora.com>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb-private.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Copyright (C) 2011 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb-self-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Copyright (C) 2011 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

#include "config.h"
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb-source.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright (C) 2010 Richard Hughes <richard@hughsie.com>
* Copyright (C) 2011 Hans de Goede <hdegoede@redhat.com>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb-source.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright (C) 2010 Richard Hughes <richard@hughsie.com>
* Copyright (C) 2011 Hans de Goede <hdegoede@redhat.com>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb-umockdev-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Copyright (C) 2022 Benjamin Berg <bberg@redhat.com>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

#include <glib.h>
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb-util.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Copyright (C) 2011 Hans de Goede <hdegoede@redhat.com>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

#include "config.h"
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb-util.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Copyright (C) 2011 Hans de Goede <hdegoede@redhat.com>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb-version.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Copyright (C) 2018 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

#include "config.h"
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb-version.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Copyright (C) 2010 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion gusb/gusb.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Copyright (C) 2010 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

#pragma once
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
project('libgusb', 'c',
version : '0.4.9',
license : 'LGPL-2.1+',
license : 'LGPL-2.1-or-later',
meson_version : '>=0.56.0',
default_options : ['c_std=c99']
)
Expand Down
2 changes: 1 addition & 1 deletion tools/gusb-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Copyright (C) 2011 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1+
* SPDX-License-Identifier: LGPL-2.1-or-later
*/

#include "config.h"
Expand Down

0 comments on commit cbf25d0

Please sign in to comment.