tech-pkg archive

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

Re: Problem setting APPLICATIONS_PATH





On 6/12/23 03:12, Greg Troxel wrote:
Mark Davies <mark%ecs.vuw.ac.nz@localhost> writes:

When sysutils/desktop-file-utils/desktopdb.mk was modified last year
to not include sysutils/desktop-file-utils/buildlink3.mk, that meant
that ${BUILDLINK_PREFIX.desktop-file-utils} is not defined.

so any package including desktop-file-utils/desktopdb.mk is not
getting APPLICATIONS_PATH set correctly in their INSTALL and DEINSTALL
scripts (its set to /share/applications rather than
/usr/pkg/share/applications)

Why was it modified?  Was it done correctly?   It sounds like you are
saying that desktopdb.mk does need to include the above bl3, and that
the change before was wrong, and should perhaps be reverted.  But you
didn't say that, even though you could have, so it feels like I am
missing something.


The commit message that went along with the change says:

 Consumers of desktop entries still register a full dependency
 on desktop-file-utils, but apps that install a .desktop file
 in share/applications do not. They still have a POST-INSTALL
 step to call UPDATE_DESKTOPDB, but only if it is already
 installed.

 Should be not functional difference for any system with a
 consumer of desktop entries installed, but for an app
 with a .desktop entry the build of python, meson & glib2
 may be deferred. Helpful for small apps and lower power
 systems


Not sure what precisely was intended, but the implementation clearly isn't working correctly at the moment.

cheers
mark


Home | Main Index | Thread Index | Old Index