[oe-commits] Paul Menzel : python-pycairo_1.8.0: remove `DEFAULT_PREFERENCE = "-1"`

git version control git at git.openembedded.org
Mon Dec 20 03:28:37 UTC 2010


Module: openembedded.git
Branch: master
Commit: a9b76adbde2b8388ae0caee146e488fe17a17caa
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=a9b76adbde2b8388ae0caee146e488fe17a17caa

Author: Paul Menzel <paulepanter at users.sourceforge.net>
Date:   Thu Dec 16 23:20:25 2010 +0100

python-pycairo_1.8.0: remove `DEFAULT_PREFERENCE = "-1"`

Cairo 1.8 is available for some time and ?ngström and other distributions have pinned this Pycairo version for quite some time.

Build tested with Minimal and Minimal uClibc.

	Build Configuration:
	BB_VERSION        = "1.10.0"
	METADATA_BRANCH   = "org.openembedded.dev"
	METADATA_REVISION = "977d4dd"
	TARGET_ARCH       = "arm"
	TARGET_OS         = "linux-gnueabi"
	MACHINE           = "beagleboard"
	DISTRO            = "minimal"
	DISTRO_VERSION    = "dev-snapshot-20101217"
	TARGET_FPU        = "hard"

	Build Configuration:
	BB_VERSION        = "1.10.0"
	METADATA_BRANCH   = "org.openembedded.dev"
	METADATA_REVISION = "977d4dd"
	TARGET_ARCH       = "arm"
	TARGET_OS         = "linux-uclibceabi"
	MACHINE           = "beagleboard"
	DISTRO            = "minimal-uclibc"
	DISTRO_VERSION    = "dev-snapshot-20101217"
	TARGET_FPU        = "hard"

`python-pygtk_2.16.0.bb` does not build with `python-pycairo_1.4.0` because it does not put its package config files in `sysroots`.

	checking for ATK... yes
	checking for PANGO... yes
	checking for codegen... /oe/build-minimal-eglibc/minimal-dev/sysroots/armv7a-oe-linux-gnueabi/usr/share/pygobject/2.0/codegen
	checking for PYCAIRO... no
	no
	not checking for gtk due to missing pycairo
	checking for GDK target... x11
	configure: WARNING: Could not find a valid numpy installation, disabling.
	checking whether arm-oe-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb understands -Wall... yes
	checking whether arm-oe-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb understands -fno-strict-aliasing... yes
	checking whether arm-oe-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb understands -std=c9x... yes
	configure: error: conditional "HAVE_GTK_2_16" was never defined.
	Usually this means the macro was only invoked conditionally.
	ERROR: Function do_configure failed

Signed-off-by: Paul Menzel <paulepanter at users.sourceforge.net>
Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 recipes/python/python-pycairo_1.8.0.bb |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/recipes/python/python-pycairo_1.8.0.bb b/recipes/python/python-pycairo_1.8.0.bb
index 0b44acb..6f96ea8 100644
--- a/recipes/python/python-pycairo_1.8.0.bb
+++ b/recipes/python/python-pycairo_1.8.0.bb
@@ -6,8 +6,6 @@ LICENSE = "LGPL MPL"
 DEPENDS = "cairo"
 PR = "ml4"
 
-DEFAULT_PREFERENCE = "-1"
-
 SRC_URI = "http://cairographics.org/releases/pycairo-${PV}.tar.gz \
            file://fix-setup-py.patch"
 S = "${WORKDIR}/pycairo-${PV}"





More information about the Openembedded-commits mailing list