New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #31944 (closed defect: fixed)

Opened 19 months ago

Last modified 18 months ago

[thunar] ‘XA_CARDINAL’ undeclared

Reported by: rudloff@… Owned by: afb@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: tiger Cc:
Port: thunar

Description

I get an error when trying to build Thunar 1.0.2 on Tiger (Intel).

Attachments

main.log (82.3 KB) - added by rudloff@… 19 months ago.
patch-thunar-vfs-exec.c (733 bytes) - added by afb@… 19 months ago.
main.2.log (80.6 KB) - added by rudloff@… 19 months ago.
Log with patch
main.3.log (77.9 KB) - added by rudloff@… 19 months ago.
Next log
Portfile.diff (553 bytes) - added by rudloff@… 18 months ago.

Change History

Changed 19 months ago by rudloff@…

comment:1 Changed 19 months ago by macsforever2000@…

  • Cc afb@… removed
  • Owner changed from macports-tickets@… to afb@…

comment:2 Changed 19 months ago by afb@…

  • Status changed from new to closed
  • Resolution set to wontfix

:debug:main gtk2 2.24.7_0 +no_x11+quartz is active

Running Thunar with the Quartz GDK is not supported, you'll need the X11 GDK variant of GTK+.

(Patches accepted.)

comment:3 Changed 19 months ago by afb@…

Something like this patch will fix the reported error, but might not be enough to run...

Changed 19 months ago by afb@…

comment:4 Changed 19 months ago by rudloff@…

FYI, with the patch, I am now getting this :

:info:build /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
:info:build _GDK_SCREEN_XDISPLAY
:info:build _GDK_SCREEN_XNUMBER

Changed 19 months ago by rudloff@…

Log with patch

comment:5 Changed 19 months ago by afb@…

Right, if you don't have X11 you'll also need to disable startup-notification:

variant quartz conflicts x11 {
    configure.args-delete --enable-startup-notification
    configure.args-append --disable-startup-notification
    depends_lib-delete    port:startup-notification
}

But there are still no guarantees that Thunar/Xfce will ever work without X11...

Changed 19 months ago by rudloff@…

Next log

comment:6 follow-up: ↓ 7 Changed 19 months ago by rudloff@…

Here is another log.

comment:7 in reply to: ↑ 6 Changed 18 months ago by afb@…

Replying to rudloff@…:

Here is another log.

874	:info:build twp-provider.c:26:22: error: gdk/gdkx.h: No such file or directory

Sounds like configure.args-append --disable-wallpaper-plugin for +quartz

Changed 18 months ago by rudloff@…

comment:8 Changed 18 months ago by rudloff@…

  • Status changed from closed to reopened
  • Resolution wontfix deleted

Thunar builds just fine with that. Thanks ! Here is the patch to add the quartz variant.

comment:9 Changed 18 months ago by afb@…

  • Status changed from reopened to new
  • Version 2.0.3 deleted

comment:10 Changed 18 months ago by afb@…

  • Status changed from new to closed
  • Resolution set to fixed

Fixed, r87362.

Note: See TracTickets for help on using tickets.