summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorTomas Frydrych <tf@openedhand.com>2007-01-12 21:26:44 +0000
committerTomas Frydrych <tf@openedhand.com>2007-01-12 21:26:44 +0000
commit2eebb483924654661dbf2429a8434d14afac55a9 (patch)
tree880e1e5e6526925a03551577470e67b76c7f7e50 /meta
parent81c9ad8b0f826c1aab3ebe1eff6ccb88141bf0ad (diff)
downloadpoky-2eebb483924654661dbf2429a8434d14afac55a9.tar.gz
add recipes for packages needed to build AbiWord (based on OE, but tweaked for 2.5.x)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1140 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/abiword/abiword.inc63
-rw-r--r--meta/packages/abiword/abiword_cvs.bb10
-rw-r--r--meta/packages/libfribidi/files/libtool-update.patch11
-rw-r--r--meta/packages/libfribidi/libfribidi_0.10.4.bb29
-rw-r--r--meta/packages/libgsf/libgsf_1.10.0.bb46
-rw-r--r--meta/packages/libgsf/libgsf_1.12.0.bb46
-rw-r--r--meta/packages/libgsf/libgsf_1.12.1.bb47
-rw-r--r--meta/packages/libgsf/libgsf_1.12.2.bb47
-rw-r--r--meta/packages/libgsf/libgsf_1.13.2.bb17
-rw-r--r--meta/packages/libgsf/libgsf_1.13.3.bb19
-rw-r--r--meta/packages/libgsf/libgsf_1.14.2.bb24
-rw-r--r--meta/packages/wv/wv_1.2.0.bb17
12 files changed, 376 insertions, 0 deletions
diff --git a/meta/packages/abiword/abiword.inc b/meta/packages/abiword/abiword.inc
new file mode 100644
index 0000000000..4c2b28fd71
--- /dev/null
+++ b/meta/packages/abiword/abiword.inc
@@ -0,0 +1,63 @@
1DESCRIPTION = "AbiWord is free word processing program similar to Microsoft(r) Word"
2SECTION = "gnome/office"
3HOMEPAGE = "http://www.abiword.org""
4LICENSE = "GPLv2"
5
6DEPENDS = "libgsf libglade libfribidi libxml2 wv"
7RDEPENDS = "glibc-gconv-ibm850 glibc-gconv-cp1252 \
8 glibc-gconv-iso8859-15 glibc-gconv-iso8859-1"
9
10# Share this file between recipes that use cvs and that pull tarballs
11# (one day change this to differentiate automatically based on PV and set the
12# SRC_URI and S var directly)
13RELURI = "http://www.abiword.org/downloads/abiword/${PV}/source/abiword-${PV}.tar.gz"
14RELSRC = "${WORKDIR}/abiword-${PV}/abi"
15
16CVSURI = "cvs://anoncvs:anoncvs@anoncvs.abisource.com/cvsroot;module=abi"
17CVSSRC = "${WORKDIR}/abi"
18
19#want 2.x from 2.x.y for the installation directory
20SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
21
22FILES_${PN} += " \
23 ${datadir}/icons/* \
24 ${datadir}/mime-info \
25 ${datadir}/abiword-${SHRT_VER}/glade \
26 ${datadir}/abiword-${SHRT_VER}/system.profile-en \
27 ${datadir}/abiword-${SHRT_VER}/system.profile-en-GB \
28# ${datadir}/abiword-${SHRT_VER}/templates/normal.awt \
29# ${datadir}/abiword-${SHRT_VER}/templates/normal.awt-en_GB \
30 "
31
32inherit autotools pkgconfig
33
34PARALLEL_MAKE = ""
35
36# This is a minimalistic AbiWord build
37#
38# if you are planning to build plugins, make sure to comment out the
39# --disable-exports options
40
41EXTRA_OECONF = " --enable-embedded \
42 --disable-printing \
43 --with-sys-wv \
44 --disable-exports \
45 --disable-spellcheck"
46
47# TODO -- refactor this, so that instead of two strings and profiles
48# packages we have lots of locale packages, each with a set of strings and
49# a profile
50#
51PACKAGES += " abiword-strings abiword-systemprofiles"
52
53FILES_abiword-strings += "${datadir}/abiword-${SHRT_VER}/strings"
54FILES_abiword-systemprofiles += "${datadir}/abiword-${SHRT_VER}/system.profile*"
55
56# AbiWord configure.ac does not play nicely with autoreconf
57# so use the autogen.sh script that comes with AbiWord
58#
59do_configure() {
60 cd ${S}
61 export NOCONFIGURE="no"; ./autogen.sh
62 oe_runconf
63}
diff --git a/meta/packages/abiword/abiword_cvs.bb b/meta/packages/abiword/abiword_cvs.bb
new file mode 100644
index 0000000000..2c27cc2083
--- /dev/null
+++ b/meta/packages/abiword/abiword_cvs.bb
@@ -0,0 +1,10 @@
1require abiword.inc
2
3SRCDATE="20070113"
4PV="2.5.0+cvs${SRCDATE}"
5PR = "r1"
6
7SRC_URI = "${CVSURI}"
8
9S = "${CVSSRC}"
10
diff --git a/meta/packages/libfribidi/files/libtool-update.patch b/meta/packages/libfribidi/files/libtool-update.patch
new file mode 100644
index 0000000000..c7031008fd
--- /dev/null
+++ b/meta/packages/libfribidi/files/libtool-update.patch
@@ -0,0 +1,11 @@
1--- fribidi-0.10.4/configure.in~ 2002-05-19 11:06:48.000000000 +0100
2+++ fribidi-0.10.4/configure.in 2004-08-03 17:42:28.000000000 +0100
3@@ -50,7 +50,7 @@
4 AC_PROG_INSTALL
5 AC_PROG_LN_S
6 AC_PROG_MAKE_SET
7-AC_PROG_RANLIB
8+#AC_PROG_RANLIB
9 AC_PATH_PROG(SED, sed, $PATH)
10
11
diff --git a/meta/packages/libfribidi/libfribidi_0.10.4.bb b/meta/packages/libfribidi/libfribidi_0.10.4.bb
new file mode 100644
index 0000000000..57aaf48bed
--- /dev/null
+++ b/meta/packages/libfribidi/libfribidi_0.10.4.bb
@@ -0,0 +1,29 @@
1DESCRIPTION = "Fribidi library for bidirectional text"
2SECTION = "libs"
3PRIORITY = "optional"
4
5inherit autotools pkgconfig
6
7PR = "r0"
8
9S = "${WORKDIR}/fribidi-${PV}"
10
11SRC_URI = "${SOURCEFORGE_MIRROR}/fribidi/fribidi-${PV}.tar.bz2 \
12 file://libtool-update.patch;patch=1"
13
14#PACKAGES += " ${PN}-bin"
15FILES_${PN} = "${libdir}/lib*.so.*"
16#FILES_${PN}-bin = "${libdir}/uu*"
17
18do_configure_prepend () {
19# this version of libtool is old - we have to nobble this file to get it to litoolize
20 rm ltconfig
21 rm aclocal.m4
22 rm acinclude.m4
23}
24
25do_stage () {
26 oe_libinstall -a -so -C .libs libfribidi ${STAGING_LIBDIR}
27 autotools_stage_includes
28}
29
diff --git a/meta/packages/libgsf/libgsf_1.10.0.bb b/meta/packages/libgsf/libgsf_1.10.0.bb
new file mode 100644
index 0000000000..ce464feba9
--- /dev/null
+++ b/meta/packages/libgsf/libgsf_1.10.0.bb
@@ -0,0 +1,46 @@
1LICENSE = "GPL"
2SECTION = "libs"
3PR = "r1"
4
5DEPENDS= "libxml2 glib-2.0 zlib gtk-doc libbonobo gnome-vfs"
6
7PACKAGES =+ "${PN}-gnome ${PN}-gnome-dev "
8
9FILES_${PN}-gnome = "${libdir}/libgsf-gnome-1.so.*"
10FILES_${PN}-gnome-dev = "${libdir}/libgsf-gnome-1.* ${includedir}/libgsf-1/gsf-gnome"
11
12inherit autotools pkgconfig gnome
13
14libgsf_includes = "gsf-doc-meta-data.h gsf-infile.h gsf-input-textline.h \
15 gsf-outfile-zip.h gsf-output-stdio.h gsf-impl-utils.h \
16 gsf-input-bzip.h gsf-input.h gsf-outfile.h gsf-output.h \
17 gsf-infile-impl.h gsf-input-gzip.h gsf-libxml.h \
18 gsf-output-bzip.h gsf-structured-blob.h gsf-infile-msole.h \
19 gsf-input-impl.h gsf-msole-utils.h gsf-output-gzip.h \
20 gsf-timestamp.h gsf-infile-msvba.h gsf-input-iochannel.h \
21 gsf-outfile-impl.h gsf-output-impl.h gsf-utils.h \
22 gsf-infile-stdio.h gsf-input-memory.h gsf-outfile-msole.h \
23 gsf-output-iochannel.h gsf.h gsf-infile-zip.h gsf-input-stdio.h \
24 gsf-outfile-stdio.h gsf-output-memory.h"
25
26libgsf_gnome_includes = "gsf-input-gnomevfs.h \
27 gsf-output-gnomevfs.h \
28 gsf-input-bonobo.h \
29 gsf-output-bonobo.h \
30 gsf-shared-bonobo-stream.h"
31
32do_stage() {
33 oe_libinstall -so -C gsf libgsf-1 ${STAGING_LIBDIR}
34
35 mkdir -p ${STAGING_INCDIR}/libgsf-1/gsf/
36 for i in ${libgsf_includes}; do
37 install -m 0644 gsf/$i ${STAGING_INCDIR}/libgsf-1/gsf/$i
38 done
39
40 oe_libinstall -so -C gsf-gnome libgsf-gnome-1 ${STAGING_LIBDIR}
41
42 mkdir -p ${STAGING_INCDIR}/libgsf-1/gsf-gnome/
43 for i in ${libgsf_gnome_includes}; do
44 install -m 0644 gsf-gnome/$i ${STAGING_INCDIR}/libgsf-1/gsf-gnome/$i
45 done
46}
diff --git a/meta/packages/libgsf/libgsf_1.12.0.bb b/meta/packages/libgsf/libgsf_1.12.0.bb
new file mode 100644
index 0000000000..2698639873
--- /dev/null
+++ b/meta/packages/libgsf/libgsf_1.12.0.bb
@@ -0,0 +1,46 @@
1LICENSE = "GPL"
2SECTION = "libs"
3PR = "r2"
4
5DEPENDS= "libxml2 glib-2.0 zlib gtk-doc libbonobo gnome-vfs"
6
7PACKAGES =+ "${PN}-gnome ${PN}-gnome-dev "
8
9FILES_${PN}-gnome = "${libdir}/libgsf-gnome-1.so.*"
10FILES_${PN}-gnome-dev = "${libdir}/libgsf-gnome-1.* ${includedir}/libgsf-1/gsf-gnome"
11
12inherit autotools pkgconfig gnome
13
14libgsf_includes = "gsf-doc-meta-data.h gsf-infile.h gsf-input-textline.h \
15 gsf-outfile-zip.h gsf-output-stdio.h gsf-impl-utils.h \
16 gsf-input-bzip.h gsf-input.h gsf-outfile.h gsf-output.h \
17 gsf-infile-impl.h gsf-input-gzip.h gsf-libxml.h \
18 gsf-output-bzip.h gsf-structured-blob.h gsf-infile-msole.h \
19 gsf-input-impl.h gsf-msole-utils.h gsf-output-gzip.h \
20 gsf-timestamp.h gsf-infile-msvba.h gsf-input-iochannel.h \
21 gsf-outfile-impl.h gsf-output-impl.h gsf-utils.h \
22 gsf-infile-stdio.h gsf-input-memory.h gsf-outfile-msole.h \
23 gsf-output-iochannel.h gsf.h gsf-infile-zip.h gsf-input-stdio.h \
24 gsf-outfile-stdio.h gsf-output-memory.h gsf-output-csv.h"
25
26libgsf_gnome_includes = "gsf-input-gnomevfs.h \
27 gsf-output-gnomevfs.h \
28 gsf-input-bonobo.h \
29 gsf-output-bonobo.h \
30 gsf-shared-bonobo-stream.h"
31
32do_stage() {
33 oe_libinstall -so -C gsf libgsf-1 ${STAGING_LIBDIR}
34
35 mkdir -p ${STAGING_INCDIR}/libgsf-1/gsf/
36 for i in ${libgsf_includes}; do
37 install -m 0644 gsf/$i ${STAGING_INCDIR}/libgsf-1/gsf/$i
38 done
39
40 oe_libinstall -so -C gsf-gnome libgsf-gnome-1 ${STAGING_LIBDIR}
41
42 mkdir -p ${STAGING_INCDIR}/libgsf-1/gsf-gnome/
43 for i in ${libgsf_gnome_includes}; do
44 install -m 0644 gsf-gnome/$i ${STAGING_INCDIR}/libgsf-1/gsf-gnome/$i
45 done
46}
diff --git a/meta/packages/libgsf/libgsf_1.12.1.bb b/meta/packages/libgsf/libgsf_1.12.1.bb
new file mode 100644
index 0000000000..310d922d6e
--- /dev/null
+++ b/meta/packages/libgsf/libgsf_1.12.1.bb
@@ -0,0 +1,47 @@
1LICENSE = "GPL"
2SECTION = "libs"
3PR = "r0"
4
5DEPENDS= "libxml2 glib-2.0 zlib gtk-doc libbonobo gnome-vfs"
6
7PACKAGES =+ "${PN}-gnome ${PN}-gnome-dev "
8
9FILES_${PN}-gnome = "${libdir}/libgsf-gnome-1.so.*"
10FILES_${PN}-gnome-dev = "${libdir}/libgsf-gnome-1.* ${includedir}/libgsf-1/gsf-gnome"
11
12inherit autotools pkgconfig gnome
13
14libgsf_includes = "gsf-doc-meta-data.h gsf-infile.h gsf-input-textline.h \
15 gsf-outfile-zip.h gsf-output-stdio.h gsf-impl-utils.h \
16 gsf-input-bzip.h gsf-input.h gsf-outfile.h gsf-output.h \
17 gsf-infile-impl.h gsf-input-gzip.h gsf-libxml.h \
18 gsf-output-bzip.h gsf-structured-blob.h gsf-infile-msole.h \
19 gsf-input-impl.h gsf-msole-utils.h gsf-output-gzip.h \
20 gsf-timestamp.h gsf-infile-msvba.h gsf-input-iochannel.h \
21 gsf-outfile-impl.h gsf-output-impl.h gsf-utils.h \
22 gsf-infile-stdio.h gsf-input-memory.h gsf-outfile-msole.h \
23 gsf-output-iochannel.h gsf.h gsf-infile-zip.h gsf-input-stdio.h \
24 gsf-outfile-stdio.h gsf-output-memory.h gsf-output-csv.h \
25 gsf-output-iconv.h "
26
27libgsf_gnome_includes = "gsf-input-gnomevfs.h \
28 gsf-output-gnomevfs.h \
29 gsf-input-bonobo.h \
30 gsf-output-bonobo.h \
31 gsf-shared-bonobo-stream.h"
32
33do_stage() {
34 oe_libinstall -so -C gsf libgsf-1 ${STAGING_LIBDIR}
35
36 mkdir -p ${STAGING_INCDIR}/libgsf-1/gsf/
37 for i in ${libgsf_includes}; do
38 install -m 0644 gsf/$i ${STAGING_INCDIR}/libgsf-1/gsf/$i
39 done
40
41 oe_libinstall -so -C gsf-gnome libgsf-gnome-1 ${STAGING_LIBDIR}
42
43 mkdir -p ${STAGING_INCDIR}/libgsf-1/gsf-gnome/
44 for i in ${libgsf_gnome_includes}; do
45 install -m 0644 gsf-gnome/$i ${STAGING_INCDIR}/libgsf-1/gsf-gnome/$i
46 done
47}
diff --git a/meta/packages/libgsf/libgsf_1.12.2.bb b/meta/packages/libgsf/libgsf_1.12.2.bb
new file mode 100644
index 0000000000..02e95718dd
--- /dev/null
+++ b/meta/packages/libgsf/libgsf_1.12.2.bb
@@ -0,0 +1,47 @@
1LICENSE = "GPL"
2SECTION = "libs"
3PR = "r0"
4
5DEPENDS= "libxml2 glib-2.0 zlib gtk-doc libbonobo gnome-vfs"
6
7PACKAGES =+ "${PN}-gnome ${PN}-gnome-dev "
8
9FILES_${PN}-gnome = "${libdir}/libgsf-gnome-1.so.*"
10FILES_${PN}-gnome-dev = "${libdir}/libgsf-gnome-1.* ${includedir}/libgsf-1/gsf-gnome"
11
12inherit autotools pkgconfig gnome
13
14libgsf_includes = "gsf-doc-meta-data.h gsf-infile.h gsf-input-textline.h \
15 gsf-outfile-zip.h gsf-output-stdio.h gsf-impl-utils.h \
16 gsf-input-bzip.h gsf-input.h gsf-outfile.h gsf-output.h \
17 gsf-infile-impl.h gsf-input-gzip.h gsf-libxml.h \
18 gsf-output-bzip.h gsf-structured-blob.h gsf-infile-msole.h \
19 gsf-input-impl.h gsf-msole-utils.h gsf-output-gzip.h \
20 gsf-timestamp.h gsf-infile-msvba.h gsf-input-iochannel.h \
21 gsf-outfile-impl.h gsf-output-impl.h gsf-utils.h \
22 gsf-infile-stdio.h gsf-input-memory.h gsf-outfile-msole.h \
23 gsf-output-iochannel.h gsf.h gsf-infile-zip.h gsf-input-stdio.h \
24 gsf-outfile-stdio.h gsf-output-memory.h gsf-output-csv.h \
25 gsf-output-iconv.h gsf-meta-names.h "
26
27libgsf_gnome_includes = "gsf-input-gnomevfs.h \
28 gsf-output-gnomevfs.h \
29 gsf-input-bonobo.h \
30 gsf-output-bonobo.h \
31 gsf-shared-bonobo-stream.h"
32
33do_stage() {
34 oe_libinstall -so -C gsf libgsf-1 ${STAGING_LIBDIR}
35
36 mkdir -p ${STAGING_INCDIR}/libgsf-1/gsf/
37 for i in ${libgsf_includes}; do
38 install -m 0644 gsf/$i ${STAGING_INCDIR}/libgsf-1/gsf/$i
39 done
40
41 oe_libinstall -so -C gsf-gnome libgsf-gnome-1 ${STAGING_LIBDIR}
42
43 mkdir -p ${STAGING_INCDIR}/libgsf-1/gsf-gnome/
44 for i in ${libgsf_gnome_includes}; do
45 install -m 0644 gsf-gnome/$i ${STAGING_INCDIR}/libgsf-1/gsf-gnome/$i
46 done
47}
diff --git a/meta/packages/libgsf/libgsf_1.13.2.bb b/meta/packages/libgsf/libgsf_1.13.2.bb
new file mode 100644
index 0000000000..caeb4e4dc9
--- /dev/null
+++ b/meta/packages/libgsf/libgsf_1.13.2.bb
@@ -0,0 +1,17 @@
1LICENSE = "GPL"
2SECTION = "libs"
3PR = "r1"
4
5DEPENDS= "libxml2 glib-2.0 zlib gtk-doc libbonobo gnome-vfs"
6
7PACKAGES =+ "${PN}-gnome ${PN}-gnome-dev "
8
9FILES_${PN}-gnome = "${libdir}/libgsf-gnome-1.so.*"
10FILES_${PN}-gnome-dev = "${libdir}/libgsf-gnome-1.* ${includedir}/libgsf-1/gsf-gnome"
11
12inherit autotools pkgconfig gnome
13
14
15do_stage() {
16autotools_stage_all
17}
diff --git a/meta/packages/libgsf/libgsf_1.13.3.bb b/meta/packages/libgsf/libgsf_1.13.3.bb
new file mode 100644
index 0000000000..1f793b1143
--- /dev/null
+++ b/meta/packages/libgsf/libgsf_1.13.3.bb
@@ -0,0 +1,19 @@
1LICENSE = "GPL"
2SECTION = "libs"
3PR = "r1"
4
5DEPENDS= "libxml2 glib-2.0 zlib gtk-doc libbonobo gnome-vfs"
6RDEPENDS = "gconf gnome-vfs"
7
8
9PACKAGES =+ "${PN}-gnome ${PN}-gnome-dev "
10
11FILES_${PN}-gnome = "${libdir}/libgsf-gnome-1.so.*"
12FILES_${PN}-gnome-dev = "${libdir}/libgsf-gnome-1.* ${includedir}/libgsf-1/gsf-gnome"
13
14inherit autotools pkgconfig gnome
15
16
17do_stage() {
18autotools_stage_all
19}
diff --git a/meta/packages/libgsf/libgsf_1.14.2.bb b/meta/packages/libgsf/libgsf_1.14.2.bb
new file mode 100644
index 0000000000..c9804c7392
--- /dev/null
+++ b/meta/packages/libgsf/libgsf_1.14.2.bb
@@ -0,0 +1,24 @@
1LICENSE = "GPL"
2SECTION = "libs"
3PR = "r0"
4
5DEPENDS= "libxml2 bzip2 glib-2.0 zlib"
6RDEPENDS = "gconf gnome-vfs"
7
8
9PACKAGES =+ "${PN}-gnome ${PN}-gnome-dev "
10
11FILES_${PN}-gnome = "${libdir}/libgsf-gnome-1.so.*"
12FILES_${PN}-gnome-dev = "${libdir}/libgsf-gnome-1.* ${includedir}/libgsf-1/gsf-gnome"
13
14inherit autotools pkgconfig gnome gconf
15
16EXTRA_OECONF = "\
17 --without-python \
18 --without-gnome \
19 --disable-gtk-doc \
20 --with-bz2"
21
22do_stage() {
23autotools_stage_all
24}
diff --git a/meta/packages/wv/wv_1.2.0.bb b/meta/packages/wv/wv_1.2.0.bb
new file mode 100644
index 0000000000..f224be806e
--- /dev/null
+++ b/meta/packages/wv/wv_1.2.0.bb
@@ -0,0 +1,17 @@
1LICENSE = "GPLv2"
2
3DEPENDS = ""
4
5SRC_URI = "http://switch.dl.sourceforge.net/sourceforge/wvware/wv-${PV}.tar.gz"
6
7PR = "r1"
8
9inherit autotools pkgconfig
10
11S = "${WORKDIR}/${PN}-${PV}"
12
13EXTRA_OECONF = ""
14
15do_stage () {
16 autotools_stage_all
17}