rpmlint icon indicating copy to clipboard operation
rpmlint copied to clipboard

warn on/ban directories for GNOME 1 and KDE 1 support

Open stanislav-brabec opened this issue 4 years ago • 3 comments

mime-info

mime-info is an obsolete MIME type definition format. It was used by GNOME 1 and early versions of GNOME 2. According to gnome-vfs2 ChangeLog, GNOME adopted shared-mime-info (/usr/share/mime + MIME types in desktop files) in GNOME 2.6. Last version of mime-info support, gnome-mime-data-2.18.0 was released in 2007.

Recent version of GNOME 2 and GNOME 3 have no support for the old mime-info, so there is no reason to pack these files any more, and the upstream should be notified about its obsolescence.

/usr/share/mime-info /usr/share/application-registry

mimelnk

Also mimelnk is an obsolete MIME type definition format. It was used by KDE 1, 2 and 3. Now it is replaced by shared-mime-info. It is obsolete since 2009. There is no reason to pack these files any more, and the upstream should be notified about its obsolescence.

/usr/share/mimelnk

other GNOME 1 files

Probably all /usr/share/gnome subitems except help directory and gnome-version.xml file are obsolete as well. There is no reason to pack these files any more, and the upstream should be notified about its obsolescence. Hopefully, it seems that no package distributes any of these files nowadays.

Specifically: /usr/share/gnome/autostart desktop files: replaced by XDG autostart /usr/share/gnome/cursor-fonts pcf files: discontinued, now /usr/share/icons/_*_/cursors /usr/share/gnome/shutdown: replaced by XDG session management and systemd --user /usr/share/gnome/html: is an obsolete developer documentation directory /usr/share/gnome/wm-properties: discontinued, GNOME has no WM selection support any more

stanislav-brabec avatar Jun 22 '20 11:06 stanislav-brabec

As a note we found packages in openSUSE still using these and it is pointless, thus the need for new checker.

scarabeusiv avatar Jun 23 '20 07:06 scarabeusiv

I don't see a reason not to have the check. This definitely makes sense to me. Also, yikes, GNOME 1 in 2020!

Conan-Kudo avatar Jun 23 '20 08:06 Conan-Kudo

Here are another candidates: /usr/share/gnome/apps: Ancient GNOME 1 files from pre-desktop file era. No openSUSE Tumbleweed package install such file, but update-desktop-files still refers to it.

I am unsure about /usr/share/autostart. Is it pre-XDG autostart or KDE specific directory? (It is still in use.)

stanislav-brabec avatar Jun 30 '20 03:06 stanislav-brabec