diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-11-02 15:11:00 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-11-02 15:11:00 +0000 |
commit | e51fbab510c1a2228b61bfa9dd13e6b964cdc721 (patch) | |
tree | 0edbd514a229f89934bf74ecc35be78c0f10ccf1 /meta/packages/abiword | |
parent | 5f02bb8379f520c15484bc01ce672047e37bf9c7 (diff) | |
download | poky-e51fbab510c1a2228b61bfa9dd13e6b964cdc721.tar.gz |
abiword: added 2.5.2 from OE (disabled spellcheck, printing, plugins)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3064 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/abiword')
-rw-r--r-- | meta/packages/abiword/abiword-2.5.inc | 63 | ||||
-rw-r--r-- | meta/packages/abiword/abiword-embedded_2.5.2.bb | 10 | ||||
-rw-r--r-- | meta/packages/abiword/abiword_2.5.2.bb | 5 |
3 files changed, 78 insertions, 0 deletions
diff --git a/meta/packages/abiword/abiword-2.5.inc b/meta/packages/abiword/abiword-2.5.inc new file mode 100644 index 0000000000..dcd3b85534 --- /dev/null +++ b/meta/packages/abiword/abiword-2.5.inc | |||
@@ -0,0 +1,63 @@ | |||
1 | DESCRIPTION = "AbiWord is free word processing program similar to Microsoft(r) Word" | ||
2 | HOMEPAGE = "http://www.abiword.org" | ||
3 | SECTION = "x11/office" | ||
4 | LICENSE = "GPLv2" | ||
5 | DEPENDS = "perl-native wv libgsf libglade libfribidi jpeg libpng libxml2" | ||
6 | RDEPENDS = "glibc-gconv-ibm850 glibc-gconv-cp1252 \ | ||
7 | glibc-gconv-iso8859-15 glibc-gconv-iso8859-1" | ||
8 | |||
9 | SRC_URI = "http://www.abiword.org/downloads/abiword/${PV}/source/abiword-${PV}.tar.gz" | ||
10 | |||
11 | #want 2.x from 2.x.y for the installation directory | ||
12 | SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" | ||
13 | |||
14 | FILES_${PN} += " \ | ||
15 | ${datadir}/icons/* \ | ||
16 | ${datadir}/abiword-${SHRT_VER}/glade \ | ||
17 | ${datadir}/abiword-${SHRT_VER}/scripts \ | ||
18 | ${datadir}/abiword-${SHRT_VER}/system.profile-en \ | ||
19 | ${datadir}/abiword-${SHRT_VER}/system.profile-en_GB \ | ||
20 | # ${datadir}/abiword-${SHRT_VER}/templates/A4.awt \ | ||
21 | # ${datadir}/abiword-${SHRT_VER}/templates/US-Letter.awt \ | ||
22 | ${datadir}/abiword-${SHRT_VER}/templates/normal.awt \ | ||
23 | ${datadir}/abiword-${SHRT_VER}/templates/normal.awt-en_GB \ | ||
24 | ${datadir}/abiword-${SHRT_VER}/templates/Employee-Directory.awt \ | ||
25 | ${datadir}/abiword-${SHRT_VER}/templates/Business-Report.awt \ | ||
26 | ${datadir}/abiword-${SHRT_VER}/templates/Fax-Coversheet.awt \ | ||
27 | ${datadir}/abiword-${SHRT_VER}/templates/Resume.awt \ | ||
28 | ${datadir}/abiword-${SHRT_VER}/templates/Two-Columns.awt \ | ||
29 | ${datadir}/abiword-${SHRT_VER}/templates/Memo.awt \ | ||
30 | ${datadir}/abiword-${SHRT_VER}/templates/Press-Release.awt " | ||
31 | |||
32 | inherit autotools pkgconfig | ||
33 | |||
34 | PARALLEL_MAKE = "" | ||
35 | |||
36 | EXTRA_OECONF = " --disable-pspell \ | ||
37 | --disable-spellcheck \ | ||
38 | --disable-printing \ | ||
39 | --disable-exports \ | ||
40 | --with-sys-wv" | ||
41 | |||
42 | # AbiWord configure.ac does not play nicely with autoreconf | ||
43 | # so use the autogen.sh script that comes with AbiWord | ||
44 | # | ||
45 | do_configure() { | ||
46 | cd ${S} | ||
47 | export NOCONFIGURE="no"; ./autogen.sh | ||
48 | oe_runconf | ||
49 | } | ||
50 | |||
51 | |||
52 | do_install_append() { | ||
53 | install -d ${D}${datadir}/pixmaps/ | ||
54 | mv ${D}${datadir}/icons/* ${D}${datadir}/pixmaps/ | ||
55 | } | ||
56 | |||
57 | PACKAGES += " abiword-clipart abiword-icons abiword-strings abiword-systemprofiles abiword-templates " | ||
58 | |||
59 | FILES_abiword-clipart += "${datadir}/abiword-${SHRT_VER}/clipart" | ||
60 | FILES_abiword-icons += "${datadir}/abiword-${SHRT_VER}/icons" | ||
61 | FILES_abiword-strings += "${datadir}/abiword-${SHRT_VER}/AbiWord/strings" | ||
62 | FILES_abiword-systemprofiles += "${datadir}/abiword-${SHRT_VER}/AbiWord/system.profile*" | ||
63 | FILES_abiword-templates += "${datadir}/abiword-${SHRT_VER}/templates" | ||
diff --git a/meta/packages/abiword/abiword-embedded_2.5.2.bb b/meta/packages/abiword/abiword-embedded_2.5.2.bb new file mode 100644 index 0000000000..47cf9e03c0 --- /dev/null +++ b/meta/packages/abiword/abiword-embedded_2.5.2.bb | |||
@@ -0,0 +1,10 @@ | |||
1 | require abiword-2.5.inc | ||
2 | |||
3 | EXTRA_OECONF += "--enable-embedded" | ||
4 | |||
5 | S = "${WORKDIR}/abiword-${PV}" | ||
6 | |||
7 | RCONFLICTS = "abiword" | ||
8 | RPROVIDES += "abiword" | ||
9 | |||
10 | |||
diff --git a/meta/packages/abiword/abiword_2.5.2.bb b/meta/packages/abiword/abiword_2.5.2.bb new file mode 100644 index 0000000000..566d0fa203 --- /dev/null +++ b/meta/packages/abiword/abiword_2.5.2.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | require abiword-2.5.inc | ||
2 | |||
3 | PR = "r1" | ||
4 | |||
5 | RCONFLICTS = "abiword-embedded" | ||