./devel/ruby-ffi, Loading dynamic libraries, binding functions within them

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.10.0, Package name: ruby24-ffi-1.10.0, Maintainer: pkgsrc-users

== DESCRIPTION:

Ruby-FFI is a ruby extension for programmatically loading dynamic
libraries, binding functions within them, and calling those functions
from Ruby code. Moreover, a Ruby-FFI extension works without changes
on Ruby and JRuby.

Discover why should you write your next extension using Ruby-FFI
here[http://wiki.github.com/ffi/ffi/why-use-ffi].

== FEATURES/PROBLEMS:

* It has a very intuitive DSL
* It supports all C native types
* It supports C structs (also nested), enums and global variables
* It supports callbacks
* It has smart methods to handle memory management of pointers and structs


Required to run:
[devel/libffi] [lang/ruby24-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 15d8209c5c420a141e38763b153b41e5de2535ba
RMD160: 940829e28d15630a2fcfc6402b939819c3b0fece
Filesize: 849 KB

Version history: (Expand)


CVS history: (Expand)


   2019-01-20 14:48:30 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
devel/ruby-ffi: update to 1.10.0

1.10.0 / 2019-01-06
-------------------

Added:
* Add /opt/local/lib/ to ffi's fallback library search path. #638
* Add binary gem support for ruby-2.6 on Windows
* Add FreeBSD on AArch64 and ARM support. #644
* Add FFI::LastError.winapi_error on Windows native or Cygwin. #633

Changed:
* Update to rake-compiler-dock-0.7.0
* Use 64-bit inodes on FreeBSD >= 12. #644
* Switch time_t and suseconds_t types to long on FreeBSD. #627
* Make register_t long_long on 64-bit FreeBSD. #644
* Fix Pointer#write_array_of_type #637

Removed:
* Drop binary gem support for ruby-2.0 and 2.1 on Windows
   2018-06-24 17:46:49 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
devel/ruby-ffi: update to 1.9.25

1.9.25 / 2018-06-03
-------------------

Changed:
* Revert closures via libffi.
  This re-adds ClosurePool and fixes compat with SELinux enabled systems. #621

1.9.24 / 2018-06-02
-------------------

Added:
* Added a CHANGELOG file
* Add mips64(eb) support, and mips r6 support. (#601)

Changed:
* Update libffi to latest changes on master.
* Don't search in hardcoded /usr paths on Windows.
* Don't treat Symbol args different to Strings in ffi_lib.
* Make sure size_t is defined in Thread.c. Fixes #609
   2018-02-28 17:30:45 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
devel/ruby-ffi: update to 1.9.23

pkgsrc change: update HOMEPAGE

1.9.19 and 1.9.20 were not released.

1.9.21 2018/02/06

* Use PRIsVALUE shim when not available for Ruby < 2.0 compatibility.
* Drop Ruby 1.8.7 support (#480)
* Add support for Sparc64 Linux. (#574)
* Add support for MSYS2 (#572)
* Normalize sparc64 to sparcv9. (#575)
* Fix compatibility with PPC64LE platform (#577)
* Added support for Bitmask. (#573)
* Use Ruby implementation for `which` (#315)
* Do closures via libffi
* Do not assume a path to the sh and env binaries (#528)
* Fix typo of mprotect (#586)
* read_string should not throw an error on length 0
* optimise read_string for case if len is nil
* add missing win64 types fixes #588
* Upgrade to yard ~> 0.9 to silence Github dependency vulnerability warning.
* Use kramdown for markdown processing.
* update travis for latest ruby versions.
* Bump rake-compiler-dock dependency to add ruby-2.5 support (#599)
* Bump version again while I figure out how to build this thing.

1.9.22 2018/02/23

* Various fixes and more deterinistic gem packaging (#612)
* suppress unused variable warning
* Add Appveyor badge icon

* Fix failures on MacOS (#617)

1.9.23 -- 2018/02/25
* Fix repeated generation of autoconf files
* Update libffi to latest master
* Fix wrong path to search for configure
* README: Remove now unnecessary PaX workaround [ci skip]
   2017-03-13 17:18:34 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-ffi to 1.9.18.

* Add AbstractMemory#get and AbstractMemory#put
* Add Pointer#to_ptr
* Update x86_64-openbsd types close #535
* Use latest rake-compiler-dock and rake-compiler.
* Avoid undefined behaviour of LoadLibrary() on Windows.
* Suppress deprecated Fixnum warnings on Ruby 2.4.0.
   2016-10-09 15:54:20 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-ffi to 1.9.14.

* Minor documentation and code style improvements.
* Support Ruby 2.1.8.
* Support Ruby 2.3.0.
* Fix library loading symbols.

For more detail, please refer:
<https://github.com/ffi/ffi/compare/1.9.10...1.9.14>.
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-09-13 11:03:17 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-ffi to 1.9.10.

1.9.10
* Simplify clean list and add libtest build files.
* methodHandleParamTypes needs to refer to valid memory after rbffi_MethodHandle_Init
* tweak travis to allow failure in 2.2 on osx
* allow failure on osx 2.2 and head builds
* CLEAN tweak [ci skip]

1.9.9
* workaround bundler problem
* fix struct specs on 1.8 sets them to pending rather than checking for a raise \ 
but...
* better clean/clobber config
* Simplify cross build tasks and add rake-compiler-dock for building Windows \ 
binary gems.
* Added Platform.solaris? singleton method.
* fix library load... forever
* better native_type
* enable and fix warnings in specs.
* add compiler and platform based tests
* Fix compatibility with newer libffi on Windows/MSVC
* Handle better RUBY_VERSION.
   2015-03-15 17:04:57 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-ffi to 1.9.8.

No exact changes are available, please refer:
https://github.com/ffi/ffi/commits/master.