mac_app.py   mac_app.py 
skipping to change at line 130 skipping to change at line 130
Copies over and process all linked Qt frameworks. Copies over and process all linked Qt frameworks.
''' '''
frameworkDirectory = os.path.join(installDirectory, 'Frameworks') frameworkDirectory = os.path.join(installDirectory, 'Frameworks')
os.mkdir(frameworkDirectory) os.mkdir(frameworkDirectory)
allFramework = [] allFramework = []
# First, copy over the stellarium dependencies # First, copy over the stellarium dependencies
frameworks = getListOfLinkedQtFrameworksForFile(os.path.join(install Directory, 'MacOS/stellarium')) frameworks = getListOfLinkedQtFrameworksForFile(os.path.join(install Directory, 'MacOS/stellarium'))
# QtMultimedia? # QtMultimedia?
if 'QtMultimedia' in ' '.join(frameworks): if 'QtMultimedia' in ' '.join(frameworks):
frameworks.append(frameworks[-1].replace('QtMultimedia','QtM ultimediaWidgets')) frameworks.append(frameworks[-1].replace('QtMultimedia','QtM ultimediaWidgets'))
# QtOpenGL is required by QtMultimediaWidgets
frameworks.append(frameworks[-1].replace('QtCore','QtOpenGL'
))
for framework in frameworks: for framework in frameworks:
copyFrameworkToApp(framework) copyFrameworkToApp(framework)
allFramework.append(framework) allFramework.append(framework)
# Now copy over any of the framework's dependencies themselves # Now copy over any of the framework's dependencies themselves
for framework in frameworks: for framework in frameworks:
for dependentFramework in getListOfLinkedQtFrameworksForFile (framework): for dependentFramework in getListOfLinkedQtFrameworksForFile (framework):
copyFrameworkToApp(dependentFramework) copyFrameworkToApp(dependentFramework)
allFramework.append(dependentFramework) allFramework.append(dependentFramework)
# for framework in set(allFramework): # for framework in set(allFramework):
updateName(framework) updateName(framework)
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/