From 2eebb483924654661dbf2429a8434d14afac55a9 Mon Sep 17 00:00:00 2001 From: Tomas Frydrych Date: Fri, 12 Jan 2007 21:26:44 +0000 Subject: 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 --- meta/packages/abiword/abiword.inc | 63 ++++++++++++++++++++++ meta/packages/abiword/abiword_cvs.bb | 10 ++++ .../packages/libfribidi/files/libtool-update.patch | 11 ++++ meta/packages/libfribidi/libfribidi_0.10.4.bb | 29 ++++++++++ meta/packages/libgsf/libgsf_1.10.0.bb | 46 ++++++++++++++++ meta/packages/libgsf/libgsf_1.12.0.bb | 46 ++++++++++++++++ meta/packages/libgsf/libgsf_1.12.1.bb | 47 ++++++++++++++++ meta/packages/libgsf/libgsf_1.12.2.bb | 47 ++++++++++++++++ meta/packages/libgsf/libgsf_1.13.2.bb | 17 ++++++ meta/packages/libgsf/libgsf_1.13.3.bb | 19 +++++++ meta/packages/libgsf/libgsf_1.14.2.bb | 24 +++++++++ meta/packages/wv/wv_1.2.0.bb | 17 ++++++ 12 files changed, 376 insertions(+) create mode 100644 meta/packages/abiword/abiword.inc create mode 100644 meta/packages/abiword/abiword_cvs.bb create mode 100644 meta/packages/libfribidi/files/libtool-update.patch create mode 100644 meta/packages/libfribidi/libfribidi_0.10.4.bb create mode 100644 meta/packages/libgsf/libgsf_1.10.0.bb create mode 100644 meta/packages/libgsf/libgsf_1.12.0.bb create mode 100644 meta/packages/libgsf/libgsf_1.12.1.bb create mode 100644 meta/packages/libgsf/libgsf_1.12.2.bb create mode 100644 meta/packages/libgsf/libgsf_1.13.2.bb create mode 100644 meta/packages/libgsf/libgsf_1.13.3.bb create mode 100644 meta/packages/libgsf/libgsf_1.14.2.bb create mode 100644 meta/packages/wv/wv_1.2.0.bb (limited to 'meta') diff --git a/meta/packages/abiword/abiword.inc b/meta/packages/abiword/abiword.inc new file mode 100644 index 000000000..4c2b28fd7 --- /dev/null +++ b/meta/packages/abiword/abiword.inc @@ -0,0 +1,63 @@ +DESCRIPTION = "AbiWord is free word processing program similar to Microsoft(r) Word" +SECTION = "gnome/office" +HOMEPAGE = "http://www.abiword.org"" +LICENSE = "GPLv2" + +DEPENDS = "libgsf libglade libfribidi libxml2 wv" +RDEPENDS = "glibc-gconv-ibm850 glibc-gconv-cp1252 \ + glibc-gconv-iso8859-15 glibc-gconv-iso8859-1" + +# Share this file between recipes that use cvs and that pull tarballs +# (one day change this to differentiate automatically based on PV and set the +# SRC_URI and S var directly) +RELURI = "http://www.abiword.org/downloads/abiword/${PV}/source/abiword-${PV}.tar.gz" +RELSRC = "${WORKDIR}/abiword-${PV}/abi" + +CVSURI = "cvs://anoncvs:anoncvs@anoncvs.abisource.com/cvsroot;module=abi" +CVSSRC = "${WORKDIR}/abi" + +#want 2.x from 2.x.y for the installation directory +SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" + +FILES_${PN} += " \ + ${datadir}/icons/* \ + ${datadir}/mime-info \ + ${datadir}/abiword-${SHRT_VER}/glade \ + ${datadir}/abiword-${SHRT_VER}/system.profile-en \ + ${datadir}/abiword-${SHRT_VER}/system.profile-en-GB \ +# ${datadir}/abiword-${SHRT_VER}/templates/normal.awt \ +# ${datadir}/abiword-${SHRT_VER}/templates/normal.awt-en_GB \ + " + +inherit autotools pkgconfig + +PARALLEL_MAKE = "" + +# This is a minimalistic AbiWord build +# +# if you are planning to build plugins, make sure to comment out the +# --disable-exports options + +EXTRA_OECONF = " --enable-embedded \ + --disable-printing \ + --with-sys-wv \ + --disable-exports \ + --disable-spellcheck" + +# TODO -- refactor this, so that instead of two strings and profiles +# packages we have lots of locale packages, each with a set of strings and +# a profile +# +PACKAGES += " abiword-strings abiword-systemprofiles" + +FILES_abiword-strings += "${datadir}/abiword-${SHRT_VER}/strings" +FILES_abiword-systemprofiles += "${datadir}/abiword-${SHRT_VER}/system.profile*" + +# AbiWord configure.ac does not play nicely with autoreconf +# so use the autogen.sh script that comes with AbiWord +# +do_configure() { + cd ${S} + export NOCONFIGURE="no"; ./autogen.sh + oe_runconf +} diff --git a/meta/packages/abiword/abiword_cvs.bb b/meta/packages/abiword/abiword_cvs.bb new file mode 100644 index 000000000..2c27cc208 --- /dev/null +++ b/meta/packages/abiword/abiword_cvs.bb @@ -0,0 +1,10 @@ +require abiword.inc + +SRCDATE="20070113" +PV="2.5.0+cvs${SRCDATE}" +PR = "r1" + +SRC_URI = "${CVSURI}" + +S = "${CVSSRC}" + diff --git a/meta/packages/libfribidi/files/libtool-update.patch b/meta/packages/libfribidi/files/libtool-update.patch new file mode 100644 index 000000000..c7031008f --- /dev/null +++ b/meta/packages/libfribidi/files/libtool-update.patch @@ -0,0 +1,11 @@ +--- fribidi-0.10.4/configure.in~ 2002-05-19 11:06:48.000000000 +0100 ++++ fribidi-0.10.4/configure.in 2004-08-03 17:42:28.000000000 +0100 +@@ -50,7 +50,7 @@ + AC_PROG_INSTALL + AC_PROG_LN_S + AC_PROG_MAKE_SET +-AC_PROG_RANLIB ++#AC_PROG_RANLIB + AC_PATH_PROG(SED, sed, $PATH) + + 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 000000000..57aaf48be --- /dev/null +++ b/meta/packages/libfribidi/libfribidi_0.10.4.bb @@ -0,0 +1,29 @@ +DESCRIPTION = "Fribidi library for bidirectional text" +SECTION = "libs" +PRIORITY = "optional" + +inherit autotools pkgconfig + +PR = "r0" + +S = "${WORKDIR}/fribidi-${PV}" + +SRC_URI = "${SOURCEFORGE_MIRROR}/fribidi/fribidi-${PV}.tar.bz2 \ + file://libtool-update.patch;patch=1" + +#PACKAGES += " ${PN}-bin" +FILES_${PN} = "${libdir}/lib*.so.*" +#FILES_${PN}-bin = "${libdir}/uu*" + +do_configure_prepend () { +# this version of libtool is old - we have to nobble this file to get it to litoolize + rm ltconfig + rm aclocal.m4 + rm acinclude.m4 +} + +do_stage () { + oe_libinstall -a -so -C .libs libfribidi ${STAGING_LIBDIR} + autotools_stage_includes +} + 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 000000000..ce464feba --- /dev/null +++ b/meta/packages/libgsf/libgsf_1.10.0.bb @@ -0,0 +1,46 @@ +LICENSE = "GPL" +SECTION = "libs" +PR = "r1" + +DEPENDS= "libxml2 glib-2.0 zlib gtk-doc libbonobo gnome-vfs" + +PACKAGES =+ "${PN}-gnome ${PN}-gnome-dev " + +FILES_${PN}-gnome = "${libdir}/libgsf-gnome-1.so.*" +FILES_${PN}-gnome-dev = "${libdir}/libgsf-gnome-1.* ${includedir}/libgsf-1/gsf-gnome" + +inherit autotools pkgconfig gnome + +libgsf_includes = "gsf-doc-meta-data.h gsf-infile.h gsf-input-textline.h \ + gsf-outfile-zip.h gsf-output-stdio.h gsf-impl-utils.h \ + gsf-input-bzip.h gsf-input.h gsf-outfile.h gsf-output.h \ + gsf-infile-impl.h gsf-input-gzip.h gsf-libxml.h \ + gsf-output-bzip.h gsf-structured-blob.h gsf-infile-msole.h \ + gsf-input-impl.h gsf-msole-utils.h gsf-output-gzip.h \ + gsf-timestamp.h gsf-infile-msvba.h gsf-input-iochannel.h \ + gsf-outfile-impl.h gsf-output-impl.h gsf-utils.h \ + gsf-infile-stdio.h gsf-input-memory.h gsf-outfile-msole.h \ + gsf-output-iochannel.h gsf.h gsf-infile-zip.h gsf-input-stdio.h \ + gsf-outfile-stdio.h gsf-output-memory.h" + +libgsf_gnome_includes = "gsf-input-gnomevfs.h \ + gsf-output-gnomevfs.h \ + gsf-input-bonobo.h \ + gsf-output-bonobo.h \ + gsf-shared-bonobo-stream.h" + +do_stage() { + oe_libinstall -so -C gsf libgsf-1 ${STAGING_LIBDIR} + + mkdir -p ${STAGING_INCDIR}/libgsf-1/gsf/ + for i in ${libgsf_includes}; do + install -m 0644 gsf/$i ${STAGING_INCDIR}/libgsf-1/gsf/$i + done + + oe_libinstall -so -C gsf-gnome libgsf-gnome-1 ${STAGING_LIBDIR} + + mkdir -p ${STAGING_INCDIR}/libgsf-1/gsf-gnome/ + for i in ${libgsf_gnome_includes}; do + install -m 0644 gsf-gnome/$i ${STAGING_INCDIR}/libgsf-1/gsf-gnome/$i + done +} 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 000000000..269863987 --- /dev/null +++ b/meta/packages/libgsf/libgsf_1.12.0.bb @@ -0,0 +1,46 @@ +LICENSE = "GPL" +SECTION = "libs" +PR = "r2" + +DEPENDS= "libxml2 glib-2.0 zlib gtk-doc libbonobo gnome-vfs" + +PACKAGES =+ "${PN}-gnome ${PN}-gnome-dev " + +FILES_${PN}-gnome = "${libdir}/libgsf-gnome-1.so.*" +FILES_${PN}-gnome-dev = "${libdir}/libgsf-gnome-1.* ${includedir}/libgsf-1/gsf-gnome" + +inherit autotools pkgconfig gnome + +libgsf_includes = "gsf-doc-meta-data.h gsf-infile.h gsf-input-textline.h \ + gsf-outfile-zip.h gsf-output-stdio.h gsf-impl-utils.h \ + gsf-input-bzip.h gsf-input.h gsf-outfile.h gsf-output.h \ + gsf-infile-impl.h gsf-input-gzip.h gsf-libxml.h \ + gsf-output-bzip.h gsf-structured-blob.h gsf-infile-msole.h \ + gsf-input-impl.h gsf-msole-utils.h gsf-output-gzip.h \ + gsf-timestamp.h gsf-infile-msvba.h gsf-input-iochannel.h \ + gsf-outfile-impl.h gsf-output-impl.h gsf-utils.h \ + gsf-infile-stdio.h gsf-input-memory.h gsf-outfile-msole.h \ + gsf-output-iochannel.h gsf.h gsf-infile-zip.h gsf-input-stdio.h \ + gsf-outfile-stdio.h gsf-output-memory.h gsf-output-csv.h" + +libgsf_gnome_includes = "gsf-input-gnomevfs.h \ + gsf-output-gnomevfs.h \ + gsf-input-bonobo.h \ + gsf-output-bonobo.h \ + gsf-shared-bonobo-stream.h" + +do_stage() { + oe_libinstall -so -C gsf libgsf-1 ${STAGING_LIBDIR} + + mkdir -p ${STAGING_INCDIR}/libgsf-1/gsf/ + for i in ${libgsf_includes}; do + install -m 0644 gsf/$i ${STAGING_INCDIR}/libgsf-1/gsf/$i + done + + oe_libinstall -so -C gsf-gnome libgsf-gnome-1 ${STAGING_LIBDIR} + + mkdir -p ${STAGING_INCDIR}/libgsf-1/gsf-gnome/ + for i in ${libgsf_gnome_includes}; do + install -m 0644 gsf-gnome/$i ${STAGING_INCDIR}/libgsf-1/gsf-gnome/$i + done +} 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 000000000..310d922d6 --- /dev/null +++ b/meta/packages/libgsf/libgsf_1.12.1.bb @@ -0,0 +1,47 @@ +LICENSE = "GPL" +SECTION = "libs" +PR = "r0" + +DEPENDS= "libxml2 glib-2.0 zlib gtk-doc libbonobo gnome-vfs" + +PACKAGES =+ "${PN}-gnome ${PN}-gnome-dev " + +FILES_${PN}-gnome = "${libdir}/libgsf-gnome-1.so.*" +FILES_${PN}-gnome-dev = "${libdir}/libgsf-gnome-1.* ${includedir}/libgsf-1/gsf-gnome" + +inherit autotools pkgconfig gnome + +libgsf_includes = "gsf-doc-meta-data.h gsf-infile.h gsf-input-textline.h \ + gsf-outfile-zip.h gsf-output-stdio.h gsf-impl-utils.h \ + gsf-input-bzip.h gsf-input.h gsf-outfile.h gsf-output.h \ + gsf-infile-impl.h gsf-input-gzip.h gsf-libxml.h \ + gsf-output-bzip.h gsf-structured-blob.h gsf-infile-msole.h \ + gsf-input-impl.h gsf-msole-utils.h gsf-output-gzip.h \ + gsf-timestamp.h gsf-infile-msvba.h gsf-input-iochannel.h \ + gsf-outfile-impl.h gsf-output-impl.h gsf-utils.h \ + gsf-infile-stdio.h gsf-input-memory.h gsf-outfile-msole.h \ + gsf-output-iochannel.h gsf.h gsf-infile-zip.h gsf-input-stdio.h \ + gsf-outfile-stdio.h gsf-output-memory.h gsf-output-csv.h \ + gsf-output-iconv.h " + +libgsf_gnome_includes = "gsf-input-gnomevfs.h \ + gsf-output-gnomevfs.h \ + gsf-input-bonobo.h \ + gsf-output-bonobo.h \ + gsf-shared-bonobo-stream.h" + +do_stage() { + oe_libinstall -so -C gsf libgsf-1 ${STAGING_LIBDIR} + + mkdir -p ${STAGING_INCDIR}/libgsf-1/gsf/ + for i in ${libgsf_includes}; do + install -m 0644 gsf/$i ${STAGING_INCDIR}/libgsf-1/gsf/$i + done + + oe_libinstall -so -C gsf-gnome libgsf-gnome-1 ${STAGING_LIBDIR} + + mkdir -p ${STAGING_INCDIR}/libgsf-1/gsf-gnome/ + for i in ${libgsf_gnome_includes}; do + install -m 0644 gsf-gnome/$i ${STAGING_INCDIR}/libgsf-1/gsf-gnome/$i + done +} 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 000000000..02e95718d --- /dev/null +++ b/meta/packages/libgsf/libgsf_1.12.2.bb @@ -0,0 +1,47 @@ +LICENSE = "GPL" +SECTION = "libs" +PR = "r0" + +DEPENDS= "libxml2 glib-2.0 zlib gtk-doc libbonobo gnome-vfs" + +PACKAGES =+ "${PN}-gnome ${PN}-gnome-dev " + +FILES_${PN}-gnome = "${libdir}/libgsf-gnome-1.so.*" +FILES_${PN}-gnome-dev = "${libdir}/libgsf-gnome-1.* ${includedir}/libgsf-1/gsf-gnome" + +inherit autotools pkgconfig gnome + +libgsf_includes = "gsf-doc-meta-data.h gsf-infile.h gsf-input-textline.h \ + gsf-outfile-zip.h gsf-output-stdio.h gsf-impl-utils.h \ + gsf-input-bzip.h gsf-input.h gsf-outfile.h gsf-output.h \ + gsf-infile-impl.h gsf-input-gzip.h gsf-libxml.h \ + gsf-output-bzip.h gsf-structured-blob.h gsf-infile-msole.h \ + gsf-input-impl.h gsf-msole-utils.h gsf-output-gzip.h \ + gsf-timestamp.h gsf-infile-msvba.h gsf-input-iochannel.h \ + gsf-outfile-impl.h gsf-output-impl.h gsf-utils.h \ + gsf-infile-stdio.h gsf-input-memory.h gsf-outfile-msole.h \ + gsf-output-iochannel.h gsf.h gsf-infile-zip.h gsf-input-stdio.h \ + gsf-outfile-stdio.h gsf-output-memory.h gsf-output-csv.h \ + gsf-output-iconv.h gsf-meta-names.h " + +libgsf_gnome_includes = "gsf-input-gnomevfs.h \ + gsf-output-gnomevfs.h \ + gsf-input-bonobo.h \ + gsf-output-bonobo.h \ + gsf-shared-bonobo-stream.h" + +do_stage() { + oe_libinstall -so -C gsf libgsf-1 ${STAGING_LIBDIR} + + mkdir -p ${STAGING_INCDIR}/libgsf-1/gsf/ + for i in ${libgsf_includes}; do + install -m 0644 gsf/$i ${STAGING_INCDIR}/libgsf-1/gsf/$i + done + + oe_libinstall -so -C gsf-gnome libgsf-gnome-1 ${STAGING_LIBDIR} + + mkdir -p ${STAGING_INCDIR}/libgsf-1/gsf-gnome/ + for i in ${libgsf_gnome_includes}; do + install -m 0644 gsf-gnome/$i ${STAGING_INCDIR}/libgsf-1/gsf-gnome/$i + done +} 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 000000000..caeb4e4dc --- /dev/null +++ b/meta/packages/libgsf/libgsf_1.13.2.bb @@ -0,0 +1,17 @@ +LICENSE = "GPL" +SECTION = "libs" +PR = "r1" + +DEPENDS= "libxml2 glib-2.0 zlib gtk-doc libbonobo gnome-vfs" + +PACKAGES =+ "${PN}-gnome ${PN}-gnome-dev " + +FILES_${PN}-gnome = "${libdir}/libgsf-gnome-1.so.*" +FILES_${PN}-gnome-dev = "${libdir}/libgsf-gnome-1.* ${includedir}/libgsf-1/gsf-gnome" + +inherit autotools pkgconfig gnome + + +do_stage() { +autotools_stage_all +} 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 000000000..1f793b114 --- /dev/null +++ b/meta/packages/libgsf/libgsf_1.13.3.bb @@ -0,0 +1,19 @@ +LICENSE = "GPL" +SECTION = "libs" +PR = "r1" + +DEPENDS= "libxml2 glib-2.0 zlib gtk-doc libbonobo gnome-vfs" +RDEPENDS = "gconf gnome-vfs" + + +PACKAGES =+ "${PN}-gnome ${PN}-gnome-dev " + +FILES_${PN}-gnome = "${libdir}/libgsf-gnome-1.so.*" +FILES_${PN}-gnome-dev = "${libdir}/libgsf-gnome-1.* ${includedir}/libgsf-1/gsf-gnome" + +inherit autotools pkgconfig gnome + + +do_stage() { +autotools_stage_all +} 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 000000000..c9804c739 --- /dev/null +++ b/meta/packages/libgsf/libgsf_1.14.2.bb @@ -0,0 +1,24 @@ +LICENSE = "GPL" +SECTION = "libs" +PR = "r0" + +DEPENDS= "libxml2 bzip2 glib-2.0 zlib" +RDEPENDS = "gconf gnome-vfs" + + +PACKAGES =+ "${PN}-gnome ${PN}-gnome-dev " + +FILES_${PN}-gnome = "${libdir}/libgsf-gnome-1.so.*" +FILES_${PN}-gnome-dev = "${libdir}/libgsf-gnome-1.* ${includedir}/libgsf-1/gsf-gnome" + +inherit autotools pkgconfig gnome gconf + +EXTRA_OECONF = "\ + --without-python \ + --without-gnome \ + --disable-gtk-doc \ + --with-bz2" + +do_stage() { +autotools_stage_all +} 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 000000000..f224be806 --- /dev/null +++ b/meta/packages/wv/wv_1.2.0.bb @@ -0,0 +1,17 @@ +LICENSE = "GPLv2" + +DEPENDS = "" + +SRC_URI = "http://switch.dl.sourceforge.net/sourceforge/wvware/wv-${PV}.tar.gz" + +PR = "r1" + +inherit autotools pkgconfig + +S = "${WORKDIR}/${PN}-${PV}" + +EXTRA_OECONF = "" + +do_stage () { + autotools_stage_all +} -- cgit v1.2.3