From edc078d1ce64e5efa9f9b750d4990e305c9b505d Mon Sep 17 00:00:00 2001 From: lars Date: Sun, 14 Dec 2008 23:51:19 +0000 Subject: [PATCH] Add some dependecies to gtk2 which are optional but should be used. git-svn-id: svn://svn.openwrt.org/openwrt/packages@13642 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- Xorg/lib/gtk2/Makefile | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/Xorg/lib/gtk2/Makefile b/Xorg/lib/gtk2/Makefile index af3314597..f03bf7c71 100644 --- a/Xorg/lib/gtk2/Makefile +++ b/Xorg/lib/gtk2/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=gtk2 PKG_VERSION:=2.14.4 -PKG_RELEASE:=4 +PKG_RELEASE:=5 PKG_SOURCE:=gtk+-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=@GNOME/gtk+/2.14 @@ -27,8 +27,8 @@ TARGET_CFLAGS+=\ EXTRA_LDFLAGS+=\ -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ - -L$(STAGING_DIR)/usr/lib/libintl/lib/ \ - -L$(STAGING_DIR)/usr/lib/libiconv/lib/ \ + -L$(STAGING_DIR)/usr/lib/libintl/lib/ \ + -L$(STAGING_DIR)/usr/lib/libiconv/lib/ \ -L$(STAGING_DIR)/usr/lib/ STAMP_CONFIGURED:=$(STAMP_CONFIGURED)_$(call confvar,CONFIG_PACKAGE_gtk2 CONFIG_PACKAGE_gtk-cups2) @@ -38,7 +38,9 @@ define Package/gtk2 CATEGORY:=Xorg SUBMENU:=framework TITLE:=GTK+-2.0 - DEPENDS:=+cairo +pango +libpng +libjpeg +atk +libtiff +libX11 +libXext +libXrender + DEPENDS:=+cairo +pango +libpng +libjpeg +atk +libtiff +libX11 +libXext \ + +libXrender +libXfixes +libXrandr +libXcursor +libXdamage +libXcomposite \ + +libXi endef define Package/gtk2-cups @@ -51,11 +53,14 @@ endef define Build/Configure $(call Build/Configure/Default, \ + --enable-shm \ + --disable-xkb \ --disable-glibtest \ --disable-gdiplus \ --disable-xinerama \ --without-libjasper \ - $(if $(CONFIG_PACKAGE_gtk2-cups),--enable-cups=auto,--disable-cups), \ + --with-xinput \ + $(if $(CONFIG_PACKAGE_gtk2-cups),--enable-cups,--disable-cups), \ gio_can_sniff=no \ ) endef -- 2.11.0