tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Avoiding desktop-file-utils dependency



tl;dr - make desktop-file-utils a full dependency for buildlink, not
desktopdb.mk

desktop-file-utils has two types of users - a full buildlink depends
for window managers and desktop environments, and a "just keep
mimeinfo.cache up to date" desktopdb.mk for apps.

desktop-file-utils has moderate depends itself compared to most
desktop packages - glib2 & meson, but that can be significant for
someone just wanting to build some light tools like xterm, or joe.

It's easy enough to adjust the desktopdb.mk include to not add the
depends, and to have the install template only call UPDATE_DESKTOPDB
is present. Since desktop-file-utils runs UPDATE_DESKTOPDB on install,
this means the final result on a system with desktop-file-utils and
some packages installed will be the same whatever the install order.

Patch attached - what do people think?

David

Attachment: diff
Description: Binary data



Home | Main Index | Thread Index | Old Index