New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #18106 (closed enhancement: invalid)

Opened 3 years ago

Last modified 3 years ago

RFE: Have xorg-libXxf86dga +system_x11 install as little as possible

Reported by: mcalhoun@… Owned by: jeremyhu@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: xorg-libXxf86dga

Description

XQuartz seems to provide xf86dgaproto but not xxf86dga.
Is there a safe way install just the library (see attached file)?

Attachments

Portfile.diff Download (0.5 KB) - added by mcalhoun@… 3 years ago.

Change History

Changed 3 years ago by mcalhoun@…

Changed 3 years ago by jeremyhu@…

I think I'd rather not get that complicated. I'd rather just fix the remaining ports depending on xorg-libs to instead depend on only what they need... that way you won't need to pull in libXxf86dga.dylib unless you really want it

Changed 3 years ago by jeremyhu@…

I think I'd be willing to do:

@@ -47,6 +47,9 @@
 		}
 		use_configure no
 	} else {
+               depends_build-delete port:xorg-xf86dgaproto port:xorg-xproto port:xorg-xextproto
+               depends_build-append path:${x11prefix}/lib/pkgconfig/xf86dgaproto.pc:xorg-xf86dgaproto ...
+
 		if {${os.major} < 9 && ![file exists ${prefix}/lib/pkgconfig/x11.pc]} {
 			configure.env-append \
 				XXF86DGA_CFLAGS="-I${prefix}/include -I${x11prefix}/include" \

but I'd rather do that for all ports for consistency rather than just a couple here and there

Changed 3 years ago by mcalhoun@…

Fair enough.
Other than this minor issue, my MacPorts setup and X11 seem to be getting along quite well.

I do not think

path:${x11prefix}/lib/pkgconfig/xf86dgaproto.pc:xorg-xf86dgaproto

will work because of #17182.

Changed 3 years ago by anonymous

  • milestone Port Enhancements deleted

Milestone Port Enhancements deleted

Changed 3 years ago by mcalhoun@…

  • status changed from new to closed
  • resolution set to invalid

Closing since system_x11 will soon be gone.
See  http://lists.macosforge.org/pipermail/macports-dev/2009-April/008419.html

Note: See TracTickets for help on using tickets.