head	1.16;
access;
symbols
	pkgsrc-2026Q1:1.16.0.2
	pkgsrc-2026Q1-base:1.16
	pkgsrc-2025Q4:1.15.0.2
	pkgsrc-2025Q4-base:1.15
	pkgsrc-2025Q3:1.14.0.2
	pkgsrc-2025Q3-base:1.14
	pkgsrc-2025Q2:1.13.0.6
	pkgsrc-2025Q2-base:1.13
	pkgsrc-2025Q1:1.13.0.4
	pkgsrc-2025Q1-base:1.13
	pkgsrc-2024Q4:1.13.0.2
	pkgsrc-2024Q4-base:1.13
	pkgsrc-2024Q3:1.12.0.2
	pkgsrc-2024Q3-base:1.12
	pkgsrc-2024Q2:1.11.0.4
	pkgsrc-2024Q2-base:1.11
	pkgsrc-2024Q1:1.11.0.2
	pkgsrc-2024Q1-base:1.11
	pkgsrc-2023Q4:1.10.0.2
	pkgsrc-2023Q4-base:1.10
	pkgsrc-2023Q3:1.5.0.2
	pkgsrc-2023Q3-base:1.5
	pkgsrc-2023Q2:1.4.0.4
	pkgsrc-2023Q2-base:1.4
	pkgsrc-2023Q1:1.4.0.2
	pkgsrc-2023Q1-base:1.4
	pkgsrc-2022Q4:1.3.0.2
	pkgsrc-2022Q4-base:1.3
	pkgsrc-2022Q3:1.2.0.6
	pkgsrc-2022Q3-base:1.2
	pkgsrc-2022Q2:1.2.0.4
	pkgsrc-2022Q2-base:1.2
	pkgsrc-2022Q1:1.2.0.2
	pkgsrc-2022Q1-base:1.2
	pkgsrc-2021Q4:1.1.0.6
	pkgsrc-2021Q4-base:1.1
	pkgsrc-2021Q3:1.1.0.4
	pkgsrc-2021Q3-base:1.1
	pkgsrc-2021Q2:1.1.0.2
	pkgsrc-2021Q2-base:1.1;
locks; strict;
comment	@# @;


1.16
date	2025.12.30.07.29.33;	author adam;	state Exp;
branches;
next	1.15;
commitid	Lua3howWzuAn5poG;

1.15
date	2025.09.21.16.36.38;	author wiz;	state Exp;
branches;
next	1.14;
commitid	Ve54g1pPvJYokBbG;

1.14
date	2025.09.14.06.05.44;	author adam;	state Exp;
branches;
next	1.13;
commitid	XimYhhekhEgN3EaG;

1.13
date	2024.11.03.19.05.40;	author adam;	state Exp;
branches;
next	1.12;
commitid	K61JMmPxt5DbvewF;

1.12
date	2024.08.25.06.19.17;	author wiz;	state Exp;
branches;
next	1.11;
commitid	BcrSL94SO85mvanF;

1.11
date	2024.01.01.09.08.40;	author adam;	state Exp;
branches;
next	1.10;
commitid	h8xMrG4viR0c4JSE;

1.10
date	2023.12.10.18.28.03;	author adam;	state Exp;
branches;
next	1.9;
commitid	3TUcd5rZZBSVRWPE;

1.9
date	2023.12.05.18.10.56;	author adam;	state Exp;
branches;
next	1.8;
commitid	5WWegTMitzd1WiPE;

1.8
date	2023.11.06.09.31.15;	author adam;	state Exp;
branches;
next	1.7;
commitid	a7q2Kts3HC3yZwLE;

1.7
date	2023.11.01.20.08.03;	author adam;	state Exp;
branches;
next	1.6;
commitid	XrlgFSmyhT9PFWKE;

1.6
date	2023.09.27.09.41.50;	author adam;	state Exp;
branches;
next	1.5;
commitid	1RGHSC8KiUcTkoGE;

1.5
date	2023.08.13.10.31.49;	author adam;	state Exp;
branches;
next	1.4;
commitid	x1FL0Oevc8aI3CAE;

1.4
date	2022.12.31.22.00.16;	author adam;	state Exp;
branches;
next	1.3;
commitid	YKQdyNysYRKg6L7E;

1.3
date	2022.11.07.10.19.27;	author adam;	state Exp;
branches;
next	1.2;
commitid	HT5PT18jL5itXK0E;

1.2
date	2021.12.29.17.00.23;	author adam;	state Exp;
branches;
next	1.1;
commitid	tRVPg5clsPEqezmD;

1.1
date	2021.05.04.14.24.33;	author prlw1;	state Exp;
branches;
next	;
commitid	wYhfhNgX0CRt3QRC;


desc
@@


1.16
log
@utf8-cpp: updated to 4.0.9

4.0.9
A minor release: removing static asserts for C++98/03 builds
@
text
@# $NetBSD: Makefile,v 1.15 2025/09/21 16:36:38 wiz Exp $

DISTNAME=	utf8-cpp-4.0.9
CATEGORIES=	textproc
MASTER_SITES=	${MASTER_SITE_GITHUB:=nemtrif/}
GITHUB_PROJECT=	utfcpp
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	prlw1@@cam.ac.uk
HOMEPAGE=	https://github.com/nemtrif/utfcpp
COMMENT=	UTF-8 header library for C++
LICENSE=	boost-license

USE_LANGUAGES=	c++

CMAKE_CONFIGURE_ARGS+=	-DUTF8_SAMPLES=OFF
CMAKE_CONFIGURE_ARGS+=	-DUTF8_TESTS=OFF

.include "../../devel/cmake/build.mk"
.include "../../mk/bsd.pkg.mk"
@


1.15
log
@utf8-cpp: update to 4.0.8.

Fix the assert name clash in release 4.0.7
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2025/09/14 06:05:44 adam Exp $
d3 1
a3 1
DISTNAME=	utf8-cpp-4.0.8
@


1.14
log
@utf8-cpp: updated to 4.0.7

4.0.7

Compile time checks for size of UTF-16 code units
fix compile warning
tidy code
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2024/11/03 19:05:40 adam Exp $
d3 1
a3 1
DISTNAME=	utf8-cpp-4.0.7
@


1.13
log
@utf8-cpp: updated to 4.0.6

4.0.6

Resolve -Wsign-conversion warnings
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2024/08/25 06:19:17 wiz Exp $
d3 1
a3 1
DISTNAME=	utf8-cpp-4.0.6
d15 1
@


1.12
log
@*: replace CMAKE_ARGS with CMAKE_CONFIGURE_ARGS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2024/01/01 09:08:40 adam Exp $
d3 1
a3 1
DISTNAME=	utf8-cpp-4.0.5
@


1.11
log
@utf8-cpp: updated to 4.0.5

Release 4.0.5
More CMake fixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2023/12/10 18:28:03 adam Exp $
d15 2
a16 2
CMAKE_ARGS+=	-DUTF8_SAMPLES=OFF
CMAKE_ARGS+=	-DUTF8_TESTS=OFF
@


1.10
log
@utf8-cpp: updated to 4.0.4

Release 4.0.4

More CMake contributions and official deprecation of CMake support.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2023/12/05 18:10:56 adam Exp $
d3 1
a3 1
DISTNAME=	utf8-cpp-4.0.4
@


1.9
log
@utf8-cpp: updated to 4.0.3

Release 4.0.3

A minor release that fixes an issue with CMakeLists.txt
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2023/11/06 09:31:15 adam Exp $
d3 1
a3 1
DISTNAME=	utf8-cpp-4.0.3
@


1.8
log
@utf8-cpp: updated to 4.0.2

4.0.2

A minor release that contains a fix for CMakeList.txt
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2023/11/01 20:08:03 adam Exp $
d3 1
a3 1
DISTNAME=	utf8-cpp-4.0.2
@


1.7
log
@utf8-cpp: updated to 4.0.1

Release 4.0.1

Fix for broken utf8::unchecked::utf16to8()
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2023/09/27 09:41:50 adam Exp $
d3 1
a3 1
DISTNAME=	utf8-cpp-4.0.1
@


1.6
log
@utf8-cpp: updated to 3.2.5

3.2.5
Documentation updates. More CMake contributions.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2023/08/13 10:31:49 adam Exp $
d3 1
a3 1
DISTNAME=	utf8-cpp-3.2.5
@


1.5
log
@utf8-cpp: updated to 3.2.4

3.2.4

Minor CMake improvements.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2022/12/31 22:00:16 adam Exp $
d3 1
a3 1
DISTNAME=	utf8-cpp-3.2.4
@


1.4
log
@utf8-cpp: updated to 3.2.3

3.2.3
A minor release that includes a fix for https://github.com/nemtrif/utfcpp/issues/92[: Clang 10 Compiler warnings](e3e57c8) and build system improvements
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2022/11/07 10:19:27 adam Exp $
d3 1
a3 1
DISTNAME=	utf8-cpp-3.2.3
a13 1
USE_CMAKE=	yes
d18 1
@


1.3
log
@utf8-cpp: updated to 3.2.2

v3.2.2
Minor changes that eliminate some conversion warnings in some cases.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2021/12/29 17:00:23 adam Exp $
d3 1
a3 1
DISTNAME=	utf8-cpp-3.2.2
@


1.2
log
@utf8-cpp: updated to 3.2.1

Release 3.2.1
The release contains the fix the inclusion of both cpp11 and cpp17 headers on C++17 compilation. Also some additional tests for using string literals and string objects with modern compilers.

Release 3.2
Optional support for C++ 17 std::string_view.

Release 3.1.2
Fix for Issue 72.

Release 3.1.1
Include the commits from the previous year.

Release 3.1
This release adds one new API call: unchecked::replace_invalid().

Other changes are mostly about testing and installation.

Release 3.0.3
A minor release that contains fix for Issue 31 Program fails to link when including utf8.h in multiple files.

Release 3.0.2
This minor release contains:

Fix of the project version number at CMakeLists.txt
Continuous Integration with Google Tests and CircleCI

Release 3.0.1
A minor release with a fix for a header guard.

Release 3.0
This is a major release that introduces the following functionality:

New convenience API for C++ 11 and later compilers. The library still works with C++ 98/03 compliant compilers, just without the new functions.
advance() function works in both directions.
The following deprecated functions were removed:

previous() - deprecated since version 1.02.
is_bom() - deprecated since version 2.3.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2021/05/04 14:24:33 prlw1 Exp $
d3 1
a3 1
DISTNAME=	utf8-cpp-3.2.1
@


1.1
log
@Add utf8-cpp 2.3.4

UTF8-CPP: UTF-8 with C++ in a Portable Way

Many C++ developers miss an easy and portable way of handling Unicode
encoded strings. The original C++ Standard (known as C++98 or C++03) is
Unicode agnostic. C++11 provides some support for Unicode on core
language and library level: u8, u, and U character and string literals,
char16_t and char32_t character types, u16string and u32string library
classes, and codecvt support for conversions between Unicode encoding
forms. In the meantime, developers use third party libraries like ICU,
OS specific capabilities, or simply roll out their own solutions.

In order to easily handle UTF-8 encoded Unicode strings, I came up with
a small generic library. For anybody used to work with STL algorithms
and iterators, it should be easy and natural to use. The code is freely
available for any purpose - check out the license at the beginning of
the utf8.h file. If you run into bugs or performance issues, please let
me know and I'll do my best to address them.
@
text
@d1 1
a1 1
# $NetBSD$
d3 1
a3 1
DISTNAME=	utf8-cpp-2.3.4
d5 3
a7 2
MASTER_SITES=	${MASTER_SITE_GITHUB:=jjones646/}
GITHUB_TAG=	v2.3.4
d10 1
a10 1
HOMEPAGE=	https://github.com/jjones646/utf8-cpp/
d14 4
a17 12
USE_LANGUAGES=	# none

NO_CONFIGURE=	yes
NO_BUILD=	yes

INSTALLATION_DIRS+=	include/utf8

do-install:
	${INSTALL_DATA} ${WRKSRC}/source/utf8.h ${DESTDIR}${PREFIX}/include
.for f in checked.h core.h unchecked.h
	${INSTALL_DATA} ${WRKSRC}/source/utf8/${f} ${DESTDIR}${PREFIX}/include/utf8
.endfor
@

