New upstream version 0.2.15
Dominik George
3 years ago
0 | # Makefile.in generated by automake 1.16.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.16.3 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2020 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
143 | 143 | $(am__extra_recursive_targets) |
144 | 144 | AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ |
145 | 145 | cscope distdir distdir-am dist dist-all distcheck |
146 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ | |
147 | $(LISP)config_ac-h.in | |
146 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \ | |
147 | config_ac-h.in | |
148 | 148 | # Read a list of newline-separated strings from the standard input, |
149 | 149 | # and print each of them once, without duplicates. Input order is |
150 | 150 | # *not* preserved. |
206 | 206 | DIST_ARCHIVES = $(distdir).tar.gz |
207 | 207 | GZIP_ENV = --best |
208 | 208 | DIST_TARGETS = dist-gzip |
209 | # Exists only to be overridden by the user if desired. | |
210 | AM_DISTCHECK_DVI_TARGET = dvi | |
209 | 211 | distuninstallcheck_listfiles = find . -type f -print |
210 | 212 | am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ |
211 | 213 | | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' |
605 | 607 | tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz |
606 | 608 | $(am__post_remove_distdir) |
607 | 609 | |
610 | dist-zstd: distdir | |
611 | tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst | |
612 | $(am__post_remove_distdir) | |
613 | ||
608 | 614 | dist-tarZ: distdir |
609 | 615 | @echo WARNING: "Support for distribution archives compressed with" \ |
610 | 616 | "legacy program 'compress' is deprecated." >&2 |
647 | 653 | eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ |
648 | 654 | *.zip*) \ |
649 | 655 | unzip $(distdir).zip ;;\ |
656 | *.tar.zst*) \ | |
657 | zstd -dc $(distdir).tar.zst | $(am__untar) ;;\ | |
650 | 658 | esac |
651 | 659 | chmod -R a-w $(distdir) |
652 | 660 | chmod u+w $(distdir) |
662 | 670 | $(DISTCHECK_CONFIGURE_FLAGS) \ |
663 | 671 | --srcdir=../.. --prefix="$$dc_install_base" \ |
664 | 672 | && $(MAKE) $(AM_MAKEFLAGS) \ |
665 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ | |
673 | && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \ | |
666 | 674 | && $(MAKE) $(AM_MAKEFLAGS) check \ |
667 | 675 | && $(MAKE) $(AM_MAKEFLAGS) install \ |
668 | 676 | && $(MAKE) $(AM_MAKEFLAGS) installcheck \ |
824 | 832 | am--refresh check check-am clean clean-cscope clean-generic \ |
825 | 833 | clean-libtool cscope cscopelist-am ctags ctags-am dist \ |
826 | 834 | dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \ |
827 | dist-xz dist-zip distcheck distclean distclean-generic \ | |
828 | distclean-hdr distclean-libtool distclean-tags distcleancheck \ | |
829 | distdir distuninstallcheck dvi dvi-am html html-am info \ | |
830 | info-am install install-am install-data install-data-am \ | |
831 | install-dvi install-dvi-am install-exec install-exec-am \ | |
832 | install-html install-html-am install-info install-info-am \ | |
833 | install-man install-pdf install-pdf-am install-ps \ | |
834 | install-ps-am install-strip installcheck installcheck-am \ | |
835 | installdirs installdirs-am maintainer-clean \ | |
836 | maintainer-clean-generic mostlyclean mostlyclean-generic \ | |
837 | mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ | |
838 | uninstall-am | |
835 | dist-xz dist-zip dist-zstd distcheck distclean \ | |
836 | distclean-generic distclean-hdr distclean-libtool \ | |
837 | distclean-tags distcleancheck distdir distuninstallcheck dvi \ | |
838 | dvi-am html html-am info info-am install install-am \ | |
839 | install-data install-data-am install-dvi install-dvi-am \ | |
840 | install-exec install-exec-am install-html install-html-am \ | |
841 | install-info install-info-am install-man install-pdf \ | |
842 | install-pdf-am install-ps install-ps-am install-strip \ | |
843 | installcheck installcheck-am installdirs installdirs-am \ | |
844 | maintainer-clean maintainer-clean-generic mostlyclean \ | |
845 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | |
846 | tags tags-am uninstall uninstall-am | |
839 | 847 | |
840 | 848 | .PRECIOUS: Makefile |
841 | 849 |
0 | 0 | [![Build Status](https://travis-ci.org/neutrinolabs/xorgxrdp.svg?branch=devel)](https://travis-ci.org/neutrinolabs/xorgxrdp) |
1 | 1 | |
2 | *Current Version:* 0.2.12 | |
2 | *Current Version:* 0.2.15 | |
3 | 3 | |
4 | 4 | # xorgxrdp |
5 | 5 |
0 | # generated automatically by aclocal 1.16.1 -*- Autoconf -*- | |
1 | ||
2 | # Copyright (C) 1996-2018 Free Software Foundation, Inc. | |
0 | # generated automatically by aclocal 1.16.3 -*- Autoconf -*- | |
1 | ||
2 | # Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
3 | 3 | |
4 | 4 | # This file is free software; the Free Software Foundation |
5 | 5 | # gives unlimited permission to copy and/or distribute it, |
363 | 363 | [AC_DEFINE([HAVE_][$1], 1, [Enable ]m4_tolower([$1])[ support])]) |
364 | 364 | ])dnl PKG_HAVE_DEFINE_WITH_MODULES |
365 | 365 | |
366 | # Copyright (C) 2002-2018 Free Software Foundation, Inc. | |
366 | # Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
367 | 367 | # |
368 | 368 | # This file is free software; the Free Software Foundation |
369 | 369 | # gives unlimited permission to copy and/or distribute it, |
378 | 378 | [am__api_version='1.16' |
379 | 379 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
380 | 380 | dnl require some minimum version. Point them to the right macro. |
381 | m4_if([$1], [1.16.1], [], | |
381 | m4_if([$1], [1.16.3], [], | |
382 | 382 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
383 | 383 | ]) |
384 | 384 | |
394 | 394 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
395 | 395 | # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
396 | 396 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
397 | [AM_AUTOMAKE_VERSION([1.16.1])dnl | |
397 | [AM_AUTOMAKE_VERSION([1.16.3])dnl | |
398 | 398 | m4_ifndef([AC_AUTOCONF_VERSION], |
399 | 399 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
400 | 400 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
401 | 401 | |
402 | 402 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- |
403 | 403 | |
404 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
404 | # Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
405 | 405 | # |
406 | 406 | # This file is free software; the Free Software Foundation |
407 | 407 | # gives unlimited permission to copy and/or distribute it, |
453 | 453 | |
454 | 454 | # AM_CONDITIONAL -*- Autoconf -*- |
455 | 455 | |
456 | # Copyright (C) 1997-2018 Free Software Foundation, Inc. | |
456 | # Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
457 | 457 | # |
458 | 458 | # This file is free software; the Free Software Foundation |
459 | 459 | # gives unlimited permission to copy and/or distribute it, |
484 | 484 | Usually this means the macro was only invoked conditionally.]]) |
485 | 485 | fi])]) |
486 | 486 | |
487 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
487 | # Copyright (C) 1999-2020 Free Software Foundation, Inc. | |
488 | 488 | # |
489 | 489 | # This file is free software; the Free Software Foundation |
490 | 490 | # gives unlimited permission to copy and/or distribute it, |
675 | 675 | |
676 | 676 | # Generate code to set up dependency tracking. -*- Autoconf -*- |
677 | 677 | |
678 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
678 | # Copyright (C) 1999-2020 Free Software Foundation, Inc. | |
679 | 679 | # |
680 | 680 | # This file is free software; the Free Software Foundation |
681 | 681 | # gives unlimited permission to copy and/or distribute it, |
714 | 714 | done |
715 | 715 | if test $am_rc -ne 0; then |
716 | 716 | AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments |
717 | for automatic dependency tracking. Try re-running configure with the | |
717 | for automatic dependency tracking. If GNU make was not used, consider | |
718 | re-running the configure script with MAKE="gmake" (or whatever is | |
719 | necessary). You can also try re-running configure with the | |
718 | 720 | '--disable-dependency-tracking' option to at least be able to build |
719 | 721 | the package (albeit without support for automatic dependency tracking).]) |
720 | 722 | fi |
741 | 743 | |
742 | 744 | # Do all the work for Automake. -*- Autoconf -*- |
743 | 745 | |
744 | # Copyright (C) 1996-2018 Free Software Foundation, Inc. | |
746 | # Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
745 | 747 | # |
746 | 748 | # This file is free software; the Free Software Foundation |
747 | 749 | # gives unlimited permission to copy and/or distribute it, |
938 | 940 | done |
939 | 941 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
940 | 942 | |
941 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
943 | # Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
942 | 944 | # |
943 | 945 | # This file is free software; the Free Software Foundation |
944 | 946 | # gives unlimited permission to copy and/or distribute it, |
959 | 961 | fi |
960 | 962 | AC_SUBST([install_sh])]) |
961 | 963 | |
962 | # Copyright (C) 2003-2018 Free Software Foundation, Inc. | |
964 | # Copyright (C) 2003-2020 Free Software Foundation, Inc. | |
963 | 965 | # |
964 | 966 | # This file is free software; the Free Software Foundation |
965 | 967 | # gives unlimited permission to copy and/or distribute it, |
980 | 982 | |
981 | 983 | # Check to see how 'make' treats includes. -*- Autoconf -*- |
982 | 984 | |
983 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
985 | # Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
984 | 986 | # |
985 | 987 | # This file is free software; the Free Software Foundation |
986 | 988 | # gives unlimited permission to copy and/or distribute it, |
1023 | 1025 | |
1024 | 1026 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
1025 | 1027 | |
1026 | # Copyright (C) 1997-2018 Free Software Foundation, Inc. | |
1028 | # Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
1027 | 1029 | # |
1028 | 1030 | # This file is free software; the Free Software Foundation |
1029 | 1031 | # gives unlimited permission to copy and/or distribute it, |
1044 | 1046 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
1045 | 1047 | AC_REQUIRE_AUX_FILE([missing])dnl |
1046 | 1048 | if test x"${MISSING+set}" != xset; then |
1047 | case $am_aux_dir in | |
1048 | *\ * | *\ *) | |
1049 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | |
1050 | *) | |
1051 | MISSING="\${SHELL} $am_aux_dir/missing" ;; | |
1052 | esac | |
1049 | MISSING="\${SHELL} '$am_aux_dir/missing'" | |
1053 | 1050 | fi |
1054 | 1051 | # Use eval to expand $SHELL |
1055 | 1052 | if eval "$MISSING --is-lightweight"; then |
1062 | 1059 | |
1063 | 1060 | # Helper functions for option handling. -*- Autoconf -*- |
1064 | 1061 | |
1065 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
1062 | # Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
1066 | 1063 | # |
1067 | 1064 | # This file is free software; the Free Software Foundation |
1068 | 1065 | # gives unlimited permission to copy and/or distribute it, |
1091 | 1088 | AC_DEFUN([_AM_IF_OPTION], |
1092 | 1089 | [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
1093 | 1090 | |
1094 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
1091 | # Copyright (C) 1999-2020 Free Software Foundation, Inc. | |
1095 | 1092 | # |
1096 | 1093 | # This file is free software; the Free Software Foundation |
1097 | 1094 | # gives unlimited permission to copy and/or distribute it, |
1138 | 1135 | # For backward compatibility. |
1139 | 1136 | AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) |
1140 | 1137 | |
1141 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
1138 | # Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
1142 | 1139 | # |
1143 | 1140 | # This file is free software; the Free Software Foundation |
1144 | 1141 | # gives unlimited permission to copy and/or distribute it, |
1157 | 1154 | |
1158 | 1155 | # Check to make sure that the build environment is sane. -*- Autoconf -*- |
1159 | 1156 | |
1160 | # Copyright (C) 1996-2018 Free Software Foundation, Inc. | |
1157 | # Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
1161 | 1158 | # |
1162 | 1159 | # This file is free software; the Free Software Foundation |
1163 | 1160 | # gives unlimited permission to copy and/or distribute it, |
1238 | 1235 | rm -f conftest.file |
1239 | 1236 | ]) |
1240 | 1237 | |
1241 | # Copyright (C) 2009-2018 Free Software Foundation, Inc. | |
1238 | # Copyright (C) 2009-2020 Free Software Foundation, Inc. | |
1242 | 1239 | # |
1243 | 1240 | # This file is free software; the Free Software Foundation |
1244 | 1241 | # gives unlimited permission to copy and/or distribute it, |
1298 | 1295 | _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl |
1299 | 1296 | ]) |
1300 | 1297 | |
1301 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
1298 | # Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
1302 | 1299 | # |
1303 | 1300 | # This file is free software; the Free Software Foundation |
1304 | 1301 | # gives unlimited permission to copy and/or distribute it, |
1326 | 1323 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
1327 | 1324 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
1328 | 1325 | |
1329 | # Copyright (C) 2006-2018 Free Software Foundation, Inc. | |
1326 | # Copyright (C) 2006-2020 Free Software Foundation, Inc. | |
1330 | 1327 | # |
1331 | 1328 | # This file is free software; the Free Software Foundation |
1332 | 1329 | # gives unlimited permission to copy and/or distribute it, |
1345 | 1342 | |
1346 | 1343 | # Check how to create a tarball. -*- Autoconf -*- |
1347 | 1344 | |
1348 | # Copyright (C) 2004-2018 Free Software Foundation, Inc. | |
1345 | # Copyright (C) 2004-2020 Free Software Foundation, Inc. | |
1349 | 1346 | # |
1350 | 1347 | # This file is free software; the Free Software Foundation |
1351 | 1348 | # gives unlimited permission to copy and/or distribute it, |
2 | 2 | |
3 | 3 | scriptversion=2018-03-07.03; # UTC |
4 | 4 | |
5 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
5 | # Copyright (C) 1999-2020 Free Software Foundation, Inc. | |
6 | 6 | # Written by Tom Tromey <tromey@cygnus.com>. |
7 | 7 | # |
8 | 8 | # This program is free software; you can redistribute it and/or modify |
52 | 52 | MINGW*) |
53 | 53 | file_conv=mingw |
54 | 54 | ;; |
55 | CYGWIN*) | |
55 | CYGWIN* | MSYS*) | |
56 | 56 | file_conv=cygwin |
57 | 57 | ;; |
58 | 58 | *) |
66 | 66 | mingw/*) |
67 | 67 | file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` |
68 | 68 | ;; |
69 | cygwin/*) | |
69 | cygwin/* | msys/*) | |
70 | 70 | file=`cygpath -m "$file" || echo "$file"` |
71 | 71 | ;; |
72 | 72 | wine/*) |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.69 for xorgxrdp 0.2.12. | |
2 | # Generated by GNU Autoconf 2.69 for xorgxrdp 0.2.15. | |
3 | 3 | # |
4 | 4 | # Report bugs to <xrdp-devel@googlegroups.com>. |
5 | 5 | # |
589 | 589 | # Identity of this package. |
590 | 590 | PACKAGE_NAME='xorgxrdp' |
591 | 591 | PACKAGE_TARNAME='xorgxrdp' |
592 | PACKAGE_VERSION='0.2.12' | |
593 | PACKAGE_STRING='xorgxrdp 0.2.12' | |
592 | PACKAGE_VERSION='0.2.15' | |
593 | PACKAGE_STRING='xorgxrdp 0.2.15' | |
594 | 594 | PACKAGE_BUGREPORT='xrdp-devel@googlegroups.com' |
595 | 595 | PACKAGE_URL='' |
596 | 596 | |
1344 | 1344 | # Omit some internal or obsolete options to make the list less imposing. |
1345 | 1345 | # This message is too long to be a string in the A/UX 3.1 sh. |
1346 | 1346 | cat <<_ACEOF |
1347 | \`configure' configures xorgxrdp 0.2.12 to adapt to many kinds of systems. | |
1347 | \`configure' configures xorgxrdp 0.2.15 to adapt to many kinds of systems. | |
1348 | 1348 | |
1349 | 1349 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1350 | 1350 | |
1414 | 1414 | |
1415 | 1415 | if test -n "$ac_init_help"; then |
1416 | 1416 | case $ac_init_help in |
1417 | short | recursive ) echo "Configuration of xorgxrdp 0.2.12:";; | |
1417 | short | recursive ) echo "Configuration of xorgxrdp 0.2.15:";; | |
1418 | 1418 | esac |
1419 | 1419 | cat <<\_ACEOF |
1420 | 1420 | |
1543 | 1543 | test -n "$ac_init_help" && exit $ac_status |
1544 | 1544 | if $ac_init_version; then |
1545 | 1545 | cat <<\_ACEOF |
1546 | xorgxrdp configure 0.2.12 | |
1546 | xorgxrdp configure 0.2.15 | |
1547 | 1547 | generated by GNU Autoconf 2.69 |
1548 | 1548 | |
1549 | 1549 | Copyright (C) 2012 Free Software Foundation, Inc. |
1821 | 1821 | This file contains any messages produced by compilers while |
1822 | 1822 | running configure, to aid debugging if configure makes a mistake. |
1823 | 1823 | |
1824 | It was created by xorgxrdp $as_me 0.2.12, which was | |
1824 | It was created by xorgxrdp $as_me 0.2.15, which was | |
1825 | 1825 | generated by GNU Autoconf 2.69. Invocation command line was |
1826 | 1826 | |
1827 | 1827 | $ $0 $@ |
2385 | 2385 | am_aux_dir=`cd "$ac_aux_dir" && pwd` |
2386 | 2386 | |
2387 | 2387 | if test x"${MISSING+set}" != xset; then |
2388 | case $am_aux_dir in | |
2389 | *\ * | *\ *) | |
2390 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | |
2391 | *) | |
2392 | MISSING="\${SHELL} $am_aux_dir/missing" ;; | |
2393 | esac | |
2388 | MISSING="\${SHELL} '$am_aux_dir/missing'" | |
2394 | 2389 | fi |
2395 | 2390 | # Use eval to expand $SHELL |
2396 | 2391 | if eval "$MISSING --is-lightweight"; then |
2695 | 2690 | |
2696 | 2691 | # Define the identity of the package. |
2697 | 2692 | PACKAGE='xorgxrdp' |
2698 | VERSION='0.2.12' | |
2693 | VERSION='0.2.15' | |
2699 | 2694 | |
2700 | 2695 | |
2701 | 2696 | cat >>confdefs.h <<_ACEOF |
12521 | 12516 | pkg_cv_XRDP_CFLAGS="$XRDP_CFLAGS" |
12522 | 12517 | elif test -n "$PKG_CONFIG"; then |
12523 | 12518 | if test -n "$PKG_CONFIG" && \ |
12524 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrdp >= 0.9.0\""; } >&5 | |
12525 | ($PKG_CONFIG --exists --print-errors "xrdp >= 0.9.0") 2>&5 | |
12519 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrdp >= 0.9.14\""; } >&5 | |
12520 | ($PKG_CONFIG --exists --print-errors "xrdp >= 0.9.14") 2>&5 | |
12526 | 12521 | ac_status=$? |
12527 | 12522 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
12528 | 12523 | test $ac_status = 0; }; then |
12529 | pkg_cv_XRDP_CFLAGS=`$PKG_CONFIG --cflags "xrdp >= 0.9.0" 2>/dev/null` | |
12524 | pkg_cv_XRDP_CFLAGS=`$PKG_CONFIG --cflags "xrdp >= 0.9.14" 2>/dev/null` | |
12530 | 12525 | test "x$?" != "x0" && pkg_failed=yes |
12531 | 12526 | else |
12532 | 12527 | pkg_failed=yes |
12538 | 12533 | pkg_cv_XRDP_LIBS="$XRDP_LIBS" |
12539 | 12534 | elif test -n "$PKG_CONFIG"; then |
12540 | 12535 | if test -n "$PKG_CONFIG" && \ |
12541 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrdp >= 0.9.0\""; } >&5 | |
12542 | ($PKG_CONFIG --exists --print-errors "xrdp >= 0.9.0") 2>&5 | |
12536 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrdp >= 0.9.14\""; } >&5 | |
12537 | ($PKG_CONFIG --exists --print-errors "xrdp >= 0.9.14") 2>&5 | |
12543 | 12538 | ac_status=$? |
12544 | 12539 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
12545 | 12540 | test $ac_status = 0; }; then |
12546 | pkg_cv_XRDP_LIBS=`$PKG_CONFIG --libs "xrdp >= 0.9.0" 2>/dev/null` | |
12541 | pkg_cv_XRDP_LIBS=`$PKG_CONFIG --libs "xrdp >= 0.9.14" 2>/dev/null` | |
12547 | 12542 | test "x$?" != "x0" && pkg_failed=yes |
12548 | 12543 | else |
12549 | 12544 | pkg_failed=yes |
12564 | 12559 | _pkg_short_errors_supported=no |
12565 | 12560 | fi |
12566 | 12561 | if test $_pkg_short_errors_supported = yes; then |
12567 | XRDP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xrdp >= 0.9.0" 2>&1` | |
12562 | XRDP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xrdp >= 0.9.14" 2>&1` | |
12568 | 12563 | else |
12569 | XRDP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xrdp >= 0.9.0" 2>&1` | |
12564 | XRDP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xrdp >= 0.9.14" 2>&1` | |
12570 | 12565 | fi |
12571 | 12566 | # Put the nasty error message in config.log where it belongs |
12572 | 12567 | echo "$XRDP_PKG_ERRORS" >&5 |
12573 | 12568 | |
12574 | as_fn_error $? "Package requirements (xrdp >= 0.9.0) were not met: | |
12569 | as_fn_error $? "Package requirements (xrdp >= 0.9.14) were not met: | |
12575 | 12570 | |
12576 | 12571 | $XRDP_PKG_ERRORS |
12577 | 12572 | |
12603 | 12598 | $as_echo "yes" >&6; } |
12604 | 12599 | |
12605 | 12600 | fi |
12601 | XRDP_CFLAGS=`pkg-config xrdp --cflags` | |
12606 | 12602 | fi |
12607 | 12603 | |
12608 | 12604 | # Check whether --enable-strict-locations was given. |
12785 | 12781 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the assembler ($NASM $NAFLAGS) works" >&5 |
12786 | 12782 | $as_echo_n "checking whether the assembler ($NASM $NAFLAGS) works... " >&6; } |
12787 | 12783 | cat > conftest.asm <<EOF |
12788 | %line 12789 "configure" | |
12784 | %line 12785 "configure" | |
12789 | 12785 | section .text |
12790 | 12786 | global _nasmfunc, nasmfunc |
12791 | 12787 | _nasmfunc: |
13001 | 12997 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the assembler ($NASM $NAFLAGS) works" >&5 |
13002 | 12998 | $as_echo_n "checking whether the assembler ($NASM $NAFLAGS) works... " >&6; } |
13003 | 12999 | cat > conftest.asm <<EOF |
13004 | %line 13005 "configure" | |
13000 | %line 13001 "configure" | |
13005 | 13001 | section .text |
13006 | 13002 | global _nasmfunc, nasmfunc |
13007 | 13003 | _nasmfunc: |
13657 | 13653 | # report actual input values of CONFIG_FILES etc. instead of their |
13658 | 13654 | # values after options handling. |
13659 | 13655 | ac_log=" |
13660 | This file was extended by xorgxrdp $as_me 0.2.12, which was | |
13656 | This file was extended by xorgxrdp $as_me 0.2.15, which was | |
13661 | 13657 | generated by GNU Autoconf 2.69. Invocation command line was |
13662 | 13658 | |
13663 | 13659 | CONFIG_FILES = $CONFIG_FILES |
13723 | 13719 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
13724 | 13720 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
13725 | 13721 | ac_cs_version="\\ |
13726 | xorgxrdp config.status 0.2.12 | |
13722 | xorgxrdp config.status 0.2.15 | |
13727 | 13723 | configured by $0, generated by GNU Autoconf 2.69, |
13728 | 13724 | with options \\"\$ac_cs_config\\" |
13729 | 13725 | |
14824 | 14820 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
14825 | 14821 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
14826 | 14822 | as_fn_error $? "Something went wrong bootstrapping makefile fragments |
14827 | for automatic dependency tracking. Try re-running configure with the | |
14823 | for automatic dependency tracking. If GNU make was not used, consider | |
14824 | re-running the configure script with MAKE=\"gmake\" (or whatever is | |
14825 | necessary). You can also try re-running configure with the | |
14828 | 14826 | '--disable-dependency-tracking' option to at least be able to build |
14829 | 14827 | the package (albeit without support for automatic dependency tracking). |
14830 | 14828 | See \`config.log' for more details" "$LINENO" 5; } |
1 | 1 | |
2 | 2 | AC_PREREQ(2.65) |
3 | 3 | # package version must be x.y.z |
4 | AC_INIT([xorgxrdp], [0.2.12], [xrdp-devel@googlegroups.com]) | |
4 | AC_INIT([xorgxrdp], [0.2.15], [xrdp-devel@googlegroups.com]) | |
5 | 5 | package_version_major=$(echo ${PACKAGE_VERSION}|cut -d. -f1) |
6 | 6 | package_version_minor=$(echo ${PACKAGE_VERSION}|cut -d. -f2) |
7 | 7 | package_version_patchlevel=$(echo ${PACKAGE_VERSION}|cut -d. -f3) |
27 | 27 | fi |
28 | 28 | |
29 | 29 | if test "x$XRDP_CFLAGS" = "x"; then |
30 | PKG_CHECK_MODULES([XRDP], [xrdp >= 0.9.0]) | |
30 | PKG_CHECK_MODULES([XRDP], [xrdp >= 0.9.14]) | |
31 | XRDP_CFLAGS=`pkg-config xrdp --cflags` | |
31 | 32 | fi |
32 | 33 | |
33 | 34 | AC_ARG_ENABLE([strict-locations], |
2 | 2 | |
3 | 3 | scriptversion=2018-03-07.03; # UTC |
4 | 4 | |
5 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
5 | # Copyright (C) 1999-2020 Free Software Foundation, Inc. | |
6 | 6 | |
7 | 7 | # This program is free software; you can redistribute it and/or modify |
8 | 8 | # it under the terms of the GNU General Public License as published by |
0 | 0 | #!/bin/sh |
1 | 1 | # install - install a program, script, or datafile |
2 | 2 | |
3 | scriptversion=2018-03-11.20; # UTC | |
3 | scriptversion=2020-11-14.01; # UTC | |
4 | 4 | |
5 | 5 | # This originates from X11R5 (mit/util/scripts/install.sh), which was |
6 | 6 | # later released in X11R6 (xc/config/util/install.sh) with the |
68 | 68 | # Desired mode of installed file. |
69 | 69 | mode=0755 |
70 | 70 | |
71 | # Create dirs (including intermediate dirs) using mode 755. | |
72 | # This is like GNU 'install' as of coreutils 8.32 (2020). | |
73 | mkdir_umask=22 | |
74 | ||
75 | backupsuffix= | |
71 | 76 | chgrpcmd= |
72 | 77 | chmodcmd=$chmodprog |
73 | 78 | chowncmd= |
98 | 103 | --version display version info and exit. |
99 | 104 | |
100 | 105 | -c (ignored) |
101 | -C install only if different (preserve the last data modification time) | |
106 | -C install only if different (preserve data modification time) | |
102 | 107 | -d create directories instead of installing files. |
103 | 108 | -g GROUP $chgrpprog installed files to GROUP. |
104 | 109 | -m MODE $chmodprog installed files to MODE. |
105 | 110 | -o USER $chownprog installed files to USER. |
111 | -p pass -p to $cpprog. | |
106 | 112 | -s $stripprog installed files. |
113 | -S SUFFIX attempt to back up existing files, with suffix SUFFIX. | |
107 | 114 | -t DIRECTORY install into DIRECTORY. |
108 | 115 | -T report an error if DSTFILE is a directory. |
109 | 116 | |
110 | 117 | Environment variables override the default commands: |
111 | 118 | CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG |
112 | 119 | RMPROG STRIPPROG |
120 | ||
121 | By default, rm is invoked with -f; when overridden with RMPROG, | |
122 | it's up to you to specify -f if you want it. | |
123 | ||
124 | If -S is not specified, no backups are attempted. | |
125 | ||
126 | Email bug reports to bug-automake@gnu.org. | |
127 | Automake home page: https://www.gnu.org/software/automake/ | |
113 | 128 | " |
114 | 129 | |
115 | 130 | while test $# -ne 0; do |
136 | 151 | -o) chowncmd="$chownprog $2" |
137 | 152 | shift;; |
138 | 153 | |
154 | -p) cpprog="$cpprog -p";; | |
155 | ||
139 | 156 | -s) stripcmd=$stripprog;; |
157 | ||
158 | -S) backupsuffix="$2" | |
159 | shift;; | |
140 | 160 | |
141 | 161 | -t) |
142 | 162 | is_target_a_directory=always |
254 | 274 | dstdir=$dst |
255 | 275 | test -d "$dstdir" |
256 | 276 | dstdir_status=$? |
277 | # Don't chown directories that already exist. | |
278 | if test $dstdir_status = 0; then | |
279 | chowncmd="" | |
280 | fi | |
257 | 281 | else |
258 | 282 | |
259 | 283 | # Waiting for this to be detected by the "$cpprog $src $dsttmp" command |
300 | 324 | if test $dstdir_status != 0; then |
301 | 325 | case $posix_mkdir in |
302 | 326 | '') |
303 | # Create intermediate dirs using mode 755 as modified by the umask. | |
304 | # This is like FreeBSD 'install' as of 1997-10-28. | |
305 | umask=`umask` | |
306 | case $stripcmd.$umask in | |
307 | # Optimize common cases. | |
308 | *[2367][2367]) mkdir_umask=$umask;; | |
309 | .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; | |
310 | ||
311 | *[0-7]) | |
312 | mkdir_umask=`expr $umask + 22 \ | |
313 | - $umask % 100 % 40 + $umask % 20 \ | |
314 | - $umask % 10 % 4 + $umask % 2 | |
315 | `;; | |
316 | *) mkdir_umask=$umask,go-w;; | |
317 | esac | |
318 | ||
319 | 327 | # With -d, create the new directory with the user-specified mode. |
320 | 328 | # Otherwise, rely on $mkdir_umask. |
321 | 329 | if test -n "$dir_arg"; then |
325 | 333 | fi |
326 | 334 | |
327 | 335 | posix_mkdir=false |
328 | case $umask in | |
329 | *[123567][0-7][0-7]) | |
330 | # POSIX mkdir -p sets u+wx bits regardless of umask, which | |
331 | # is incompatible with FreeBSD 'install' when (umask & 300) != 0. | |
332 | ;; | |
333 | *) | |
334 | # Note that $RANDOM variable is not portable (e.g. dash); Use it | |
335 | # here however when possible just to lower collision chance. | |
336 | tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ | |
337 | ||
338 | trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0 | |
339 | ||
340 | # Because "mkdir -p" follows existing symlinks and we likely work | |
341 | # directly in world-writeable /tmp, make sure that the '$tmpdir' | |
342 | # directory is successfully created first before we actually test | |
343 | # 'mkdir -p' feature. | |
344 | if (umask $mkdir_umask && | |
345 | $mkdirprog $mkdir_mode "$tmpdir" && | |
346 | exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 | |
347 | then | |
348 | if test -z "$dir_arg" || { | |
349 | # Check for POSIX incompatibilities with -m. | |
350 | # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or | |
351 | # other-writable bit of parent directory when it shouldn't. | |
352 | # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. | |
353 | test_tmpdir="$tmpdir/a" | |
354 | ls_ld_tmpdir=`ls -ld "$test_tmpdir"` | |
355 | case $ls_ld_tmpdir in | |
356 | d????-?r-*) different_mode=700;; | |
357 | d????-?--*) different_mode=755;; | |
358 | *) false;; | |
359 | esac && | |
360 | $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { | |
361 | ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` | |
362 | test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" | |
363 | } | |
364 | } | |
365 | then posix_mkdir=: | |
366 | fi | |
367 | rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" | |
368 | else | |
369 | # Remove any dirs left behind by ancient mkdir implementations. | |
370 | rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null | |
371 | fi | |
372 | trap '' 0;; | |
373 | esac;; | |
336 | # The $RANDOM variable is not portable (e.g., dash). Use it | |
337 | # here however when possible just to lower collision chance. | |
338 | tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ | |
339 | ||
340 | trap ' | |
341 | ret=$? | |
342 | rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null | |
343 | exit $ret | |
344 | ' 0 | |
345 | ||
346 | # Because "mkdir -p" follows existing symlinks and we likely work | |
347 | # directly in world-writeable /tmp, make sure that the '$tmpdir' | |
348 | # directory is successfully created first before we actually test | |
349 | # 'mkdir -p'. | |
350 | if (umask $mkdir_umask && | |
351 | $mkdirprog $mkdir_mode "$tmpdir" && | |
352 | exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 | |
353 | then | |
354 | if test -z "$dir_arg" || { | |
355 | # Check for POSIX incompatibilities with -m. | |
356 | # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or | |
357 | # other-writable bit of parent directory when it shouldn't. | |
358 | # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. | |
359 | test_tmpdir="$tmpdir/a" | |
360 | ls_ld_tmpdir=`ls -ld "$test_tmpdir"` | |
361 | case $ls_ld_tmpdir in | |
362 | d????-?r-*) different_mode=700;; | |
363 | d????-?--*) different_mode=755;; | |
364 | *) false;; | |
365 | esac && | |
366 | $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { | |
367 | ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` | |
368 | test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" | |
369 | } | |
370 | } | |
371 | then posix_mkdir=: | |
372 | fi | |
373 | rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" | |
374 | else | |
375 | # Remove any dirs left behind by ancient mkdir implementations. | |
376 | rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null | |
377 | fi | |
378 | trap '' 0;; | |
374 | 379 | esac |
375 | 380 | |
376 | 381 | if |
381 | 386 | then : |
382 | 387 | else |
383 | 388 | |
384 | # The umask is ridiculous, or mkdir does not conform to POSIX, | |
389 | # mkdir does not conform to POSIX, | |
385 | 390 | # or it failed possibly due to a race condition. Create the |
386 | 391 | # directory the slow way, step by step, checking for races as we go. |
387 | 392 | |
410 | 415 | prefixes= |
411 | 416 | else |
412 | 417 | if $posix_mkdir; then |
413 | (umask=$mkdir_umask && | |
418 | (umask $mkdir_umask && | |
414 | 419 | $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break |
415 | 420 | # Don't fail if two instances are running concurrently. |
416 | 421 | test -d "$prefix" || exit 1 |
450 | 455 | trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 |
451 | 456 | |
452 | 457 | # Copy the file name to the temp name. |
453 | (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && | |
458 | (umask $cp_umask && | |
459 | { test -z "$stripcmd" || { | |
460 | # Create $dsttmp read-write so that cp doesn't create it read-only, | |
461 | # which would cause strip to fail. | |
462 | if test -z "$doit"; then | |
463 | : >"$dsttmp" # No need to fork-exec 'touch'. | |
464 | else | |
465 | $doit touch "$dsttmp" | |
466 | fi | |
467 | } | |
468 | } && | |
469 | $doit_exec $cpprog "$src" "$dsttmp") && | |
454 | 470 | |
455 | 471 | # and set any options; do chmod last to preserve setuid bits. |
456 | 472 | # |
476 | 492 | then |
477 | 493 | rm -f "$dsttmp" |
478 | 494 | else |
495 | # If $backupsuffix is set, and the file being installed | |
496 | # already exists, attempt a backup. Don't worry if it fails, | |
497 | # e.g., if mv doesn't support -f. | |
498 | if test -n "$backupsuffix" && test -f "$dst"; then | |
499 | $doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null | |
500 | fi | |
501 | ||
479 | 502 | # Rename the file to the real destination. |
480 | 503 | $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || |
481 | 504 | |
490 | 513 | # file should still install successfully. |
491 | 514 | { |
492 | 515 | test ! -f "$dst" || |
493 | $doit $rmcmd -f "$dst" 2>/dev/null || | |
516 | $doit $rmcmd "$dst" 2>/dev/null || | |
494 | 517 | { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && |
495 | { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } | |
518 | { $doit $rmcmd "$rmtmp" 2>/dev/null; :; } | |
496 | 519 | } || |
497 | 520 | { echo "$0: cannot unlink or rename $dst" >&2 |
498 | 521 | (exit 1); exit 1 |
2 | 2 | |
3 | 3 | scriptversion=2018-03-07.03; # UTC |
4 | 4 | |
5 | # Copyright (C) 1996-2018 Free Software Foundation, Inc. | |
5 | # Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
6 | 6 | # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. |
7 | 7 | |
8 | 8 | # This program is free software; you can redistribute it and/or modify |
0 | # Makefile.in generated by automake 1.16.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.16.3 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2020 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
0 | # Makefile.in generated by automake 1.16.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.16.3 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2020 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
33 | 33 | #include "rdpPri.h" |
34 | 34 | |
35 | 35 | #include "xrdp_client_info.h" |
36 | #include "xrdp_constants.h" | |
36 | 37 | |
37 | 38 | #define XRDP_MODULE_NAME "XORGXRDP" |
38 | 39 | #define XRDP_DRIVER_NAME "XRDPDEV" |
102 | 102 | rdpClientConDisconnect(rdpPtr dev, rdpClientCon *clientCon); |
103 | 103 | static CARD32 |
104 | 104 | rdpDeferredIdleDisconnectCallback(OsTimerPtr timer, CARD32 now, pointer arg); |
105 | static void | |
106 | rdpScheduleDeferredUpdate(rdpClientCon *clientCon); | |
105 | 107 | |
106 | 108 | #if XORG_VERSION_CURRENT < XORG_VERSION_NUMERIC(1, 18, 5, 0, 0) |
107 | 109 | |
1374 | 1376 | return 1; |
1375 | 1377 | } |
1376 | 1378 | g_sck_listen(dev->disconnect_sck); |
1379 | g_chmod_hex(dev->disconnect_uds, 0x0660); | |
1377 | 1380 | rdpClientConAddEnabledDevice(dev->pScreen, dev->disconnect_sck); |
1378 | 1381 | } |
1379 | 1382 | |
1398 | 1401 | i = atoi(ptext); |
1399 | 1402 | if (i > 0) |
1400 | 1403 | { |
1401 | dev->do_kill_disconnected = 1; | |
1402 | 1404 | dev->disconnect_timeout_s = atoi(ptext); |
1403 | 1405 | } |
1404 | 1406 | } |
1406 | 1408 | if (ptext != 0) |
1407 | 1409 | { |
1408 | 1410 | i = atoi(ptext); |
1409 | if (i != 0) | |
1411 | if (i == 0) | |
1412 | { | |
1413 | dev->do_kill_disconnected = 0; | |
1414 | } | |
1415 | else | |
1410 | 1416 | { |
1411 | 1417 | dev->do_kill_disconnected = 1; |
1412 | 1418 | } |
1441 | 1447 | rdpClientConRemoveEnabledDevice(dev->listen_sck); |
1442 | 1448 | g_sck_close(dev->listen_sck); |
1443 | 1449 | LLOGLN(0, ("rdpClientConDeinit: deleting file %s", dev->uds_data)); |
1444 | unlink(dev->uds_data); | |
1450 | if (unlink(dev->uds_data) < 0) | |
1451 | { | |
1452 | LLOGLN(0, ("rdpClientConDeinit: failed to delete %s (%s)", | |
1453 | dev->uds_data, strerror(errno))); | |
1454 | } | |
1445 | 1455 | } |
1446 | 1456 | |
1447 | 1457 | if (dev->disconnect_sck != 0) |
1449 | 1459 | rdpClientConRemoveEnabledDevice(dev->disconnect_sck); |
1450 | 1460 | g_sck_close(dev->disconnect_sck); |
1451 | 1461 | LLOGLN(0, ("rdpClientConDeinit: deleting file %s", dev->disconnect_uds)); |
1452 | unlink(dev->disconnect_uds); | |
1462 | if (unlink(dev->disconnect_uds) < 0) | |
1463 | { | |
1464 | LLOGLN(0, ("rdpClientConDeinit: failed to delete %s (%s)", | |
1465 | dev->disconnect_uds, strerror(errno))); | |
1466 | } | |
1453 | 1467 | } |
1454 | 1468 | |
1455 | 1469 | return 0; |
2423 | 2437 | LLOGLN(10, ("rdpDeferredUpdateCallback:")); |
2424 | 2438 | clientCon = (rdpClientCon *) arg; |
2425 | 2439 | clientCon->updateScheduled = FALSE; |
2440 | clientCon->lastUpdateTime = now; | |
2426 | 2441 | if (clientCon->suppress_output) |
2427 | 2442 | { |
2428 | 2443 | LLOGLN(10, ("rdpDeferredUpdateCallback: suppress_output set")); |
2435 | 2450 | LLOGLN(10, ("rdpDeferredUpdateCallback: reschedule rect_id %d " |
2436 | 2451 | "rect_id_ack %d", |
2437 | 2452 | clientCon->rect_id, clientCon->rect_id_ack)); |
2438 | clientCon->updateTimer = TimerSet(clientCon->updateTimer, 0, 40, | |
2439 | rdpDeferredUpdateCallback, | |
2440 | clientCon); | |
2441 | clientCon->updateScheduled = TRUE; | |
2453 | rdpScheduleDeferredUpdate(clientCon); | |
2442 | 2454 | return 0; |
2443 | 2455 | } |
2444 | 2456 | else |
2531 | 2543 | } |
2532 | 2544 | if (rdpRegionNotEmpty(clientCon->dirtyRegion)) |
2533 | 2545 | { |
2534 | clientCon->updateTimer = TimerSet(clientCon->updateTimer, 0, 40, | |
2535 | rdpDeferredUpdateCallback, | |
2536 | clientCon); | |
2537 | clientCon->updateScheduled = TRUE; | |
2538 | } | |
2539 | return 0; | |
2546 | rdpScheduleDeferredUpdate(clientCon); | |
2547 | } | |
2548 | return 0; | |
2549 | } | |
2550 | ||
2551 | ||
2552 | /******************************************************************************/ | |
2553 | #define MIN_MS_BETWEEN_FRAMES 40 | |
2554 | #define MIN_MS_TO_WAIT_FOR_MORE_UPDATES 4 | |
2555 | static void | |
2556 | rdpScheduleDeferredUpdate(rdpClientCon *clientCon) | |
2557 | { | |
2558 | uint32_t curTime; | |
2559 | uint32_t msToWait; | |
2560 | uint32_t minNextUpdateTime; | |
2561 | ||
2562 | curTime = (uint32_t) GetTimeInMillis(); | |
2563 | /* use two separate delays in order to limit the update rate and wait a bit | |
2564 | for more changes before sending an update. Always waiting the longer | |
2565 | delay would introduce unnecessarily much latency. */ | |
2566 | msToWait = MIN_MS_TO_WAIT_FOR_MORE_UPDATES; | |
2567 | minNextUpdateTime = clientCon->lastUpdateTime + MIN_MS_BETWEEN_FRAMES; | |
2568 | /* the first check is to gracefully handle the infrequent case of | |
2569 | the time wrapping around */ | |
2570 | if(clientCon->lastUpdateTime < curTime && | |
2571 | minNextUpdateTime > curTime + msToWait) | |
2572 | { | |
2573 | msToWait = minNextUpdateTime - curTime; | |
2574 | } | |
2575 | ||
2576 | clientCon->updateTimer = TimerSet(clientCon->updateTimer, 0, | |
2577 | (CARD32) msToWait, | |
2578 | rdpDeferredUpdateCallback, | |
2579 | clientCon); | |
2580 | clientCon->updateScheduled = TRUE; | |
2540 | 2581 | } |
2541 | 2582 | |
2542 | 2583 | /******************************************************************************/ |
2548 | 2589 | rdpRegionUnion(clientCon->dirtyRegion, clientCon->dirtyRegion, reg); |
2549 | 2590 | if (clientCon->updateScheduled == FALSE) |
2550 | 2591 | { |
2551 | clientCon->updateTimer = TimerSet(clientCon->updateTimer, 0, 40, | |
2552 | rdpDeferredUpdateCallback, clientCon); | |
2553 | clientCon->updateScheduled = TRUE; | |
2592 | rdpScheduleDeferredUpdate(clientCon); | |
2554 | 2593 | } |
2555 | 2594 | return 0; |
2556 | 2595 | } |
104 | 104 | int rect_id_ack; |
105 | 105 | |
106 | 106 | OsTimerPtr updateTimer; |
107 | CARD32 lastUpdateTime; /* millisecond timestamp */ | |
107 | 108 | int updateScheduled; /* boolean */ |
108 | 109 | |
109 | 110 | RegionPtr dirtyRegion; |
128 | 128 | dev = rdpGetDevFromScreen(pScreen); |
129 | 129 | if (dev->allow_screen_resize == 0) |
130 | 130 | { |
131 | if ((width == pScreen->width) && (height == pScreen->height) && | |
132 | (mmWidth == pScreen->mmWidth) && (mmHeight == pScreen->mmHeight)) | |
133 | { | |
134 | LLOGLN(0, ("rdpRRScreenSetSize: already this size")); | |
135 | return TRUE; | |
136 | } | |
131 | 137 | LLOGLN(0, ("rdpRRScreenSetSize: not allowing resize")); |
132 | 138 | return FALSE; |
133 | 139 | } |
0 | # Makefile.in generated by automake 1.16.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.16.3 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2020 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
2 | 2 | |
3 | 3 | scriptversion=2018-03-07.03; # UTC |
4 | 4 | |
5 | # Copyright (C) 2011-2018 Free Software Foundation, Inc. | |
5 | # Copyright (C) 2011-2020 Free Software Foundation, Inc. | |
6 | 6 | # |
7 | 7 | # This program is free software; you can redistribute it and/or modify |
8 | 8 | # it under the terms of the GNU General Public License as published by |
41 | 41 | { |
42 | 42 | cat <<END |
43 | 43 | Usage: |
44 | test-driver --test-name=NAME --log-file=PATH --trs-file=PATH | |
45 | [--expect-failure={yes|no}] [--color-tests={yes|no}] | |
46 | [--enable-hard-errors={yes|no}] [--] | |
44 | test-driver --test-name NAME --log-file PATH --trs-file PATH | |
45 | [--expect-failure {yes|no}] [--color-tests {yes|no}] | |
46 | [--enable-hard-errors {yes|no}] [--] | |
47 | 47 | TEST-SCRIPT [TEST-SCRIPT-ARGUMENTS] |
48 | ||
48 | 49 | The '--test-name', '--log-file' and '--trs-file' options are mandatory. |
50 | See the GNU Automake documentation for information. | |
49 | 51 | END |
50 | 52 | } |
51 | 53 |
0 | # Makefile.in generated by automake 1.16.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.16.3 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2020 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
344 | 344 | bases='$(TEST_LOGS)'; \ |
345 | 345 | bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \ |
346 | 346 | bases=`echo $$bases` |
347 | AM_TESTSUITE_SUMMARY_HEADER = ' for $(PACKAGE_STRING)' | |
347 | 348 | RECHECK_LOGS = $(TEST_LOGS) |
348 | 349 | TEST_SUITE_LOG = test-suite.log |
349 | 350 | am__test_logs1 = $(TESTS:=.log) |
771 | 772 | test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \ |
772 | 773 | fi; \ |
773 | 774 | echo "$${col}$$br$${std}"; \ |
774 | echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \ | |
775 | echo "$${col}Testsuite summary"$(AM_TESTSUITE_SUMMARY_HEADER)"$${std}"; \ | |
775 | 776 | echo "$${col}$$br$${std}"; \ |
776 | 777 | create_testsuite_report --maybe-color; \ |
777 | 778 | echo "$$col$$br$$std"; \ |
0 | # Makefile.in generated by automake 1.16.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.16.3 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2020 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
359 | 359 | bases='$(TEST_LOGS)'; \ |
360 | 360 | bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \ |
361 | 361 | bases=`echo $$bases` |
362 | AM_TESTSUITE_SUMMARY_HEADER = ' for $(PACKAGE_STRING)' | |
362 | 363 | RECHECK_LOGS = $(TEST_LOGS) |
363 | 364 | AM_RECURSIVE_TARGETS = check recheck |
364 | 365 | TEST_SUITE_LOG = test-suite.log |
766 | 767 | test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \ |
767 | 768 | fi; \ |
768 | 769 | echo "$${col}$$br$${std}"; \ |
769 | echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \ | |
770 | echo "$${col}Testsuite summary"$(AM_TESTSUITE_SUMMARY_HEADER)"$${std}"; \ | |
770 | 771 | echo "$${col}$$br$${std}"; \ |
771 | 772 | create_testsuite_report --maybe-color; \ |
772 | 773 | echo "$$col$$br$$std"; \ |
0 | # Makefile.in generated by automake 1.16.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.16.3 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2020 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
0 | # Makefile.in generated by automake 1.16.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.16.3 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2020 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
0 | 0 | EXTRA_DIST = |
1 | 1 | |
2 | 2 | AM_CFLAGS = \ |
3 | $(XRDP_CFLAGS) \ | |
3 | 4 | $(XORG_SERVER_CFLAGS) \ |
4 | $(XRDP_CFLAGS) \ | |
5 | 5 | -DPACKAGE_VERSION_MAJOR=@package_version_major@ \ |
6 | 6 | -DPACKAGE_VERSION_MINOR=@package_version_minor@ \ |
7 | 7 | -DPACKAGE_VERSION_PATCHLEVEL=@package_version_patchlevel@ \ |
0 | # Makefile.in generated by automake 1.16.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.16.3 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2020 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
341 | 341 | top_srcdir = @top_srcdir@ |
342 | 342 | EXTRA_DIST = |
343 | 343 | AM_CFLAGS = \ |
344 | $(XRDP_CFLAGS) \ | |
344 | 345 | $(XORG_SERVER_CFLAGS) \ |
345 | $(XRDP_CFLAGS) \ | |
346 | 346 | -DPACKAGE_VERSION_MAJOR=@package_version_major@ \ |
347 | 347 | -DPACKAGE_VERSION_MINOR=@package_version_minor@ \ |
348 | 348 | -DPACKAGE_VERSION_PATCHLEVEL=@package_version_patchlevel@ \ |
127 | 127 | pointer->old_cursor_y = pointer->cursor_y; |
128 | 128 | } |
129 | 129 | |
130 | for (i = 0; i < 7; i++) | |
130 | for (i = 0; i < 9; i++) | |
131 | 131 | { |
132 | 132 | if ((pointer->button_mask ^ pointer->old_button_mask) & (1 << i)) |
133 | 133 | { |
162 | 162 | pointer = &(dev->pointer); |
163 | 163 | switch (msg) |
164 | 164 | { |
165 | case 100: | |
165 | case WM_MOUSEMOVE: | |
166 | 166 | /* without the minus 2, strange things happen when dragging |
167 | 167 | past the width or height */ |
168 | 168 | pointer->cursor_x = l_bound_by(param1, 0, dev->width - 2); |
169 | 169 | pointer->cursor_y = l_bound_by(param2, 0, dev->height - 2); |
170 | 170 | PtrAddEvent(pointer); |
171 | 171 | break; |
172 | case 101: | |
172 | case WM_LBUTTONUP: | |
173 | 173 | pointer->button_mask = pointer->button_mask & (~1); |
174 | 174 | PtrAddEvent(pointer); |
175 | 175 | break; |
176 | case 102: | |
176 | case WM_LBUTTONDOWN: | |
177 | 177 | pointer->button_mask = pointer->button_mask | 1; |
178 | 178 | PtrAddEvent(pointer); |
179 | 179 | break; |
180 | case 103: | |
180 | case WM_RBUTTONUP: | |
181 | 181 | pointer->button_mask = pointer->button_mask & (~4); |
182 | 182 | PtrAddEvent(pointer); |
183 | 183 | break; |
184 | case 104: | |
184 | case WM_RBUTTONDOWN: | |
185 | 185 | pointer->button_mask = pointer->button_mask | 4; |
186 | 186 | PtrAddEvent(pointer); |
187 | 187 | break; |
188 | case 105: | |
188 | case WM_BUTTON3UP: | |
189 | 189 | pointer->button_mask = pointer->button_mask & (~2); |
190 | 190 | PtrAddEvent(pointer); |
191 | 191 | break; |
192 | case 106: | |
192 | case WM_BUTTON3DOWN: | |
193 | 193 | pointer->button_mask = pointer->button_mask | 2; |
194 | 194 | PtrAddEvent(pointer); |
195 | 195 | break; |
196 | case 107: | |
196 | case WM_BUTTON4UP: | |
197 | 197 | pointer->button_mask = pointer->button_mask & (~8); |
198 | 198 | PtrAddEvent(pointer); |
199 | 199 | break; |
200 | case 108: | |
200 | case WM_BUTTON4DOWN: | |
201 | 201 | pointer->button_mask = pointer->button_mask | 8; |
202 | 202 | PtrAddEvent(pointer); |
203 | 203 | break; |
204 | case 109: | |
204 | case WM_BUTTON5UP: | |
205 | 205 | pointer->button_mask = pointer->button_mask & (~16); |
206 | 206 | PtrAddEvent(pointer); |
207 | 207 | break; |
208 | case 110: | |
208 | case WM_BUTTON5DOWN: | |
209 | 209 | pointer->button_mask = pointer->button_mask | 16; |
210 | 210 | PtrAddEvent(pointer); |
211 | 211 | break; |
212 | case 111: | |
212 | case WM_BUTTON6UP: | |
213 | 213 | pointer->button_mask = pointer->button_mask & (~32); |
214 | 214 | PtrAddEvent(pointer); |
215 | 215 | break; |
216 | case 112: | |
216 | case WM_BUTTON6DOWN: | |
217 | 217 | pointer->button_mask = pointer->button_mask | 32; |
218 | 218 | PtrAddEvent(pointer); |
219 | 219 | break; |
220 | case 113: | |
220 | case WM_BUTTON7UP: | |
221 | 221 | pointer->button_mask = pointer->button_mask & (~64); |
222 | 222 | PtrAddEvent(pointer); |
223 | 223 | break; |
224 | case 114: | |
224 | case WM_BUTTON7DOWN: | |
225 | 225 | pointer->button_mask = pointer->button_mask | 64; |
226 | PtrAddEvent(pointer); | |
227 | break; | |
228 | case WM_BUTTON8UP: | |
229 | pointer->button_mask = pointer->button_mask & (~128); | |
230 | PtrAddEvent(pointer); | |
231 | break; | |
232 | case WM_BUTTON8DOWN: | |
233 | pointer->button_mask = pointer->button_mask | 128; | |
234 | PtrAddEvent(pointer); | |
235 | break; | |
236 | case WM_BUTTON9UP: | |
237 | pointer->button_mask = pointer->button_mask & (~256); | |
238 | PtrAddEvent(pointer); | |
239 | break; | |
240 | case WM_BUTTON9DOWN: | |
241 | pointer->button_mask = pointer->button_mask | 256; | |
226 | 242 | PtrAddEvent(pointer); |
227 | 243 | break; |
228 | 244 | } |