Opened 15 years ago

Closed 12 years ago

#21496 closed enhancement (fixed)

universal 32/64-bit wxwidgets-devel (2.9.0) Portfile

Reported by: Veence (Vincent) Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: wxwidgets universal Cc: mww@…, michaelld (Michael Dickens), gerald@…
Port: wxwidgets-devel

Description

The appended Portfile, together with two patch files, should allow wxwidgets-devel (that is, release 2.9.0) to be built universal on 10.5/10.6. Please test it.

Attachments (3)

Portfile.diff (1.7 KB) - added by Veence (Vincent) 15 years ago.
portfile patch
patch_bk_make_pch.diff (354 bytes) - added by Veence (Vincent) 15 years ago.
patch_textctrl_mm.diff (1.6 KB) - added by Veence (Vincent) 15 years ago.

Download all attachments as: .zip

Change History (10)

Changed 15 years ago by Veence (Vincent)

Attachment: Portfile.diff added

portfile patch

Changed 15 years ago by Veence (Vincent)

Attachment: patch_bk_make_pch.diff added

Changed 15 years ago by Veence (Vincent)

Attachment: patch_textctrl_mm.diff added

comment:1 Changed 15 years ago by Veence (Vincent)

PS : Since a universal SDL still seems dubious (cf. #20235), I've disable it in the universal variant

comment:2 Changed 15 years ago by israfel33@…

Building wxWidgets-devel with those patches works. But when I try to use 64bit version, I get error:

configure:17768: g++ -o conftest -O2 -Wall -Wno-long-long -g -Wno-variadic-macros -march=core2 -I/opt/local/lib/wx-devel/wx/include/osx_cocoa-unicode-release-2.9 -I/opt/local/include/wx-devel/wx-2.9 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -DWXOSX_COCOA conftest.cpp -L/opt/local/lib/wx-devel -L/opt/local/lib -arch x86_64 -L/opt/local/lib -framework QuickTime -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -lwx_osx_cocoau-2.9 >&5 ld: warning: in /System/Library/Frameworks//QuickTime.framework/QuickTime, missing required architecture x86_64 in file

Seems it still bets on QuickTime having 64bit version, but that is not the case in SnowLeopard.

comment:3 Changed 14 years ago by kyle.tarplee@…

I can build the port/install. I can also link against the library. But I can't run them without modification. I think the library should use install_name_tool to change the name of dylibs so that once linked everything is fine. When I run it it can't find the library unless I change my DYLD_LIBRARY_PATH which I consider inferior to just fixing the libraries.

comment:4 Changed 14 years ago by michaelld (Michael Dickens)

Cc: michaelld@… added

Cc Me!

comment:5 Changed 13 years ago by gerald@…

Cc: gerald@… added

Cc Me!

comment:6 Changed 13 years ago by bfulgham@…

Cc Me!

comment:7 Changed 12 years ago by jyrkiwahlstedt

Resolution: fixed
Status: newclosed

wxWidgets-devel is now in 2.9.4 (r95350), builds fine as universal, at least on 10.7…

Note: See TracTickets for help on using tickets.