graphics/rubygem-cairo: Update to 1.17.14 Changes: https://github.com/rcairo/rcairo/releases43ecb11f7c
Port details
graphics/rubygem-cairo1.17.14
Ruby binding for GLib2
- Maintainer
- ruby@FreeBSD.org
- Packages
- rubygem-cairo 1.17.14
- Upstream
- Higher version available: 1.18.5
- CPE
- none, CVEs only via VuXML
- WWW
- https://rcairo.github.io/
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (36)
graphics/rubygem-cairo: Update to 1.17.13 - Update WWW Changes: https://github.com/rcairo/rcairo/blob/master/NEWS98355ff683
graphics/rubygem-cairo: Update to 1.17.12 Changes: https://github.com/rcairo/rcairo/blob/master/NEWSd2abe775df
graphics/rubygem-cairo: fix build with clang 16
Clang 16 has a new error about incompatible function types, which shows
up when building graphics/rubygem-cairo:
rb_cairo_surface.c:2354:3: error: incompatible function pointer types passing 'VALUE (int, VALUE *, VALUE)' (aka 'unsigned long (int, unsigned long *, unsigned long)') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types]
rb_define_method (rb_cCairo_GLSurface, "initialize",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/ruby-3.1/ruby/internal/anyargs.h:287:135: note: expanded from macro 'rb_define_method'
#define rb_define_method(klass, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity))
^~~~~~
/usr/local/include/ruby-3.1/ruby/internal/anyargs.h:276:1: note: passing argument to parameter here
RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *)
^
/usr/local/include/ruby-3.1/ruby/internal/anyargs.h:255:72: note: expanded from macro 'RBIMPL_ANYARGS_DECL'
RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \
^
rb_cairo_surface.c:2368:3: error: incompatible function pointer types passing 'VALUE (int, VALUE *, VALUE)' (aka 'unsigned long (int, unsigned long *, unsigned long)') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types]
rb_define_method (rb_cCairo_GLTextureSurface, "initialize",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/ruby-3.1/ruby/internal/anyargs.h:287:135: note: expanded from macro 'rb_define_method'
#define rb_define_method(klass, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity))
^~~~~~
/usr/local/include/ruby-3.1/ruby/internal/anyargs.h:276:1: note: passing argument to parameter here
RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *)
^
/usr/local/include/ruby-3.1/ruby/internal/anyargs.h:255:72: note: expanded from macro 'RBIMPL_ANYARGS_DECL'
RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \
^
This is because rb_define_method's last argument is the 'arity' of the
method, and in case of cr_gl_surface_initialize() and
cr_gl_texture_surface_initialize() it should be -1 to indicate a
variable number of arguments.
PR: 271706
Approved by: portmgr (buildfix blanket)
MFH: 2023Q2eff4307ac7Mk/**ruby.mk: Switch from USE_RUBY=yes to USES=ruby
Switch from Mk/bsd.ruby.mk to Mk/Uses/ruby.mk
Notable changes are.
- Mk/bsd.ruby.mk is moved to Mk/Uses/ruby.mk.
- USE_RUBY=yes is replaced with USES=ruby.
- USE_RUBY_EXTCONF is replaced with USES=ruby:extconf.
- USE_RUBY_RDOC is replaced with USES=ruby:rdoc.
- USE_RUBY_SETUP is replaces with USES=ruby:setup.
- RUBY_NO_BUILD_DEPENDS and RUBY_NO_RUN_DEPENDS are replaced with
USES=ruby:{build,none,run}.
- RUBY_REQUIRE isn't used anywhere, so removed.
- USES=gem now implies USES=ruby.
This is mainly the work of yasu@ at https://reviews.freebsd.org/D27863
I have just made some cosmetic changes and ran exp-run to test that the
tree is not in a BROKEN state.
Approved by: portmgr
Differential Revision: https://reviews.freebsd.org/D3792518c6e18276Remove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)fb16dfecae
Add WWW entries to port Makefiles It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
graphics/rubygem-cairo: Update to 1.17.8 Changes: https://github.com/rcairo/rcairo/blob/master/NEWS03917afc5b
graphics/rubygem-cairo: Update to 1.17.7 Changes: https://github.com/rcairo/rcairo/blob/master/NEWSbf8fccef80
graphics/rubygem-cairo: Update to 1.17.5 - Update LICENSE - Update WWW Changes: https://github.com/rcairo/rcairo/blob/master/NEWSe79f673c50
One more small cleanup, forgotten yesterday. Reported by: lwhsucf118ccf87
Remove # $FreeBSD$ from Makefiles.305f148f48
Update to 1.16.2 Changes: https://github.com/rcairo/rcairo/blob/master/NEWS4d12ecb7dc
Update to 1.15.14 Changes: https://github.com/rcairo/rcairo/blob/master/NEWS9192b90cdc
Update to 1.15.13 Changes: https://github.com/rcairo/rcairo/blob/master/NEWSdea35f9b4a
Update to 1.15.12 Changes: https://github.com/rcairo/rcairo/blob/master/NEWSd292baccdf
Update to 1.15.11 Changes: https://github.com/rcairo/rcairo/blob/master/NEWS76f2e916fb
Update to 1.15.10 Changes: https://github.com/rcairo/rcairo/blob/master/NEWS9cf019c18d
Update to 1.15.9 Changes: https://github.com/rcairo/rcairo/blob/master/NEWS6b90a18ce3
Update to 1.15.8 Changes: https://github.com/rcairo/rcairo/blob/master/NEWSf8993c7fe8
Update to 1.15.7 Changes: https://github.com/rcairo/rcairo/blob/master/NEWS8ba0a2de29
Update to 1.15.6 - Add USES=gnome Changes: https://github.com/rcairo/rcairo/blob/master/NEWS7c3bad2d27
Update to 1.15.5 Changes: https://github.com/rcairo/rcairo/blob/master/NEWSaa6dea05b8
Convert USES=gem:autoplist to USES=gem since autoplist is default462519941e
create USES=gem and update rubygem- ports to use it Note that for now ports still have to have USE_RUBY=yes to use USES=gem PR: 209041 Differential Revision: https://reviews.freebsd.org/D6070b3e8fe8d85
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat: portmgr
Sponsored by: Absolight4e1b79a0a6Remove source and intermediate build output from intalled rubygem- ports PR: 1929498d77480356
- Update to 1.14.3 Changes: https://github.com/rcairo/rcairo/blob/master/NEWSafa481ccac
- Update to 1.14.2 Changes: https://github.com/rcairo/rcairo/blob/master/NEWSc673681818
- Update to 1.14.1 Changes: https://github.com/rcairo/rcairo/blob/master/NEWS85fa3c0acb
- Add LICENSEf31e598cae
graphics/rubygem-cairo: update to 1.12.9cd76cb7890
- Update rubygem-gnome2 and associated ports to 2.1.0adc605c395
- Add stage supportc4295e8d58
Add NO_STAGE all over the place in preparation for the staging support (cat: graphics)eb08c5441c
Ruby/Cairo is a Ruby binding for Cairo. WWW: http://cairographics.org/ PR: ports/173373 Submitted by: Shin-ya Murakami <murashin@gfd-dennou.org>1e63a4b9f6