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.exe.

You can a similar technique to build a distribution from X.Org release tarballs instead.

  1. Unpack xorg-server-x.x.x-x-src.tar.bz2 (if you use setup to install this source package, it will be automatically unpacked under /usr/src)

    
Username@CygwinHost /usr/src
    $ tar -jxf xorg-server-x.x.x-x-src.tar.bz2
    
  2. Invoke cygport on the .cygport file contained in the source package unpacked above. This will create the source and binary packages xorg-server-1.5.3-X-src.tar.bz2 and xorg-server-1.5.3-X.tar.bz2
    
Username@CygwinHost /usr/src
    $ cygport xorg-server-x.x.x-x.cygport all