[OE-core] [PATCH v2] ghostscript: Update URL_SRI_BASE to point to github

Leonardo Sandoval leonardo.sandoval.gonzalez at linux.intel.com
Tue May 24 14:46:00 UTC 2016


Please ignore this patch. I have sent another one [1] so this one can be 
avoided. Sorry for the noise.

[1] 
http://lists.openembedded.org/pipermail/openembedded-core/2016-May/121965.html

On 05/23/2016 03:09 AM, leonardo.sandoval.gonzalez at linux.intel.com wrote:
> From: Leonardo Sandoval <leonardo.sandoval.gonzalez at linux.intel.com>
>
> Starting at 9.18, latest releases (current and previous release) are placed on
> github [1].
>
> [1] https://github.com/ArtifexSoftware/ghostpdl-downloads/releases
>
> [YOCTO #9573]
>
> Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez at linux.intel.com>
> ---
>   meta/recipes-extended/ghostscript/ghostscript_9.18.bb | 8 +++++++-
>   1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.18.bb b/meta/recipes-extended/ghostscript/ghostscript_9.18.bb
> index d4222c7..1d76013 100644
> --- a/meta/recipes-extended/ghostscript/ghostscript_9.18.bb
> +++ b/meta/recipes-extended/ghostscript/ghostscript_9.18.bb
> @@ -16,7 +16,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b17cea54743435ab2a581c237bea294a"
>   DEPENDS = "ghostscript-native tiff jpeg fontconfig cups libpng"
>   DEPENDS_class-native = "libpng-native"
>   
> -SRC_URI_BASE = "http://downloads.ghostscript.com/public/ghostscript-${PV}.tar.gz \
> +# remove dots on PV, used on SRC_URI_BASE
> +python () {
> +       version = d.getVar('PV', True).split('.')
> +       d.setVar('PV_NODOTS', ''.join(version))
> +}
> +
> +SRC_URI_BASE = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${PV_NODOTS}/ghostscript-${PV}.tar.gz \
>                   file://ghostscript-9.15-parallel-make.patch \
>                   file://ghostscript-9.16-Werror-return-type.patch \
>                   file://png_mak.patch \




More information about the Openembedded-core mailing list