New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #14249 (closed submission: fixed)

Opened 4 years ago

Last modified 3 years ago

Add libXt - X Toolkit Intrinsics

Reported by: mvfranz@… Owned by: ram@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: xorg-libXt

Description

I have created a Portfile to add libXt to macports.

Attachments

Portfile Download (0.6 KB) - added by mvfranz@… 4 years ago.
Portfile.2 Download (0.9 KB) - added by myschizobuddy@… 3 years ago.
working portfile

Change History

Changed 4 years ago by mvfranz@…

Changed 4 years ago by ram@…

  • milestone set to Port Submissions

Changed 4 years ago by ram@…

  • type changed from defect to enhancement

would you mind being maintainer of this port?

Changed 4 years ago by ram@…

  • status changed from new to assigned
  • owner changed from macports-tickets@… to ram@…

Changed 4 years ago by ram@…

in the dependencies you've commented out port:xorg-libX11 I take it that this port depends on libX11, but builds fine with the system X11?

You can specify this dependency as: lib:libX11.6:xorg-libX11 which will use the system version, if available, or the xorg-libX11 port otherwise.

Is this the case?

Changed 4 years ago by mvfranz@…

I am not expert. I initially had the dependency in there since I thought it would need it. When I was verifying that they worked, I add only the dependencies that were required. To do that, I uninstalled macports and all ports and then installed macports. Then built the port. So, I had X11 installed as it is not part of macports. If people have not installed X11, then I guess the xorg-libX11 would be required.

Is it easy to remove X11 to do a definitive test?

Changed 4 years ago by ram@…

probably by renaming /usr/X11?

Changed 4 years ago by mvfranz@…

I renamed the /usr/X11R6 and tried to install. It failed. I renamed to what is should be and tried to install. It also failed. I added the port as a dependancy and the port installed.

I think that the port:xorg-libX11 is required.

As I mentioned on the list, I had tested these ports before submitting. The version of OS X was different and the dependancy was not required - at least I didn't think it was. I guess, having it will not hurt.

Changed 4 years ago by ram@…

I can't get this to build, it fails during configure with the error:

checking pkg-config is at least version 0.9.0... yes
checking for XT... configure: error: Package requirements (sm x11 xproto kbproto) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively you may set the XT_CFLAGS and XT_LIBS environment variables
to avoid the need to call pkg-config.  See the pkg-config man page for
more details.

adding

configure.pkg_config_path ${prefix}/lib/pkgconfig

to the port, to specify the location of the pkg-config files, results in the same error, the only way I can get libXt to build is to use:

configure.pkg_config_path ${prefix}/lib/pkgconfig:${xllprefix}/lib/pkgconfig

but that will link against the system libsm etc... (This is on Intel Leopard, with Xquartz 2.1.4) Are you seeing this error?

Changed 4 years ago by mvfranz@…

The only problems I had yesterday when I built on a clean install was issues with xorg-libXdmcp requiring xorg-xproto.

I am not on Leopard, so that might make a difference.

To debug the different package requirements, I change the configure.ac file pk config line to be 4 individual checks. That way I can find out which on it is really complaining about.

Can the port file be specific to Leopard and Tiger? Macports be able to tell which environment it is building under and choose the correct configuration?

Changed 4 years ago by ram@…

I think this is going to involve a bit of thought on how to resolve properly, I've emailed the Xquartz maintainers to get their input.

Changed 3 years ago by myschizobuddy@…

this is needed to build the latest webkit build. any updates on this port

Changed 3 years ago by myschizobuddy@…

its categories have to be "X11 devel"

Changed 3 years ago by myschizobuddy@…

ok port:xorg-libX11 is required for this to build on leopard. beside that this is good to go

Changed 3 years ago by myschizobuddy@…

I guess we can have a variant if users want to build against the system or not

Changed 3 years ago by myschizobuddy@…

working portfile

Changed 3 years ago by myschizobuddy@…

can someone test this and commit it

Changed 3 years ago by ram@…

Getting the error:

Error: Dependency 'xorg-xf86bigfontproto' not found.
Error: Status 1 encountered during processing.

xorg-xf86bigfontproto is not in the ports tree and is being brought in as a dependency of xorg-proto. This is ticket #15387

Changed 3 years ago by myschizobuddy@…

i just tested this on leopard 10.5.5 and it didn't mention xorg-xf86bigfontproto and compiled correctly

Changed 3 years ago by ram@…

I'm on 10.5.5 as well, did you already have the xorg-proto port installed? I didn't and this port expresses a dependency on xorg-xf86bigfontproto:

$ port deps xorg-proto | grep xf86bigfontproto
        xorg-xf86bigfontproto
$

Changed 3 years ago by myschizobuddy@…

OK i have posted a new port for xf86bigfontproto see #16878

Changed 3 years ago by ram@…

  • status changed from assigned to closed
  • resolution set to fixed
  • port set to xorg-libXt

committed in r40855, thanks.

Changed 3 years ago by jmr@…

  • type changed from enhancement to submission

Changed 3 years ago by anonymous

  • milestone Port Submissions deleted

Milestone Port Submissions deleted

Note: See TracTickets for help on using tickets.