[oe] [meta-oe PATCH 2/2] gnumeric: add recipe for version 1.12.0

Martin Jansa martin.jansa at gmail.com
Mon Apr 15 14:37:35 UTC 2013


On Sat, Apr 13, 2013 at 02:15:01PM -0300, Otavio Salvador wrote:
> From: Mario Domenech Goulart <mario at ossystems.com.br>
> 
> Based on the OE classic recipe as of
> bd204492e0ed296bbac2999da29f831cbdf965f9
> 
> Signed-off-by: Mario Domenech Goulart <mario at ossystems.com.br>
> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
> ---
>  .../recipes-gnome/gnumeric/gnumeric_1.12.0.bb      | 44 ++++++++++++++++++++++
>  1 file changed, 44 insertions(+)
>  create mode 100644 meta-gnome/recipes-gnome/gnumeric/gnumeric_1.12.0.bb
> 
> diff --git a/meta-gnome/recipes-gnome/gnumeric/gnumeric_1.12.0.bb b/meta-gnome/recipes-gnome/gnumeric/gnumeric_1.12.0.bb
> new file mode 100644
> index 0000000..cd42e18
> --- /dev/null
> +++ b/meta-gnome/recipes-gnome/gnumeric/gnumeric_1.12.0.bb
> @@ -0,0 +1,44 @@
> +LICENSE = "GPLv2 | GPLv3"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=be0de417af78dd340558810d1ced52e6"
> +SECTION = "x11/utils"
> +S = "${WORKDIR}/gnumeric-${PV}"
> +DEPENDS = "gdk-pixbuf libgsf gtk+3 libxml2 libglade libart-lgpl intltool-native libgnomecanvas libgnomeprint libbonoboui orbit2-native"
> +DESCRIPTION = "Gnumeric spreadsheet for GNOME"
> +
> +GNOME_COMPRESS_TYPE = "xz"
> +BPN="${PN}"

Why is this needed ^? It shoudn't be there.

> +
> +SRC_URI[archive.md5sum] = "3fd87cca95334b5d8ac922989670fe27"
> +SRC_URI[archive.sha256sum] = "037b53d909e5d1454b2afda8c4fb1e7838e260343e36d4e36245f4a5d0e04111"
> +
> +inherit gnome
> +
> +EXTRA_OECONF=" --without-perl "
> +
> +PACKAGES_DYNAMIC += "gnumeric-plugin-*"
> +PACKAGES += "libspreadsheet libspreadsheet-dev gnumeric-goffice gnumeric-goffice-dbg"
> +
> +FILES_${PN}-dbg += "${libdir}/gnumeric/${PV}/plugins/*/.debug"
> +FILES_${PN}-dev = "${includedir} ${libdir}/pkgconfig"
> +FILES_${PN}-staticdev = "${libdir}/libspreadsheet.la"
> +FILES_libspreadsheet = "${libdir}/libspreadsheet-${PV}.so"
> +FILES_libspreadsheet-dev = "${libdir}/libspreadsheet.so"
> +FILES_gnumeric-goffice-dbg += "${libdir}/goffice/*/plugins/gnumeric/.debug"
> +FILES_gnumeric-goffice = "${libdir}/goffice/*/plugins/gnumeric/*"
> +
> +# This hack works around the problem mentioned here:
> +# https://mail.gnome.org/archives/gnumeric-list/2010-February/msg00006.html
> +do_install_prepend() {
> +    sed -i ${S}/doc/C/Makefile -e 's/\tfor file in $(omffile); do/\t-for file in $(omffile); do/'
> +}
> +
> +python populate_packages_prepend () {
> +    gnumeric_libdir = bb.data.expand('${libdir}/gnumeric/${PV}/plugins', d)
> +
> +    do_split_packages(d, gnumeric_libdir, '^(.*)/.*$',
> +        output_pattern='gnumeric-plugin-%s',
> +        description='Gnumeric plugin %s',
> +        extra_depends='',
> +        recursive=True,
> +        prepend=True)
> +}
> -- 
> 1.8.1
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20130415/eb0699b3/attachment-0002.sig>


More information about the Openembedded-devel mailing list