https://bugzilla.xfce.org/show_bug.cgi?id=15498

--- Comment #2 from Maurizio Galli <[email protected]> ---
sorry I made a mistake in explaining the problem. I what happens is
org.xfce.thunar.appdata.xml.in vs org.xfce.Thunar, the latter not matching the
appdata filename because of the capital T. 

The difference in name causes the backend of our package manager zypper to fail
installing the package.

The origin of the patch is best explained in comments 1 and 11 of the link I
provided

https://bugzilla.opensuse.org/show_bug.cgi?id=952324#c1

https://bugzilla.opensuse.org/show_bug.cgi?id=952324#c11

```
That one can be seen as a libzypp bug or a thunar bug; the fix is
certainly easier in Thunar.

The package provides:
  appdata(thunar.appdata.xml)
and
  application(Thunar.desktop)

Now, thunar does not really do anything 'invalid' there, as the
provided appdata.xml correctly references Thunar.desktop, but libzypp
falls on the nose with it.

For this error to disappear, the appdata file and the .desktop file
should use the same basename.

So the easiest fix is for Thunar to rename thunar.appdata.xml to
Thunar.appdata.xml; then the problem disappears (do not rename the
.desktop file, or you will need to patch the appdata.xml, which
references the .desktop file by name)

In the longer run, libzypp might need a fix to not be so pedantic about
it (the AppData standard does not mandate the names to be equal; but
from any upstream project PoV, it's good practice to reuse the naming
schemes throughout the project anyway).
```

> 
> I dont know much about AppStream. I just fear that it is more than a
> coincidence that both files use the same name/id.
> Possibly you can point me to some documentation regarding the "id type" ?

https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce-bugs

Reply via email to