Re: cygwin emacs failing siletnly

2014-10-14 Thread Jim Reisert AD1C
On Mon, Oct 13, 2014 at 7:16 PM, Gulliver Smith wrote:

 Thanks for the pointer to fc-cache.

 On which machine should this be run?
 a) the machine hosting the X-Server
 b) the machine on which emacs is running

I don't have a client/server configuration, so I don't know how to
answer that, sorry.

-- 
Jim Reisert AD1C, jjreis...@alum.mit.edu, http://www.ad1c.us

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



problems with cygwin/x

2014-10-14 Thread t s
 On 04/10/2014 18:16, t s wrote:
 first of all, regarding the Cygwin setup program; the options are
 install / re-install / un-install / default
 
 is it correct that to install only the latest updates, I would choose
 the option 'default' ?
 
 I'm not sure what text you are looking at.
 
 The options for an individual package which is already installed are 
 'reinstall', 'uninstall', 'keep' and specific versions other than the 
 currently installed one (if any).
 
 I can't see default anywhere.
 
 If you mean the default version, then yes, when curr is selected at 
 the top, all packages which have updates, will be updated.

 The current version of the setup program, 2.850 (64 bit), on the select 
packages screen, features a default option.

 Please see; http://cpm86.com/default.jpg

 The four options are; Install; Reinstall; Uninstall; Default

 I just want to be sure; to install only the latest updates, I would choose 
'Default' ?


 next question : if I delete the start menu option Cygwin/x and run
 the setup program for option default, it doesn't re-create the
 start menu option Cygwin/x
 
 is this 'feature' acknowledged, and is it being addressed?
 
 The start menu link for for the X server is owned by the package xinit. 
 If you reinstall that package, it should be recreated.

 That's the answer I was looking for. Thank you.


 I have a further question. Choosing menu item Cygwin-X / X Win Server boots 
X windows. If you right click on the 'X' icon in the lower right side of the 
screen, it features applications xterm / emacs / notepad / xload.

 Is it possible to tailor the list of applications referenced above? to include 
say xclock, xeyes


And yet another question; I note the presence of a number of files in \usr\bin 
which start with 'gnome'. Does Cygwin/x feature gnome or kde as user 
interfaces? or does it only allow compilation of apps which use features of 
those interfaces? 
--
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: FW: Cygwin start menu / mirrors‏

2014-10-14 Thread Jon TURNEY

On 08/10/2014 23:40, t s wrote:

On 04/10/2014 18:16, t s wrote:

first of all, regarding the Cygwin setup program; the options are
install / re-install / un-install / default

is it correct that to install only the latest updates, I would choose
the option 'default' ?


I'm not sure what text you are looking at.

The options for an individual package which is already installed are
'reinstall', 'uninstall', 'keep' and specific versions other than the
currently installed one (if any).

I can't see default anywhere.

If you mean the default version, then yes, when curr is selected at
the top, all packages which have updates, will be updated.


  The current version of the setup program, 2.850 (64 bit), on the select packages 
screen, features a default option.

  Please see; http://cpm86.com/default.jpg

  The four options are; Install; Reinstall; Uninstall; Default

  I just want to be sure; to install only the latest updates, I would choose 
'Default' ?


Oh yes, on the category view, you have that option next to each 
category, which does what you expect.



I have a further question. Choosing menu item Cygwin-X / X Win
Server boots X windows. If you right click on the 'X' icon in the
lower right side of the screen, it features applications xterm /
emacs / notepad / xload.

Is it possible to tailor the list of applications referenced above?
to include say xclock, xeyes


Yes.  See http://x.cygwin.com/docs/ug/configure-cygwin-xwinrc.html


And yet another question; I note the presence of a number of files in
\usr\bin which start with 'gnome'. Does Cygwin/x feature gnome or kde
as user interfaces? or does it only allow compilation of apps which
use features of those interfaces?


I don't think KDE or GNOME desktop environments are available.

--
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
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: problems with cygwin/x

2014-10-14 Thread Jon TURNEY

On 14/10/2014 17:19, t s wrote:
[duplicate email]

Please don't spam the list with the same mail.  If you get no answer, it 
is because no-one has an answer for you (yet).


--
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

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

2014-10-14 Thread Jon TURNEY

On 13/10/2014 02:48, Chris Carlson wrote:

