Opened 11 years ago

Closed 9 years ago

#2887 closed enhancement (fixed)

vim: remove stock version from the Haiku source tree.

Reported by: Adek336 Owned by: siarzhuk
Priority: normal Milestone: R1/alpha2
Component: Applications/Command Line Tools Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

Upgrade from current 6.3 to a newer version, so the :tabnew and friends commands become availlable under Haiku.

Attachments (1)

72.diff (354.2 KB) - added by Adek336 10 years ago.

Download all attachments as: .zip

Change History (18)

comment:1 Changed 10 years ago by Adek336

http://students.mimuw.edu.pl/~ap262965/vim-72-1.tar [33 MiB] This is a preliminary tree of vim 7.2, it should be fully functional.

It needs some cleanup as only files in src/ and runtime/ have been upgraded from 6.3, files in other directories are still from version 6.3 and should be upgraded as well. Additionally, there are probably many files in src/ and runtime/ which come from 6.3 but are no longer needed for 7.2.

I've put a handful of kludges in the source to make it compile; these are marked by a "QQQ" comment, they should be fixed before commiting to trunk.

comment:2 Changed 10 years ago by korli

It might be a good idea to host the port somewhere like ports.haiku-files.org and only have an optional package in Haiku. What do you think ?

comment:3 Changed 10 years ago by Adek336

That'd for sure help maintaining it. I'd very much like to see VIm or at least VIm without its runtime files included in every install, but seeing how little interest got getting the runtime files installed, I'm starting to think that not a lot of people use VIm and it would very well be an optional package.

comment:4 Changed 10 years ago by korli

I think that if VIm can be built on Haiku then good for us. Having an optional package for it would be fair given the size of the runtime files. I don't mean it won't be included by default in Haiku, it might just be easier to maintain.

Also BePorts can host patchs. One missing thing is the rdef file.

comment:5 Changed 10 years ago by Adek336

There's a src/vim.rdef file in there.

comment:6 Changed 10 years ago by axeld

Vim would definitely make a good optional package.

comment:7 Changed 10 years ago by Adek336

http://students.mimuw.edu.pl/~ap262965/vim-72-2.tar [51 MiB] overgrown due to subversion metadata, which are fully functional, cleaned up a bit
http://students.mimuw.edu.pl/~ap262965/vim-72-vendor-1.tar [36 MiB] vendor version
http://students.mimuw.edu.pl/~ap262965/vim-63-vendor-1.tar [23 MiB] vendor version
Haiku version of 6.3 is in Haiku trunk

Changed 10 years ago by Adek336

Attachment: 72.diff added

comment:8 Changed 10 years ago by Adek336

72.diff against vanilla 72 base sources+runtime+extra. use the script comp to compile.

comment:9 in reply to:  6 Changed 10 years ago by emitrax

Replying to axeld:

Vim would definitely make a good optional package.

+1 for removing the current version and add a new-up-to-date version as optional package.

It's indeed easier to mantain!

comment:10 Changed 10 years ago by heto

In my opinion Haiku should ship with some implementation of vi; for one thing, it is a POSIX requirement after all. I understand Haiku doesn't try to be UNIX, but deliberately not having POSIX compatibility in a thing like this seems stupid.

If vim is too heavy-weight, nvi might be a better fit for the default vi. I don't know how much porting that would require; maybe it just needs to be compiled?

comment:11 in reply to:  10 Changed 10 years ago by siarzhuk

Replying to heto:

If vim is too heavy-weight, nvi might be a better fit for the default vi. I don't know how much porting that would require; maybe it just needs to be compiled?

Is vim, that was build with "+tiny" features set lightweight enough to be included as "stock vi" into Haiku image? And as was already proposed above, the full featured version with GUI can be installed as optional package. I'm working at the moment on moving BeOS GUI code from 6.4 to 7.2 and porting it to Haiku. And I hope that it will be not difficult to make an optional package on base of my work. ;-)

PS: In fact this ticket can be reassigned to me for putting hands on tiny version of vim for default Haiku image. ;-)

comment:12 Changed 10 years ago by mmadia

what was decided about vim -- as far as it living in the repository and as an optional package? can this be closed?

comment:13 Changed 10 years ago by mmadia

Owner: changed from axeld to siarzhuk

comment:14 in reply to:  12 Changed 10 years ago by siarzhuk

Replying to mmadia:

what was decided about vim -- as far as it living in the repository and as an optional package? can this be closed?

As far as I remember, Axel have insisted on complete removing vim from the main source tree. As soon as we have full-featured actual version of vim in optional packages. So, probably, this bug should be still owned by Axel but me. ;-)

comment:15 Changed 10 years ago by scottmc

Milestone: R1R1/alpha2

comment:16 Changed 9 years ago by siarzhuk

Summary: vim: upgradevim: remove stock version from the Haiku source tree.

comment:17 Changed 9 years ago by scottmc

Resolution: fixed
Status: newclosed

removed in hrev35848.

Note: See TracTickets for help on using tickets.