head	1.58;
access;
symbols
	pkgsrc-2026Q1:1.58.0.2
	pkgsrc-2026Q1-base:1.58
	pkgsrc-2025Q4:1.56.0.6
	pkgsrc-2025Q4-base:1.56
	pkgsrc-2025Q3:1.56.0.4
	pkgsrc-2025Q3-base:1.56
	pkgsrc-2025Q2:1.56.0.2
	pkgsrc-2025Q2-base:1.56
	pkgsrc-2025Q1:1.55.0.2
	pkgsrc-2025Q1-base:1.55
	pkgsrc-2024Q4:1.52.0.2
	pkgsrc-2024Q4-base:1.52
	pkgsrc-2024Q3:1.49.0.4
	pkgsrc-2024Q3-base:1.49
	pkgsrc-2024Q2:1.49.0.2
	pkgsrc-2024Q2-base:1.49
	pkgsrc-2024Q1:1.44.0.4
	pkgsrc-2024Q1-base:1.44
	pkgsrc-2023Q4:1.44.0.2
	pkgsrc-2023Q4-base:1.44
	pkgsrc-2023Q3:1.42.0.2
	pkgsrc-2023Q3-base:1.42
	pkgsrc-2023Q2:1.39.0.2
	pkgsrc-2023Q2-base:1.39
	pkgsrc-2023Q1:1.37.0.4
	pkgsrc-2023Q1-base:1.37
	pkgsrc-2022Q4:1.37.0.2
	pkgsrc-2022Q4-base:1.37
	pkgsrc-2022Q3:1.35.0.4
	pkgsrc-2022Q3-base:1.35
	pkgsrc-2022Q2:1.35.0.2
	pkgsrc-2022Q2-base:1.35
	pkgsrc-2022Q1:1.33.0.4
	pkgsrc-2022Q1-base:1.33
	pkgsrc-2021Q4:1.33.0.2
	pkgsrc-2021Q4-base:1.33
	pkgsrc-2021Q3:1.30.0.2
	pkgsrc-2021Q3-base:1.30
	pkgsrc-2021Q2:1.25.0.2
	pkgsrc-2021Q2-base:1.25
	pkgsrc-2021Q1:1.23.0.2
	pkgsrc-2021Q1-base:1.23
	pkgsrc-2020Q4:1.21.0.2
	pkgsrc-2020Q4-base:1.21
	pkgsrc-2020Q3:1.18.0.2
	pkgsrc-2020Q3-base:1.18
	pkgsrc-2020Q2:1.17.0.2
	pkgsrc-2020Q2-base:1.17
	pkgsrc-2020Q1:1.14.0.2
	pkgsrc-2020Q1-base:1.14
	pkgsrc-2019Q4:1.9.0.4
	pkgsrc-2019Q4-base:1.9
	pkgsrc-2019Q3:1.6.0.2
	pkgsrc-2019Q3-base:1.6
	pkgsrc-2019Q2:1.5.0.2
	pkgsrc-2019Q2-base:1.5
	pkgsrc-2019Q1:1.2.0.2
	pkgsrc-2019Q1-base:1.2;
locks; strict;
comment	@# @;


1.58
date	2026.02.06.10.05.16;	author wiz;	state Exp;
branches;
next	1.57;
commitid	MwQEYCXeWSFvIitG;

1.57
date	2026.01.07.08.47.53;	author wiz;	state Exp;
branches;
next	1.56;
commitid	1wQ3ICD8eebefrpG;

1.56
date	2025.04.17.21.51.33;	author wiz;	state Exp;
branches;
next	1.55;
commitid	xcIXAVA292fk6sRF;

1.55
date	2025.02.13.16.43.50;	author vins;	state Exp;
branches;
next	1.54;
commitid	7nIXVJQcoRwRqkJF;

1.54
date	2025.02.13.11.55.27;	author sjmulder;	state Exp;
branches;
next	1.53;
commitid	F3NoVKAlfAboQiJF;

1.53
date	2025.02.01.00.52.13;	author sjmulder;	state Exp;
branches;
next	1.52;
commitid	vW0RPEGnfnsLyHHF;

1.52
date	2024.11.14.22.20.43;	author wiz;	state Exp;
branches;
next	1.51;
commitid	JmuDYqwL4erbdFxF;

1.51
date	2024.11.01.12.53.27;	author wiz;	state Exp;
branches;
next	1.50;
commitid	QB4Wk02mZPuBuWvF;

1.50
date	2024.11.01.00.52.41;	author wiz;	state Exp;
branches;
next	1.49;
commitid	QT27BdVP362gvSvF;

1.49
date	2024.05.29.16.33.28;	author adam;	state Exp;
branches;
next	1.48;
commitid	n8aFyEjEVZA0JUbF;

1.48
date	2024.05.16.06.15.10;	author wiz;	state Exp;
branches;
next	1.47;
commitid	kYKPUni8AkogJbaF;

1.47
date	2024.05.07.17.17.01;	author nia;	state Exp;
branches;
next	1.46;
commitid	86eYxPyt3yeDG59F;

1.46
date	2024.05.06.08.40.29;	author jperkin;	state Exp;
branches;
next	1.45;
commitid	Xm6R3peSH7EgRU8F;

1.45
date	2024.05.06.08.27.53;	author jperkin;	state Exp;
branches;
next	1.44;
commitid	YcrhyZVPKZ0TMU8F;

1.44
date	2023.11.08.13.20.03;	author wiz;	state Exp;
branches;
next	1.43;
commitid	PsuHTklAIsF4bOLE;

1.43
date	2023.10.24.22.09.54;	author wiz;	state Exp;
branches;
next	1.42;
commitid	MTsrqKm6aGrQAVJE;

1.42
date	2023.08.10.11.49.55;	author sjmulder;	state Exp;
branches;
next	1.41;
commitid	rKDqYZRE0EwyAeAE;

1.41
date	2023.08.02.16.17.17;	author nia;	state Exp;
branches;
next	1.40;
commitid	i87BGOoxRJYZjezE;

1.40
date	2023.07.12.19.16.10;	author nia;	state Exp;
branches;
next	1.39;
commitid	pIhiMTEJsVJpZxwE;

1.39
date	2023.04.19.13.38.53;	author sjmulder;	state Exp;
branches;
next	1.38;
commitid	lxhsFqBkWmM8PIlE;

1.38
date	2023.04.19.08.10.46;	author adam;	state Exp;
branches;
next	1.37;
commitid	B8gCWhWtMX9vZGlE;

1.37
date	2022.11.23.16.20.36;	author adam;	state Exp;
branches;
next	1.36;
commitid	ju2K3LUYlTJKqQ2E;

1.36
date	2022.10.26.10.31.40;	author wiz;	state Exp;
branches;
next	1.35;
commitid	PVFjlIYUKslkpdZD;

1.35
date	2022.04.25.11.03.45;	author tnn;	state Exp;
branches;
next	1.34;
commitid	4n7qeSfq5wjlvzBD;

1.34
date	2022.04.18.19.11.36;	author adam;	state Exp;
branches;
next	1.33;
commitid	eC9Na3jrfOOUpIAD;

1.33
date	2021.12.08.16.05.35;	author adam;	state Exp;
branches;
next	1.32;
commitid	2PyWjHx5T8rqARjD;

1.32
date	2021.11.19.22.14.19;	author sjmulder;	state Exp;
branches;
next	1.31;
commitid	4PC4KNkoPDvigshD;

1.31
date	2021.09.29.19.00.58;	author adam;	state Exp;
branches;
next	1.30;
commitid	WsBUbBM52TSePSaD;

1.30
date	2021.08.09.07.06.09;	author sjmulder;	state Exp;
branches;
next	1.29;
commitid	15IRVp7eVNl1wg4D;

1.29
date	2021.08.06.01.38.57;	author sjmulder;	state Exp;
branches;
next	1.28;
commitid	GhrS5ecxnqhKNQ3D;

1.28
date	2021.08.04.21.09.51;	author sjmulder;	state Exp;
branches;
next	1.27;
commitid	EnZD9wbIpZdqlH3D;

1.27
date	2021.07.26.01.38.05;	author sjmulder;	state Exp;
branches;
next	1.26;
commitid	u00ePy6PVCUm9r2D;

1.26
date	2021.07.26.01.03.28;	author sjmulder;	state Exp;
branches;
next	1.25;
commitid	GTvcvkYQWG5vXq2D;

1.25
date	2021.04.21.13.25.00;	author adam;	state Exp;
branches;
next	1.24;
commitid	RAyVO2K5RkoQ8aQC;

1.24
date	2021.04.21.11.42.11;	author adam;	state Exp;
branches;
next	1.23;
commitid	fph0Axs0eT3az9QC;

1.23
date	2021.03.29.15.55.58;	author sjmulder;	state Exp;
branches;
next	1.22;
commitid	sTgkRx1p2DuLIdNC;

1.22
date	2021.03.28.12.28.00;	author sjmulder;	state Exp;
branches;
next	1.21;
commitid	VNssvb6Pm98uB4NC;

1.21
date	2020.11.05.09.08.38;	author ryoon;	state Exp;
branches;
next	1.20;
commitid	VqGaBtHnBBcd5GuC;

1.20
date	2020.10.01.21.24.42;	author sjmulder;	state Exp;
branches;
next	1.19;
commitid	kNbsL5rGYoDiifqC;

1.19
date	2020.10.01.19.35.36;	author sjmulder;	state Exp;
branches;
next	1.18;
commitid	SKkr7sT4Be4RGeqC;

1.18
date	2020.08.23.22.29.19;	author sjmulder;	state Exp;
branches;
next	1.17;
commitid	aIJ3LAJErVS5UelC;

1.17
date	2020.06.02.10.29.50;	author sjmulder;	state Exp;
branches;
next	1.16;
commitid	xQXVcRh3ZAoLyDaC;

1.16
date	2020.06.02.08.24.17;	author adam;	state Exp;
branches;
next	1.15;
commitid	nisovMpvvZm3RCaC;

1.15
date	2020.05.22.10.56.21;	author adam;	state Exp;
branches;
next	1.14;
commitid	m1Z0QPvTTTWz3e9C;

