diff options
| -rw-r--r-- | meta-gnome/recipes-gnome/abiword/abiword/fix.no.undefined.param.patch | 104 | ||||
| -rw-r--r-- | meta-gnome/recipes-gnome/abiword/abiword_2.8.6.bb | 5 |
2 files changed, 108 insertions, 1 deletions
diff --git a/meta-gnome/recipes-gnome/abiword/abiword/fix.no.undefined.param.patch b/meta-gnome/recipes-gnome/abiword/abiword/fix.no.undefined.param.patch new file mode 100644 index 0000000000..aaccf090b8 --- /dev/null +++ b/meta-gnome/recipes-gnome/abiword/abiword/fix.no.undefined.param.patch | |||
| @@ -0,0 +1,104 @@ | |||
| 1 | | make[3]: Entering directory | ||
| 2 | `/OE/shr-core/tmp/work/armv7a-vfp-neon-oe-linux-gnueabi/abiword-2.8.6-r0/abiword-2.8.6/src' | ||
| 3 | | /bin/sh ../arm-oe-linux-gnueabi-libtool --tag=CXX --mode=link | ||
| 4 | arm-oe-linux-gnueabi-g++ -march=armv7-a -fno-tree-vectorize | ||
| 5 | -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 | ||
| 6 | --sysroot=/OE/shr-core/tmp/sysroots/nokia900 -O2 -pipe -g | ||
| 7 | -feliminate-unused-debug-types -fpermissive | ||
| 8 | -fvisibility-inlines-hidden --no-undefined -avoid-version | ||
| 9 | -export-dynamic -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o | ||
| 10 | abiword abiword-UnixMain.o libabiword-2.8.la -pthread -lfribidi -lwv | ||
| 11 | -lpng -lgsf-1 -lxml2 -lenchant -lz -lgtk-x11-2.0 -lgdk-x11-2.0 | ||
| 12 | -latk-1.0 -lpangoft2-1.0 -lpangocairo-1.0 -lpango-1.0 -lfreetype | ||
| 13 | -lfontconfig -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lcairo | ||
| 14 | -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -ljpeg | ||
| 15 | | arm-oe-linux-gnueabi-libtool: link: arm-oe-linux-gnueabi-g++ | ||
| 16 | -march=armv7-a -fno-tree-vectorize -mthumb-interwork | ||
| 17 | -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 | ||
| 18 | --sysroot=/OE/shr-core/tmp/sysroots/nokia900 -O2 -pipe -g | ||
| 19 | -feliminate-unused-debug-types -fpermissive | ||
| 20 | -fvisibility-inlines-hidden --no-undefined -Wl,-O1 | ||
| 21 | -Wl,--hash-style=gnu -Wl,--as-needed -o .libs/abiword | ||
| 22 | abiword-UnixMain.o -pthread -Wl,--export-dynamic | ||
| 23 | ./.libs/libabiword-2.8.so -L=/usr/lib | ||
| 24 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libfribidi.so | ||
| 25 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libwv.so | ||
| 26 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libgsf-1.so | ||
| 27 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libbz2.so | ||
| 28 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libenchant.so | ||
| 29 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libgtk-x11-2.0.so | ||
| 30 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libgdk-x11-2.0.so | ||
| 31 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libatk-1.0.so | ||
| 32 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/librsvg-2.so | ||
| 33 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libxml2.so | ||
| 34 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libpangocairo-1.0.so | ||
| 35 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libpangoft2-1.0.so | ||
| 36 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libstdc++.so | ||
| 37 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libpango-1.0.so | ||
| 38 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libgdk_pixbuf-2.0.so | ||
| 39 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libgio-2.0.so -lresolv | ||
| 40 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libcairo.so | ||
| 41 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libpixman-1.so | ||
| 42 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libfontconfig.so | ||
| 43 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libexpat.so | ||
| 44 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libfreetype.so | ||
| 45 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libpng12.so | ||
| 46 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libXrender.so | ||
| 47 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libX11.so | ||
| 48 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libxcb.so | ||
| 49 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libXau.so | ||
| 50 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libXdmcp.so | ||
| 51 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libERROR: Function | ||
| 52 | 'do_compile' failed (see | ||
| 53 | /OE/shr-core/tmp/work/armv7a-vfp-neon-oe-linux-gnueabi/abiword-2.8.6-r0/temp/log.do_compile.10916 | ||
| 54 | for further information) | ||
| 55 | | z.so -lm /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libgmodule-2.0.so | ||
| 56 | -ldl /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libgobject-2.0.so | ||
| 57 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libffi.so | ||
| 58 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libgthread-2.0.so -lpthread | ||
| 59 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libglib-2.0.so -lrt | ||
| 60 | /OE/shr-core/tmp/sysroots/nokia900/usr/lib/libjpeg.so -pthread | ||
| 61 | | arm-oe-linux-gnueabi-g++: error: unrecognized option '--no-undefined' | ||
| 62 | | make[3]: *** [abiword] Error 1 | ||
| 63 | | make[3]: Leaving directory | ||
| 64 | `/OE/shr-core/tmp/work/armv7a-vfp-neon-oe-linux-gnueabi/abiword-2.8.6-r0/abiword-2.8.6/src' | ||
| 65 | |||
| 66 | Maybe it's related to | ||
| 67 | http://lists.gnu.org/archive/html/libtool/2011-03/msg00015.html | ||
| 68 | |||
| 69 | Remove extra '-' in no-undefined. | ||
| 70 | |||
| 71 | Upstream-Status: Pending | ||
| 72 | |||
| 73 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
| 74 | |||
| 75 | diff -uNr abiword-2.8.6.orig/src/Makefile.am abiword-2.8.6/src/Makefile.am | ||
| 76 | --- abiword-2.8.6.orig/src/Makefile.am 2009-09-09 15:11:01.000000000 +0200 | ||
| 77 | +++ abiword-2.8.6/src/Makefile.am 2011-11-23 09:06:06.000000000 +0100 | ||
| 78 | @@ -44,7 +44,7 @@ | ||
| 79 | |||
| 80 | libabiword_2_8_la_LDFLAGS = \ | ||
| 81 | $(DEPS_LIBS) \ | ||
| 82 | - --no-undefined \ | ||
| 83 | + -no-undefined \ | ||
| 84 | -avoid-version \ | ||
| 85 | -export-dynamic | ||
| 86 | |||
| 87 | @@ -107,7 +107,7 @@ | ||
| 88 | |||
| 89 | AbiWord_LDFLAGS = \ | ||
| 90 | $(DEPS_LIBS) \ | ||
| 91 | - --no-undefined \ | ||
| 92 | + -no-undefined \ | ||
| 93 | -avoid-version \ | ||
| 94 | -export-dynamic \ | ||
| 95 | -headerpad_max_install_names | ||
| 96 | @@ -129,7 +129,7 @@ | ||
| 97 | |||
| 98 | abiword_LDFLAGS = \ | ||
| 99 | $(platform_ldflags) \ | ||
| 100 | - --no-undefined \ | ||
| 101 | + -no-undefined \ | ||
| 102 | -avoid-version \ | ||
| 103 | -export-dynamic | ||
| 104 | |||
diff --git a/meta-gnome/recipes-gnome/abiword/abiword_2.8.6.bb b/meta-gnome/recipes-gnome/abiword/abiword_2.8.6.bb index 1746769d32..2d0ec9747f 100644 --- a/meta-gnome/recipes-gnome/abiword/abiword_2.8.6.bb +++ b/meta-gnome/recipes-gnome/abiword/abiword_2.8.6.bb | |||
| @@ -2,9 +2,12 @@ require abiword-2.5.inc | |||
| 2 | DEPENDS += " loudmouth libwmf-native gtkmathview asio" | 2 | DEPENDS += " loudmouth libwmf-native gtkmathview asio" |
| 3 | RCONFLICTS_${PN} = "abiword-embedded" | 3 | RCONFLICTS_${PN} = "abiword-embedded" |
| 4 | 4 | ||
| 5 | PR = "r1" | ||
| 6 | |||
| 5 | SRC_URI = "http://www.abisource.com/downloads/abiword/${PV}/source/abiword-${PV}.tar.gz;name=abiword \ | 7 | SRC_URI = "http://www.abisource.com/downloads/abiword/${PV}/source/abiword-${PV}.tar.gz;name=abiword \ |
| 6 | file://autogen-common.sh \ | 8 | file://autogen-common.sh \ |
| 7 | file://nodolt.patch" | 9 | file://nodolt.patch \ |
| 10 | file://fix.no.undefined.param.patch" | ||
| 8 | 11 | ||
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=ecd3ac329fca77e2d0e412bec38e1c20" | 12 | LIC_FILES_CHKSUM = "file://COPYING;md5=ecd3ac329fca77e2d0e412bec38e1c20" |
| 10 | 13 | ||
