[MacPorts] #44476: meld @1.8.4: update mime and desktop databases post-activation

MacPorts noreply at macports.org
Tue Jul 29 04:56:54 PDT 2014


#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


More information about the macports-tickets mailing list