diff options
Diffstat (limited to 'meta-gnome/recipes-support')
6 files changed, 143 insertions, 0 deletions
diff --git a/meta-gnome/recipes-support/florence/files/0001-Fix-glib-includes.patch b/meta-gnome/recipes-support/florence/files/0001-Fix-glib-includes.patch new file mode 100644 index 000000000..83e598e6a --- /dev/null +++ b/meta-gnome/recipes-support/florence/files/0001-Fix-glib-includes.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From c8419ef05ff92ffa3de2e626eb6acd5d2df3baa1 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | ||
3 | Date: Tue, 15 May 2012 13:40:05 +0200 | ||
4 | Subject: [PATCH] Fix glib includes | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | Upstream-Status: unknown | ||
9 | |||
10 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
11 | --- | ||
12 | src/trace.c | 5 +---- | ||
13 | 1 files changed, 1 insertions(+), 4 deletions(-) | ||
14 | |||
15 | diff --git a/src/trace.c b/src/trace.c | ||
16 | index 5ea5c13..774c56d 100644 | ||
17 | --- a/src/trace.c | ||
18 | +++ b/src/trace.c | ||
19 | @@ -21,10 +21,7 @@ | ||
20 | |||
21 | #include "trace.h" | ||
22 | #include "system.h" | ||
23 | -#include <glib/gprintf.h> | ||
24 | -#include <glib/gutils.h> | ||
25 | -#include <glib/gslist.h> | ||
26 | -#include <glib/gstrfuncs.h> | ||
27 | +#include <glib.h> | ||
28 | #include <stdio.h> | ||
29 | #include <stdarg.h> | ||
30 | |||
31 | -- | ||
32 | 1.7.6.5 | ||
33 | |||
diff --git a/meta-gnome/recipes-support/florence/florence_0.5.1.bb b/meta-gnome/recipes-support/florence/florence_0.5.1.bb new file mode 100644 index 000000000..56d891465 --- /dev/null +++ b/meta-gnome/recipes-support/florence/florence_0.5.1.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | DESCRIPTION = "Florence is a virtual keyboard (also called on-screen-keyboard), which allows the user to input text through a touchscreen." | ||
2 | HOMEPAGE = "http://florence.sourceforge.net/english.html" | ||
3 | |||
4 | #NOTICE: If florence can't find its gconf settings, you need to start florence with --config for one time and save the configuration once. | ||
5 | |||
6 | LICENSE = "GPLv2" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" | ||
8 | |||
9 | PR = "r1" | ||
10 | |||
11 | DEPENDS = "gtk+ libxml2 libglade librsvg libxtst gconf cairo intltool-native gnome-doc-utils libnotify" | ||
12 | |||
13 | SRC_URI = "http://switch.dl.sourceforge.net/project/florence/florence/0.5.1/florence-0.5.1.tar.bz2 \ | ||
14 | file://0001-Fix-glib-includes.patch" | ||
15 | SRC_URI[md5sum] = "56d12e5b47c100d9df172aa5ddc0f609" | ||
16 | SRC_URI[sha256sum] = "7b06ed84ef2b7b22d8d2cf0c7d013a05409bd82028240ac8719a68b192d5bc62" | ||
17 | |||
18 | inherit gettext autotools gconf | ||
19 | |||
20 | EXTRA_OECONF = "--disable-scrollkeeper --without-docs --without-at-spi --without-panelapplet" | ||
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 000000000..24e6c31a7 --- /dev/null +++ b/meta-gnome/recipes-support/goffice/goffice/c99math.patch | |||
@@ -0,0 +1,12 @@ | |||
1 | Index: goffice-0.7.14/configure.in | ||
2 | =================================================================== | ||
3 | --- goffice-0.7.14.orig/configure.in 2009-11-14 19:14:37.106109501 +0100 | ||
4 | +++ goffice-0.7.14/configure.in 2009-11-14 19:19:40.907333188 +0100 | ||
5 | @@ -66,6 +66,7 @@ | ||
6 | |||
7 | AC_ISC_POSIX | ||
8 | AC_PROG_CC | ||
9 | +AC_PROG_CC_C99 | ||
10 | AC_PROG_YACC | ||
11 | AM_PROG_LEX | ||
12 | 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 000000000..ea1777a99 --- /dev/null +++ b/meta-gnome/recipes-support/goffice/goffice/nodolt.patch | |||
@@ -0,0 +1,12 @@ | |||
1 | Index: goffice-0.7.14/configure.in | ||
2 | =================================================================== | ||
3 | --- goffice-0.7.14.orig/configure.in | ||
4 | +++ goffice-0.7.14/configure.in | ||
5 | @@ -71,7 +71,6 @@ AC_PROG_YACC | ||
6 | AM_PROG_LEX | ||
7 | AC_PROG_LN_S | ||
8 | AM_PROG_LIBTOOL | ||
9 | -DOLT | ||
10 | AC_STDC_HEADERS | ||
11 | AC_SYS_LARGEFILE | ||
12 | |||
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 000000000..ae9370cfc --- /dev/null +++ b/meta-gnome/recipes-support/goffice/goffice/pcre-8.30.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | Taken from http://trac.macports.org/ticket/34812 | ||
2 | |||
3 | Fixes abiword build failing with: | ||
4 | /usr/lib/libgoffice-0.8.so: undefined reference to `pcre_info' | ||
5 | |||
6 | Upstream-Status: pending | ||
7 | |||
8 | http://www.linuxfromscratch.org/blfs/view/cvs/x/goffice.html | ||
9 | --- a/goffice/utils/regutf8.c.orig 2009-09-05 18:52:09.000000000 -0500 | ||
10 | +++ b/goffice/utils/regutf8.c 2012-06-09 18:04:29.000000000 -0500 | ||
11 | @@ -155,7 +155,7 @@ | ||
12 | default: return GO_REG_BADPAT; | ||
13 | } | ||
14 | } else { | ||
15 | - gor->re_nsub = pcre_info (r, NULL, NULL); | ||
16 | + gor->re_nsub = pcre_fullinfo (r, NULL, 0, NULL); | ||
17 | gor->nosub = (cflags & GO_REG_NOSUB) != 0; | ||
18 | return 0; | ||
19 | } | ||
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 000000000..24c4d0ff6 --- /dev/null +++ b/meta-gnome/recipes-support/goffice/goffice_0.10.1.bb | |||
@@ -0,0 +1,47 @@ | |||
1 | DESCRIPTION="Gnome Office Library" | ||
2 | |||
3 | LICENSE="GPLv2" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=6dc33ff21e1ba1ac1a2a1069d361e29e" | ||
5 | |||
6 | DEPENDS = "libxml-parser-perl-native glib-2.0 gtk+3 pango cairo libgsf libpcre libxml2 libart-lgpl librsvg" | ||
7 | |||
8 | inherit gnomebase pkgconfig perlnative | ||
9 | |||
10 | GNOME_COMPRESS_TYPE = "xz" | ||
11 | |||
12 | SRC_URI[archive.md5sum] = "90fd17c6fe205b779571e00d9b0b4727" | ||
13 | SRC_URI[archive.sha256sum] = "5c38f4e81e874cc8e89481b080f77c47c72bfd6fe2526f4fc2ef87c17f96cad0" | ||
14 | |||
15 | FILES_${PN}-dbg += "${libdir}/goffice/${PV}/plugins/*/.debug" | ||
16 | |||
17 | RRECOMMENDS_${PN} = " \ | ||
18 | goffice-plugin-plot-barcol \ | ||
19 | goffice-plugin-plot-distrib \ | ||
20 | goffice-plugin-plot-pie \ | ||
21 | goffice-plugin-plot-radar \ | ||
22 | goffice-plugin-plot-surface \ | ||
23 | goffice-plugin-plot-xy \ | ||
24 | goffice-plugin-reg-linear \ | ||
25 | goffice-plugin-reg-logfit \ | ||
26 | goffice-plugin-smoothing \ | ||
27 | " | ||
28 | |||
29 | FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} \ | ||
30 | ${sysconfdir} ${sharedstatedir} ${localstatedir} \ | ||
31 | ${base_bindir}/* ${base_sbindir}/* \ | ||
32 | ${base_libdir}/*${SOLIBS} \ | ||
33 | ${datadir}/${PN} \ | ||
34 | ${datadir}/pixmaps ${datadir}/applications \ | ||
35 | ${datadir}/idl ${datadir}/omf ${datadir}/sounds \ | ||
36 | ${libdir}/bonobo/servers" | ||
37 | |||
38 | FILES_${PN}-locale = "${libdir}/locale" | ||
39 | |||
40 | PACKAGES_DYNAMIC += "^goffice-plugin-.*" | ||
41 | |||
42 | python populate_packages_prepend () { | ||
43 | goffice_libdir = d.expand('${libdir}/goffice/${PV}/plugins/') | ||
44 | |||
45 | do_split_packages(d, goffice_libdir, '(.*)', 'goffice-plugin-%s', 'Goffice plugin for %s', allow_dirs=True) | ||
46 | } | ||
47 | |||