Missing / incorrect license information in libraries.yml

Created on 7 March 2022, almost 3 years ago
Updated 27 August 2024, 4 months ago

Problem/Motivation

The library definition in social_media_links.libraries.yml is missing the license information for the fontawesome.component library.
See https://git.drupalcode.org/project/social_media_links/-/blob/8.x-2.x/soc...

As a result Drupal core adds the GPL to the definition, which could be interpreted as re-licensing the library.
See https://git.drupalcode.org/project/drupal/-/blob/9.4.x/core/lib/Drupal/C...

Resulting library definition

    [fontawesome.component] => Array
        (
            [css] => Array
                (
                    [0] => Array
                        (
                            [type] => external
                            [weight] => 0
                            [group] => 0
                            [data] => //maxcdn.bootstrapcdn.com/font-awesome/4.6.0/css/font-awesome.min.css
                            [version] => -1
                        )

                )

            [dependencies] => Array
                (
                )

            [js] => Array
                (
                )

            [license] => Array
                (
                    [name] => GNU-GPL-2.0-or-later
                    [url] => https://www.drupal.org/licensing/faq
                    [gpl-compatible] => 1
                )

        )

Although the font and CSS are released under an open license, this seems wrong.

Proposed resolution

Fix the license declaration.

Remaining tasks

Fix the license declaration.

User interface changes

n/a

API changes

n/a

Data model changes

n/a

πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany sanduhrs πŸ‡ͺπŸ‡Ί Heidelberg, Germany, Europe

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024