#4001 closed defect (fixed)
OMShell Macports install issue
Reported by: | dersh | Owned by: | sjoelund.se |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | Build Environment | Version: | |
Keywords: | Cc: | sjoelund.se |
Description
As part of using Macports to build and install OMEdit, it puts applications into /Applications/MacPorts.
However, OMShell is no longer properly installed, as an application, into that folder. Instead a folder called Contents is created. This looks like a folder that should go inside the OMShell application bundle (for example it contains Info.plist and PkgInfo etc). And the actual binary is being installed into Contents/MacOS/OMShell. But, the application bundle is not being correctly built. This is not a major problem, as the binary can still be run from the command line, but will confuse any new users.
It used to build correctly with older versions of OMEdit, so there was a change to break this final step of the build step for OMShell.
Note that OMEdit and OMNotebook do build and install correctly into that same folder, so it is just an issue with OMShell.
Change History (5)
comment:1 Changed 6 years ago by sjoelund.se
comment:2 Changed 6 years ago by dersh
- Resolution set to fixed
- Status changed from new to closed
This is now working correctly for OMShell. I'm not sure what your second question is. When building it installs three applications into /Applications/Macports/ OMShell, OMNotebook, and OMEdit. When doing an upgrade it replaces those, so I think that this is the expected and correct behavior.
comment:3 Changed 6 years ago by sjoelund.se
I had some Mac user who when installing from MacPorts got one of the apps installed in his local installation of the app. So when upgrading, OMShell.app would install into /home/user/OpenModelica/build/Applications/OMShell.app instead of /Applications/MacPorts.
comment:4 Changed 6 years ago by dersh
I haven't seen that problem.
FYI, it is odd that there would be such a folder path at all, unless the user created a new user called OpenModelica? Otherwise, /home/user should just contain the names of users on the system.
comment:5 Changed 6 years ago by sjoelund.se
I meant his user folder; someone who compiles his own OpenModelica with the git repo as ~/OpenModelica. Anyway, doesn't matter anymore.
Is this still a problem? Does the install overwrite some .app in a local installation of OpenModelica?