Re: Need help with multibyte UTF-8 characters

2017-12-04 Thread Brian Inglis
On 2017-12-04 18:23, Thomas Taylor wrote:
> I want to use multibyte UTF-8 characters in 64-bit Cygwin under Windows 7.  
> The
> "vim" editor running in mintty displays the two-byte characters correctly, but
> not the three- (and I assume four-) byte characters, which instead display as
> rectangular filled-in blocks.  The "less" program doesn't even display 
> two-byte
> characters correctly, but instead displays them as  to , depending on
> the character in question, in reverse color in the terminal window.  The "cat"
> program is even worse, replacing every two-byte character with a character 
> that
> looks like three horizontal bars stacked one above the other.  I've read the
> "Internationalization" page in the Cygwin online manual, but am still 
> baffled. 
> My LANG environment variable is set to "en_US.UTF-8".  Can anyone help?

Check mintty/Options/Text/Locale[en_US]/Character set[UTF-8]/Apply/Save.
Then exit and restart mintty and your shell.

To see what locale Cygwin thinks you are set to, run:
$ locale

To check all Windows locale settings, you can run:
$ for o in -s -u -n -i -f ''; do locale $o; done

The first two should show your Windows install locale, the rest should show
anything you have set up, or the same locale.
If any settings don't match LANG, you may have to set LC_ALL=$LANG to force the
setting.
I use the following profile stanza across all systems for consistency:

# Set user-defined locale - use regional settings if available
locale -fU > /dev/null 2>&1 \
&& LC_ALL=`locale -fU`  \
|| LC_ALL=`locale | \
/bin/sed '/^LANG=\|^LC_CTYPE=\|^LC_ALL=/{s///;h};$!d;x;s/"//g'`
export LC_ALL

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Case-sensitivity for #include with gcc

2017-12-04 Thread Yaakov Selkowitz
On 2017-12-04 17:14, Laurent Tassan-Got wrote:
>     Just consider the simple C program tstl.c
[snip]
> The compilation with the command
>    gcc -Wall -O2 -o tstl.exe tstl.c
> is successful and the execution as well.
> 
> Now the compilation with:
>    gcc -Wall -O2 -o tstl.exe -I /usr/include/X11   tstl.c
> fails with the following messages:

-I/usr/include/X11 is incorrect, regardless of case (in)sensitivity.
X11 headers are namespaced, meaning that you should e.g. #include
 instead of .  If your code doesn't do that, then
you need to fix it.

-- 
Yaakov



signature.asc
Description: OpenPGP digital signature


Re: [PATCH setup v2 0/5] Distinguish between user URLs and cygwin mirrors in UI

2017-12-04 Thread Ken Brown

On 12/4/2017 10:18 AM, Ken Brown wrote:

This is the same as the previous patch series with one cosmetic
improvement: I've now made user URLs sort last, so that the
distinction between user URLs and cygwin.com mirrors is visually more
clear.


Sorry for repeatedly responding to myself, but I think I see now how to 
build on what I've done and show user URLs on a separate page as Jon 
originally suggested.


If you want to hold off on reviewing this series of patches, I'll give 
that a try.


Ken



Re: Challenge: a VERY strange problem with command substitution in bash

2017-12-04 Thread Brian Inglis
On 2017-12-04 06:22, David Macek wrote:
> On 4. 12. 2017 14:01, Erik Haukjær Andersen wrote:
>> Hello
>>
>>
>> I have seen a similar problem on Windows 7, using Cygwin bash version
>> 4.4.12(3)-release (x86_64-unknown-cygwin).
>>
>> After repeating a simplified test on my own host and 6 other
>> colleagues, my conclusion is that the cause is found in BeyondTrust
>> SecureDesktop, which you also may have installed (I saw you wrote
>> something about TrustedInstaller).
>>
>>   I have raised an internal case with my IT service desk to resolve the
>> issue (and see what they can do).
> 
> My understanding is that you're just reporing your findings, not asking for
> support here.  Assuming that's the case, the only thing to do here is to add
> this to the BLODA.
> 
> I actually can't find any mention of a product nor feature called 
> SecureDesktop,
> so unless there are better ideas, let's do only "BeyondTrust".

It's a marketing suggestion for referring to the PowerBroker product which
manages locking down desktop and server privileges.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Challenge: a VERY strange problem with command substitution in bash

2017-12-04 Thread Andrey Repin
Greetings, Erik Haukjær Andersen!

> (I saw you wrote something about TrustedInstaller).

TrustedInstalller is a Windows component.
%SystemRoot%\servicing\TrustedInstaller.exe


-- 
With best regards,
Andrey Repin
Monday, December 4, 2017 23:08:53

Sorry for my terrible english...

Re: [ITA] lcms2-2.9-1

2017-12-04 Thread Yaakov Selkowitz
On 2017-11-27 10:04, Ken Brown wrote:
> My cygport file is attached.

GTG; package is yours now.  Thanks!

-- 
Yaakov



signature.asc
Description: OpenPGP digital signature


Re: mksetupini fails validating packages because curr is test

2017-12-04 Thread Ivan Gagis
Exactly! Thanks, it works perfectly now!

Br,
Ivan

2017-12-04 16:00 GMT+02:00 Jon Turney <jon.tur...@dronecode.org.uk>:
> On 04/12/2017 12:02, Ivan Gagis wrote:
>>
>> Ok, thanks! But what would be the schedule of releasing it to cygwin repo?
>>
>> I don't want to mess up my CI scripts which install the whole build
>> env from scratch on every build, so I need it in cygwin repo.
>
>
> So, you do want me to package it!
>
> I uploaded calm-20171204-1

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: gcc / gfortran 5.x

2017-12-04 Thread Hans Horn

Thanks to all the lead me the way.
Using cygwin's time machine I was able to build a working cygwin 
enviroment with gcc/gfortran at version 5.40. 
(http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/circa/64bit/2017/09/05/224214/) 



On 11/27/2017 12:58 PM, Achim Gratz wrote:

Hans Horn writes:

I noticed that cywgin's gcc/gfortran has moved whole sale to gcc 6.4.
How can I get the latest release of the 5.x branch (32 and 64bit)
back?


Use the Cygwin Time Machine, some other post had the link.


I'm trying to build a legacy suite of programs that I know builds
under 5.x, but fails miserably under 6.4.


Been there, done that.  In general, trying to freeze the compilation
environment is a losing proposition and it's better to fix up the
sources instead.


Regards,
Achim.





--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



[PATCH setup] Make Enter in the user URL box cause ADD instead of NEXT

2017-12-04 Thread Ken Brown
---
 site.cc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/site.cc b/site.cc
index 641a6bb..64e56a8 100644
--- a/site.cc
+++ b/site.cc
@@ -759,7 +759,9 @@ bool SitePage::OnMessageCmd (int id, HWND hwndctl, UINT 
code)
 {
 case IDC_EDIT_USER_URL:
   {
-   // FIXME: Make Enter here cause an ADD, not a NEXT.
+   // Set the default pushbutton to ADD if the user is entering text.
+   if (code == EN_CHANGE)
+ SendMessage (GetHWND (), DM_SETDEFID, (WPARAM) IDC_BUTTON_ADD_URL, 0);
break;
   }
 case IDC_URL_LIST:
-- 
2.15.1



[PATCH setup v2 4/5] Display full URL of non-mirrors in the site list

2017-12-04 Thread Ken Brown
Set displayed_url to full URL in the site_list_type constructor if
from_mirrors_lst is false.  Modify check_for_user_urls() to change
displayed_url back to the short form if a site in all_site_list turns
out to be a stale mirror.
---
 site.cc | 32 +---
 1 file changed, 25 insertions(+), 7 deletions(-)

diff --git a/site.cc b/site.cc
index 9b7b816..9972a29 100644
--- a/site.cc
+++ b/site.cc
@@ -183,6 +183,12 @@ site_list_type::site_list_type (const string &_url,
   idx = 0;
   } while (idx > 0);
   key += url;
+  /* Display the full URL (without trailing slash) of a non-mirror.  */
+  if (!from_mirrors_lst)
+{
+  displayed_url = url;
+  displayed_url.erase (displayed_url.end () - 1);
+}
 }
 
 site_list_type::site_list_type (site_list_type const )
@@ -242,19 +248,31 @@ save_dialog (HWND h)
 }
 }
 
-// Does the_site_list contain any sites that are not mirrors (possibly stale)?
+// Set allow_user_url = true if all_site_list contains any sites that
+// are not mirrors (possibly stale).  At the same time, fixup the
+// stored information about stale mirrors.
 static void
 check_for_user_urls ()
 {
-  for (SiteList::const_iterator i = all_site_list.begin ();
+  for (SiteList::iterator i = all_site_list.begin ();
i != all_site_list.end (); i++)
 {
-  if (!i->from_mirrors_lst
- && (find (cached_site_list.begin (), cached_site_list.end (), *i)
- == cached_site_list.end ()))
+  if (!i->from_mirrors_lst)
{
- allow_user_url = true;
- return;
+ // Is it a stale mirror?
+ SiteList::iterator j = find (cached_site_list.begin (),
+  cached_site_list.end (), *i);
+ if (j == cached_site_list.end ())
+   allow_user_url = true;
+ else
+   {
+ i->servername = j->servername;
+ i->area = j->area;
+ i->location = j->location;
+ // i->from_mirrors_lst stays false.
+ i->displayed_url = j->displayed_url;
+ i->key = j->key;
+   }
}
 }
 }
-- 
2.15.1



[PATCH setup v2 3/5] Adjust site list if IDC_ALLOW_USER_URL is unchecked

2017-12-04 Thread Ken Brown
If the user unchecks the box, remove all sites except for fresh
mirrors and selected stale mirrors.  Introduce a new function
remove_user_urls() to help with this
---
 site.cc | 35 +++
 1 file changed, 35 insertions(+)

diff --git a/site.cc b/site.cc
index 0222ec9..9b7b816 100644
--- a/site.cc
+++ b/site.cc
@@ -259,6 +259,35 @@ check_for_user_urls ()
 }
 }
 
+static void
+remove_user_urls ()
+{
+  SiteList result;
+  for (SiteList::const_iterator i = all_site_list.begin ();
+   i != all_site_list.end (); i++)
+{
+  if (i->from_mirrors_lst)
+   // It's a fresh mirror.
+   result.push_back (*i);
+  else
+   {
+ // Is it selected?
+ SiteList::iterator j = find (site_list.begin (),
+  site_list.end (), *i);
+ if (j != site_list.end ())
+   {
+ if (find (cached_site_list.begin (), cached_site_list.end (), *i)
+ != cached_site_list.end ())
+   // It's a selected stale mirror.
+   result.push_back (*i);
+ else
+   site_list.erase (j);
+   }
+   }
+}
+  all_site_list = result;
+}
+
 // This is called only for lists of mirrors that came (now or in a
 // previous setup run) from mirrors.lst.
 void
@@ -757,6 +786,12 @@ bool SitePage::OnMessageCmd (int id, HWND hwndctl, UINT 
code)
if (code == BN_CLICKED)
  {
allow_user_url = IsButtonChecked (IDC_ALLOW_USER_URL);
+   if (!allow_user_url)
+ {
+   // The button was just unchecked.
+   remove_user_urls ();
+   PopulateListBox ();
+ }
CheckControlsAndDisableAccordingly ();
  }
break;
-- 
2.15.1



[PATCH setup v2 5/5] Make user URLs sort last in the displayed site list

2017-12-04 Thread Ken Brown
Also fix load_site_list() so that when a mirror replaces an existing
entry, the sort order is updated.

Change site_list_type::operator== to compare URLs instead of sort
keys, since the key of a user URL no longer depends solely on the URL.

Introduce a new helper function merge_site().
---
 site.cc | 37 +++--
 1 file changed, 19 insertions(+), 18 deletions(-)

diff --git a/site.cc b/site.cc
index 9972a29..641a6bb 100644
--- a/site.cc
+++ b/site.cc
@@ -183,11 +183,13 @@ site_list_type::site_list_type (const string &_url,
   idx = 0;
   } while (idx > 0);
   key += url;
-  /* Display the full URL (without trailing slash) of a non-mirror.  */
+  /* Display the full URL (without trailing slash) of non-mirrors, and
+ make them sort last.  */
   if (!from_mirrors_lst)
 {
   displayed_url = url;
   displayed_url.erase (displayed_url.end () - 1);
+  key = " " + key;
 }
 }
 
@@ -218,7 +220,7 @@ site_list_type::operator= (site_list_type const )
 bool
 site_list_type::operator == (site_list_type const ) const
 {
-  return stricmp (key.c_str(), rhs.key.c_str()) == 0; 
+  return stricmp (url.c_str(), rhs.url.c_str()) == 0;
 }
 
 bool
@@ -306,6 +308,16 @@ remove_user_urls ()
   all_site_list = result;
 }
 
+static void
+merge_site (SiteList & sites, site_list_type newsite)
+{
+  SiteList result;
+  merge (sites.begin(), sites.end(),
+,  + 1,
+inserter (result, result.begin()));
+  sites = result;
+}
+
 // This is called only for lists of mirrors that came (now or in a
 // previous setup run) from mirrors.lst.
 void
@@ -361,17 +373,9 @@ load_site_list (SiteList& theSites, char *theString)
  site_list_type newsite (bol, semi, semi2, semi3, true);
  SiteList::iterator i = find (theSites.begin(),
   theSites.end(), newsite);
- if (i == theSites.end())
-   {
- SiteList result;
- merge (theSites.begin(), theSites.end(),
-,  + 1,
-inserter (result, result.begin()));
- theSites = result;
-   }
- else
-   //TODO: remove and remerge 
-   *i = newsite;
+ if (i != theSites.end())
+   theSites.erase (i);
+ merge_site (theSites, newsite);
}
 else
 {
@@ -458,11 +462,8 @@ SiteSetting::registerSavedSite (const char * site)
  || strnicmp (site, NOSAVE2, NOSAVE2_LEN) == 0
  || strnicmp (site, NOSAVE3, NOSAVE3_LEN) == 0)
return;
-  SiteList result;
-  merge (all_site_list.begin(), all_site_list.end(),
-,  + 1,
-inserter (result, result.begin()));
-  all_site_list = result;
+
+  merge_site (all_site_list, tempSite);
   site_list.push_back (tempSite);
 }
   else
-- 
2.15.1



[PATCH setup v2 1/5] Add checkbox IDC_ALLOW_USER_URL to IDD_SITE dialog

2017-12-04 Thread Ken Brown
Enable the "User URL" edit box and "Add" button only if
IDC_ALLOW_USER_URL is checked.
---
 res.rc | 15 ---
 resource.h |  1 +
 site.cc| 15 +++
 3 files changed, 24 insertions(+), 7 deletions(-)

diff --git a/res.rc b/res.rc
index a4d7e70..b5dcb3e 100644
--- a/res.rc
+++ b/res.rc
@@ -135,21 +135,22 @@ CAPTION "Cygwin Setup - Choose Download Site(s)"
 FONT 8, "MS Shell Dlg"
 BEGIN
 ICONIDI_CYGWIN,IDC_HEADICON,SETUP_HEADICON_X,0,21,20
-LISTBOX IDC_URL_LIST,66,45,185,110,LBS_NOINTEGRALHEIGHT | 
+LISTBOX IDC_URL_LIST,66,34,185,110,LBS_NOINTEGRALHEIGHT |
 LBS_EXTENDEDSEL | WS_VSCROLL | WS_HSCROLL | WS_GROUP | 
 WS_TABSTOP
-LTEXT   "Available Download Sites:",IDC_STATIC,66,34,183,8,NOT 
-WS_GROUP
 CONTROL "",IDC_HEADSEPARATOR,"Static",SS_BLACKFRAME | 
SS_SUNKEN,0,28,
 SETUP_STANDARD_DIALOG_W,1
 LTEXT   "Choose a site from this list, or add your own sites to 
the list",
 IDC_STATIC,21,9,239,16,NOT WS_GROUP
 LTEXT   "Choose A Download Site",IDC_STATIC_HEADER_TITLE,7,0,258,
 8,NOT WS_GROUP
-EDITTEXTIDC_EDIT_USER_URL,65,160,185,14,ES_AUTOHSCROLL | 
-WS_GROUP
-LTEXT   "User URL:",IDC_SITE_USERURL,15,162,45,8,NOT WS_GROUP
-PUSHBUTTON  "Add",IDC_BUTTON_ADD_URL,255,160,50,14
+EDITTEXTIDC_EDIT_USER_URL,65,165,185,14,ES_AUTOHSCROLL |
+WS_GROUP | WS_DISABLED
+LTEXT   "User URL:",IDC_SITE_USERURL,15,167,45,8,NOT WS_GROUP |
+WS_DISABLED
+PUSHBUTTON  "Add",IDC_BUTTON_ADD_URL,255,165,50,14,WS_DISABLED
+CONTROL "Allow sites that are not cygwin.com mirrors",
+IDC_ALLOW_USER_URL,"Button",BS_AUTOCHECKBOX,15,150,200,8
 END
 
 IDD_NET DIALOG DISCARDABLE  0, 0, SETUP_STANDARD_DIALOG_DIMS
diff --git a/resource.h b/resource.h
index a2e867f..d111853 100644
--- a/resource.h
+++ b/resource.h
@@ -177,3 +177,4 @@
 #define IDC_FILE_INUSE_HELP   592
 #define IDC_NET_DIRECT_LEGACY 593
 #define IDC_DOWNLOAD_EDIT 594
+#define IDC_ALLOW_USER_URL595
diff --git a/site.cc b/site.cc
index 230d82c..607c591 100644
--- a/site.cc
+++ b/site.cc
@@ -64,6 +64,7 @@ static ControlAdjuster::ControlInfo SiteControlsInfo[] = {
   {IDC_EDIT_USER_URL,  CP_STRETCH, CP_BOTTOM},
   {IDC_BUTTON_ADD_URL, CP_RIGHT,   CP_BOTTOM},
   {IDC_SITE_USERURL,CP_LEFT,CP_BOTTOM},
+  {IDC_ALLOW_USER_URL,  CP_LEFT,CP_BOTTOM},
   {0, CP_LEFT, CP_TOP}
 };
 
@@ -78,6 +79,7 @@ SitePage::SitePage ()
 
 using namespace std;
 
+bool allow_user_url;
 bool cache_is_usable;
 bool cache_needs_writing;
 string cache_warn_urls;
@@ -637,6 +639,10 @@ SitePage::CheckControlsAndDisableAccordingly () const
   ButtonFlags |= PSWIZB_NEXT;
 }
   GetOwner ()->SetButtons (ButtonFlags);
+
+  EnableWindow (GetDlgItem (IDC_EDIT_USER_URL), allow_user_url);
+  EnableWindow (GetDlgItem (IDC_SITE_USERURL), allow_user_url);
+  EnableWindow (GetDlgItem (IDC_BUTTON_ADD_URL), allow_user_url);
 }
 
 void
@@ -720,6 +726,15 @@ bool SitePage::OnMessageCmd (int id, HWND hwndctl, UINT 
code)
  }
break;
   }
+case IDC_ALLOW_USER_URL:
+  {
+   if (code == BN_CLICKED)
+ {
+   allow_user_url = IsButtonChecked (IDC_ALLOW_USER_URL);
+   CheckControlsAndDisableAccordingly ();
+ }
+   break;
+  }
 default:
   // Wasn't recognized or handled.
   return false;
-- 
2.15.1



[PATCH setup v2 0/5] Distinguish between user URLs and cygwin mirrors in UI

2017-12-04 Thread Ken Brown
This is the same as the previous patch series with one cosmetic
improvement: I've now made user URLs sort last, so that the
distinction between user URLs and cygwin.com mirrors is visually more
clear.

Ken Brown (5):
  Add checkbox IDC_ALLOW_USER_URL to IDD_SITE dialog
  Set the initial state of IDC_ALLOW_USER_URL
  Adjust site list if IDC_ALLOW_USER_URL is unchecked
  Display full URL of non-mirrors in the site list
  Make user URLs sort last in the displayed site list

 res.rc |  15 +++
 resource.h |   1 +
 site.cc| 129 +
 site.h |   1 +
 4 files changed, 122 insertions(+), 24 deletions(-)

-- 
2.15.1



[PATCH setup v2 2/5] Set the initial state of IDC_ALLOW_USER_URL

2017-12-04 Thread Ken Brown
It starts checked if all_site_list contains a site that is not a
cygwin.com mirror.  Such a site would have to come from the
"last-mirror" user setting, indicating that the user used a non-mirror
on the last run.  Introduce a new function check_for_user_urls() to
help with this.
---
 site.cc | 26 ++
 site.h  |  1 +
 2 files changed, 27 insertions(+)

diff --git a/site.cc b/site.cc
index 607c591..0222ec9 100644
--- a/site.cc
+++ b/site.cc
@@ -242,6 +242,23 @@ save_dialog (HWND h)
 }
 }
 
+// Does the_site_list contain any sites that are not mirrors (possibly stale)?
+static void
+check_for_user_urls ()
+{
+  for (SiteList::const_iterator i = all_site_list.begin ();
+   i != all_site_list.end (); i++)
+{
+  if (!i->from_mirrors_lst
+ && (find (cached_site_list.begin (), cached_site_list.end (), *i)
+ == cached_site_list.end ()))
+   {
+ allow_user_url = true;
+ return;
+   }
+}
+}
+
 // This is called only for lists of mirrors that came (now or in a
 // previous setup run) from mirrors.lst.
 void
@@ -366,6 +383,8 @@ get_site_list (HINSTANCE h, HWND owner)
   delete[] theMirrorString;
   delete[] theCachedString;
 
+  check_for_user_urls ();
+
   return 0;
 }
 
@@ -569,6 +588,13 @@ bool SitePage::Create ()
   return PropertyPage::Create (IDD_SITE);
 }
 
+void
+SitePage::OnInit ()
+{
+  int a = allow_user_url ? BST_CHECKED : BST_UNCHECKED;
+  CheckDlgButton (GetHWND (), IDC_ALLOW_USER_URL, a);
+}
+
 long
 SitePage::OnNext ()
 {
diff --git a/site.h b/site.h
index d16db8e..c517ac2 100644
--- a/site.h
+++ b/site.h
@@ -31,6 +31,7 @@ public:
 
   bool Create ();
 
+  virtual void OnInit ();
   virtual void OnActivate ();
   virtual long OnNext ();
   virtual long OnBack ();
-- 
2.15.1



[ANNOUNCEMENT] Updated: weechat-2.0-1

2017-12-04 Thread Sébastien Helleu
Version 2.0-1 of "weechat" has been uploaded.

ChangeLog:

https://weechat.org/files/changelog/ChangeLog-2.0.html

DESCRIPTION
WeeChat is a fast, light and extensible chat client. It runs on many platforms
like Linux, Unix, BSD, GNU Hurd, Mac OS X and Windows (bash/ubuntu and cygwin).

HOMEPAGE
https://weechat.org/

Sébastien Helleu.

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Updated: weechat-2.0-1

2017-12-04 Thread Sébastien Helleu
Version 2.0-1 of "weechat" has been uploaded.

ChangeLog:

https://weechat.org/files/changelog/ChangeLog-2.0.html

DESCRIPTION
WeeChat is a fast, light and extensible chat client. It runs on many platforms
like Linux, Unix, BSD, GNU Hurd, Mac OS X and Windows (bash/ubuntu and cygwin).

HOMEPAGE
https://weechat.org/

Sébastien Helleu.


Re: mksetupini fails validating packages because curr is test

2017-12-04 Thread Jon Turney

On 04/12/2017 12:02, Ivan Gagis wrote:

Ok, thanks! But what would be the schedule of releasing it to cygwin repo?

I don't want to mess up my CI scripts which install the whole build
env from scratch on every build, so I need it in cygwin repo.


So, you do want me to package it!

I uploaded calm-20171204-1

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Challenge: a VERY strange problem with command substitution in bash

2017-12-04 Thread David Macek

On 4. 12. 2017 14:01, Erik Haukjær Andersen wrote:

Hello


I have seen a similar problem on Windows 7, using Cygwin bash version
4.4.12(3)-release (x86_64-unknown-cygwin).

After repeating a simplified test on my own host and 6 other
colleagues, my conclusion is that the cause is found in BeyondTrust
SecureDesktop, which you also may have installed (I saw you wrote
something about TrustedInstaller).

  I have raised an internal case with my IT service desk to resolve the
issue (and see what they can do).


My understanding is that you're just reporing your findings, not asking for 
support here.  Assuming that's the case, the only thing to do here is to add 
this to the BLODA.

I actually can't find any mention of a product nor feature called SecureDesktop, so 
unless there are better ideas, let's do only "BeyondTrust".

--
David Macek



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Challenge: a VERY strange problem with command substitution in bash

2017-12-04 Thread Erik Haukjær Andersen
Hello


I have seen a similar problem on Windows 7, using Cygwin bash version
4.4.12(3)-release (x86_64-unknown-cygwin).

After repeating a simplified test on my own host and 6 other
colleagues, my conclusion is that the cause is found in BeyondTrust
SecureDesktop, which you also may have installed (I saw you wrote
something about TrustedInstaller).

 I have raised an internal case with my IT service desk to resolve the
issue (and see what they can do).

The observations are as follows, in bash, standing in a subdir with 3
files a,b and c:

(The results shown are on a host with SecureDesktop, but the only
difference is at the last command)
$ ls
a  b  c

$ echo $(ls)
a b c

$ echo $(ls|sort)
a b c

$ echo "$(ls)"
a
b
c

$ echo "$(ls|sort)"
$

The problem is seen in the last line, where no output is produced, and
the expected output is just like the previous command (the one without
the ‘sort’).

3 colleagues also with SecureDesktop sees the same as I do, and 3
other colleagues without SecureDesktop sees the expected result (the
last command produces output).


Best regards

Erik Haukjær Andersen
Sr Pncpl Software Developer

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: mksetupini fails validating packages because curr is test

2017-12-04 Thread Ivan Gagis
Ok, thanks! But what would be the schedule of releasing it to cygwin repo?

I don't want to mess up my CI scripts which install the whole build
env from scratch on every build, so I need it in cygwin repo.

Br,
Ivan

2017-12-01 13:00 GMT+02:00 Jon Turney :
> On 30/11/2017 22:16, Ivan Gagis wrote:
>>
>> Thanks for prompt actions!
>
>
> No problem.
>
>> I think no need to package it separately for testing, just release it
>> to cygwin repo.
>
>
> Ok. You can get it with:
>
>   pip3 install git+http://cygwin.com/git/cygwin-apps/calm.git

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



[ANNOUNCEMENT] ghostscript 9.22-1

2017-12-04 Thread Ken Brown
The following packages have been uploaded to the Cygwin distribution:

* ghostscript-9.22-1
* libgs9-9.22-1
* libgs-devel-9.22-1

GNU Ghostscript is a PostScript interpreter capable of converting PS
files into a number of printer output formats.  Ghostscript can also
render PS files into a number of graphics file formats.

This is an update to the latest upstream release, which now works with
preview-latex.

Ken Brown
Cygwin's Ghostscript maintainer

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



ghostscript 9.22-1

2017-12-04 Thread Ken Brown
The following packages have been uploaded to the Cygwin distribution:

* ghostscript-9.22-1
* libgs9-9.22-1
* libgs-devel-9.22-1

GNU Ghostscript is a PostScript interpreter capable of converting PS
files into a number of printer output formats.  Ghostscript can also
render PS files into a number of graphics file formats.

This is an update to the latest upstream release, which now works with
preview-latex.

Ken Brown
Cygwin's Ghostscript maintainer