Opened 7 years ago

Closed 6 years ago

#56464 closed defect (fixed)

gimp2 no longer compiles with the +quartz variant

Reported by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: devans@…
Port: gimp2 gvfs libgdata

Description

Recent, the gvfs variant was removed from gimp2, and gvfs was made a required dependency.
This pulls in a dependency on gcr, which is incompatible with the quartz variant.
Of course, the best solution would be to get gcr working with quartz.
However, this seems more like a long-term project since it does not seem to be a high priority upstream.

In the short-term, I can think of two workarounds:

  1. Add quartz/x11 variants to

libgdata

variant quartz conflicts x11 {
    depends_lib-delete port:gnome-online-accounts \
		       port:gcr \
                       port:libxml2

    configure.args-replace --enable-gnome --disable-gnome
    configure.args-replace --enable-goa   --disable-goa
}

gvfs

variant quartz conflicts x11 {
    configure.args-replace --enable-goa --disable-goa
    configure.args-append  --disable-gcr
    depends_lib-delete     port:gnome-online-accounts
}
  1. Add quartz/x11 variants to gimp2
    variant quartz conflicts x11 {
        depends_lib-delete port:gvfs
    }
    

I am not at all sure this is the right way to do this.
As far as I can tell, gvfs is a runtime dependency of gimp2.

I would be happy to create a pull request for either option.
Are either viable?
I am very much out of my element with GNOME.

Change History (1)

comment:1 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Owner: set to MarcusCalhoun-Lopez
Resolution: fixed
Status: newclosed

In 1c2680ee4369a46951cb70a83421b571b3b057ad/macports-ports (master):

gimp2: make gvfs a runtime dependency

Fixes #56464

Note: See TracTickets for help on using tickets.