Re: [Tigervnc-devel] New vncviewer done

2011-06-21 Thread Tim Ooms
On 20/06/11 21:06, DRC wrote:
 Best way to get people to test it is to make it the only option.  :)

It may be an idea to start with providing a binary? (or did I miss it?)

-- 
Tim

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel


Re: [Tigervnc-devel] New vncviewer done

2011-06-21 Thread Pierre Ossman
On Mon, 20 Jun 2011 14:06:54 -0500
DRC dcomman...@users.sourceforge.net wrote:

 Best way to get people to test it is to make it the only option.  :)
 trunk is meant to be experimental at the moment, so we need anyone who's
 using it to be experimental as well.  Otherwise, we won't be hearing
 about issues that people uncover.
 
 The prerequisite to that is me finishing up the build-xorg modifications
 and the modifications to BUILDING.txt, so we have an official build
 procedure that uses CMake.
 

Fair enough. Ping we when that is in place and we can start waving the
axe around. :)

Rgds
-- 
Pierre OssmanOpenSource-based Thin Client Technology
System Developer Telephone: +46-13-21 46 00
Cendio ABWeb: http://www.cendio.com

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


signature.asc
Description: PGP signature
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel


Re: [Tigervnc-devel] Builds using static libs.

2011-06-21 Thread Pierre Ossman
On Mon, 20 Jun 2011 18:06:31 -0400
Robert Goley rago...@rdasys.com wrote:

   I am trying to build new viewer using only static libs or at least 
 static for all libs not in the base OS.  I am trying to do this in Snow 
 Leopard and will be doing it in linux soon.  I know DRC has done this 
 because his builds have had gnutls statically linked in.  I am trying to 
 do this for libintl.  It is the only lib not in the base OS that is 
 dynamically linked according to otool -L.  Normally, I would poke 
 -static into LDFLAGS in appropriate places but I am unfamiliar with 
 cmake.  Can anyone give me a couple pointers on this?  I want to end up 
 with gnutls, gettext, and fltk linked in statically.  I am sure this 
 would be a semi common build type for others as well.
 

Not being a CMake expert myself either, I took the easy way out and
modified the build definitions in our local copy of TigerVNC. This
entails:

a) common/rfb/CMakeLists.txt:

set(JPEG_LIBRARIES libjpeg.a gcc)

b) common/rdr/CMakeLists.txt:

if(WIN32)
set(ZLIB_LIBRARIES libz.a)
endif()

c) vncviewer/CMakeLists.txt:

#target_link_libraries(vncviewer rfb network rdr os Xregion ${FLTK_LIBRARIES} 
${GETTEXT_LIBRARIES})

target_link_libraries(vncviewer -nodefaultlibs rfb network rdr os Xregion)

if(APPLE)
  target_link_libraries(vncviewer -framework Carbon -framework Cocoa 
-framework ApplicationServices)
endif()

target_link_libraries(vncviewer -Wl,-Bstatic ${FLTK_BASE_LIBRARY} -Wl,-Bdynamic)

if(WIN32)
  target_link_libraries(vncviewer -Wl,-Bstatic ${GETTEXT_LIBRARIES} 
${ICONV_LIBRARIES} -Wl,-Bdynamic)
elseif(APPLE)
  target_link_libraries(vncviewer -Wl,-Bstatic ${GETTEXT_LIBRARIES} 
-Wl,-Bdynamic ${ICONV_LIBRARIES})
else()
  if(${CMAKE_SYSTEM_NAME} MATCHES SunOS)
target_link_libraries(vncviewer ${X11_Xcursor_LIB} ${X11_Xfixes_LIB} Xft 
Xext)
  else()
target_link_libraries(vncviewer -Wl,-Bstatic ${X11_Xcursor_LIB} 
${X11_Xfixes_LIB} Xft fontconfig expat freetype Xrender Xext -Wl,-Bdynamic)
  endif()
  target_link_libraries(vncviewer X11 m)
endif()

target_link_libraries(vncviewer libstdc++.a gcc gcc_eh)

if(WIN32)
  target_link_libraries(vncviewer ws2_32 comctl32 mingw32 moldname mingwex 
msvcrt kernel32 gcc)
else()
  target_link_libraries(vncviewer c)
endif()


Cleaned up versions that we can put upstream are welcome. :)

Rgds
-- 
Pierre OssmanOpenSource-based Thin Client Technology
System Developer Telephone: +46-13-21 46 00
Cendio ABWeb: http://www.cendio.com

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


signature.asc
Description: PGP signature
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel


Re: [Tigervnc-devel] New vncviewer done

2011-06-21 Thread DRC
Yes, that's the end game of the build-xorg mods.


On 6/21/11 2:46 AM, Tim Ooms wrote:
 On 20/06/11 21:06, DRC wrote:
 Best way to get people to test it is to make it the only option.  :)
 
 It may be an idea to start with providing a binary? (or did I miss it?)
 

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel


[Tigervnc-devel] PAM support in CMake build system?

2011-06-21 Thread DRC
The CMake build system doesn't seem to have any way of detecting the PAM
library and setting HAVE_PAM, or am I missing something?


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel


Re: [Tigervnc-devel] PAM support in CMake build system?

2011-06-21 Thread Adam Tkac
On 06/21/2011 11:18 AM, DRC wrote:
 The CMake build system doesn't seem to have any way of detecting the PAM
 library and setting HAVE_PAM, or am I missing something?

Right you are, there is currently no PAM detection in the CMake buildsys.

Regards, Adam

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel


[Tigervnc-devel] screen corruption w/windows on all desktops

2011-06-21 Thread Brian Hinz
I'm seeing an issue on GNOME/RHEL4 where windows that are set to appear on
all desktops and overlap with various other windows on different desktops
can become corrupted when switching from one desktop to another.  It's as if
the order of the window layering is lost, but there are smaller rendering
artifacts as well.  I'm not sure if it's application specific, firefox does
it for sure.  Minimizing/maximizing the window or rolling it up into it's
title bar repaints the window correctly, however a screen refresh does not.
 I'm building Xvnc from the 1_1 branch but applying the patch referenced in
bug ID 3286073 (the small artifacts actually look more like the second issue
in that bug so I'm not sure that this patch is relevant), as well as the
patch to vncHooks.cc that Peter posted in this message:
http://www.mail-archive.com/tigervnc-devel@lists.sourceforge.net/msg01090.html(which
is in the trunk, but not 1_1 branch).  Sorry for the sketchy details,
but it seems to be pretty straight forward to reproduce.  Can anyone else
confirm this?

Thanks,
-brian
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel


Re: [Tigervnc-devel] screen corruption w/windows on all desktops

2011-06-21 Thread DRC
I'm clueless.  Can you repro it with my build?  It might be an X server bug.