I have a fairly large program that I developed on Fedora Linux.  It uses
glwDrawingAreaClassRec to create a GL window.  I attempted to compile
and run it on Cygwin, and I got the failure.

I added a print statement just before calling XtCreateManagedWidget()
and discovered the value was 0 on Cygwin and an address on Linux.  I
presumed that meant there was an issue.

To get around the problem, I downloaded the source from Mesa and
compiled it myself.  The .a that was generated identifies the following
(using nm):

0640 D glwDrawingAreaClassRec
0728 D glwDrawingAreaWidgetClass

I then compared it to /lib/libGLw.dll.a and got this:

nm /lib/libGLw.dll.a | grep DrawingAreaClass
 I __imp_glwMDrawingAreaClassRec
 I __nm_glwMDrawingAreaClassRec
 I __imp_glwDrawingAreaClassRec
 I __nm_glwDrawingAreaClassRec


Unfortunately, this isn't telling you anything useful as the __imp 
import symbols are fixed up at run-time.



Now I tried compiling your test program and found that it did work as
you showed, but I then added the include of GLwDrawA.h, and it fails.
This doesn't make a whole lot of sense to me, and it doesn't seem right.


The issue is that without the extern, the declaration of 
glwDrawingAreaWidgetClass is also a 'tentative definition'


If there are no other references to symbols in libGLw, then that 
tentative definition (with a value of 0) will be used by ld as the 
definition.


(Linking with a shared library on linux is more relaxed)


What do you think?  If I want to use the GLwDrawingAreaWidgetClass, I
would presume that I should include the corresponding header file and
the class would be defined.


On 07/10/2014 14:50, Jon TURNEY wrote:

but this isn't testing correctly as glwDrawingAreaWidgetClass isn't marked as 
extern in GLwDrawA.h


Sorry, I should have said something like 'it's a bug that 
glwDrawingAreaWidgetClass isn't marked as extern in GLwDrawA.h'


So, something like the following attached patch to GLwDrawA.h is needed.

--
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--- GLwDrawA.h.bak  2014-10-13 13:00:18.140625400 +0100
+++ GLwDrawA.h  2014-10-13 13:01:06.581762300 +0100
@@ -136,7 +136,7 @@
 typedef struct _GLwMDrawingAreaClassRec*GLwMDrawingAreaWidgetClass;
 typedef struct _GLwMDrawingAreaRec *GLwMDrawingAreaWidget;
 
-GLAPI WidgetClass glwMDrawingAreaWidgetClass;
+extern GLAPI WidgetClass glwMDrawingAreaWidgetClass;
 
 
 #else
@@ -144,7 +144,7 @@
 typedef struct _GLwDrawingAreaClassRec *GLwDrawingAreaWidgetClass;
 typedef struct _GLwDrawingAreaRec  *GLwDrawingAreaWidget;
 
-GLAPI WidgetClass glwDrawingAreaWidgetClass;
+extern GLAPI WidgetClass glwDrawingAreaWidgetClass;
 
 
 #endif
--
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: [ANNOUNCEMENT] Updated: xorg-server-1.16.1-2

2014-10-14 Thread Jon TURNEY

On 10/10/2014 19:32, Nem W Schlecht wrote:

Just to confirm - I haven't had any crashes with 1.16.1-2 so far.  Woot! :)

On Wed, Oct 8, 2014 at 11:08 PM, Chris Carlson wrote:

No sooner did I respond than I see the update.

Nevermind.

On 10/8/2014 8:31 PM, Nem W Schlecht wrote:


I just remembered that my version of xv has been modified to place the
current image filename in the X11 clipboard.  That might have been the
cause of the issue.

Regardless, my crashes seem to have gone away with this update.
Thanks for all the hard work on Cygwin X11!


Thanks for letting me know there was a problem, and apologies for the 
inconvenience.


--
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
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: FW: Cygwin start menu / mirrors‏

2014-10-14 Thread David Stacey

On 14/10/14 20:35, Jon TURNEY wrote:

On 08/10/2014 23:40, t s wrote:


And yet another question; I note the presence of a number of files in
\usr\bin which start with 'gnome'. Does Cygwin/x feature gnome or kde
as user interfaces? or does it only allow compilation of apps which
use features of those interfaces?


I don't think KDE or GNOME desktop environments are available.


I think both are available in CygwinPorts.
http://cygwinports.org/

Dave.


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