Description: sort the output of podify_signals
 The output of Glib::Type->list_signals is unsorted. This results in the 
 generated pod files to be in random order which makes packages using signals 
 compile not reproducibly [1]. It was suggested to Glib upstream [2] to sort
 the output of g_signal_list_ids but it got rejected. Thus the change has to 
 be made here. 
 [1] https://wiki.debian.org/ReproducibleBuilds/About
 [2] https://bugzilla.gnome.org/show_bug.cgi?id=743863  
Author: akira <marivalenm@gmail.com>
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=748796

--- libglib-perl-1.305.orig/lib/Glib/GenPod.pm
+++ libglib-perl-1.305/lib/Glib/GenPod.pm
@@ -716,7 +716,7 @@ sub podify_signals {
 	my @sigs = Glib::Type->list_signals (shift);
 	return undef unless @sigs;
 	$str = "=over\n\n";
-	foreach (@sigs) {
+	foreach (sort {$a->{signal_name} cmp $b->{signal_name} } @sigs) {
 		$str .= '=item ';
 		$str .= convert_type ($_->{return_type}).' = '
 			if exists $_->{return_type};
