[MacPorts] #14040: Vim.app uses absolute paths for data files
#14040: Vim.app uses absolute paths for data files ---------------------------------+------------------------------------------ Reporter: hawkins22@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | ---------------------------------+------------------------------------------ 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. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14040> MacPorts </projects/macports> Ports system for Mac OS
#14040: Vim.app uses absolute paths for data files ----------------------------------+----------------------------------------- Reporter: hawkins22@gmail.com | Owner: raimue@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: vim-app ----------------------------------+----------------------------------------- Changes (by raimue@macports.org): * keywords: => vim-app * owner: macports-tickets@lists.macosforge.org => raimue@macports.org * status: new => assigned * milestone: => Port Bugs -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14040#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#14040: Vim.app uses absolute paths for data files ----------------------------------+----------------------------------------- Reporter: hawkins22@gmail.com | Owner: raimue@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: vim-app ----------------------------------+----------------------------------------- Comment (by raimue@macports.org): 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. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14040#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#14040: Vim.app uses absolute paths for data files ----------------------------------+----------------------------------------- Reporter: hawkins22@gmail.com | Owner: raimue@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: vim-app ----------------------------------+----------------------------------------- Comment (by hawkins22@gmail.com): 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. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14040#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#14040: Vim.app uses absolute paths for data files ----------------------------------+----------------------------------------- Reporter: hawkins22@gmail.com | Owner: raimue@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: vim-app ----------------------------------+----------------------------------------- Comment (by dluke@macports.org): 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). -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14040#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#14040: Vim.app uses absolute paths for data files ----------------------------------+----------------------------------------- Reporter: hawkins22@gmail.com | Owner: raimue@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: wontfix | Keywords: vim-app ----------------------------------+----------------------------------------- Changes (by raimue@macports.org): * status: assigned => closed * resolution: => wontfix Comment: 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. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14040#comment:5> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts