New package: abiword-2.8.6 (with a patch from Arch)

This commit is contained in:
davehome 2011-10-26 13:49:02 +00:00
parent fd69759783
commit f7bdf45e78
8 changed files with 127 additions and 0 deletions

1
srcpkgs/abiword-devel Symbolic link
View file

@ -0,0 +1 @@
abiword

View file

@ -0,0 +1,20 @@
# Template file for 'abiword-devel'.
#
short_desc="${short_desc} - Development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run glibc-devel
Add_dependency run libabiword
do_install()
{
vmove usr/include usr
vmove "usr/lib/*.a" usr/lib
vmkdir usr/lib/abiword-2.8/plugins
vmove "usr/lib/abiword-2.8/plugins/*.a" \
usr/lib/abiword-2.8/plugins
vmove usr/lib/pkgconfig usr/lib
}

2
srcpkgs/abiword/depends Normal file
View file

@ -0,0 +1,2 @@
abi_depends=">=2.8.6"
api_depends="${abi_depends}"

View file

@ -0,0 +1,34 @@
# Template file for 'libabiword'.
#
short_desc="${short_desc} - Runtime library"
long_desc="${long_desc}
This package contains the runtime."
Add_dependency run glibc
Add_dependency run fribidi
Add_dependency run libwv
Add_dependency run libgsf
Add_dependency run libxml2
Add_dependency run libpng
Add_dependency run enchant
Add_dependency run zlib
Add_dependency run gtk+
Add_dependency run atk
Add_dependency run pango
Add_dependency run freetype
Add_dependency run fontconfig
Add_dependency run librsvg
Add_dependency run glib
Add_dependency run gdk-pixbuf
Add_dependency run cairo
Add_dependency run libstdc++
Add_dependency run libgcc
do_install()
{
vmove "usr/lib/*.so*" usr/lib
vmkdir usr/lib/abiword-2.8
vmove "usr/lib/abiword-2.8/plugins/*.so*" \
usr/lib/abiword-2.8/plugins
}

View file

@ -0,0 +1,21 @@
diff -u -r abiword-2.8.6.orig/src/Makefile.am abiword-2.8.6/src/Makefile.am
--- src/Makefile.am 2009-09-09 15:11:01.000000000 +0200
+++ src/Makefile.am 2011-08-02 23:35:51.904761961 +0200
@@ -107,7 +107,7 @@
AbiWord_LDFLAGS = \
$(DEPS_LIBS) \
- --no-undefined \
+ -Wl,--no-undefined \
-avoid-version \
-export-dynamic \
-headerpad_max_install_names
@@ -129,7 +129,7 @@
abiword_LDFLAGS = \
$(platform_ldflags) \
- --no-undefined \
+ -Wl,--no-undefined \
-avoid-version \
-export-dynamic

47
srcpkgs/abiword/template Normal file
View file

@ -0,0 +1,47 @@
# Template file for 'abiword'
pkgname=abiword
version=2.8.6
distfiles="http://www.abisource.com/downloads/${pkgname}/${version}/source/${pkgname}-${version}.tar.gz"
build_style=gnu-configure
short_desc="Free word processing program similar to Microsoft(R) Word."
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="http://www.abisource.com/"
license="GPL-3"
checksum=d99089a63a6cfc1a6a4a026be9278028d47d224088d24b1853acb67e95683a15
long_desc="
AbiWord is a free word processing program similar to Microsoft(R) Word. It is
suitable for a wide variety of word processing tasks.
AbiWord allows you to collaborate with multiple people on one document at the
same time. It is tightly integrated with the AbiCollab.net web service, which
lets you store documents online, allows easy document sharing with your
friends, and performs format conversions on the fly."
subpackages="lib$pkgname $pkgname-devel"
gtk_iconcache_dirs="/usr/share/icons/hicolor"
Add_dependency run glibc
Add_dependency run libabiword
Add_dependency build pkg-config
Add_dependency build fribidi-devel
Add_dependency build libgsf-devel
Add_dependency build libxml2-devel
Add_dependency build libpng-devel
Add_dependency build enchant-devel
Add_dependency build zlib-devel
Add_dependency build gtk+-devel
Add_dependency build atk-devel
Add_dependency build pango-devel
Add_dependency build freetype-devel
Add_dependency build fontconfig-devel
Add_dependency build librsvg-devel
Add_dependency build glib-devel
Add_dependency build gdk-pixbuf-devel
Add_dependency build cairo-devel
Add_dependency build libstdc++-devel
Add_dependency build wv-devel
Add_dependency full hicolor-icon-theme
Add_dependency full desktop-file-utils

1
srcpkgs/libabiword Symbolic link
View file

@ -0,0 +1 @@
abiword

View file

@ -921,3 +921,4 @@ libgiggle.so.0 libgiggle giggle-devel
libgiggle-git.so.0 libgiggle giggle-devel libgiggle-git.so.0 libgiggle giggle-devel
libwine.so.1 libwine wine-devel libwine.so.1 libwine wine-devel
libwv-1.2.so.3 libwv wv-devel libwv-1.2.so.3 libwv wv-devel
libabiword-2.8.so libabiword abiword-devel