mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Felix Mellmann <felix.mellmann@googlemail.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] Patch proposal: GTK and Pango using wrong X directories
Date: Thu, 26 Dec 2013 19:24:53 +0000 (UTC)	[thread overview]
Message-ID: <loom.20131226T202033-71@post.gmane.org> (raw)

I'd like to propose a patch which will include proper X headers and
libraries for GTK and Pango. Currently ./configure will be called with
/usr/include and /usr/lib instead of their sysroot equivalents. I'm not
sure, which variable to use to express target's sysroot,
PTXDIST_SYSROOT_TARGET or just SYSROOT. To be sure, I chose the first one.

The maintainers may add my name and email address as signed-off.

Regards,
Felix

diff -urdN ptxdist-2013.12.0/rules/gtk.make
ptxdist-2013.12.0.debugged/rules/gtk.make
--- ptxdist-2013.12.0/rules/gtk.make    2013-12-18 10:48:42.000000000 +0100
+++ ptxdist-2013.12.0.debugged/rules/gtk.make   2013-12-26
18:43:55.278573071 +0100
@@ -42,8 +42,8 @@
 GTK_AUTOCONF := \
        $(CROSS_AUTOCONF_USR) \
        $(GLOBAL_LARGE_FILE_OPTION) \
-       --x-includes=$(XORG_PREFIX)/include \
-       --x-libraries=$(XORG_LIBDIR) \
+       --x-includes=$(PTXDIST_SYSROOT_TARGET)$(XORG_PREFIX)/include \
+       --x-libraries=$(PTXDIST_SYSROOT_TARGET)$(XORG_LIBDIR) \
        --enable-gtk2-dependency \
        --$(call ptx/endis, PTXCONF_GTK_XKB)-xkb \
        --$(call ptx/endis, PTXCONF_GTK_XINERAMA)-xinerama \
diff -urdN ptxdist-2013.12.0/rules/pango.make
ptxdist-2013.12.0.debugged/rules/pango.make
--- ptxdist-2013.12.0/rules/pango.make  2013-12-18 10:48:42.000000000 +0100
+++ ptxdist-2013.12.0.debugged/rules/pango.make 2013-12-26
18:45:38.907546890 +0100
@@ -48,8 +48,8 @@
 
 PANGO_AUTOCONF := \
        $(CROSS_AUTOCONF_USR) \
-       --x-includes=$(XORG_PREFIX)/include \
-       --x-libraries=$(XORG_LIBDIR) \
+       --x-includes=$(PTXDIST_SYSROOT_TARGET)$(XORG_PREFIX)/include \
+       --x-libraries=$(PTXDIST_SYSROOT_TARGET)$(XORG_LIBDIR) \
        --disable-gtk-doc \
        --disable-gtk-doc-html \
        --disable-gtk-doc-pdf \



-- 
ptxdist mailing list
ptxdist@pengutronix.de

                 reply	other threads:[~2013-12-26 19:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=loom.20131226T202033-71@post.gmane.org \
    --to=felix.mellmann@googlemail.com \
    --cc=ptxdist@pengutronix.de \
    /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