[MacPorts] #44414: cairo +quartz pango +quartz

MacPorts noreply at macports.org
Sun Nov 30 09:11:43 PST 2014


#44414: cairo +quartz pango +quartz
--------------------------+--------------------------
  Reporter:  vtjnash@…    |      Owner:  ryandesign@…
      Type:  enhancement  |     Status:  closed
  Priority:  Low          |  Milestone:
 Component:  ports        |    Version:  2.3.1
Resolution:  fixed        |   Keywords:
      Port:  cairo pango  |
--------------------------+--------------------------

Comment (by vtjnash@…):

 That sounds like a great solution. Thanks! I think this will make it much
 easier to avoid dependency issues when installing `+quartz` libraries.

 Are you planning on propagating the change further. For example, for
 `gtk3`:

 {{{
 --- ports/gnome/gtk3/Portfile.orig      2014-11-30 11:55:30.000000000
 -0500
 +++ ports/gnome/gtk3/Portfile   2014-11-30 12:01:04.000000000 -0500
 @@ -142,8 +142,9 @@
      configure.args-append --disable-cups
  }

 -if {![variant_isset quartz]} {
 -    default_variants +x11
 +default_variants +x11
 +platform macosx {
 +    default_variants        +quartz
  }

  if {[variant_isset universal]} {
 @@ -221,14 +222,14 @@
      configure.cc "${configure.cc} ${configure.cc_archflags}"
  }

 -variant quartz conflicts x11 {
 +variant quartz {
      require_active_variants path:lib/pkgconfig/cairo.pc:cairo quartz
      require_active_variants path:lib/pkgconfig/pango.pc:pango quartz

      configure.args-append   --enable-quartz-backend
  }

 -variant x11 conflicts quartz {
 +variant x11 {
      require_active_variants path:lib/pkgconfig/cairo.pc:cairo x11
      require_active_variants path:lib/pkgconfig/pango.pc:pango x11
  }}}

 and `gconf`:

 {{{
 --- ports/gnome/gconf/Portfile.orig     2014-11-30 12:03:50.000000000
 -0500
 +++ ports/gnome/gconf/Portfile  2014-11-30 12:10:08.000000000 -0500
 @@ -70,14 +70,19 @@
                 configure.args-delete --without-openldap
  }

 -variant quartz conflicts x11 {}
 -variant x11 conflicts quartz {}
 +variant x11 {}
 +variant quartz {}

 -if {![variant_isset quartz]} {
 -        require_active_variants gtk3 x11 quartz
 -        default_variants +x11
 -} else {
 -        require_active_variants gtk3 quartz x11
 +default_variants +x11
 +platform macosx {
 +    default_variants +quartz
 +}
 +
 +if {[variant_isset quartz]} {
 +    require_active_variants gtk3 quartz
 +}
 +if {[variant_isset x11]} {
 +    require_active_variants gtk3 x11
  }

  # The rules enabled by gobject-introspection require GNU make 3.81+
 }}}

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


More information about the macports-tickets mailing list