Commit Graph

38 Commits (983a7073bff0d39e8d6923146cb5acbebd3e4aa6)

Author SHA1 Message Date
volth 26a26ef906 fix build with --enable-xrdpdebug=yes 8 years ago
Pavel Roskin 0e7bc6e111 Compile libpainter only if enabled, fix path to libpainter.a
When subpackages are compiled outside the build tree, the build artifacts
are placed under top_builddir.
8 years ago
metalefty 25e5243ecf Merge pull request #553 from jsorg71/libpainter
add libpainter for drawing when client does not have minimum orders
8 years ago
Pavel Roskin c21b9a78f4 Distribute all files except git and github specific data
It is better to distribute a few useless file than not to distribute
needed files.
8 years ago
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.
8 years ago
Jay Sorg 1f51586769 add libpainter for drawing when client does not have minimum orders 8 years ago
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.
8 years ago
Pavel Roskin a370306f75 Get rid of EXTRA_LIBS, use variables with more specific names 8 years ago
Pavel Roskin 5c69f3cd57 Eliminate EXTRA_FLAGS, it's a poor name, use AM_LDFLAGS 8 years ago
Pavel Roskin 0422734fc7 Merge EXTRA_DEFINES and EXTRA_INCLUDES into AM_CPPFLAGS
AM_CPPFLAGS is a documented Automake variable for C preprocessor flags
that should not be overridden when compiling the package.

There is no need to have two additional variables that are ultimately
merged into AM_CPPFLAGS.

Their names are also confusing. EXTDA_DIST is a documented Automake
variable. Everything else that starts with "EXTRA" is not.
8 years ago
Koichiro IWAO ee3a38f93d xrdp: librfxcodc link fix
as same fix as done in 4a815d5 for libpainter
8 years ago
Jay Sorg 58c777783b add more advances region support using pixman 9 years ago
Pavel Roskin 7642675ddf Use "dist_" prefix to minimize use of EXTRA_DIST
"dist" is ignored in presense of "noinst", so keep noinst_man_MANS.
9 years ago
Pavel Roskin 59a5fb0ddb Move headers from EXTRA_DIST to sources, sort alphabetically
There should be no functional difference.
9 years ago
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.
9 years ago
Pavel Roskin a452d8d36a Merge AM_CFLAGS and INCLUDES info AM_CPPFLAGS
AM_CPPFLAGS is for flags passed to the preprocessor, such as defines and
includes. AM_CFLAGS is for flags affecting the compiler, such as debug
and optimization settings.

INCLUDES is an obsolete name. Users can pass INCLUDES and break
compilation. AM_CPPFLAGS is more explicit that the flags come from
Automake and should not be overridden.
9 years ago
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.
9 years ago
itamarjp 960cc62a0e add missing files into extra_dist,
this is required when using make dist to generate a tarball
10 years ago
Jay Sorg 779f0bf470 add xrdp_keyboard.ini to Makefile.am 11 years ago
Jay Sorg 7d5f7d1133 added --enable-rfxcodec 11 years ago
Laxmikant Rashinkar 9470b031aa xrdp_encoder: developer checkin 11 years ago
Laxmikant Rashinkar c96dd8df2b made login screen fully customizable 11 years ago
jgrandy 26ae5a60a8 Merge: add /opt/xrdp/lib to rpath in xrdp, for libfreerdp 12 years ago
Jay Sorg 19a9ed47dc xrdp: use full path for loading xrdp modules 12 years ago
Gustavo Homem 23584f7e5f remove legacy operation on rsakeys.ini 12 years ago
Gustavo Homem e702ac79d4 don't copy stock rsakeys.init 12 years ago
Guan-Zhong Huang 6fd7deb510 Fix compilation error without PAM 12 years ago
Jay Sorg 58f5dcc030 autotools: change top_srcdir to top_builddir for LIBADD 13 years ago
Itamar Reis Peixoto 6b08b8b71e include missing files in make dist 14 years ago
jsorg71 f312c16a8a added debug configure option 15 years ago
jsorg71 d350ec5bfd improve login graphics 16 years ago
jsorg71 23ffdb0c5f autotools fix and file_loc.h simplified 16 years ago
jsorg71 c3c6b39e3d fix for older auto tools 17 years ago
jsorg71 f1ebdf189e added post install hook 17 years ago
jsorg71 5f7131ea90 bin to sbin common change and additional install files 17 years ago
jsorg71 5b1953f156 build common as a library 17 years ago
jsorg71 a905f1dc80 -ldl not needed and not portable 17 years ago
jsorg71 c5fceb31ec autotools 17 years ago