r31718 - in /branches/upstream/libpango-perl/current: ChangeLog META.yml Makefile.PL NEWS lib/Pango.pm t/PangoLayout.t xs/PangoLayout.xs
ryan52-guest at users.alioth.debian.org
ryan52-guest at users.alioth.debian.org
Sun Mar 8 21:51:58 UTC 2009
Author: ryan52-guest
Date: Sun Mar 8 21:51:55 2009
New Revision: 31718
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=31718
Log:
[svn-upgrade] Integrating new upstream version, libpango-perl (1.211)
Modified:
branches/upstream/libpango-perl/current/ChangeLog
branches/upstream/libpango-perl/current/META.yml
branches/upstream/libpango-perl/current/Makefile.PL
branches/upstream/libpango-perl/current/NEWS
branches/upstream/libpango-perl/current/lib/Pango.pm
branches/upstream/libpango-perl/current/t/PangoLayout.t
branches/upstream/libpango-perl/current/xs/PangoLayout.xs
Modified: branches/upstream/libpango-perl/current/ChangeLog
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpango-perl/current/ChangeLog?rev=31718&op=diff
==============================================================================
--- branches/upstream/libpango-perl/current/ChangeLog (original)
+++ branches/upstream/libpango-perl/current/ChangeLog Sun Mar 8 21:51:55 2009
@@ -1,3 +1,30 @@
+2009-03-08 Torsten Schoenfeld <kaffeetisch at gmx.de>
+
+ * NEWS
+ * lib/Pango.pm: Release 1.211.
+
+2009-03-08 Torsten Schoenfeld <kaffeetisch at gmx.de>
+
+ * Makefile.PL: Use Glib::MakeMaker to add a precompiled-headers
+ Makefile target that precompiles pango-perl.h.
+
+2009-01-01 Torsten Schoenfeld <kaffeetisch at gmx.de>
+
+ * t/PangoLayout.t
+ * xs/PangoLayout.xs: Allow passing undef to
+ Gtk2::Pango::Layout::set_attributes(). Patch by Emmanuel
+ Rodriguez. (RT #42079)
+
+2008-12-16 Torsten Schoenfeld <kaffeetisch at gmx.de>
+
+ * t/PangoLayout.t: Fix a skip count. Patch by Kevin Ryde.
+
+2008-11-24 Torsten Schoenfeld <kaffeetisch at gmx.de>
+
+ * t/PangoLayout.t
+ * xs/PangoLayout.xs: Wrap pango_layout_get_baseline. Patch by
+ Thierry Vignaud.
+
2008-11-16 Torsten Schoenfeld <kaffeetisch at gmx.de>
* NEWS
Modified: branches/upstream/libpango-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpango-perl/current/META.yml?rev=31718&op=diff
==============================================================================
--- branches/upstream/libpango-perl/current/META.yml (original)
+++ branches/upstream/libpango-perl/current/META.yml Sun Mar 8 21:51:55 2009
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: Pango
-version: 1.210
+version: 1.211
abstract: Layout and render international text
author: []
license: unknown
@@ -10,12 +10,12 @@
ExtUtils::Depends: 0.300
ExtUtils::MakeMaker: 0
ExtUtils::PkgConfig: 1.030
- Glib: 1.210
+ Glib: 1.212
requires:
Cairo: 1.000
ExtUtils::Depends: 0.300
ExtUtils::PkgConfig: 1.030
- Glib: 1.210
+ Glib: 1.212
no_index:
directory:
- t
Modified: branches/upstream/libpango-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpango-perl/current/Makefile.PL?rev=31718&op=diff
==============================================================================
--- branches/upstream/libpango-perl/current/Makefile.PL (original)
+++ branches/upstream/libpango-perl/current/Makefile.PL Sun Mar 8 21:51:55 2009
@@ -28,7 +28,7 @@
our %build_reqs = (
'perl-ExtUtils-Depends' => '0.300',
'perl-ExtUtils-PkgConfig' => '1.030',
- 'perl-Glib' => '1.210', # FIXME: 1.22
+ 'perl-Glib' => '1.212', # FIXME: 1.22
'perl-Cairo' => '1.000',
'pango' => '1.0.0',
);
@@ -205,7 +205,8 @@
#
sub MY::postamble
{
- return Glib::MakeHelper->postamble_clean ()
+ return Glib::MakeHelper->postamble_precompiled_headers (qw/pango-perl.h/)
+ . Glib::MakeHelper->postamble_clean ()
. Glib::MakeHelper->postamble_docs_full (
DEPENDS => $pango,
DOCTYPES => 'doctypes',
Modified: branches/upstream/libpango-perl/current/NEWS
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpango-perl/current/NEWS?rev=31718&op=diff
==============================================================================
--- branches/upstream/libpango-perl/current/NEWS (original)
+++ branches/upstream/libpango-perl/current/NEWS Sun Mar 8 21:51:55 2009
@@ -1,3 +1,9 @@
+Overview of changes in Pango 1.211
+==================================
+
+* Wrap pango_layout_get_baseline.
+* Allow passing undef to Gtk2::Pango::Layout::set_attributes().
+
Overview of changes in Pango 1.210
==================================
Modified: branches/upstream/libpango-perl/current/lib/Pango.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpango-perl/current/lib/Pango.pm?rev=31718&op=diff
==============================================================================
--- branches/upstream/libpango-perl/current/lib/Pango.pm (original)
+++ branches/upstream/libpango-perl/current/lib/Pango.pm Sun Mar 8 21:51:55 2009
@@ -32,7 +32,7 @@
use Exporter;
require DynaLoader;
-our $VERSION = '1.210';
+our $VERSION = '1.211';
our @ISA = qw(DynaLoader Exporter);
Modified: branches/upstream/libpango-perl/current/t/PangoLayout.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpango-perl/current/t/PangoLayout.t?rev=31718&op=diff
==============================================================================
--- branches/upstream/libpango-perl/current/t/PangoLayout.t (original)
+++ branches/upstream/libpango-perl/current/t/PangoLayout.t Sun Mar 8 21:51:55 2009
@@ -2,7 +2,7 @@
use strict;
use warnings;
use lib qw(t/inc);
-use PangoTestHelper need_gtk => 1, tests => 71;
+use PangoTestHelper need_gtk => 1, tests => 73;
my $label = Gtk2::Label -> new("Bla");
my $context = $label -> create_pango_context();
@@ -57,7 +57,12 @@
my $attributes = $layout -> get_attributes();
isa_ok($attributes, "Pango::AttrList");
-$layout -> set_attributes($attributes);
+
+my $copy = $attributes -> copy();
+$layout -> set_attributes(undef);
+is($layout -> get_attributes(), undef);
+
+$layout -> set_attributes($copy);
SKIP: {
skip("[sg]et_auto_dir are new in 1.3.5", 1)
@@ -213,6 +218,15 @@
is($layout -> get_height(), 23);
}
+SKIP: {
+ skip 'new 1.22 stuff', 1
+ unless Pango->CHECK_VERSION(1, 22, 0);
+
+ my $font = Pango::FontDescription -> from_string('Sans 12');
+ $layout -> set_font_description($font);
+ like($layout -> get_baseline(), $number);
+}
+
__END__
Copyright (C) 2003-2005 by the gtk2-perl team (see the file AUTHORS for the
Modified: branches/upstream/libpango-perl/current/xs/PangoLayout.xs
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpango-perl/current/xs/PangoLayout.xs?rev=31718&op=diff
==============================================================================
--- branches/upstream/libpango-perl/current/xs/PangoLayout.xs (original)
+++ branches/upstream/libpango-perl/current/xs/PangoLayout.xs Sun Mar 8 21:51:55 2009
@@ -190,10 +190,10 @@
void
pango_layout_set_attributes (layout, attrs)
PangoLayout *layout
- PangoAttrList *attrs
+ PangoAttrList_ornull *attrs
## PangoAttrList *pango_layout_get_attributes (PangoLayout *layout)
-PangoAttrList *
+PangoAttrList_ornull *
pango_layout_get_attributes (layout)
PangoLayout *layout
@@ -522,6 +522,12 @@
#endif
+#if PANGO_CHECK_VERSION (1, 22, 0)
+
+int pango_layout_get_baseline (PangoLayout*layout)
+
+#endif
+
# --------------------------------------------------------------------------- #
MODULE = Pango::Layout PACKAGE = Pango::LayoutLine PREFIX = pango_layout_line_
More information about the Pkg-perl-cvs-commits
mailing list