From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2201) id B718B3840C0D; Fri, 29 May 2020 14:05:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B718B3840C0D To: cygwin-apps-cvs@sourceware.org Subject: [setup - the official Cygwin setup program] branch master, updated. release_2.904-4-gaa071e60 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: a7f2d458db2ed508959d2a425d326b0cc94806da X-Git-Newrev: aa071e60504674c5750c1915e33014d3777f092f Message-Id: <20200529140500.B718B3840C0D@sourceware.org> Date: Fri, 29 May 2020 14:05:00 +0000 (GMT) From: Jon TURNEY X-BeenThere: cygwin-apps-cvs@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin-apps git logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2020 14:05:00 -0000 https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=aa071e60504674c5750c1915e33014d3777f092f commit aa071e60504674c5750c1915e33014d3777f092f Author: Jon Turney Date: Thu May 28 15:34:08 2020 +0100 Improve how paired boolean options appear in help output Include a prefix in the boolean option long name appearing in help output (although we should probably pick the default, rather than first, prefix) https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=f8ec5b4c41418378dfb8ae8cccf3e93343673968 commit f8ec5b4c41418378dfb8ae8cccf3e93343673968 Author: Jon Turney Date: Wed May 27 17:05:08 2020 +0100 Add dpiAware to manifest https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=ab7f62bf5f733299ccc9d21a4620bc3a1602a781 commit ab7f62bf5f733299ccc9d21a4620bc3a1602a781 Author: Jon Turney Date: Wed May 27 17:04:51 2020 +0100 Make application manifest architecture generic It was made architecture specific in 2258d2a1, but then made the same again for both architectures in aa09dcbb. https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=5cc5f5871519724f5412df456d263c4bd7fdbb91 commit 5cc5f5871519724f5412df456d263c4bd7fdbb91 Author: Jon Turney Date: Wed May 27 16:40:26 2020 +0100 Parse build-depends: case-insensitively Diff: --- Makefile.am | 3 +- inilex.ll | 2 +- libgetopt++/include/getopt++/DefaultFormatter.h | 8 +++-- res.rc | 4 --- setup.exe.manifest | 24 ++++++++------ setup64.exe.manifest | 43 ------------------------- 6 files changed, 22 insertions(+), 62 deletions(-) diff --git a/Makefile.am b/Makefile.am index 987909cd..b316764f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -44,7 +44,6 @@ EXTRA_DIST = \ cygwin-setup.ico \ cygwin-terminal.ico \ setup.exe.manifest \ - setup64.exe.manifest \ tree-minus.ico \ tree-plus.ico @@ -272,7 +271,7 @@ setup_version.c : Makefile mv version.tmp setup_version.c # setup.exe.manifest is included in res.rc -res.o: @SETUP@.exe.manifest +res.o: setup.exe.manifest .rc.o: $(AM_V_GEN)$(WINDRES) --include-dir $(srcdir) -o $@ $< diff --git a/inilex.ll b/inilex.ll index 26a95e3c..a4b0f64c 100644 --- a/inilex.ll +++ b/inilex.ll @@ -119,7 +119,7 @@ B64 [a-zA-Z0-9_-] "ldesc:" return LDESC; "message:" return MESSAGE; "Source:" return SOURCEPACKAGE; -"Build-Depends:" return BUILDDEPENDS; +"[bB]uild-[dD]epends:" return BUILDDEPENDS; "replace-versions:" return REPLACE_VERSIONS; "category:"|"Section:" return CATEGORY; diff --git a/libgetopt++/include/getopt++/DefaultFormatter.h b/libgetopt++/include/getopt++/DefaultFormatter.h index 440eb54b..8b421a67 100644 --- a/libgetopt++/include/getopt++/DefaultFormatter.h +++ b/libgetopt++/include/getopt++/DefaultFormatter.h @@ -49,10 +49,14 @@ class DefaultFormatter { theStream << " "; else theStream << s_lead << anOption->shortOption ()[0]; - theStream << l_lead << anOption->longOption () + + std::string longOption = anOption->longOptionPrefixes ()[0] + + anOption->longOption (); + + theStream << l_lead << longOption << std::string (o_len - s_lead.size () - 1 - l_lead.size () - - anOption->longOption ().size (), ' '); + - longOption.size (), ' '); std::string helpmsg = anOption->shortHelp(); while (helpmsg.size() > h_len) { diff --git a/res.rc b/res.rc index fb0c5ace..31eb9c49 100644 --- a/res.rc +++ b/res.rc @@ -503,11 +503,7 @@ END // Manifest // -#ifdef __x86_64__ -CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "setup64.exe.manifest" -#else CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "setup.exe.manifest" -#endif ///////////////////////////////////////////////////////////////////////////// // diff --git a/setup.exe.manifest b/setup.exe.manifest index 18da7b86..45a5f082 100755 --- a/setup.exe.manifest +++ b/setup.exe.manifest @@ -2,21 +2,20 @@ Cygwin installation tool - + @@ -35,9 +34,14 @@ - + + + + true + + diff --git a/setup64.exe.manifest b/setup64.exe.manifest deleted file mode 100755 index 850bb181..00000000 --- a/setup64.exe.manifest +++ /dev/null @@ -1,43 +0,0 @@ - - - - Cygwin installation tool - - - - - - - - - - - - - - - - - - - - - - - - - - -