Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-GDGraph for openSUSE:Factory 
checked in at 2024-03-28 13:54:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-GDGraph (Old)
 and      /work/SRC/openSUSE:Factory/.perl-GDGraph.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-GDGraph"

Thu Mar 28 13:54:42 2024 rev:26 rq:1163123 version:1.560.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-GDGraph/perl-GDGraph.changes        
2024-03-06 23:06:01.876577522 +0100
+++ /work/SRC/openSUSE:Factory/.perl-GDGraph.new.1905/perl-GDGraph.changes      
2024-03-28 14:25:44.478710316 +0100
@@ -1,0 +2,15 @@
+Fri Mar 22 16:29:17 UTC 2024 - Tina Müller <[email protected]>
+
+- updated to 1.56
+   see /usr/share/doc/packages/perl-GDGraph/CHANGES
+
+  1.56 13 Jan 2023
+  - Improve the language explaining the 2023 update. Docs-only change.
+  1.55 11 Jan 2023
+  - Fix failing XBM test resulting from some upstream changes
+    Fixes: https://rt.cpan.org/Ticket/Display.html?id=140940
+  - Skip samples tests if libgd has image support disabled, which
+    is the default starting with version 2.3.3. See:
+    https://github.com/libgd/libgd/issues/428
+
+-------------------------------------------------------------------

Old:
----
  GDGraph-1.54.tar.gz

New:
----
  GDGraph-1.56.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-GDGraph.spec ++++++
--- /var/tmp/diff_new_pack.p0q3q8/_old  2024-03-28 14:25:54.783082388 +0100
+++ /var/tmp/diff_new_pack.p0q3q8/_new  2024-03-28 14:25:54.783082388 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-GDGraph
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,41 +18,48 @@
 
 %define cpan_name GDGraph
 Name:           perl-GDGraph
-Version:        1.54
+Version:        1.560.0
 Release:        0
-Summary:        Produces charts with GD
+# 1.56 -> normalize -> 1.560.0
+%define cpan_version 1.56
+#Upstream: Artistic-1.0 or GPL-1.0-or-later
 License:        (Artistic-1.0 OR GPL-1.0-or-later) AND GPL-2.0-or-later
-Group:          Development/Libraries/Perl
-URL:            https://metacpan.org/release/GDGraph
-Source0:        
https://cpan.metacpan.org/modules/by-module/GD/GDGraph-%{version}.tar.gz
+Summary:        Produces charts with GD
+URL:            https://metacpan.org/release/%{cpan_name}
+Source0:        
https://cpan.metacpan.org/authors/id/B/BP/BPS/%{cpan_name}-%{cpan_version}.tar.gz
 Source1:        cpanspec.yml
 Patch0:         perl-GDGraph-XBM-Magic.patch
+BuildArch:      noarch
 BuildRequires:  perl
-BuildRequires:  perl-ExtUtils-MakeMaker >= 6.76
 BuildRequires:  perl-macros
 BuildRequires:  perl(Capture::Tiny) >= 0.30
-BuildRequires:  perl(GD) >= 1.23
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(GD) >= 1.18
 BuildRequires:  perl(GD::Text) >= 0.80
-BuildRequires:  perl(Test::Exception) >= 0.400000
+BuildRequires:  perl(Test::Exception) >= 0.40
 BuildRequires:  perl(Test::More) >= 0.88
-Requires:       perl(GD) >= 1.23
+Requires:       perl(GD) >= 1.18
 Requires:       perl(GD::Text) >= 0.80
-BuildArch:      noarch
+Provides:       perl(GD::Graph) = %{version}
+%undefine       __perllib_provides
 %{perl_requires}
 
 %description
 Produces charts with GD
 
 %prep
-%autosetup -p1 -n %{cpan_name}-%{version}
+%autosetup  -n %{cpan_name}-%{cpan_version} -p1
+
+# MANUAL BEGIN
 perl -pi -e 's/\r\n/\n/' samples/sample64.pl
+# MANUAL END
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor
 %make_build
 
 %check
-%make_build test
+make test
 
 %install
 %perl_make_install
@@ -60,7 +67,5 @@
 %perl_gen_filelist
 
 %files -f %{name}.files
-%defattr(-,root,root,755)
-%license Dustismo.LICENSE
-%doc CHANGES Dustismo_Sans.ttf README samples
+%doc CHANGES Dustismo.LICENSE Dustismo_Sans.ttf README samples
 

++++++ GDGraph-1.54.tar.gz -> GDGraph-1.56.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/GDGraph-1.54/CHANGES new/GDGraph-1.56/CHANGES
--- old/GDGraph-1.54/CHANGES    2016-11-21 13:22:08.000000000 +0100
+++ new/GDGraph-1.56/CHANGES    2023-01-13 14:20:01.515739865 +0100
@@ -1,3 +1,15 @@
+1.56 13 Jan 2023
+
+- Improve the language explaining the 2023 update. Docs-only change.
+
+1.55 11 Jan 2023
+
+- Fix failing XBM test resulting from some upstream changes
+  Fixes: https://rt.cpan.org/Ticket/Display.html?id=140940
+- Skip samples tests if libgd has image support disabled, which
+  is the default starting with version 2.3.3. See:
+  https://github.com/libgd/libgd/issues/428
+
 1.54 21 Nov 2016
 
 - Disable two Y axes alignment when any y[12]_{min,max}_value is defined
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/GDGraph-1.54/Graph.pm new/GDGraph-1.56/Graph.pm
--- old/GDGraph-1.54/Graph.pm   2016-11-21 13:22:07.000000000 +0100
+++ new/GDGraph-1.56/Graph.pm   2023-01-13 14:19:03.361875279 +0100
@@ -32,7 +32,7 @@
 package GD::Graph;
 
 ($GD::Graph::prog_version) = '$Revision: 1.55 $' =~ /\s([\d.]+)/;
-$GD::Graph::VERSION = '1.54';
+$GD::Graph::VERSION = '1.56';
 
 use strict;
 use GD;
@@ -347,7 +347,8 @@
             pack("H8",'ffd8ffe0') => "jpeg",
             'GIF8' => "gif",
             '.PNG' => "png",
-            '/* X'=> "xpm", # technically '/* XPM */', but I'm hashing, here
+            '/* X' => "xpm", # technically '/* XPM */', but I'm hashing, here
+            '#def' => "xbm",
         );
         if (my $match = $magic{ substr $logodata, 0, 4 }) {
             push @tried, $match;
@@ -607,6 +608,18 @@
 
 =head1 DISTRIBUTION STATUS
 
+=head2 2023 Update
+
+This new release fixes some tests that started to fail based on
+changes in dependencies. We hope this gets all tests passing
+again so users can install cleanly.
+
+The new active repo is here: L<https://github.com/bestpractical/gdgraph>.
+
+You can continue to use L<https://rt.cpan.org> for bug reports.
+
+=head2 Status from 2013
+
 Distribution has no releases since 2007. It has new maintainer starting
 of 1.45 and my plan is to keep modules backwards compatible as much as
 possible, fix bugs with test cases, apply patches and release new versions
@@ -1783,9 +1796,9 @@
 =head1 AUTHOR
 
 Martien Verbruggen E<lt>[email protected]<gt>
-
-Current maintenance (including this release) by
 Benjamin Warfield E<lt>[email protected]<gt>
+Ruslan Zakirov
+Best Practical Solutions E<lt>[email protected]<gt>
 
 =head2 Copyright
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/GDGraph-1.54/META.json new/GDGraph-1.56/META.json
--- old/GDGraph-1.54/META.json  2016-11-21 13:22:58.000000000 +0100
+++ new/GDGraph-1.56/META.json  2023-01-13 14:25:18.000000000 +0100
@@ -3,10 +3,11 @@
    "author" : [
       "Martien Verbruggen <[email protected]>",
       "Benjamin Warfield <[email protected]>",
-      "Ruslan Zakirov <[email protected]>"
+      "Ruslan Zakirov <[email protected]>",
+      "Best Practical Solutions <[email protected]>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 7.2, CPAN::Meta::Converter 
version 2.150005",
+   "generated_by" : "ExtUtils::MakeMaker version 7.3, CPAN::Meta::Converter 
version 2.150005",
    "license" : [
       "perl_5"
    ],
@@ -55,10 +56,10 @@
       },
       "repository" : {
          "type" : "git",
-         "url" : "git://github.com/ruz/GDGraph.git",
-         "web" : "https://github.com/ruz/GDGraph";
+         "url" : "git://github.com/bestpractical/gdgraph.git",
+         "web" : "https://github.com/bestpractical/gdgraph";
       }
    },
-   "version" : "1.54",
+   "version" : "1.56",
    "x_serialization_backend" : "JSON::PP version 2.27300"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/GDGraph-1.54/META.yml new/GDGraph-1.56/META.yml
--- old/GDGraph-1.54/META.yml   2016-11-21 13:22:58.000000000 +0100
+++ new/GDGraph-1.56/META.yml   2023-01-13 14:25:18.000000000 +0100
@@ -4,6 +4,7 @@
   - 'Martien Verbruggen <[email protected]>'
   - 'Benjamin Warfield <[email protected]>'
   - 'Ruslan Zakirov <[email protected]>'
+  - 'Best Practical Solutions <[email protected]>'
 build_requires:
   Capture::Tiny: '0.30'
   ExtUtils::MakeMaker: '6.76'
@@ -13,7 +14,7 @@
 configure_requires:
   ExtUtils::MakeMaker: '6.76'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.2, CPAN::Meta::Converter version 
2.150005'
+generated_by: 'ExtUtils::MakeMaker version 7.3, CPAN::Meta::Converter version 
2.150005'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -28,6 +29,6 @@
   GD::Text: '0.80'
 resources:
   bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=GDGraph
