From 1b8dfe266937a37a4c642f96ceb2347bf4c00a17 Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Fri, 10 Oct 2014 03:20:04 +0200 Subject: initial commit for Enea Linux 4.0-140929 Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea --- .../recipes-support/goffice/goffice/c99math.patch | 12 ++++++ .../recipes-support/goffice/goffice/nodolt.patch | 12 ++++++ .../goffice/goffice/pcre-8.30.patch | 19 +++++++++ .../recipes-support/goffice/goffice_0.10.1.bb | 47 ++++++++++++++++++++++ 4 files changed, 90 insertions(+) create mode 100644 meta-gnome/recipes-support/goffice/goffice/c99math.patch create mode 100644 meta-gnome/recipes-support/goffice/goffice/nodolt.patch create mode 100644 meta-gnome/recipes-support/goffice/goffice/pcre-8.30.patch create mode 100644 meta-gnome/recipes-support/goffice/goffice_0.10.1.bb (limited to 'meta-gnome/recipes-support/goffice') diff --git a/meta-gnome/recipes-support/goffice/goffice/c99math.patch b/meta-gnome/recipes-support/goffice/goffice/c99math.patch new file mode 100644 index 0000000000..24e6c31a72 --- /dev/null +++ b/meta-gnome/recipes-support/goffice/goffice/c99math.patch @@ -0,0 +1,12 @@ +Index: goffice-0.7.14/configure.in +=================================================================== +--- goffice-0.7.14.orig/configure.in 2009-11-14 19:14:37.106109501 +0100 ++++ goffice-0.7.14/configure.in 2009-11-14 19:19:40.907333188 +0100 +@@ -66,6 +66,7 @@ + + AC_ISC_POSIX + AC_PROG_CC ++AC_PROG_CC_C99 + AC_PROG_YACC + AM_PROG_LEX + AC_PROG_LN_S diff --git a/meta-gnome/recipes-support/goffice/goffice/nodolt.patch b/meta-gnome/recipes-support/goffice/goffice/nodolt.patch new file mode 100644 index 0000000000..ea1777a996 --- /dev/null +++ b/meta-gnome/recipes-support/goffice/goffice/nodolt.patch @@ -0,0 +1,12 @@ +Index: goffice-0.7.14/configure.in +=================================================================== +--- goffice-0.7.14.orig/configure.in ++++ goffice-0.7.14/configure.in +@@ -71,7 +71,6 @@ AC_PROG_YACC + AM_PROG_LEX + AC_PROG_LN_S + AM_PROG_LIBTOOL +-DOLT + AC_STDC_HEADERS + AC_SYS_LARGEFILE + diff --git a/meta-gnome/recipes-support/goffice/goffice/pcre-8.30.patch b/meta-gnome/recipes-support/goffice/goffice/pcre-8.30.patch new file mode 100644 index 0000000000..ae9370cfcf --- /dev/null +++ b/meta-gnome/recipes-support/goffice/goffice/pcre-8.30.patch @@ -0,0 +1,19 @@ +Taken from http://trac.macports.org/ticket/34812 + +Fixes abiword build failing with: +/usr/lib/libgoffice-0.8.so: undefined reference to `pcre_info' + +Upstream-Status: pending + +http://www.linuxfromscratch.org/blfs/view/cvs/x/goffice.html +--- a/goffice/utils/regutf8.c.orig 2009-09-05 18:52:09.000000000 -0500 ++++ b/goffice/utils/regutf8.c 2012-06-09 18:04:29.000000000 -0500 +@@ -155,7 +155,7 @@ + default: return GO_REG_BADPAT; + } + } else { +- gor->re_nsub = pcre_info (r, NULL, NULL); ++ gor->re_nsub = pcre_fullinfo (r, NULL, 0, NULL); + gor->nosub = (cflags & GO_REG_NOSUB) != 0; + return 0; + } diff --git a/meta-gnome/recipes-support/goffice/goffice_0.10.1.bb b/meta-gnome/recipes-support/goffice/goffice_0.10.1.bb new file mode 100644 index 0000000000..24c4d0ff6f --- /dev/null +++ b/meta-gnome/recipes-support/goffice/goffice_0.10.1.bb @@ -0,0 +1,47 @@ +DESCRIPTION="Gnome Office Library" + +LICENSE="GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=6dc33ff21e1ba1ac1a2a1069d361e29e" + +DEPENDS = "libxml-parser-perl-native glib-2.0 gtk+3 pango cairo libgsf libpcre libxml2 libart-lgpl librsvg" + +inherit gnomebase pkgconfig perlnative + +GNOME_COMPRESS_TYPE = "xz" + +SRC_URI[archive.md5sum] = "90fd17c6fe205b779571e00d9b0b4727" +SRC_URI[archive.sha256sum] = "5c38f4e81e874cc8e89481b080f77c47c72bfd6fe2526f4fc2ef87c17f96cad0" + +FILES_${PN}-dbg += "${libdir}/goffice/${PV}/plugins/*/.debug" + +RRECOMMENDS_${PN} = " \ + goffice-plugin-plot-barcol \ + goffice-plugin-plot-distrib \ + goffice-plugin-plot-pie \ + goffice-plugin-plot-radar \ + goffice-plugin-plot-surface \ + goffice-plugin-plot-xy \ + goffice-plugin-reg-linear \ + goffice-plugin-reg-logfit \ + goffice-plugin-smoothing \ +" + +FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} \ + ${sysconfdir} ${sharedstatedir} ${localstatedir} \ + ${base_bindir}/* ${base_sbindir}/* \ + ${base_libdir}/*${SOLIBS} \ + ${datadir}/${PN} \ + ${datadir}/pixmaps ${datadir}/applications \ + ${datadir}/idl ${datadir}/omf ${datadir}/sounds \ + ${libdir}/bonobo/servers" + +FILES_${PN}-locale = "${libdir}/locale" + +PACKAGES_DYNAMIC += "^goffice-plugin-.*" + +python populate_packages_prepend () { + goffice_libdir = d.expand('${libdir}/goffice/${PV}/plugins/') + + do_split_packages(d, goffice_libdir, '(.*)', 'goffice-plugin-%s', 'Goffice plugin for %s', allow_dirs=True) +} + -- cgit v1.2.3-54-g00ecf