From 5706bfadeaa5080f06216f2099e5a81c701c6771 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Fri, 18 Nov 2016 00:31:09 +0000 Subject: [PATCH 1/4] Improve xrdp description, substitute package version --- pkgconfig/xrdp.pc.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgconfig/xrdp.pc.in b/pkgconfig/xrdp.pc.in index 038247c0..d5aa33ee 100644 --- a/pkgconfig/xrdp.pc.in +++ b/pkgconfig/xrdp.pc.in @@ -4,6 +4,6 @@ libdir=@libdir@ includedir=@includedir@ Name: xrdp -Description: An open source remote desktop protocol(RDP) server -Version: 0.9.2 +Description: An open source Remote Desktop Protocol (RDP) server +Version: @VERSION@ Cflags: -I${includedir} From 3ae4968af4e3ae8f000d6e4aed136220981bf28b Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Fri, 18 Nov 2016 00:35:33 +0000 Subject: [PATCH 2/4] Pass all substitutions to AC_CONFIG_FILES, sort and reformat them Passing arguments to AC_OUTPUT is obsolete. Remove commented out configure code. --- configure.ac | 67 +++++++++++++++++++++++----------------------------- 1 file changed, 30 insertions(+), 37 deletions(-) diff --git a/configure.ac b/configure.ac index 052634f9..e4d6925a 100644 --- a/configure.ac +++ b/configure.ac @@ -258,42 +258,35 @@ fi pkgconfigdir=${libdir}/pkgconfig AC_SUBST(pkgconfigdir) -AC_CONFIG_FILES([Makefile - common/Makefile - vnc/Makefile - rdp/Makefile - libxrdp/Makefile - xup/Makefile - mc/Makefile - neutrinordp/Makefile - xrdp/Makefile - sesman/Makefile - sesman/libscp/Makefile - sesman/tools/Makefile - sesman/sessvc/Makefile - sesman/chansrv/Makefile - keygen/Makefile - docs/Makefile - docs/man/Makefile - instfiles/Makefile - instfiles/pam.d/Makefile - instfiles/init.d/Makefile - instfiles/rc.d/Makefile - instfiles/default/Makefile - instfiles/pulse/Makefile - genkeymap/Makefile - xrdpapi/Makefile - xrdpvr/Makefile - pkgconfig/Makefile -]) -# fontdump/Makefile -# xrdp/cursors/Makefile -# Xserver/hw/rdp/Makefile -AC_OUTPUT([pkgconfig/xrdp.pc +AC_CONFIG_FILES([ + common/Makefile + docs/Makefile + docs/man/Makefile + genkeymap/Makefile + instfiles/default/Makefile + instfiles/init.d/Makefile + instfiles/Makefile + instfiles/pam.d/Makefile + instfiles/pulse/Makefile + instfiles/rc.d/Makefile + keygen/Makefile + libxrdp/Makefile + Makefile + mc/Makefile + neutrinordp/Makefile + pkgconfig/Makefile + pkgconfig/xrdp.pc + rdp/Makefile + sesman/chansrv/Makefile + sesman/libscp/Makefile + sesman/Makefile + sesman/sessvc/Makefile + sesman/tools/Makefile + vnc/Makefile + xrdpapi/Makefile + xrdp/Makefile + xrdpvr/Makefile + xup/Makefile ]) -# example of how to check for a struct in a header -#AC_CHECK_MEMBER([struct in6_addr.s6_addr], -# [], -# [AC_DEFINE(NO_ARPA_INET_H_IP6, 1, [for IPv6])], -# [#include ]) +AC_OUTPUT From 0fdda4ee2e09441aa6a31f3574fbde1e97d54167 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Fri, 18 Nov 2016 00:04:35 +0000 Subject: [PATCH 3/4] Add xrdp-uninstalled.pc to allow compilation against xrdp sources --- configure.ac | 1 + pkgconfig/xrdp-uninstalled.pc.in | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 pkgconfig/xrdp-uninstalled.pc.in diff --git a/configure.ac b/configure.ac index e4d6925a..c4198119 100644 --- a/configure.ac +++ b/configure.ac @@ -276,6 +276,7 @@ AC_CONFIG_FILES([ neutrinordp/Makefile pkgconfig/Makefile pkgconfig/xrdp.pc + pkgconfig/xrdp-uninstalled.pc rdp/Makefile sesman/chansrv/Makefile sesman/libscp/Makefile diff --git a/pkgconfig/xrdp-uninstalled.pc.in b/pkgconfig/xrdp-uninstalled.pc.in new file mode 100644 index 00000000..ae725d9a --- /dev/null +++ b/pkgconfig/xrdp-uninstalled.pc.in @@ -0,0 +1,6 @@ +includedir=${pc_top_builddir}/${pcfiledir}/common + +Name: xrdp +Description: An open source Remote Desktop Protocol (RDP) server +Version: @VERSION@ +Cflags: -I${includedir} From 0a300f51133dd0883c826b093b2f936b0dbf3b27 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Fri, 18 Nov 2016 00:42:45 +0000 Subject: [PATCH 4/4] Simplify pkgconfig/Makefile.am --- pkgconfig/Makefile.am | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/pkgconfig/Makefile.am b/pkgconfig/Makefile.am index 8c3b1af2..4fa572f9 100644 --- a/pkgconfig/Makefile.am +++ b/pkgconfig/Makefile.am @@ -1,12 +1,2 @@ -pkg_config_files = \ - xrdp.pc \ - $(NULL) - pkgconfigdir = @pkgconfigdir@ -pkgconfig_DATA = $(pkg_config_files) - -DISTCLEANFILES = \ - $(pkg_config_files) \ - Makefile.in \ - $(NULL) - +pkgconfig_DATA = xrdp.pc