Opened 17 years ago
Closed 17 years ago
#2859 closed defect (invalid)
Mac OS X bundles are missing Contents/Resources/application.icns
Reported by: | Owned by: | Nigel | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
When building on Mac OS X, the generated application bundles no longer have their icons.
The cause appears to be that that application bundles are missing Contents/Resources?/application.icns
The bundles are generated properly in 20-fixes, so this is a new problem on the head.
Change History (4)
comment:1 Changed 17 years ago by
Owner: | changed from Isaac Richards to Nigel |
---|---|
Status: | new → assigned |
comment:3 Changed 17 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
"make install" on Mac OS X used to generate the app bundles in /usr/local/bin. Now it only generates the command line executables, leaving no way to launch the frontend from the Finder. I tried running "contrib/OSX/osx-bundler.pl /usr/local/bin/mythfrontend /usr/local/lib" to generate the app bundle, but the bundle that was created had no Resources directory, and thus, no icon. Is there some other step that I need to do generate the app bundle properly?
To get by for now, I moved the bundle created by osx-bundler.pl into /Applications, removed the Frameworks tree (seemed redundant), manually created the Resouces/application.icns file, and then made MacOS/mythfrontend a symbolic link to /usr/local/bin/mythfrontend. That works for now, and will survive future "make install"s.
comment:4 Changed 17 years ago by
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
A plain configure/qmake/make will only generate binaries now. Same as on Linux.
The two ways to build a bundle with an icon are;
1) configure with --enable-mac-bundle, and
2) use contrib/OSX/osx-packager.pl to build everything.
I may add a --icon option to osx-bundler.pl, but don't hold your breath!
Hmm. On my build, the Icon file is there, but not being used.
It might be a problem with my new osx-bunder.pl script