On Tue, 08 Nov 2011, Ola Lundqvist wrote:

> I have got rid of quite a few packages so maybe I will have some more time
> for vnc in the future. The problem with vnc is that it takes so damn long
> time to build...
even with ccache? ;) does it parallelize ok?

> However last time I tried (it is quite some time though) I did not get the
> server part to work and things crashed very often, at least when
> using the wrapper scripts making things convenient. But if you have 
> successfully
> get things to work well I'm interested in what version you used and how
> you built it.

I went lazy way -- just grabbed binary tarball from their website which
installs under /opt.  For the 3rd day of intensive use -- not a single
complaint

I also got some binary deb build notes from  Antoine Martin -- may be they
would have some interesting bit so citing below (haven't looked through them
yet)

#magic to set DISTRIB_CODENAME                                                  
                                                                                
                                                             
DISTRIB_CODENAME="wheezy"                                                       
                                                                                
                                                             
VNC_VERSION="1.0.90-r4628"                                                      
                                                                                
                                                             
ARCH=`uname -m | sed 's/x86_64/amd64/' | sed 's/i686/i386/'`                    
                                                                                
                                                             
                                                                                
                                                                                
                                                             
tar -zxvf tigervnc-${VNC_VERSION}.tar.gz                                        
                                                                                
                                                             
cd tigervnc-${VNC_VERSION}/                                                     
                                                                                
                                                             
                                                                                
                                                                                
                                                             
#CLIENT:                                                                        
                                                                                
                                                             
autoreconf -fiv                                                                 
                                                                                
                                                             
./configure --prefix=/usr                                                       
                                                                                
                                                             
make                                                                            
                                                                                
                                                             
cd unix                                                                         
                                                                                
                                                             
rm -fr deb                                                                      
                                                                                
                                                             
cp vncviewer/vncviewer deb/usr/bin/                                             
                                                                                
                                                             
gzip -c vncviewer/vncviewer.man > deb/usr/share/man/man1/vncviewer.1.gz         
                                                                                
                                                             
mkdir -p deb/DEBIAN                                                             
                                                                                
                                                             
cp tigervnc-viewer-${VNC_VERSION}.dsc deb/DEBIAN/control                        
                                                                                
                                                             
cp vncviewer/vncviewer deb/usr/bin/                                             
                                                                                
                                                             
gzip -c vncviewer/vncviewer.man > deb/usr/share/man/man1/vncviewer.1.gz         
                                                                                
                                                             
mkdir -p deb/DEBIAN                                                             
                                                                                
                                                             
cp tigervnc-viewer-${VNC_VERSION}.dsc deb/DEBIAN/control                        
                                                                                
                                                             
                                                                                
                                                                                
                                                             
SIZE=`du -sm deb | awk '{print $1}'`                                            
                                                                                
                                                             
echo "Architecture: ${ARCH}" >> deb/DEBIAN/control                              
                                                                                
                                                             
#echo "Distribution: ${DISTRIB_CODENAME}" >> deb/DEBIAN/control                 
                                                                                
                                                             
echo "Installed-Size: ${SIZE}" >> deb/DEBIAN/control                            
                                                                                
                                                             
echo "Version: ${VNC_VERSION}" >> deb/DEBIAN/control                            
                                                                                
                                                             
#echo "Filename: ${PKG_FILE_PATH}/${PKG}" >> deb/DEBIAN/control                 
                                                                                
                                                             
echo "" >> deb/DEBIAN/control                                                   
                                                                                
                                                             
                                                                                
                                                                                
                                                             
sed "s/DISTRIBUTION/${DISTRIB_CODENAME}/g" <                                    
                                                                                
                                                             
./tigervnc-viewer-${VNC_VERSION}.changelog > deb/DEBIAN/changelog               
                                                                                
                                                             
echo "-- Antoine Martin <[email protected]>  `date -R`" >>                  
                                                                                
                                                             
deb/DEBIAN/changelog                                                            
                                                                                
                                                             
echo "" >> deb/DEBIAN/changelog                                                 
                                                                                
                                                             
                                                                                
                                                                                
                                                             
PKG="tigervnc-viewer-${VNC_VERSION}.${ARCH}.deb"                                
                                                                                
                                                             
dpkg -b deb ${PKG}      

#SERVER deb:                                                                    
                                                                                
                                                             
./build-xorg-7.4 init                                                           
                                                                                
                                                             
./build-xorg -version 7.4 build --enable-glx --enable-glx-tls                   
                                                                                
                                                             
--disable-config-hal --disable-config-udev                                      
                                                                                
                                                             
--with-default-font-path=/usr/share/fonts/X11/misc                              
                                                                                
                                                             
rm -fr deb                                                                      
                                                                                
                                                             
mkdir -p "deb/usr/share/man/man1"                                               
                                                                                
                                                             
mkdir -p "deb/usr/bin"                                                          
                                                                                
                                                             
gzip -c "./xserver/hw/vnc/Xvnc.man" > "deb/usr/share/man/man1/Xvnc.1.gz"        
                                                                                
                                                             
for vnc_file in vncconfig vncserver x0vncserver vncpasswd; do                   
                                                                                
                                                             
    VNC_BIN="${vnc_file}/${vnc_file}"                                           
                                                                                
                                                             
    if [ ! -e "${VNC_BIN}" ]; then                                              
                                                                                
                                                             
        VNC_BIN="./${vnc_file}"                                                 
                                                                                
                                                             
        if [ ! -e "${VNC_BIN}" ]; then                                          
                                                                                
                                                             
            echo "Error: could not find ${vnc_file}"                            
                                                                                
                                                             
            exit 1                                                              
                                                                                
                                                             
        fi                                                                      
                                                                                
                                                             
    fi                                                                          
                                                                                
                                                             
    cp "${VNC_BIN}" "deb/usr/bin/"                                              
                                                                                
                                                             
    gzip -c "${VNC_BIN}.man" > "deb/usr/share/man/man1/${vnc_file}.1.gz"        
                                                                                
                                                             
done                                                                            
                                                                                
                                                             
                                                                                
                                                                                
                                                             
mkdir -p deb/DEBIAN                                                             
                                                                                
                                                             
cp tigervnc-server-${VNC_VERSION}.dsc deb/DEBIAN/control                        
                                                                                
                                                             
SIZE=`du -sm deb | awk '{print $1}'`                                            
                                                                                
                                                             
echo "Architecture: ${ARCH}" >> deb/DEBIAN/control                              
                                                                                
                                                             
#echo "Distribution: ${DISTRIB_CODENAME}" >> deb/DEBIAN/control                 
                                                                                
                                                             
echo "Installed-Size: ${SIZE}" >> deb/DEBIAN/control                            
                                                                                
                                                             
echo "Version: ${FULL_VERSION}" >> deb/DEBIAN/control                           
                                                                                
                                                             
#echo "Filename: ${PKG_FILE_PATH}/${PKG}" >> deb/DEBIAN/control                 
                                                                                
                                                             
echo "" >> deb/DEBIAN/control                                                   
                                                                                
                                                             
sed "s/DISTRIBUTION/${DISTRIB_CODENAME}/g" <                                    
                                                                                
                                                             
./tigervnc-server-${VNC_VERSION}.changelog > deb/DEBIAN/changelog               
                                                                                
                                                             
echo "-- Antoine Martin <[email protected]>  `date -R`" >>                  
                                                                                
                                                             
deb/DEBIAN/changelog                                                            
                                                                                
                                                             
echo "" >> deb/DEBIAN/changelog                                                 
                                                                                
                                                             
                                                                                
                                                                                
                                                             
PKG="tigervnc-server-${FULL_VERSION}.${ARCH}.deb"                               
                                                                                
                                                             
dpkg -b deb ${PKG}  

> PS. I'm trying to step down as Debian maintainer. Maintaining about 80
> packages as I did in the past at the same time as a full time work and
> a side buisness has been too much. :-)
> DS.

yeah -- 80 alone sounds a bit too much ;)
Thanks for all your work you have done though!

-- 
=------------------------------------------------------------------=
Keep in touch                                     www.onerussian.com
Yaroslav Halchenko                 www.ohloh.net/accounts/yarikoptic



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to