-  repository: git://github.com/ruz/GDGraph.git
-version: '1.54'
-x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
+  repository: git://github.com/bestpractical/gdgraph.git
+version: '1.56'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.012'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/GDGraph-1.54/Makefile.PL new/GDGraph-1.56/Makefile.PL
--- old/GDGraph-1.54/Makefile.PL        2016-11-21 12:28:12.000000000 +0100
+++ new/GDGraph-1.56/Makefile.PL        2023-01-13 14:21:54.994604909 +0100
@@ -23,6 +23,7 @@
                  'Martien Verbruggen <[email protected]>',
                  'Benjamin Warfield <[email protected]>',
                  'Ruslan Zakirov <[email protected]>',
+                 'Best Practical Solutions <[email protected]>',
             ]
             ):()
         ),
@@ -65,8 +66,8 @@
                 },
                 repository => {
                     type => 'git',
-                    url  => 'git://github.com/ruz/GDGraph.git',
-                    web  => 'https://github.com/ruz/GDGraph',
+                    url  => 'git://github.com/bestpractical/gdgraph.git',
+                    web  => 'https://github.com/bestpractical/gdgraph',
                 },
             },
 
@@ -105,8 +106,13 @@
 directory with `make samples` or by going into that directory, and
 just running `make`.
 If that fails, please read samples/Makefile.
-UPDATE: Running the examples is part of the test procedure now. You
+
+UPDATE 1: Running the examples is part of the test procedure now. You
 are still encouraged to run check them out to learn from them and
 to see the ouput images.
-END
 
+UPDATE 2 (2023-0-13): The samples fail if libgd is installed without
+image support enabled, which is the default starting with version 2.3.3.
+The samples should be automatically skipped if this is detected. To
+run the tests from samples, install libgd with image support enabled.
+END
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/GDGraph-1.54/README new/GDGraph-1.56/README
--- old/GDGraph-1.54/README     2013-06-22 23:40:11.000000000 +0200
+++ new/GDGraph-1.56/README     2023-01-11 22:47:15.000000000 +0100
@@ -61,9 +61,15 @@
 Martien Verbruggen
 [email protected]
 
-Currently maintained by Benjamin Warfield
+Benjamin Warfield
 [email protected]
 
+Ruslan Zakirov
+
+Best Practical Solutions
[email protected]
+
+
 FIRST PNG PORT as Chart::PNGgraph
 
 Steve Bonds
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/GDGraph-1.54/t/samples.t new/GDGraph-1.56/t/samples.t
--- old/GDGraph-1.54/t/samples.t        2015-12-27 17:43:41.000000000 +0100
+++ new/GDGraph-1.56/t/samples.t        2023-01-11 22:47:15.000000000 +0100
@@ -10,16 +10,34 @@
 $ENV{GDGRAPH_SAMPLES_PATH} = "$Bin/../samples/";
 
 my @samples = glob("$Bin/../samples/sample*.pl");
-plan tests => 2 * @samples;
+my $test_count = 2 * @samples;
+plan tests => $test_count;
 
-for my $sample (@samples) {
-    lives_ok {
-        my $stderr = capture_stderr { require $sample };
-        my ($sample_name) = $sample =~ m{samples/(sample..)};
-        like $stderr, qr/Processing $sample_name/;
+
+# Check for known GD error message when libgd has image support disabled
+use GD::Graph::bars;
+my $graph = GD::Graph::bars->new;
+eval {
+    capture_stderr { $graph->export_format };
+};
+
+my $skip;
+if ( $@ and $@ =~ /gdImageGdPtr/ ) {
+    $skip = 1;
+}
+
+SKIP: {
+    skip "GD image support has been disabled in installed libgd, skipping", 
$test_count if $skip;
+    for my $sample (@samples) {
+        lives_ok {
+            my $stderr = capture_stderr { require $sample };
+            my ($sample_name) = $sample =~ m{samples/(sample..)};
+            like $stderr, qr/Processing $sample_name/;
+        }
     }
+
+    unlink $_ for glob("sample*.gif");
 }
 
-unlink $_ for glob("sample*.gif");
 
 done_testing();

++++++ perl-GDGraph-XBM-Magic.patch ++++++
--- /var/tmp/diff_new_pack.p0q3q8/_old  2024-03-28 14:25:54.887086097 +0100
+++ /var/tmp/diff_new_pack.p0q3q8/_new  2024-03-28 14:25:54.891086240 +0100
@@ -15,16 +15,6 @@
 index 816c99a..f12d588 100644
 --- a/Graph.pm
 +++ b/Graph.pm
-@@ -347,7 +347,8 @@ sub _read_logo_file
-             pack("H8",'ffd8ffe0') => "jpeg",
-             'GIF8' => "gif",
-             '.PNG' => "png",
--            '/* X'=> "xpm", # technically '/* XPM */', but I'm hashing, here
-+            '/* X' => "xpm", # technically '/* XPM */', but I'm hashing, here
-+            '#def' => "xbm",
-         );
-         if (my $match = $magic{ substr $logodata, 0, 4 }) {
-             push @tried, $match;
 @@ -362,6 +363,9 @@ sub _read_logo_file
                      $glogo = GD::Image->$gdimport(\*LOGO);
                  }

Reply via email to