[MacPorts] #45263: gobject_introspection portgroup

MacPorts noreply at macports.org
Mon Oct 6 12:40:19 PDT 2014


#45263: gobject_introspection portgroup
---------------------------+----------------------
  Reporter:  ryandesign@…  |      Owner:  devans@…
      Type:  enhancement   |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.3.99
Resolution:                |   Keywords:  haspatch
      Port:                |
---------------------------+----------------------

Comment (by ryandesign@…):

 Replying to [comment:1 devans@…]:
 > This is one of a number of issues that I think could be included in a
 broader gnome Port Group. Will review and incorporate these changes during
 the GNOME 3.15 development cycle.

 Sounds good. Thanks. What else were you considering for the gnome
 portgroup, and is there anything you need help with?

 Replying to [comment:2 devans@…]:
 > I would add that, at least for GNOME ports,
 > {{{
 > gobject_introspection yes
 > }}}
 > would be a more appropriate default.

 I considered that, but was trying to learn my lesson from the app
 portgroup, in which I turned its functionality on by default. This turned
 out to be inconvenient in situations where some subports or variants in a
 portfile wanted the feature and some did not. Consider for example the
 goffice port. The main goffice port wants introspection, but the goffice08
 subport does not.

 Additionally, if the portgroup were to enable introspection the moment it
 is included, as you suggest, this would mean all ports that use it would
 need to ensure they use `depends_lib-append` instead of overwriting
 `depends_lib`, and `depends_build-append` instead of overwriting
 `depends_build`. This kind of thing is easily forgotten and will lead to
 more problems to be debugged later. If instead we simply require that
 `gobject_introspection yes` is called after the dependencies have been
 added, then we avoid those problems.

-- 
Ticket URL: <https://trac.macports.org/ticket/45263#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list