1.14
date	2020.03.08.16.50.29;	author wiz;	state Exp;
branches;
next	1.13;
commitid	rcNYzTQo8icypCZB;

1.13
date	2020.01.28.14.35.35;	author sjmulder;	state Exp;
branches;
next	1.12;
commitid	GdzHDAV4G3qcYsUB;

1.12
date	2020.01.18.21.49.57;	author jperkin;	state Exp;
branches;
next	1.11;
commitid	JW4hJgY8ZdoTFdTB;

1.11
date	2020.01.15.14.37.06;	author sjmulder;	state Exp;
branches;
next	1.10;
commitid	l4YBNdKHNpBBoNSB;

1.10
date	2019.12.30.12.37.04;	author sjmulder;	state Exp;
branches;
next	1.9;
commitid	J0JdRHdGgnQjfJQB;

1.9
date	2019.12.25.17.34.10;	author sjmulder;	state Exp;
branches;
next	1.8;
commitid	RXnUKpeBGLw437QB;

1.8
date	2019.12.23.13.44.41;	author sjmulder;	state Exp;
branches;
next	1.7;
commitid	aLD1Zi2upGMrQPPB;

1.7
date	2019.11.30.17.22.40;	author sjmulder;	state Exp;
branches;
next	1.6;
commitid	UymV2NJElrK8NTMB;

1.6
date	2019.07.20.22.46.32;	author wiz;	state Exp;
branches;
next	1.5;
commitid	dMrQLvIeoazTQPvB;

1.5
date	2019.06.10.10.40.52;	author sjmulder;	state Exp;
branches;
next	1.4;
commitid	prm4oOkeYk2w7DqB;

1.4
date	2019.05.06.09.17.12;	author sjmulder;	state Exp;
branches;
next	1.3;
commitid	v0v0LOzYtpWWM7mB;

1.3
date	2019.05.06.09.00.14;	author sjmulder;	state Exp;
branches;
next	1.2;
commitid	J46bwIyAvjx8H7mB;

1.2
date	2019.02.11.22.01.18;	author leot;	state Exp;
branches;
next	1.1;
commitid	yWgpco8ZwkGgIobB;

1.1
date	2019.01.30.12.58.24;	author leot;	state Exp;
branches;
next	;
commitid	f1JMRv8F8UCj6O9B;


desc
@@


1.58
log
@*: recursive bump for nettle 4.0 shlib major bump
@
text
@# $NetBSD: Makefile,v 1.57 2026/01/07 08:47:53 wiz Exp $

DISTNAME=	sc-im-0.8.4
PKGREVISION=	3
CATEGORIES=	math
MASTER_SITES=	${MASTER_SITE_GITHUB:=andmarti1424/}
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	sjmulder@@NetBSD.org
HOMEPAGE=	https://github.com/andmarti1424/sc-im/
COMMENT=	Curses-based spreadsheet program based on sc
LICENSE=	original-bsd

BUILD_DIRS=	src
INSTALL_DIRS=	src

.include "../../mk/bsd.prefs.mk"

# pkg-config to avoid broken Makefile self-configuration
USE_TOOLS+=	gmake pkg-config yacc sed bash:run

# error: 'for' loop initial declarations are only allowed in C99 mode
FORCE_C_STD=	c99

REPLACE_BASH+=	src/scopen

# gnuplot is invoked through the shell, no need to check at compile time
CFLAGS+=	-DGNUPLOT
# needed for PATH_MAX due to std=c99 set above (at least on Illumos)
CFLAGS+=	-D_XOPEN_SOURCE
# formats/ods.c forgets to include some header(s), fixed in 0.8.4
CFLAGS+=	-Wno-error=implicit-function-declaration

SUBST_CLASSES+=		pkgsrc
SUBST_STAGE.pkgsrc=	pre-configure
SUBST_FILES.pkgsrc=	src/Makefile
SUBST_VARS.pkgsrc=	CC PREFIX PKGMANDIR SED YACC
SUBST_MESSAGE.pkgsrc=	Replacing pkgsrc placeholders

MAKE_ENV+=	CFLAGS_CURSES=${BUILDLINK_CFLAGS.ncurses:Q}
MAKE_ENV+=	LDLIBS_CURSES=${BUILDLINK_LDADD.ncurses:Q}
MAKE_ENV+=	CFLAGS_DL=${BUILDLINK_CFLAGS.dl:Q}
MAKE_ENV+=	LDLIBS_DL=${BUILDLINK_LDADD.dl:Q}
MAKE_ENV+=	LDLIBS=${LDLIBS:Q}

.include "options.mk"

# tries to access internal cchar_t struct, incompatible with
# NetBSD curses
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.57
log
@*: recursive bump for icu 78.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.56 2025/04/17 21:51:33 wiz Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.56
log
@*: recursive bump for icu 77 and libxml2 2.14
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.55 2025/02/13 16:43:50 vins Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.55
log
@math/sc-im: update to 0.8.4

# pkgsrc changes
* make threads and x11 support opt-in
* do not require bison
* fix Lua detection from pkg-config
* package builds fine with lua54: use LUA_PACKAGE

# upstream changes
v0.8.4

06/12/2023: :datefmt does not remove text content anymore
	allowing future edition - work on item 3 of issue 769
06/11/2023: avoid changing cell's color after :format - issue 819
06/11/2023: avoid blanking cell's text content after :datefmt
06/10/2023: fix number 2 of issue 769
06/02/2023: fix configuration variable name in file.c:
	import_delimited_to_text
06/01/2023: restore transpose
06/01/2023: added input_edit_mode setting PR 626
06/01/2023: work on issue 708: xlsx file import
06/01/2023: Fix issue 784: get row number and column or cell that calls
	a LUA script with PR 814.
06/01/2023: merged PR 783 that gets rid of issue 778 - changed load_rc
	load_file order.06/01/2023: merged PR 776
06/01/2023: merged PR 789
06/01/2023: fix issue in csv import - 816
02/03/2024: fix issue 868
17/05/2024: fix missing include
20/05/2024: PR 871
02/07/2024: Modify Makefile to work with brew's ncurses
10/07/2024: PR 880 / 861
16/07/2024: work on issue 878
23/07/2024: work on issue 875 / 879
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.54 2025/02/13 11:55:27 sjmulder Exp $
d4 1
@


1.54
log
@revbump for libxlsxwriter
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.53 2025/02/01 00:52:13 sjmulder Exp $
d3 1
a3 2
DISTNAME=	sc-im-0.8.3
PKGREVISION=	10
d19 1
a19 1
USE_TOOLS+=	gmake pkg-config bison bash:run
d33 6
a44 3
MAKE_FLAGS+=	prefix=${PREFIX}
MAKE_FLAGS+=	MANDIR=${PREFIX}/${PKGMANDIR}/man1

@


1.53
log
@math/sc-im: revbump and build fix

 - Revbump for devel/libxlsxwriter
 - New clang errors on 'implicit declaration'; make that a warning again
   to avoid breaking the build. Will be fixed when updating the package
   to 0.8.4 as that fixes missing includes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.52 2024/11/14 22:20:43 wiz Exp $
d4 1
a4 1
PKGREVISION=	9
@


1.52
log
@*: recursive bump for icu 76 shlib major version bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.51 2024/11/01 12:53:27 wiz Exp $
d4 1
a4 1
PKGREVISION=	8
d31 2
@


1.51
log
@*: revbump for icu downgrade
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.50 2024/11/01 00:52:41 wiz Exp $
d4 1
a4 1
PKGREVISION=	7
@


1.50
log
@*: recursive bump for icu 76.1 shlib bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.49 2024/05/29 16:33:28 adam Exp $
d4 1
a4 1
PKGREVISION=	6
@


1.49
log
@revbump after icu and protobuf updates
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.48 2024/05/16 06:15:10 wiz Exp $
d4 1
a4 1
PKGREVISION=	5
@


1.48
log
@*: recursive bump for gnutls p11-kit option

(existing installations need the bl3.mk included, but it's now only
optionally included)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.47 2024/05/07 17:17:01 nia Exp $
d4 1
a4 1
PKGREVISION=	4
@


1.47
log
@sc-im: Note why this package doesn't work with netbsd curses in a comment
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.46 2024/05/06 08:40:29 jperkin Exp $
d4 1
a4 1
PKGREVISION=	3
@


1.46
log
@*: Revision bumps for ncurses 6.5 overhaul.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.45 2024/05/06 08:27:53 jperkin Exp $
d43 2
@


1.45
log
@*: Switch packages to combined ncurses package.

CURSES_TYPE=ncursesw is no longer valid, update matches to use ncurses.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.44 2023/11/08 13:20:03 wiz Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.44
log
@*: recursive bump for icu 74.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.43 2023/10/24 22:09:54 wiz Exp $
d32 2
a33 2
MAKE_ENV+=	CFLAGS_CURSES=${BUILDLINK_CFLAGS.ncursesw:Q}
MAKE_ENV+=	LDLIBS_CURSES=${BUILDLINK_LDADD.ncursesw:Q}
a40 5
.include "../../devel/ncursesw/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"

# Include after ncursesw bl3, otherwise ncurses bl3 (non-wide), included
# as a transitive dependency of lua, sabotages the -lncurses transform.
d43 2
@


1.43
log
@*: bump for openssl 3
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.42 2023/08/10 11:49:55 sjmulder Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.42
log
@math/sc-im: Fix build issue on Illumos
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2023/08/02 16:17:17 nia Exp $
d4 1
@


1.41
log
@*: Use FORCE_C_STD=c99 for C packages that use for loop initial
declarations without setting -std=c99.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2023/07/12 19:16:10 nia Exp $
d28 2
@


1.40
log
@sc-im: Assumes compiler defaults to c99.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2023/04/19 13:38:53 sjmulder Exp $
d22 1
a22 1
USE_LANGUAGES=	c99
@


1.39
log
@math/sc-im: Update to 0.8.3

Changes:

