Opened 10 years ago
Closed 10 years ago
#44142 closed submission (fixed)
SoQt @1.5 - new port
Reported by: | mbrethen | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | SoQt |
Description
A proposed Portfile for SoQt, which is a Qt GUI component toolkit library for Coin.
SoQt is dependent on Trolltech's Qt library. On Mac OS X, you have two options:
- Use the native Qt/Mac
- Use X11 and Qt/X11
You need to build both Coin and SoQt using the same option. Coin builds with X11 and Qt/X11 by default and I have chosen the same for SoQt. Alternatively, you can install as SoQt.framework with the aqua variant (Qt/Mac). The variant checks that Coin was similarly built.
Attachments (5)
Change History (13)
Changed 10 years ago by mbrethen
Attachment: | configure.patch added |
---|
comment:1 Changed 10 years ago by mbrethen
comment:2 Changed 10 years ago by mf2k (Frank Schima)
Keywords: | qt coin removed |
---|---|
Version: | 2.3.0 |
comment:3 Changed 10 years ago by mbrethen
I'm getting a linking error:
---> Found 1 broken file(s), matching files to ports Error: Port SoQt is still broken after rebuilding it more than 3 times. Error: Please run port -d -y rev-upgrade and use the output to report a bug. Port SoQt still broken after rebuilding 3 time(s) while executing "error "Port $portname still broken after rebuilding [expr {$broken_port_counts($portname) - 1}] time(s)"" (procedure "revupgrade_scanandrebuild" line 280) invoked from within "revupgrade_scanandrebuild broken_port_counts $opts" (procedure "macports::revupgrade" line 5) invoked from within "macports::revupgrade $opts" (procedure "action_revupgrade" line 2) invoked from within "action_revupgrade $action $portlist $opts" (procedure "action_target" line 96) invoked from within "$action_proc $action $portlist [array get global_options]" (procedure "process_cmd" line 93) invoked from within "process_cmd $remaining_args" invoked from within "if { [llength $remaining_args] > 0 } { # If there are remaining arguments, process those as a command set exit_status [process_cmd $remaining..." (file "/opt/local/bin/port" line 5254)
port -d -y rev-upgrade output:
Could not open Inventor.framework/Versions/C/Inventor: Error opening or reading file (referenced from /opt/local/Library/Frameworks/SoQt.framework/Versions/A/Libraries/libSoQt.20.5.0.dylib) DEBUG: Marking /opt/local/Library/Frameworks/SoQt.framework/Versions/A/Libraries/libSoQt.20.5.0.dylib as broken ---> Found 1 broken file(s), matching files to ports ---> Found 1 broken port(s), determining rebuild order DEBUG: Broken: SoQt DEBUG: Processing port SoQt @0:1.5.0_0 +aqua ---> Rebuilding in order SoQt @1.5.0 +aqua DEBUG: epoch: in tree: 0 installed: 0 DEBUG: SoQt 1.5.0_0 exists in the ports tree DEBUG: SoQt 1.5.0_0 +aqua is the latest installed DEBUG: SoQt 1.5.0_0 +aqua is active DEBUG: Merging existing variants '+aqua' into variants DEBUG: new fully merged portvariants: aqua + bash_completion + DEBUG: Changing to port directory: /Users/marbre/ports/graphics/SoQt DEBUG: OS darwin/13.2.0 (Mac OS X 10.9) arch i386 DEBUG: Going to use alternate build prefix: /Users/marbre/.macports DEBUG: workpath = /Users/marbre/.macports/opt/local/var/macports/build/_Users_marbre_ports_graphics_SoQt/SoQt/work DEBUG: Sourcing PortGroup active_variants 1.1 from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/active_variants-1.1.tcl DEBUG: adding the default universal variant DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: Requested variant +bash_completion is not provided by port SoQt. DEBUG: Executing variant aqua provides aqua DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies DEBUG: rev-upgrade override ... upgrading! DEBUG: epoch: in tree: 0 installed: 0 DEBUG: Coin 3.1.3_2 exists in the ports tree DEBUG: Coin 3.1.3_2 +aqua is the latest installed DEBUG: Coin 3.1.3_2 +aqua is active DEBUG: Merging existing variants '+aqua' into variants DEBUG: new fully merged portvariants: aqua + bash_completion + DEBUG: Changing to port directory: /Users/marbre/ports/graphics/Coin DEBUG: OS darwin/13.2.0 (Mac OS X 10.9) arch i386 DEBUG: Going to use alternate build prefix: /Users/marbre/.macports DEBUG: workpath = /Users/marbre/.macports/opt/local/var/macports/build/_Users_marbre_ports_graphics_Coin/Coin/work DEBUG: adding the default universal variant DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: Requested variant +bash_completion is not provided by port Coin. DEBUG: Executing variant aqua provides aqua DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies DEBUG: No need to upgrade! Coin 3.1.3_2 >= Coin 3.1.3_2
comment:4 Changed 10 years ago by mbrethen
'Inventor.framework/Versions/C/Inventor' points to 'Inventor.framework/Versions/C/Libraries/libCoin.60.1.3.dylib'
Is the link failing or can it not read libCoin.60.1.3.dylib?
Changed 10 years ago by mbrethen
Changed 10 years ago by mbrethen
Attachment: | framework-prefix.patch added |
---|
Patched src/Inventor/Qt/Makefile.in to prefix /opt/local/Library/Frameworks/ to the names.
comment:5 Changed 10 years ago by mbrethen
Remove Portfile.2 and framework-prefix.patch -- they are not used.
Changed 10 years ago by mbrethen
comment:7 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|---|
Status: | new → assigned |
comment:8 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Committed in r122490 with these changes:
- adjusted whitespace so that indentations are at multiples of 4 spaces and so that tabs are not used
- renamed patchfiles to match our patch naming guidelines
- used
depends_lib-replace
instead ofdepends_lib-delete
anddepends_lib-append
Verified check for 'aqua' variant: