Difference between revisions of "Packaging"

From OrbiterWiki
Jump to navigation Jump to search
(first shot...)
 
Line 30: Line 30:
  
 
You can browse http://construct.ath.cx/~case/orbiter/repository/ and see how it's organised.
 
You can browse http://construct.ath.cx/~case/orbiter/repository/ and see how it's organised.
 +
 +
http://sourceware.org/cygwin-apps/package-server.html

Revision as of 09:16, 16 August 2005

The packaging system uses the Cygwin packaging system through the setup.exe software, which allows package download, installation, version management, etc...

This software isn't supposed to be used for anything else than installing Cygwin, although we can cheat with it in order to manage Orbiter packages.

How can I use it?

Here is the different steps:

  1. Download setup.exe and run it
  2. Select a root directory. This directory can be a fresh Orbiter base (+ hires textures) directory or an empty directory if you want to get Orbiter from the package system (like c:\orbiter )
  3. Select a directory where to download packages before installation (liek c:\orbiter_cache )
  4. Select "install from internet"
  5. Here setup.exe downloads the list of Cygwin mirror sites, but as long a we don't want to install Cygwin, we have to enter the URL of an Orbiter package repository (a test repository has been set up here : http://construct.ath.cx/~case/orbiter/repository/ (PLEASE don't get orbiter_base or orbiter_hires texture package from there!))
  6. You can now select the packages you want to install. You will notice that the system will automaticaly select some packages requiered in order to install thoses you have selected (for exemple: cvel dll will be automaticaly selected if you try to install the proton launcher)
  7. Then setup.exe will download the selected packages and install them in the choosen directory.
  8. "Et voila!"

Known issues

You can notice too that there is a lot of empty directories created in the root directory (like "bin" , "usr", "home", ...). These are default directories used by the Cygwin system, but we don't use them. They are not interfering with our directory so we can just ignore them.

How does it work?

How to create a package?

Documentation from Cygwin : http://www.cygwin.com/setup.html But as long as the upset.pl from http://construct.ath.cx/~case/orbiter/repository/ is a compelte and partial re-engineering of the Cygwin's version (if someone wants to code a better one, feel free to do so...), we have some limitation: no subdirectories in the package directories, no more than 2 version of a package in a directory.

How to set up a repository?

You can browse http://construct.ath.cx/~case/orbiter/repository/ and see how it's organised.

http://sourceware.org/cygwin-apps/package-server.html