Patchwork [2/2] viking: add `curl` to `DEPENDS`

login
register
mail settings
Submitter Paul Menzel
Date April 16, 2011, 10:53 a.m.
Message ID <1302951223.8709.23.camel@mattotaupa>
Download mbox | patch
Permalink /patch/2415/
State New, archived
Headers show

Comments

Paul Menzel - April 16, 2011, 10:53 a.m.
Date: Sat, 16 Apr 2011 12:39:23 +0200

Task configure fails with the following error.

	checking for gawk... (cached) gawk
	checking for curl-config... no
	checking whether libcurl is usable... no
	configure: error: libcurl is needed but not found

Adding `curl` to `DEPENDS` fixes this problem and was tested using the following configuration.

	Build Configuration:
	BB_VERSION        = "1.12.0"
	METADATA_BRANCH   = "viking"
	METADATA_REVISION = "b78f877"
	TARGET_ARCH       = "arm"
	TARGET_OS         = "linux-gnueabi"
	MACHINE           = "beagleboard"
	DISTRO            = "minimal"
	DISTRO_VERSION    = "dev-snapshot-20110416"
	TARGET_FPU        = "hard"

Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
CC: Stanislav Brabec <utx@penguin.cz>
---
 recipes/viking/viking_0.9.6.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Stanislav Brabec - April 16, 2011, 2:11 p.m.
Paul Menzel wrote:
> Task configure fails with the following error.

Fixed:
http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=4736307c4a27660405505f2a8231afe974eec2dc
http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=c4c5dc5019dec74d36566b94c0c386e48f6748cb

Well, gpsd in DEPENDS is now obsolete. But I am keeping it here with
hope that somebody will fix it or port.

Note that I have a specific reason to keep old version 0.9.6 there -
newer versions defines a minimal width of the layers panel. On small
screen devices it shrinks usable map space.

On large screen devices latest version works well with a small patch:
https://sourceforge.net/tracker/?func=detail&atid=570954&aid=3206628&group_id=83870

Patch

diff --git a/recipes/viking/viking_0.9.6.bb b/recipes/viking/viking_0.9.6.bb
index f24b859..13d9801 100644
--- a/recipes/viking/viking_0.9.6.bb
+++ b/recipes/viking/viking_0.9.6.bb
@@ -1,7 +1,7 @@ 
 DESCRIPTION = "program to manage GPS data"
 HOMEPAGE = "http://viking.sourceforge.net/"
 SECTION = "x11/applications"
-DEPENDS = "gpsd gtk+ intltool-native"
+DEPENDS = "curl gpsd gtk+ intltool-native"
 LICENSE = "GPLv2"
 PRIORITY = "optional"
 PR = "r1"