New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #14040 (closed defect: wontfix)

Opened 7 years ago

Last modified 5 years ago

Vim.app uses absolute paths for data files

Reported by: hawkins22@… Owned by: raimue@…
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

comment:1 Changed 7 years ago by raimue@…

  • Owner changed from macports-tickets@… to raimue@…
  • Status changed from new to assigned
  • Keywords vim-app added
  • Milestone set to Port Bugs

comment:2 follow-up: ↓ 3 Changed 7 years ago by raimue@…

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 7 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 7 years ago by dluke@…

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 7 years ago by raimue@…

  • Status changed from assigned to closed
  • Resolution set to wontfix

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 5 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.