Bug 195569 - graphics/cairo: avoid depending on libX11 when X11 option is disabled
Summary: graphics/cairo: avoid depending on libX11 when X11 option is disabled
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-01 23:20 UTC by Guido Falsi
Modified: 2014-12-09 10:55 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (gnome)


Attachments
patch moving xext component (829 bytes, patch)
2014-12-01 23:20 UTC, Guido Falsi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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