Opened 15 years ago

Closed 15 years ago

#18106 closed enhancement (invalid)

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

Reported by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
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 (1)

Portfile.diff (530 bytes) - added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) 15 years ago.

Download all attachments as: .zip

Change History (6)

Changed 15 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Attachment: Portfile.diff added

comment:1 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

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

comment:2 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

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

comment:3 Changed 15 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

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.

comment:4 Changed 15 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

comment:5 Changed 15 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.