New
 - Multi Sheet support
   added :newsheet, :nextsheet, :prevsheet :delsheet COMMAND_MODE
   commands. `gt` and `gT` commands in NORMAL_MODE are now used for
   moving between sheets
   - added new colors types SHEET, CURRENT_SHEET and FILENM
   - .sc file saving with multiple sheets
   - loading xlsx with multiple sheet
   - saving xlsx with multiple sheets
   - add :renamesheet COMMAND_MODE command
   - created movetosheet command in gram.y, to be used internally or in
     scripts when saving and loading files.
   - reeval in multiple sheets: graph now should keep track of the
     different sheets reference cells from different sheets in formulas:
     ={"Sheet2"}!A2
 - Save triggers in files
 - Added automated tests
 - C command in EDIT MODE
 - Added ignore_hidden configuration variable to address #674 #653. With
   this hidden rows can be ignored when exporting spreasheets. Useful
   when exporting the result of a filter. This will also be honored
   when copy/pasting a range that have hidden rows in it.
 - PR 725: added 'default_open_file_under_cursor_cmd' configuration
   value that can be set at runtime

Changes
 - added more detailed error in gram.y:yyerror
 - Adapt string and number search for multisheet
 - marks now considers sheet. We could have mark A in Sheet 1, and
   mark B on Sheet 2.
 - modified tick() and fix_marks()
 - Renamed auto_justify to auto_fit
 - `gt` command of NORMAL_MODE renamed to `go`
 - Removed --sheet and --filename_with_mode configuration variables
 - UNDO now saves reference to the sheet where the action took place.
 - copy_to_undostruct() now keep in added/removed list struct ent_ptr *
   (that knows of sheets), rather than struct ent *.
 - Copy alignment of strings when doing `Pf`.
 - undo: save maxrow, maxcol, modflg values before and after changes,
   so they can be restored after undo/redo actions
 - Modified yanklist to be struct ent_ptr list, rather than struct ent
   list.
 - Ents_that_depends_on_list now takes ent_ptr rather than struct ent *
   as parameter
 - Backslash double quotes in cpaste. Issue 574.
 - Do not free ents of sheets when deleting a sheet manually (only at
   exit).  just mark them as deleted.
 - Inform old value and new value when changing configuration variable
 - UI optimizations
 - Store offscr_sc values when saving sc files. Restore them when
   loading sc files
 - Simplify clipboard code
 - xlsx.c: Convert to uppercase before replacing functions
 - Added D command on EDIT mode.
 - ESC in EDIT_MODE also confirm changes.
 - Reeval when pasting from clipboard and autocalc is set
 - Adjust Makefile to have logic for clipboard commands on MacOS

Fixes
 - fixed building warnings
 - fix in calc_mobile_cols()
 - fix not updating graph correctly after yanking cells with references
   -> Pc -> undo.  It could also segfault on ocassions as well. Added
   test5 and test6 for this.
 - Issue #568: handle '>' and '<' on mappings.
 - Issue #569: fix invalid read/write/segfault when deleting column.
   Added test8 and test9 for this.
 - fix horizontal scroll when editing cells with long strings (wider
   than screen)
 - Avoid reading passed maxcols maxrows when shifting left or up over
   last sheet column/row.
 - fix in Pv when pasting over same place where data was yanked.
 - fix in paste_yanked_ents: calloc didnt count that yanked cells could
   share dependencies.
 - fix a bug when refreshing grid when autowrap operates. Issue 578.
 - Avoid segfault in autobackup when no current file is set.
 - fix in cw dw c$ d$ commands of EDIT_MODE
 - fix leak in del_selected_cells
 - fix when using C-r in INSERT_MODE
 - fix arguments reversed on sc.colrow2a
 - fix in delete_filters that caused SEGFAULT. Issue 637.
 - fix in unformat. call to copy_to_undostruct with wrong parameters.
 - fix swapped arguments on lsetform
 - added string functions to dep graph
 - Issue #697: do not allow to override nocurses config variable
 - fix #694: csv import and export / LaTex export
 - fix #700: '{' '}' normal mode commands reset cmd_multiplier
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2023/04/19 08:10:46 adam Exp $
d21 3
@


1.38
log
@revbump after textproc/icu update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2022/11/23 16:20:36 adam Exp $
d3 1
a3 2
DISTNAME=	sc-im-0.8.2
PKGREVISION=	9
@


1.37
log
@massive revision bump after textproc/icu update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2022/10/26 10:31:40 wiz Exp $
d4 1
a4 1
PKGREVISION=	8
@


1.36
log
@*: bump PKGREVISION for libunistring shlib major bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2022/04/25 11:03:45 tnn Exp $
d4 1
a4 1
PKGREVISION=	7
@


1.35
log
@sc-im: needs bison
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2022/04/18 19:11:36 adam Exp $
d4 1
a4 1
PKGREVISION=	6
@


1.34
log
@revbump for textproc/icu update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2021/12/08 16:05:35 adam Exp $
d20 1
a20 1
USE_TOOLS+=	gmake pkg-config yacc bash:run
@


1.33
log
@revbump for icu and libffi
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2021/11/19 22:14:19 sjmulder Exp $
d4 1
a4 1
PKGREVISION=	5
@


1.32
log
@math/sc-im: Revbump for libxlsxwriter-1.1.4
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2021/09/29 19:00:58 adam Exp $
d4 1
a4 1
PKGREVISION=	4
@


