Skip to contentSkip to conversation

Create X symlink for TinyX

PATCH New Paulius Zaleckas 3 participants 6 messages Nov 4, 2010 – Nov 5, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 Create X symlink for TinyX

When installing TinyX to target create /usr/bin/X symlink to Xfbdev as it is the only TinyX driver we build. This makes utils like startx happy :)

---

 .../xserver_xorg-server/xserver_xorg-server.mk     |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
package/x11r7/xserver_xorg-server/xserver_xorg-server.mk +4 -0
index d9ea570..7fc2a8a 100644
@@ -74,6 +74,10 @@ endif
 ifeq ($(BR2_PACKAGE_XSERVER_tinyx),y)
 XSERVER_XORG_SERVER_CONF_OPT += --enable-kdrive --enable-xfbdev \
 		--disable-glx --disable-dri --disable-xsdl
+define XSERVER_CREATE_X_SYMLINK
+ ln -f -s Xfbdev $(TARGET_DIR)/usr/bin/X
+endef
+XSERVER_XORG_SERVER_POST_INSTALL_TARGET_HOOKS += XSERVER_CREATE_X_SYMLINK
 else
 XSERVER_XORG_SERVER_CONF_OPT += --disable-kdrive --disable-xfbdev
 endif
#1 lore raw

PATCH 2/2 Bump xinit to 1.2.1

---

 package/x11r7/xapp_xinit/xapp_xinit.mk |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
package/x11r7/xapp_xinit/xapp_xinit.mk +1 -2
index 40f68ec..52105c2 100644
@@ -4,10 +4,9 @@
 #
 ################################################################################
 
-XAPP_XINIT_VERSION = 1.0.5
+XAPP_XINIT_VERSION = 1.2.1
 XAPP_XINIT_SOURCE = xinit-$(XAPP_XINIT_VERSION).tar.bz2
 XAPP_XINIT_SITE = http://xorg.freedesktop.org/releases/individual/app
-XAPP_XINIT_AUTORECONF = NO
 XAPP_XINIT_DEPENDENCIES = xapp_xauth xlib_libX11
 
 $(eval $(call AUTOTARGETS,package/x11r7,xapp_xinit))
#4 lore raw

PATCH 1/2 Create X symlink for TinyX

In reply to Paulius Zaleckas
Quoted 5 lines · On Thu, 04 Nov 2010 10:58:33 +0200 Paulius Zaleckas…

When installing TinyX to target create /usr/bin/X symlink to Xfbdev as it is the only TinyX driver we build. This makes utils like startx happy :)

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#5 lore raw

PATCH 1/2 Create X symlink for TinyX

In reply to Paulius Zaleckas
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Paulius" == Paulius Zaleckas <[email protected]> writes:

Paulius> When installing TinyX to target create /usr/bin/X symlink Paulius> to Xfbdev as it is the only TinyX driver we build. Paulius> This makes utils like startx happy :)

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard