Skip to content

osch/cygwin-xserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

# install needed cygwin packages:
/setup-x86_64.exe -q -P autoconf,automake,binutils,bison,bzip2,cygport,diffutils,fileutils,findutils,flex,gawk,gcc,git,libtool,make,patch,pkg-config,sed,tar
/setup-x86_64.exe -q -P bigreqsproto,compositeproto,damageproto,dmxproto,evieext,fixesproto,fontsproto,glproto,inputproto,kbproto,randrproto,recordproto,renderproto,resourceproto,scrnsaverproto,xcmiscproto,xextproto,xineramaproto,xproto,x86bigfontproto,presentproto
/setup-x86_64.exe -q -P libdmx-devel,libfontenc-devel,libfreetype2-devel,libGL-devel,libpixman1-devel,libX11-devel,libXau-devel,libXaw-devel,libXdmcp-devel,libXext-devel,libXfont-devel,libXinerama-devel,libXmu-devel,libXpm-devel,libXRes-devel,libxkbfile-devel,openssl-devel,zlib
/setup-x86_64.exe -q -P font-utils,khronos-opengl-registry,xorg-util-macros,xtrans
/setup-x86_64.exe -q -P libgcrypt-devel,libgcrypt,windowswmproto,font-util
/setup-x86_64.exe -q -P libxcb-image-devel,libxcb-icccm-devel

# Install also python3 and lxml for python3.
# the following link is necessary for python3:
ln -s /usr/include /include

# modify /usr/share/opengl/api/gl.xml according to http://permalink.gmane.org/gmane.os.cygwin.xfree/23199
# (remove GLenum-target from glTexturePageCommitmentEXT)


cd libxfont
./autogen.sh -V
./configure --prefix=`cd ../install; pwd` --disable-shared
make
make install
cd ..

cd install/lib/pkgconfig
mv xfont.pc xfont.pc.bak
sed -s 's| -lXfont| ${libdir}/libXfont.a|' xfont.pc.bak > xfont.pc
cd ../../..


#cygwin-configure:
#./configure --prefix=/usr --with-log-dir=/var/log --enable-debug CFLAGS="-g -O0" --disable-dmx --disable-kdrive --disable-xephyr --disable-xfake --disable-xfbdev --disable-xnest --disable-xvfb --enable-xwin --disable-config-hal --disable-config-udev --disable-dri --disable-dri2 --disable-install-setuid --enable-windowswm --disable-xf86bigfont --disable-xf86vidmode --disable-xv --disable-xvmc --disable-glx-tls --with-sha1=libgcrypt

cd cygwin
export PKG_CONFIG_PATH=`cd ../install/lib/pkgconfig; pwd`:$PKG_CONFIG_PATH
./autogen.sh -V
./configure --prefix=/usr --with-log-dir=/var/log     --disable-xvfb --disable-xnest       --enable-xwin --enable-windowswm --with-sha1=libgcrypt --disable-unit-tests --enable-static
make
hw/xwin/XWin :1 -ac -silent-dup-error -multiwindow -xkbvariant nodeadkeys -emulate3buttons


# shellscript startx-custom.sh
# invoke from Windows link with target:
# C:\cygwin\bin\run.exe -p /cygdrive/c/cygwin/bin bash /cygdrive/c/cygwin/startx-custom.sh
# 
nohup /usr/local/bin/Xwin -ac -silent-dup-error -multiwindow -xkbvariant nodeadkeys -emulate3buttons 2>/dev/null 1>&2 & LANG=C.ISO-8859-1 xterm -display localhost:0 -e bash -i -ls &


# see also current development: 
# http://cgit.freedesktop.org/~jturney/xserver/

About

my playground for improving the cygwin xserver's multiwindow mode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published