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
| System | Port | Version |
|---|---|---|
| NetBSD | x11/nativefiledialog-extended | 1.3.0nb3 |
| FreeBSD | devel/nativefiledialog-extended | 1.3.0 |
| HardenedBSD | devel/nativefiledialog-extended | 1.3.0 |
| GhostBSD | devel/nativefiledialog-extended | 1.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.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 1.3.0nb3 |
| NetBSD 10.1 aarch64 | 1.3.0nb2 |
| SmartOS / illumos x86_64 | 1.4.1 |
| macOS 15 arm64 | 1.4.1 |