cairomm: updated to 1.14.2

1.14.2 (stable):

The tarball for 1.14.2 has been created with 'meson dist'.
If you build with Autotools from the tarball, please read the relevant
part of the README file.

Build:
* Meson build: Fix versioning on macOS
* Require cairo >= 1.12.0
  Not a new requirement, but now it's specified in configure.ac and
  meson.build, so a failure to meet it is noticed earlier when building


1.14.0 (stable):

The tarball for 1.14.0 has been created with 'meson dist'.
If you build with Autotools from the tarball, please read the relevant
part of the README file.

Cairo:
* Add Context::get_source_for_surface()

Build:
* Fix the build with MinGW headers
* enums.h: Guard the FT-specific include and the enum with an ifdef
* Add NMake Makefiles
  Remove Visual Studio 2013 projects
* Add support for building with Meson
* Use __declspec(dllexport) when building cairomm on Visual Studio
  Stop using gendef.exe by default
* docs/reference/: Update for Doxygen >= 1.8.16

Tests:
* Update the source code
* Don't include deprecated Boost header files
  Fix tests in Autotools builds

Documentation:
* README: Update with instructions for building cairomm
This commit is contained in:
adam 2021-04-08 21:08:40 +00:00
parent f5a5564090
commit 8904244d02
4 changed files with 21 additions and 240 deletions

View file

