Navit patch for faster map dragging
Rod Whitby
rod at whitby.id.au
Mon Aug 18 02:13:32 CEST 2008
> diff --git a/packages/navit/navit_0.0.4.bb b/packages/navit/navit_0.0.4.bb
> index 104495f..edd4519 100644
> --- a/packages/navit/navit_0.0.4.bb
> +++ b/packages/navit/navit_0.0.4.bb
> @@ -4,4 +4,7 @@ PR = "r0"
>
> SRC_URI = "${SOURCEFORGE_MIRROR}/navit/navit-${PV}.tar.gz"
>
> +DEFAULT_PREFERENCE = "-1"
> +
> SRC_URI_append += "file://navit.xml-so.patch;patch=1"
> +SRC_URI_append += "file://font_scaling_patch.diff;patch=1"
You should never set DEFAULT_PREFERENCE to -1 on an already working
recipe, just because you added a better svn recipe.
In addition to this, since you modified the recipe, you should have
changed PR = "r0" to PR = "r1".
It is a common occurrence for there to be multiple working versions of a
recipe in OE.
Use PREFERRED_VERSION and sane-srcrevs.inc to select between alternative
working versions and prefer one for a specific distribution.
-- Rod
More information about the community
mailing list