Enable support for docx files; req. by "Brett"

This commit is contained in:
ajacoutot 2011-12-08 11:02:30 +00:00
parent fcea88ae68
commit f8e6381715
3 changed files with 22 additions and 16 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.84 2011/09/16 09:48:08 espie Exp $
# $OpenBSD: Makefile,v 1.85 2011/12/08 11:02:30 ajacoutot Exp $
COMMENT= free cross-platform WYSIWYG word processor
@ -6,7 +6,7 @@ VERSION= 2.8.6
MAJORVER= ${VERSION:C/..$//}
DISTNAME= abiword-${VERSION}
REVISION= 3
REVISION= 4
# Merge a patch from Fedora to change default font from Times Roman to
# DejaVu Serif.: fixes font corruption issue on machines where
@ -35,33 +35,36 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext
WANTLIB += Xfixes Xi Xinerama Xrandr Xrender atk-1.0 bz2 c cairo
WANTLIB += croco-0.6 expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gsf-1
WANTLIB += gthread-2.0 gtk-x11-2.0 jpeg m pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pcre pixman-1 png pthread pthread-stubs
WANTLIB += stdc++ xcb xml2 z xcb-render wmf-0.2 wmflite-0.2
WANTLIB += fribidi enchant rsvg-2 wv-1.2 GL Xxf86vm drm xcb-shm
WANTLIB += GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender Xxf86vm atk-1.0 bz2 c cairo
WANTLIB += croco-0.6 drm enchant expat ffi fontconfig freetype
WANTLIB += fribidi gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0
WANTLIB += gmodule-2.0 gobject-2.0 gsf-1 gthread-2.0 gtk-x11-2.0
WANTLIB += jpeg m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
WANTLIB += png pthread pthread-stubs rsvg-2 stdc++ wmf-0.2 wmflite-0.2
WANTLIB += wv-1.2 xcb xcb-render xcb-shm xml2 z
MASTER_SITES= ${HOMEPAGE}/downloads/abiword/${VERSION}/source/
USE_LIBTOOL= Yes
USE_GMAKE= Yes
USE_GROFF = Yes
USE_GROFF= Yes
# plugins/openxml.so
BUILD_DEPENDS= devel/boost
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-templates \
--enable-clipart \
--enable-collab-backend-fake=no \
--enable-plugins=openxml \
--disable-collab-backend-fake \
--disable-collab-backend-telepathy \
--disable-collab-record-always \
--enable-collab-backend-xmpp \
--enable-collab-backend-sugar \
--without-goffice \
--without-gnomevfs \
--without-gucharmap
--without-gnomevfs
# broken configure checks (i.e. "no" makes it think we want to enable them)
# --disable-collab-backend-tcp
# --disable-collab-backend-service

View File

@ -1,3 +1,4 @@
@comment $OpenBSD: PFRAG.shared,v 1.1 2010/03/21 10:55:04 ajacoutot Exp $
@comment $OpenBSD: PFRAG.shared,v 1.2 2011/12/08 11:02:30 ajacoutot Exp $
lib/abiword-${MAJORVER}/plugins/opendocument.so
lib/abiword-${MAJORVER}/plugins/openxml.so
@lib lib/libabiword-${MAJORVER}.so.${LIBabiword-2.8_VERSION}

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.25 2010/05/10 12:31:52 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.26 2011/12/08 11:02:30 ajacoutot Exp $
@pkgpath editors/abiword,gnome
%%SHARED%%
@bin bin/abiword
@ -10,6 +10,8 @@ lib/abiword-${MAJORVER}/
lib/abiword-${MAJORVER}/plugins/
@comment lib/abiword-${MAJORVER}/plugins/opendocument.a
@comment lib/abiword-${MAJORVER}/plugins/opendocument.la
@comment lib/abiword-${MAJORVER}/plugins/openxml.a
@comment lib/abiword-${MAJORVER}/plugins/openxml.la
lib/libabiword-${MAJORVER}.a
lib/libabiword-${MAJORVER}.la
lib/pkgconfig/