[MacPorts] #44476: meld @1.8.4: update mime and desktop databases post-activation
#44476: meld @1.8.4: update mime and desktop databases post-activation -------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: | Port: meld -------------------------+-------------------------------- 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) -- Ticket URL: <https://trac.macports.org/ticket/44476> MacPorts <http://www.macports.org/> Ports system for OS X
#44476: meld @1.8.4: update mime and desktop databases post-activation --------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: fixed | Keywords: Port: meld | --------------------------+-------------------------------- Changes (by devans@…): * status: new => closed * resolution: => fixed Comment: 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" }}} -- Ticket URL: <https://trac.macports.org/ticket/44476#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#44476: meld @1.8.4: update mime and desktop databases post-activation --------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: fixed | Keywords: Port: meld | --------------------------+-------------------------------- Comment (by egall@…): Replying to [comment:1 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! -- Ticket URL: <https://trac.macports.org/ticket/44476#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts