https://bugs.kde.org/show_bug.cgi?id=491172

            Bug ID: 491172
           Summary: Apps with single non-SPDX license in their
                    <project_license> tag display it with its first letter
                    cut off
    Classification: Applications
           Product: Discover
           Version: 6.1.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: discover
          Assignee: plasma-b...@kde.org
          Reporter: n...@kde.org
                CC: aleix...@kde.org
  Target Milestone: ---

Created attachment 172214
  --> https://bugs.kde.org/attachment.cgi?id=172214&action=edit
license for Drawf Fortress shown as "warf Fortress" instead of "Dwarf Fortress"

See attached screenshot.

Basically the problem here is that the first letter of the license text will be
cut off for any app whose appstream data has a <project_license> tag contains
one item with no commas in it, and its text does not match an SPDX license
identifier, and also does not match "LicenseRef-[some random thing]".

I can reproduce the issue with multiple packages from Fedora's nonfree
RPMFusion repo (found the metainfo files at
/usr/share/swcatalog/xml/rpmfusion-nonfree-40.xml.gz), which is full of games
with weird nonstandard proprietary licenses.

Examples:

> Dwarf Fortress
> <project_license>Dwarf Fortress</project_license>
> Shown in the UI as "warf Fortress"

> Road Fighter
> <project_license>Distributable</project_license>
> Shown in the UI as "istributable"

> Snes9x
> <project_license>Other</project_license>
> Shown in the UI as "ther"



Examples that do NOT trigger the bug:

> Ripcord
> <project_license>LicenseRef-proprietary</project_license>
> Shown in the UI as "Proprietary"

> Frogatto & Friends
> <project_license>GPL-3.0 and proprietary</project_license>
> Shown in the UI as "GPL-3.0 Proprietary"

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to