tech-pkg archive

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

Import request: libxls, and sc-im patch for it



Hi,

libxls 1.5 is out, addressing the security issues that kept us from
importing it. I've updated the package in wip, tested it against sc-im,
and think it's ready to be imported.

Next, the patch below adds an option to sc-im to use libxls.

Sijmen

Index: mk/defaults/options.description
===================================================================
RCS file: /cvsroot/pkgsrc/mk/defaults/options.description,v
retrieving revision 1.573
diff -u -r1.573 options.description
--- mk/defaults/options.description     30 Jan 2019 13:01:06 -0000      1.573
+++ mk/defaults/options.description     11 Feb 2019 21:32:13 -0000
@@ -837,6 +837,7 @@
 xjdic-locale           Honor LOCALE env var, instead of requiring ISO-2022-JP.
 xlockmore-allow-root   Allow root to get access.
 xlockmore-dpms         Use DPMS.
+xls                    Enable XLS support.
 xlsx                   Enable XLSX support.
 xml                    Enable XML support.
 xmlrpc                 Enable XMLRPC support.
Index: math/sc-im/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/math/sc-im/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- math/sc-im/Makefile 30 Jan 2019 12:58:24 -0000      1.1
+++ math/sc-im/Makefile 11 Feb 2019 21:32:13 -0000
@@ -1,6 +1,7 @@
 # $NetBSD: Makefile,v 1.1 2019/01/30 12:58:24 leot Exp $

 DISTNAME=      sc-im-0.7.0
+PKGREVISION=   1
 CATEGORIES=    math
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=andmarti1424/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
Index: math/sc-im/options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/math/sc-im/options.mk,v
retrieving revision 1.1
diff -u -r1.1 options.mk
--- math/sc-im/options.mk       30 Jan 2019 12:58:24 -0000      1.1
+++ math/sc-im/options.mk       11 Feb 2019 21:32:13 -0000
@@ -1,8 +1,8 @@
 # $NetBSD: options.mk,v 1.1 2019/01/30 12:58:24 leot Exp $

 PKG_OPTIONS_VAR=       PKG_OPTIONS.sc-im
-PKG_SUPPORTED_OPTIONS+=        color xlsx lua
-PKG_SUGGESTED_OPTIONS+=        color xlsx lua
+PKG_SUPPORTED_OPTIONS+=        color xls xlsx lua
+PKG_SUGGESTED_OPTIONS+=        color xls xlsx lua

 .include "../../mk/bsd.options.mk"

@@ -10,6 +10,12 @@
 CFLAGS+=       -DUSECOLORS
 .endif

+.if !empty(PKG_OPTIONS:Mxls)
+CFLAGS+=       -DXLS
+LDFLAGS+=      -lxlsreader
+.include "../../textproc/libxls/buildlink3.mk"
+.endif
+
 .if !empty(PKG_OPTIONS:Mxlsx)
 CFLAGS+=       -DXLSX -DXLSX_EXPORT
 LDFLAGS+=      -lxlsxwriter


Home | Main Index | Thread Index | Old Index