pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/cairomm1.16 graphics/cairomm1.16: import cair...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f6aaab0f1ef5
branches:  trunk
changeset: 453602:f6aaab0f1ef5
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon May 31 22:27:49 2021 +0000

description:
graphics/cairomm1.16: import cairomm1.16-1.16.0

cairomm is a C++ wrapper for the cairo graphics library. It offers all the
power of cairo with an interface familiar to C++ developers, including use of
the Standard Template Library where it makes sense.

This package follows the 1.16 API.

Changes compared to cairomm:

1.16.0 (stable):

This is the first stable release in the cairomm-1.16 ABI series.
It is parallel-installable with the cairomm-1.0 ABI.

The tarball for 1.16.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()
  (Kjell Ahlstedt) Issue #5 (Ian Britten)
* Fix a memory leak in RefPtr
  (Kjell Ahlstedt) Issue #23

Build:
* Require C++17
  (Ting-Wei Lan) Bug #106172
* Add NMake Makefiles
  Remove the Visual Studio projects
  (Chun-wei Fan) Issue #7, #22 merge request !7, !8, !10, !13
* Add support for building with Meson
  (Kjell Ahlstedt, Chun-wei Fan) Issue #20, merge request !8
* Use __declspec(dllexport) when building cairomm on Visual Studio
  Stop using gendef.exe
  (Chun-wei Fan) Merge request !5
* docs/reference/: Update for Doxygen >= 1.8.16
  (Kjell Ahlstedt)

Tests:
* Update the source code
  (Kjell Ahlstedt, Chun-wei Fan) Merge request !1
* Don't include deprecated Boost header files
  Fix tests in Autotools builds
  (Kjell Ahlstedt)

Documentation:
* README: Update with instructions for building cairomm
  (Kjell Ahlstedt)


1.15.5 (unstable)
(Distros should probably not package this yet.)

* enums.h: Guard the FT-specific include and the enum with an ifdef.
  (John Ralls) Bug #100894.
* Build: configure.ac: Require C++14, because libsigc++-3.0 does.
  (John Ralls) Bug #100884

1.15.4 (unstable):
(Distros should probably not package this yet.)

* Use C++11 enum classes instead of old-style enums, and put some enums
  inside relevant class declarations:
  - Change Cairo::RegionOverlap enum to Cairo::Region::Overlap.
  - Change Cairo::PatternType enum to Cairo::Pattern::Type.
  - Change Cairo::FontWeight enum to Cairo::ToyFontFace::Weight.
  - Change Cairo::FontSlant enum to Cairo::ToyFontFace::Slant.
  - Change Cairo::SurfaceType enum to Cairo::Surface::Type.
  - Change Cairo::HintMetrics enum to Cairo::FontOptions::HintMetrics.
  - Change Cairo::HintStyle enum to Cairo::FontOptions::HintStyle.
  - Change Cairo::Filter enum to Cairo::SurfacePattern::Filter.
  - Change Cairo::Extend enum to Cairo::Pattern::Extend.
  - Change Cairo::Format enum to Cairo::Surface::Format.
  - Change Cairo::DeviceType enum to Cairo::Device::DeviceType.
  - Change Cairo::LineJoin enum to Cairo::Context::LineJoin.
  - Change Cairo::LineCap enum to Cairo::Context::LineCap.
  - Change Cairo::FillRule enum to Cairo::Context::FillRule.
  - Change Cairo::Operator enum to Cairo::Context::Operator.
  (Murray Cumming)
* Build: Win32 / Visual Studio builds:
  - Require Visual Studio 2017
  - Remove leftovers from removing deprecated Win32::create()
  (Chun-wei Fan) Bug #100210

1.15.3 (unstable):
(Distros should probably not package this yet.)

* RefPtr: This is now an alias for std::shared_ptr<>.
  These should be instatiated via
  Cairo::make_refptr_for_instance(), though that should
  never be necessary anyway outside of the cairomm
  implementation itself.

1.15.2 (unstable):
(Distros should probably not package this yet.)

* Remove deprecated API.
  (Murray Cumming)

