Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Biucchi Gabriele <biucchi@tiscali.de>
To: buildroot@busybox.net
Subject: [Buildroot] problems and solutions for tinyx
Date: Tue Jul 25 04:26:42 2006	[thread overview]
Message-ID: <44C5FF63.1040402@tiscali.de> (raw)
In-Reply-To: <20060724181217.GB22730@codepoet.org>

Here is the patch for tinyx.mk

The change for tinyx-config.patch is not needed.

Best regards,
Gabriele

-------------- next part --------------
--- buildroot/package/tinyx/tinyx.mk	2006-07-25 11:56:45.000000000 +0200
+++ br/package/tinyx/tinyx.mk	2006-07-25 12:03:45.000000000 +0200
@@ -126,8 +126,19 @@
 		cp -pRf $$file $(TINYX_LIBX) ; \
 	done
 
-tinyx: zlib $(TINYX_LIBX)/libX11.so.6.2 $(TINYX_BINX)/Xfbdev
+#
+# Install x-includes and x-libraries in $(STAGING_DIR)/usr/X11R6/
+# and add a symbolic link between /usr/bin/X11 and /usr/X11R6/bin
+#
+$(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/
+	ln -s /usr/X11R6/bin $(TARGET_DIR)/usr/bin/X11
 
+tinyx: zlib $(TINYX_LIBX)/libX11.so.6.2 $(TINYX_BINX)/Xfbdev $(STAGING_DIR)/usr/X11R6/lib/libX11.so.6.2 
+	    
 tinyx-source: $(DL_DIR)/$(TINYX_SOURCE)
 
 tinyx-clean:

  reply	other threads:[~2006-07-25  4:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2006-07-26 12:11     ` Erik Andersen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44C5FF63.1040402@tiscali.de \
    --to=biucchi@tiscali.de \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox