BSD Ports

x11/nativefiledialog-extended 1.3.0nb3 NetBSD

Cross platform native file dialog library with C and C++ bindings

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
0e1ecd07c1
License
zlib
Categories
x11, devel
Package size
15.4 KiB, 71.9 KiB installed

Description

A small C library with that portably invokes native file open, folder select and file save dialogs. Write dialog code once and have itpop up native dialogs on all supported platforms. Avoid linking large dependencies like wxWidgets and Qt.

  • Lean C API, static library — no C++/ObjC runtime needed
  • Supports Windows (MSVC, MinGW, Clang), macOS (Clang), and Linux (GTK, portal) (GCC, Clang)
  • Zlib licensed
  • Friendly names for filters (e.g. `C/C++ Source files (*.c;*.cpp)` instead of `(*.c;*.cpp)`) on platforms that support it
  • Automatically append file extension on platforms where users expect it
  • Support for setting a default folder path
  • Support for setting a default file name (e.g. `Untitled.c`)
  • Consistent UTF-8 support on all platforms
  • Native character set (UTF-16 `wchar_t`) support on Windows

In the other systems

SystemPortVersion
NetBSDx11/nativefiledialog-extended1.3.0nb3
FreeBSDdevel/nativefiledialog-extended1.3.0
HardenedBSDdevel/nativefiledialog-extended1.3.0
GhostBSDdevel/nativefiledialog-extended1.3.0

Install

Binary package:

pkgin install nativefiledialog-extended

From pkgsrc:

cd /usr/pkgsrc/x11/nativefiledialog-extended && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.3.0nb3
NetBSD 10.1 aarch641.3.0nb2
SmartOS / illumos x86_641.4.1
macOS 15 arm641.4.1

Dependencies

Run dependencies 1
Required by 1

Commit history 5

DateCommitCreditsLog message
0e1ecd07c1 ktnb nativefiledialog-extended: update to 1.4.1
- fixes a bug in the Portal implementation that causes a buffer underflow when invoking the save dialog with a default name that does not have an extension
7b5a3977f9 wiz *: recursive bump for pcre2 10.49
204ac6b2b7 tnn *: revbump for pcre2 symbol versioning change
23ce7cf498 ktnb nativefiledialog-extended: updated to 1.4.0
- New feature: Accept native parent window handle - Hoist identical code from GTK and Portal implementations into shared header - New feature: Allow customisation of dialog title and button labels - Add SDL3 support (nfd_sdl3.h)
5e4aea17e2 wiz *: recursive bump for pcre2 10.48