On 6/21/11 9:04 AM, Brian Hinz wrote:
 I'm seeing an issue on GNOME/RHEL4 where windows that are set to appear
 on all desktops and overlap with various other windows on different
 desktops can become corrupted when switching from one desktop to
 another.  It's as if the order of the window layering is lost, but there
 are smaller rendering artifacts as well.  I'm not sure if it's
 application specific, firefox does it for sure.  Minimizing/maximizing
 the window or rolling it up into it's title bar repaints the window
 correctly, however a screen refresh does not.  I'm building Xvnc from
 the 1_1 branch but applying the patch referenced in bug ID 3286073 (the
 small artifacts actually look more like the second issue in that bug so
 I'm not sure that this patch is relevant), as well as the patch to
 vncHooks.cc that Peter posted in this
 message: 
 http://www.mail-archive.com/tigervnc-devel@lists.sourceforge.net/msg01090.html
 (which is in the trunk, but not 1_1 branch).  Sorry for the sketchy
 details, but it seems to be pretty straight forward to reproduce.  Can
 anyone else confirm this?

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel


Re: [Tigervnc-devel] Builds using static libs.

2011-06-21 Thread Robert Goley


  
  
Thanks Pierre. I will give these a shot. I will see if I can get a
clean up version of them too. I would really like to have a simple
STATIC_VIEWER_BUILD=ON type option I could set... We will see how
much time I have and how much cmake I can pick up... Really trying
to replace the X11 viewer on OSX. Ran into some keyboard and mouse
quirks so I may be trying to dig into that instead though. 

Robert


On 06/21/2011 03:54 AM, Pierre Ossman wrote:

  On Mon, 20 Jun 2011 18:06:31 -0400
Robert Goley rago...@rdasys.com wrote:


  
  I am trying to build new viewer using only static libs or at least 
static for all libs not in the base OS.  I am trying to do this in Snow 
Leopard and will be doing it in linux soon.  I know DRC has done this 
because his builds have had gnutls statically linked in.  I am trying to 
do this for libintl.  It is the only lib not in the base OS that is 
dynamically linked according to otool -L.  Normally, I would poke 
-static into LDFLAGS in appropriate places but I am unfamiliar with 
cmake.  Can anyone give me a couple pointers on this?  I want to end up 
with gnutls, gettext, and fltk linked in statically.  I am sure this 
would be a semi common build type for others as well.


  
  
Not being a CMake expert myself either, I took the easy way out and
modified the build definitions in our local copy of TigerVNC. This
entails:

a) common/rfb/CMakeLists.txt:

set(JPEG_LIBRARIES libjpeg.a gcc)

b) common/rdr/CMakeLists.txt:

if(WIN32)
set(ZLIB_LIBRARIES libz.a)
endif()

c) vncviewer/CMakeLists.txt:

#target_link_libraries(vncviewer rfb network rdr os Xregion ${FLTK_LIBRARIES} ${GETTEXT_LIBRARIES})

target_link_libraries(vncviewer -nodefaultlibs rfb network rdr os Xregion)

if(APPLE)
  target_link_libraries(vncviewer "-framework Carbon" "-framework Cocoa" "-framework ApplicationServices")
endif()

target_link_libraries(vncviewer -Wl,-Bstatic ${FLTK_BASE_LIBRARY} -Wl,-Bdynamic)

if(WIN32)
  target_link_libraries(vncviewer -Wl,-Bstatic ${GETTEXT_LIBRARIES} ${ICONV_LIBRARIES} -Wl,-Bdynamic)
elseif(APPLE)
  target_link_libraries(vncviewer -Wl,-Bstatic ${GETTEXT_LIBRARIES} -Wl,-Bdynamic ${ICONV_LIBRARIES})
else()
  if(${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
target_link_libraries(vncviewer ${X11_Xcursor_LIB} ${X11_Xfixes_LIB} Xft Xext)
  else()
target_link_libraries(vncviewer -Wl,-Bstatic ${X11_Xcursor_LIB} ${X11_Xfixes_LIB} Xft fontconfig expat freetype Xrender Xext -Wl,-Bdynamic)
  endif()
  target_link_libraries(vncviewer X11 m)
endif()

target_link_libraries(vncviewer libstdc++.a gcc gcc_eh)

if(WIN32)
  target_link_libraries(vncviewer ws2_32 comctl32 mingw32 moldname mingwex msvcrt kernel32 gcc)
else()
  target_link_libraries(vncviewer c)
endif()


Cleaned up versions that we can put upstream are welcome. :)

Rgds



-- 
  Robert Goley

FOSS
  Implementation Specialist
  Toll Free: (800) 338-4984
  Local: (770) 479-7933
  Fax: (770) 479-4076
  www.openrda.com

America's only Free  Open Source
fund accounting software company. 

  

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel


Re: [Tigervnc-devel] New vncviewer done

2011-06-21 Thread DRC
 FLTK 1.3.0 is also out now, so we have a stable target for that
 dependency (modulo the massive patch we have).

Can you re-generate your patch against FLTK 1.3.0?  I think we should
remove the tarball from fltk/ and simply maintain a patch against the
latest stable version.  It will make the build documentation a lot easier.

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
___
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel