All of lore.kernel.org
 help / color / mirror / Atom feed
From: Spenser Gilliland <spenser@gillilanding.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v9 03/14] libgtk2: bump to version 2.24.18
Date: Thu, 30 May 2013 11:30:26 -0500	[thread overview]
Message-ID: <1369931437-12445-4-git-send-email-spenser@gillilanding.com> (raw)
In-Reply-To: <1369931437-12445-1-git-send-email-spenser@gillilanding.com>


Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
---
 package/libgtk2/Config.in                         |   13 ++----
 package/libgtk2/libgtk2-reduce-dependencies.patch |   51 +++++++++++----------
 package/libgtk2/libgtk2.mk                        |    2 +-
 3 files changed, 32 insertions(+), 34 deletions(-)

diff --git a/package/libgtk2/Config.in b/package/libgtk2/Config.in
index 88f4cc1..462b0b6 100644
--- a/package/libgtk2/Config.in
+++ b/package/libgtk2/Config.in
@@ -8,11 +8,11 @@ config BR2_PACKAGE_LIBGTK2
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_PANGO
 	select BR2_PACKAGE_GDK_PIXBUF
-	select BR2_PACKAGE_FONTCONFIG if BR2_PACKAGE_XORG7
-	select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
-	select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7
-	select BR2_PACKAGE_XLIB_LIBXRENDER if BR2_PACKAGE_XORG7
-	depends on BR2_PACKAGE_XORG7||BR2_PACKAGE_DIRECTFB
+	select BR2_PACKAGE_FONTCONFIG
+	select BR2_PACKAGE_XLIB_LIBX11
+	select BR2_PACKAGE_XLIB_LIBXEXT
+	select BR2_PACKAGE_XLIB_LIBXRENDER
+	depends on BR2_PACKAGE_XORG7
 	depends on BR2_USE_WCHAR # glib2
 	depends on BR2_INSTALL_LIBSTDCPP # pango
 	help
@@ -29,6 +29,3 @@ config BR2_PACKAGE_LIBGTK2_DEMO
 
 comment "libgtk2 requires a toolchain with WCHAR and C++ support"
 	depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP
-
-comment "WARNING: Libgtk2 directfb backend is deprecated"
-	depends on BR2_PACKAGE_LIBGTK2 && !BR2_PACKAGE_XORG7
diff --git a/package/libgtk2/libgtk2-reduce-dependencies.patch b/package/libgtk2/libgtk2-reduce-dependencies.patch
index 5bb9db9..e9be429 100644
--- a/package/libgtk2/libgtk2-reduce-dependencies.patch
+++ b/package/libgtk2/libgtk2-reduce-dependencies.patch
@@ -3,21 +3,23 @@ dependencies on graphic backends such as X.org or DirectFB. Gtk does
 not fully build in this mode, but it builds sufficiently to build the
 host tools that are needed to build the target Gtk.
 
+Changes:
+	Ported to 2.24.18
+
 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
 ---
- configure.in |   34 +++++++++++++++++++++++++++-------
- 1 file changed, 27 insertions(+), 7 deletions(-)
-
-Index: b/configure.in
+Index: libgtk2-2.24.18/configure.ac
 ===================================================================
---- a/configure.in
-+++ b/configure.in
-@@ -259,12 +259,12 @@
+--- libgtk2-2.24.18.orig/configure.ac	2013-05-13 07:02:44.000000000 -0500
++++ libgtk2-2.24.18/configure.ac	2013-05-27 02:12:09.947030335 -0500
+@@ -258,12 +258,13 @@
    gdktarget=x11
  fi
  
 -AC_ARG_WITH(gdktarget, [  --with-gdktarget=[[x11/win32/quartz/directfb]] select non-default GDK target],
-+AC_ARG_WITH(gdktarget, [  --with-gdktarget=[[x11/win32/quartz/directfb/none]] select non-default GDK target],
++AC_ARG_WITH(gdktarget,
++				[  --with-gdktarget=[[x11/win32/quartz/directfb/none]] select non-default GDK target],
  	gdktarget=$with_gdktarget)
  
  AC_SUBST(gdktarget)
@@ -27,7 +29,7 @@ Index: b/configure.in
    *) AC_MSG_ERROR([Invalid target for GDK: use x11, quartz, directfb or win32.]);;
  esac
  
-@@ -374,11 +374,15 @@
+@@ -372,11 +373,15 @@
  ## annoying to construct
  PKG_CHECK_MODULES(BASE_DEPENDENCIES,
    [glib-2.0 >= glib_required_version dnl
@@ -37,16 +39,16 @@ Index: b/configure.in
     gdk-pixbuf-2.0 >= gdk_pixbuf_required_version])
  
 +if test "x$gdktarget" != "xnone"; then
-+   PKG_CHECK_MODULES(BASE_DEPENDENCIES,
-+	[atk >= atk_required_version dnl
-+	 pango >= pango_required_version dnl
-+	 cairo >= cairo_required_version])
++	PKG_CHECK_MODULES(BASE_DEPENDENCIES,
++		[atk >= atk_required_version dnl
++		 pango >= pango_required_version dnl
++		 cairo >= cairo_required_version])
 +fi
 +
  ## In addition to checking that cairo is present, we also need to
  ## check that the correct cairo backend is there. E.g. if the GDK
  ## target is win32 we need the cairo-win32 backend and so on.
-@@ -389,8 +393,11 @@
+@@ -387,8 +392,11 @@
  if test "x$cairo_backend" = "xx11"; then
     cairo_backend=xlib
  fi
@@ -54,13 +56,13 @@ Index: b/configure.in
 -  [cairo-$cairo_backend >= cairo_required_version])
 +
 +if test "x$gdktarget" != "xnone"; then
-+   PKG_CHECK_MODULES(CAIRO_BACKEND,
-+	[cairo-$cairo_backend >= cairo_required_version])
++	PKG_CHECK_MODULES(CAIRO_BACKEND,
++		[cairo-$cairo_backend >= cairo_required_version])
 +fi
  
  PKG_CHECK_MODULES(GMODULE, [gmodule-2.0])
  
-@@ -1281,6 +1288,7 @@
+@@ -1279,6 +1287,7 @@
    AM_CONDITIONAL(USE_DIRECTFB, false)
  fi
  
@@ -68,7 +70,7 @@ Index: b/configure.in
  
  # Check for Pango flags
  
-@@ -1326,6 +1334,8 @@
+@@ -1324,6 +1333,8 @@
    GDK_PACKAGES="$PANGO_PACKAGES gio-2.0 gdk-pixbuf-2.0 cairo-$cairo_backend"
  fi
  
@@ -77,16 +79,15 @@ Index: b/configure.in
  GDK_DEP_LIBS="$GDK_EXTRA_LIBS `$PKG_CONFIG --libs $GDK_PACKAGES` $MATH_LIB"
  GDK_DEP_CFLAGS="`$PKG_CONFIG --cflags  gthread-2.0 $GDK_PACKAGES` $GDK_EXTRA_CFLAGS"
  #
-@@ -1344,6 +1354,8 @@
+@@ -1341,6 +1352,7 @@
+ AC_SUBST(GDK_DEP_LIBS)
  AC_SUBST(GDK_DEP_CFLAGS)
  
- 
 +if test "x$gdktarget" != "xnone"; then
-+
+ 
  ########################################
  # Check for Accessibility Toolkit flags
- ########################################
-@@ -1374,6 +1386,10 @@
+@@ -1372,6 +1384,10 @@
  fi
  
  GTK_PACKAGES="atk cairo gdk-pixbuf-2.0 gio-2.0"
@@ -97,7 +98,7 @@ Index: b/configure.in
  if test "x$gdktarget" = "xx11"; then
    GTK_PACKAGES="$GTK_PACKAGES pangoft2"
  fi
-@@ -1529,6 +1545,8 @@
+@@ -1533,6 +1549,8 @@
  gtk_save_cppflags="$CPPFLAGS"
  CPPFLAGS="$CPPFLAGS $GTK_DEP_CFLAGS $GDK_DEP_CFLAGS"
  
@@ -106,7 +107,7 @@ Index: b/configure.in
  AC_CHECK_HEADER(cairo-pdf.h,,AC_MSG_ERROR([
  *** Can't find cairo-pdf.h. You must build Cairo with the pdf
  *** backend enabled.]))
-@@ -1543,6 +1561,8 @@
+@@ -1547,6 +1565,8 @@
  *** svg backend enabled.]))
  fi   
  
diff --git a/package/libgtk2/libgtk2.mk b/package/libgtk2/libgtk2.mk
index b1ce99a..d49bfeb 100644
--- a/package/libgtk2/libgtk2.mk
+++ b/package/libgtk2/libgtk2.mk
@@ -4,7 +4,7 @@
 #
 #############################################################
 LIBGTK2_VERSION_MAJOR = 2.24
-LIBGTK2_VERSION_MINOR = 10
+LIBGTK2_VERSION_MINOR = 18
 LIBGTK2_VERSION = $(LIBGTK2_VERSION_MAJOR).$(LIBGTK2_VERSION_MINOR)
 
 LIBGTK2_SOURCE = gtk+-$(LIBGTK2_VERSION).tar.xz
-- 
1.7.9.5

  parent reply	other threads:[~2013-05-30 16:30 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-30 16:30 [Buildroot] [PATCH v9 00/14] add Gstreamer 1.X for gst-omx support Spenser Gilliland
2013-05-30 16:30 ` [Buildroot] [PATCH v9 01/14] libglib2: Bump libglib2 to 2.36.1 Spenser Gilliland
2013-06-07  9:09   ` Peter Korsgaard
2013-05-30 16:30 ` [Buildroot] [PATCH v9 02/14] gdk-pixbuf: bump to version 2.28.1 Spenser Gilliland
2013-06-07  9:10   ` Peter Korsgaard
2013-05-30 16:30 ` Spenser Gilliland [this message]
2013-05-30 16:48   ` [Buildroot] [PATCH v9 03/14] libgtk2: bump to version 2.24.18 Thomas Petazzoni
2013-05-30 17:06     ` Spenser Gilliland
2013-06-07  9:31   ` Peter Korsgaard
2013-06-07 15:08     ` Spenser Gilliland
2013-05-30 16:30 ` [Buildroot] [PATCH v9 04/14] libsoup: bump to version 2.43.1 Spenser Gilliland
2013-05-30 16:30 ` [Buildroot] [PATCH v9 05/14] webkit: bump to version 1.9.6 Spenser Gilliland
2013-05-30 16:45   ` Thomas Petazzoni
2013-05-30 16:55     ` Spenser Gilliland
2013-05-31 20:06   ` Samuel Martin
2013-05-30 16:30 ` [Buildroot] [PATCH v9 06/14] gstreamer1: Add gstreamer version 1.0.7 package Spenser Gilliland
2013-06-07  9:42   ` Thomas Petazzoni
2013-05-30 16:30 ` [Buildroot] [PATCH v9 07/14] gst1-plugins-base: add gstreamer1 base plugins Spenser Gilliland
2013-06-07  9:47   ` Thomas Petazzoni
2013-05-30 16:30 ` [Buildroot] [PATCH v9 08/14] gst1-plugins-good: add gstreamer1 good plugins Spenser Gilliland
2013-05-31 20:10   ` Samuel Martin
2013-05-30 16:30 ` [Buildroot] [PATCH v9 09/14] gst1-plugins-bad: add gstreamer1 bad plugins Spenser Gilliland
2013-05-30 16:30 ` [Buildroot] [PATCH v9 10/14] gst1-plugins-ugly: add gstreamer1 ugly plugins Spenser Gilliland
2013-05-30 16:30 ` [Buildroot] [PATCH v9 11/14] libvpx: new package libvpx Spenser Gilliland
2013-05-30 19:26   ` Peter Korsgaard
2013-05-30 16:30 ` [Buildroot] [PATCH v9 12/14] gst1-plugins-good: add libvpx support Spenser Gilliland
2013-05-30 16:30 ` [Buildroot] [PATCH v9 13/14] libopenmax: Add libopenmax virtual package Spenser Gilliland
2013-05-30 19:34   ` Peter Korsgaard
2013-05-30 16:30 ` [Buildroot] [PATCH v9 14/14] gst-omx: add gst-omx package Spenser Gilliland

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=1369931437-12445-4-git-send-email-spenser@gillilanding.com \
    --to=spenser@gillilanding.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.