Re: Python 3.2 cygport script

2012-06-15 Thread Yaakov (Cygwin/X)

On 2012-06-14 13:56, Jason Tishler wrote:

See attached for a diff between your python3-3.1.5rc1-1 cygport script
and my WIP 3.2 one.  I'm still deciding on which patches to include
and/or getting them to apply cleanly, so ignore those diffs for now.
I'm most interested in your feedback on my changes to src_install(), so
please focus your attention there.  In particular, I'm trying to figure
out how to best handle the new ABIFLAGS stuff that was added in 3.2.
Any comments will be greatly appreciated.


Comments inline.


-doc_v=3.1.3
+doc_v=${PV}


That's fine for now, but by later point releases the docs tend not to be 
updated.  Perhaps this should be a separate source package anyway, but 
that's up to you.



+   3.2.3-extension.patch


I never had this problem because I set obcaseinsensitive=0.  I'm not 
sure what side effects your patch may have.



+   3.2.3-libpython-abi.patch


Yep, I had a similar patch locally from an earlier attempt at 3.2.


+   abi=$(${B}/python.exe -c 'import sys; print(sys.abiflags)')


I recommend you hard-code this (abi=m) right after the slot define. 
Otherwise, if something happens and the ABI changes suddenly, you might 
miss it and inadvertently ship an update which will break users' 
installations.



+   dosym idle${slot} /usr/bin/idle3


I think the same can be done with pydoc.

Otherwise this looks good.


Yaakov


[RFC] Lots of perl modules...

2012-06-15 Thread ASSI

Since I've switched to perl-5.14 already, I needed to re-install many perl 
modules and finally bit the bullet and packaged everything with cygport.  
This includes all the packages that Reini Urban distributes in perl_vendor, 
since this bundling makes it harder to deal with the dependencies between 
distributions in the long run, IMHO.

I am bundling all perl modules in perl-bundle, an empty module with just the 
right dependencies in setup.hint.  I think this might be an appropriate way 
to deal the modules in perl_vendor also (let me know if you want such a 
bundle module for testing).

I've patched all modules to run through the tests without user input and to 
use the Cygwin installed libraries wherever possible.  I've also removed 
quite a bit of Cygwin is like windows and Cygwin doesn't do this cruft 
in configuration and tests.  Most of this should be working with perl-5.10 
as well, except perhaps threading.

At the moment I can just offer the cygport files, tar will extract them into 
perl-dist/:

http://cygwin.stromeko.net/perl-dist.tar.bz2

A few modules (PDL and some of its dependencies) pull libraries from 
cygports (I think only libcfitsio3, but I would need to check again to be 
sure).  Unless there is a licensing problem, it would be nice if PDL and 
these libraries could be moved into the main Cygwin distribution.  For PDL I 
also tried to compile the PLplot and Starlink libraries, but they are both 
in a sad state of bitrot and haven't seen active maintenance for at least 3 
years AFAICS.  Fixing Starlink requires to re-create their custom autotools 
setup and PLplot uses old C++ constructs that gcc does not like anymore.  
Both issues would require a lot more time to fix than I can spend and PDL 
compiles just fine without these...


