Sat Feb 21 16:23:03 2009 UTC ()
Update to 1.8.0:

1.8.0:

* No notable changes since 1.7.2

1.7.2 (UNSTABLE):

* API Changes (all API changes are in unstable API introduced in 1.7.x)
  * UserFontFace is not implemented with virtual functions rather than by
    registering callbacks
  * Cairo::scaled_matrix() -> Cairo::scaling_matrix() to match other matrix
    convenience functions
* Bugfixes
  * Incorrect refcounting on ScaledFont
  * build fixes for Mac OSX
* Contributors for this release:
     1	Armin Burgmeier
     1	Dave Evans
    22	Jonathon Jongsma

1.7.0 (UNSTABLE):

 * API Changes
   * ScaledFont: Change fontface constructor parameter to be a RefPtr
     * This is an API break, but the old interface was essentially unusably
       broken
   * Cairo::Matrix now inherits from cairo_matrix_t
     * Previously, we had used Cairo::Matrix throughout our API, but
       Cairo::Matrix was just a typedef for cairo_matrix_t
     * This could be considered an API change, but the new Cairo::Matrix still
       is-a cairo_matrix_t even if it's not exactly a cairo_matrix_t.  This
       change does not break ABI either, as there are no data members or virtual
       functions.  So I believe this is a safe change, but feedback is appreciated.
     * Provides a much more C++-friendly API for handling matrices
     * Also added a set of standalone 'generator' functions for generating
       starting matrices:
       * Cairo::identity_matrix(), rotation_matrix(), translation_matrix(),
         scaled_matrix().  This allows for convenient use such as:
           cr->set_matrix(Cairo::identity_matrix());
         rather than something like what was required before:
           Cairo::Matrix identity_matrix;
           cairo_matrix_init_identity(&identity_matrix);
           cr->set_matrix(identity_matrix);
   * Pattern: get/set_matrix() functions were using a cairo_matrix_t parameter in
     the API.  This is the only place where we used this type and so it was
     inconsistent with every other matrix-related API in cairomm.  Previously
     this wasn't really an issue since cairo_matrix_t and Cairo::Matrix were
     typedefed to the same type.  However, with the the change to Cairo::Matrix
     mentioned above, this because a much bigger issue.
     * This is an ABI-compatible change, but it is a minor API change that could
       result in some warnings or compile problems in some situations`
 * New API (some of these are new in cairo 1.8, some are older API that were
   not wrapped in cairomm previously)
   * Add Context::get/set_scaled_font()
   * add Context::show_text_glyphs()
   * add Context::get_font_options()
   * Add Surface::has_show_text_glyphs()
   * Add Surface::get_content() + test
   * Added Surface::get_fallback_resolution()
   * Add ScaledFont::text_to_glyphs()
   * Add PsSurface::get_eps()
   * Add missing Win32Surface API: create_with_ddb(), create_with_dib(), and get_image()
   * Add Win32PrintingSurface
   * Vastly improved font support
     * ToyFontFace
     * UserFontFace
     * Add Freetype font support (FtFontFace, etc)
     * Add win32 font support (Win32FontFace, etc)
     * Add quartz font support (QuartzFontFace, etc)
     * Add ScaledFont::get_scale_matrix()
 * Fix API inconsistencies by adding overloads and deprecating old versions
   * Deprecated FontFace::extents() in favor of FontFace::get_extents()
   * Deprecated FontFace::text_extents() in favor of FontFace::get_text_extents()
   * Deprecated FontFace::glyph_extents() in favor of FontFace::get_glyph_extents()
   * Add sigc::slot versions of all of the functions that take a
     cairo_write_func_t or cairo_read_func_t
     * This adds a new dependency on libsigc++, but offers a much more flexible
       and C++-like solution
     * Old API using cairo_write_func_t / cairo_read_func_t still exist, but are
       deprecated in favor of the new API
   * Add a default value for the font_options parameter of the ScaledFont constructor
 * Added new macros for determining library version:
   * CAIROMM_MAJOR_VERSION, CAIROMM_MINOR_VERSION, and CAIROMM_MICRO_VERSION
 * Add a bunch of extra .pc files for additional functionality
   * like cairo, create convenience .pc files for using some of the optional
     features.  For example, cairomm-ft-1.0, cairomm-pdf-1.0, cairomm-xlib-1.0, etc.
 * Numerous windows build improvements
 * Added a *lot* of automated tests


(wiz)
diff -r1.8 -r1.9 pkgsrc/graphics/cairomm/Makefile
diff -r1.3 -r1.4 pkgsrc/graphics/cairomm/PLIST
diff -r1.6 -r1.7 pkgsrc/graphics/cairomm/distinfo

cvs diff -r1.8 -r1.9 pkgsrc/graphics/cairomm/Makefile (expand / switch to unified diff)

--- pkgsrc/graphics/cairomm/Makefile 2008/09/11 13:29:58 1.8
+++ pkgsrc/graphics/cairomm/Makefile 2009/02/21 16:23:02 1.9
@@ -1,23 +1,24 @@ @@ -1,23 +1,24 @@
1# $NetBSD: Makefile,v 1.8 2008/09/11 13:29:58 adam Exp $ 1# $NetBSD: Makefile,v 1.9 2009/02/21 16:23:02 wiz Exp $
2 2
3DISTNAME= cairomm-1.6.4 3DISTNAME= cairomm-1.8.0
4CATEGORIES= graphics 4CATEGORIES= graphics
5MASTER_SITES= http://cairographics.org/releases/ 5MASTER_SITES= http://cairographics.org/releases/
6 6
7MAINTAINER= adam@NetBSD.org 7MAINTAINER= adam@NetBSD.org
8HOMEPAGE= http://cairographics.org/cairomm/ 8HOMEPAGE= http://cairographics.org/cairomm/
9COMMENT= C++ API for cairo 9COMMENT= C++ API for cairo
10 10
11PKG_DESTDIR_SUPPORT= user-destdir 11PKG_DESTDIR_SUPPORT= user-destdir
12 12
13USE_LANGUAGES= c c++ 13USE_LANGUAGES= c c++
14USE_LIBTOOL= yes 14USE_LIBTOOL= yes
15USE_PKGLOCALEDIR= yes 15USE_PKGLOCALEDIR= yes
16USE_TOOLS+= pkg-config 16USE_TOOLS+= pkg-config
17GNU_CONFIGURE= yes 17GNU_CONFIGURE= yes
18CONFIGURE_ARGS+= --disable-docs 18CONFIGURE_ARGS+= --disable-docs
19PKGCONFIG_OVERRIDE+= cairomm-1.0.pc.in 19PKGCONFIG_OVERRIDE+= cairomm-1.0.pc.in
20 20
21BUILDLINK_API_DEPENDS.cairo+= cairo>=1.4 21.include "../../devel/libsigc++/buildlink3.mk"
 22BUILDLINK_API_DEPENDS.cairo+= cairo>=1.8
22.include "../../graphics/cairo/buildlink3.mk" 23.include "../../graphics/cairo/buildlink3.mk"
23.include "../../mk/bsd.pkg.mk" 24.include "../../mk/bsd.pkg.mk"

cvs diff -r1.3 -r1.4 pkgsrc/graphics/cairomm/PLIST (expand / switch to unified diff)

--- pkgsrc/graphics/cairomm/PLIST 2008/04/21 15:00:18 1.3
+++ pkgsrc/graphics/cairomm/PLIST 2009/02/21 16:23:02 1.4
@@ -1,18 +1,31 @@ @@ -1,18 +1,31 @@
1@comment $NetBSD: PLIST,v 1.3 2008/04/21 15:00:18 adam Exp $ 1@comment $NetBSD: PLIST,v 1.4 2009/02/21 16:23:02 wiz Exp $
2include/cairomm-1.0/cairomm/cairomm.h 2include/cairomm-1.0/cairomm/cairomm.h
3include/cairomm-1.0/cairomm/cairommconfig.h 3include/cairomm-1.0/cairomm/cairommconfig.h
4include/cairomm-1.0/cairomm/context.h 4include/cairomm-1.0/cairomm/context.h
5include/cairomm-1.0/cairomm/enums.h 5include/cairomm-1.0/cairomm/enums.h
6include/cairomm-1.0/cairomm/exception.h 6include/cairomm-1.0/cairomm/exception.h
7include/cairomm-1.0/cairomm/fontface.h 7include/cairomm-1.0/cairomm/fontface.h
8include/cairomm-1.0/cairomm/fontoptions.h 8include/cairomm-1.0/cairomm/fontoptions.h
 9include/cairomm-1.0/cairomm/matrix.h
9include/cairomm-1.0/cairomm/path.h 10include/cairomm-1.0/cairomm/path.h
10include/cairomm-1.0/cairomm/pattern.h 11include/cairomm-1.0/cairomm/pattern.h
 12include/cairomm-1.0/cairomm/quartz_font.h
11include/cairomm-1.0/cairomm/quartz_surface.h 13include/cairomm-1.0/cairomm/quartz_surface.h
12include/cairomm-1.0/cairomm/refptr.h 14include/cairomm-1.0/cairomm/refptr.h
13include/cairomm-1.0/cairomm/scaledfont.h 15include/cairomm-1.0/cairomm/scaledfont.h
14include/cairomm-1.0/cairomm/surface.h 16include/cairomm-1.0/cairomm/surface.h
 17include/cairomm-1.0/cairomm/types.h
 18include/cairomm-1.0/cairomm/win32_font.h
15include/cairomm-1.0/cairomm/win32_surface.h 19include/cairomm-1.0/cairomm/win32_surface.h
16include/cairomm-1.0/cairomm/xlib_surface.h 20include/cairomm-1.0/cairomm/xlib_surface.h
17lib/libcairomm-1.0.la 21lib/libcairomm-1.0.la
18lib/pkgconfig/cairomm-1.0.pc 22lib/pkgconfig/cairomm-1.0.pc
 23lib/pkgconfig/cairomm-ft-1.0.pc
 24lib/pkgconfig/cairomm-pdf-1.0.pc
 25lib/pkgconfig/cairomm-png-1.0.pc
 26lib/pkgconfig/cairomm-ps-1.0.pc
 27lib/pkgconfig/cairomm-svg-1.0.pc
 28lib/pkgconfig/cairomm-xlib-1.0.pc
 29lib/pkgconfig/cairomm-xlib-xrender-1.0.pc
 30@dirrm include/cairomm-1.0/cairomm
 31@dirrm include/cairomm-1.0

cvs diff -r1.6 -r1.7 pkgsrc/graphics/cairomm/distinfo (expand / switch to unified diff)

--- pkgsrc/graphics/cairomm/distinfo 2008/09/11 13:29:58 1.6
+++ pkgsrc/graphics/cairomm/distinfo 2009/02/21 16:23:02 1.7
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.6 2008/09/11 13:29:58 adam Exp $ 1$NetBSD: distinfo,v 1.7 2009/02/21 16:23:02 wiz Exp $
2 2
3SHA1 (cairomm-1.6.4.tar.gz) = 61f1a1adcd3f147da89faf3311842e4f68763db4 3SHA1 (cairomm-1.8.0.tar.gz) = f70cde664af825dc07467dc18e280bab646eb0ee
4RMD160 (cairomm-1.6.4.tar.gz) = 95ba7bf4a2c8ff706eaceef2a31aaa19375fbf6c 4RMD160 (cairomm-1.8.0.tar.gz) = 9b5c3da02d0a0d0d3f635429400addb37de16304
5Size (cairomm-1.6.4.tar.gz) = 666416 bytes 5Size (cairomm-1.8.0.tar.gz) = 854417 bytes