Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#14040 closed defect (wontfix)

Vim.app uses absolute paths for data files

Reported by: hawkins22@… Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: vim-app Cc:
Port:

Description

Starting vim.app runs into problems finding syntax.vim, color files, etc. It is looking in /Applications/MacPorts/Vim/Vim.app, and I had moved the app file to /Applications/Vim.app. It appears it used to be hardcoded to /opt/local/..., but these should be relative links, not absolute.

Change History (6)

comment:1 Changed 17 years ago by raimue (Rainer Müller)

Keywords: vim-app added
Milestone: Port Bugs
Owner: changed from macports-tickets@… to raimue@…
Status: newassigned

comment:2 Changed 17 years ago by raimue (Rainer Müller)

In the first place, why did you move it around? In r33299 I moved Vim.app to /Applications/MacPorts/Vim.app.

According to ls -lAR /Applications/MacPorts/Vim.app I couldn't find any symlinks at all in Vim.app. What exactly where you referring to? Do you have some error message or anything?

Please provide more information.

comment:3 in reply to:  2 Changed 17 years ago by hawkins22@…

App packages are supposed to be completely contained... Thus, you can run them from anywhere. Move the app package to /Applications/Vim.app (I don't wnat to keep unneccessary subfolders under Applications).

Run the application. first, several colors in my .vimrc file aren't found. first problem.

next, type ":syntax on".

This error appears: can't open file /Applications/MacPorts//Vim/Vim.app/Contents/Resources/ vim/syntax/syntax.vim

Neither of these tests are a problem in the original location.

comment:4 Changed 17 years ago by danielluke (Daniel J. Luke)

If you move files around that macports has installed, it can no longer manage them for you (ie it won't be able to remove the moved files when you 'uninstall' or 'upgrade' the port).

comment:5 Changed 17 years ago by raimue (Rainer Müller)

Resolution: wontfix
Status: assignedclosed

As this is not a symlink, it is directly compiled into the Vim.app binary. It is told to use that path as a configure flag.

Vim.app is not self contained, nor is any other .app in /Applications/MacPorts. That's the main reason why they are in a subfolder.

comment:6 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.