diff --git a/srcpkgs/abiword-devel b/srcpkgs/abiword-devel new file mode 120000 index 0000000000..21119f1349 --- /dev/null +++ b/srcpkgs/abiword-devel @@ -0,0 +1 @@ +abiword \ No newline at end of file diff --git a/srcpkgs/abiword/abiword-devel.template b/srcpkgs/abiword/abiword-devel.template new file mode 100644 index 0000000000..e606b95cec --- /dev/null +++ b/srcpkgs/abiword/abiword-devel.template @@ -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 +} + diff --git a/srcpkgs/abiword/depends b/srcpkgs/abiword/depends new file mode 100644 index 0000000000..a8e776978e --- /dev/null +++ b/srcpkgs/abiword/depends @@ -0,0 +1,2 @@ +abi_depends=">=2.8.6" +api_depends="${abi_depends}" diff --git a/srcpkgs/abiword/libabiword.template b/srcpkgs/abiword/libabiword.template new file mode 100644 index 0000000000..f29f656b1b --- /dev/null +++ b/srcpkgs/abiword/libabiword.template @@ -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 +} diff --git a/srcpkgs/abiword/patches/abiword-2.8.6-no-undefined.patch b/srcpkgs/abiword/patches/abiword-2.8.6-no-undefined.patch new file mode 100644 index 0000000000..2f1111869c --- /dev/null +++ b/srcpkgs/abiword/patches/abiword-2.8.6-no-undefined.patch @@ -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 + diff --git a/srcpkgs/abiword/template b/srcpkgs/abiword/template new file mode 100644 index 0000000000..dfdacd10ee --- /dev/null +++ b/srcpkgs/abiword/template @@ -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 " +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 diff --git a/srcpkgs/libabiword b/srcpkgs/libabiword new file mode 120000 index 0000000000..21119f1349 --- /dev/null +++ b/srcpkgs/libabiword @@ -0,0 +1 @@ +abiword \ No newline at end of file diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 66c97c4244..8b404f1199 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -921,3 +921,4 @@ libgiggle.so.0 libgiggle giggle-devel libgiggle-git.so.0 libgiggle giggle-devel libwine.so.1 libwine wine-devel libwv-1.2.so.3 libwv wv-devel +libabiword-2.8.so libabiword abiword-devel