1.31
log
@revbump for boost-libs
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2021/08/09 07:06:09 sjmulder Exp $
d4 1
a4 1
PKGREVISION=	3
@


1.30
log
@math/sc-im: Bump for updated libxlsxwriter
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2021/08/06 01:38:57 sjmulder Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.29
log
@math/sc-ic: Remaintain
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2021/08/04 21:09:51 sjmulder Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.28
log
@math/sc-im: Fix bash shebang for scopen
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2021/07/26 01:38:05 sjmulder Exp $
d9 1
a9 1
MAINTAINER=	pkgsrc-users@@NetBSD.org
@


1.27
log
@sc-im: Update to 0.8.2

0.8.2

Changes
 - Improved yank and undo alloc'ing. Malloc as much we need from start
   in a long batch and avoid small mallocs.
 - Changed the way lua scripts are referenced in formulas. Now they are
   input as any other string formula, like this:
   \"@@lua("script_name.lua", 1) being 1 if the reference should be added
   to the depgraph or not, making it evaluated just once or every time
   the depgraph is evaluated.
   NOTE that if set to 0 and the cell is referenced by another cell, it
   will be executed nonetheless.
 - Added new exec_lua configuration variable.
 - Rows now can have height higher than one LINE. See fj and fk in
   normal mode or :formatrow in command mode.
 - Wrap cell content. new autowrap config value. works when nooverlap
   and notruncate are set.
 - Open URL or file specified on cell (PR 401)
 - Import mkd files
 - Multiple frozen rows/columns (fr / fc in normal mode)
 - Added mapping_timeout configuration variable with a default value of
   1500ms (used to be a fixed value of 800ms).
 - Added mouse support in insert and command mode. The selection of a
   cell gets copied to inputbar.
 - Added command_timeout configuration variable.
 - handle hidden rows/cols in undo/redo of ir/ic/dr/dc
 - Added backwards search with '?'
 - Restore \\* from old SC. \\{char} fills the cell with n occurrences
   of {char} to complete its width
 - Store frozen rows and cols when saving file
 - Added :formatcol command (handling its undo as well)
 - Added :formatrow command (handling its undo as well)
 - Added undo of freeze row and col
 - Handle \n in cell input, and with autowrap
 - Handle undoing changes in row height produced by string input
 - Changed input bar from window to pad: permits entering string longer
   than COLS.
 - @@count counts cells with strings as well, and not just with numbers.
 - Handle entering a label after :datefmt for datetime value edition.
 - New dracula / papercolor themes.
 - Added EvalRange() so that the graph is not evaluated entirely all the
   time.
 - Replaced 'EvalAll' with 'EvalRange'.
 - Removed unneeded parameters on EvalJustVertex"
 - Added eval_order in EvalRange and rebuild_graph.
 - Added @@evaluate / @@sevaluate functions
 - Handle @@nval dependencies.
 - Handle @@mycol/@@myrow calls during startup when no EvalJustOneVertex
   is yet called
 - Added @@getent (FR issue #451)
 - The saving format for :w command would be according to current file
   format. #493
 - modified savefile() of file.c to check current file format before
   saving a file.
 - Keep consistent with other format such as csv and save the file with
   the same format as current file.
 - Added HELP_HIGHLIGHT definition color for help page.
 - Renamed GRID_PAIR to GRID_EVEN in color.c.
 - UNDO of :fsum is handled by let.
 - calc_offscr_rows/cols rewriten and renamed to calc_mobile_rows/cols

Fixes
 - Fix old sc bug - issue #371
 - Fix when saving sc files of cells that has some string expressions -
   issue #541
 - Fix leak in nval.
 - Fix Issue #372.
 - Free lua memory at exit.
 - Fix when saving marks in file after importing xlsx file and saving it
   in sc format.
 - EXPR and NUMBER colors were overloaded by STRING color #546
 - Fix markdown export when empty col was added left to data
 - Fix in :showrows command.
 - :fsum added to command mode commands. It was missing.
 - Added :showcols command that was missing.
 - Handled issue #429
 - handled issue #374
 - Ignore SIGWINCH outside ncurses.
 - triggers: Avoid segfault when not being able to load module. Issue
   #325

0.8.1

New features
 - Braille support
 - Added latex export - issue #394
 - Added mappings for command mode
 - Work on issues #225 and #247: support mapping of ñ and other special
   chars
 - Basic ODS file import
 - Paste to a range of selected cells - (actually added on v0.8 - issue
   438 - PR 445)
 - Added txtdelim | for csv files import - issue 409
 - Added macros to --version (show version)
 - Support higher versions of lua.
 - Handle ESC key in mappings. related to issue #492.
 - Added freeze to visual mode - issue #459

Changes
 - Recognise SPACE in mappings rather than simple ' '
 - Visual change: Moved cmd multiplier to the left of mode
 - Changed default headings colors
 - many improvements to the config facility and usage - PR 519
 - improved sort for 65k rows

Fixes
 - Fix issues on CIRCULAR REFERENCES: #473 #201 #475 #321. these were as
   hard.
 - Fix issue 417 and added a date type in xlsx import.
 - Fix Engformat overlap text y número. Mostraba * (actually fixed
   on v0.8)
 - Fix column header display - overflow with column width 2 and column
   with two letters - PR 517
 - Fix isnumeric test to recognise floats: affects copy/paste - PR 450
 - Fix issue setting conf variables like nonumeric
 - Fix when showing empty text - 944844505d7cdb7d3d392a5c1d2b3ffde40a1fff
 - Fix issue #227 - this was hard. used to segfault and keep wrong
   reference after deleting row that is last in range of expr. ex.
   @@avg(B1:B4) and deleting row 4
 - Fix issue #433: large memory use with multiple linked cells.
 - Fix issue #287 - valueize didnt update depgraph
 - Solved issue #399. 'g' command of NORMAL_MODE changed to 'gt'"
 - Fixed vmaps in get_mappings function.
 - Fixed bug on 'error' in gram.y - comment on issue #482
 - Fix issue #457: cursor position could add empty rows or columns when
   exporting csv files
 - Fix issue #288: ^ misbehaving when having fixed rows
 - Fix in mouse clicks
 - Fix possible memory leak in add freeze
 - XLSX: Free memory leak when looking for specified sheet.
 - XLSX: Avoid segfault when using shared formulas. issue #218.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2021/07/26 01:03:28 sjmulder Exp $
d4 1
d20 3
a22 1
USE_TOOLS+=	gmake pkg-config yacc
@


1.26
log
@sc-im: Fix/bump for libxlsxwriter 1.1.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2021/04/21 13:25:00 adam Exp $
d3 1
a3 2
DISTNAME=	sc-im-0.8.0
PKGREVISION=	3
@


1.25
log
@revbump for boost-libs
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2021/04/21 11:42:11 adam Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.24
log
@revbump for textproc/icu
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2021/03/29 15:55:58 sjmulder Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.23
log
@math/sc-im: Set maintainer to pkgsrc-users
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2021/03/28 12:28:00 sjmulder Exp $
d4 1
@


1.22
log
@math/sc-im: Update to 0.8.0

Packaging changes:
 - Some patches got upstreamed
 - Upstream now defaults to name=sc-im so it no longer needs to be set

Changes, (reformatted) from the official changelog:

New features:
 - New motions in edit mode: df cf F dF cF d0 d$ c0 c$ t T dt dT ct cT ^
   g_ d^ dg_ c^ cg_
 - Simple mouse support. Can handle selection of single cells and scroll.
 - Added markdown export.
 - Add custom colors with RGB definitions.
 - Add support for italic attribute to be appled to cells.
 - Added digraphs.
 - Added EXECUTE command.
 - Added --export_csv --export_tab --export_txt parameters.
 - New input_bar_bottom config variable.
 - New underline_grid config variable.
 - Added filename in status bar (filename_with_mode config variable).
 - Added option to truncate cells.
 - Added xlsx sheet parameter.
 - New @@fact function.

Other:
 - modified config and history file locations
 - renamed winch to sig_winch.
 - current fg and bg colors are kept if they are not specified in
 :cellcolor.
 - OpenBSD support (mostly wordexp() workaround)
 - Correct lua api function names in doc
 - always generate backup file when opening file
 - renamed scim to sc-im in Makefile
 - Document trigger return value convention

Issues fixed:
 - fix bug when deleting an ent that for instance has a @@sum()... it
   used to remove its vertex and THE ENTS LINKED to THEM!
 - fix error messages when using "scim --version" and color definitions
   are intented to be applied from .scimrc.
 - fix in waiting for valid command to complete after pressing ESC key.
 - fix in parse_str so a word with white space can be stored in
   dictionary value
 - fix when setting default_paste_from_clipboard_cmd
 - Don't clobber startup message w/ err opening file
 - Allow for lua scripts in local .sc directory #259
 - Send informational messages to stderr rather than the output when
   used in non-interactive mode   #263
 - fixed cell_negative color      #271
 - fixed locked cells when saving #261
 - fixed DEL key in insert mode   #272
 - fix when resizing column       #266
 - "Autobackup - case insensitive QER options when backup exists"
 - fixed segfault when fcopy'ing with no selection while on first column
 - Call write triggers on value clear
 - Use sc_info to report trigger exit code
 - fixed #277
 - Grow table up to MAXROWS exactly
 - Remove redundant if clause (God only knows where that was).
 - fix in getVertex that prevented rebuild_graph to work properly.
 - fix annoying bug because of not resetting inputline_pos to 0 when
   confirming a command in COMMAND_MODE
 - fix in let and slet. existing vertexs should not be removed.
 - added "eval_visited" in vertex struct for not to collide with
   current "visited", since:
     EvalAll uses EvalBottomUp
     EvalBottomUp uses EvalJustOneVertex
     EvalJustOneVertex uses eval
     eval uses GraphAddEdge
     GraphAddEdge uses GraphIsReachable
     GraphIsReachable uses visited
     and EvalBottomUp also uses uses visited!
 - Also changed markAllVerticesNotVisited and
   All_vertexs_of_edges_visited functions.
 - Some other issues fixed: #228, #234, #239, #240, #244, #246, #260,
   #295, #308
 - .. and many other fixes and improvements!

Pending:
  The most significative issue is regarding circular references.
  This have to be deeply analyzed and with the collaboration of the
  community
  it would be hopefully fixed by v0.9.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2020/11/05 09:08:38 ryoon Exp $
d8 1
a8 1
MAINTAINER=	sjmulder@@NetBSD.org
@


1.21
log
@*: Recursive revbump from textproc/icu-68.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2020/10/01 21:24:42 sjmulder Exp $
d3 1
a3 2
DISTNAME=	sc-im-0.7.0
PKGREVISION=	19
a29 2
# defaults to scim
MAKE_FLAGS+=	name=sc-im
@


1.20
log
@math/sc-im: Revbump for libxlsxwriter update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2020/10/01 19:35:36 sjmulder Exp $
d4 1
a4 1
PKGREVISION=	18
@


1.19
log
@math/sc-im: Revbump for libxls update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2020/08/23 22:29:19 sjmulder Exp $
d4 1
a4 1
PKGREVISION=	17
@


1.18
log
@math/sc-im: Revbump for libxlsxwriter update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2020/06/02 10:29:50 sjmulder Exp $
d4 1
a4 1
PKGREVISION=	16
@


1.17
log
@Revbump for libxlsxwriter
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2020/06/02 08:24:17 adam Exp $
d4 1
a4 1
PKGREVISION=	15
@


1.16
log
@Revbump for icu
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2020/05/22 10:56:21 adam Exp $
d4 1
a4 1
PKGREVISION=	14
@


1.15
log
@revbump after updating security/nettle
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2020/03/08 16:50:29 wiz Exp $
d4 1
a4 1
PKGREVISION=	13
@


1.14
log
@*: recursive bump for libffi
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2020/01/28 14:35:35 sjmulder Exp $
d4 1
a4 1
PKGREVISION=	12
@


1.13
log
@sc-im: Bump for breaking libxlsxwriter change
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2020/01/18 21:49:57 jperkin Exp $
d4 1
a4 1
PKGREVISION=	11
@


1.12
log
@*: Recursive revision bump for openssl 1.1.1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2020/01/15 14:37:06 sjmulder Exp $
d4 1
a4 1
PKGREVISION=	10
@


1.11
log
@sc-im: Bump for breaking libxlsxwriter update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2019/12/30 12:37:04 sjmulder Exp $
d4 1
a4 1
PKGREVISION=	9
@


1.10
log
@sc-im: Bump for breaking libxlsxwriter change
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2019/12/25 17:34:10 sjmulder Exp $
d4 1
a4 1
PKGREVISION=	8
@


1.9
log
@math/sc-im: Patch to build on Solaris-likes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2019/12/23 13:44:41 sjmulder Exp $
d4 1
a4 1
PKGREVISION=	7
@


1.8
log
@math/sc-im: Bump for breaking libxlsxwriter change
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2019/11/30 17:22:40 sjmulder Exp $
d4 1
a4 1
PKGREVISION=	6
@


1.7
log
@math/sc-im: Bump PKGREVISION for breaking libxlsxwriter update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2019/07/20 22:46:32 wiz Exp $
d4 1
a4 1
PKGREVISION=	5
@


1.6
log
@*: recursive bump for nettle 3.5.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2019/06/10 10:40:52 sjmulder Exp $
d4 1
a4 1
PKGREVISION=	4
@


1.5
log
@math/sc-im: use LDLIBS to fix Ubuntu build

The build on Ubuntu 14.04 and 18.04 failed on undefined references to
libxls functions caused by having the -l at the beginning of the
argument list, injected into LDFLAGS, rather than at the end, where
LDLIBS ends up.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2019/05/06 09:17:12 sjmulder Exp $
d4 1
a4 1
PKGREVISION=	3
@


1.4
log
@Update my (sjmulder) maintainer email address
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2019/05/06 09:00:14 sjmulder Exp $
d4 1
a4 1
PKGREVISION=	2
d29 1
@


1.3
log
@sc-im: fix ncursesw link failure if not built in

If not using builtin curses and the ncurses bl3 is included before
ncursesw, as happens through the lua option, the ncurses bl3 sabotages
-lncursesw so make sure to include ncursesw first thing.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2019/02/11 22:01:18 leot Exp $
d9 1
a9 1
MAINTAINER=	ik@@sjmulder.nl
@


1.2
log
@sc-im: Add xls option and add it to suggested option

Bump PKGREVISION.

Patch provided by Sijmen J. Mulder via tech-pkg@@, thanks!
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2019/01/30 12:58:24 leot Exp $
d4 1
a4 1
PKGREVISION=	1
d35 5
a41 2
.include "../../devel/ncursesw/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
@


1.1
log
@sc-im: Import sc-im-0.7.0 as math/sc-im

'SC Improved', a curses-based spreadsheet program based on sc.  New features
include undo and redo, colors, sorting, plotting and XLS[X] support.

Packaged in pkgsrc-wip by Sijmen J. Mulder.
@
text
@d1 1
a1 1
# $NetBSD$
d4 1
@

