Opened 13 years ago

Closed 13 years ago

#31944 closed defect (fixed)

[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 (5)

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

Download all attachments as: .zip

Change History (15)

Changed 13 years ago by rudloff@…

Attachment: main.log added

comment:1 Changed 13 years ago by mf2k (Frank Schima)

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

comment:2 Changed 13 years ago by afb@…

Resolution: wontfix
Status: newclosed

: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 13 years ago by afb@…

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

Changed 13 years ago by afb@…

Attachment: patch-thunar-vfs-exec.c added

comment:4 Changed 13 years 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 13 years ago by rudloff@…

Attachment: main.2.log added

Log with patch

comment:5 Changed 13 years 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 13 years ago by rudloff@…

Attachment: main.3.log added

Next log

comment:6 Changed 13 years ago by rudloff@…

Here is another log.

comment:7 in reply to:  6 Changed 13 years 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 13 years ago by rudloff@…

Attachment: Portfile.diff added

comment:8 Changed 13 years ago by rudloff@…

Resolution: wontfix
Status: closedreopened

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

comment:9 Changed 13 years ago by afb@…

Status: reopenednew
Version: 2.0.3

comment:10 Changed 13 years ago by afb@…

Resolution: fixed
Status: newclosed

Fixed, r87362.

Note: See TracTickets for help on using tickets.