Hello community, here is the log from the commit of package perl-Glib for openSUSE:Factory checked in at 2011-12-02 09:27:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Glib (Old) and /work/SRC/openSUSE:Factory/.perl-Glib.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-Glib", Maintainer is "VCizek@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Glib/perl-Glib.changes 2011-10-18 14:35:46.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Glib.new/perl-Glib.changes 2011-12-02 09:28:01.000000000 +0100 @@ -1,0 +2,8 @@ +Mon Nov 21 02:36:26 UTC 2011 - vcizek@suse.com + +- update to 1.241 + * Fix a test failure in t/GtkEntryBuffer.t + * Fix a test failure in t/tied-objects.t + * Add the missing NEWS entries from the stable branch. + +------------------------------------------------------------------- Old: ---- Glib-1.240.tar.gz New: ---- Glib-1.241.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Glib.spec ++++++ --- /var/tmp/diff_new_pack.JKAtcC/_old 2011-12-02 09:28:03.000000000 +0100 +++ /var/tmp/diff_new_pack.JKAtcC/_new 2011-12-02 09:28:03.000000000 +0100 @@ -18,7 +18,7 @@ Name: perl-Glib -Version: 1.240 +Version: 1.241 Release: 1 License: LGPLv2.1+ Summary: Glib Perl module ++++++ Glib-1.240.tar.gz -> Glib-1.241.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-1.240/GBoxed.xs new/Glib-1.241/GBoxed.xs --- old/Glib-1.240/GBoxed.xs 2011-08-07 21:31:06.000000000 +0200 +++ new/Glib-1.241/GBoxed.xs 2011-11-18 18:40:20.000000000 +0100 @@ -647,6 +647,55 @@ #endif +static SV* +gstring_wrap (GType gtype, + const char * package, + gpointer boxed, + gboolean own) +{ + SV * sv; + GString *gstr; + PERL_UNUSED_VAR (gtype); + PERL_UNUSED_VAR (package); + + if (!boxed) + return &PL_sv_undef; + + gstr = (GString*) boxed; + + sv = newSVpv (gstr->str, gstr->len); + + if (own) + g_string_free (gstr, TRUE); + + return sv; +} + +static gpointer +gstring_unwrap (GType gtype, + const char * package, + SV * sv) +{ + GString *gstr = NULL; + PERL_UNUSED_VAR (gtype); + PERL_UNUSED_VAR (package); + + /* pass undef */ + if (!gperl_sv_is_defined (sv)) + return NULL; + + gstr = gperl_alloc_temp (sizeof (GString)); + gstr->str = SvPV (sv, gstr->len); + gstr->allocated_len = gstr->len; + + return gstr; +} + +static GPerlBoxedWrapperClass gstring_wrapper_class = { + gstring_wrap, + gstring_unwrap, + NULL +}; MODULE = Glib::Boxed PACKAGE = Glib::Boxed @@ -654,6 +703,7 @@ gperl_register_boxed (G_TYPE_BOXED, "Glib::Boxed", NULL); gperl_register_boxed (G_TYPE_STRING, "Glib::String", NULL); gperl_set_isa ("Glib::String", "Glib::Boxed"); + gperl_register_boxed (G_TYPE_GSTRING, "Glib::GString", &gstring_wrapper_class); #if GLIB_CHECK_VERSION (2, 4, 0) gperl_register_boxed (G_TYPE_STRV, "Glib::Strv", &strv_wrapper_class); /*gperl_set_isa ("Glib::Strv", "Glib::Boxed");*/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-1.240/GLog.xs new/Glib-1.241/GLog.xs --- old/Glib-1.240/GLog.xs 2011-08-07 21:31:06.000000000 +0200 +++ new/Glib-1.241/GLog.xs 2011-11-18 18:40:20.000000000 +0100 @@ -322,10 +322,10 @@ CV *cv = get_cv ("Glib::Log::default_handler", 0); assert (cv); RETVAL = newRV_inc ((SV*) cv); - SvREFCNT_inc_simple_void_NN (RETVAL); + SvREFCNT_inc (RETVAL); } else if (old_func == gperl_log_func) { RETVAL = old_callback->func; - SvREFCNT_inc_simple_void_NN (RETVAL); + SvREFCNT_inc (RETVAL); } if (old_callback) { gperl_callback_destroy (old_callback); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-1.240/MANIFEST new/Glib-1.241/MANIFEST --- old/Glib-1.240/MANIFEST 2011-10-13 22:53:46.000000000 +0200 +++ new/Glib-1.241/MANIFEST 2011-11-18 23:01:08.000000000 +0100 @@ -72,5 +72,4 @@ typemap xsapi.pod.foot xsapi.pod.head -META.yml Module YAML meta-data (added by MakeMaker) -META.json Module JSON meta-data (added by MakeMaker) +META.yml Module meta-data (added by MakeMaker) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-1.240/META.json new/Glib-1.241/META.json --- old/Glib-1.240/META.json 2011-10-13 22:53:46.000000000 +0200 +++ new/Glib-1.241/META.json 1970-01-01 01:00:00.000000000 +0100 @@ -1,67 +0,0 @@ -{ - "abstract" : "Perl wrappers for the GLib utility and Object libraries", - "author" : [ - "unknown" - ], - "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 6.59, CPAN::Meta::Converter version 2.112621", - "license" : [ - "unknown" - ], - "meta-spec" : { - "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", - "version" : "2" - }, - "name" : "Glib", - "no_index" : { - "directory" : [ - "t", - "inc" - ], - "file" : [ - "Glib.xs", - "GError.xs", - "GUtils.xs", - "GLog.xs", - "GType.xs", - "GBoxed.xs", - "GObject.xs", - "GValue.xs", - "GClosure.xs", - "GSignal.xs", - "GMainLoop.xs", - "GIOChannel.xs", - "GParamSpec.xs", - "GKeyFile.xs", - "GOption.xs", - "GBookmarkFile.xs", - "xsapi.pod.head", - "xsapi.pod.foot" - ], - "package" : [ - "MY" - ] - }, - "prereqs" : { - "build" : { - "requires" : { - "ExtUtils::MakeMaker" : 0 - } - }, - "configure" : { - "requires" : { - "ExtUtils::Depends" : "0.300", - "ExtUtils::MakeMaker" : 0, - "ExtUtils::PkgConfig" : "1.00" - } - }, - "runtime" : { - "requires" : { - "ExtUtils::Depends" : "0.300", - "ExtUtils::PkgConfig" : "1.00" - } - } - }, - "release_status" : "stable", - "version" : "1.240" -} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-1.240/META.yml new/Glib-1.241/META.yml --- old/Glib-1.240/META.yml 2011-10-13 22:53:46.000000000 +0200 +++ new/Glib-1.241/META.yml 2011-11-18 23:01:08.000000000 +0100 @@ -1,46 +1,44 @@ ---- -abstract: 'Perl wrappers for the GLib utility and Object libraries' -author: - - unknown -build_requires: - ExtUtils::MakeMaker: 0 +--- #YAML:1.0 +name: Glib +version: 1.241 +abstract: Perl wrappers for the GLib utility and Object libraries +author: [] +license: unknown +distribution_type: module configure_requires: - ExtUtils::Depends: 0.300 - ExtUtils::MakeMaker: 0 - ExtUtils::PkgConfig: 1.00 -dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 6.59, CPAN::Meta::Converter version 2.112621' -license: unknown -meta-spec: - url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 -name: Glib -no_index: - directory: - - t - - inc - file: - - Glib.xs - - GError.xs - - GUtils.xs - - GLog.xs - - GType.xs - - GBoxed.xs - - GObject.xs - - GValue.xs - - GClosure.xs - - GSignal.xs - - GMainLoop.xs - - GIOChannel.xs - - GParamSpec.xs - - GKeyFile.xs - - GOption.xs - - GBookmarkFile.xs - - xsapi.pod.head - - xsapi.pod.foot - package: - - MY + ExtUtils::Depends: 0.300 + ExtUtils::MakeMaker: 0 + ExtUtils::PkgConfig: 1.00 +build_requires: + ExtUtils::MakeMaker: 0 requires: - ExtUtils::Depends: 0.300 - ExtUtils::PkgConfig: 1.00 -version: 1.240 + ExtUtils::Depends: 0.300 + ExtUtils::PkgConfig: 1.00 +no_index: + directory: + - t + - inc + file: + - Glib.xs + - GError.xs + - GUtils.xs + - GLog.xs + - GType.xs + - GBoxed.xs + - GObject.xs + - GValue.xs + - GClosure.xs + - GSignal.xs + - GMainLoop.xs + - GIOChannel.xs + - GParamSpec.xs + - GKeyFile.xs + - GOption.xs + - GBookmarkFile.xs + - xsapi.pod.head + - xsapi.pod.foot + package: MY +generated_by: ExtUtils::MakeMaker version 6.57_05 +meta-spec: + url: http://module-build.sourceforge.net/META-spec-v1.4.html + version: 1.4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-1.240/NEWS new/Glib-1.241/NEWS --- old/Glib-1.240/NEWS 2011-10-13 22:52:20.000000000 +0200 +++ new/Glib-1.241/NEWS 2011-11-18 22:57:21.000000000 +0100 @@ -1,3 +1,12 @@ +Overview of changes in Glib 1.241 +================================= + +* Register the boxed type Glib::GString, based almost completely on a patch by + Emmanuel Rodriguez (https://bugzilla.gnome.org/show_bug.cgi?id=663881). +* Fix linking against perl < 5.9.4 on some platforms; Do not use + SvREFCNT_inc_simple_void_NN as that was introduced in perl 5.9.4, which came + after the 5.8.0 we require. + Overview of changes in Glib 1.240 ================================= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-1.240/README new/Glib-1.241/README --- old/Glib-1.240/README 2011-10-13 22:48:27.000000000 +0200 +++ new/Glib-1.241/README 2011-11-18 22:58:04.000000000 +0100 @@ -1,4 +1,4 @@ -Glib version 1.240 +Glib version 1.241 ================== This module provides perl access to Glib and GLib's GObject libraries. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glib-1.240/lib/Glib.pm new/Glib-1.241/lib/Glib.pm --- old/Glib-1.240/lib/Glib.pm 2011-10-13 22:47:48.000000000 +0200 +++ new/Glib-1.241/lib/Glib.pm 2011-11-18 22:53:46.000000000 +0100 @@ -66,7 +66,7 @@ our @EXPORT_OK = map { @$_ } values %EXPORT_TAGS; $EXPORT_TAGS{all} = \@EXPORT_OK; -our $VERSION = '1.240'; +our $VERSION = '1.241'; sub dl_load_flags { $^O eq 'darwin' ? 0x00 : 0x01 } -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org