MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013600 | CMake | CMake | public | 2012-10-23 06:56 | 2013-04-17 08:54 |
Reporter | Tobias Hieta | ||||
Assigned To | David Cole | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Darwin | OS | MacOSX | OS Version | 10.8.2 |
Product Version | CMake 2.8.9 | ||||
Target Version | CMake 2.8.11 | Fixed in Version | CMake 2.8.11 | ||
Summary | 0013600: fixup_bundle doesn't copy Sparkle.framework | ||||
Description | After quite a bit of debugging I realized that fixup_bundle has a regexp that matches Frameworks in order to resolve embedded item. This didn't work properly for me. Before I made the change the following was given when fixup bundle was executed (I changed show_status=1 in fixup_bundle to see it) -- 8/66: copying '/path/Dependencies/932bede-darwin-i686/Frameworks/Sparkle.framework/Sparkle' -- key='Sparkle' -- item='/path/Dependencies/932bede-darwin-i686/Frameworks/Sparkle.framework/Sparkle' -- resolved_item='/path/Dependencies/932bede-darwin-i686/Frameworks/Sparkle.framework/Sparkle' -- default_embedded_path='@executable_path/../Frameworks' -- embedded_item='/path/Dependencies/932bede-darwin-i686/Frameworks/Sparkle.framework/Sparkle' -- resolved_embedded_item='/path/Dependencies/932bede-darwin-i686/Frameworks/Sparkle.framework/Sparkle' -- copyflag='1' This resulted in a warning that resolved_item == resolved_embedded_item and that it wouldn't be copied. The error turns out to be the following line in BundleUtilities.cmake string(REGEX REPLACE "^.*(${item_name}.framework/.*/${item_name}).*$" "${default_embedded_path}/\\1" embedded_item "${item}") I changed it to string(REGEX REPLACE "^.*(${item_name}.framework/${item_name}).*$" "${default_embedded_path}/\\1" embedded_item "${item}") to get it to work. I am not sure if this is just because of the Sparkle framework layout, but looking at other frameworks it seems quite normal to have Name.framework/Name as the path to the library. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-10-23 06:56 | Tobias Hieta | New Issue | |||
2012-10-23 07:05 | David Cole | Assigned To | => David Cole | ||
2012-10-23 07:05 | David Cole | Status | new => assigned | ||
2012-10-23 07:15 | David Cole | Note Added: 0031291 | |||
2012-10-23 07:16 | David Cole | Note Edited: 0031291 | bug_revision_view_page.php?bugnote_id=31291#r863 | ||
2012-10-23 07:26 | Tobias Hieta | Note Added: 0031292 | |||
2012-10-23 18:34 | David Cole | Note Added: 0031300 | |||
2012-10-23 18:35 | David Cole | Target Version | => CMake 2.8.11 | ||
2012-11-01 17:56 | David Cole | Note Added: 0031378 | |||
2012-11-01 17:56 | David Cole | Status | assigned => resolved | ||
2012-11-01 17:56 | David Cole | Fixed in Version | => CMake 2.8.11 | ||
2012-11-01 17:56 | David Cole | Resolution | open => fixed | ||
2013-04-17 08:54 | Robert Maynard | Note Added: 0032859 | |||
2013-04-17 08:54 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|