the

     A-A-P logo     

project


 

Ported Applications

Currently one application has been ported as a test case. Many more will follow later.

Vim

These are the steps for downloading and installing Vim with Aap, using the default features:
  1. Obtain and install Aap. See the download page.
  2. Create a new directory where you want to build Vim and change to that directory
  3. Run Aap in the new directory:
       aap -f http://www.a-a-p.org/vim/main.aap CVS=no
    This will download the bootstrap recipe "main.aap" and execute it. The bootstrap recipe will create the "vim" directory, download the required files and build Vim. All in one go!
    The above will build Vim from archives plus patches. If you prefer to use CVS, use this command instead:
       aap -f http://www.a-a-p.org/vim/main.aap
    When switching between the two methods you need to delete everything first, CVS doesn't mix with using the archives.
  4. To install Vim do:
       aap install
    First become "root" if needed. If you prefer to install in your home directory do:
       aap install PREFIX=$HOME
That's all. Whenever you want to obtain the latest version, run Aap again in the directory you downloaded the bootstrap recipe into: aap update

There is one option for downloading: If you have the CVS program but want to install Vim from archives and patches instead, run Aap with an extra argument: aap CVS=no.

If you want to select different features for Vim, first do aap fetch as above to obtain Vim, then edit the file vim/src/config.arg. Add any configure arguments you like to use. Then run Aap without arguments, it will automatically run configure.

Vim BSD port

This is a different approach: it uses a port recipe. This only works on BSD systems (it was tested on FreeBSD).
  1. Obtain and install Aap. See the download page.
  2. Download the port recipe: http://www.a-a-p.org/ports/vim/main.aap. Place it in a newly created directory, for example "~/ports/vim/".
  3. Go to the directory of the just downloaded "main.aap" recipe and run Aap:
       aap install CVS=no
    This will download, build and install Vim. You will be asked to enter the root password when Vim is about to be installed. You can leave out "CVS=no" if you want to obtain Vim through CVS.
The differences with the above port of Vim:
  • The port recipe does not contain all the instructions to do the work, only the essential information.
  • Only the port recipe uses Aap, otherwise "make" is used.
  • The downloaded archives and patches are verified with a checksum.
  • Installing Vim is done with "pkg_add", which means the install will be registered.
  • To update to a newer version, use aap distclean and then aap --fetch-recipe.
 
 
  The A-A-P pages:
home
news
Zimbu award
documentation
     Recipe examples
     Aap manual
     Agide tutorial
     features
     presentations
download
     Aap version log
     Agide version log
     ported apps
     packages
maillists and chat
plan and tasks
     SourceForge pages
     Aap todo list
     Agide todo list
architecture
     use cases
     modules
     interfaces
     design decisions
tools overview
     script languages
     build tools
     Install tools
     issue tracking
     version control
     browse tools
     IDEs
     various tools



Zimbu!



KwMap.net - browse the Keyword Map of A-a-p.org
 
funded by:

NLnet
	 logo


Send comments on this page to Webmaster AT a-a-p.org.            Hosted by SourceForge Logo            Also known as www.Agide.org.