Commit Graph

220 Commits

Author SHA1 Message Date
matt335672 63c3ca4ddd
Merge pull request #1962 from matt335672/imlib2
Add imlib2 support for login screen customisation (#1962)
2021-09-01 10:19:11 +01:00
matt335672 e35507125c Address review comments and re-test 2021-09-01 10:09:30 +01:00
matt335672 1606cdfb8e Added -with-imlib2 to configure.ac 2021-09-01 10:09:30 +01:00
matt335672 47737c7d13 Add unit tests for xrdp_bitmap_load() 2021-09-01 10:09:30 +01:00
Koichiro IWAO 61cb6ca4f9 Bump version to 0.9.1 2021-08-31 11:21:55 +09:00
matt335672 7e03f8d006 Actively prevent user from specifying --enable-xrdpdebug 2021-06-04 14:43:18 +01:00
matt335672 c714a555bd Added in --enable-devel-streamcheck 2021-05-28 10:57:12 +01:00
matt335672 52a52daddd Split development option into separate things 2021-05-28 10:57:12 +01:00
Koichiro IWAO b042d986fc
bump version to v0.9.16 2021-04-30 20:45:02 +09:00
Koichiro IWAO 55f57e5a5d
`make distcheck` should only succeed if check is installed 2021-04-24 23:38:40 +09:00
Koichiro IWAO b86315de42
add `--enable-tests` flag to ensure dependencies for the tests 2021-04-24 23:38:13 +09:00
Koichiro IWAO bb7b7a3374 Perform unit tests only if check is installed 2021-04-20 23:17:26 +09:00
Koichiro IWAO 859a9d87c3
rely on pkg-config when finding check
The former code complains to install check even it is actually
installed.
2021-04-15 22:38:46 +09:00
Alexandre Quesnel 09174ccd4d Adding g_strnjoin() with units tests 2021-04-14 04:41:53 +00:00
Alexandre Quesnel 16fe9a021a Moving gtcp_proxy and tcp_proxy to the tools/devel directory 2021-03-26 14:16:00 +00:00
Alexandre Quesnel ec52c6466d Adding self-contained tests to be built during `make all` 2021-03-26 00:59:16 +00:00
matt335672 956e742213 Rename USE_NOPAM as USE_PAM 2021-02-05 11:44:43 +00:00
Koichiro IWAO 114fc6eeaa
bump version to v0.9.15 2020-12-28 22:52:10 +09:00
matt335672 c69a26e9b4 Addressed review comments 2020-12-15 10:55:26 +00:00
matt335672 7ddc43aeea Cosmetic fixes for minor issues 2020-12-14 11:35:31 +00:00
Alexandre Quesnel ec53a0398d Enabling fuse for 32-bit CI builds 2020-09-08 17:16:09 +00:00
Koichiro IWAO 9ec6162a54
bump version to v0.9.14 2020-08-31 14:24:54 +09:00
Alexandre Quesnel 7e58209b19 Fixing the build with --enable-xrdpdebug and CFLAGS=-Werror -Wall 2020-07-25 23:53:26 +00:00
Koichiro IWAO b3b1fff833
bump version to v0.9.13 2020-03-11 13:04:35 +09:00
Koichiro IWAO dd047bb181
bump version to v0.9.12 2019-12-28 21:07:35 +09:00
Jay Sorg d7b1f12d9b default rdpsnd audin off, can enable with --enable-rdpsndaudin 2019-10-22 22:48:15 -07:00
Koichiro IWAO a350292628
bump version to v0.9.11 2019-08-19 16:00:33 +09:00
Koichiro IWAO d6e2dbe82d
Bump to v0.9.10 2019-04-18 10:22:53 +09:00
Koichiro IWAO 5a80fc9256
Bump version to v0.9.9 2018-12-25 13:31:09 +09:00
Koichiro IWAO 7672014d4e
Bump version to v0.9.8 2018-09-25 13:49:55 +09:00
Koichiro IWAO 2d3170c007
Bump version to v0.9.7 2018-06-29 00:04:25 +09:00
Koichiro IWAO c0c7c3f106
xrdp: unify inconsistent mixed use of
* configure params
* configure options
* configure string
2018-06-27 09:00:55 +09:00
Koichiro IWAO be05afb30b
xrdp: print configure options to --version more pretty 2018-06-27 09:00:52 +09:00
Jay Sorg 349616a35d add ipv6only to configure echo and add configure parameter to xrdp -h output 2018-05-25 22:17:31 -07:00
Koichiro IWAO 9d8816b41b
configure: set default value for enable_strict_locations
This change prints yes or no to configure summary introduced in #1118.
2018-05-10 18:28:34 +09:00
Jay Sorg 0f89820351 echo configure summary 2018-05-02 15:33:01 -07:00
Boris Bopp 31fc125e42 Configure.ac: Add missing macos option for pam config 2018-03-27 12:42:51 +09:00
Boris Bopp e875cd2af5 instfiles: Add pam.d config for arch linux. 2018-03-27 12:42:51 +09:00
Koichiro IWAO af57e191df
Bump version to v0.9.6 2018-03-26 11:11:51 +09:00
Vraiment 4cee6726f8 Make changes to generate dylibs in mac again 2018-01-30 01:21:07 -08:00
Koichiro IWAO 060e04313b Bump version to v0.9.5 2017-12-27 23:29:21 +09:00
Justin Terry (VM) 50bd624cc4 Implements XRDP over vsock
1. Implements the ability to use AV_VSOCK for the transport rather than TCP.
2. Updates the ini file to be able to conditionally turn this feature on.
2017-11-07 18:20:45 -08:00
Koichiro IWAO ac5987cf13 Prepare release v0.9.4 2017-09-26 15:56:11 +09:00
Koichiro IWAO a094c65aaf Release v0.9.3.1 2017-08-16 14:07:32 +09:00
Jay Sorg 152318ad7c use pkg-config to configure with fdk-aac 2017-08-04 17:24:57 -07:00
Jay Sorg 4f91a52109 chansrv: sound, remove a do not know and a comment 2017-08-04 17:24:57 -07:00
Jay Sorg bf0d56c314 chansrv: sound, add aac 2017-08-04 17:24:57 -07:00
Koichiro IWAO 9f8a902476 Add a pam file for FreeBSD
as existing xrdp-sesman.unix doesn't suit FreeBSD.
2017-07-21 14:04:50 +09:00
Koichiro IWAO 73a37a5441 Prepare release v0.9.3 2017-07-06 18:07:32 +09:00
Koichiro IWAO 67aab0a706 configure: fix confusing help text about painter and librfxcodec
painter and librfxcodec are enabled by default. --disable-* options
disables them.

Before:
  --disable-painter       Use included painter library (default: yes)
  --disable-rfxcodec      Use included librfxcodec library (default: yes)

After:
  --disable-painter       Do not use included painter library (default: no)
  --disable-rfxcodec      Do not use included librfxcodec library (default:
                          no)
2017-05-23 11:26:51 +09:00
speidy d7882d5041 Bump version number to v0.9.2 2017-03-30 09:04:47 +03:00
Jay Sorg 05c599666d sesman: remove sessvc, one less process to manage 2017-03-19 17:16:36 -07:00
Pavel Roskin 58c9cb43e9 Make socket directory configurable, don't hardcode /tmp/.xrdp
Use XRDP_SOCKET_PATH in file_loc.h

Don't define any non-socket paths in file_loc.h, they should come from
the makefiles.

Define all paths unconditionally, they should not be defined elsewhere.

Pass XRDP_SOCKET_PATH as environment variable to the backends.
2017-03-17 22:25:05 -07:00
Pavel Roskin 24d44def60 Add --enable-strict-locations option, describe default in its help text
Rather than guess user's intention based on whether --prefix was
specified, use an explicit option to enable strict GNU Coding Standards
for installation directories.

The default is to use /etc and /var rather than corresponding directories
under prefix.

Use --enable-strict-locations in "make distcheck", it expects all
installed files to be under prefix.
2017-03-02 21:47:37 -08:00
Pavel Roskin a71e5395f1 Enable painter and librfxcodec by default
Change help messages to clarify that both libraries are included. Move
messages next to each other. Remove duplicate XRDP_PAINTER conditional.
2017-03-01 20:39:16 -08:00
Pavel Roskin 6a3f0a75bd Remove support for OpenSSL older than 0.9.8
It's hard to find an older version of OpenSSL even on long term support
distros.
2017-02-02 21:39:10 -08:00
mirabilos 6257bae23f Add GNU/kFreeBSD support (#645)
* GNU/kFreeBSD is a FreeBSD variant, for code purposes.

* GNU/kFreeBSD uses GNU/Linux-ish init scripts, however.
2017-01-26 23:02:41 -02:00
Idan Freiberg 92d9f2e37e Merge pull request #627 from proski/openssl
Check for openssl binary in configure, don't fail if not found
2017-01-23 08:22:29 +02:00
Pavel Roskin 3cace61d9e Only check for systemd on Linux, no need to warn users of other OSes 2017-01-21 18:20:45 -08:00
Pavel Roskin 250bb61025 Check for openssl binary in configure, don't fail if not found
Prefer openssl binary from the same location as the openssl library.

Make it possible to suppress certificate generation during install by
passing OPENSSL=: to make.
2017-01-21 18:20:24 -08:00
Pavel Roskin 2b614ed4ab Remove librdp.so sources, it's obsoleted by neutrinordp
Remove "rdp-any" section from xrdp.ini.
2017-01-19 20:13:49 -08:00
Pavel Roskin 8799bbac42 Allow PAM file selection in configure, improve autodetection, add SUSE
Use easy to understand names for config files (debian, redhat, suse,
unix). Move all autodetection to a separate script.
2017-01-15 00:57:59 -08:00
Pavel Roskin ce69280951 Remove obsolete --enable-nopam option 2017-01-06 11:23:44 -08:00
Pavel Roskin 3376a6daf8 Exit with error message if pkg-config is not found
PKG_PROG_PKG_CONFIG does not exit if it fails to find pkg-config.

Continuing without pkg-config leads to misleading error messages when
checks for packages fail.
2017-01-04 10:37:42 -08:00
Pavel Roskin ac51259573 When Xfixes.h is checked, the user should have libX11 already
No need to confuse the user by asking to install libX11 headers.
2016-12-31 00:51:13 -08:00
Itamar Reis Peixoto 5c2a84da60 Merge pull request #568 from proski/v091
Update version to 0.9.1
2016-12-20 23:57:11 -02:00
Pavel Roskin 6aed11a8ce Update version to 0.9.1 2016-12-20 13:07:53 -08:00
Pavel Roskin 914cdcfee2 Don't fail without working nasm if rfxcodec is not enabled 2016-12-20 13:07:45 -08:00
metalefty 25e5243ecf Merge pull request #553 from jsorg71/libpainter
add libpainter for drawing when client does not have minimum orders
2016-12-20 17:00:48 +09:00
Pavel Roskin 191eec5e8d Make libpainter a subpackage of xrdp 2016-12-17 16:14:53 -08:00
Pavel Roskin e65aa594e8 Make librfxcodec a subpackage
Since libpainter is going to become a subpackage, we can make librfxcodec
a subpackage as well.

With this change, librfxcodec is configured, built and linked to xrdp
automatically if enabled by "--enable-rfxcodec"

librfxcodec is packaged by "make dist" regardless of "--enable-rfxcodec"

librfxcodec/confgure is run unconditionally, it's needed for "make dist"
to work. But librfxcodec is only compiled if enabled.
2016-12-15 22:37:20 -08:00
Jay Sorg 1f51586769 add libpainter for drawing when client does not have minimum orders 2016-12-15 21:17:50 -08:00
Pavel Roskin 04414e0fd4 Disable privilege elevation by setuid for the X server 2016-12-06 15:09:52 -08:00
Pavel Roskin c759a1a645 Make configure show it's looking for "pixman", not "xrdp_pixman"
The pixman library in not part of xrdp. If users see that "xrdp_pixman"
is not found, they might assume it is some xrdp specific library.

The Automake conditional is still XRDP_PIXMAN, but the pkg-config
variables become PIXMAN_LIBS and PIXMAN_CFLAGS.
2016-12-04 19:38:45 -08:00
Pavel Roskin c6307aa2b0 Use pkg-config to discover OpenSSL
All supported versions of OpenSSL have pkg-config files.
2016-11-29 17:00:09 -08:00
Pavel Roskin 06f4f72e28 Add -ldl to libcommon link flags if it's needed for dlopen() 2016-11-29 16:25:37 -08:00
Pavel Roskin 3ffdcfe02d Use PKG_INSTALLDIR to determine pkg-config file install location
The PKG_INSTALLDIR macro also enables --with-pkgconfigdir for easy
overrides.

PKG_INSTALLDIR is relatively new, it appeared in pkg-config 0.27. To
ensure we have a recent pkg.m4 copy, copy pkg.m4 to the m4 directory.
2016-11-20 21:58:31 -08:00
Pavel Roskin 0fdda4ee2e Add xrdp-uninstalled.pc to allow compilation against xrdp sources 2016-11-18 00:38:07 +00:00
Pavel Roskin 3ae4968af4 Pass all substitutions to AC_CONFIG_FILES, sort and reformat them
Passing arguments to AC_OUTPUT is obsolete.

Remove commented out configure code.
2016-11-18 00:35:33 +00:00
Jay Sorg 9e9ae2fa1f fix a typo in .pc file 2016-11-17 11:59:42 -08:00
Jay Sorg 50db3bb983 add pkgconfig xrdp.pc file 2016-11-17 11:57:10 -08:00
Pavel Roskin 5465b8c85e Add socklen_t check with substitution, use socklen_t as needed 2016-09-08 20:26:19 -07:00
Jay Sorg d35e57b117 Pixman fixes 2016-08-11 22:18:26 -07:00
Jay Sorg 58c777783b add more advances region support using pixman 2016-08-08 20:02:10 -07:00
jsorg71 8353baab3d Merge pull request #390 from proski/june21
Cleanups and C++ compatibility
2016-08-05 14:38:41 -07:00
Jay Sorg 9ccbfb6985 chansrv: added mp3 compression from Speidy 2016-07-13 17:44:07 -07:00
Pavel Roskin a680d46edf Use -Wwrite-strings compiler flag if supported, add required macros
String literals are const in C++. Using this warnings moves us closer to
the stated goal of C++ compatibility, makes the code cleaner and lets
compilers optimize the code better.

Add m4/ax_append_compile_flags.m4 from Autoconf Archives for the
AX_APPEND_COMPILE_FLAGS macro and m4/ax_check_compile_flag.m4 as its
dependency.
2016-07-08 04:29:40 +00:00
Pavel Roskin 9091c3eef2 Annotate printf-like functions if supported by the compiler
Both GCC and Clang support it. Add a macro from Autoconf archive to check
for format attribute support.
2016-03-03 22:56:09 -08:00
Pavel Roskin 4da6f8a538 Enable -Wall flag for compilers that support it
Add Autoconf archive macros to check for -Wall and its dependencies.
Adjust m4/.gitignore to only ignore libtool macros.

Require Autoconf 2.65 for compatibility with Autoconf archive macros.
2016-03-03 22:56:09 -08:00
Pavel Roskin dcab7552db Stop redefining libdir, use moduledir for ${libdir}/xrdp
libdir is for shared and static libraries. Some xrdp libraries are loaded
dynamically from a non-standard directory, so they are used like modules.

Having separate libdir and moduledir would eventually allow to separate
dynamically loaded modules from shared libraries.
2016-02-12 23:52:46 -08:00
Pavel Roskin 0e75e13b42 Automake 1.7.2 is the oldest version working with xrdp
Automake 1.6.x cannot deal with conditional EXTRA_LIBS. Automake 1.7 and
1.7.1 cannot deal with line continuation in SUBDIRS.

It is important to have correct requirements to know what Automake
features can be used.
2016-02-12 23:52:45 -08:00
Pavel Roskin 04fc814efd Use silent rules by default if supported by Automake
Silent rules make warnings stand out, so they are fixed early.
2016-02-12 23:52:45 -08:00
Pavel Roskin 3d8045d3aa Use AC_CONFIG_MACRO_DIR, not AC_CONFIG_MACRO_DIRS
AC_CONFIG_MACRO_DIRS requires a very recent Automake, much newer than the
declared version 1.6 (even 1.11 doesn't work). AC_CONFIG_MACRO_DIR is
defined by Autoconf starting with version 2.58, so it's within the
currently declared constraints.
2016-02-10 00:49:20 -08:00
Itamar Reis Peixoto 08121e0840 Merge pull request #254 from metalefty/freebsd/ipv6
Unbreak IPv6 on FreeBSD and add IPv6-only option
2016-02-08 22:40:05 -02:00
Pavel Roskin 00e70a5c54 Use standard autotools means to detect X11
Use AC_PATH_XTRA to search for X11 in configure.ac. In Makefiles, add
X_CFLAGS to AM_CFLAGS for the source compilation. Add X_LIBS to LDFLAGS.
Add X_PRE_LIBS and X_EXTRA_LIBS to LDADD.

With this patch, X Windows system is correctly detected on Mac OS X.
2016-01-30 17:18:52 -08:00
Pavel Roskin 2694fa9dac Create the m4 directory for Autoconf macro files
Keeping separate files is more maintainable than merging them into a
single aclocal.m4 file. It is easier for users to understand where those
files come from.

Automake knows how to distribute files in the m4 directory.
2016-01-29 23:41:40 -08:00
Pavel Roskin ee1a237685 Remove GOT_PREFIX, it's a broken hack of limited utility
To add flags to the compiler, CFLAGS, CPPFLAGS or LDFLAGS can be used on
the configure command line.

The need to add flags depends on the location of the headers and
libraries of the dependencies, which is orthogonal to the directory where
xrdp will be installed.

The implementation in configure.ac has a stray closing bracket, making
GOT_PREFIX true even if --prefix is not passed.

The implementation is inconsistent - the only affected makefiles are for
xrdp and libxrdp.

Changing rpath manually is wrong in most cases. Libtool should be able to
set rpath correctly on its own.

Using $(prefix)/lib ignores the libdir setting. For many 64-bit systems,
/usr/lib is used for 32-bit libraries. Adding 32-bit libraries to the
rpath slows down 64-bit executables, as the dynamic loader searches for
libraries in a wrong directory.

There is no way to disable GOT_PREFIX if --prefix has to be passed.
Fedora RPM patches configure.ac and needs to rerun autoconf and automake
after that.
2016-01-26 22:36:59 -08:00
Koichiro IWAO 2a317d3db8 Update mailing list address 2015-12-22 18:26:56 +09:00
Koichiro IWAO 536ee41c5e common: add --enable-ipv6only option 2015-07-02 15:08:56 +09:00
Koichiro IWAO 5bc0453605 common: drop ipv6 autodetection only valid for linux 2015-07-02 15:08:55 +09:00