descriptionMirror of Cygwin-Setup
homepage URLhttps://sourceware.org/git/?p=cygwin-setup.git
repository URLgit://cygwin.com/git/cygwin-setup.git
ownerStromeko@Stromeko.DE
last changeTue, 16 Apr 2024 17:10:35 +0000 (16 18:10 +0100)
last refreshSun, 5 May 2024 20:06:09 +0000 (5 22:06 +0200)
content tags
add:
README
This directory contains the source code for the Setup program
for the Cygwin net releases.

HOW TO BUILD:
-------------

Cygwin
------

Setup should build out-of-the-box on any Cygwin environment that has all the
required packages and their dependencies installed:

  - autoconf
  - automake
  - bison
  - flex
  - libtool
  - make
  - mingw64-${arch}-bzip2
  - mingw64-${arch}-gcc-g++
  - mingw64-${arch}-headers
  - mingw64-${arch}-libgcrypt
  - mingw64-${arch}-libsolv
  - mingw64-${arch}-xz
  - mingw64-${arch}-zlib
  - mingw64-${arch}-zstd
  - upx (optional)

The ${arch} needs to be replaced with either "i686" or "x86_64"
depending on the target architecture to build for.

Fedora
------

Setup should also build out-of-the-box in a Fedora environment that has all the
required packages and their dependencies installed:

  - automake
  - bison
  - flex
  - libtool
  - make
  - mingw${arch}-bzip2-static
  - mingw${arch}-gcc-c++
  - mingw${arch}-libgcrypt-static
  - mingw${arch}-libgnurx-static
  - mingw${arch}-libsolv-static (*)
  - mingw${arch}-winpthreads-static
  - mingw${arch}-xz-libs-static
  - mingw${arch}-zlib-static
  - mingw${arch}-zstd-static (**)
  - upx (optional)

The ${arch} needs to be replaced with either "32" or "64"
depending on the target architecture to build for.

(*) Requires 'dnf copr enable jturney/mingw-libsolv'
(**) Requires 'dnf copr enable jturney/mingw-zstd'

Build commands:

0) Obtain this project's source code:
   $ git clone git://sourceware.org/git/cygwin-apps/setup.git
   $ cd setup

1) Configure using this option
   $ /path/to/setup/bootstrap.sh
   This will automatically rebuild configure files and run configure
   in the current directory.  If you have installed toolchains for
   both i686 and x86_64 architectures, then you need to select for
   which architecture you want to build:
   $ /path/to/setup/bootstrap.sh --host=i686-w64-mingw32
   $ /path/to/setup/bootstrap.sh --host=x86_64-w64-mingw32

2) $ make

3) Wondering why your binary is so much bigger than the official releases?
   This removes debugging symbols:
   $ make strip
   This additionally compresses it using UPX
   (requires package upx to be installed):
   $ make upx

CODING GUIDELINES:
------------------
setup has a number of different code formats in it. This is ok as long
as it stays readable. When submitting a patch, make sure that you use
the coding-style of the surrounding code.

For new code, use the GNU standards as much as possible.  We understand
that this is not a precise fit for C++ code but you can use Cygwin itself
as a guide.


SUBMITTING A PATCH:
-------------------
Follow the general directions given in the Cygwin contributions document:

   https://cygwin.com/contrib.html

The appropriate mailing list for this project is cygwin-apps
(rather than cygwin-patches). Thus an appropriate configuration is:

   $ git config --local format.subjectprefix "PATCH setup"
   $ git config --local sendemail.to "cygwin-apps@cygwin.com"

Before sending patches with:

   $ git format-patch [--cover-letter]
   $ git send-email *.patch


TRANSLATIONS
------------

Translations of the gettext template res.pot can be made using PO file tools, or
online at https://hosted.weblate.org/projects/cygwin-setup/cygwin-setup/
shortlog
2024-04-16 Jon TurneySuggest URLs for updated setup based on build architecturemasterrelease_2.932
2024-04-16 Jon TurneyDisplay the build architecture in the splash screen
2024-04-16 Jon TurneyAvoid accidental 8-bit flattening of clickable dialog...
2024-04-16 Jon TurneySwitch to using "Microsoft YaHei UI" for zh localized...
2024-04-16 Jon TurneyMake DIALOG STYLEs consistent
2024-04-16 Jon TurneyBump displayed copyright year
2024-03-29 Fix endless loop if helptext doesn't contain a space
2024-02-10 Jon TurneyRegenerate resources with updated translationrelease_2.931
2024-02-10 Xiang Heng WeiTranslated using Weblate (Chinese (Simplified))
2024-02-10 Iago EmanuelTranslated using Weblate (Portuguese (Brazil))
2024-02-10 Zbigniew KosowskiTranslated using Weblate (Polish)
2024-02-10 Emanuele FrascaAdded translation using Weblate (Italian)
2024-02-09 Jon TurneyDon't use 'dlltool --output-delaylib' on 32-bit
2024-02-09 Jon TurneyFix -Woverloaded-virtual warnings about Window::Create()
2024-02-07 Jon TurneyDynamically load SetDefaultDllDirectories()release_2.930
2024-02-07 Jon TurneyDelay-load wininet
...
tags
2 weeks ago release_2.932 2.932
2 months ago release_2.931 2.931
2 months ago release_2.930 2.930
3 months ago release_2.929 2.929
5 months ago release_2.928 2.928
6 months ago release_2.927 2.927
12 months ago release_2.926 2.926
15 months ago release_2.925 2.925
17 months ago release_2.924 2.924
17 months ago release_2.923 2.923
19 months ago release_2.922 2.922
20 months ago release_2.921 2.921
22 months ago release_2.920 2.920
22 months ago release_2.919 2.919
2 years ago release_2.918 2.918
2 years ago release_2.917 2.917
...
heads
2 weeks ago master
6 years ago topic/libsolv
9 years ago openssl
15 years ago cgf-20080913
15 years ago setup-200706
15 years ago setup_crypto_branch
18 years ago setup-200509
19 years ago setup-200412
21 years ago setup-200303
21 years ago setup-200303-troubleshooting
21 years ago setup-200206
21 years ago Z-setup-200303_merge_HEAD
21 years ago IMPORT
21 years ago setup-200207
21 years ago setup-200205
22 years ago setup200202
...
forks
Cached version (6606s old)
 Cygwin   Cygwin-Setup 
cygwin-setup/local.git Local changes to Cygwin-Setup not yet upstreamed Stromeko@Stromeko.DE 2 months ago