Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Dec 2012 12:09:53 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r309173 - in head/print: . libmspub libmspub/files
Message-ID:  <201212181209.qBIC9rtK036360@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Dec 18 12:09:52 2012
New Revision: 309173
URL: http://svnweb.freebsd.org/changeset/ports/309173

Log:
  Lbrary and tools providing ability to interpret and import Microsoft Publisher
  content into various applications.

Added:
  head/print/libmspub/
  head/print/libmspub/Makefile   (contents, props changed)
  head/print/libmspub/distinfo   (contents, props changed)
  head/print/libmspub/files/
  head/print/libmspub/files/patch-src__lib__MSPUBParser.cpp   (contents, props changed)
  head/print/libmspub/pkg-descr   (contents, props changed)
  head/print/libmspub/pkg-plist   (contents, props changed)
Modified:
  head/print/Makefile

Modified: head/print/Makefile
==============================================================================
--- head/print/Makefile	Tue Dec 18 12:07:46 2012	(r309172)
+++ head/print/Makefile	Tue Dec 18 12:09:52 2012	(r309173)
@@ -168,6 +168,7 @@
     SUBDIR += libgnomeprintmm
     SUBDIR += libharu
     SUBDIR += libijs
+    SUBDIR += libmspub
     SUBDIR += libotf
     SUBDIR += libpaper
     SUBDIR += libppd

Added: head/print/libmspub/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/libmspub/Makefile	Tue Dec 18 12:09:52 2012	(r309173)
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME=	libmspub
+PORTVERSION=	0.0.3
+CATEGORIES=	print graphics devel
+MASTER_SITES=	http://dev-www.libreoffice.org/src/
+
+MAINTAINER=	office@FreeBSD.org
+COMMENT=	Library providing ability to interpret and import Microsoft Publisher content
+
+LICENSE=	LGPL21 MPL GPLv2
+LICENSE_COMB=	dual
+
+BUILD_DEPENDS=	${LOCALBASE}/include/boost/ptr_container/ptr_map.hpp:${PORTSDIR}/devel/boost-libs
+LIB_DEPENDS=	wpd-0.9:${PORTSDIR}/textproc/libwpd \
+		wpg-0.2:${PORTSDIR}/graphics/libwpg
+
+CPPFLAGS+=	-I${LOCALBASE}/include
+USE_XZ=		yes
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--disable-werror
+USE_GNOME=	gnomehack
+USE_LDCONFIG=	yes
+USE_PKGCONFIG=	build
+
+.include <bsd.port.mk>

Added: head/print/libmspub/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/libmspub/distinfo	Tue Dec 18 12:09:52 2012	(r309173)
@@ -0,0 +1,2 @@
+SHA256 (libmspub-0.0.3.tar.xz) = e27c3021006080298357101a724563c23835c89757527217fb7f9357549ab15f
+SIZE (libmspub-0.0.3.tar.xz) = 339552

Added: head/print/libmspub/files/patch-src__lib__MSPUBParser.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/libmspub/files/patch-src__lib__MSPUBParser.cpp	Tue Dec 18 12:09:52 2012	(r309173)
@@ -0,0 +1,20 @@
+--- ./src/lib/MSPUBParser.cpp.orig	2012-08-21 11:40:41.000000000 +0200
++++ ./src/lib/MSPUBParser.cpp	2012-12-18 13:01:33.120360905 +0100
+@@ -1151,7 +1151,7 @@
+   ParagraphStyle ret;
+ 
+   bool isList = false;
+-  uint32_t bulletChar = '\u0000';
++  uint32_t bulletChar = 0;
+   NumberingType numberingType = STANDARD_WESTERN;
+   NumberingDelimiter numberingDelimiter = NO_DELIMITER;
+   boost::optional<unsigned> numberIfRestarted;
+@@ -1256,7 +1256,7 @@
+   }
+   if (isList)
+   {
+-    if (bulletChar != '\u0000')
++    if (bulletChar)
+     {
+       ret.m_listInfo = ListInfo(bulletChar);
+     }

Added: head/print/libmspub/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/libmspub/pkg-descr	Tue Dec 18 12:09:52 2012	(r309173)
@@ -0,0 +1,4 @@
+library and tools providing ability to interpret and import Microsoft Publisher
+content into various applications
+
+WWW: http://www.freedesktop.org/wiki/Software/libmspub/

Added: head/print/libmspub/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/libmspub/pkg-plist	Tue Dec 18 12:09:52 2012	(r309173)
@@ -0,0 +1,12 @@
+bin/pub2raw
+bin/pub2xhtml
+include/libmspub-0.0
+include/libmspub-0.0/libmspub
+include/libmspub-0.0/libmspub/MSPUBDocument.h
+include/libmspub-0.0/libmspub/MSPUBStringVector.h
+include/libmspub-0.0/libmspub/libmspub.h
+lib/libmspub-0.0.a
+lib/libmspub-0.0.la
+lib/libmspub-0.0.so
+lib/libmspub-0.0.so.0
+libdata/pkgconfig/libmspub-0.0.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212181209.qBIC9rtK036360>