head	1.39;
access;
symbols
	pkgsrc-2026Q1:1.39.0.2
	pkgsrc-2026Q1-base:1.39
	pkgsrc-2025Q4:1.38.0.6
	pkgsrc-2025Q4-base:1.38
	pkgsrc-2025Q3:1.38.0.4
	pkgsrc-2025Q3-base:1.38
	pkgsrc-2025Q2:1.38.0.2
	pkgsrc-2025Q2-base:1.38
	pkgsrc-2025Q1:1.37.0.2
	pkgsrc-2025Q1-base:1.37
	pkgsrc-2024Q4:1.36.0.4
	pkgsrc-2024Q4-base:1.36
	pkgsrc-2024Q3:1.36.0.2
	pkgsrc-2024Q3-base:1.36
	pkgsrc-2024Q2:1.35.0.8
	pkgsrc-2024Q2-base:1.35
	pkgsrc-2024Q1:1.35.0.6
	pkgsrc-2024Q1-base:1.35
	pkgsrc-2023Q4:1.35.0.4
	pkgsrc-2023Q4-base:1.35
	pkgsrc-2023Q3:1.35.0.2
	pkgsrc-2023Q3-base:1.35
	pkgsrc-2023Q2:1.32.0.2
	pkgsrc-2023Q2-base:1.32
	pkgsrc-2023Q1:1.30.0.6
	pkgsrc-2023Q1-base:1.30
	pkgsrc-2022Q4:1.30.0.4
	pkgsrc-2022Q4-base:1.30
	pkgsrc-2022Q3:1.30.0.2
	pkgsrc-2022Q3-base:1.30
	pkgsrc-2022Q2:1.29.0.2
	pkgsrc-2022Q2-base:1.29
	pkgsrc-2022Q1:1.28.0.6
	pkgsrc-2022Q1-base:1.28
	pkgsrc-2021Q4:1.28.0.4
	pkgsrc-2021Q4-base:1.28
	pkgsrc-2021Q3:1.28.0.2
	pkgsrc-2021Q3-base:1.28
	pkgsrc-2021Q2:1.27.0.2
	pkgsrc-2021Q2-base:1.27
	pkgsrc-2021Q1:1.26.0.2
	pkgsrc-2021Q1-base:1.26
	pkgsrc-2020Q4:1.23.0.2
	pkgsrc-2020Q4-base:1.23
	pkgsrc-2020Q3:1.20.0.2
	pkgsrc-2020Q3-base:1.20
	pkgsrc-2020Q2:1.16.0.2
	pkgsrc-2020Q2-base:1.16
	pkgsrc-2020Q1:1.14.0.2
	pkgsrc-2020Q1-base:1.14
	pkgsrc-2019Q4:1.10.0.4
	pkgsrc-2019Q4-base:1.10
	pkgsrc-2019Q3:1.8.0.2
	pkgsrc-2019Q3-base:1.8
	pkgsrc-2019Q2:1.6.0.2
	pkgsrc-2019Q2-base:1.6
	pkgsrc-2019Q1:1.4.0.2
	pkgsrc-2019Q1-base:1.4
	pkgsrc-2018Q4:1.1.0.2
	pkgsrc-2018Q4-base:1.1;
locks; strict;
comment	@# @;


1.39
date	2025.12.24.14.58.37;	author ryoon;	state Exp;
branches;
next	1.38;
commitid	vemCdrp0hUXqLFnG;

1.38
date	2025.05.21.06.56.18;	author adam;	state Exp;
branches;
next	1.37;
commitid	Yd7yVaFpEVim4KVF;

1.37
date	2025.01.19.19.29.38;	author wiz;	state Exp;
branches;
next	1.36;
commitid	MfwQab6AESA0a8GF;

1.36
date	2024.09.13.08.05.10;	author wiz;	state Exp;
branches;
next	1.35;
commitid	rjePiD7lNvjhuCpF;

1.35
date	2023.09.16.08.06.23;	author adam;	state Exp;
branches;
next	1.34;
commitid	dYED9VYUWtE3aYEE;

1.34
date	2023.09.12.03.05.19;	author pin;	state Exp;
branches;
next	1.33;
commitid	1Q6Vk4I4tf5NCqEE;

1.33
date	2023.07.05.20.33.42;	author he;	state Exp;
branches;
next	1.32;
commitid	kqu09Sc9tpVvCEvE;

1.32
date	2023.06.01.07.55.08;	author adam;	state Exp;
branches;
next	1.31;
commitid	z15RcpRdb4XkxdrE;

1.31
date	2023.05.17.22.32.39;	author wiz;	state Exp;
branches;
next	1.30;
commitid	lMp3D65VXRdrSmpE;

1.30
date	2022.08.04.00.54.06;	author gutteridge;	state Exp;
branches;
next	1.29;
commitid	S1izAhAJSCRRSuOD;

1.29
date	2022.06.06.20.53.06;	author ryoon;	state Exp;
branches;
next	1.28;
commitid	ebE1L9ErjINOp1HD;

1.28
date	2021.08.24.16.56.09;	author ryoon;	state Exp;
branches;
next	1.27;
commitid	GfLo8hc7Ms6wif6D;

1.27
date	2021.04.26.14.34.41;	author ryoon;	state Exp;
branches;
next	1.26;
commitid	yD41EZzfuvs8nOQC;

1.26
date	2021.03.02.13.10.34;	author ryoon;	state Exp;
branches;
next	1.25;
commitid	3TC2WHikNDmSFJJC;

1.25
date	2021.02.06.05.21.49;	author ryoon;	state Exp;
branches;
next	1.24;
commitid	hCuyLgYC0LlSQBGC;

1.24
date	2021.01.01.12.47.48;	author ryoon;	state Exp;
branches;
next	1.23;
commitid	UsUtjDipftPCt1CC;

1.23
date	2020.10.11.13.04.35;	author ryoon;	state Exp;
branches;
next	1.22;
commitid	2hW991Q6fbuOcurC;

1.22
date	2020.09.28.13.21.03;	author ryoon;	state Exp;
branches;
next	1.21;
commitid	HugP5QaDF9hnIOpC;

1.21
date	2020.09.27.15.49.41;	author ryoon;	state Exp;
branches;
next	1.20;
commitid	wT1RPE23r8rmzHpC;

1.20
date	2020.08.25.14.30.39;	author ryoon;	state Exp;
branches;
next	1.19;
commitid	0ZY7fLoZdaR0cslC;

1.19
date	2020.08.14.20.50.21;	author tnn;	state Exp;
branches;
next	1.18;
commitid	cAqbHQ8yPEl9E4kC;

1.18
date	2020.08.14.11.04.59;	author tnn;	state Exp;
branches;
next	1.17;
commitid	WeF4n1oSHoflp1kC;

1.17
date	2020.07.31.01.20.43;	author maya;	state Exp;
branches;
next	1.16;
commitid	wPMN40iPUhhLCaiC;

1.16
date	2020.06.14.15.33.28;	author nia;	state Exp;
branches;
next	1.15;
commitid	lG7PET5MuCjRQccC;

1.15
date	2020.06.03.08.53.04;	author ryoon;	state Exp;
branches;
next	1.14;
commitid	9FdWIubWV83CZKaC;

1.14
date	2020.03.06.14.22.14;	author ryoon;	state Exp;
branches;
next	1.13;
commitid	WsT01SkTy0NTFlZB;

1.13
date	2020.01.19.18.20.45;	author maya;	state Exp;
branches;
next	1.12;
commitid	dugOecxIlgjOukTB;

1.12
date	2020.01.19.16.52.46;	author maya;	state Exp;
branches;
next	1.11;
commitid	V0t2htr8eef91kTB;

1.11
date	2020.01.09.14.56.28;	author ryoon;	state Exp;
branches;
next	1.10;
commitid	hSkmQNJ3PvtcH1SB;

1.10
date	2019.12.03.15.50.09;	author minskim;	state Exp;
branches;
next	1.9;
commitid	0hC61cvS6d7ZahNB;

1.9
date	2019.10.01.21.30.04;	author rillig;	state Exp;
branches;
next	1.8;
commitid	jckzDZzvkQFx5dFB;

1.8
date	2019.09.06.02.53.19;	author ryoon;	state Exp;
branches;
next	1.7;
commitid	NO5MocKFh3ygITBB;

1.7
date	2019.07.04.13.16.07;	author ryoon;	state Exp;
branches;
next	1.6;
commitid	fyiXQi0x5UjtdJtB;

1.6
date	2019.05.15.12.24.01;	author ryoon;	state Exp;
branches;
next	1.5;
commitid	td93EtIpzP0fxinB;

1.5
date	2019.05.01.09.24.39;	author wiz;	state Exp;
branches;
next	1.4;
commitid	Na3qrFOG62ACZtlB;

1.4
date	2019.03.15.13.05.55;	author ryoon;	state Exp;
branches;
next	1.3;
commitid	HuUNMgxx68EbJsfB;

1.3
date	2019.02.19.22.24.12;	author he;	state Exp;
branches;
next	1.2;
commitid	d3hBFgpBmG75AqcB;

1.2
date	2019.01.19.12.49.04;	author ryoon;	state Exp;
branches;
next	1.1;
commitid	sKPeKwJYZlT0po8B;

1.1
date	2018.11.04.00.28.01;	author ryoon;	state Exp;
branches;
next	;
commitid	THvOTFCcY3SgKyYA;


desc
@@


1.39
log
@devel/cbindgen: Update to 0.29.2

Changelog:
# 0.29.2

      * Request serde's std feature to avoid issues with newer toml versions.

# 0.29.1

      * cf13c2b enum: Track dependencies properly in enumerations.
      * 307d1e9 constant: Handle cfg in associated constants.
      * 0902d02 Remove "display" feature from the toml crate
      * 9068410 Fix incorrect detection of duplicated constants
      * 451e768 docs: Correct after_include type in example config (fix)
      * aff68c6 cargo update
      * 09666f6 Update toml to 0.9
@
text
@# $NetBSD: Makefile,v 1.38 2025/05/21 06:56:18 adam Exp $

DISTNAME=	cbindgen-0.29.2
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GITHUB:=mozilla/}
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	ryoon@@NetBSD.org
HOMEPAGE=	https://github.com/mozilla/cbindgen
COMMENT=	Generating C bindings from Rust code
LICENSE=	mpl-2.0

.include "cargo-depends.mk"

RUST_RUNTIME=	yes
.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"
@


1.38
log
@cbindgen: updated to 0.29.0

0.29.0

* Support no-export annotation for statics and functions.
* Fixed conditional fields of constexpr literal structs
* Add rename rule for generated associated constant
* Upgrade heck to 0.5
* Add support for an optional nullable attribute
* docs.md: Fix deprecated_with_note and deprecated_variant_with_note being spelled as 'notes'
* Fix generic with "void" default
* Fixed error generation of structures using the keyword as inside arrays
* Added test for unsafe(no_mangle) attribute
* Fixed handling of trait methods containing the unsafe attribute
* Rename -Zparse-only
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2025/01/19 19:29:38 wiz Exp $
d3 1
a3 1
DISTNAME=	cbindgen-0.29.0
@


1.37
log
@cbindgen: update to 0.28.0.

# 0.28.0

      * Parse unsafe attributes in https://github.com/mozilla/cbindgen/pull/1020
      * Fix local override of enum prefix-with-name by jsgf in https://github.com/mozilla/cbindgen/pull/1006
      * Add rename-all=prefix in https://github.com/mozilla/cbindgen/pull/1021
      * ir: add support for UnsafeCell and SyncUnsafeCell by alekitto in https://github.com/mozilla/cbindgen/pull/1003
      * Implement mangling for arrays in https://github.com/mozilla/cbindgen/pull/1022
      * Fix: Ignore `CARGO_BUILD_TARGET` in tests by bryango in https://github.com/mozilla/cbindgen/pull/1010
      * Newline for each field for constexpr field constants by youknowone in https://github.com/mozilla/cbindgen/pull/988
      * Fix clippy warnings by youknowone in https://github.com/mozilla/cbindgen/pull/1026
      * Add aarch64/arm64 to CI by NickeZ in https://github.com/mozilla/cbindgen/pull/1036
      * Add `unstable_ir` feature flag that makes the ir pub by heesooy in https://github.com/mozilla/cbindgen/pull/1011
      * Support generated a symbols file by TheElectronWill in https://github.com/mozilla/cbindgen/pull/916
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2024/09/13 08:05:10 wiz Exp $
d3 1
a3 1
DISTNAME=	cbindgen-0.28.0
@


1.36
log
@cbindgen: update to 0.27.0.

