[MacPorts] #44165: Incomplete mpkg of gtk2 port

MacPorts noreply at macports.org
Thu Jan 19 02:28:35 UTC 2017


#44165: Incomplete mpkg of gtk2 port
----------------------------------+--------------------------------
  Reporter:  manuel.op.de.coul@…  |      Owner:  macports-tickets@…
      Type:  defect               |     Status:  new
  Priority:  Normal               |  Milestone:
 Component:  ports                |    Version:  2.3.0
Resolution:                       |   Keywords:
      Port:  gtk2, gdk-pixbuf2    |
----------------------------------+--------------------------------
Changes (by ctreleaven):

 * port:  shared-mime-info => gtk2, gdk-pixbuf2


Comment:

 Contrary to comment 11, I now think the shared mime database should be
 created/updated via a postinstall script on the destination system.  If we
 create the database at installer build time, we might ignore another mime
 type that the user has added on the destination system.  Plus the script
 runs in less than 2 seconds so why not?  See #53351 for a patch to shared-
 mime-info that does this.

 Note that a gtk2 installer may still have problems due to other packages
 it is dependent on.  Both fontconfig and gdk-pixbuf2 also have post-
 activate actions.  See #53350 for a patch that fixes the issue with
 fontconfig.  gdk-pixbuf2 needs a similar patch but this is left as an
 exercise for the reader!  (IOW, I'm working on an installer that also uses
 fontconfig and shared-mime-info but doesn't need gdk-pixbuf2.)

--
Ticket URL: <https://trac.macports.org/ticket/44165#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list