diff options
Diffstat (limited to 'jhbuildrc.x86_64-pc-cygwin')
-rw-r--r-- | jhbuildrc.x86_64-pc-cygwin | 123 |
1 files changed, 5 insertions, 118 deletions
diff --git a/jhbuildrc.x86_64-pc-cygwin b/jhbuildrc.x86_64-pc-cygwin index d666cbf..ed3553a 100644 --- a/jhbuildrc.x86_64-pc-cygwin +++ b/jhbuildrc.x86_64-pc-cygwin @@ -1,123 +1,10 @@ # -# jhbuildrc for building on cygwin64 +# jhbuildrc +# cross build to x86_64-w64-mingw32 (Cygwin 64bit) # -moduleset = '/jhbuild/xorg.modules' -if 'TINDERBOX' in os.environ: - modules = [ 'xwin', 'The X Window System', 'extras', 'tests' ] -else: - modules = [ 'xwin', 'The X Window System' ] - -# skip building stuff which isn't appropriate for Windows target -# all drivers apart from xf86-video-dummy and xf86-video-nested -skip = [ 'applewmproto', 'libAppleWM', - 'videoproto', 'xf86dgaproto', 'xf86driproto', 'xf86vidmodeproto', 'dri2proto', 'dri3proto', - 'libXv', 'libXvMC', 'libXxf86dga', 'libXxf86dga', 'libXxf86vm', 'libxshmfence', 'libxkbui', - 'libevdev', 'libpciaccess', - 'mesa-drm', - 'app-xdriinfo', 'app-xgamma', 'app-xfs', 'app-xvidtune', 'app-xvinfo', - 'glamor', - 'xf86-input-acecad', - 'xf86-input-aiptek', - 'xf86-input-evdev', - 'xf86-input-joystick', - 'xf86-input-keyboard', - 'xf86-input-mouse', - 'xf86-input-synaptics', - 'xf86-input-vmmouse', - 'xf86-input-void', - 'xf86-video-apm', - 'xf86-video-ark', - 'xf86-video-ast', - 'xf86-video-ati', - 'xf86-video-chips', - 'xf86-video-cirrus', - 'xf86-video-fbdev', - 'xf86-video-geode', - 'xf86-video-glint', - 'xf86-video-i128', - 'xf86-video-i740', - 'xf86-video-intel', - 'xf86-video-mach64', - 'xf86-video-mga', - 'xf86-video-modesetting', - 'xf86-video-neomagic', - 'xf86-video-nouveau', - 'xf86-video-nv', - 'xf86-video-openchrome', - 'xf86-video-r128', - 'xf86-video-rendition', - 'xf86-video-s3', - 'xf86-video-s3virge', - 'xf86-video-savage', - 'xf86-video-siliconmotion', - 'xf86-video-sis', - 'xf86-video-sisusb', - 'xf86-video-suncg14', - 'xf86-video-suncg3', - 'xf86-video-suncg6', - 'xf86-video-sunffb', - 'xf86-video-sunleo', - 'xf86-video-suntcx', - 'xf86-video-tdfx', - 'xf86-video-tga', - 'xf86-video-trident', - 'xf86-video-tseng', - 'xf86-video-v4l', - 'xf86-video-vesa', - 'xf86-video-vmware', - 'xf86-video-wsfb', - 'xf86-video-voodoo', - 'xf86-video-xgixp' ] - -build_policy = 'updated-deps' - -os.environ['BUILD'] = 'i686-pc-cygwin' +cross_target = "cross to CYGWIN x86_64" os.environ['HOST'] = 'x86_64-pc-cygwin' -# source checkout, build and install directories -checkoutroot = '/jhbuild/checkout' -buildroot = os.path.join('/jhbuild', os.environ['HOST'], 'build') -prefix = os.path.join('/jhbuild', os.environ['HOST'], 'install') - -os.environ['CC'] = 'ccache x86_64-pc-cygwin-gcc' -os.environ['CXX'] = 'ccache x86_64-pc-cygwin-g++' -os.environ['CC_FOR_BUILD'] = 'ccache gcc' - -#configuration -os.environ['ACLOCAL'] = 'aclocal -I ' + os.path.join(prefix, 'share', 'aclocal') -# should search in /usr/share/pkgconfig ??? -os.environ['PKG_CONFIG_PATH'] = os.path.join(prefix, 'lib', 'pkgconfig') + ':' + os.path.join(prefix, 'share', 'pkgconfig') -# do not search in the host pkgconfig libdir -os.environ['PKG_CONFIG_LIBDIR'] = '/usr/x86_64-pc-cygwin/sys-root/usr/lib/pkgconfig' -os.environ['INSTALL'] = '/usr/local/bin/install-check' -os.environ['CFLAGS'] = '-g -O0 -fdiagnostics-show-option' -os.environ['JHBUILD_CHECKOUTROOT'] = checkoutroot -os.environ['JHBUILD_BUILDROOT'] = buildroot -os.environ['JHBUILD_PREFIX'] = prefix -# don't use host icu_config -os.environ['ICU_CONFIG'] = 'no' -# don't use host llvm_config -os.environ['LLVM_CONFIG'] = 'no' - -autogenargs = '--cache-file=' + os.path.join('/jhbuild', os.environ['HOST'], 'configure-cache') -autogenargs += ' --build='+os.environ['BUILD'] -autogenargs += ' --host='+os.environ['HOST'] - -module_autogenargs['xserver'] = autogenargs + ' --disable-unit-tests' + ' --disable-xvfb --disable-xnest --disable-dmx --enable-kdrive --disable-xephyr --disable-xfake --disable-xfbdev --disable-xorg --enable-xwin --disable-glx --enable-windowswm=auto' -module_autogenargs['xserver'] = module_autogenargs['xserver'] + ' --with-khronos-spec-dir=/usr/share/opengl/spec' -module_autogenargs['xserver'] = module_autogenargs['xserver'] + ' --with-builderstring="Tag: `cd ' + checkoutroot + '/xorg/xserver ; git describe | tr -d \\n`"' - -module_autogenargs['xkeyboard-config'] = autogenargs + ' --with-xkb-rules-symlink=xorg' -module_autogenargs['libXfont'] = autogenargs + ' --disable-fc' - -# want to test xlib based libGL -module_autogenargs['libGL'] = autogenargs + ' --with-gallium-drivers=swrast --disable-dri -enable-osmesa --enable-xlib-glx ac_cv_path_LLVM_CONFIG=no' - -module_autogenargs['xf86-video-dummy'] = autogenargs + ' --disable-dga' - -# -module_autogenargs['harfbuzz'] = autogenargs + ' ac_cv_header_usp10_h=no ac_cv_header_windows_h=no ac_cv_func__setmode=no' - -# cross-compiling autoconf tests -os.environ['xorg_cv_malloc0_returns_null'] = 'no' +# and include common stuff +execfile('jhbuildrc.include') |