# 0.27.0

      * Revert: The `Config` struct now has a private member.
      * Allow users to specify a crate version for bindings generation (#901).
      * Update MSRV to 1.74 (#912, #987).
      * Support #[deprecated] on enum variants (#933).
      * Support integrating the package_version information in a header file comment (#939).
      * Add a language backend (#942).
      * Support generics with defaulted args (#959).
      * Add `VaList` compatibility (#970).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2023/09/16 08:06:23 adam Exp $
d3 1
a3 1
DISTNAME=	cbindgen-0.27.0
@


1.35
log
@cbindgen: updated to 0.26.0

0.26.0

Fix swapping of >>= and <<= in constants.
Add support for #[deprecated].
Built-in support for bitflags 2.0.
Support for "C-unwind" ABI.
Generate bindings for non-public extern items if they are #[no_mangle].
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2023/09/12 03:05:19 pin Exp $
d3 1
a3 1
DISTNAME=	cbindgen-0.26.0
@


1.34
log
@devel/cbindgen: update to 0.25.0

Ok from ryoon@@ upon successful build of firefox115.

  * Re-release of yanked 0.24.6 as a major release
  * Update MSRV to 1.57
  * Support variadic arguments (`...`) (#805)
  * Add --depfile option (#820)
  * Breaking changes: The `Config` struct now has a private member.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2023/07/05 20:33:42 he Exp $
d3 1
a3 1
DISTNAME=	cbindgen-0.25.0
@


1.33
log
@cbindgen: make this build with the newly added NetBSD/riscv64 rust.

(I used the not-yet-committed rust-bin package.)

Replicate the "libc" crate patch from the main rust package.
(A corresponding pull request sent upstream.)
Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2023/06/01 07:55:08 adam Exp $
d3 1
a3 2
DISTNAME=	cbindgen-0.24.6
PKGREVISION=	1
@


1.32
log
@cbindgen: updated to 0.24.6

0.24.6
* Update MSRV to 1.57
* Support variadic arguments (`...`)
* Add --depfile option

0.24.5
* Don't enforce tempfile version.

0.24.4
* Move expand infinite recursion fix
* Add with_cpp_compat to the builder
* Handle never type in return position consistently
* Fix warnings
* Updated documentation
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2023/05/17 22:32:39 wiz Exp $
d4 1
@


1.31
log
@cbindgen: use cargo.mk's install
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2022/08/04 00:54:06 gutteridge Exp $
d3 1
a3 1
DISTNAME=	cbindgen-0.24.3
d5 2
a6 1
EXTRACT_SUFX=	.crate
d9 1
a9 1
HOMEPAGE=	https://github.com/eqrion/cbindgen/
@


1.30
log
@cbindgen: update to 0.24.3

(Required for Firefox 103 builds.)

## 0.24.3

      * Make struct expressions correctly generated through typedefs (#768).

## 0.24.2

      * Make bitfield operators use explicit constructors.

## 0.24.1

      * Add support for unary negation (#765).
      * Make more bitfield operators constexpr (#765).

## 0.24.0

      * Basic const generic support (#759, #760 #762).
      * Suffixes on integer literals are now honored to avoid narrowing (#764).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2022/06/06 20:53:06 ryoon Exp $
a13 5
INSTALLATION_DIRS=	bin

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/target/release/cbindgen ${DESTDIR}${PREFIX}/bin

@


1.29
log
@cbindgen: Update to 0.23.0

Changelog:
0.23.0:
    Better support for constexpr. (#756)
    constexpr is now enabled by default in C++ mode. You can use const.allow_constexpr=false to revert to previous behavior. (#756)
    Minimum syn version no longer parses old rust code. (#754)

0.22.0:
    Support rename rule for union body members (#751).
    constant: Add support for associated constant expressions (#752).
    Fix regression in CamelCase rename rule (should be lowerCamelCase) (#750).
    enumeration: simplify standard types in variants (#749).
    Avoid generating and writing bindings when called recursively (#747).
    Cython: Omit per-variant tags in unions generated for Rust enums (#748).
    Update various dependencies.

0.21.0:
    Update MSRV to 1.54.0
    Update clap to 3.1.
    Update heck to 0.4.0
    unraw identifiers
    Honor documentation_length in Cython.
    Add documentation_style to with short and full options
    Map RawFd to Int
    Respect remove_underscores config when prefixing name to enum
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2021/08/24 16:56:09 ryoon Exp $
d3 1
a3 1
DISTNAME=	cbindgen-0.23.0
@


1.28
log
@cbindgen: Update to 0.20.0

Changelog:
    Add Builder::with_using_namespaces. (#688)
    Ignore PhantomPinned. (#695)
    Simplify Pin to T. (#697)
    Update --pretty=expanded to -Zunpretty=expanded. (#706)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2021/04/26 14:34:41 ryoon Exp $
d3 1
a3 1
DISTNAME=	cbindgen-0.20.0
@


1.27
log
@cbindgen: Update to 0.19.0

Changelog:
    Simplify types in generics (#663)
    Use --profile=check for macro expansion (#671)
    Use exported name to prefix enum variants (#672)
    Fix path attribute handling in inline submodules (#679)
    Fix a stack overflow with some recursive typedefs (#680)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2021/03/02 13:10:34 ryoon Exp $
d3 1
a3 1
DISTNAME=	cbindgen-0.19.0
@


1.26
log
@cbindgen: Update to 0.18.0

Changelog:
* Simplify types in nested types such as pointed-to types and function signatures (#661)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2021/02/06 05:21:49 ryoon Exp $
d3 1
a3 1
DISTNAME=	cbindgen-0.18.0
@


1.25
log
@cbindgen: Update to 0.17.0

* Split cargo depends into cargo-depends.mk file.

Changelog:
    Add with_parse_extra_bindings to builder. (#645)
    Support NonZero and fix incorrect simplification of Option into ptr. (#647)
    Deal with name conflicts correctly in declaration type resolution. (#651)
    Support pointers to ZSTs. (#656)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2021/01/01 12:47:48 ryoon Exp $
d3 1
a3 1
DISTNAME=	cbindgen-0.17.0
@


1.24
log
@cbindgen: Update to 0.16.0

* Fix HOMEPAGE.

Changelog:
     * Remove artificial restriction on lifetime parameters on enums (#604)
     * Add an option for converting usize/isize into size_t/ptrdiff_t. (#606)
     * Allow controlling the cargo profile used for expansion. (#607)
     * Support wider range of expressions in enum discriminants (#614)
     * Support generation of Cython bindings (#590)
     * Fixed some issues with style=tag and recursive structs (#615)
     * Default C style to Both (as specified in docs) (#615)
     * Fix resolution of path dependencies from certain modules. (#629)
     * Support inlined definitions for tuple variants with a single field in C (#631)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2020/10/11 13:04:35 ryoon Exp $
d3 1
a3 1
DISTNAME=	cbindgen-0.16.0
d12 1
a12 49
CARGO_CRATE_DEPENDS+=	ansi_term-0.11.0
CARGO_CRATE_DEPENDS+=	atty-0.2.14
CARGO_CRATE_DEPENDS+=	autocfg-1.0.1
CARGO_CRATE_DEPENDS+=	bitflags-1.2.1
CARGO_CRATE_DEPENDS+=	cfg-if-0.1.10
CARGO_CRATE_DEPENDS+=	clap-2.33.3
CARGO_CRATE_DEPENDS+=	cloudabi-0.0.3
CARGO_CRATE_DEPENDS+=	getrandom-0.1.15
CARGO_CRATE_DEPENDS+=	hashbrown-0.9.1
CARGO_CRATE_DEPENDS+=	heck-0.3.1
CARGO_CRATE_DEPENDS+=	hermit-abi-0.1.16
CARGO_CRATE_DEPENDS+=	indexmap-1.6.0
CARGO_CRATE_DEPENDS+=	itoa-0.4.6
CARGO_CRATE_DEPENDS+=	lazy_static-1.4.0
CARGO_CRATE_DEPENDS+=	libc-0.2.77
CARGO_CRATE_DEPENDS+=	lock_api-0.3.4
CARGO_CRATE_DEPENDS+=	log-0.4.11
CARGO_CRATE_DEPENDS+=	parking_lot-0.10.2
CARGO_CRATE_DEPENDS+=	parking_lot_core-0.7.2
CARGO_CRATE_DEPENDS+=	ppv-lite86-0.2.9
CARGO_CRATE_DEPENDS+=	proc-macro2-1.0.21
CARGO_CRATE_DEPENDS+=	quote-1.0.7
CARGO_CRATE_DEPENDS+=	rand-0.7.3
CARGO_CRATE_DEPENDS+=	rand_chacha-0.2.2
CARGO_CRATE_DEPENDS+=	rand_core-0.5.1
CARGO_CRATE_DEPENDS+=	rand_hc-0.2.0
CARGO_CRATE_DEPENDS+=	redox_syscall-0.1.57
CARGO_CRATE_DEPENDS+=	remove_dir_all-0.5.3
CARGO_CRATE_DEPENDS+=	ryu-1.0.5
CARGO_CRATE_DEPENDS+=	scopeguard-1.1.0
CARGO_CRATE_DEPENDS+=	serde-1.0.116
CARGO_CRATE_DEPENDS+=	serde_derive-1.0.116
CARGO_CRATE_DEPENDS+=	serde_json-1.0.57
CARGO_CRATE_DEPENDS+=	serial_test-0.5.0
CARGO_CRATE_DEPENDS+=	serial_test_derive-0.5.0
CARGO_CRATE_DEPENDS+=	smallvec-1.4.2
CARGO_CRATE_DEPENDS+=	strsim-0.8.0
CARGO_CRATE_DEPENDS+=	syn-1.0.41
CARGO_CRATE_DEPENDS+=	tempfile-3.1.0
CARGO_CRATE_DEPENDS+=	textwrap-0.11.0
CARGO_CRATE_DEPENDS+=	toml-0.5.6
CARGO_CRATE_DEPENDS+=	unicode-segmentation-1.6.0
CARGO_CRATE_DEPENDS+=	unicode-width-0.1.8
CARGO_CRATE_DEPENDS+=	unicode-xid-0.2.1
CARGO_CRATE_DEPENDS+=	vec_map-0.8.2
CARGO_CRATE_DEPENDS+=	wasi-0.9.0+wasi-snapshot-preview1
CARGO_CRATE_DEPENDS+=	winapi-0.3.9
CARGO_CRATE_DEPENDS+=	winapi-i686-pc-windows-gnu-0.4.0
CARGO_CRATE_DEPENDS+=	winapi-x86_64-pc-windows-gnu-0.4.0
@


1.23
log
@cbindgen: Update to 0.15.0

Changelog:
  * Allow customizing mangling of generic parameters in C (#575)
  * Box<T> simplifies to T* in C (4ce324c)
  * ManuallyDrop<T> and MaubeUninit<T> simplify to T in C, and are opaque in C++ (0076a17)
  * C++ supports a derive-ostream annotation to derive serialization of structs, unions and enums (#582)
  * Large character constants have been fixed on Windows (#586)
  * Constants are now generated for typedefs, etc (#589)
  * The `sort_by` configuration option has been made to work for constants (#587)
  * Default sort order is source order now (sort_by = "None"), and can be changed by the above option (#587)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2020/09/28 13:21:03 ryoon Exp $
d3 1
a3 1
DISTNAME=	cbindgen-0.15.0
d8 1
a8 1
HOMEPAGE=	https://github.com/eqrion/cbindgen/releases
d18 1
d25 1
d27 1
d29 2
d41 1
d45 3
@


1.22
log
@cbindgen: Update to 0.14.6

Changelog:
Not available.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2020/09/27 15:49:41 ryoon Exp $
d3 1
a3 1
DISTNAME=	cbindgen-0.14.6
d13 2
a14 1
CARGO_CRATE_DEPENDS+=	atty-0.2.13
a15 1
CARGO_CRATE_DEPENDS+=	c2-chacha-0.2.3
d17 3
a19 2
CARGO_CRATE_DEPENDS+=	clap-2.33.0
CARGO_CRATE_DEPENDS+=	getrandom-0.1.13
d21 10
a30 8
CARGO_CRATE_DEPENDS+=	itoa-0.4.4
CARGO_CRATE_DEPENDS+=	libc-0.2.66
CARGO_CRATE_DEPENDS+=	log-0.4.8
CARGO_CRATE_DEPENDS+=	ppv-lite86-0.2.6
CARGO_CRATE_DEPENDS+=	proc-macro2-1.0.6
CARGO_CRATE_DEPENDS+=	quote-1.0.2
CARGO_CRATE_DEPENDS+=	rand-0.7.2
CARGO_CRATE_DEPENDS+=	rand_chacha-0.2.1
d33 6
a38 6
CARGO_CRATE_DEPENDS+=	redox_syscall-0.1.56
CARGO_CRATE_DEPENDS+=	remove_dir_all-0.5.2
CARGO_CRATE_DEPENDS+=	ryu-1.0.2
CARGO_CRATE_DEPENDS+=	serde-1.0.104
CARGO_CRATE_DEPENDS+=	serde_derive-1.0.104
CARGO_CRATE_DEPENDS+=	serde_json-1.0.44
d40 1
a40 1
CARGO_CRATE_DEPENDS+=	syn-1.0.11
d43 1
a43 1
CARGO_CRATE_DEPENDS+=	toml-0.5.5
d45 5
a49 5
CARGO_CRATE_DEPENDS+=	unicode-width-0.1.7
CARGO_CRATE_DEPENDS+=	unicode-xid-0.2.0
CARGO_CRATE_DEPENDS+=	vec_map-0.8.1
CARGO_CRATE_DEPENDS+=	wasi-0.7.0
CARGO_CRATE_DEPENDS+=	winapi-0.3.8
@


1.21
log
@cbindgen: Update to 0.14.6

CHangelog:
Not available.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2020/08/25 14:30:39 ryoon Exp $
d3 1
a3 1
DISTNAME=	cbindgen-0.14.5
@


1.20
log
@cbindgen: Update to 0.14.4

Changelog:
     * Allow to override the mangling separator (#502)

     * cbindgen now handles better having ZSTs in template parameters, and
       default template parameters (#563).

     * Support for annotating nonnull pointers (#558)

     * Fixed bitflags that overflow a signed integer (#556)

     * Support for wildcard argument names (#550)

     * Support for the never return type, with configurable annotation (#549)

     * Properly reject arrays as function arguments (#540)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2020/08/14 20:50:21 tnn Exp $
d3 1
a3 1
DISTNAME=	cbindgen-0.14.4
@


1.19
log
@cargo users: drop do-build target where redundant
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2020/08/14 11:04:59 tnn Exp $
d3 1
a3 1
DISTNAME=	cbindgen-0.14.3
@


1.18
log
@rust/cargo: replace "--frozen --locked" with "--offline" in various places

The intent of "--frozen --locked" was to not use the network, but the new
"--offline" option is better suited for this purpose.
It for example allows us to patch Cargo.toml if necessary without having
to regen checksums.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2020/07/31 01:20:43 maya Exp $
a51 3
do-build:
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/cargo build --offline --release -j${_MAKE_JOBS_N}

@


1.17
log
@cbindgen: update to 0.14.3

     * Introduce cbindgen:ignore comment annotation, to allow ignoring items or modules. (#519)
     * Support for casts in constant expressions. (#526)
     * Make a non-fatal error a warning message. (#535)
     * Add a --metadata option to the CLI, to allow passing pre-computed cargo metadata. (#538)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2020/06/14 15:33:28 nia Exp $
d53 1
a53 1
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/cargo build --locked --frozen --release -j${_MAKE_JOBS_N}
@


1.16
log
@Rename rust-bin's PKGNAME to rust-bin. Add rust.mk for rust packages.

This allows rust-bin and rust to coexist in bulk builds (for testing, etc),
but the packages still may not be installed at the same time.

rust.mk as a solution for picking the correct rust variant was suggested
by gdt@@. It is intended to be included directly by packages that do not
use cargo.mk, and indirectly by packages that do use cargo.mk.

rust.mk provides one user-settable variable:

RUST_TYPE
	as before, whether to bootstrap rust from source or use
	official binaries. may be "src" or "bin"

And two package-settable variables:

RUST_REQ
	the minimum version of Rust required by the package.
	defaults to "1.20.0"

RUST_RUNTIME
	whether Rust is a runtime dependency, may be "yes" or "no"
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2020/06/03 08:53:04 ryoon Exp $
d3 1
a3 1
DISTNAME=	cbindgen-0.14.2
@


1.15
log
@cbindgen: Update to 0.14.2

Changelog:
0.14.2
 * Fixed minimal dependency versions. (#507)
 * Add an option to write pragma once. (#511)
 * Fix submodule scanning for implicit Rust 2018 modules. (#512)
 * Fix dependency parsing / scanning to handle target-specific versions. (#513)
 * Use heck for case conversion. (#514)
 * Add support for verbatim content after includes. (#416)
 * Allow to add attributes to most generated functions. (#515)

0.14.1
 * Handle mangling pointers. (#508)
 * Unconditionally generate a return statement in partialeq implementations. (#509)

0.14.0
 * Minor tweak at how [export.exclude] is handled to allow excluding
   generic instantiations in C mode. (#501)
 * Documented cpp_compat option. (#496)
 * Fixed a panic when parsing associated constants for a built-in type. (#494)

0.13.2
   * Constants now have suitable documentation. (#471)
   * Fixed some C warnings by emitting void when there are no arguments. (#470)
   * Avoids reading cargo.toml when not needed, which can cause panics in workspace situations.
   * Only write `default` cases if the switch is not exhaustive. (#475)
   * Some warnings have been refined. (#477)
   * Code generation for static arrays has been fixed. (#479)
   * Opt-in support for constexpr in constants. (#481)
   * Fix C code generation and some warnings when extremely large constants are used. (#490)
   * Proper escaping of enum variants and fields. (#483)
   * Added support for RefCell (as an opaque type) and Cell. (#489)

5a4d74b
ir: escape export_name while writing source of EnumVariant
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2020/03/06 14:22:14 ryoon Exp $
d58 1
a59 1
.include "../../lang/rust/buildlink3.mk"
@


1.14
log
@cbindgen: Update to 0.13.1

Changelog:
0.13.1
  * Support #[cfg] on individual enum variants. (#469)

0.13.0
 * Support 'swift_name' attributes on generated functions (#449)
 * Add [export.pre_body] to config (#452)
 * Handle new line in doc attribute (#454)
 * Add support for `Self` in tagged enums, structs and unions (#455, #455, #456)
 * Make sentinel variant respect regular config (#459)
 * Fix layout of tagged enums with size under some configurations (#463)
 * Add an option to allow configuring the order of function names in generated headers (#466)

0.12.2
Not available
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2020/01/19 18:20:45 maya Exp $
d3 1
a3 1
DISTNAME=	cbindgen-0.13.1
d19 1
d41 1
@


1.13
log
@Rename EFFECTIVE_MAKE_JOBS -> _MAKE_JOBS_N, suggested by gdt.

I am under the impression we use _THING to mean "defined by the
implementation", which would be similar to the C meaning of __ prefix,
rather than "private to this file".
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2020/01/19 16:52:46 maya Exp $
d3 1
a3 1
DISTNAME=	cbindgen-0.12.1
@


1.12
log
@Make cargo packages respect MAKE_JOBS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2020/01/09 14:56:28 ryoon Exp $
d51 1
a51 1
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/cargo build --locked --frozen --release -j${EFFECTIVE_MAKE_JOBS}
@


1.11
log
@cbindgen: Update to 0.12.1

Changelog:
0.12.1
 * Added support for #[repr*64)] on enums. https://github.com/eqrion/cbindgen/pull/441
 * Added support to generate plain enums instead of enum classes for C++. https://github.com/eqrion/cbindgen/pull/443
 * Fixed dependency resolution with lockfile v2. https://github.com/eqrion/cbindgen/pull/438

0.12.0
 * Added support for #[repr(align)] and #[repr(packed)] on structs and unions. https://github.com/eqrion/cbindgen/pull/431
 * Added support to generate copy-assignment operators for enums. https://github.com/eqrion/cbindgen/pull/434

0.11.1
Not available

0.11.0
 * Made rust char map to uint32_t. https://github.com/eqrion/cbindgen/pull/424
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2019/12/03 15:50:09 minskim Exp $
d51 1
a51 1
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/cargo build --locked --frozen --release
@


1.10
log
@devel/cbindgen: Update to 0.10.1

Changes:
     * Initialize struct literal with list-initializer for C++11 standard.
     * Surround namespace with __cplusplus ifdef in cpp_compat mode.
     * Add support for --quiet flag.
     * Map char to char32_t.
     * Improve binding_crate_ref() error message.
     * avoid prematurely returning during expansion.
     * Add support for adding "using namespace" statements.
     * Improved error message for missing config file.
     * Add missing header for char32_t.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2019/10/01 21:30:04 rillig Exp $
d3 1
a3 1
DISTNAME=	cbindgen-0.10.1
d13 4
a16 4
CARGO_CRATE_DEPENDS+=	atty-0.2.11
CARGO_CRATE_DEPENDS+=	autocfg-0.1.4
CARGO_CRATE_DEPENDS+=	bitflags-1.1.0
CARGO_CRATE_DEPENDS+=	cfg-if-0.1.9
d18 1
a18 2
CARGO_CRATE_DEPENDS+=	cloudabi-0.0.3
CARGO_CRATE_DEPENDS+=	fuchsia-cprng-0.1.1
d20 10
a29 18
CARGO_CRATE_DEPENDS+=	libc-0.2.58
CARGO_CRATE_DEPENDS+=	log-0.4.6
CARGO_CRATE_DEPENDS+=	numtoa-0.1.0
CARGO_CRATE_DEPENDS+=	proc-macro2-1.0.0
CARGO_CRATE_DEPENDS+=	quote-1.0.0
CARGO_CRATE_DEPENDS+=	rand-0.6.5
CARGO_CRATE_DEPENDS+=	rand_chacha-0.1.1
CARGO_CRATE_DEPENDS+=	rand_core-0.3.1
CARGO_CRATE_DEPENDS+=	rand_core-0.4.0
CARGO_CRATE_DEPENDS+=	rand_hc-0.1.0
CARGO_CRATE_DEPENDS+=	rand_isaac-0.1.1
CARGO_CRATE_DEPENDS+=	rand_jitter-0.1.4
CARGO_CRATE_DEPENDS+=	rand_os-0.1.3
CARGO_CRATE_DEPENDS+=	rand_pcg-0.1.2
CARGO_CRATE_DEPENDS+=	rand_xorshift-0.1.1
CARGO_CRATE_DEPENDS+=	rdrand-0.4.0
CARGO_CRATE_DEPENDS+=	redox_syscall-0.1.54
CARGO_CRATE_DEPENDS+=	redox_termios-0.1.1
d31 4
a34 4
CARGO_CRATE_DEPENDS+=	ryu-0.2.8
CARGO_CRATE_DEPENDS+=	serde-1.0.93
CARGO_CRATE_DEPENDS+=	serde_derive-1.0.99
CARGO_CRATE_DEPENDS+=	serde_json-1.0.39
d36 2
a37 3
CARGO_CRATE_DEPENDS+=	syn-1.0.1
CARGO_CRATE_DEPENDS+=	tempfile-3.0.8
CARGO_CRATE_DEPENDS+=	termion-1.5.3
d39 2
a40 2
CARGO_CRATE_DEPENDS+=	toml-0.5.1
CARGO_CRATE_DEPENDS+=	unicode-width-0.1.5
d43 2
a44 1
CARGO_CRATE_DEPENDS+=	winapi-0.3.7
@


1.9
log
@devel/cbindgen: fix typo
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2019/09/06 02:53:19 ryoon Exp $
d3 1
a3 1
DISTNAME=	cbindgen-0.9.1
d5 1
a5 3
MASTER_SITES=	${MASTER_SITE_GITHUB:=eqrion/}
GITHUB_PROJECT=	cbindgen
GITHUB_TAG=	v${PKGVERSION_NOREV}
d12 44
a55 50
CARGO_CRATE_DEPENDS+=	\
	ansi_term-0.11.0 \
	atty-0.2.11 \
	autocfg-0.1.4 \
	bitflags-1.1.0 \
	cfg-if-0.1.9 \
	clap-2.33.0 \
	cloudabi-0.0.3 \
	fuchsia-cprng-0.1.1 \
	fuchsia-zircon-0.3.3 \
	fuchsia-zircon-sys-0.3.3 \
	itoa-0.4.4 \
	libc-0.2.58 \
	log-0.4.6 \
	numtoa-0.1.0 \
	proc-macro2-1.0.0 \
	quote-1.0.0 \
	rand-0.6.5 \
	rand_chacha-0.1.1 \
	rand_core-0.3.1 \
	rand_core-0.4.0 \
	rand_hc-0.1.0 \
	rand_isaac-0.1.1 \
	rand_jitter-0.1.4 \
	rand_os-0.1.3 \
	rand_pcg-0.1.2 \
	rand_xorshift-0.1.1 \
	rdrand-0.4.0 \
	redox_syscall-0.1.54 \
	redox_termios-0.1.1 \
	remove_dir_all-0.5.2 \
	rustc_version-0.2.3 \
	ryu-0.2.8 \
	semver-0.9.0 \
	semver-parser-0.7.0 \
	serde-1.0.93 \
	serde_derive-1.0.99 \
	serde_json-1.0.39 \
	strsim-0.8.0 \
	syn-1.0.1 \
	tempfile-3.0.8 \
	termion-1.5.3 \
	textwrap-0.11.0 \
	toml-0.5.1 \
	unicode-width-0.1.5 \
	unicode-xid-0.2.0 \
	vec_map-0.8.1 \
	winapi-0.3.7 \
	winapi-i686-pc-windows-gnu-0.4.0 \
	winapi-x86_64-pc-windows-gnu-0.4.0
@


1.8
log
@Update to 0.9.1

Changelog:
## 0.9.1
     * Various improvements to comment output. https://github.com/eqrion/cbindgen/pull/370 / https://github.com/eqrion/cbindgen/pull/375.
     * Fixed expand when ran from build.rs. https://github.com/eqrion/cbindgen/pull/371
     * More debugging output for expansion. https://github.com/eqrion/cbindgen/pull/383
     * New option to add a default private constructor in C++ tagged enums. https://github.com/eqrion/cbindgen/pull/377
     * Syn and related dependencies updated to 1.0. https://github.com/eqrion/cbindgen/pull/379
@
text
@d1 1
a1 1
e $NetBSD: Makefile,v 1.7 2019/07/04 13:16:07 ryoon Exp $
@


1.7
log
@Update to 0.9.0

Changelog:
## 0.9.0
     * Support to generate C headers with C++ compatibility.
       https://github.com/eqrion/cbindgen/pull/349
     * Fix include guard generation when no_includes is set.
       https://github.com/eqrion/cbindgen/pull/352
     * Fix crate parsing order so that types from the binding crate
       are preferred in presence of conflicting names.
       https://github.com/eqrion/cbindgen/pull/355
     * Add extra_bindings option to generate bindings for dependencies.
       https://github.com/eqrion/cbindgen/pull/362
     * Clap dependency is optional now so it's feasible to avoid
       building it if cbindgen is used as a library.
       https://github.com/eqrion/cbindgen/pull/363
@
text
@d1 1
a1 1
e $NetBSD: Makefile,v 1.6 2019/05/15 12:24:01 ryoon Exp $
d3 1
a3 1
DISTNAME=	cbindgen-0.9.0
d29 2
a30 2
	proc-macro2-0.4.30 \
	quote-0.6.12 \
d50 1
a50 1
	serde_derive-1.0.93 \
d53 1
a53 1
	syn-0.15.38 \
d59 1
a59 1
	unicode-xid-0.1.0 \
@


1.6
log
@Update to 0.8.7

Changelog:
* Support for Rust 2018
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2019/05/01 09:24:39 wiz Exp $
d3 1
a3 1
DISTNAME=	cbindgen-0.8.7
d17 4
a20 4
	autocfg-0.1.2 \
	bitflags-1.0.4 \
	cfg-if-0.1.6 \
	clap-2.32.0 \
d22 1
d25 2
a26 2
	itoa-0.4.3 \
	libc-0.2.47 \
d28 4
a31 3
	proc-macro2-0.4.25 \
	quote-0.6.10 \
	rand-0.6.4 \
d33 2
a34 1
	rand_core-0.3.0 \
d37 3
a39 2
	rand_os-0.1.1 \
	rand_pcg-0.1.1 \
d42 1
a42 1
	redox_syscall-0.1.50 \
d44 1
a44 1
	remove_dir_all-0.5.1 \
d46 1
a46 1
	ryu-0.2.7 \
d49 9
a57 9
	serde-1.0.84 \
	serde_derive-1.0.84 \
	serde_json-1.0.36 \
	strsim-0.7.0 \
	syn-0.15.26 \
	tempfile-3.0.5 \
	termion-1.5.1 \
	textwrap-0.10.0 \
	toml-0.4.10 \
d61 1
a61 1
	winapi-0.3.6 \
@


1.5
log
@cbindgen: update to 0.8.4.

0.8.4

* Support for package renaming in Cargo.toml
* Improved error messages for |cargo metadata| failures
* Replaced 'test.py' harness with |cargo test|
* Char constants will now be escaped properly
* Visibility of constants will now be respected
* Added a C99 doc comment style

0.8.3

Changes not found.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2019/03/15 13:05:55 ryoon Exp $
d3 1
a3 1
DISTNAME=	cbindgen-0.8.4
@


1.4
log
@Update to 0.8.2

Changelog:
Not available
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2019/02/19 22:24:12 he Exp $
d3 1
a3 1
DISTNAME=	cbindgen-0.8.2
@


1.3
log
@Update to version 0.8.0 (from 0.6.8).
Also upgrade the various rust crates according to new requirements.
Sadly, no change log available upstream that I can find...
(The old version uses an old libc crate, which hasn't been adapted
for NetBSD/aarch64.)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2019/01/19 12:49:04 ryoon Exp $
d3 1
a3 1
DISTNAME=	cbindgen-0.8.0
@


1.2
log
@Update to 0.6.8

Compatible with www/firefox-64.0.2 and upcomming -65.0

Changelog:
Not available.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2018/11/04 00:28:01 ryoon Exp $
d3 1
a3 1
DISTNAME=	cbindgen-0.6.8
d16 5
a20 4
	atty-0.2.10 \
	bitflags-1.0.3 \
	cfg-if-0.1.3 \
	clap-2.31.2 \
a21 1
	dtoa-0.4.2 \
d24 15
a38 10
	itoa-0.4.1 \
	libc-0.2.41 \
	log-0.4.1 \
	proc-macro2-0.3.8 \
	proc-macro2-0.4.4 \
	quote-0.5.2 \
	quote-0.6.3 \
	rand-0.5.5 \
	rand_core-0.2.1 \
	redox_syscall-0.1.40 \
d41 7
a47 3
	serde-1.0.64 \
	serde_derive-1.0.58 \
	serde_json-1.0.19 \
d49 2
a50 4
	syn-0.13.11 \
	syn-0.14.1 \
	syn-0.15.23 \
	tempfile-3.0.3 \
d52 2
a53 2
	textwrap-0.9.0 \
	toml-0.4.6 \
d57 1
a57 1
	winapi-0.3.4 \
@


1.1
log
@devel/cbindgen: import cbindgen-0.6.6

This project can be used to generate C bindings for Rust code. It
is currently being developed to support creating bindings for
WebRender, but has been designed to support any project.

cbindgen-0.6.7 is not compatible with www/firefox-63.0.1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2018/09/21 21:26:33 minskim Exp $
d3 1
a3 1
DISTNAME=	cbindgen-0.6.6
d42 1
@