Regards,
Achim.
-- 
+[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+

SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada



Re: [RFC] Incremental autorebase

2012-06-15 Thread ASSI
On Sunday 03 June 2012, 18:02:57, ASSI wrote:
[...]

Updated package available at:
http://cygwin.stromeko.net/release/_incautorebase/_incautorebase-1-6-
src.tar.bz2


Regards,
Achim.
-- 
+[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada



Re: Fwd: [PATCH v1] setup: allow building with i686-w64-mingw32

2012-06-15 Thread Yaakov (Cygwin/X)

On 2012-06-15 03:46, Jacek Caban wrote:

On 06/14/12 11:55, Yaakov (Cygwin/X) wrote:

Both mingw.org and Wine support CINTERFACE wrt the REF*ID defines.


Thanks for the report, I've fixed Wine [1].


Not AFAICS.  Look at all the places where REF*ID is taken as an argument 
which are conditional on CINTERFACE, e.g. later in Wine's guiddef.h, I 
don't think the CINTERFACE IsEqualGUID is going to work with C++ REF*ID 
types.  Also, you won't be able to test equality with C++ types without 
the operators.


Look also at mingw-w64's shobjidl.h (among others); the CINTERFACE 
QueryInterface vfuncs take REF*ID arguments, are those going to compile 
with C++ REF*ID?  I'm sure I could find many more examples, but if you 
look at all the 183 headers which use CINTERFACE, most (all?) of which 
use REF*ID types, doesn't it make sense that REF*ID must be C types if 
CINTERFACE?



Yaakov
Cygwin/X


Re: poppler update?

2012-06-15 Thread Yaakov (Cygwin/X)

On 2012-05-26 05:55, Ken Brown wrote:

TeX Live 2012 is in its pretesting phase and is using poppler-0.20.0.
Would you be able to update Cygwin's poppler within the next few weeks?


Done.


Yaakov



[ANNOUNCEMENT] Updated: glib2.0-2.32.3-2, pango-1.30.1-1, font-cantarell-otf-0.0.9-1

2012-06-15 Thread Yaakov (Cygwin/X)

The following packages have been updated for the Cygwin distribution:

* libglib2.0_0-2.32.3-2
* libglib2.0-devel-2.32.3-2

* libpango1.0_0-1.30.1-1
* libpango1.0-devel-1.30.1-1
* girepository-Pango1.0-1.30.1-1

* font-cantarell-otf-0.0.9-1

The glib update includes a patch from Ken Brown to fix the performance 
problems reported on GTK+ applications.  The other releases are routine 
upstream updates.


--

Yaakov
Cygwin/X


CYGWIN-XFREE-ANNOUNCE UNSUBSCRIBE INFO
==

If you want to unsubscribe from the cygwin-xfree-announce mailing list,
please use the automated form at:

http://cygwin.com/lists.html#subscribe-unsubscribe

If this does not work, then look at the List-Unsubscribe:  tag in the
email header of this message.  Send email to the address specified
there.  It will be in the format:

cygwin-xfree-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

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



[ANNOUNCEMENT] Updated: xorg-server-1.12.1-2

2012-06-15 Thread Jon TURNEY
The following packages have been updated in the Cygwin distribution:

*** xorg-server-1.12.1-2
*** xorg-server-common-1.12.1-2
*** xorg-server-dmx-1.12.1-2
*** xorg-server-extra-1.12.1-2
*** xorg-server-devel-1.12.1-2

These packages contain XWin and the other X.Org X11 servers.

The following cygwin-specific changes have been made since 1.12.1-1:

* Fix an X server crash caused by running any OpenGL program (in the default,
WGL mode)
* Increase the timeout in the xorg-backtrace script for gdb to generate
backtrace information from 5 to 60 seconds

ca47eba223d8c5b44b57787fb38762aa *xorg-server-1.12.1-2.tar.bz2
8cdc421e0dab10e4df2f32bbf72aba9c *xorg-server-common-1.12.1-2.tar.bz2
7760010315604d9e7984b969ad31743d *xorg-server-devel-1.12.1-2.tar.bz2
c2d4178cc80a27e13887a1894f132931 *xorg-server-dmx-1.12.1-2.tar.bz2
781775ee3aec91d3cd763a4e547361f3 *xorg-server-extra-1.12.1-2.tar.bz2
974815d3437c885e5bc9ed9e62760401 *xorg-server-1.12.1-2-src.tar.bz2


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



Re: cygwin 1.7.15: svn disk I/O error

2012-06-15 Thread Warren Young

On 6/14/2012 4:00 PM, Garrison, Jim (ETW) wrote:

Why would you think that a disk I/O error was either anti-virus or
Cygwin related and not... a disk I/O error?  Have you looked in your
event logs for errors?


It is indeed AV related -- a race between SQLite and AV


That's one possibility, but check this out:

http://stackoverflow.com/questions/11007024/

tl;dr: someone made the problem go away by rolling my recent 3.7.12 
release back to the prior 3.7.3 version.


I doubt the problem is in the upstream changes between .3 and .12.  I'm 
more worried about the build option changes.  SQLite has a lot of 
Windows-specific code in it, plus some Cygwin-specific code, too.  The 
build changes override some things to force it to believe it's being 
built for a more generic POSIX type system.


It may be both things: the build option changes that force more I/O 
calls to go through Cygwin instead of direct to the Win32 API could be 
tickling BLODA bugs.


Yet another possibility is that the build option changes cause a subtle 
ABI change that will be fixed when SVN is rebuilt against it.


--
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: Small request for the new cygwin terminal

2012-06-15 Thread Andy Koppe
On 12 June 2012 14:11, Nellis, Kenneth wrote:
 -BEGIN Original Message-
 From: Andy Koppe
 On 11 June 2012 13:55, Nellis, Kenneth wrote:
 I don't get
 the U+009F result from the / key from any combination of Ctrl
 and Shift.

 On a US keyboard, Shift+/ is ?, and Ctrl+? is itself a valid
 control character combination, producing ^? (i.e. 0x7F).

 Andy
 -END Original Message-
 I hate to prolong this relatively uninteresting thread, but I
 don't see how you addressed my point, which is that the table at
 http://code.google.com/p/mintty/wiki/Keycodes#Ctrl indicates
 that one can generate U+009F with the /, Ctrl, and Shift keys...
 +-+--++
 | Key | Ctrl | Ctrl+Shift |
 +-+--++
 |  /  |  ^_  |   U+009F   |
 +-+--++
 ...but this doesn't seem to be the case, at least with a
 standard US keyboard.

Can you take a look at the latest revision of that wiki page section?
Note the 'Char' instead of 'Key' in the table header, along with a bit
of extra text.

Thanks,
Andy

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



Some issues with /usr/lib/ and /lib/ and wx

2012-06-15 Thread matt_bali
Hi,

I use current Cygwin on current XP
I build wx 2.8.11.0 and have issue with it not recognizing /usr/lib/ it seems.
wx works fine, but if it has to load some resource from /usr/lib/ it throws 
error. More info posted in wxpython mailing list: 
http://groups.google.com/group/wxpython-users/browse_thread/thread/3ffdf4c94276450a

As folder /usr/lib/ seem to be a link to /lib/ (i.e. Windows console can 
read it, but Cygwin terminal can) I suspect that similarly wx can read it

How can I approach and potentially solve this problem?

Thanks in advance


--
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: Some issues with /usr/lib/ and /lib/ and wx

2012-06-15 Thread matt_bali
As folder /usr/lib/ seem to be a link to /lib/ (i.e. Windows 
console can read it, but Cygwin terminal can) I suspect that 
similarly wx can read it

Obvious typo:

As folder /usr/lib/ seem to be a link to /lib/ (i.e. Windows 
console *can't* read it, but Cygwin terminal can) I suspect that 
similarly wx *can't* read it


--
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: cygwin 1.7.15: svn disk I/O error

2012-06-15 Thread Rolf Campbell

On 2012-06-15 06:37, Warren Young wrote:

On 6/14/2012 4:00 PM, Garrison, Jim (ETW) wrote:

Why would you think that a disk I/O error was either anti-virus or
Cygwin related and not... a disk I/O error?  Have you looked in your
event logs for errors?


It is indeed AV related -- a race between SQLite and AV


That's one possibility, but check this out:

 http://stackoverflow.com/questions/11007024/

tl;dr: someone made the problem go away by rolling my recent 3.7.12
release back to the prior 3.7.3 version.

I doubt the problem is in the upstream changes between .3 and .12.  I'm
more worried about the build option changes.  SQLite has a lot of
Windows-specific code in it, plus some Cygwin-specific code, too.  The
build changes override some things to force it to believe it's being
built for a more generic POSIX type system.

It may be both things: the build option changes that force more I/O
calls to go through Cygwin instead of direct to the Win32 API could be
tickling BLODA bugs.

Yet another possibility is that the build option changes cause a subtle
ABI change that will be fixed when SVN is rebuilt against it.


Also, I don't think I'm running any A/V software (Windows keeps nagging 
me that my system is *not* running A/V).  I uninstalled it to see if 
that was the problem before reporting it to this list.


Also#2: I'm seeing this problem on a Win7x64 machine, but I also have a 
WinXPx32 machine which has started exhibiting the same symptoms.  That 
one *is* running Symantec A/V (which I've never had trouble with 
before).  It's a work machine, and I don't have permissions to uninstall 
A/V, but I'll see if I can convince the IT guy to uninstall it for a 
while to see if that resolves the problem.



--
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: cygwin 1.7.15: svn disk I/O error

2012-06-15 Thread Rolf Campbell

On 2012-06-15 06:37, Warren Young wrote:

It is indeed AV related -- a race between SQLite and AV


That's one possibility, but check this out:

 http://stackoverflow.com/questions/11007024/

tl;dr: someone made the problem go away by rolling my recent 3.7.12
release back to the prior 3.7.3 version.

I doubt the problem is in the upstream changes between .3 and .12.  I'm
more worried about the build option changes.  SQLite has a lot of
Windows-specific code in it, plus some Cygwin-specific code, too.  The
build changes override some things to force it to believe it's being
built for a more generic POSIX type system.

It may be both things: the build option changes that force more I/O
calls to go through Cygwin instead of direct to the Win32 API could be
tickling BLODA bugs.

Yet another possibility is that the build option changes cause a subtle
ABI change that will be fixed when SVN is rebuilt against it.


I've rolled my machine back to to .3 and I'll see if it fixes my system 
too.  Unfortunately, I'm not able to reproduce the problem *at all* this 
morning with any version of anything.  I guess I'll wait and see for now.



--
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: Some issues with /usr/lib/ and /lib/ and wx

2012-06-15 Thread Earnie Boyd
On Fri, Jun 15, 2012 at 9:03 AM,  matt_bali wrote:
 I suspect that similarly wx *can't* read it

If it is a native (doesn't require cygwin1.dll) then yes, wx won't be
able to read the Cygwin POSIX paths.

-- 
Earnie
-- https://sites.google.com/site/earnieboyd

--
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: DenyHosts (as service) won't start/hangs @ cygwin 1.7.15-1 / Win7 x64

2012-06-15 Thread Larry Hall (Cygwin)

On 6/14/2012 8:35 PM, martin wrote:

snip


- tried to start DenyHosts service - same issue as always, service
hangs, syslog reports:

Jun 15 02:16:21 NUTRIA DenyHosts: PID 6568: service `DenyHosts': 7316
did not fork, sending SIGTERM
Jun 15 02:16:27 NUTRIA DenyHosts: PID 6568: service `DenyHosts': 7316
did not terminate, sending SIGKILL


snip

Sounds like it could be a rebase issue.  Have you investigated this?
http://cygwin.com/faq-nochunks.html#faq.using.fixing-fork-failures

--
Larry

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Some issues with /usr/lib/ and /lib/ and wx

2012-06-15 Thread matt_bali
If it is a native (doesn't require cygwin1.dll) then yes, wx won't 
be able to read the Cygwin POSIX paths.

I compiled wx it under Cygwin
wx libraries are are in /usr/local/lib/

Everything works as expected, only some programs won't start because of this 
issue, or throw error about missing resource file if file is located beneath 
/usr/lib/

Please see this output from python interpreter:


$ python
Python 2.6.8 (unknown, Jun  9 2012, 11:30:32)
[GCC 4.5.3] on cygwin
Type help, copyright, credits or license for more information.
 import wx
 wx.Image.CanRead('/usr/lib/python2.6/site-packages/matplotlib/mpl-data/images/filesave.png')
True
 wximg = 
 wx.Image('/usr/lib/python2.6/site-packages/matplotlib/mpl-data/images/filesave.png',
  wx.BITMAP_TYPE_ANY)
14:36:44: Error: Can't load image from file 
'/usr/lib/python2.6/site-packages/matplotlib/mpl-data/images/filesave.png': 
file does not exist.



Only wx has this issue for some reason


--
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: Some issues with /usr/lib/ and /lib/ and wx

2012-06-15 Thread marco atzeri

On 6/15/2012 4:37 PM, matt_b...@mac.hush.com wrote:

If it is a native (doesn't require cygwin1.dll) then yes, wx won't
be able to read the Cygwin POSIX paths.


I compiled wx it under Cygwin
wx libraries are are in /usr/local/lib/

Everything works as expected, only some programs won't start because of this 
issue, or throw error about missing resource file if file is located beneath 
/usr/lib/


eventually you build a partially hybrid application

On cygwin
/usr/lib is a mount of /lib
so a pure cygwin program will see no difference between

/usr/lib/python2.6/site-packages/matplotlib/mpl-data/images/filesave.png
/lib/python2.6/site-packages/matplotlib/mpl-data/images/filesave.png


Please see this output from python interpreter:


$ python
Python 2.6.8 (unknown, Jun  9 2012, 11:30:32)
[GCC 4.5.3] on cygwin
Type help, copyright, credits or license for more information.

import wx
wx.Image.CanRead('/usr/lib/python2.6/site-packages/matplotlib/mpl-data/images/filesave.png')

True

wximg = 
wx.Image('/usr/lib/python2.6/site-packages/matplotlib/mpl-data/images/filesave.png',
 wx.BITMAP_TYPE_ANY)

14:36:44: Error: Can't load image from file 
'/usr/lib/python2.6/site-packages/matplotlib/mpl-data/images/filesave.png': 
file does not exist.





Only wx has this issue for some reason



have you tried using Yaakov wx libraries ?

http://sourceware.org/cygwinports/

Regards
Marco




--
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: Some issues with /usr/lib/ and /lib/ and wx

2012-06-15 Thread matt_bali
eventually you build a partially hybrid application

Can't see how. I have configure log for wx, but nothing unusual there for me.


have you tried using Yaakov wx libraries ?

http://sourceware.org/cygwinports/

Thanks for suggestion, I'll have it in mind, but will try to avoid removing all 
installed packages and recompiling everything again if I can

As intermediate workaround I patched Matplotlib wx backend source: 
_load_bitmap() function that passes filename to wx.Bitmap() I changed to:

f = open(filename, 'rb')
wx.BitmapFromImage(wx.ImageFromStream(f))
f.close()

and that works fine for Matplotlib

I'll wait on wxPython mailing list someone to suggest proper patch so that 
other packages work without issue


--
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: Some issues with /usr/lib/ and /lib/ and wx

2012-06-15 Thread matt_bali
I forgot to mention that it's not just mounted /usr/lib/ problem for wx, but 
any cygwin posix path.
OTOH loading file like wx.Image(c:\\temp\\image.png) works fine, so something 
is messed somewhere


--
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: Some issues with /usr/lib/ and /lib/ and wx

2012-06-15 Thread Christopher Faylor
On Fri, Jun 15, 2012 at 07:46:58PM +0200, matt_bali wrote:
I forgot to mention that it's not just mounted /usr/lib/ problem for
wx, but any cygwin posix path.  OTOH loading file like
wx.Image(c:\\temp\\image.png) works fine, so something is messed
somewhere

There is no mystery here.  You're obviously not using cygwin-compiled
libraries.  Cygwin doesn't make Windows apps aware of POSIX paths.

--
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: Some issues with /usr/lib/ and /lib/ and wx

2012-06-15 Thread matt_bali
There is no mystery here.  You're obviously not using cygwin-compiled
libraries.  Cygwin doesn't make Windows apps aware of POSIX paths.

That makes sense. If I understand you correct you are implying that I compiled 
wx under Cygwin for Windows instead for Cygwin

So perhaps I should remove my compiled wx and install from suggested ports 
linked in one of previous mails?
I'll do that

Thanks


--
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] Updated: poppler-0.20.1-1

2012-06-15 Thread Yaakov (Cygwin/X)

The following packages have been updated for the Cygwin distribution:

*** poppler-0.20.1-1
*** libpoppler26-0.20.1-1
*** libpoppler-devel-0.20.1-1
*** libpoppler-cpp0-0.20.1-1
*** libpoppler-cpp-devel-0.20.1-1
*** libpoppler-glib8-0.20.1-1
*** libpoppler-glib-devel-0.20.1-1
*** libpoppler-qt4_4-0.20.1-1
*** libpoppler-qt4-devel-0.20.1-1

Poppler is a PDF rendering library based on the xpdf-3.0 code base.

This releases updates poppler to the xpdf-3.03 feature set and includes 
the following packaging changes:


- poppler now provides pdfdetach(1).
- ABI changes to libpoppler and libpoppler-qt4.

--

Yaakov
Cygwin/X


CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


If you want to unsubscribe from the cygwin-announce mailing list, please
use the automated form at:

http://cygwin.com/lists.html#subscribe-unsubscribe

If this does not work, then look at the List-Unsubscribe:  tag in the
email header of this message.  Send email to the address specified
there.  It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.


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



Map uid/gid of SMB share to local account?

2012-06-15 Thread Ryan Johnson

Hi all,

When using cygwin to access a samba share residing on a linux host, I 
get things like the following:

-rw-r--r-- 1    13K Sep  7  2010 foo
drwxr-xr-x 1  0 Apr 26  2009 bar/


Logging into the box directly shows this instead:

-rw-r--r--  1 ryanjohn ryangrp13108 2010-09-07 05:39 foo
drwxr-xr-x  2 ryanjohn ryangrp4 2009-04-26 15:24 bar/

The corresponding uid/gid are 2680/10099.

The main annoyance is that everything is read-only, even though I own 
the files. I remember a long time ago being able to mount a samba share 
under linux and telling it what uid/gid to use for unrecognized owners, 
but I can't remember the magic incantation or find it on Google; plus, 
I'm not sure it would work in cygwin anyway, since the mount utilities 
are totally different.


Ideas?
Ryan


--
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: Some issues with /usr/lib/ and /lib/ and wx

2012-06-15 Thread matt_bali
So perhaps I should remove my compiled wx and install from 
suggested ports linked in one of previous mails?
I'll do that

I somehow managed to add cygports link from funet to Cygwin setup, but then 
just realized that wx will need X server and/or gtk, and won't use windows gdi
So is there some way of compiling wx on Cygwin and using it through Cygwin but 
drawing on Windows native graphic interface?


--
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: Map uid/gid of SMB share to local account?

2012-06-15 Thread René Berber

On 6/15/2012 2:41 PM, Ryan Johnson wrote:


When using cygwin to access a samba share residing on a linux host, I
get things like the following:

-rw-r--r-- 1   13K Sep 7 2010 foo
drwxr-xr-x 1   0 Apr 26 2009 bar/


Logging into the box directly shows this instead:

-rw-r--r-- 1 ryanjohn ryangrp 13108 2010-09-07 05:39 foo
drwxr-xr-x 2 ryanjohn ryangrp 4 2009-04-26 15:24 bar/

The corresponding uid/gid are 2680/10099.

The main annoyance is that everything is read-only, even though I own
the files. I remember a long time ago being able to mount a samba share
under linux and telling it what uid/gid to use for unrecognized owners,
but I can't remember the magic incantation or find it on Google; plus,
I'm not sure it would work in cygwin anyway, since the mount utilities
are totally different.

Ideas?


Read the manual / help :

$ mkpasswd --help
...
   -U,--unix userlist  additionally print UNIX users when using -l 
or -L

   on a UNIX Samba server
...

same for SAMBA/CIFS, /usr/lib/smb.conf :

guest account = nobody

--
René Berber


--
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: Map uid/gid of SMB share to local account?

2012-06-15 Thread Ryan Johnson

On 15/06/2012 4:02 PM, René Berber wrote:

On 6/15/2012 2:41 PM, Ryan Johnson wrote:


When using cygwin to access a samba share residing on a linux host, I
get things like the following:

-rw-r--r-- 1   13K Sep 7 2010 foo
drwxr-xr-x 1   0 Apr 26 2009 bar/


Logging into the box directly shows this instead:

-rw-r--r-- 1 ryanjohn ryangrp 13108 2010-09-07 05:39 foo
drwxr-xr-x 2 ryanjohn ryangrp 4 2009-04-26 15:24 bar/

The corresponding uid/gid are 2680/10099.

The main annoyance is that everything is read-only, even though I own
the files. I remember a long time ago being able to mount a samba share
under linux and telling it what uid/gid to use for unrecognized owners,
but I can't remember the magic incantation or find it on Google; plus,
I'm not sure it would work in cygwin anyway, since the mount utilities
are totally different.

Ideas?


Read the manual / help :

$ mkpasswd --help
...
   -U,--unix userlist  additionally print UNIX users when using -l 
or -L

   on a UNIX Samba server
...
`mkpasswd` and `mkpasswd -l -U0-2' produce the same output (neither 
includes the SMB user); the drive is mapped in Windows as z: and I can 
also access it directly from the cygwin prompt.




same for SAMBA/CIFS, /usr/lib/smb.conf :

guest account = nobody

Just to be clear, that's supposed to be on my cygwin (guest) side? I 
thought that file controlled the server's behavior... and I don't have 
admin rights on the server side.


Ryan


--
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: Some issues with /usr/lib/ and /lib/ and wx

2012-06-15 Thread marco atzeri

On 6/15/2012 9:48 PM, matt_b...@mac.hush.com wrote:

So perhaps I should remove my compiled wx and install from
suggested ports linked in one of previous mails?
I'll do that


I somehow managed to add cygports link from funet to Cygwin setup, but then 
just realized that wx will need X server and/or gtk, and won't use windows gdi
So is there some way of compiling wx on Cygwin and using it through Cygwin but 
drawing on Windows native graphic interface?



no. Cygwin uses the X graphic



--
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: Map uid/gid of SMB share to local account?

2012-06-15 Thread Matt Seitz (matseitz)
 On Behalf Of Ryan Johnson

 `mkpasswd` and `mkpasswd -l -U0-2' produce the same output
(neither
 includes the SMB user); the drive is mapped in Windows as z: and I can
 also access it directly from the cygwin prompt.

What is the output is you run:

mkpasswd -l samba-server-hostname -U 0-2





--
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: i686-pc-mingw32-gcc 4.5.2 and static linking libstdc++-6?

2012-06-15 Thread Dennis Isenhour
Just to close the loop on this for anyone who might be encountering a
similar issue or situation in the future, with the simple test example
info Ryan Johnson provided me in the previous response, I was able to
eventually narrow down my problem to a makefile complexity.  The
makefile was setting the link flag '-lstdc++' at a point in the build
process AFTER it had already specified the -static-libstdc++ option,
thus overriding it.  I'm not exactly sure where/how it was switched to
make the -lstdc++ be interpeted as dynamic, but regardless it was
obviously not only redundant but overriding the earlier specified
-static option.

And while I'm being 100% thorough I should probably just re-state more
clearly that the other *separate* problem I had (which was resolved in
an earlier post), the makefile had actually been mixing g++ for some
compiles and gcc for others, but using gcc for producing the end
executable, so i switched it to just make use of g++ which obviously
resolved the unrecognized option issue I had mentioned I had been
seeing before.

Thanks very much for all the help, especially to Ryan.
-Dennis

--
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: Map uid/gid of SMB share to local account?

2012-06-15 Thread Larry Hall (Cygwin)

On 6/15/2012 4:18 PM, Ryan Johnson wrote:

On 15/06/2012 4:02 PM, René Berber wrote:

On 6/15/2012 2:41 PM, Ryan Johnson wrote:


When using cygwin to access a samba share residing on a linux host, I
get things like the following:

-rw-r--r-- 1   13K Sep 7 2010 foo
drwxr-xr-x 1   0 Apr 26 2009 bar/


Logging into the box directly shows this instead:

-rw-r--r-- 1 ryanjohn ryangrp 13108 2010-09-07 05:39 foo
drwxr-xr-x 2 ryanjohn ryangrp 4 2009-04-26 15:24 bar/

The corresponding uid/gid are 2680/10099.

The main annoyance is that everything is read-only, even though I own
the files. I remember a long time ago being able to mount a samba share
under linux and telling it what uid/gid to use for unrecognized owners,
but I can't remember the magic incantation or find it on Google; plus,
I'm not sure it would work in cygwin anyway, since the mount utilities
are totally different.

Ideas?


Read the manual / help :

$ mkpasswd --help
...
-U,--unix userlist additionally print UNIX users when using -l or -L
on a UNIX Samba server
...

`mkpasswd` and `mkpasswd -l -U0-2' produce the same output (neither
includes the SMB user); the drive is mapped in Windows as z: and I can also
access it directly from the cygwin prompt.


You didn't specify the Linux machine name where the user ID lives.


same for SAMBA/CIFS, /usr/lib/smb.conf :

guest account = nobody


Just to be clear, that's supposed to be on my cygwin (guest) side? I thought
that file controlled the server's behavior... and I don't have admin rights
on the server side.


This is not what you asked for but you can also try mounting the samba
drive using 'noacl' to turn off the POSIX view.


--
Larry

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Map uid/gid of SMB share to local account?

2012-06-15 Thread René Berber

On 6/15/2012 3:18 PM, Ryan Johnson wrote:


`mkpasswd` and `mkpasswd -l -U0-2' produce the same output (neither
includes the SMB user); the drive is mapped in Windows as z: and I can
also access it directly from the cygwin prompt.


No, there was a message from Corinna that showed the correct use (I only 
used it, and was impressed):


http://article.gmane.org/gmane.os.cygwin/103541/match=mkpasswd+unix



same for SAMBA/CIFS, /usr/lib/smb.conf :

guest account = nobody


Just to be clear, that's supposed to be on my cygwin (guest) side? I
thought that file controlled the server's behavior... and I don't have
admin rights on the server side.


No.  smb.conf is the Samba configuration file, in the server.
--
René Berber


--
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: git-gui: remote - fetch from fails, fetch-pack: unable to fork off index-pack

2012-06-15 Thread Matt Seitz (matseitz)
I decided to try using the CLI git fetch command instead.  That worked
fine.  Since then, I have performed other fetch operations using
git-gui without any more errors.


--
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: Map uid/gid of SMB share to local account?

2012-06-15 Thread Ryan Johnson

On 15/06/2012 5:23 PM, Matt Seitz (matseitz) wrote:

On Behalf Of Ryan Johnson

`mkpasswd` and `mkpasswd -l -U0-2' produce the same output

(neither

includes the SMB user); the drive is mapped in Windows as z: and I can
also access it directly from the cygwin prompt.

What is the output is you run:

mkpasswd -lsamba-server-hostname  -U 0-2


It's rather prodigious (and slow, as warned by the man page). If I limit 
it to my own uid on that server, I get:

ryanjohn:unused:12680:9:,S-1-22-1-2680::
mkpasswd (370): [31] A device attached to the system is not functioning.


Thanks for explaining  that. I've never used the command before and the 
man pages weren't closing the gap.


Not sure how that will help my local user have write permissions to 
ryanjohn's files, tho...


Regards,
Ryan

--
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: poppler-0.20.1-1

2012-06-15 Thread Yaakov (Cygwin/X)

The following packages have been updated for the Cygwin distribution:

*** poppler-0.20.1-1
*** libpoppler26-0.20.1-1
*** libpoppler-devel-0.20.1-1
*** libpoppler-cpp0-0.20.1-1
*** libpoppler-cpp-devel-0.20.1-1
*** libpoppler-glib8-0.20.1-1
*** libpoppler-glib-devel-0.20.1-1
*** libpoppler-qt4_4-0.20.1-1
*** libpoppler-qt4-devel-0.20.1-1

Poppler is a PDF rendering library based on the xpdf-3.0 code base.

This releases updates poppler to the xpdf-3.03 feature set and includes 
the following packaging changes:


- poppler now provides pdfdetach(1).
- ABI changes to libpoppler and libpoppler-qt4.

--

Yaakov
Cygwin/X


CYGWIN-ANNOUNCE UNSUBSCRIBE INFO


If you want to unsubscribe from the cygwin-announce mailing list, please
use the automated form at:

http://cygwin.com/lists.html#subscribe-unsubscribe

If this does not work, then look at the List-Unsubscribe:  tag in the
email header of this message.  Send email to the address specified
there.  It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.