Path to this page:
./
devel/java-jna,
JNA provides Java programs easy access to native shared libraries
Branch: CURRENT,
Version: 5.15.0,
Package name: java-jna-5.15.0,
Maintainer: nonakapJNA provides Java programs easy access to native shared libraries
without writing anything but Java code - no JNI or native code is
required. This functionality is comparable to Windows' Platform/Invoke
and Python's ctypes.
JNA allows you to call directly into native functions using natural Java
method invocation. The Java call looks just like the call does in native code.
Most calls require no special handling or configuration; no boilerplate or
generated code is required.
JNA uses a small JNI library stub to dynamically invoke native code.
The developer uses a Java interface to describe functions and structures
in the target native library. This makes it quite easy to take advantage of
native platform features without incurring the high overhead of configuring
and building JNI code for multiple platforms. Read this more in-depth
description.
While significant attention has been paid to performance, correctness and
ease of use take priority.
In addition, JNA includes a platform library with many native functions already
mapped as well as a set of utility interfaces that simplify native access.
Required to run:[
devel/libffi] [
lang/openjdk11]
Required to build:[
pkgtools/x11-links] [
devel/apache-ant] [
pkgtools/cwrappers]
Master sites:
Filesize: 114524.212 KB
Version history: (Expand)
- (2024-11-28) Updated to version: java-jna-5.15.0
- (2023-07-18) Updated to version: java-jna-5.13.0nb2
- (2023-03-02) Updated to version: java-jna-5.13.0nb1
- (2023-02-19) Updated to version: java-jna-5.13.0
- (2021-12-08) Updated to version: java-jna-5.2.0nb3
- (2021-01-22) Updated to version: java-jna-5.2.0nb2
CVS history: (Expand)
2024-12-02 17:52:51 by David Brownlee | Files touched by this commit (1) |
Log message:
Fix _ULIMIT_CMD -> _ULIMIT_CMD:Q
Note to self: *Always* rebuild after fixing final pkglint
|
2024-12-02 14:44:42 by David Brownlee | Files touched by this commit (6) | |
Log message:
Switch to dynamic PLIST generation
Comment added to Makefile:
Generated support files in ${PREFIX}/doc vary based on the version of java
used to build, each of 8, 11, 17 and 21 have significant differences. The
documentation is the same, but not the jquery, frame layout and similar files
Approved by nonakap@gmail.com
|
2024-11-28 20:53:23 by Ryo ONODERA | Files touched by this commit (5) | |
Log message:
devel/java-jna: Update to 5.15.0
Changelog:
Release 5.15.0
Features
#1578: Add support for FreeBSD aarch64 - @alexdupre.
#1593: Add support for DragonFly BSD x86-64 - @liweitianux.
#1595: Add IsProcessorFeaturePresent to c.s.j.p.win32.Kernel32 - @dbwiddis.
#1602: Add XMoveWindow, XResizeWindow, XMoveResizeWindow, XRaiseWindow, \
XLowerWindow X11 calls to c.s.j.p.unix.X11 - @vinceh121.
#1613: Added static helper method `Native#getNativeLibrary' for getting the \
underlying NativeLibrary instance from a Library interface instance or from a \
"registered" class - @matthiasblaesing.
#1624: Enable linker build-id for android builds - @mstyura.
Bug Fixes
#1579: Fix analysis of ELF binary on arm systems running with a java ELF \
binary without section table headers (java8 on armv7 NAS) - @matthiasblaesing.
#1586: Fix free_callback JNI weak reference leak - @xiezhaokun.
6486c90d913a413f247eef84742ce3c474738933: Check CallbackReference#cbstruct \
for null when checking existing Reference - @matthiasblaesing.
#1622: Add "linux-riscv64" entry to OSGI Bundle-NativeCode header \
in MANIFEST.MF - @matthiasblaesing.
Release 5.14.0
Features
#1556: Add SetJob, SetPrinter to c.s.j.p.w.Winspool - @tresf.
#1534: Add GetMethod, Put, SpawnInstance to \
c.s.j.p.win32.COM.WbemCli#IWbemClassObject and ExecMethod to \
c.s.j.p.win32.COM.WbemCli#IWbemServices - @faddom.
#1544: Add GetPriorityClass, SetPriorityClass, GetThreadPriority, \
SetThreadPriority and associated constants to c.s.j.p.win32.Kernel32 - \
@dEajL3kA.
#1548: Make interface c.s.j.p.mac.XAttr public - @matthiasblaesing.
#1551: Add c.s.j.p.bsd.ExtAttr and c.s.j.p.bsd.ExtAttrUtil to wrap BSD \
<sys/extattr.h> system calls. @rednoah.
#1517: Add missing O_* (e.g. O_APPEND, O_SYNC, O_DIRECT, ...) to \
c.s.j.p.linux.Fcntl - @matthiasblaesing.
#1521: Shutdown CleanerThread once the last cleanable is removed - \
@matthiasblaesing.
#1557: Build linux-riscv64 on Ubuntu focal to improve compatibility with \
older glibc versions - @matthiasblaesing.
Bug Fixes
#1501: Library.OPTION_STRING_ENCODING is ignore for string arguments \
function calls - @matthiasblaesing.
#1504: Increase maximum supported fixed args on varargs calls from 3 to 255 \
- @andrew-nowak.
#1545: Fix Java 6 incompatibility in c.s.j.p.win32.Kerne32Util and \
c.s.j.p.win32.DBT - @matthiasblaesing.
Important Changes
The interfaces between Java and native code have changed, so libjnidispatch \
must be rebuilt to be compatible with this release.
Release drops support for JDKs 6 + 7, so you'll need at least JDK 8 to \
update to use this version.
|
2024-01-16 04:57:05 by Ryo ONODERA | Files touched by this commit (2) |
Log message:
java-jna: Support JDK 21
|
2023-07-18 23:09:04 by Ryo ONODERA | Files touched by this commit (1) |
Log message:
java-jna: Fix packaging with lang/openjdk11 too
|
2023-07-18 14:23:49 by David Brownlee | Files touched by this commit (2) |
Log message:
Update PLIST.java17-javadoc for openjdk17-1.17.0.7.7
This means java-jna will not fail to package for earlier
versions of openjd17, but better to work with what is in the matching tree
|
2023-06-06 14:42:56 by Taylor R Campbell | Files touched by this commit (1319) |
Log message:
Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.
Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).
No change to BUILD_DEPENDS as used correctly inside buildlink3.
As proposed on tech-pkg:
https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
|
2023-03-02 02:13:38 by David Brownlee | Files touched by this commit (4) |
Log message:
Support openjdk17 for java-jna
Also fixup PLIST for java8 and java11
Bump PKGREVISION
|