On Aug 25, 2011, at 1:19 AM, Martin Koegler <mkoeg...@auto.tuwien.ac.at> wrote:

> On Wed, Aug 24, 2011 at 11:06:06AM -0500, DRC wrote:
>> At any rate, I was able to reproduce the original issue after that, and
>> I checked in your patch to fix it.
> 
> Just one more issue, the new build system install the man-pages to 
> $prefix/man 
> instead of $prefix/share/man - as used in all major distributions today.

The more correct way is to provide CMake variables to override the man 
directory, binary directory, etc. I personally use /opt/TigerVNC and prefer the 
man pages to go in ${prefix}/man, but I agree that there needs to be an 
override mechanism.

Why does your source tree say 1.0.1? 

> PS:
> For those, how are interrested - my prelimiary debian packages are there:
> http://e9925248.users.sourceforge.net/tigervnc/
> 
> 
> --- tigervnc-1.0.1.svn0.orig/unix/CMakeLists.txt                              
>                                                                               
>                                                                               
>                                      
> +++ tigervnc-1.0.1.svn0/unix/CMakeLists.txt                                   
>                                                                               
>                                                                               
>                                      
> @@ -9,4 +9,4 @@ add_subdirectory(vncviewer)                                   
>                                                                               
>                                                                               
>                                      
> endif()                                                                       
>                                                                               
>                                                                               
>                                     
> 
> install(PROGRAMS vncserver DESTINATION bin)                                   
>                                                                               
>                                                                               
>                                     
> -install(FILES vncserver.man DESTINATION man/man1 RENAME vncserver.1)         
>                                                                               
>                                                                               
>                                      
> +install(FILES vncserver.man DESTINATION share/man/man1 RENAME vncserver.1)   
>                                                                               
>                                                                               
>                                      
> --- tigervnc-1.0.1.svn0.orig/unix/vncconfig/CMakeLists.txt                    
>                                                                               
>                                                                               
>                                      
> +++ tigervnc-1.0.1.svn0/unix/vncconfig/CMakeLists.txt                         
>                                                                               
>                                                                               
>                                      
> @@ -12,4 +12,4 @@ add_executable(vncconfig                                    
>                                                                               
>                                                                               
>                                      
> target_link_libraries(vncconfig tx rfb network rdr ${X11_LIBRARIES})          
>                                                                               
>                                                                               
>                                     
> 
> install(TARGETS vncconfig DESTINATION bin)                                    
>                                                                               
>                                                                               
>                                     
> -install(FILES vncconfig.man DESTINATION man/man1 RENAME vncconfig.1)         
>                                                                               
>                                                                               
>                                      
> +install(FILES vncconfig.man DESTINATION share/man/man1 RENAME vncconfig.1)   
>                                                                               
>                                                                               
>                                      
> --- tigervnc-1.0.1.svn0.orig/unix/vncpasswd/CMakeLists.txt                    
>                                                                               
>                                                                               
>                                      
> +++ tigervnc-1.0.1.svn0/unix/vncpasswd/CMakeLists.txt                         
>                                                                               
>                                                                               
>                                      
> @@ -6,4 +6,4 @@ add_executable(vncpasswd                                      
>                                                                               
>                                                                               
>                                      
> target_link_libraries(vncpasswd tx rfb rdr os)                                
>                                                                               
>                                                                               
>                                     
> 
> install(TARGETS vncpasswd DESTINATION bin)                                    
>                                                                               
>                                                                               
>                                     
> -install(FILES vncpasswd.man DESTINATION man/man1 RENAME vncpasswd.1)         
>                                                                               
>                                                                               
>                                      
> +install(FILES vncpasswd.man DESTINATION share/man/man1 RENAME vncpasswd.1)   
>                                                                               
>                                                                               
>                                      
> --- tigervnc-1.0.1.svn0.orig/unix/x0vncserver/CMakeLists.txt                  
>                                                                               
>                                                                               
>                                      
> +++ tigervnc-1.0.1.svn0/unix/x0vncserver/CMakeLists.txt                       
>                                                                               
>                                                                               
>                                      
> @@ -24,4 +24,4 @@ else()                                                      
>                                                                               
>                                                                               
>                                      
> endif()                                                                       
>                                                                               
>                                                                               
>                                     
> 
> install(TARGETS x0vncserver DESTINATION bin)                                  
>                                                                               
>                                                                               
>                                     
> -install(FILES x0vncserver.man DESTINATION man/man1 RENAME x0vncserver.1)     
>                                                                               
>                                                                               
>                                      
> +install(FILES x0vncserver.man DESTINATION share/man/man1 RENAME 
> x0vncserver.1)                                                                
>                                                                               
>                                                   
> --- tigervnc-1.0.1.svn0.orig/vncviewer/CMakeLists.txt                         
>                                                                               
>                                                                               
>                                      
> +++ tigervnc-1.0.1.svn0/vncviewer/CMakeLists.txt                              
>                                                                               
>                                                                               
>                                      
> @@ -50,5 +50,5 @@ endif()                                                     
>                                                                               
>                                                                               
>                                      
> 
> install(TARGETS vncviewer DESTINATION bin)                                    
>                                                                               
>                                                                               
>                                     
> if(UNIX)                                                                      
>                                                                               
>                                                                               
>                                     
> -  install(FILES vncviewer.man DESTINATION man/man1 RENAME vncviewer.1)       
>                                                                               
>                                                                               
>                                      
> +  install(FILES vncviewer.man DESTINATION share/man/man1 RENAME vncviewer.1) 
>                                                                               
>                                                                               
>                                      
> endif()                                                                       
>                                                                               
>                                                                               
>                                     
> 

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to