pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/libxlsxwriter textproc/libxlsxwriter: update ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/673f7416d6d4
branches:  trunk
changeset: 395399:673f7416d6d4
user:      sjmulder <sjmulder%pkgsrc.org@localhost>
date:      Mon May 06 08:58:16 2019 +0000

description:
textproc/libxlsxwriter: update to 0.8.6

Upstream changes:
 - Fixed issue where images that started in hidden rows/columns weren't
   placed correctly in the worksheet.
 - Fixed the mime-type reported by system file(1). The mime-type
   reported by "file --mime-type"/magic was incorrect for XlsxWriter
   files since it expected the [Content_types] to be the first file in
   the zip container.

Package changes:
 - Fixed libxlsxwriter.so not picking up libz.so from buildlink.

diffstat:

 textproc/libxlsxwriter/Makefile                   |   5 +--
 textproc/libxlsxwriter/distinfo                   |  12 ++++----
 textproc/libxlsxwriter/patches/patch-src_Makefile |  30 +++++++++++++++++++---
 3 files changed, 34 insertions(+), 13 deletions(-)

diffs (73 lines):

diff -r 53660deb47b3 -r 673f7416d6d4 textproc/libxlsxwriter/Makefile
--- a/textproc/libxlsxwriter/Makefile   Mon May 06 08:55:20 2019 +0000
+++ b/textproc/libxlsxwriter/Makefile   Mon May 06 08:58:16 2019 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2019/04/25 07:33:24 maya Exp $
+# $NetBSD: Makefile,v 1.4 2019/05/06 08:58:16 sjmulder Exp $
 
-DISTNAME=      libxlsxwriter-0.8.5
-PKGREVISION=   1
+DISTNAME=      libxlsxwriter-0.8.6
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=jmcnamara/}
 GITHUB_TAG=    RELEASE_${PKGVERSION_NOREV}
diff -r 53660deb47b3 -r 673f7416d6d4 textproc/libxlsxwriter/distinfo
--- a/textproc/libxlsxwriter/distinfo   Mon May 06 08:55:20 2019 +0000
+++ b/textproc/libxlsxwriter/distinfo   Mon May 06 08:58:16 2019 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2019/02/11 18:30:47 leot Exp $
+$NetBSD: distinfo,v 1.3 2019/05/06 08:58:16 sjmulder Exp $
 
-SHA1 (libxlsxwriter-0.8.5.tar.gz) = e924e0f71011b8b11bf7105d980d0b1fb7569dcd
-RMD160 (libxlsxwriter-0.8.5.tar.gz) = 1f92138d9ef1bc2b8a590e669c6bb3378aff0f9c
-SHA512 (libxlsxwriter-0.8.5.tar.gz) = 5bc0c5bb15f54bc554b9ac97c283d2d6fded938e1184effdcbed89eeb0341ba097064be1c1eff700e446899d74b4a5dc41c5ecb24ccf7bf94e405c3c433f55b4
-Size (libxlsxwriter-0.8.5.tar.gz) = 13983145 bytes
-SHA1 (patch-src_Makefile) = cdc266a37bb162ffddddc26b244cbb9ef8b5ce9f
+SHA1 (libxlsxwriter-0.8.6.tar.gz) = e1e1d292882d229f766711e2b3cf4d4f0fa888d4
+RMD160 (libxlsxwriter-0.8.6.tar.gz) = ddbbbf70e93dc9ebaa674e453b7b4e39df1eccc2
+SHA512 (libxlsxwriter-0.8.6.tar.gz) = 60822dc5f87531edc97cf774e234f25229a605d4430061c24b95c387318e6e05dde1b0f2f433cea14c6f84ee901c1dffe0d174bfd7e2a8459f59bcee900097db
+Size (libxlsxwriter-0.8.6.tar.gz) = 13987986 bytes
+SHA1 (patch-src_Makefile) = af5047178ce52cb37dfb8c4317f7602f8bfca1c7
diff -r 53660deb47b3 -r 673f7416d6d4 textproc/libxlsxwriter/patches/patch-src_Makefile
--- a/textproc/libxlsxwriter/patches/patch-src_Makefile Mon May 06 08:55:20 2019 +0000
+++ b/textproc/libxlsxwriter/patches/patch-src_Makefile Mon May 06 08:58:16 2019 +0000
@@ -1,9 +1,13 @@
-$NetBSD: patch-src_Makefile,v 1.1 2019/01/30 12:55:13 leot Exp $
+$NetBSD: patch-src_Makefile,v 1.2 2019/05/06 08:58:16 sjmulder Exp $
+
+ - Fix hardcoded prefix for macOS build.
 
-Fix hardcoded prefix for macOS build.
+   PR: https://github.com/jmcnamara/libxlsxwriter/pull/210
 
-Upstream PR:
-https://github.com/jmcnamara/libxlsxwriter/pull/210
+ - Use LDFLAGS when linking to make sure correct (builtin or not) zlib
+   is used.
+
+   PR: https://github.com/jmcnamara/libxlsxwriter/pull/224
 
 --- src/Makefile
 +++ src/Makefile
@@ -16,3 +20,21 @@
  endif
  
  # Check for MinGW/MinGW64/Cygwin environments.
+@@ -130,7 +130,7 @@ ARCH = -m32
+ endif
+ 
+ $(LIBXLSXWRITER_SO) : $(SOBJS)
+-      $(Q)$(CC) $(SOFLAGS) $(ARCH) -o $@ $(MINIZIP_SO) $(TMPFILEPLUS_SO) $^ $(LIBS)
++      $(Q)$(CC) $(LDFLAGS) $(SOFLAGS) $(ARCH) -o $@ $(MINIZIP_SO) $(TMPFILEPLUS_SO) $^ $(LIBS)
+ 
+ # The test library.
+ $(LIBXLSXWRITER_TO) : $(TOBJS)
+@@ -144,7 +144,7 @@ test_compile : $(OBJS)
+       $(Q)$(CC) -I$(INC_DIR) $(CFLAGS) $(CXXFLAGS) -c $<
+ 
+ %.so : %.c $(HDRS)
+-      $(Q)$(CC) $(FPIC) -I$(INC_DIR) $(CFLAGS) $(CXXFLAGS) -c $< -o $@
++      $(Q)$(CC) $(FPIC) -I$(INC_DIR) $(LDFLAGS) $(CFLAGS) $(CXXFLAGS) -c $< -o $@
+ 
+ %.to : %.c $(HDRS)
+       $(Q)$(CC) -g -O3 -DTESTING -I$(INC_DIR) $(CFLAGS) $(CXXFLAGS) -c $< -o $@



Home | Main Index | Thread Index | Old Index