Bug 195569

Summary: graphics/cairo: avoid depending on libX11 when X11 option is disabled
Product: Ports & Packages Reporter: Guido Falsi <madpilot>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: Closed FIXED    
Severity: Affects Only Me CC: kwm
Priority: --- Flags: bugzilla: maintainer-feedback? (gnome)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch moving xext component none

Description Guido Falsi freebsd_committer freebsd_triage 2014-12-01 23:20:32 UTC
Created attachment 150085 [details]
patch moving xext component

After 368007 the cairo port will pull in libX11 even if compiled with the X11 option disabled.

The xext component is unconditionally added to USE_XORG.

Attached patch moves it in the X11 conditional. This allows again building cairo without depending on libX11 and other Xorg parts.

Thanks!
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-12-01 23:20:32 UTC
Auto-assigned to maintainer gnome@FreeBSD.org
Comment 2 commit-hook freebsd_committer freebsd_triage 2014-12-09 10:54:51 UTC
A commit references this bug:

Author: kwm
Date: Tue Dec  9 10:54:36 UTC 2014
New revision: 374361
URL: https://svnweb.freebsd.org/changeset/ports/374361

Log:
  Update to 1.12.18.

  Don't depend on libX11 when X11 option is disabled. [1]

  PR:		195569 [1]
  Submitted by:	madpilot@ [1]

Changes:
  head/graphics/cairo/Makefile
  head/graphics/cairo/distinfo
  head/graphics/cairo/files/patch-src_cairo-wideint-type-private.h
  head/graphics/cairo/files/patch-src_cairo-xcb-surface-render.c
  head/graphics/cairo/files/patch-src_cairoint.h
  head/graphics/cairo/pkg-plist