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
This commit is contained in:
parent
81c9ad8b0f
commit
2eebb48392
|
@ -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
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
require abiword.inc
|
||||
|
||||
SRCDATE="20070113"
|
||||
PV="2.5.0+cvs${SRCDATE}"
|
||||
PR = "r1"
|
||||
|
||||
SRC_URI = "${CVSURI}"
|
||||
|
||||
S = "${CVSSRC}"
|
||||
|
|
@ -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)
|
||||
|
||||
|
|
@ -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
|
||||
}
|
||||
|
|
@ -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
|
||||
}
|
|
@ -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
|
||||
}
|
|
@ -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
|
||||
}
|
|
@ -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
|
||||
}
|
|
@ -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
|
||||
}
|
|
@ -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
|
||||
}
|
|
@ -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
|
||||
}
|
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue