vim with Gnome integration: session restore support and vim-subpackage structure
Michael J Gruber
michaeljgruber+gmane at fastmail.fm
Wed Jul 4 17:04:42 UTC 2012
Johannes Lips venit, vidit, dixit 04.07.2012 17:04:
> On Wed, Jul 4, 2012 at 4:02 PM, Nathanael D. Noblet <nathanael at gnat.ca
> <mailto:nathanael at gnat.ca>> wrote:
>
> On 07/04/2012 03:04 AM, Michael J Gruber wrote:
>
> Hi there,
>
> gvim as provided in the Fedora packages does not support session
> restore
> (i.e. reopening with the same buffers) because it does not integrate
> with the GNOME nor KDE desktop environments.
>
> Recompiling with gnome support helps: as a proof of concept,
> I've added
> a vim-gnome subpackage to the spec file, see
>
> http://mjg.fedorapeople.org/__rpmdev/vim.spec
> <http://mjg.fedorapeople.org/rpmdev/vim.spec>
>
> which is based on the current F16 (updates) spec. It provides a
> gnome-vim binary which is "gvim + gnome integration" and works
> with KDE
> as well.
>
> It's only POC because I think we need to decide about the package
> structure (see also
> https://bugzilla.redhat.com/__show_bug.cgi?id=311061
> <https://bugzilla.redhat.com/show_bug.cgi?id=311061>).
> vim can be compiled resp. is currently in Fedora in these shapes:
>
> * with minimal features: subpackage vim-minimal
> /bin/ex
> /bin/rvi
> /bin/rview
> /bin/vi
> /bin/view
> (or /usr/bin/ ;) )
>
> * with enhanced features and without X library support: not in
> Fedora
>
> * with enhanced features and no GUI: subpackage vim-enhanced
> /usr/bin/ex
> /usr/bin/rvim
> /usr/bin/vim
> /usr/bin/vimdiff
> /usr/bin/vimtutor
> (these support vim in xterm and such specifically and depend on X
> libraries!)
>
>
> Thie vim-minimal and vim-enhanced will now class in F17 due to the
> lack of a separation between /usr and / so /bin/ex == /usr/bin/ex...
> Just something to think about for this package it seems.
This is taken care of, of course. No ex in vim-enhanced, no package clash.
> On a related note, the description of the vim-minimal package also needs
> some updates. Since it doesn't really reflect the changes which are
> caused by the usr-move.
There are still symlinks, so the description isn't that far off.
The point in this thread is the need for gnome-vim and, possibly, for a
different subpackage structure.
Michael
More information about the devel
mailing list