[EMAIL PROTECTED] wrote:
>
> Revision
>     41253 <http://trac.macports.org/changeset/41253>
> Author
>     [EMAIL PROTECTED]
> Date
>     2008-10-29 04:50:17 -0700 (Wed, 29 Oct 2008)
>
>
>       Log Message
>
> cairomm: update to 1.7.0. Also remove dependencies apart from cairo, since
> the rest will be pulled in via cairo, and will vary depending on how cairo is
> built.
>
>
>       Modified Paths
>
>     * trunk/dports/graphics/cairomm/Portfile
>       <#trunkdportsgraphicscairommPortfile>
>
>
>       Diff
>
>
>         Modified: trunk/dports/graphics/cairomm/Portfile (41252 => 41253)
>
>
> --- trunk/dports/graphics/cairomm/Portfile    2008-10-29 11:19:52 UTC (rev 
> 41252)
> +++ trunk/dports/graphics/cairomm/Portfile    2008-10-29 11:50:17 UTC (rev 
> 41253)
> @@ -3,7 +3,7 @@
>  PortSystem 1.0
>  
>  name         cairomm
> -version              1.6.4
> +version              1.7.0
>  categories   graphics
>  maintainers  nomaintainer
>  description  Cairo is a vector graphics library with cross-device output 
> support.
> @@ -15,12 +15,11 @@
>  master_sites         ${homepage}releases/
>  platforms    darwin
>  
> -checksums    md5 63561c62536173a98f03005dfe55c90e \
> -             sha1 61f1a1adcd3f147da89faf3311842e4f68763db4 \
> -             rmd160 95ba7bf4a2c8ff706eaceef2a31aaa19375fbf6c
> +checksums    md5 8c67b8abd49960b6b0f42ad28d19fd55 \
> +             sha1 6d19e71717abf559ffb868423669ba23860fc94b \
> +             rmd160 32976a31a7922f241a7700aef48b9d136555f32c
>  
> -depends_lib  port:xrender port:fontconfig port:freetype port:libpng \
> -             port:render port:zlib port:expat port:cairo
> +depends_lib  port:cairo
>  
>  livecheck.check regex
>  livecheck.url   http://cairographics.org/releases/
> ------------------------------------------------------------------------
I really don't think this is a good idea as 1.7.0 is an unstable release
that is known to break parts of the
previous API/ABI and therefore probably a lot of ports that depend on it.

See the announcement attached.

Dave

--- Begin Message ---
**********************
NOTE: This is an UNSTABLE release and contains MANY changes, including 
some API changes (in addition to the normal API additions and bugfixes). 
   I have provided justifications for the API changes below, so please 
read through them carefully and provide feedback if you disagree with 
any of them.  If you'd like to view the API documentation online as you 
read through the list of changes below, you can do so at 
http://www.cairographics.org/documentation/cairomm/reference/
**********************

cairomm is a C++ API for the cairo graphics library.  For more
information, see http://cairographics.org/cairomm

A new cairomm release 1.7.0 is now available from:

        http://cairographics.org/releases/cairomm-1.7.0.tar.gz

     which can be verified with:

        http://cairographics.org/releases/cairomm-1.7.0.tar.gz.sha1
        6d19e71717abf559ffb868423669ba23860fc94b  cairomm-1.7.0.tar.gz

        http://cairographics.org/releases/cairomm-1.7.0.tar.gz.sha1.asc
        (signed by Jonathon Jongsma)

WHAT'S NEW
==========

  * API Changes
    * ScaledFont: Change fontface constructor parameter to be a RefPtr
      * This is an API/ABI 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

-- 
jonner
_______________________________________________
cairo-announce mailing list
[EMAIL PROTECTED]
http://lists.cairographics.org/mailman/listinfo/cairo-announce
_______________________________________________
cairo mailing list
[EMAIL PROTECTED]
http://lists.cairographics.org/mailman/listinfo/cairo



--- End Message ---
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to