Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] problems and solutions for tinyx
@ 2006-07-24  4:25 Biucchi Gabriele
  2006-07-24 10:23 ` [Buildroot] where to put patches for packages? Marc Lindahl
  2006-07-24 11:12 ` [Buildroot] problems and solutions for tinyx Erik Andersen
  0 siblings, 2 replies; 8+ messages in thread
From: Biucchi Gabriele @ 2006-07-24  4:25 UTC (permalink / raw)
  To: buildroot

I want only to point out some problems I had with tinyx and the 
solutions that work with me: I hope, this can help somebody.

1) change in tinyx-config.patch

tinyx-config.patch starts with:

--- xc/config/cf/host.def~ 2005-04-02 14:51:31.000000000 -0700
+++ xc/config/cf/host.def 2005-04-26 01:22:00.000000000 -0600

but I think it should be:

--- xc-011010/config/cf/host.def~ 2005-04-02 14:51:31.000000000 -0700
+++ xc-011010/config/cf/host.def 2005-04-26 01:22:00.000000000 -0600

2) change in tinyx.mk

Some programs (like rxvt) need x-includes and x-libraries in 
$(STAGING_DIR)/usr/X11R6/ , but tinyx.mk does not install anything there.

A naif solution consists to copy everything from $(TINYX_DIR)/exports/ 
into $(STAGING_DIR)/usr/X11R6/, substituting the line

tinyx: zlib $(TINYX_LIBX)/libX11.so.6.2 $(TINYX_BINX)/Xfbdev

with the following lines (please note the "-L" option used with cp):

$(STAGING_DIR)/usr/X11R6/lib/libX11.so.6.2: $(TINYX_LIBX)/libX11.so.6.2
    mkdir -p $(STAGING_DIR)/usr/X11R6/lib
    mkdir -p $(STAGING_DIR)/usr/X11R6/include
    cp -fRL $(TINYX_DIR)/exports/include/* $(STAGING_DIR)/usr/X11R6/include/
    cp -fRL $(TINYX_DIR)/exports/lib/* $(STAGING_DIR)/usr/X11R6/lib/

tinyx: zlib $(TINYX_LIBX)/libX11.so.6.2 $(TINYX_BINX)/Xfbdev 
$(STAGING_DIR)/usr/X11R6/lib/libX11.so.6.2

3) another change in tinyx.mk

The $PATH variable includes "/usr/bin/X11", but there is nothing there. 
A solution is to create a symbolic link between "/usr/bin/X11" and 
"/usr/X11R6/bin", putting in the tinyx.mk the line

ln -s /usr/X11R6/bin $(TARGET_DIR)/usr/bin/X11


Best regards,
Gabriele


	

	
		
___________________________________________________________ 
Der fr?he Vogel f?ngt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-07-26 12:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-24  4:25 [Buildroot] problems and solutions for tinyx Biucchi Gabriele
2006-07-24 10:23 ` [Buildroot] where to put patches for packages? Marc Lindahl
2006-07-24 11:08   ` Erik Andersen
2006-07-24 11:19     ` Marc Lindahl
2006-07-24 11:26       ` Erik Andersen
2006-07-24 11:12 ` [Buildroot] problems and solutions for tinyx Erik Andersen
2006-07-25  4:26   ` Biucchi Gabriele
2006-07-26 12:11     ` Erik Andersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox