Phillipp, ah, that's interesting. I'm obviously making packages the "quick
and dirty" route using checkinstall, but it's still a lot better than just
flinging binaries and libs onto the filesystem without the distro knowing
much about them - also makes it easier to remove or upgrade X11rdp, if the
X sources get updated later on...

If you don't mind may I incorporate those into my script?

Best regards,

Kev.


On Fri, Feb 1, 2013 at 8:01 AM, Philipp Hahn <h...@univention.de> wrote:

> Hello Kevin,
>
> thanks for your post, they provided some great introduction for me into
> xrdp.
>
> Am Freitag 01 Februar 2013 08:44:35 schrieb Kevin Cave:
> > The beta version of my X11rdp-o-Matic scripts now builds the X source and
> > X11rdp as packages using checkinstall, so check that out - I mentioned it
> > in a post to this list yesterday.
>
> I've replaced xorg/X11R7.6/rdp/Makefile with an automake file, because that
> simplified my task of building a minimal X server, since X.org now also
> uses
> automake. See attached patch.
>
> > It also builds xrdp as a package using checkinstall
>
> As being a Debian maintainer myself I prefer the Debian way.
> Prober integration with "configure --prefix=$PREFIX" and "make install
> DESTDIR=$STAGING" would help for that.
> Fixing some "make distcheck" problems
>
> Sincerely
> Philipp
> --
> Philipp Hahn           Open Source Software Engineer
> h...@univention.de
> Univention GmbH        be open.                       fon: +49 421 22
> 232- 0
> Mary-Somerville-Str.1  D-28359 Bremen                 fax: +49 421 22
> 232-99
>
> http://www.univention.de/
>
> --- a/configure.ac
> +++ b/configure.ac
> @@ -127,6 +127,7 @@ AC_CONFIG_FILES([Makefile
>                   genkeymap/Makefile
>                   xrdpapi/Makefile
>                   xrdpvr/Makefile
> +                 xorg/X11R7.6/rdp/Makefile
>  ])
>  #                 fontdump/Makefile
>  #                 xrdp/cursors/Makefile
> --- /dev/null
> +++ b/xorg/X11R7.6/rdp/Makefile.am
> @@ -0,0 +1,82 @@
> +X11RDPBASE ?= /usr
> +
> +INCBASE = $(X11RDPBASE)/include
> +LIBBASE = $(X11RDPBASE)/lib
> +
> +XSRCBASE = ../build_dir/xorg-server-1.9.3
> +
> +# Build a convenience library to simplify inter-library dependencies
> +noinst_LTLIBRARIES = librdp.la
> +librdp_la_SOURCES = \
> +       rdpdraw.c rdpinput.c rdpmisc.c rdpup.c rdprandr.c \
> +       rdpCopyArea.c rdpPolyFillRect.c rdpPutImage.c rdpPolyRectangle.c \
> +       rdpPolylines.c rdpPolySegment.c rdpFillSpans.c rdpSetSpans.c \
> +       rdpCopyPlane.c rdpPolyPoint.c rdpPolyArc.c rdpFillPolygon.c \
> +       rdpPolyFillArc.c rdpPolyText8.c rdpPolyText16.c \
> +       rdpImageText8.c rdpImageText16.c rdpImageGlyphBlt.c
> rdpPolyGlyphBlt.c \
> +       rdpPushPixels.c \
> +       $(XSRCBASE)/mi/miinitext.c \
> +       $(XSRCBASE)/fb/fbcmap_mi.c
> +librdp_la_LIBADD = \
> +       $(XSRCBASE)/dbe/libdbe.la \
> +       $(XSRCBASE)/dix/libdix.la \
> +       $(XSRCBASE)/dix/libmain.la \
> +       $(XSRCBASE)/fb/libfb.la \
> +       $(XSRCBASE)/mi/libmi.la \
> +       $(XSRCBASE)/os/libos.la \
> +       $(XSRCBASE)/randr/librandr.la \
> +       $(XSRCBASE)/record/librecord.la \
> +       $(XSRCBASE)/render/librender.la \
> +       $(XSRCBASE)/xkb/libxkb.la \
> +       $(XSRCBASE)/Xext/libXext.la \
> +       $(XSRCBASE)/Xi/libXi.la \
> +       $(XSRCBASE)/glx/libglx.la \
> +       $(XSRCBASE)/xfixes/libxfixes.la \
> +       $(XSRCBASE)/damageext/libdamageext.la \
> +       $(XSRCBASE)/miext/damage/libdamage.la
> +
> +# Build the X server
> +bin_PROGRAMS = X11rdp
> +X11rdp_SOURCES = rdpmain.c
> +X11rdp_LDADD = librdp.la \
> +       -lm -lXau $(LIBBASE)/libXfont.a -lfreetype -lfontenc \
> +       -lXdmcp -lpixman-1 -lrt -ldl -lcrypto
> +X11rdp_LDFLAGS = -Wl,--as-needed
> +AM_CPPFLAGS = -O2 -g -Wall -fno-strength-reduce \
> +       -I$(INCBASE) \
> +       -I$(INCBASE)/X11 \
> +       -I/usr/include/X11/fonts \
> +       -I/usr/include/X11/extensions \
> +       -I$(INCBASE)/xorg \
> +       -I/usr/include/pixman-1 \
> +       -I../../../common \
> +       -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_REENTRANT \
> +       -DGLX_USE_MESA -DXRECORD -D_GNU_SOURCE -DXAPPGROUP \
> +       -DTOGCUP -DSINGLEDEPTH -DXFree86Server \
> +       -DDBE -DEVI -DXVMC -DFONTCACHE -DGCCUSESGAS -DSTATIC_COLOR \
> +       -DAVOID_GLYPHBLT -DFUNCPROTO=15 -DNARROWPROTO -DDDXOSFATALERROR \
> +       -DPART_NET -DDDXTIME -D_HAVE_XALLOC_DECLS \
> +       -DDAMAGE \
> +       -DXFIXES \
> +       -DSMART_SCHEDULE -DSERVER_LOCK -DGLXEXT -DSHAPE -DRENDER -DRANDR \
> +       -DBIGREQS -D_POSIX_SOURCE -D_BSD_SOURCE -DSCREENSAVER \
> +       -DXCMISC -DXTEST -DXTRAP -DXV -DXSYNC -DMITMISC -DPANORAMIX \
> +       -DDPMSExtension -DXvExtension -DXvMCExtension -DXResExtension \
> +       -DMITSHM -DPIXPRIV -DNDEBUG -DDDXOSINIT -DXKB -DXINPUT
> +
> +#-DDAMAGE
> +
> +# -pedantic
> +# -DXCSECURITY -DXF86BIGFONT
> +
> +# these are defined in xorg-server.h
> +# -D_XOPEN_SOURCE=500L
> +# -DX_BYTE_ORDER=X_LITTLE_ENDIAN
> +# -DSMART_SCHEDULE -DSERVER_LOCK -DGLXEXT -DSHAPE -DRENDER -DRANDR
> +# -DBIGREQS -D_POSIX_SOURCE -D_BSD_SOURCE -DSCREENSAVER -DXF86BIGFONT
> +# -DXCMISC -DXTEST -DXTRAP -DXV -DXSYNC -DMITMISC -DPANORAMIX
> +# -DDPMSExtension -DXvExtension -DXvMCExtension -DXResExtension
> +# -DMITSHM -DPIXPRIV -DNDEBUG -DDDXOSINIT
> +
> +# these are not needed I think
> +# -Dlinux -D__i386__
>
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
xrdp-devel mailing list
xrdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xrdp-devel

Reply via email to