@ -1,9 +1,9 @@
# $NetBSD: Makefile,v 1.47 2020/08/31 18:09:37 wiz Exp $
# $NetBSD: Makefile,v 1.48 2021/04/08 21:08:40 adam Exp $
DISTNAME= cairomm-1.12.2
PKGREVISION= 6
DISTNAME= cairomm-1.14.2
CATEGORIES= graphics
MASTER_SITES= http://cairographics.org/releases/
MASTER_SITES= https://cairographics.org/releases/
EXTRACT_SUFX= .tar.xz
MAINTAINER= adam@NetBSD.org
HOMEPAGE= https://cairographics.org/cairomm/
@ -11,14 +11,8 @@ COMMENT= C++ API for cairo
LICENSE= gnu-lgpl-v2
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake perl pkg-config
GNU_CONFIGURE= yes
# long file name, does not extract correctly with NetBSD tar(1):
# classhash__load__check__resize__trigger__size__base__inherit__graph.png
EXTRACT_USING= bsdtar
USE_TOOLS+= perl pkg-config
PKGCONFIG_OVERRIDE+= data/cairomm-1.0.pc.in
PKGCONFIG_OVERRIDE+= data/cairomm-ft-1.0.pc.in
PKGCONFIG_OVERRIDE+= data/cairomm-pdf-1.0.pc.in
@ -37,14 +31,15 @@ PLIST_VARS+= x11 quartz
.include "../../mk/bsd.prefs.mk"
BUILDLINK_ABI_DEPENDS.libsigcpp+= libsigc++>=2.5.1
.include "../../devel/libsigc++/buildlink3.mk"
BUILDLINK_API_DEPENDS.cairo+= cairo>=1.8
.include "../../devel/meson/build.mk"
.include "../../devel/mm-common/buildlink3.mk"
BUILDLINK_API_DEPENDS.cairo+= cairo>=1.12
.include "../../graphics/cairo/buildlink3.mk"
.if !empty(PKG_BUILD_OPTIONS.cairo:Mx11)
.if ${PKG_BUILD_OPTIONS.cairo:Mx11}
PLIST.x11= yes
.endif
.if !empty(PKG_BUILD_OPTIONS.cairo:Mquartz)
.if ${PKG_BUILD_OPTIONS.cairo:Mquartz}
PLIST.quartz= yes
.endif
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.15 2015/11/26 11:54:38 abs Exp $
@comment $NetBSD: PLIST,v 1.16 2021/04/08 21:08:40 adam Exp $
include/cairomm-1.0/cairomm/cairomm.h
include/cairomm-1.0/cairomm/context.h
include/cairomm-1.0/cairomm/device.h
@ -22,7 +22,9 @@ include/cairomm-1.0/cairomm/win32_font.h
include/cairomm-1.0/cairomm/win32_surface.h
include/cairomm-1.0/cairomm/xlib_surface.h
lib/cairomm-1.0/include/cairommconfig.h
lib/libcairomm-1.0.la
lib/libcairomm-1.0.so
lib/libcairomm-1.0.so.1
lib/libcairomm-1.0.so.1.4.0
lib/pkgconfig/cairomm-1.0.pc
lib/pkgconfig/cairomm-ft-1.0.pc
lib/pkgconfig/cairomm-pdf-1.0.pc
@ -34,220 +36,3 @@ ${PLIST.quartz}lib/pkgconfig/cairomm-quartz-image-1.0.pc
lib/pkgconfig/cairomm-svg-1.0.pc
${PLIST.x11}lib/pkgconfig/cairomm-xlib-1.0.pc
${PLIST.x11}lib/pkgconfig/cairomm-xlib-xrender-1.0.pc
share/devhelp/books/cairomm-1.0/cairomm-1.0.devhelp2
share/doc/cairomm-1.0/reference/cairomm-1.0.tag
share/doc/cairomm-1.0/reference/html/annotated.html
share/doc/cairomm-1.0/reference/html/arrowdown.png
share/doc/cairomm-1.0/reference/html/arrowright.png
share/doc/cairomm-1.0/reference/html/bc_s.png
share/doc/cairomm-1.0/reference/html/bdwn.png
share/doc/cairomm-1.0/reference/html/classCairo_1_1Context-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1Context.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1Device-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1Device.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1Device_1_1Lock-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1Device_1_1Lock.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1FontFace-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1FontFace.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1FontFace__inherit__graph.png
share/doc/cairomm-1.0/reference/html/classCairo_1_1FontOptions-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1FontOptions.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1FtFontFace-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1FtFontFace.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1FtFontFace__inherit__graph.png
share/doc/cairomm-1.0/reference/html/classCairo_1_1FtScaledFont-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1FtScaledFont.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1FtScaledFont__inherit__graph.png
share/doc/cairomm-1.0/reference/html/classCairo_1_1GlitzSurface-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1GlitzSurface.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1GlitzSurface__inherit__graph.png
share/doc/cairomm-1.0/reference/html/classCairo_1_1Gradient-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1Gradient.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1Gradient__inherit__graph.png
share/doc/cairomm-1.0/reference/html/classCairo_1_1ImageSurface-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1ImageSurface.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1ImageSurface__inherit__graph.png
share/doc/cairomm-1.0/reference/html/classCairo_1_1LinearGradient-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1LinearGradient.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1LinearGradient__inherit__graph.png
share/doc/cairomm-1.0/reference/html/classCairo_1_1Matrix-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1Matrix.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1Matrix__inherit__graph.png
share/doc/cairomm-1.0/reference/html/classCairo_1_1Path-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1Path.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1Pattern-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1Pattern.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1Pattern__inherit__graph.png
share/doc/cairomm-1.0/reference/html/classCairo_1_1PdfSurface-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1PdfSurface.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1PdfSurface__inherit__graph.png
share/doc/cairomm-1.0/reference/html/classCairo_1_1PsSurface-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1PsSurface.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1PsSurface__inherit__graph.png
share/doc/cairomm-1.0/reference/html/classCairo_1_1QuartzFontFace-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1QuartzFontFace.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1QuartzFontFace__inherit__graph.png
share/doc/cairomm-1.0/reference/html/classCairo_1_1QuartzSurface-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1QuartzSurface.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1QuartzSurface__inherit__graph.png
share/doc/cairomm-1.0/reference/html/classCairo_1_1RadialGradient-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1RadialGradient.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1RadialGradient__inherit__graph.png
share/doc/cairomm-1.0/reference/html/classCairo_1_1RefPtr-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1RefPtr.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1RefPtr__inherit__graph.png
share/doc/cairomm-1.0/reference/html/classCairo_1_1Region-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1Region.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1ScaledFont-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1ScaledFont.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1ScaledFont__inherit__graph.png
share/doc/cairomm-1.0/reference/html/classCairo_1_1SolidPattern-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1SolidPattern.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1SolidPattern__inherit__graph.png
share/doc/cairomm-1.0/reference/html/classCairo_1_1Surface-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1Surface.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1SurfacePattern-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1SurfacePattern.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1SurfacePattern__inherit__graph.png
share/doc/cairomm-1.0/reference/html/classCairo_1_1Surface__inherit__graph.png
share/doc/cairomm-1.0/reference/html/classCairo_1_1SvgSurface-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1SvgSurface.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1SvgSurface__inherit__graph.png
share/doc/cairomm-1.0/reference/html/classCairo_1_1ToyFontFace-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1ToyFontFace.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1ToyFontFace__inherit__graph.png
share/doc/cairomm-1.0/reference/html/classCairo_1_1UserFontFace-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1UserFontFace.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1UserFontFace__inherit__graph.png
share/doc/cairomm-1.0/reference/html/classCairo_1_1Win32FontFace-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1Win32FontFace.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1Win32FontFace__inherit__graph.png
share/doc/cairomm-1.0/reference/html/classCairo_1_1Win32PrintingSurface-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1Win32PrintingSurface.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1Win32PrintingSurface__inherit__graph.png
share/doc/cairomm-1.0/reference/html/classCairo_1_1Win32ScaledFont-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1Win32ScaledFont.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1Win32ScaledFont__inherit__graph.png
share/doc/cairomm-1.0/reference/html/classCairo_1_1Win32Surface-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1Win32Surface.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1Win32Surface__inherit__graph.png
share/doc/cairomm-1.0/reference/html/classCairo_1_1XlibSurface-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1XlibSurface.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1XlibSurface__inherit__graph.png
share/doc/cairomm-1.0/reference/html/classCairo_1_1logic__error-members.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1logic__error.html
share/doc/cairomm-1.0/reference/html/classCairo_1_1logic__error__inherit__graph.png
share/doc/cairomm-1.0/reference/html/classcairo__matrix__t.html
share/doc/cairomm-1.0/reference/html/classcairo__matrix__t__inherit__graph.png
share/doc/cairomm-1.0/reference/html/classes.html
share/doc/cairomm-1.0/reference/html/classhash__load__check__resize__trigger__size__base.html
share/doc/cairomm-1.0/reference/html/classhash__load__check__resize__trigger__size__base__inherit__graph.png
share/doc/cairomm-1.0/reference/html/classlu__counter__policy__base.html
share/doc/cairomm-1.0/reference/html/classlu__counter__policy__base__inherit__graph.png
share/doc/cairomm-1.0/reference/html/closed.png
share/doc/cairomm-1.0/reference/html/deprecated.html
share/doc/cairomm-1.0/reference/html/dir_bb3f961a6e48ec963ccb871d16b6e3d7.html
share/doc/cairomm-1.0/reference/html/doc.png
share/doc/cairomm-1.0/reference/html/doxygen.css
share/doc/cairomm-1.0/reference/html/doxygen.png
share/doc/cairomm-1.0/reference/html/dynsections.js
share/doc/cairomm-1.0/reference/html/examples.html
share/doc/cairomm-1.0/reference/html/folderclosed.png
share/doc/cairomm-1.0/reference/html/folderopen.png
share/doc/cairomm-1.0/reference/html/functions.html
share/doc/cairomm-1.0/reference/html/functions_b.html
share/doc/cairomm-1.0/reference/html/functions_c.html
share/doc/cairomm-1.0/reference/html/functions_d.html
share/doc/cairomm-1.0/reference/html/functions_e.html
share/doc/cairomm-1.0/reference/html/functions_f.html
share/doc/cairomm-1.0/reference/html/functions_func.html
share/doc/cairomm-1.0/reference/html/functions_func_b.html
share/doc/cairomm-1.0/reference/html/functions_func_c.html
share/doc/cairomm-1.0/reference/html/functions_func_d.html
share/doc/cairomm-1.0/reference/html/functions_func_e.html
share/doc/cairomm-1.0/reference/html/functions_func_f.html
share/doc/cairomm-1.0/reference/html/functions_func_g.html
share/doc/cairomm-1.0/reference/html/functions_func_h.html
share/doc/cairomm-1.0/reference/html/functions_func_i.html
share/doc/cairomm-1.0/reference/html/functions_func_l.html
share/doc/cairomm-1.0/reference/html/functions_func_m.html
share/doc/cairomm-1.0/reference/html/functions_func_o.html
share/doc/cairomm-1.0/reference/html/functions_func_p.html
share/doc/cairomm-1.0/reference/html/functions_func_q.html
share/doc/cairomm-1.0/reference/html/functions_func_r.html
share/doc/cairomm-1.0/reference/html/functions_func_s.html
share/doc/cairomm-1.0/reference/html/functions_func_t.html
share/doc/cairomm-1.0/reference/html/functions_func_u.html
share/doc/cairomm-1.0/reference/html/functions_func_v.html
share/doc/cairomm-1.0/reference/html/functions_func_w.html
share/doc/cairomm-1.0/reference/html/functions_func_x.html
share/doc/cairomm-1.0/reference/html/functions_func_~.html
share/doc/cairomm-1.0/reference/html/functions_g.html
share/doc/cairomm-1.0/reference/html/functions_h.html
share/doc/cairomm-1.0/reference/html/functions_i.html
share/doc/cairomm-1.0/reference/html/functions_l.html
share/doc/cairomm-1.0/reference/html/functions_m.html
share/doc/cairomm-1.0/reference/html/functions_o.html
share/doc/cairomm-1.0/reference/html/functions_p.html
share/doc/cairomm-1.0/reference/html/functions_q.html
share/doc/cairomm-1.0/reference/html/functions_r.html
share/doc/cairomm-1.0/reference/html/functions_s.html
share/doc/cairomm-1.0/reference/html/functions_t.html
share/doc/cairomm-1.0/reference/html/functions_type.html
share/doc/cairomm-1.0/reference/html/functions_u.html
share/doc/cairomm-1.0/reference/html/functions_v.html
share/doc/cairomm-1.0/reference/html/functions_vars.html
share/doc/cairomm-1.0/reference/html/functions_w.html
share/doc/cairomm-1.0/reference/html/functions_x.html
share/doc/cairomm-1.0/reference/html/functions_~.html
share/doc/cairomm-1.0/reference/html/graph_legend.html
share/doc/cairomm-1.0/reference/html/graph_legend.png
share/doc/cairomm-1.0/reference/html/hierarchy.html
share/doc/cairomm-1.0/reference/html/image-surface_8cc-example.html
share/doc/cairomm-1.0/reference/html/index.html
share/doc/cairomm-1.0/reference/html/inherit_graph_0.png
share/doc/cairomm-1.0/reference/html/inherit_graph_1.png
share/doc/cairomm-1.0/reference/html/inherit_graph_10.png
share/doc/cairomm-1.0/reference/html/inherit_graph_11.png
share/doc/cairomm-1.0/reference/html/inherit_graph_12.png
share/doc/cairomm-1.0/reference/html/inherit_graph_13.png
share/doc/cairomm-1.0/reference/html/inherit_graph_14.png
share/doc/cairomm-1.0/reference/html/inherit_graph_15.png
share/doc/cairomm-1.0/reference/html/inherit_graph_16.png
share/doc/cairomm-1.0/reference/html/inherit_graph_2.png
share/doc/cairomm-1.0/reference/html/inherit_graph_3.png
share/doc/cairomm-1.0/reference/html/inherit_graph_4.png
share/doc/cairomm-1.0/reference/html/inherit_graph_5.png
share/doc/cairomm-1.0/reference/html/inherit_graph_6.png
share/doc/cairomm-1.0/reference/html/inherit_graph_7.png
share/doc/cairomm-1.0/reference/html/inherit_graph_8.png
share/doc/cairomm-1.0/reference/html/inherit_graph_9.png
share/doc/cairomm-1.0/reference/html/inherits.html
share/doc/cairomm-1.0/reference/html/jquery.js
share/doc/cairomm-1.0/reference/html/namespaceCairo.html
share/doc/cairomm-1.0/reference/html/namespacemembers.html
share/doc/cairomm-1.0/reference/html/namespacemembers_enum.html
share/doc/cairomm-1.0/reference/html/namespacemembers_eval.html
share/doc/cairomm-1.0/reference/html/namespacemembers_func.html
share/doc/cairomm-1.0/reference/html/namespacemembers_type.html
share/doc/cairomm-1.0/reference/html/namespaces.html
share/doc/cairomm-1.0/reference/html/nav_f.png
share/doc/cairomm-1.0/reference/html/nav_g.png
share/doc/cairomm-1.0/reference/html/nav_h.png
share/doc/cairomm-1.0/reference/html/open.png
share/doc/cairomm-1.0/reference/html/pages.html
share/doc/cairomm-1.0/reference/html/pdf-surface_8cc-example.html
share/doc/cairomm-1.0/reference/html/ps-surface_8cc-example.html
share/doc/cairomm-1.0/reference/html/splitbar.png
share/doc/cairomm-1.0/reference/html/structCairo_1_1ColorStop-members.html
share/doc/cairomm-1.0/reference/html/structCairo_1_1ColorStop.html
share/doc/cairomm-1.0/reference/html/svg-surface_8cc-example.html
share/doc/cairomm-1.0/reference/html/sync_off.png
share/doc/cairomm-1.0/reference/html/sync_on.png
share/doc/cairomm-1.0/reference/html/tab_a.png
share/doc/cairomm-1.0/reference/html/tab_b.png
share/doc/cairomm-1.0/reference/html/tab_h.png
share/doc/cairomm-1.0/reference/html/tab_s.png
share/doc/cairomm-1.0/reference/html/tabs.css
share/doc/cairomm-1.0/reference/html/toy-text_8cc-example.html
share/doc/cairomm-1.0/reference/html/user-font_8cc-example.html