1.15.1 (unstable):

* First release of the cairomm-1.16 API/ABI that installs
  in parallel with cairomm-1.0.
  This uses libsigc++-3.0 instead of libsigc++-2.0.

diffstat:

 graphics/cairomm1.16/DESCR         |   5 ++++
 graphics/cairomm1.16/Makefile      |  44 ++++++++++++++++++++++++++++++++++++++
 graphics/cairomm1.16/PLIST         |  38 ++++++++++++++++++++++++++++++++
 graphics/cairomm1.16/buildlink3.mk |  15 ++++++++++++
 graphics/cairomm1.16/distinfo      |   6 +++++
 5 files changed, 108 insertions(+), 0 deletions(-)

diffs (128 lines):

diff -r 1bf6fc72aa93 -r f6aaab0f1ef5 graphics/cairomm1.16/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/cairomm1.16/DESCR        Mon May 31 22:27:49 2021 +0000
@@ -0,0 +1,5 @@
+cairomm is a C++ wrapper for the cairo graphics library. It offers all the
+power of cairo with an interface familiar to C++ developers, including use of
+the Standard Template Library where it makes sense.
+
+This package follows the 1.16 API.
diff -r 1bf6fc72aa93 -r f6aaab0f1ef5 graphics/cairomm1.16/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/cairomm1.16/Makefile     Mon May 31 22:27:49 2021 +0000
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1 2021/05/31 22:27:49 wiz Exp $
+
+DISTNAME=      cairomm-1.16.0
+PKGNAME=       ${DISTNAME:S/cairomm/cairomm1.16/}
+CATEGORIES=    graphics
+MASTER_SITES=  https://cairographics.org/releases/
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    adam%NetBSD.org@localhost
+HOMEPAGE=      https://cairographics.org/cairomm/
+COMMENT=       C++ API for cairo (1.16 API)
+LICENSE=       gnu-lgpl-v2
+
+USE_LANGUAGES=         c c++
+USE_TOOLS+=            perl pkg-config
+# TODO: update
+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
+PKGCONFIG_OVERRIDE+=   data/cairomm-png-1.0.pc.in
+PKGCONFIG_OVERRIDE+=   data/cairomm-ps-1.0.pc.in
+PKGCONFIG_OVERRIDE+=   data/cairomm-quartz-1.0.pc.in
+PKGCONFIG_OVERRIDE+=   data/cairomm-quartz-font-1.0.pc.in
+PKGCONFIG_OVERRIDE+=   data/cairomm-quartz-image-1.0.pc.in
+PKGCONFIG_OVERRIDE+=   data/cairomm-svg-1.0.pc.in
+PKGCONFIG_OVERRIDE+=   data/cairomm-win32-1.0.pc.in
+PKGCONFIG_OVERRIDE+=   data/cairomm-win32-font-1.0.pc.in
+PKGCONFIG_OVERRIDE+=   data/cairomm-xlib-1.0.pc.in
+PKGCONFIG_OVERRIDE+=   data/cairomm-xlib-xrender-1.0.pc.in
+
+PLIST_VARS+=   x11 quartz
+
+.include "../../devel/libsigc++3/buildlink3.mk"
+.include "../../devel/meson/build.mk"
+.include "../../devel/mm-common/buildlink3.mk"
+BUILDLINK_API_DEPENDS.cairo+=  cairo>=1.12
+.include "../../graphics/cairo/buildlink3.mk"
+.if ${PKG_BUILD_OPTIONS.cairo:Mx11}
+PLIST.x11=     yes
+.endif
+.if ${PKG_BUILD_OPTIONS.cairo:Mquartz}
+PLIST.quartz=  yes
+.endif
+.include "../../mk/bsd.pkg.mk"
diff -r 1bf6fc72aa93 -r f6aaab0f1ef5 graphics/cairomm1.16/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/cairomm1.16/PLIST        Mon May 31 22:27:49 2021 +0000
@@ -0,0 +1,38 @@
+@comment $NetBSD: PLIST,v 1.1 2021/05/31 22:27:49 wiz Exp $
+include/cairomm-1.16/cairomm/cairomm.h
+include/cairomm-1.16/cairomm/context.h
+include/cairomm-1.16/cairomm/device.h
+include/cairomm-1.16/cairomm/enums.h
+include/cairomm-1.16/cairomm/exception.h
+include/cairomm-1.16/cairomm/fontface.h
+include/cairomm-1.16/cairomm/fontoptions.h
+include/cairomm-1.16/cairomm/matrix.h
+include/cairomm-1.16/cairomm/path.h
+include/cairomm-1.16/cairomm/pattern.h
+include/cairomm-1.16/cairomm/quartz_font.h
+include/cairomm-1.16/cairomm/quartz_surface.h
+include/cairomm-1.16/cairomm/refptr.h
+include/cairomm-1.16/cairomm/region.h
+include/cairomm-1.16/cairomm/scaledfont.h
+include/cairomm-1.16/cairomm/script.h
+include/cairomm-1.16/cairomm/script_surface.h
+include/cairomm-1.16/cairomm/surface.h
+include/cairomm-1.16/cairomm/types.h
+include/cairomm-1.16/cairomm/win32_font.h
+include/cairomm-1.16/cairomm/win32_surface.h
+include/cairomm-1.16/cairomm/xlib_surface.h
+lib/cairomm-1.16/include/cairommconfig.h
+lib/libcairomm-1.16.so
+lib/libcairomm-1.16.so.1
+lib/libcairomm-1.16.so.1.4.0
+lib/pkgconfig/cairomm-1.16.pc
+lib/pkgconfig/cairomm-ft-1.16.pc
+lib/pkgconfig/cairomm-pdf-1.16.pc
+lib/pkgconfig/cairomm-png-1.16.pc
+lib/pkgconfig/cairomm-ps-1.16.pc
+${PLIST.quartz}lib/pkgconfig/cairomm-quartz-1.16.pc
+${PLIST.quartz}lib/pkgconfig/cairomm-quartz-font-1.16.pc
+${PLIST.quartz}lib/pkgconfig/cairomm-quartz-image-1.16.pc
+lib/pkgconfig/cairomm-svg-1.16.pc
+${PLIST.x11}lib/pkgconfig/cairomm-xlib-1.16.pc
+${PLIST.x11}lib/pkgconfig/cairomm-xlib-xrender-1.16.pc
diff -r 1bf6fc72aa93 -r f6aaab0f1ef5 graphics/cairomm1.16/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/cairomm1.16/buildlink3.mk        Mon May 31 22:27:49 2021 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/05/31 22:27:49 wiz Exp $
+
+BUILDLINK_TREE+=       cairomm1.16
+
+.if !defined(CAIROMM1.16_BUILDLINK3_MK)
+CAIROMM1.16_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.cairomm1.16+=    cairomm1.16>=1.16.0
+BUILDLINK_PKGSRCDIR.cairomm1.16?=      ../../graphics/cairomm1.16
+
+.include "../../devel/libsigc++3/buildlink3.mk"
+.include "../../graphics/cairo/buildlink3.mk"
+.endif # CAIROMM1.16_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -cairomm1.16
diff -r 1bf6fc72aa93 -r f6aaab0f1ef5 graphics/cairomm1.16/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/cairomm1.16/distinfo     Mon May 31 22:27:49 2021 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/05/31 22:27:49 wiz Exp $
+
+SHA1 (cairomm-1.16.0.tar.xz) = b91da5ec5e9ebfd2bc0ea98ff3e21d8f70f8508e
+RMD160 (cairomm-1.16.0.tar.xz) = 50f65c8f628d9d001fd140bdf16683d556d4ca39
+SHA512 (cairomm-1.16.0.tar.xz) = 51929620feeac45377da5d486ea7a091bbd10ad8376fb16525328947b9e6ee740cdc8e8bd190a247b457cc9fec685a829c81de29b26cabaf95383ef04cce80d3
+Size (cairomm-1.16.0.tar.xz) = 579604 bytes



Home | Main Index | Thread Index | Old Index