From 6e85223a8a0eb6fb12a3623f016e9d1888c4d32a Mon Sep 17 00:00:00 2001 From: Laxmikant Rashinkar Date: Sun, 9 Mar 2014 15:50:16 -0700 Subject: [PATCH] xorg driver module: we now access xorg driver module from /usr/lib/xorg --- sesman/sesman.ini | 17 ++++++----------- xorg/server/Makefile | 11 +++++++++++ 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/sesman/sesman.ini b/sesman/sesman.ini index 2ca9b86b..067bc00e 100644 --- a/sesman/sesman.ini +++ b/sesman/sesman.ini @@ -49,14 +49,9 @@ param6=-dpi param7=96 [Xorg] -param1=-modulepath -param2=/home/lk/xorg-modules -param3=-config -param4=xrdp/xorg.conf -param5=-logfile -param6=/dev/null -param7=-novtswitch -param8=-sharevts -param9=-noreset -param10=-ac -param11=vt7 +param1=-config +param2=xrdp/xorg.conf +param3=-logfile +param4=/dev/null +param5=-noreset +param6=-ac diff --git a/xorg/server/Makefile b/xorg/server/Makefile index ad82975a..1aed58ad 100644 --- a/xorg/server/Makefile +++ b/xorg/server/Makefile @@ -16,7 +16,18 @@ allclean: cd xrdpmouse; $(MAKE) clean xinstall: + strip module/libxorgxrdp.so + strip xrdpdev/xrdpdev_drv.so + strip xrdpmouse/xrdpmouse_drv.so + strip xrdpkeyb/xrdpkeyb_drv.so + cp module/libxorgxrdp.so $(HOME)/xorg-modules/ cp xrdpdev/xrdpdev_drv.so $(HOME)/xorg-modules/drivers/ cp xrdpmouse/xrdpmouse_drv.so $(HOME)/xorg-modules/input/ cp xrdpkeyb/xrdpkeyb_drv.so $(HOME)/xorg-modules/input/ + +install: + install --mode=0644 --strip module/libxorgxrdp.so /usr/lib/xorg/modules + install --mode=0644 --strip xrdpdev/xrdpdev_drv.so /usr/lib/xorg/modules/drivers + install --mode=0644 --strip xrdpmouse/xrdpmouse_drv.so /usr/lib/xorg/modules/input + install --mode=0644 --strip xrdpkeyb/xrdpkeyb_drv.so /usr/lib/xorg/modules/input