r28863 - in /trunk/libgnome2-print-perl: ChangeLog META.yml Makefile.PL Print.pm README copyright.pod debian/changelog xs/GnomePrintConfig.xs xs/GnomePrintPaper.xs xs/GnomePrintUnit.xs

ryan52-guest at users.alioth.debian.org ryan52-guest at users.alioth.debian.org
Sun Dec 28 19:21:48 UTC 2008


Author: ryan52-guest
Date: Sun Dec 28 19:21:45 2008
New Revision: 28863

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=28863
Log:
New upstream release

Modified:
    trunk/libgnome2-print-perl/ChangeLog
    trunk/libgnome2-print-perl/META.yml
    trunk/libgnome2-print-perl/Makefile.PL
    trunk/libgnome2-print-perl/Print.pm
    trunk/libgnome2-print-perl/README
    trunk/libgnome2-print-perl/copyright.pod
    trunk/libgnome2-print-perl/debian/changelog
    trunk/libgnome2-print-perl/xs/GnomePrintConfig.xs
    trunk/libgnome2-print-perl/xs/GnomePrintPaper.xs
    trunk/libgnome2-print-perl/xs/GnomePrintUnit.xs

Modified: trunk/libgnome2-print-perl/ChangeLog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgnome2-print-perl/ChangeLog?rev=28863&op=diff
==============================================================================
--- trunk/libgnome2-print-perl/ChangeLog (original)
+++ trunk/libgnome2-print-perl/ChangeLog Sun Dec 28 19:21:45 2008
@@ -1,3 +1,24 @@
+2006-11-15  Emmanuele Bassi  <ebassi at gnome.org>
+
+	* README:
+	* Print.pm: Bump to 1.000.
+
+2006-11-15  Emmanuele Bassi  <ebassi at gnome.org>
+
+	* Print.pm: Add deprecation warning.
+
+	* README:
+	* Makefile.PL: Update requirements.
+
+2006-11-15  Emmanuele Bassi  <ebassi at gnome.org>
+
+	Patch by Torsten Schoenfeld for removing signedness warnings.
+
+	* xs/GnomePrintConfig.xs:
+	* xs/GnomePrintPaper.xs:
+	* xs/GnomePrintUnit.xs: Use gchar* instead of guchar* and
+	remove signedness warnings.
+
 2005/08/23 00:45 (-0400) muppetman
 
 	* README, Print.pm: update to version 0.951.

Modified: trunk/libgnome2-print-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgnome2-print-perl/META.yml?rev=28863&op=diff
==============================================================================
--- trunk/libgnome2-print-perl/META.yml (original)
+++ trunk/libgnome2-print-perl/META.yml Sun Dec 28 19:21:45 2008
@@ -1,10 +1,10 @@
 # http://module-build.sourceforge.net/META-spec.html
 #XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
 name:         Gnome2-Print
-version:      0.951
+version:      1.000
 version_from: Print.pm
 installdirs:  site
 requires:
 
 distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.17
+generated_by: ExtUtils::MakeMaker version 6.30_01

Modified: trunk/libgnome2-print-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgnome2-print-perl/Makefile.PL?rev=28863&op=diff
==============================================================================
--- trunk/libgnome2-print-perl/Makefile.PL (original)
+++ trunk/libgnome2-print-perl/Makefile.PL Sun Dec 28 19:21:45 2008
@@ -1,5 +1,5 @@
 #
-# $Header: /cvsroot/gtk2-perl/gtk2-perl-xs/GnomePrint2/Makefile.PL,v 1.28 2004/07/04 20:38:32 ebassi Exp $
+# $Header: /cvsroot/gtk2-perl/gtk2-perl-xs/GnomePrint2/Makefile.PL,v 1.29 2006/11/15 09:38:18 ebassi Exp $
 #
 
 use 5.008;
@@ -13,8 +13,8 @@
 our %build_reqs = (
 	'perl-ExtUtils-Depends'   => '0.1',
 	'perl-ExtUtils-PkgConfig' => '1.03',
-	'perl-Glib'               => '1.040',
-	'perl-Gtk2'               => '1.040',
+	'perl-Glib'               => '1.120',
+	'perl-Gtk2'               => '1.120',
 	'GnomePrint'              => '2.2.0.0',
 );
 
@@ -22,7 +22,7 @@
 # dependencies and install them.
 unless (eval "use ExtUtils::Depends;"
            . "use ExtUtils::PkgConfig;"
-	   . "use Gtk2::CodeGen;"
+           . "use Gtk2::CodeGen;"
            # just seeing if Glib is available isn't enough, make sure
            # it's recent enough, too 
            . "use Glib '$build_reqs{'perl-Glib'}';"
@@ -45,7 +45,7 @@
 mkdir 'build', 0777;
 
 our %pkgcfg = ExtUtils::PkgConfig->find ('libgnomeprintui-2.2 >= '
-				     .$build_reqs{GnomePrint});
+                                         . $build_reqs{GnomePrint});
 
 our @xs_files = <xs/*.xs>;
 our %pm_files = (
@@ -96,17 +96,15 @@
 {
 	return Glib::MakeHelper->postamble_clean ()
 	     . Glib::MakeHelper->postamble_docs_full (
-		 DEPENDS => $gnomeprint2,
-		 DOCTYPES => 'doctypes',
-		 COPYRIGHT_FROM => 'copyright.pod',
+            DEPENDS => $gnomeprint2,
+            DOCTYPES => 'doctypes',
+            COPYRIGHT_FROM => 'copyright.pod',
 		   )
 	     . Glib::MakeHelper->postamble_rpms (
-		'GNOMEPRINT' => $build_reqs{'GnomePrint'},
-		'PERL_EXTUTILS_DEPENDS' => 
-			$build_reqs{'perl-ExtUtils-Depends'},
-		'PERL_EXTUTILS_PKGCONFIG' => 
-			$build_reqs{'perl-ExtUtils-PkgConfig'},
-		'PERL_GLIB' => $build_reqs{'perl-Glib'},
-		'PERL_GTK' => $build_reqs{'perl-Gtk2'},
+            'GNOMEPRINT' => $build_reqs{'GnomePrint'},
+            'PERL_EXTUTILS_DEPENDS' => $build_reqs{'perl-ExtUtils-Depends'},
+            'PERL_EXTUTILS_PKGCONFIG' => $build_reqs{'perl-ExtUtils-PkgConfig'},
+            'PERL_GLIB' => $build_reqs{'perl-Glib'},
+            'PERL_GTK' => $build_reqs{'perl-Gtk2'},
 	       );
 }

Modified: trunk/libgnome2-print-perl/Print.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgnome2-print-perl/Print.pm?rev=28863&op=diff
==============================================================================
--- trunk/libgnome2-print-perl/Print.pm (original)
+++ trunk/libgnome2-print-perl/Print.pm Sun Dec 28 19:21:45 2008
@@ -1,5 +1,5 @@
 #
-# $Header: /cvsroot/gtk2-perl/gtk2-perl-xs/GnomePrint2/Print.pm,v 1.19 2005/08/23 04:44:36 muppetman Exp $
+# $Header: /cvsroot/gtk2-perl/gtk2-perl-xs/GnomePrint2/Print.pm,v 1.21 2006/11/15 09:39:46 ebassi Exp $
 #
 
 package Gnome2::Print;
@@ -31,7 +31,7 @@
 	
 );
 
-our $VERSION = '0.951';
+our $VERSION = '1.000';
 
 sub dl_load_flags { 0x01 }
 
@@ -82,7 +82,15 @@
 To discuss gtk2-perl, ask questions and flame/praise the authors,
 join gtk-perl-list at gnome.org at lists.gnome.org.
 
-Find out more about Gnome+ at http://www.gnome.org.
+Find out more about GNOME at http://www.gnome.org.
+
+=head1 DEPRECATION WARNING
+
+With the release of GTK+ 2.10 both libgnomeprint and libgnomeprintui have
+been marked as deprecated and should not be used in newly released code.
+
+In order to use the new Print support in GTK+ you have to use the Gtk2
+module version E<gt>= 1.140 compiled against GTK+ E<gt>= 2.10.0.
 
 =head1 SEE ALSO
 
@@ -95,7 +103,7 @@
 
 =head1 COPYRIGHT AND LICENSE
 
-Copyright 2003, 2004 by Emmanuele Bassi
+Copyright 2003-2006 by Emmanuele Bassi
 
 Copyright 2003 by muppet
 

Modified: trunk/libgnome2-print-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgnome2-print-perl/README?rev=28863&op=diff
==============================================================================
--- trunk/libgnome2-print-perl/README (original)
+++ trunk/libgnome2-print-perl/README Sun Dec 28 19:21:45 2008
@@ -1,4 +1,4 @@
-Gnome2::Print version 0.951
+Gnome2::Print version 1.000
 ===========================
 
 The Gnome2::Print module allows a perl developer to use the Gnome Printing
@@ -53,14 +53,23 @@
 This module requires these other modules and libraries:
 
   perl >= 5.8.0
-  Glib >= 1.04 (perl module and requisite C libraries)
-  Gtk2 >= 1.04 (perl module and requisite C libraries)
+  Glib >= 1.12 (perl module and requisite C libraries)
+  Gtk2 >= 1.12 (perl module and requisite C libraries)
   libgnomeprintui-2.2 (C library)
+
+
+DEPRECATION WARNING
+
+With the release of GTK+ 2.10 both libgnomeprint and libgnomeprintui have
+been marked as deprecated and should not be used in newly released code.
+
+In order to use the new Print support in GTK+ you have to use the Gtk2
+module version >= 1.140 compiled against GTK+ >= 2.10.0.
 
 
 COPYRIGHT AND LICENSE
 
-Copyright (C) 2003,2004 by the gtk2-perl team (see the file AUTHORS for a
+Copyright (C) 2003-2006 by the gtk2-perl team (see the file AUTHORS for a
 complete list)
 
 This library is free software; you can redistribute it and/or

Modified: trunk/libgnome2-print-perl/copyright.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgnome2-print-perl/copyright.pod?rev=28863&op=diff
==============================================================================
--- trunk/libgnome2-print-perl/copyright.pod (original)
+++ trunk/libgnome2-print-perl/copyright.pod Sun Dec 28 19:21:45 2008
@@ -1,4 +1,4 @@
-Copyright (C) 2003-2004 by the gtk2-perl team.
+Copyright (C) 2003-2006 by the gtk2-perl team.
 
 This software is licensed under the LGPL.  See L<Gnome2::Print> for a full
 notice.

Modified: trunk/libgnome2-print-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgnome2-print-perl/debian/changelog?rev=28863&op=diff
==============================================================================
--- trunk/libgnome2-print-perl/debian/changelog (original)
+++ trunk/libgnome2-print-perl/debian/changelog Sun Dec 28 19:21:45 2008
@@ -1,4 +1,4 @@
-libgnome2-print-perl (0.95.1-2) UNRELEASED; urgency=low
+libgnome2-print-perl (1.000-1) UNRELEASED; urgency=low
 
   * Take over for the Debian Perl Group on maintainer's request
     (http://lists.debian.org/debian-perl/2008/12/msg00163.html)
@@ -11,8 +11,9 @@
     moved to Uploaders.
   * Add me to uploaders, remove old maintainer(s)
   * fix watch file (Closes: #449919)
+  * New upstream release
 
- -- Ryan Niebur <ryanryan52 at gmail.com>  Sun, 28 Dec 2008 01:40:35 -0800
+ -- Ryan Niebur <ryanryan52 at gmail.com>  Sun, 28 Dec 2008 11:21:01 -0800
 
 libgnome2-print-perl (0.95.1-1) unstable; urgency=low
 

Modified: trunk/libgnome2-print-perl/xs/GnomePrintConfig.xs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgnome2-print-perl/xs/GnomePrintConfig.xs?rev=28863&op=diff
==============================================================================
--- trunk/libgnome2-print-perl/xs/GnomePrintConfig.xs (original)
+++ trunk/libgnome2-print-perl/xs/GnomePrintConfig.xs Sun Dec 28 19:21:45 2008
@@ -4,7 +4,7 @@
 
 ### some convenience keys to be used with set/get...
 ### the key's string returned is constant, so we don't need to think about it.
-guchar *
+char *
 constants (class)
     ALIAS:
     	Gnome2::Print::Config::key_paper_size = 1

Modified: trunk/libgnome2-print-perl/xs/GnomePrintPaper.xs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgnome2-print-perl/xs/GnomePrintPaper.xs?rev=28863&op=diff
==============================================================================
--- trunk/libgnome2-print-perl/xs/GnomePrintPaper.xs (original)
+++ trunk/libgnome2-print-perl/xs/GnomePrintPaper.xs Sun Dec 28 19:21:45 2008
@@ -10,7 +10,7 @@
 
 	object = newHV ();
 	
-	hv_store (object, "name", 4, newSVGChar (p->name), 0);
+	hv_store (object, "name", 4, newSVpv ((char *) p->name, PL_na), 0);
 	hv_store (object, "width", 5, newSVnv (p->width), 0);
 	hv_store (object, "height", 6, newSVnv (p->height), 0);
 	hv_store (object, "version", 7, newSVuv (p->version), 0);

Modified: trunk/libgnome2-print-perl/xs/GnomePrintUnit.xs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgnome2-print-perl/xs/GnomePrintUnit.xs?rev=28863&op=diff
==============================================================================
--- trunk/libgnome2-print-perl/xs/GnomePrintUnit.xs (original)
+++ trunk/libgnome2-print-perl/xs/GnomePrintUnit.xs Sun Dec 28 19:21:45 2008
@@ -15,13 +15,13 @@
 	Gnome2::Print::Unit::abbr_plural = 6
     CODE:
     	switch (ix) {
-		case 0: RETVAL = newSViv (unit->version);        break;
-		case 1: RETVAL = newSViv (unit->base);           break;
-		case 2: RETVAL = newSVnv (unit->unittobase);     break;
-		case 3: RETVAL = newSVGChar (unit->name);        break;
-		case 4: RETVAL = newSVGChar (unit->abbr);        break;
-		case 5: RETVAL = newSVGChar (unit->plural);      break;
-		case 6: RETVAL = newSVGChar (unit->abbr_plural); break;
+		case 0: RETVAL = newSViv (unit->version);                 break;
+		case 1: RETVAL = newSViv (unit->base);                    break;
+		case 2: RETVAL = newSVnv (unit->unittobase);              break;
+		case 3: RETVAL = newSVpv ((char*)unit->name, PL_na);      break;
+		case 4: RETVAL = newSVpv ((char*)unit->abbr, PL_na);      break;
+		case 5: RETVAL = newSVpv ((char*)unit->plural, PL_na);    break;
+		case 6: RETVAL = newSVpv ((char*)unit->abbr_plural, PL_na); break;
 
 		default: RETVAL = &PL_sv_undef;
 	}




More information about the Pkg-perl-cvs-commits mailing list