View file

@ -1,4 +1,4 @@
# $NetBSD: buildlink3.mk,v 1.18 2020/08/17 20:17:27 leot Exp $
# $NetBSD: buildlink3.mk,v 1.19 2021/04/08 21:08:40 adam Exp $
BUILDLINK_TREE+= cairomm
@ -9,6 +9,7 @@ BUILDLINK_API_DEPENDS.cairomm+= cairomm>=1.2.2
BUILDLINK_ABI_DEPENDS.cairomm+= cairomm>=1.12.2nb5
BUILDLINK_PKGSRCDIR.cairomm?= ../../graphics/cairomm
.include "../../devel/libsigc++/buildlink3.mk"
.include "../../graphics/cairo/buildlink3.mk"
.endif # CAIROMM_BUILDLINK3_MK

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.15 2016/11/28 15:34:09 wiz Exp $
$NetBSD: distinfo,v 1.16 2021/04/08 21:08:40 adam Exp $
SHA1 (cairomm-1.12.2.tar.gz) = 621546f32221a2ddc079167a13ce5b5409bed704
RMD160 (cairomm-1.12.2.tar.gz) = 112e58d903f168232b6a2673802b83ce687eb46c
SHA512 (cairomm-1.12.2.tar.gz) = df2749e3865dfddf04c40b671453e057e7e76c5052bfc38d5b986c544b7ec43de40b1ef5b4d0e34f58781230d4b220c4176ddef773cd6a316c73641c4aec77c0
Size (cairomm-1.12.2.tar.gz) = 1325223 bytes
SHA1 (cairomm-1.14.2.tar.xz) = 8c823f5294724d8c96704786f947cd19b9dfd761
RMD160 (cairomm-1.14.2.tar.xz) = 04eae2f7f805d9f3ed72953ccd16999df9bc206a
SHA512 (cairomm-1.14.2.tar.xz) = aef374fca25ad22770407e36512046b266d71ebeccd47fb629cfbf2f67783aa314bb335b972088a88d98417a4774d6f144cd2769c452f8aa23770eae08dca592
Size (cairomm-1.14.2.tar.xz) = 603804 bytes