* [Buildroot] gtk+ [not found] <1341046722.72419.YahooMailNeo@web160706.mail.bf1.yahoo.com> @ 2012-07-03 9:11 ` Thomas Petazzoni 2012-07-03 15:28 ` Sven Neumann 0 siblings, 1 reply; 5+ messages in thread From: Thomas Petazzoni @ 2012-07-03 9:11 UTC (permalink / raw) To: buildroot Hello Zoran, Could you please post future questions about Buildroot directly on the mailing list? I'm Cc'ing the list now. Le Sat, 30 Jun 2012 01:58:42 -0700 (PDT), Zoran Djordjevic <djdjdjole@yahoo.com> a ?crit : > I recently read? some answer you put regarding gtkmm question. What make me > interested in that answer was your declaration: "We already have gtk+ support > in Buildroot...". > My question is what should I check in menuconfig to enable gtk+ support ? gtk+ requires: * A graphic backend, either DirectFB or X.org. The DirectFB backend is not very well maintained, so I'd say you'll probably have more luck with the X.org backend. So you have to enable a X.org server in your Buildroot configuration. * A toolchain with wide char support and C++ support. These dependencies can be found by reading package/libgtk2/Config.in: config BR2_PACKAGE_LIBGTK2 bool "libgtk2" [...] depends on BR2_PACKAGE_XORG7||BR2_PACKAGE_DIRECTFB depends on BR2_USE_WCHAR # glib2 depends on BR2_INSTALL_LIBSTDCPP # pango help The GTK+ version 2 graphical user interface library Or by looking at the help text for BR2_PACKAGE_LIBGTK2 in menuconfig. Hope this helps, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] gtk+ 2012-07-03 9:11 ` [Buildroot] gtk+ Thomas Petazzoni @ 2012-07-03 15:28 ` Sven Neumann 2012-07-03 15:59 ` Thomas Petazzoni 0 siblings, 1 reply; 5+ messages in thread From: Sven Neumann @ 2012-07-03 15:28 UTC (permalink / raw) To: buildroot On Tue, 2012-07-03 at 11:11 +0200, Thomas Petazzoni wrote: > gtk+ requires: > * A toolchain with wide char support and C++ support. > > These dependencies can be found by reading package/libgtk2/Config.in: > > config BR2_PACKAGE_LIBGTK2 > bool "libgtk2" > [...] > depends on BR2_PACKAGE_XORG7||BR2_PACKAGE_DIRECTFB > depends on BR2_USE_WCHAR # glib2 > depends on BR2_INSTALL_LIBSTDCPP # pango > help > The GTK+ version 2 graphical user interface library I don't quite understand why pango needs C++ support though. As far as I know it is written in plain C. The pango Config.in file refers to freetype: depends on BR2_INSTALL_LIBSTDCPP # freetype support But freetype itself doesn't depend on C++ support. Regards, Sven ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] gtk+ 2012-07-03 15:28 ` Sven Neumann @ 2012-07-03 15:59 ` Thomas Petazzoni 2012-07-03 19:07 ` Peter Korsgaard 0 siblings, 1 reply; 5+ messages in thread From: Thomas Petazzoni @ 2012-07-03 15:59 UTC (permalink / raw) To: buildroot Le Tue, 03 Jul 2012 17:28:37 +0200, Sven Neumann <s.neumann@raumfeld.com> a ?crit : > I don't quite understand why pango needs C++ support though. As far as I > know it is written in plain C. The pango Config.in file refers to > freetype: > > depends on BR2_INSTALL_LIBSTDCPP # freetype support > > But freetype itself doesn't depend on C++ support. I haven't looked in details, but: commit 1c4dbb5fa7df89731e5d59f680e9dc34f24f8835 Author: Peter Korsgaard <jacmet@sunsite.dk> Date: Mon Aug 30 10:02:39 2010 +0200 pango: needs C++ for freetype handling Pango was recently updated to v1.28 as a dependency of webkit, but its freetype support has unfortunately been rewritten with parts in C++ (since pango 1.25), so adjust dependencies of pango and users of it to require C++ support. Regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] gtk+ 2012-07-03 15:59 ` Thomas Petazzoni @ 2012-07-03 19:07 ` Peter Korsgaard 2012-07-03 21:52 ` Sven Neumann 0 siblings, 1 reply; 5+ messages in thread From: Peter Korsgaard @ 2012-07-03 19:07 UTC (permalink / raw) To: buildroot >>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes: Hi, >> I don't quite understand why pango needs C++ support though. As far as I >> know it is written in plain C. The pango Config.in file refers to >> freetype: >> >> depends on BR2_INSTALL_LIBSTDCPP # freetype support >> >> But freetype itself doesn't depend on C++ support. Thomas> I haven't looked in details, but: Thomas> commit 1c4dbb5fa7df89731e5d59f680e9dc34f24f8835 Thomas> Author: Peter Korsgaard <jacmet@sunsite.dk> Thomas> Date: Mon Aug 30 10:02:39 2010 +0200 Thomas> pango: needs C++ for freetype handling Thomas> Pango was recently updated to v1.28 as a dependency of Thomas> webkit, but its freetype support has unfortunately been Thomas> rewritten with parts in C++ (since pango 1.25), so adjust Thomas> dependencies of pango and users of it to require C++ Thomas> support. Ahh yes, the harfbuzz text shaping engine: find -name \*.cc ./pango/opentype/hb-font.cc ./pango/opentype/hb-ot-layout.cc ./pango/opentype/main.cc http://www.freedesktop.org/wiki/Software/HarfBuzz -- Bye, Peter Korsgaard ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] gtk+ 2012-07-03 19:07 ` Peter Korsgaard @ 2012-07-03 21:52 ` Sven Neumann 0 siblings, 0 replies; 5+ messages in thread From: Sven Neumann @ 2012-07-03 21:52 UTC (permalink / raw) To: buildroot Hi, On Tue, 2012-07-03 at 21:07 +0200, Peter Korsgaard wrote: > Thomas> I haven't looked in details, but: > > Thomas> commit 1c4dbb5fa7df89731e5d59f680e9dc34f24f8835 > Thomas> Author: Peter Korsgaard <jacmet@sunsite.dk> > Thomas> Date: Mon Aug 30 10:02:39 2010 +0200 > > Thomas> pango: needs C++ for freetype handling > > Thomas> Pango was recently updated to v1.28 as a dependency of > Thomas> webkit, but its freetype support has unfortunately been > Thomas> rewritten with parts in C++ (since pango 1.25), so adjust > Thomas> dependencies of pango and users of it to require C++ > Thomas> support. > > Ahh yes, the harfbuzz text shaping engine: > > find -name \*.cc > ./pango/opentype/hb-font.cc > ./pango/opentype/hb-ot-layout.cc > ./pango/opentype/main.cc > > http://www.freedesktop.org/wiki/Software/HarfBuzz Ah, indeed. Thanks for pointing this out. Regards, Sven ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-07-03 21:52 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1341046722.72419.YahooMailNeo@web160706.mail.bf1.yahoo.com>
2012-07-03 9:11 ` [Buildroot] gtk+ Thomas Petazzoni
2012-07-03 15:28 ` Sven Neumann
2012-07-03 15:59 ` Thomas Petazzoni
2012-07-03 19:07 ` Peter Korsgaard
2012-07-03 21:52 ` Sven Neumann
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox