pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

import libetonyek-1.4 as wip/libetonyek



Module Name:	pkgsrc-wip
Committed By:	coypu <coypu%sdf.org@localhost>
Pushed By:	coypu
Date:		Wed Dec 2 18:41:29 2015 +0000
Changeset:	699c562de004f3ad66a63239d34117f3ca9139f9

Added Files:
	libetonyek/DESCR
	libetonyek/Makefile
	libetonyek/PLIST
	libetonyek/distinfo
	libetonyek/patches/patch-configure
	libetonyek/patches/patch-configure.ac

Log Message:
import libetonyek-1.4 as wip/libetonyek

Libetonyek is library providing ability to interpret and import
Apple Keynote presentations into various applications. You can find
it being used in libreoffice.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=699c562de004f3ad66a63239d34117f3ca9139f9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libetonyek/DESCR                      |  3 ++
 libetonyek/Makefile                   | 38 ++++++++++++++++
 libetonyek/PLIST                      |  0
 libetonyek/distinfo                   |  8 ++++
 libetonyek/patches/patch-configure    | 81 +++++++++++++++++++++++++++++++++++
 libetonyek/patches/patch-configure.ac | 35 +++++++++++++++
 6 files changed, 165 insertions(+)

diffs:
diff --git a/libetonyek/DESCR b/libetonyek/DESCR
new file mode 100644
index 0000000..be30bdc
--- /dev/null
+++ b/libetonyek/DESCR
@@ -0,0 +1,3 @@
+Libetonyek is library providing ability to interpret and import
+Apple Keynote presentations into various applications. You can find
+it being used in libreoffice.
diff --git a/libetonyek/Makefile b/libetonyek/Makefile
new file mode 100644
index 0000000..11ed91d
--- /dev/null
+++ b/libetonyek/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.10 2015/08/15 22:46:39 wiz Exp $
+
+DISTNAME=	libetonyek-0.1.4
+CATEGORIES=	converters
+MASTER_SITES=	http://dev-www.libreoffice.org/src/
+EXTRACT_SUFX=	.tar.bz2
+
+HOMEPAGE=	https://wiki.documentfoundation.org/DLP/Libraries/libetonyek
+COMMENT=	Library for Apple Office suite files
+LICENSE=	mpl-2.0
+
+TOOL_DEPENDS+=	gperf-[0-9]*:../../devel/gperf
+
+GNU_CONFIGURE=	yes
+USE_LIBTOOL=	yes
+USE_TOOLS+=	gmake pkg-config
+USE_LANGUAGES=	c c++
+
+# Boost qi.hpp
+CXXFLAGS+=	-std=c++0x
+
+CONFIGURE_ARGS+=	--disable-tests
+CONFIGURE_ARGS+=	--without-docs
+
+MDDS_LIBS=/usr/pkg/include
+MDDS_CFLAGS+=-I/usr/pkg/include
+PKG_CONFIG_PATH=/usr/pkg/include
+
+PKGCONFIG_OVERRIDE+=	libetonyek.pc.in
+
+.include "../../wip/mdds/buildlink3.mk"
+.include "../../converters/libwpd/buildlink3.mk"
+.include "../../converters/librevenge/buildlink3.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/glm/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libetonyek/PLIST b/libetonyek/PLIST
new file mode 100644
index 0000000..e69de29
diff --git a/libetonyek/distinfo b/libetonyek/distinfo
new file mode 100644
index 0000000..f8a7251
--- /dev/null
+++ b/libetonyek/distinfo
@@ -0,0 +1,8 @@
+$NetBSD$
+
+SHA1 (libetonyek-0.1.4.tar.bz2) = 447dc05b4b9b8f63b09b27116df6b3c3f88d958e
+RMD160 (libetonyek-0.1.4.tar.bz2) = 7e77158c812210b006d521dcede6cdd7f2a8f6d0
+SHA512 (libetonyek-0.1.4.tar.bz2) = 96b57c9873575de56ea9017d8fff49d4ac14cc6e74a626cba6a12a01fe0720fae26710e9e549e990ea35159cda8a91eb8ba5f62a5f9827a2d3cfdca60befd337
+Size (libetonyek-0.1.4.tar.bz2) = 1565397 bytes
+SHA1 (patch-configure) = 96fc0c472618fc3083c834632ff4818280d57882
+SHA1 (patch-configure.ac) = b9753691d3948c5a85248c8560ff8dd928f12e7f
diff --git a/libetonyek/patches/patch-configure b/libetonyek/patches/patch-configure
new file mode 100644
index 0000000..9bed869
--- /dev/null
+++ b/libetonyek/patches/patch-configure
@@ -0,0 +1,81 @@
+$NetBSD$
+
+--- configure.orig	2015-11-17 19:13:04.000000000 +0000
++++ configure
+@@ -3147,7 +3147,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+ if test "${with_mdds+set}" = set; then :
+   withval=$with_mdds;
+ else
+-  with_mdds="1.0"
++  with_mdds="1.0.0"
+ fi
+ 
+ 
+@@ -17451,7 +17451,7 @@ $as_echo "$ac_cv_path_SED" >&6; }
+ GPERF=${GPERF-"${am_missing_run}gperf"}
+ 
+ 
+-if test "$with_mdds" = "1.0"; then :
++if test "$with_mdds" = "1.0.0"; then :
+       ax_cxx_compile_cxx11_required=true
+   ac_ext=cpp
+ ac_cpp='$CXXCPP $CPPFLAGS'
+@@ -18118,7 +18118,7 @@ CPPFLAGS="${saved_CPPFLAGS}"
+ # =========
+ # Find mdds
+ # =========
+-if test "$with_mdds" = "1.0"; then :
++if test "$with_mdds" = "1.0.0"; then :
+ 
+ 
+ pkg_failed=no
+@@ -18129,12 +18129,12 @@ if test -n "$MDDS_CFLAGS"; then
+     pkg_cv_MDDS_CFLAGS="$MDDS_CFLAGS"
+  elif test -n "$PKG_CONFIG"; then
+     if test -n "$PKG_CONFIG" && \
+-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mdds-1.0\""; } >&5
+-  ($PKG_CONFIG --exists --print-errors "mdds-1.0") 2>&5
++    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mdds-1.0.0\""; } >&5
++  ($PKG_CONFIG --exists --print-errors "mdds-1.0.0") 2>&5
+   ac_status=$?
+   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+   test $ac_status = 0; }; then
+-  pkg_cv_MDDS_CFLAGS=`$PKG_CONFIG --cflags "mdds-1.0" 2>/dev/null`
++  pkg_cv_MDDS_CFLAGS=`$PKG_CONFIG --cflags "mdds-1.0.0" 2>/dev/null`
+ 		      test "x$?" != "x0" && pkg_failed=yes
+ else
+   pkg_failed=yes
+@@ -18146,12 +18146,12 @@ if test -n "$MDDS_LIBS"; then
+     pkg_cv_MDDS_LIBS="$MDDS_LIBS"
+  elif test -n "$PKG_CONFIG"; then
+     if test -n "$PKG_CONFIG" && \
+-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mdds-1.0\""; } >&5
+-  ($PKG_CONFIG --exists --print-errors "mdds-1.0") 2>&5
++    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mdds-1.0.0\""; } >&5
++  ($PKG_CONFIG --exists --print-errors "mdds-1.0.0") 2>&5
+   ac_status=$?
+   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+   test $ac_status = 0; }; then
+-  pkg_cv_MDDS_LIBS=`$PKG_CONFIG --libs "mdds-1.0" 2>/dev/null`
++  pkg_cv_MDDS_LIBS=`$PKG_CONFIG --libs "mdds-1.0.0" 2>/dev/null`
+ 		      test "x$?" != "x0" && pkg_failed=yes
+ else
+   pkg_failed=yes
+@@ -18172,14 +18172,14 @@ else
+         _pkg_short_errors_supported=no
+ fi
+         if test $_pkg_short_errors_supported = yes; then
+-	        MDDS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mdds-1.0" 2>&1`
++	        MDDS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mdds-1.0.0" 2>&1`
+         else
+-	        MDDS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mdds-1.0" 2>&1`
++	        MDDS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mdds-1.0.0" 2>&1`
+         fi
+ 	# Put the nasty error message in config.log where it belongs
+ 	echo "$MDDS_PKG_ERRORS" >&5
+ 
+-	as_fn_error $? "Package requirements (mdds-1.0) were not met:
++	as_fn_error $? "Package requirements (mdds-1.0.0) were not met:
+ 
+ $MDDS_PKG_ERRORS
+ 
diff --git a/libetonyek/patches/patch-configure.ac b/libetonyek/patches/patch-configure.ac
new file mode 100644
index 0000000..3c6c64c
--- /dev/null
+++ b/libetonyek/patches/patch-configure.ac
@@ -0,0 +1,35 @@
+$NetBSD$
+
+--- configure.ac.orig	2015-11-17 15:32:31.000000000 +0000
++++ configure.ac
+@@ -24,8 +24,8 @@ AC_LANG([C++])
+ # Configure options
+ # =================
+ AC_ARG_WITH([mdds],
+-            AS_HELP_STRING([--with-mdds=1.0|0.x], [Specify which version of mdds to use (1.0 is the default)]),
+-            [], [with_mdds="1.0"])
++            AS_HELP_STRING([--with-mdds=1.0.0|0.x], [Specify which version of mdds to use (1.0.0 is the default)]),
++            [], [with_mdds="1.0.0"])
+ 
+ # ===========================
+ # Find required base packages
+@@ -47,7 +47,7 @@ AC_PROG_SED
+ 
+ AM_MISSING_PROG([GPERF], [gperf])
+ 
+-AS_IF([test "$with_mdds" = "1.0"], [AX_CXX_COMPILE_STDCXX_11([noext])])
++AS_IF([test "$with_mdds" = "1.0.0"], [AX_CXX_COMPILE_STDCXX_11([noext])])
+ 
+ # ===============
+ # Find librevenge
+@@ -128,8 +128,8 @@ AC_SUBST([GLM_CFLAGS])
+ # =========
+ # Find mdds
+ # =========
+-AS_IF([test "$with_mdds" = "1.0"], [
+-    PKG_CHECK_MODULES([MDDS], [mdds-1.0])
++AS_IF([test "$with_mdds" = "1.0.0"], [
++    PKG_CHECK_MODULES([MDDS], [mdds-1.0.0])
+ ], [
+     PKG_CHECK_MODULES([MDDS], [mdds])
+     AC_MSG_CHECKING([checking if mdds::flat_segment_tree can store values of any type])


Home | Main Index | Thread Index | Old Index