#44476 closed enhancement (fixed)
meld @1.8.4: update mime and desktop databases post-activation
Reported by: | cooljeanius (Eric Gallager) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.1 |
Keywords: | Cc: | landonf (Landon Fuller) | |
Port: | meld |
Description
meld prints the following messages during its destroot:
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_meld/meld/work/meld-1.8.4/help' *** MIME database not updated. After (un)install, run this: *** update-mime-database /opt/local/share/mime *** Desktop database not updated. After (un)install, run this: *** update-desktop-database /opt/local/share/applications make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_meld/meld/work/meld-1.8.4'
However, it never appears to do either of these during its post-activation step, as is the norm for ports that do these things. Also, it does not print a message mentioning this, but as it appears to install scrollkeeper docs as well, it could also use a call to scrollkeeper-update
, leading to its post-activate step looking like this:
post-activate { system "${prefix}/bin/scrollkeeper-update" system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" system "${prefix}/bin/update-mime-database ${prefix}/share/mime" }
(taken from the Portfile for oregano)
Change History (2)
comment:1 follow-up: 2 Changed 10 years ago by dbevans (David B. Evans)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 10 years ago by cooljeanius (Eric Gallager)
Replying to devans@…:
Fixed in r122773 along with other updates.
Note the need to for the following additional commands in post-activate (both hicolor and HighContrast icons are installed) and the additional dependencies needed to make sure the post-activate commands are available (desktop-file-utils, rarian, shared-mime-info, gtk2).
system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor" system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/HighContrast"
OK, I was wondering if those might be needed as well, but I could not tell for sure, so I left them out to be safe. Anyways, thanks for the update!
Fixed in r122773 along with other updates.
Note the need to for the following additional commands in post-activate (both hicolor and HighContrast icons are installed) and the additional dependencies needed to make sure the post-activate commands are available (desktop-file-utils, rarian, shared-mime-info, gtk2).