Opened 11 years ago

Closed 10 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 11 years ago.

Download all attachments as: .zip

Change History (18)

comment:1 by Adek336, 11 years ago

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 by korli, 11 years ago

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 by Adek336, 11 years ago

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 by korli, 11 years ago

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 by Adek336, 11 years ago

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

comment:6 by axeld, 11 years ago

Vim would definitely make a good optional package.

comment:7 by Adek336, 11 years ago

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

by Adek336, 11 years ago

Attachment: 72.diff added

comment:8 by Adek336, 11 years ago

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

in reply to:  6 comment:9 by emitrax, 11 years ago

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 by heto, 10 years ago

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?

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

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 by mmadia, 10 years ago

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

comment:13 by mmadia, 10 years ago

Owner: changed from axeld to siarzhuk

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

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 by scottmc, 10 years ago

Milestone: R1R1/alpha2

comment:16 by siarzhuk, 10 years ago

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

comment:17 by scottmc, 10 years ago

Resolution: fixed
Status: newclosed

removed in hrev35848.

Note: See TracTickets for help on using tickets.