You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Linux, package managers take care of where files are installed for which application (package) on a system-wide level.
Vim supports several plugin folders, that are tested, when it starts. One is system-wide (all users of a given system can use that plugin) and one is user-specific (only the user starting vim can use that plugin).
As I'm now maintaining supercollider for Arch Linux, I'd like to have a look into how to ship scvim as a plugin package (e.g. vim-scvim or vim-supercollider).
This has the above mentioned benefit of several users being able to use the same installation.
Starting from 3.9, scvim will most likely not be compiled by default (which has the benefit of being able to update scvim, while supercollider is not updated).
Also, to circumvent #27, I have disabled scvim in the updated build of 3.8.0 for Arch Linux.
For this to happen, several things (ideally) will have to be done though:
I have decided assuming the absence of objections that the current state of scvim is now released as v1.0.0, and that we will be using semantic versioning for all future releases.
@carlocapocasa great to hear! supercollider-3.8.0-3 without cwiid dependency and without scvim just hit [community-testing]. Feel free to give some feedback!
Also, I think indent/sc_indent.vim should be renamed to indent/supercollider.vim and syntax/supercollider_operators.vim be merged into syntax/supercollider.vim.
As for the ruby library destinations, I'm thinking of a location such as "${pkgdir}/usr/lib/${pkgname}/ruby/".
This just has to be patched in the first few lines of the scripts.
Okay let's get this licked, arch needs an scvim package.
I believe @claudiocabral is working on replacing the hardcoded .vim path in SCvim.sc with a search of the actual vim runtime paths in order to support neovim, but should help this as well.
As for the hardcoded path in the ruby files, those load relative to the directory the file is in- can you help me understand how that is a problem for packaging? Don't you just keep the directory structure and all is well?
Do you consider the rename and merge need-to-have or nice-to-have? I'd suggest to just accept the file names are warts unless there is a really compelling reason to change them.
Activity
capocasa commentedon Dec 7, 2017
I am elated! Arch is my favorite distribution.
I have decided assuming the absence of objections that the current state of scvim is now released as v1.0.0, and that we will be using semantic versioning for all future releases.
dvzrv commentedon Dec 7, 2017
@carlocapocasa great to hear!
supercollider-3.8.0-3 without cwiid dependency and without scvim just hit [community-testing]. Feel free to give some feedback!
mossheim commentedon Dec 7, 2017
Great, thank you for this!
dvzrv commentedon Dec 30, 2017
Installation destinations for SuperCollider and vim plugin files are pretty easy:
I noticed however, that the libraries for sc_dispatcher and start_pipe are hard linked. That has to be patched.
Also, SCVim.sc has to be extended to somehow take care of the dynamic loading of Class names.
I'm not yet sure, how that can be achieved nicely.
dvzrv commentedon Dec 30, 2017
Also, I think
indent/sc_indent.vimshould be renamed toindent/supercollider.vimandsyntax/supercollider_operators.vimbe merged intosyntax/supercollider.vim.dvzrv commentedon Dec 30, 2017
As for the ruby library destinations, I'm thinking of a location such as
"${pkgdir}/usr/lib/${pkgname}/ruby/".This just has to be patched in the first few lines of the scripts.
capocasa commentedon Nov 7, 2019
Okay let's get this licked, arch needs an scvim package.
I believe @claudiocabral is working on replacing the hardcoded .vim path in SCvim.sc with a search of the actual vim runtime paths in order to support neovim, but should help this as well.
As for the hardcoded path in the ruby files, those load relative to the directory the file is in- can you help me understand how that is a problem for packaging? Don't you just keep the directory structure and all is well?
Do you consider the rename and merge need-to-have or nice-to-have? I'd suggest to just accept the file names are warts unless there is a really compelling reason to change them.