[haiku-development] Vim episodes. VI. The Packages.

Hi All!

The Vim 7.2 Optional Packages are ready for using. Temporary download links are:

http://siarzhuk.dyndns.org/vim-7.2-gcc2-2009-05-31.zip
http://siarzhuk.dyndns.org/vim-7.2-gcc4-2009-05-31.zip

Corresponding patch for OptionalPackages is attached to this message. I hope somebody with haiku-files.org upload access will copy those archives before applying this patch into the Haiku source tree. ;-) My up-link is not wide. Thank you!

Happy VIMing!
      S.Zharski.

PS: And what about vim 6.3 still living in The Tree?

Index: OptionalPackages
===================================================================
--- OptionalPackages    (revision 30935)
+++ OptionalPackages    (working copy)
@@ -46,6 +46,7 @@
 #      Subversion
 #      Tar
 #      UserlandFS
+#      Vim
 #      Vision
 #      VLC
 #      Welcome
@@ -770,6 +771,30 @@
 }
 
 
+# Vim
+if [ IsOptionalHaikuImagePackageAdded Vim ] {
+       if $(TARGET_ARCH) != x86 {
+               Echo "No optional package Vim available for $(TARGET_ARCH)" ;
+       } else if $(HAIKU_GCC_VERSION[1]) >= 4 && $(isHybridBuild) = 0 {
+               local baseURL = http://siarzhuk.dyndns.org ;
+               InstallOptionalHaikuImagePackage vim-7.2-gcc4-20090531
+                       :  $(baseURL)/vim-7.2-gcc4-2009-05-31.zip
+                       :
+               ;
+               AddSymlinkToHaikuImage home config be Applications
+                       : /boot/common/bin/gvim ;
+       } else {
+               local baseURL = http://siarzhuk.dyndns.org ;
+               InstallOptionalHaikuImagePackage vim-7.2-gcc2-20090531
+                       :  $(baseURL)/vim-7.2-gcc2-2009-05-31.zip
+                       :
+               ;
+               AddSymlinkToHaikuImage home config be Applications
+                       : /boot/common/bin/gvim ;
+       }
+}
+
+
 # Vision
 if [ IsOptionalHaikuImagePackageAdded Vision ] {
        if $(TARGET_ARCH) != x86 {

Other related posts: