Cygwin/X Contributor's Guide
Prev | Chapter 2. Programming | Next

# Packaging a Cygwin/X Distribution

Cygwin/X uses a cygport build and packaging script that automates all of the tasks required to build, create binary packages, and source code packages.

> Note: These instructions assume that you want to build a distribution from the source packages available from Cygwin's setup program.

> You can a similar technique to build a distribution from locally modified sources, cygwin-ports git or an X.Org release tarball instead.

1. Use Cygwin setup to install the xorg-server source package, it will be automatically unpacked under `/usr/src`

2. Invoke cygport on the .cygport file contained in the source package installed above. This will create the source and binary packages `xorg-server-n.n.n-X-src.tar.bz2` and `xorg-server-n.n.n-X.tar.bz2`

       Username@CygwinHost /usr/src
       $ cygport xorg-server-x.x.x-x.cygport all

Prev | Home | Next
Contributing Patches | Up | Reference Documentation