Opened 11 years ago

Closed 5 years ago

#39745 closed defect (fixed)

xsel missing dependency

Reported by: baf@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: xsel

Description (last modified by ryandesign (Ryan Carsten Schmidt))

xsel depends on xorg-libXt but doesnt install it. specifically:

xsel.c:32:10: fatal error: 'X11/StringDefs.h' file not found

Change History (4)

comment:1 Changed 11 years ago by cooljeanius (Eric Gallager)

Confirming that xorg-libXt provides X11/StringDefs.h:

Local-Admins-MacBook-Pro:~ ericgallager$ port provides /opt/local/include/X11/StringDefs.h
/opt/local/include/X11/StringDefs.h is provided by: xorg-libXt

xsel doesn't actually link against any of xorg-libXt's libraries though:

Local-Admins-MacBook-Pro:~ ericgallager$ otool -L /opt/local/bin/xsel
/opt/local/bin/xsel:
	/opt/local/lib/libX11.6.dylib (compatibility version 10.0.0, current version 10.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11)

So it would just be a build dependency, not a library dependency.

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

comment:3 in reply to:  2 Changed 8 years ago by bobo@…

Replying to ryandesign@…: Still broken, exactly as described. Installed fine with sudo /opt/local/bin/port install xorg-libXt xsel

Last edited 5 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:4 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In 44c3a8a0a3a82880d61396b171f710ba16e93342/macports-ports (master):

xsel: Add missing xorg-libXt build dependency

Closes: #39745

Also add license, modernize checksums, add GitHub handle to maintainer.

Note: See TracTickets for help on using tickets.