From: Kang Kai <Kai.Kang@windriver.com>
To: <openembedded-devel@lists.openembedded.org>
Subject: Re: [PATCH] libart-lgpl: add (from oe-core)
Date: Mon, 23 Nov 2015 16:27:22 +0800 [thread overview]
Message-ID: <5652CDEA.7070807@windriver.com> (raw)
In-Reply-To: <1429016785-29691-1-git-send-email-ross.burton@intel.com>
On 2015年04月14日 21:06, Ross Burton wrote:
> Signed-off-by: Ross Burton <ross.burton@intel.com>
> ---
> .../libart-lgpl/libart-lgpl/Makefile.am.patch | 17 ++++++++++++
> .../libart-lgpl/libart-lgpl/aarch64/art_config.h | 10 +++++++
> .../libart-lgpl/libart-lgpl/aarch64be/art_config.h | 10 +++++++
> .../libart-lgpl/aarch64be_32/art_config.h | 10 +++++++
> .../libart-lgpl/libart-lgpl/arm/art_config.h | 10 +++++++
> .../libart-lgpl/libart-lgpl/armeb/art_config.h | 10 +++++++
> .../libart-lgpl/libart-lgpl/i386/art_config.h | 10 +++++++
> .../libart-lgpl/libart-lgpl/i586/art_config.h | 10 +++++++
> .../libart-lgpl/libart-lgpl/i686/art_config.h | 10 +++++++
> .../libart-lgpl/libart-lgpl/mips/art_config.h | 10 +++++++
> .../libart-lgpl/libart-lgpl/mips64/art_config.h | 10 +++++++
> .../libart-lgpl/libart-lgpl/mips64el/art_config.h | 10 +++++++
> .../libart-lgpl/libart-lgpl/mipsel/art_config.h | 10 +++++++
> .../libart-lgpl/libart-lgpl/powerpc/art_config.h | 10 +++++++
> .../libart-lgpl/libart-lgpl/powerpc64/art_config.h | 10 +++++++
> .../libart-lgpl/libart-lgpl/x86_64/art_config.h | 10 +++++++
> .../libart-lgpl/libart-lgpl_2.3.21.bb | 28 ++++++++++++++++++++
> 17 files changed, 195 insertions(+)
> create mode 100644 meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/Makefile.am.patch
> create mode 100644 meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/aarch64/art_config.h
> create mode 100644 meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/aarch64be/art_config.h
> create mode 100644 meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/aarch64be_32/art_config.h
> create mode 100644 meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/arm/art_config.h
> create mode 100644 meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/armeb/art_config.h
> create mode 100644 meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/i386/art_config.h
> create mode 100644 meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/i586/art_config.h
> create mode 100644 meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/i686/art_config.h
> create mode 100644 meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/mips/art_config.h
> create mode 100644 meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/mips64/art_config.h
> create mode 100644 meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/mips64el/art_config.h
> create mode 100644 meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/mipsel/art_config.h
> create mode 100644 meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/powerpc/art_config.h
> create mode 100644 meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/powerpc64/art_config.h
> create mode 100644 meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/x86_64/art_config.h
> create mode 100644 meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl_2.3.21.bb
Hi Ross,
Would you like to tell my why made this copy from oe-core, please?
Thanks,
Kai
>
> diff --git a/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/Makefile.am.patch b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/Makefile.am.patch
> new file mode 100644
> index 0000000..190ba96
> --- /dev/null
> +++ b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/Makefile.am.patch
> @@ -0,0 +1,17 @@
> +Upstream-Status: Inappropriate [configuration]
> +
> +Index: libart_lgpl-2.3.21/Makefile.am
> +===================================================================
> +--- libart_lgpl-2.3.21.orig/Makefile.am 2009-04-18 05:29:25.000000000 -0700
> ++++ libart_lgpl-2.3.21/Makefile.am 2010-11-23 23:12:32.445450075 -0800
> +@@ -7,8 +7,8 @@
> +
> + BUILT_SOURCES = art_config.h
> +
> +-art_config.h:
> +- ./gen_art_config.sh > art_config.h
> ++#art_config.h:
> ++# ./gen_art_config.sh > art_config.h
> +
> + EXTRA_DIST = \
> + libart.def \
> diff --git a/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/aarch64/art_config.h b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/aarch64/art_config.h
> new file mode 100644
> index 0000000..500ffc3
> --- /dev/null
> +++ b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/aarch64/art_config.h
> @@ -0,0 +1,10 @@
> +/* Automatically generated by gen_art_config.c */
> +
> +#define ART_SIZEOF_CHAR 1
> +#define ART_SIZEOF_SHORT 2
> +#define ART_SIZEOF_INT 4
> +#define ART_SIZEOF_LONG 8
> +
> +typedef unsigned char art_u8;
> +typedef unsigned short art_u16;
> +typedef unsigned int art_u32;
> diff --git a/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/aarch64be/art_config.h b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/aarch64be/art_config.h
> new file mode 100644
> index 0000000..500ffc3
> --- /dev/null
> +++ b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/aarch64be/art_config.h
> @@ -0,0 +1,10 @@
> +/* Automatically generated by gen_art_config.c */
> +
> +#define ART_SIZEOF_CHAR 1
> +#define ART_SIZEOF_SHORT 2
> +#define ART_SIZEOF_INT 4
> +#define ART_SIZEOF_LONG 8
> +
> +typedef unsigned char art_u8;
> +typedef unsigned short art_u16;
> +typedef unsigned int art_u32;
> diff --git a/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/aarch64be_32/art_config.h b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/aarch64be_32/art_config.h
> new file mode 100644
> index 0000000..b0e74ad
> --- /dev/null
> +++ b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/aarch64be_32/art_config.h
> @@ -0,0 +1,10 @@
> +/* Automatically generated by gen_art_config.c */
> +
> +#define ART_SIZEOF_CHAR 1
> +#define ART_SIZEOF_SHORT 2
> +#define ART_SIZEOF_INT 4
> +#define ART_SIZEOF_LONG 4
> +
> +typedef unsigned char art_u8;
> +typedef unsigned short art_u16;
> +typedef unsigned int art_u32;
> diff --git a/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/arm/art_config.h b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/arm/art_config.h
> new file mode 100644
> index 0000000..b0e74ad
> --- /dev/null
> +++ b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/arm/art_config.h
> @@ -0,0 +1,10 @@
> +/* Automatically generated by gen_art_config.c */
> +
> +#define ART_SIZEOF_CHAR 1
> +#define ART_SIZEOF_SHORT 2
> +#define ART_SIZEOF_INT 4
> +#define ART_SIZEOF_LONG 4
> +
> +typedef unsigned char art_u8;
> +typedef unsigned short art_u16;
> +typedef unsigned int art_u32;
> diff --git a/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/armeb/art_config.h b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/armeb/art_config.h
> new file mode 100644
> index 0000000..b0e74ad
> --- /dev/null
> +++ b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/armeb/art_config.h
> @@ -0,0 +1,10 @@
> +/* Automatically generated by gen_art_config.c */
> +
> +#define ART_SIZEOF_CHAR 1
> +#define ART_SIZEOF_SHORT 2
> +#define ART_SIZEOF_INT 4
> +#define ART_SIZEOF_LONG 4
> +
> +typedef unsigned char art_u8;
> +typedef unsigned short art_u16;
> +typedef unsigned int art_u32;
> diff --git a/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/i386/art_config.h b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/i386/art_config.h
> new file mode 100644
> index 0000000..b0e74ad
> --- /dev/null
> +++ b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/i386/art_config.h
> @@ -0,0 +1,10 @@
> +/* Automatically generated by gen_art_config.c */
> +
> +#define ART_SIZEOF_CHAR 1
> +#define ART_SIZEOF_SHORT 2
> +#define ART_SIZEOF_INT 4
> +#define ART_SIZEOF_LONG 4
> +
> +typedef unsigned char art_u8;
> +typedef unsigned short art_u16;
> +typedef unsigned int art_u32;
> diff --git a/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/i586/art_config.h b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/i586/art_config.h
> new file mode 100644
> index 0000000..b0e74ad
> --- /dev/null
> +++ b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/i586/art_config.h
> @@ -0,0 +1,10 @@
> +/* Automatically generated by gen_art_config.c */
> +
> +#define ART_SIZEOF_CHAR 1
> +#define ART_SIZEOF_SHORT 2
> +#define ART_SIZEOF_INT 4
> +#define ART_SIZEOF_LONG 4
> +
> +typedef unsigned char art_u8;
> +typedef unsigned short art_u16;
> +typedef unsigned int art_u32;
> diff --git a/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/i686/art_config.h b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/i686/art_config.h
> new file mode 100644
> index 0000000..b0e74ad
> --- /dev/null
> +++ b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/i686/art_config.h
> @@ -0,0 +1,10 @@
> +/* Automatically generated by gen_art_config.c */
> +
> +#define ART_SIZEOF_CHAR 1
> +#define ART_SIZEOF_SHORT 2
> +#define ART_SIZEOF_INT 4
> +#define ART_SIZEOF_LONG 4
> +
> +typedef unsigned char art_u8;
> +typedef unsigned short art_u16;
> +typedef unsigned int art_u32;
> diff --git a/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/mips/art_config.h b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/mips/art_config.h
> new file mode 100644
> index 0000000..b0e74ad
> --- /dev/null
> +++ b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/mips/art_config.h
> @@ -0,0 +1,10 @@
> +/* Automatically generated by gen_art_config.c */
> +
> +#define ART_SIZEOF_CHAR 1
> +#define ART_SIZEOF_SHORT 2
> +#define ART_SIZEOF_INT 4
> +#define ART_SIZEOF_LONG 4
> +
> +typedef unsigned char art_u8;
> +typedef unsigned short art_u16;
> +typedef unsigned int art_u32;
> diff --git a/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/mips64/art_config.h b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/mips64/art_config.h
> new file mode 100644
> index 0000000..d10cd95
> --- /dev/null
> +++ b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/mips64/art_config.h
> @@ -0,0 +1,10 @@
> +/* Automatically generated by gen_art_config */
> +
> +#define ART_SIZEOF_CHAR 1
> +#define ART_SIZEOF_SHORT 2
> +#define ART_SIZEOF_INT 4
> +#define ART_SIZEOF_LONG 8
> +
> +typedef unsigned char art_u8;
> +typedef unsigned short art_u16;
> +typedef unsigned int art_u32;
> diff --git a/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/mips64el/art_config.h b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/mips64el/art_config.h
> new file mode 100644
> index 0000000..d10cd95
> --- /dev/null
> +++ b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/mips64el/art_config.h
> @@ -0,0 +1,10 @@
> +/* Automatically generated by gen_art_config */
> +
> +#define ART_SIZEOF_CHAR 1
> +#define ART_SIZEOF_SHORT 2
> +#define ART_SIZEOF_INT 4
> +#define ART_SIZEOF_LONG 8
> +
> +typedef unsigned char art_u8;
> +typedef unsigned short art_u16;
> +typedef unsigned int art_u32;
> diff --git a/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/mipsel/art_config.h b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/mipsel/art_config.h
> new file mode 100644
> index 0000000..b0e74ad
> --- /dev/null
> +++ b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/mipsel/art_config.h
> @@ -0,0 +1,10 @@
> +/* Automatically generated by gen_art_config.c */
> +
> +#define ART_SIZEOF_CHAR 1
> +#define ART_SIZEOF_SHORT 2
> +#define ART_SIZEOF_INT 4
> +#define ART_SIZEOF_LONG 4
> +
> +typedef unsigned char art_u8;
> +typedef unsigned short art_u16;
> +typedef unsigned int art_u32;
> diff --git a/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/powerpc/art_config.h b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/powerpc/art_config.h
> new file mode 100644
> index 0000000..b0e74ad
> --- /dev/null
> +++ b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/powerpc/art_config.h
> @@ -0,0 +1,10 @@
> +/* Automatically generated by gen_art_config.c */
> +
> +#define ART_SIZEOF_CHAR 1
> +#define ART_SIZEOF_SHORT 2
> +#define ART_SIZEOF_INT 4
> +#define ART_SIZEOF_LONG 4
> +
> +typedef unsigned char art_u8;
> +typedef unsigned short art_u16;
> +typedef unsigned int art_u32;
> diff --git a/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/powerpc64/art_config.h b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/powerpc64/art_config.h
> new file mode 100644
> index 0000000..500ffc3
> --- /dev/null
> +++ b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/powerpc64/art_config.h
> @@ -0,0 +1,10 @@
> +/* Automatically generated by gen_art_config.c */
> +
> +#define ART_SIZEOF_CHAR 1
> +#define ART_SIZEOF_SHORT 2
> +#define ART_SIZEOF_INT 4
> +#define ART_SIZEOF_LONG 8
> +
> +typedef unsigned char art_u8;
> +typedef unsigned short art_u16;
> +typedef unsigned int art_u32;
> diff --git a/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/x86_64/art_config.h b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/x86_64/art_config.h
> new file mode 100644
> index 0000000..500ffc3
> --- /dev/null
> +++ b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl/x86_64/art_config.h
> @@ -0,0 +1,10 @@
> +/* Automatically generated by gen_art_config.c */
> +
> +#define ART_SIZEOF_CHAR 1
> +#define ART_SIZEOF_SHORT 2
> +#define ART_SIZEOF_INT 4
> +#define ART_SIZEOF_LONG 8
> +
> +typedef unsigned char art_u8;
> +typedef unsigned short art_u16;
> +typedef unsigned int art_u32;
> diff --git a/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl_2.3.21.bb b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl_2.3.21.bb
> new file mode 100644
> index 0000000..4966ea4
> --- /dev/null
> +++ b/meta-gnome/recipes-gnome/libart-lgpl/libart-lgpl_2.3.21.bb
> @@ -0,0 +1,28 @@
> +SUMMARY = "Library of functions for 2D graphics"
> +SECTION = "x11/gnome"
> +LICENSE = "LGPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
> +PR = "r2"
> +
> +ART_CONFIG = "${HOST_ARCH}/art_config.h"
> +
> +# can't use gnome.oeclass due to _ in filename
> +SRC_URI = "${GNOME_MIRROR}/libart_lgpl/2.3/libart_lgpl-${PV}.tar.bz2 \
> + file://${ART_CONFIG} \
> + file://Makefile.am.patch"
> +
> +SRC_URI[md5sum] = "08559ff3c67fd95d57b0c5e91a6b4302"
> +SRC_URI[sha256sum] = "fdc11e74c10fc9ffe4188537e2b370c0abacca7d89021d4d303afdf7fd7476fa"
> +
> +inherit autotools pkgconfig
> +
> +DEPENDS = ""
> +
> +FILES_${PN} = "${libdir}/*.so.*"
> +FILES_${PN}-dev += "${bindir}/libart2-config"
> +
> +S = "${WORKDIR}/libart_lgpl-${PV}"
> +
> +do_configure_prepend() {
> + cp ${WORKDIR}/${ART_CONFIG} ${S}/art_config.h
> +}
--
Regards,
Neil | Kai Kang
prev parent reply other threads:[~2015-11-23 8:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-14 13:06 [PATCH] libart-lgpl: add (from oe-core) Ross Burton
2015-11-23 8:27 ` Kang Kai [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5652CDEA.7070807@windriver.com \
--to=kai.kang@windriver.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox