* [ptxdist] Patch proposal: GTK and Pango using wrong X directories
@ 2013-12-26 19:24 Felix Mellmann
0 siblings, 0 replies; only message in thread
From: Felix Mellmann @ 2013-12-26 19:24 UTC (permalink / raw)
To: ptxdist
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-12-26 19:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-26 19:24 [ptxdist] Patch proposal: GTK and Pango using wrong X directories Felix Mellmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox