Remik Ziemlinski | 30 Sep 02:54 2015

[ITP] nccmp

This is a command-line diff tool for the NetCDF scientific data file 
It's used by labs worldwide and I am the author.

category: Science
requires: cygwin libnetcdf7 netcdf libnetcdf-devel
sdesc: "Compare two NetCDF files."
ldesc: "Compare two NetCDF files bitwise, semantically or
with a user defined tolerance (absolute or relative
percentage). Parallel comparisons are done in local memory
without requiring temporary files. Highly recommended for
regression testing scientific models or datasets in a
test-driven development environment."

Package files:

Existing reference Ubuntu packages:

(Continue reading)

Marco Atzeri | 28 Sep 09:24 2015

Re: missing 64bit ports

On 26/09/2015 12:51, Marcos Vives Del Sol wrote:
> Compiled, tested and uploaded.
> 2015-09-26 11:50 GMT+02:00 Marco Atzeri <marco.atzeri@...>:
>> On 15/07/2015 19:39, Marcos Vives Del Sol wrote:
>>> Reason I didn't port libnfc was because I lost my SSH key due to a
>>> hard drive crash. Any procedure on how to get a new one so I can
>>> compile and upload it?
>> hi Marcos,
>> Any news ?
>> Regards
>> Marco


Marco Atzeri | 26 Sep 11:43 2015

cfget-0.18-1 32bit ?

any specific reason why there is only a 64 bit version ?

As it seems just a python script, it should work on both arch correct ?


Andrew Schulman | 26 Sep 11:11 2015

cygport dep gives a ruby error

In x86_64 with cygport 0.20.2-1, I get a ruby error whenever I run cygport dep:

$ cygport par2.cygport dep
<internal:gem_prelude>:1:in `require': cannot load such file -- rubygems.rb
    from <internal:gem_prelude>:1:in `<compiled>'

Oddly this doesn't happen in x86.  I don't have ruby or rubygems installed in
either arch.

Output of cygcheck -svr is attached.


Cygwin Configuration Diagnostics
Current System Time: Sat Sep 26 05:07:12 2015

Windows NT Ver 10.0 Build 10240 

Path:	C:\Users\andrex\Home\usr\local\bin
(Continue reading)

Andrew Schulman | 25 Sep 23:10 2015

[ITP] par2

I want to package par2 for Cygwin.  par2 is the well-known file verification and
repair tool, using Reed-Solomon encoding.  It builds OOTB in Cygwin.


SUMMARY="File verification and repair tool"
DESCRIPTION="par2 is a program for creating and using PAR2 files to detect
damage in data files and repair them if necessary. It can be used with any kind
of file."

inherit git

Package files:

wget \


Ken Brown | 25 Sep 16:27 2015

setup: Fix for file names containing colons

In case this got lost in the thread about font reorganization, I'm 
attaching the patch I proposed in

From 6d8d74bcca48f3b5ce31e6cf9121eb204adb37a8 Mon Sep 17 00:00:00 2001
From: Ken Brown <kbrown <at>>
Date: Fri, 25 Sep 2015 10:18:31 -0400
Subject: [PATCH] Fix creation of parent directory for file names containing

* (mkdir_p): Remove special treatment of colon in path
--- | 2 --
 1 file changed, 2 deletions(-)

diff --git a/ b/
index dabc256..84bb176 100644
--- a/
+++ b/
 <at>  <at>  -98,8 +98,6  <at>  <at>  mkdir_p (int isadir, const char *in_path, mode_t mode)

   for (c = path; *c; c++)
-      if (*c == ':')
-	slash = 0;
(Continue reading)

Jon Turney | 22 Sep 17:52 2015

[PATCH setup 0/3] Setup replacement for incver_ifdep

This is an attempt at a setup feature which will allow the removal of the final 
use of 'incver_ifdep' in setup.hint, by _update-info-dir package.

See the discussions starting at around [1],[2] and following, although this 
takes a slightly different approach.

To be clear: IMHO, this functionality doesn't belong in upset or setup.

Since we now have scripts which run on every setup run, a package which requires 
another package to do some work after it is installed or uninstalled can create 
a file to act as a trigger for that to happen.

Unfortunately, it's not very practical to change to doing that for the all 
packages which contain info files, so I am suggesting this approach.

(Further note: autodep is broken in upset.  Many package which should have a 
dependency on _update-info-dir do not have one, and only 19 packages do, so this 
is not working as intended at the moment.

Yes, this means that the autodep on the cygwin package isn't working correctly, 


Jon Turney (3):
  Remove unused regex code
  Remove unfinished, unused support for 'autodep:' lines in setup.ini
  Add support for 'trigger:' lines in setup.ini

(Continue reading)

Jon Turney | 22 Sep 14:30 2015

[PATCH setup] Don't stop on various warning message boxes in unattended mode.

From: Jon TURNEY <jon.turney@...>

Change simple uses of MessageBox() to use the mbox() wrapper for MessageBox(),
which knows what to do in unattended mode.

There still remain the uses of MessageBox() which check the result, as these
need more detailed study, to choose an appropriate default for unattended mode.

	* (fatal): Use mbox rather than MessageBox.
	* (installOne, check_for_old_cygwin): Ditto.
	* (main_display, WinMain): Ditto.
	* (create_install_root): Ditto.
	* (NetIO_IE5): Ditto.
	* (directory_contains_wrong_version): Ditto.
	* (do_download_site_info_thread): Ditto.

Signed-off-by: Jon TURNEY <jon.turney@...>
 ChangeLog  | 10 ++++++++++  |  2 +- |  8 ++++----    |  4 ++--   |  2 +- |  2 +-    |  2 +-    |  2 +-
 8 files changed, 21 insertions(+), 11 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 03f91b4..be63fa8 100644
(Continue reading)

Yaakov Selkowitz | 19 Sep 00:21 2015

Ports and cygport sources moving to github

It appears I neglected to mention this earlier.  Due to the poor
performance of Sourceforge (since the move to Allura) for projects with
many (even small) git repos such as Ports, not to mention that last
multi-day outage, I am in the process of moving my Ports sources to

In particular, cygport sources are now at:

and a recent version of the reference manual can be viewed at:

Issues and patches should continue to come here.  (IOW a GitHub account
is NOT required, I just needed a more reliable place to keep my code.)


Michael Bisbjerg | 17 Sep 17:18 2015

Double-slashes in URLs

I noticed once I set up a mirror of my own, that Cygwin Setup will
prepend all it's URL's with a double-slash. This does not seem to be
intentional, and I found the place in the sources where I believe the
error to be.

On line 160 of "", we see that the "n->key" is the source
of the repository, including a "/", as it is used as the name of the
local cache, which always has a "%2f" in its name. That key is then
used on line 165 in "get_url_to_file", where it is concatenated with
another slash and "pkgsource.Canonical" to make the final URL.

My (untested) patch removes this slash, so that the resulting URL's
will be with a single slash.

------ PATCH -----
diff --git a/ b/
index a5aebe0..e319ed4 100644
--- a/
+++ b/
 <at>  <at>  -162,7 +162,7  <at>  <at>  download_one (packagesource & pkgsource, HWND owner)
                                  pkgsource.Canonical ();
       io_stream::mkpath_p (PATH_TO_FILE, "file://" + local, 0);

-      if (get_url_to_file(n->key +  "/" + pkgsource.Canonical (),
+      if (get_url_to_file(n->key + pkgsource.Canonical (),
                          local + ".tmp", pkgsource.size, owner))
          /* FIXME: note new source ? */
------ PATCH -----

(Continue reading)

David Stacey | 15 Sep 22:53 2015

[ITP] ghex - GNOME hex editor

ghex is a hex editor for GNOME, found in most Linux distros [1], and I'd 
like to see it in Cygwin too.

Yaakov: As ghex is currently available in Ports, yours is first refusal. 
If you'd like to maintain ghex yourself, please could you bring ghex and 
its child packages across from Ports. However, if you're happy for me to 
maintain it, then my packages are as follows:

# 32-bit:
wget --no-check-certificate --no-host-directories --force-directories 
--cut-dirs=5 \
${BASEURL}/ghex/ghex-3.17.91-1-src.tar.xz \
${BASEURL}/ghex/ghex-3.17.91-1.tar.xz \
${BASEURL}/ghex/ghex-debuginfo/ghex-debuginfo-3.17.91-1.tar.xz \
${BASEURL}/ghex/ghex-debuginfo/setup.hint \
${BASEURL}/ghex/libgtkhex3-devel/libgtkhex3-devel-3.17.91-1.tar.xz \
${BASEURL}/ghex/libgtkhex3-devel/setup.hint \
${BASEURL}/ghex/libgtkhex3_0/libgtkhex3_0-3.17.91-1.tar.xz \
${BASEURL}/ghex/libgtkhex3_0/setup.hint \

# 64-bit:
wget --no-check-certificate --no-host-directories --force-directories 
--cut-dirs=5 \
${BASEURL}/ghex/ghex-3.17.91-1-src.tar.xz \
${BASEURL}/ghex/ghex-3.17.91-1.tar.xz \
${BASEURL}/ghex/ghex-debuginfo/ghex-debuginfo-3.17.91-1.tar.xz \
${BASEURL}/ghex/ghex-debuginfo/setup.hint \
(Continue reading)