openSUSE Commits
Threads by month
- ----- 2025 -----
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
February 2014
- 1 participants
- 1581 discussions
Hello community,
here is the log from the commit of package perl-Font-TTF for openSUSE:Factory checked in at 2014-02-28 19:01:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Font-TTF (Old)
and /work/SRC/openSUSE:Factory/.perl-Font-TTF.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Font-TTF"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Font-TTF/perl-Font-TTF.changes 2013-11-29 07:03:32.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Font-TTF.new/perl-Font-TTF.changes 2014-02-28 19:01:17.000000000 +0100
@@ -1,0 +2,10 @@
+Mon Feb 24 06:08:33 UTC 2014 - coolo(a)suse.com
+
+- updated to 1.04
+ * Bug fixes:
+ * Fix rt.cpan.org 80671, 80672; simplify fix for #42553 per OP
+ * Shared tables in TTC weren't working
+ * Quiet a cleanup warning in TTC processing
+ * Update licensing info for test fonts to OFL
+
+-------------------------------------------------------------------
Old:
----
Font-TTF-1.03.tar.gz
New:
----
Font-TTF-1.04.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Font-TTF.spec ++++++
--- /var/tmp/diff_new_pack.ox0W1g/_old 2014-02-28 19:01:18.000000000 +0100
+++ /var/tmp/diff_new_pack.ox0W1g/_new 2014-02-28 19:01:18.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Font-TTF
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,8 +16,10 @@
#
+# MANUAL license
+
Name: perl-Font-TTF
-Version: 1.03
+Version: 1.04
Release: 0
%define cpan_name Font-TTF
Summary: Perl module for TrueType Font hacking
@@ -32,7 +34,6 @@
BuildRequires: perl(IO::String)
Requires: perl(IO::String)
%{perl_requires}
-# MANUAL license
%description
This module allows you to do almost anything to a TrueType/OpenType Font
@@ -56,6 +57,6 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes CONTRIBUTORS LICENSE minsize.patch MYMETA.yml README.TXT TODO
+%doc Changes CONTRIBUTORS LICENSE MYMETA.yml README.TXT TODO
%changelog
++++++ Font-TTF-1.03.tar.gz -> Font-TTF-1.04.tar.gz ++++++
++++ 2022 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0

28 Feb '14
Hello community,
here is the log from the commit of package perl-File-ShareDir-Install for openSUSE:Factory checked in at 2014-02-28 19:00:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-File-ShareDir-Install (Old)
and /work/SRC/openSUSE:Factory/.perl-File-ShareDir-Install.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-File-ShareDir-Install"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-File-ShareDir-Install/perl-File-ShareDir-Install.changes 2013-10-08 18:19:40.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-File-ShareDir-Install.new/perl-File-ShareDir-Install.changes 2014-02-28 19:00:59.000000000 +0100
@@ -1,0 +2,13 @@
+Mon Feb 24 06:08:00 UTC 2014 - coolo(a)suse.com
+
+- updated to 0.08
+ - Tests may now be run in parallel
+ Thank you KENTNL(a)cpan.org
+
+ - Added delete_share
+ Thank you dmuey(a)cpan.org
+
+ - Added $INCLUDE_DOTFILES and $INCLUDE_DOTDIRS
+ Thank you sharyanto(a)cpan.org
+
+-------------------------------------------------------------------
Old:
----
File-ShareDir-Install-0.05.tar.gz
New:
----
File-ShareDir-Install-0.08.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-File-ShareDir-Install.spec ++++++
--- /var/tmp/diff_new_pack.L2fKWD/_old 2014-02-28 19:01:00.000000000 +0100
+++ /var/tmp/diff_new_pack.L2fKWD/_new 2014-02-28 19:01:00.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-File-ShareDir-Install
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: perl-File-ShareDir-Install
-Version: 0.05
+Version: 0.08
Release: 0
%define cpan_name File-ShareDir-Install
Summary: Install shared files
@@ -29,7 +29,6 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-#BuildRequires: perl(File::ShareDir::Install)
%{perl_requires}
%description
@@ -39,7 +38,11 @@
It is a port of the Module::Install::Share manpage to the
ExtUtils::MakeMaker manpage with the improvement of only installing the
-files you want; '.svn' and other source-control junk will be ignored.
+files you want; '.svn', '.git' and other source-control junk will be
+ignored.
+
+Please note that this module installs read-only data files; empty
+directories will be ignored.
%prep
%setup -q -n %{cpan_name}-%{version}
++++++ File-ShareDir-Install-0.05.tar.gz -> File-ShareDir-Install-0.08.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-ShareDir-Install-0.05/Changes new/File-ShareDir-Install-0.08/Changes
--- old/File-ShareDir-Install-0.05/Changes 2013-09-03 20:46:08.000000000 +0200
+++ new/File-ShareDir-Install-0.08/Changes 2014-01-29 16:33:45.000000000 +0100
@@ -1,5 +1,17 @@
Revision history for Perl extension File::ShareDir::Install.
+0.08 Jan 29 2015
+ - Tests may now be run in parallel
+ Thank you KENTNL(a)cpan.org
+
+0.07 Jan 17 2014
+ - Added delete_share
+ Thank you dmuey(a)cpan.org
+
+0.06 Jan 16 2014
+ - Added $INCLUDE_DOTFILES and $INCLUDE_DOTDIRS
+ Thank you sharyanto(a)cpan.org
+
0.05 Sep 3 2013
- Tweak doco and fix typos
Thank you dsteinbrunner(a)pobox.com
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-ShareDir-Install-0.05/MANIFEST new/File-ShareDir-Install-0.08/MANIFEST
--- old/File-ShareDir-Install-0.05/MANIFEST 2013-09-03 20:47:14.000000000 +0200
+++ new/File-ShareDir-Install-0.08/MANIFEST 2014-01-29 16:42:25.000000000 +0100
@@ -1,15 +1,21 @@
Changes
-Makefile.PL
MANIFEST
+Makefile.PL
README
lib/File/ShareDir/Install.pm
-t/module/again
-t/module/deeper/bonk
-t/module/bonk
-t/share/honk
t/00_compile.t
t/01_pod.t
t/02_pod_coverage.t
t/10_makefile.t
+t/11_dotfile.t
+t/module/.dir/something
+t/module/.something
+t/module/again
+t/module/bonk
+t/module/deeper/bonk
+t/share/.dir/something
+t/share/.something
+t/share/honk
+t/12_delete.t
META.yml Module YAML meta-data (added by MakeMaker)
META.json Module JSON meta-data (added by MakeMaker)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-ShareDir-Install-0.05/META.json new/File-ShareDir-Install-0.08/META.json
--- old/File-ShareDir-Install-0.05/META.json 2013-09-03 20:47:14.000000000 +0200
+++ new/File-ShareDir-Install-0.08/META.json 2014-01-29 16:42:24.000000000 +0100
@@ -39,5 +39,5 @@
}
},
"release_status" : "stable",
- "version" : "0.05"
+ "version" : "0.08"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-ShareDir-Install-0.05/META.yml new/File-ShareDir-Install-0.08/META.yml
--- old/File-ShareDir-Install-0.05/META.yml 2013-09-03 20:47:14.000000000 +0200
+++ new/File-ShareDir-Install-0.08/META.yml 2014-01-29 16:42:24.000000000 +0100
@@ -21,4 +21,4 @@
ExtUtils::MakeMaker: 6.11
File::Spec: 0
IO::Dir: 0
-version: 0.05
+version: 0.08
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-ShareDir-Install-0.05/lib/File/ShareDir/Install.pm new/File-ShareDir-Install-0.08/lib/File/ShareDir/Install.pm
--- old/File-ShareDir-Install-0.05/lib/File/ShareDir/Install.pm 2013-09-03 20:46:24.000000000 +0200
+++ new/File-ShareDir-Install-0.08/lib/File/ShareDir/Install.pm 2014-01-29 16:38:01.000000000 +0100
@@ -9,53 +9,120 @@
use File::Spec;
use IO::Dir;
-our $VERSION = '0.05';
+our $VERSION = '0.08';
our @DIRS;
-our %TYPES;
+our %ALREADY;
require Exporter;
our @ISA = qw( Exporter );
-our @EXPORT = qw( install_share );
-our @EXPORT_OK = qw( postamble install_share );
+our @EXPORT = qw( install_share delete_share );
+our @EXPORT_OK = qw( postamble install_share delete_share );
+our $INCLUDE_DOTFILES = 0;
+our $INCLUDE_DOTDIRS = 0;
#####################################################################
sub install_share
{
my $dir = @_ ? pop : 'share';
my $type = @_ ? shift : 'dist';
- unless ( defined $type and $type eq 'module' or $type eq 'dist' ) {
+ unless ( defined $type and
+ ( $type =~ /^(module|dist)$/ ) ) {
confess "Illegal or invalid share dir type '$type'";
}
- unless ( defined $dir and -d $dir ) {
- confess "Illegal or missing directory '$dir'";
+
+ if( $type eq 'dist' and @_ ) {
+ confess "Too many parameters to install_share";
+ }
+
+ my $def = _mk_def( $type );
+ _add_module( $def, $_[0] );
+
+ _add_dir( $def, $dir );
+}
+
+
+#####################################################################
+sub delete_share
+{
+ my $dir = @_ ? pop : '';
+ my $type = @_ ? shift : 'dist';
+ unless ( defined $type and
+ ( $type =~ /^(module|dist)$/ ) ) {
+ confess "Illegal or invalid share dir type '$type'";
}
if( $type eq 'dist' and @_ ) {
- confess "Too many parameters to share_dir";
+ confess "Too many parameters to delete_share";
}
- push @DIRS, $dir;
- $TYPES{$dir} = [ $type ];
- if( $type eq 'module' ) {
- my $module = _CLASS( $_[0] );
+ my $def = _mk_def( "delete-$type" );
+ _add_module( $def, $_[0] );
+ _add_dir( $def, $dir );
+}
+
+
+
+#
+# Build a task definition
+sub _mk_def
+{
+ my( $type ) = @_;
+ return { type=>$type,
+ dotfiles => $INCLUDE_DOTFILES,
+ dotdirs => $INCLUDE_DOTDIRS
+ };
+}
+
+#
+# Add the module to a task definition
+sub _add_module
+{
+ my( $def, $class ) = @_;
+ if( $def->{type} =~ /module$/ ) {
+ my $module = _CLASS( $class );
unless ( defined $module ) {
confess "Missing or invalid module name '$_[0]'";
}
- push @{ $TYPES{$dir} }, $module;
+ $def->{module} = $module;
}
-
}
+#
+# Add directories to a task definition
+# Save the definition
+sub _add_dir
+{
+ my( $def, $dir ) = @_;
+
+ $dir = [ $dir ] unless ref $dir;
+
+ my $del = 0;
+ $del = 1 if $def->{type} =~ /^delete-/;
+
+ foreach my $d ( @$dir ) {
+ unless ( $del or (defined $d and -d $d) ) {
+ confess "Illegal or missing directory '$d'";
+ }
+ if( not $del and $ALREADY{ $d }++ ) {
+ confess "Directory '$d' is already being installed";
+ }
+ push @DIRS, { %$def };
+ $DIRS[-1]{dir} = $d;
+ }
+}
+
+
#####################################################################
+# Build the postamble section
sub postamble
{
my $self = shift;
my @ret; # = $self->SUPER::postamble( @_ );
- foreach my $dir ( @DIRS ) {
- push @ret, __postamble_share_dir( $self, $dir, @{ $TYPES{ $dir } } );
+ foreach my $def ( @DIRS ) {
+ push @ret, __postamble_share_dir( $self, $def );
}
return join "\n", @ret;
}
@@ -63,33 +130,40 @@
#####################################################################
sub __postamble_share_dir
{
- my( $self, $dir, $type, $mod ) = @_;
+ my( $self, $def ) = @_;
+
+ my $dir = $def->{dir};
+ $DB::single = 1;
my( $idir );
- if ( $type eq 'dist' ) {
- $idir = File::Spec->catdir( '$(INST_LIB)',
- qw( auto share dist ),
- '$(DISTNAME)'
- );
+
+ if( $def->{type} eq 'delete-dist' ) {
+ $idir = File::Spec->catdir( _dist_dir(), $dir );
}
- else {
- my $module = $mod;
- $module =~ s/::/-/g;
- $idir = File::Spec->catdir( '$(INST_LIB)',
- qw( auto share module ),
- $module
- );
+ elsif( $def->{type} eq 'delete-module' ) {
+ $idir = File::Spec->catdir( _module_dir( $def ), $dir );
+ }
+ elsif ( $def->{type} eq 'dist' ) {
+ $idir = _dist_dir();
+ }
+ else { # delete-share and share
+ $idir = _module_dir( $def );
}
- my $files = {};
- _scan_share_dir( $files, $idir, $dir );
-
- my $autodir = '$(INST_LIB)';
- my $pm_to_blib = $self->oneliner(<<CODE, ['-MExtUtils::Install']);
+ my @cmds;
+ if( $def->{type} =~ /^delete-/ ) {
+ @cmds = "\$(RM_RF) $idir";
+ }
+ else {
+ my $autodir = '$(INST_LIB)';
+ my $pm_to_blib = $self->oneliner(<<CODE, ['-MExtUtils::Install']);
pm_to_blib({\@ARGV}, '$autodir')
CODE
- my @cmds = $self->split_command( $pm_to_blib, %$files );
+ my $files = {};
+ _scan_share_dir( $files, $idir, $dir, $def );
+ @cmds = $self->split_command( $pm_to_blib, %$files );
+ }
my $r = join '', map { "\t\$(NOECHO) $_\n" } @cmds;
@@ -99,19 +173,49 @@
return "config::\n$r";
}
+# Get the per-dist install directory.
+# We depend on the Makefile for most of the info
+sub _dist_dir
+{
+ return File::Spec->catdir( '$(INST_LIB)',
+ qw( auto share dist ),
+ '$(DISTNAME)'
+ );
+}
+
+# Get the per-module install directory
+# We depend on the Makefile for most of the info
+sub _module_dir
+{
+ my( $def ) = @_;
+ my $module = $def->{module};
+ $module =~ s/::/-/g;
+ return File::Spec->catdir( '$(INST_LIB)',
+ qw( auto share module ),
+ $module
+ );
+}
sub _scan_share_dir
{
- my( $files, $idir, $dir ) = @_;
+ my( $files, $idir, $dir, $def ) = @_;
my $dh = IO::Dir->new( $dir ) or die "Unable to read $dir: $!";
my $entry;
while( defined( $entry = $dh->read ) ) {
- next if $entry =~ /^\./ or $entry =~ /(~|,v)$/;
+ next if $entry =~ /(~|,v|#)$/;
my $full = File::Spec->catfile( $dir, $entry );
if( -f $full ) {
+ next if not $def->{dotfiles} and $entry =~ /^\./;
$files->{ $full } = File::Spec->catfile( $idir, $entry );
}
elsif( -d $full ) {
+ if( $def->{dotdirs} ) {
+ next if $entry eq '.' or $entry eq '..' or
+ $entry =~ /^\.(svn|git|cvs)$/;
+ }
+ else {
+ next if $entry =~ /^\./;
+ }
_scan_share_dir( $files, File::Spec->catdir( $idir, $entry ), $full );
}
}
@@ -158,9 +262,12 @@
allows you to locate these files after installation.
It is a port of L<Module::Install::Share> to L<ExtUtils::MakeMaker> with the
-improvement of only installing the files you want; C<.svn> and other
+improvement of only installing the files you want; C<.svn>, C<.git> and other
source-control junk will be ignored.
+Please note that this module installs read-only data files; empty
+directories will be ignored.
+
=head1 EXPORT
=head2 install_share
@@ -173,14 +280,18 @@
into a per-dist or per-module share directory. Must be called before
L<WriteMakefile>.
-The first 2 forms are equivalent.
-
-The files will be installed when you run C<make install>.
+The first 2 forms are equivalent; the files are installed in a per-distribution
+directory. For example C</usr/lib/perl5/site_perl/auto/share/dist/My-Dist>. The
+name of that directory can be recovered with L<File::ShareDir/dist_dir>.
+
+The last form installs files in a per-module directory. For example
+C</usr/lib/perl5/site_perl/auto/share/module/My-Dist-Package>. The name of that
+directory can be recovered with L<File::ShareDir/module_dir>.
-To locate the files after installation so they can be used inside your
-module, see L<File::ShareDir>.
+The parameter C<$dir> may be an array of directories.
- my $dir = File::ShareDir::module_dir( $module );
+The files will be installed when you run C<make install>. However, the list
+of files to install is generated when Makefile.PL is run.
Note that if you make multiple calls to C<install_share> on different
directories that contain the same filenames, the last of these calls takes
@@ -189,13 +300,45 @@
install_share 'share1';
install_share 'share2';
-And both C<share1> and C<share2> contain a fill called C<info>, the file
-C<share2/info> will be installed into your C<dist_dir()>.
+And both C<share1> and C<share2> contain a file called C<info.txt>, the file
+C<share2/info.txt> will be installed into your C<dist_dir()>.
+
+=head2 delete_share
+
+ delete_share $list;
+ delete_share dist => $list;
+ delete_share module => $module, $list;
+
+Remove previously installed files or directories.
+
+Unlike L</install_share>, the last parameter is a list of files or
+directories that were previously installed. These files and directories will
+be deleted when you run C<make install>.
+
+The parameter C<$list> may be an array of files or directories.
+
+Deletion happens in-order along with installation. This means that you may
+delete all previously installed files by putting the following at the top of
+your Makefile.PL.
+
+ delete_share '.';
+
+You can also selectively remove some files from installation.
+
+ install_share 'some-dir';
+ if( ... ) {
+ delete_share 'not-this-file.rc';
+ }
=head2 postamble
-Exported into the MY package. Only documented here if you need to write your
-own postamble.
+This function must be exported into the MY package. You will normaly do this
+with the following.
+
+ package MY;
+ use File::ShareDir::Install qw( postamble );
+
+If you need to overload postamble, use the following.
package MY;
use File::ShareDir::Install;
@@ -207,6 +350,44 @@
return join "\n", @ret;
}
+=head1 CONFIGURATION
+
+2 variables control the handling of dot-files and dot-directories.
+
+A dot-file has a filename that starts with a period (.). For example
+C<.htaccess>. A dot-directory (or dot-dir) is a directory that starts with a
+period (.). For example C<.config/>. Not all filesystems support the use
+of dot-files.
+
+=head2 $INCLUDE_DOTFILES
+
+If set to a true value, dot-files will be copied. Default is false.
+
+=head2 $INCLUDE_DOTDIRS
+
+If set to a true value, the files inside dot-directories will be copied.
+Known version control directories are still ignored. Default is false.
+
+=head2 Note
+
+These variables only influence subsequent calls to C<install_share()>. This allows
+you to control the behaviour for each directory.
+
+For example:
+
+ $INCLUDE_DOTDIRS = 1;
+ install_share 'share1';
+ $INCLUDE_DOTFILES = 1;
+ $INCLUDE_DOTDIRS = 0;
+ install_share 'share2';
+
+The directory C<share1> will have files in its dot-directories installed,
+but not dot-files. The directory C<share2> will have files in its dot-files
+installed, but dot-directories will be ignored.
+
+
+
+
=head1 SEE ALSO
L<File::ShareDir>, L<Module::Install>.
@@ -217,7 +398,7 @@
=head1 COPYRIGHT AND LICENSE
-Copyright (C) 2009-2011 by Philip Gwyn
+Copyright (C) 2009-2014 by Philip Gwyn
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.8.8 or,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-ShareDir-Install-0.05/t/02_pod_coverage.t new/File-ShareDir-Install-0.08/t/02_pod_coverage.t
--- old/File-ShareDir-Install-0.05/t/02_pod_coverage.t 2010-10-19 21:03:02.000000000 +0200
+++ new/File-ShareDir-Install-0.08/t/02_pod_coverage.t 2014-01-17 19:50:16.000000000 +0100
@@ -11,8 +11,6 @@
pod_coverage_ok(
"File::ShareDir::Install",
{ also_private => [
-# qr/^(OH|SE)_.+$/,
-# qr/^(handler_for|instantiate|set_objectre)$/
],
},
"File::ShareDir::Install, ignoring private functions",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-ShareDir-Install-0.05/t/10_makefile.t new/File-ShareDir-Install-0.08/t/10_makefile.t
--- old/File-ShareDir-Install-0.05/t/10_makefile.t 2011-08-26 19:40:55.000000000 +0200
+++ new/File-ShareDir-Install-0.08/t/10_makefile.t 2014-01-29 16:37:02.000000000 +0100
@@ -6,15 +6,15 @@
use Config;
use File::Path qw( rmtree );
-use Test::More ( tests => 15 );
+use Test::More ( tests => 16 );
use ExtUtils::MakeMaker;
-my $FILE = 'test-Makefile';
-rmtree( [ qw( tlib troot ) ], 0, 0 );
+my $FILE = "test-$$-Makefile";
+rmtree( [ "tlib-$$", "troot-$$" ], 0, 0 );
END {
$FILE and -f $FILE and unlink $FILE;
- rmtree( [ qw( tlib troot ) ], 0, 0 );
+ rmtree( [ "tlib-$$", "troot-$$" ], 0, 0 );
}
use File::ShareDir::Install;
@@ -29,8 +29,8 @@
WriteMakefile(
NAME => 'File::ShareDir::Install',
VERSION_FROM => 'lib/File/ShareDir/Install.pm',
- INST_LIB => 'tlib/lib',
- PREFIX => 'troot',
+ INST_LIB => "tlib-$$/lib",
+ PREFIX => "troot-$$",
MAKEFILE => $FILE,
PREREQ_PM => {},
($] >= 5.005 ?
@@ -55,9 +55,11 @@
ok( $content =~ m(t.module.again.+share.module.My-Test.again), "Shared by module again" );
ok( $content =~ m(t.module.deeper.bonk.+share.module.My-Test.deeper.bonk), "Shared by module in subdirectory" );
+ok( $content !~ m(t.share.\.something), "Don't share dot files" );
+
#####
mysystem( $Config{make}, '-f', $FILE );
-my $TOP = "tlib/lib/auto/share";
+my $TOP = "tlib-$$/lib/auto/share";
ok( -f "$TOP/dist/File-ShareDir-Install/honk", "Copied to blib for dist" );
ok( -f "$TOP/module/My-Test/bonk", "Copied to blib for module" );
ok( -f "$TOP/module/My-Test/again", "Copied to blib for module again" );
@@ -77,7 +79,7 @@
}
else {
$TOP = "$1/auto/share";
- $TOP =~ s/\$\(SITEPREFIX\)/troot/;
+ $TOP =~ s/\$\(SITEPREFIX\)/troot-$$/;
ok( -f "$TOP/dist/File-ShareDir-Install/honk", "Copied to blib for dist" );
ok( -f "$TOP/module/My-Test/bonk", "Copied to blib for module" );
ok( -f "$TOP/module/My-Test/again", "Copied to blib for module again" );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-ShareDir-Install-0.05/t/11_dotfile.t new/File-ShareDir-Install-0.08/t/11_dotfile.t
--- old/File-ShareDir-Install-0.05/t/11_dotfile.t 1970-01-01 01:00:00.000000000 +0100
+++ new/File-ShareDir-Install-0.08/t/11_dotfile.t 2014-01-29 16:36:16.000000000 +0100
@@ -0,0 +1,84 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use Config;
+
+use File::Path qw( rmtree );
+use Test::More ( tests => 9 );
+
+use ExtUtils::MakeMaker;
+
+my $FILE = "test-$$-Makefile";
+rmtree( [ "tlib-$$", "troot-$$" ], 0, 0 );
+END {
+ $FILE and -f $FILE and unlink $FILE;
+ rmtree( [ "tlib-$$", "troot-$$" ], 0, 0 );
+}
+
+use File::ShareDir::Install;
+
+$File::ShareDir::Install::INCLUDE_DOTFILES = 1;
+install_share 't/share';
+$File::ShareDir::Install::INCLUDE_DOTFILES = 0;
+$File::ShareDir::Install::INCLUDE_DOTDIRS = 1;
+install_share module => 'My::Test' => 't/module';
+
+
+delete $ENV{PERL_MM_OPT}; # local::lib + PREFIX below will FAIL
+# XXX maybe we should just remove INSTALL_BASE=[^ ]+ from PERL_MM_OPT?
+
+WriteMakefile(
+ NAME => 'File::ShareDir::Install',
+ VERSION_FROM => 'lib/File/ShareDir/Install.pm',
+ INST_LIB => "tlib-$$/lib",
+ PREFIX => "troot-$$",
+ MAKEFILE => $FILE,
+ PREREQ_PM => {},
+ ($] >= 5.005 ?
+ (ABSTRACT_FROM => 'lib/File/ShareDir/Install.pm',
+ AUTHOR => 'Philip Gwyn <fil@localdomain>') : ()),
+);
+
+sub slurp
+{
+ local @ARGV = @_;
+ local $/;
+ local $.;
+ <>;
+};
+
+
+#####
+ok( -f $FILE, "Created $FILE" );
+my $content = slurp $FILE;
+ok( $content =~ m(t.share.\.something), "Shared a dotfile" );
+ok( $content !~ m(t.share.\.dir), " ... but not a dotdir" );
+
+ok( $content !~ m(t.module.dir), "Shared a dotdir " );
+ok( $content !~ m(t.module.something), " ... but not a dotfile " );
+
+#####
+mysystem( $Config{make}, '-f', $FILE );
+my $TOP = "tlib-$$/lib/auto/share";
+ok( -f "$TOP/dist/File-ShareDir-Install/.something", "Copied a dotfile" );
+ok( !-d "$TOP/dist/File-ShareDir-Install/.dir", " ... but not dotdir" );
+ok( -d "$TOP/module/My-Test/.dir", "Copied a dotdir" );
+ok( !-f "$TOP/module/My-Test/.something", " ... but not a dotfile" );
+
+
+#####################################
+sub mysystem
+{
+ my $cmd = join ' ', @_;
+ my $ret = qx($cmd 2>&1);
+ return unless $?;
+ die "Error running $cmd: ?=$? ret=$ret";
+}
+
+###########################################################################
+package MY;
+
+use File::ShareDir::Install qw(postamble);
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-ShareDir-Install-0.05/t/12_delete.t new/File-ShareDir-Install-0.08/t/12_delete.t
--- old/File-ShareDir-Install-0.05/t/12_delete.t 1970-01-01 01:00:00.000000000 +0100
+++ new/File-ShareDir-Install-0.08/t/12_delete.t 2014-01-29 16:36:42.000000000 +0100
@@ -0,0 +1,81 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use Config;
+
+use File::Path qw( rmtree );
+use Test::More ( tests => 7 );
+
+use ExtUtils::MakeMaker;
+
+my $FILE = "test-$$-Makefile";
+rmtree( [ "tlib-$$", "troot-$$" ], 0, 0 );
+END {
+ $FILE and -f $FILE and unlink $FILE;
+ rmtree( [ "tlib-$$", "troot-$$" ], 0, 0 );
+}
+
+use File::ShareDir::Install;
+
+install_share 't/share';
+install_share module => 'My::Test' => 't/module';
+delete_share 'module' => 'My::Test' => [ qw( again deeper ) ];
+delete_share 'dist' => 'honk';
+
+delete $ENV{PERL_MM_OPT}; # local::lib + PREFIX below will FAIL
+# XXX maybe we should just remove INSTALL_BASE=[^ ]+ from PERL_MM_OPT?
+
+WriteMakefile(
+ NAME => 'File::ShareDir::Install',
+ VERSION_FROM => 'lib/File/ShareDir/Install.pm',
+ INST_LIB => "tlib-$$/lib",
+ PREFIX => "troot-$$",
+ MAKEFILE => $FILE,
+ PREREQ_PM => {},
+ ($] >= 5.005 ?
+ (ABSTRACT_FROM => 'lib/File/ShareDir/Install.pm',
+ AUTHOR => 'Philip Gwyn <fil@localdomain>') : ()),
+);
+
+sub slurp
+{
+ local @ARGV = @_;
+ local $/;
+ local $.;
+ <>;
+};
+
+
+#####
+ok( -f $FILE, "Created $FILE" );
+my $content = slurp $FILE;
+
+ok( $content =~ /RM_RF.+module.My-Test.again/, "Remove a file" );
+ok( $content =~ /RM_RF.+module.My-Test.deeper/, "Remove a dir" );
+ok( $content =~ /RM_RF.+dist...DISTNAME..honk/, "Remove from per-dist" )
+ or die $content;
+
+
+#####
+mysystem( $Config{make}, '-f', $FILE );
+my $TOP = "tlib-$$/lib/auto/share";
+ok( -f "$TOP/module/My-Test/bonk", "Installed this file" );
+ok( !-f "$TOP/module/My-Test/again", "Removed this file" );
+ok( !-d "$TOP/dist/File-ShareDir-Install/deeper", "Removed a directory" );
+
+#####################################
+sub mysystem
+{
+ my $cmd = join ' ', @_;
+ my $ret = qx($cmd 2>&1);
+ return unless $?;
+ die "Error running $cmd: ?=$? ret=$ret";
+}
+
+###########################################################################
+package MY;
+
+use File::ShareDir::Install qw(postamble);
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-ShareDir-Install-0.05/t/module/.dir/something new/File-ShareDir-Install-0.08/t/module/.dir/something
--- old/File-ShareDir-Install-0.05/t/module/.dir/something 1970-01-01 01:00:00.000000000 +0100
+++ new/File-ShareDir-Install-0.08/t/module/.dir/something 2014-01-16 20:28:18.000000000 +0100
@@ -0,0 +1 @@
+Thu Jan 16 14:28:18 EST 2014
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-ShareDir-Install-0.05/t/module/.something new/File-ShareDir-Install-0.08/t/module/.something
--- old/File-ShareDir-Install-0.05/t/module/.something 1970-01-01 01:00:00.000000000 +0100
+++ new/File-ShareDir-Install-0.08/t/module/.something 2014-01-16 20:24:28.000000000 +0100
@@ -0,0 +1 @@
+Thu Jan 16 14:24:28 EST 2014
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-ShareDir-Install-0.05/t/share/.dir/something new/File-ShareDir-Install-0.08/t/share/.dir/something
--- old/File-ShareDir-Install-0.05/t/share/.dir/something 1970-01-01 01:00:00.000000000 +0100
+++ new/File-ShareDir-Install-0.08/t/share/.dir/something 2014-01-16 20:28:28.000000000 +0100
@@ -0,0 +1 @@
+Thu Jan 16 14:28:28 EST 2014
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-ShareDir-Install-0.05/t/share/.something new/File-ShareDir-Install-0.08/t/share/.something
--- old/File-ShareDir-Install-0.05/t/share/.something 1970-01-01 01:00:00.000000000 +0100
+++ new/File-ShareDir-Install-0.08/t/share/.something 2014-01-16 20:03:44.000000000 +0100
@@ -0,0 +1 @@
+Thu Jan 16 14:03:44 EST 2014
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package perl-ExtUtils-CChecker for openSUSE:Factory checked in at 2014-02-28 19:00:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-ExtUtils-CChecker (Old)
and /work/SRC/openSUSE:Factory/.perl-ExtUtils-CChecker.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-ExtUtils-CChecker"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-ExtUtils-CChecker/perl-ExtUtils-CChecker.changes 2013-06-06 15:02:20.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-ExtUtils-CChecker.new/perl-ExtUtils-CChecker.changes 2014-02-28 19:00:38.000000000 +0100
@@ -1,0 +2,7 @@
+Mon Feb 24 06:09:59 UTC 2014 - coolo(a)suse.com
+
+- updated to 0.09
+ * Add a 'quiet' option so EU:CB's quiet can be disabled (RT91363)
+ * Fixed some typoes in docs
+
+-------------------------------------------------------------------
Old:
----
ExtUtils-CChecker-0.08.tar.gz
New:
----
ExtUtils-CChecker-0.09.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-ExtUtils-CChecker.spec ++++++
--- /var/tmp/diff_new_pack.QjJzrg/_old 2014-02-28 19:00:39.000000000 +0100
+++ /var/tmp/diff_new_pack.QjJzrg/_new 2014-02-28 19:00:39.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-ExtUtils-CChecker
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,10 +17,10 @@
Name: perl-ExtUtils-CChecker
-Version: 0.08
+Version: 0.09
Release: 0
%define cpan_name ExtUtils-CChecker
-Summary: Configure-time utilities for using C headers,
+Summary: Configure-time utilities for using C headers
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/ExtUtils-CChecker/
@@ -32,12 +32,11 @@
BuildRequires: perl(ExtUtils::CBuilder)
BuildRequires: perl(Module::Build)
BuildRequires: perl(Test::Fatal)
-#BuildRequires: perl(ExtUtils::CChecker)
Requires: perl(ExtUtils::CBuilder)
%{perl_requires}
%description
-Often Perl modules are written to wrap functionallity found in existing C
+Often Perl modules are written to wrap functionality found in existing C
headers, libraries, or to use OS-specific features. It is useful in the
_Build.PL_ or _Makefile.PL_ file to check for the existance of these
requirements before attempting to actually build the module.
++++++ ExtUtils-CChecker-0.08.tar.gz -> ExtUtils-CChecker-0.09.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-CChecker-0.08/Changes new/ExtUtils-CChecker-0.09/Changes
--- old/ExtUtils-CChecker-0.08/Changes 2012-03-25 18:51:07.000000000 +0200
+++ new/ExtUtils-CChecker-0.09/Changes 2013-12-12 18:12:43.000000000 +0100
@@ -1,5 +1,10 @@
Revision history for ExtUtils-CChecker
+0.09 2013/12/12 17:10:39
+ [CHANGES]
+ * Add a 'quiet' option so EU:CB's quiet can be disabled (RT91363)
+ * Fixed some typoes in docs
+
0.08 CHANGES:
* Include PID in test file names to guard against collisions when
building concurrently (RT76013)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-CChecker-0.08/LICENSE new/ExtUtils-CChecker-0.09/LICENSE
--- old/ExtUtils-CChecker-0.08/LICENSE 2012-03-25 18:51:07.000000000 +0200
+++ new/ExtUtils-CChecker-0.09/LICENSE 2013-12-12 18:12:43.000000000 +0100
@@ -1,4 +1,4 @@
-This software is copyright (c) 2012 by Paul Evans <leonerd(a)leonerd.org.uk>.
+This software is copyright (c) 2013 by Paul Evans <leonerd(a)leonerd.org.uk>.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
@@ -12,7 +12,7 @@
--- The GNU General Public License, Version 1, February 1989 ---
-This software is Copyright (c) 2012 by Paul Evans <leonerd(a)leonerd.org.uk>.
+This software is Copyright (c) 2013 by Paul Evans <leonerd(a)leonerd.org.uk>.
This is free software, licensed under:
@@ -272,7 +272,7 @@
--- The Artistic License 1.0 ---
-This software is Copyright (c) 2012 by Paul Evans <leonerd(a)leonerd.org.uk>.
+This software is Copyright (c) 2013 by Paul Evans <leonerd(a)leonerd.org.uk>.
This is free software, licensed under:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-CChecker-0.08/MANIFEST new/ExtUtils-CChecker-0.09/MANIFEST
--- old/ExtUtils-CChecker-0.08/MANIFEST 2012-03-25 18:51:07.000000000 +0200
+++ new/ExtUtils-CChecker-0.09/MANIFEST 2013-12-12 18:12:43.000000000 +0100
@@ -4,6 +4,7 @@
LICENSE
Makefile.PL
MANIFEST This list of files
+META.json
META.yml
README
t/00use.t
@@ -13,4 +14,3 @@
t/04module_build.t
t/05defines_to.t
t/99pod.t
-META.json
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-CChecker-0.08/META.json new/ExtUtils-CChecker-0.09/META.json
--- old/ExtUtils-CChecker-0.08/META.json 2012-03-25 18:51:07.000000000 +0200
+++ new/ExtUtils-CChecker-0.09/META.json 2013-12-12 18:12:43.000000000 +0100
@@ -1,10 +1,10 @@
{
- "abstract" : "configure-time utilities for using C headers,\nlibraries, or OS features",
+ "abstract" : "configure-time utilities for using C headers,",
"author" : [
"Paul Evans <leonerd(a)leonerd.org.uk>"
],
"dynamic_config" : 1,
- "generated_by" : "Module::Build version 0.38, CPAN::Meta::Converter version 2.120630",
+ "generated_by" : "Module::Build version 0.4007, CPAN::Meta::Converter version 2.132830",
"license" : [
"perl_5"
],
@@ -30,7 +30,7 @@
"provides" : {
"ExtUtils::CChecker" : {
"file" : "lib/ExtUtils/CChecker.pm",
- "version" : "0.08"
+ "version" : "0.09"
}
},
"release_status" : "stable",
@@ -39,5 +39,5 @@
"http://dev.perl.org/licenses/"
]
},
- "version" : "0.08"
+ "version" : "0.09"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-CChecker-0.08/META.yml new/ExtUtils-CChecker-0.09/META.yml
--- old/ExtUtils-CChecker-0.08/META.yml 2012-03-25 18:51:07.000000000 +0200
+++ new/ExtUtils-CChecker-0.09/META.yml 2013-12-12 18:12:43.000000000 +0100
@@ -1,5 +1,5 @@
---
-abstract: "configure-time utilities for using C headers,\nlibraries, or OS features"
+abstract: 'configure-time utilities for using C headers,'
author:
- 'Paul Evans <leonerd(a)leonerd.org.uk>'
build_requires:
@@ -7,7 +7,7 @@
Test::Fatal: 0
Test::More: 0
dynamic_config: 1
-generated_by: 'Module::Build version 0.38, CPAN::Meta::Converter version 2.120630'
+generated_by: 'Module::Build version 0.4007, CPAN::Meta::Converter version 2.132830'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -16,9 +16,9 @@
provides:
ExtUtils::CChecker:
file: lib/ExtUtils/CChecker.pm
- version: 0.08
+ version: 0.09
requires:
ExtUtils::CBuilder: 0
resources:
license: http://dev.perl.org/licenses/
-version: 0.08
+version: 0.09
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-CChecker-0.08/Makefile.PL new/ExtUtils-CChecker-0.09/Makefile.PL
--- old/ExtUtils-CChecker-0.08/Makefile.PL 2012-03-25 18:51:07.000000000 +0200
+++ new/ExtUtils-CChecker-0.09/Makefile.PL 2013-12-12 18:12:43.000000000 +0100
@@ -1,4 +1,4 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.3800
+# Note: this file was auto-generated by Module::Build::Compat version 0.4007
use ExtUtils::MakeMaker;
WriteMakefile
(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-CChecker-0.08/README new/ExtUtils-CChecker-0.09/README
--- old/ExtUtils-CChecker-0.08/README 2012-03-25 18:51:07.000000000 +0200
+++ new/ExtUtils-CChecker-0.09/README 2013-12-12 18:12:43.000000000 +0100
@@ -24,9 +24,9 @@
)->create_build_script;
DESCRIPTION
- Often Perl modules are written to wrap functionallity found in existing
- C headers, libraries, or to use OS-specific features. It is useful in
- the Build.PL or Makefile.PL file to check for the existance of these
+ Often Perl modules are written to wrap functionality found in existing C
+ headers, libraries, or to use OS-specific features. It is useful in the
+ Build.PL or Makefile.PL file to check for the existance of these
requirements before attempting to actually build the module.
Objects in this class provide an extension around ExtUtils::CBuilder to
@@ -39,7 +39,7 @@
CONSTRUCTOR
$cc = ExtUtils::CChecker->new( %args )
- Returns a new instance of a `ExtUtils::CChecker' object. Takes teh
+ Returns a new instance of a `ExtUtils::CChecker' object. Takes the
following named parameters:
defines_to => PATH
@@ -47,6 +47,12 @@
file of the given name, instead of by adding extra `-D*SYMBOL*'
arguments to the compiler flags.
+ quiet => BOOL
+ If given, sets the `quiet' option to the underlying
+ `ExtUtils::CBuilder' instance. If absent, defaults to enabled.
+ To disable quietness, i.e. to print more verbosely, pass a
+ defined-but-false value, such as `0'.
+
METHODS
$dirs = $cc->include_dirs
Returns the currently-configured include directories in an ARRAY
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-CChecker-0.08/lib/ExtUtils/CChecker.pm new/ExtUtils-CChecker-0.09/lib/ExtUtils/CChecker.pm
--- old/ExtUtils-CChecker-0.08/lib/ExtUtils/CChecker.pm 2012-03-25 18:51:07.000000000 +0200
+++ new/ExtUtils-CChecker-0.09/lib/ExtUtils/CChecker.pm 2013-12-12 18:12:43.000000000 +0100
@@ -8,7 +8,7 @@
use strict;
use warnings;
-our $VERSION = '0.08';
+our $VERSION = '0.09';
use Carp;
@@ -43,7 +43,7 @@
=head1 DESCRIPTION
-Often Perl modules are written to wrap functionallity found in existing C
+Often Perl modules are written to wrap functionality found in existing C
headers, libraries, or to use OS-specific features. It is useful in the
F<Build.PL> or F<Makefile.PL> file to check for the existance of these
requirements before attempting to actually build the module.
@@ -64,7 +64,7 @@
=head2 $cc = ExtUtils::CChecker->new( %args )
-Returns a new instance of a C<ExtUtils::CChecker> object. Takes teh following
+Returns a new instance of a C<ExtUtils::CChecker> object. Takes the following
named parameters:
=over 8
@@ -75,6 +75,12 @@
the given name, instead of by adding extra C<-DI<SYMBOL>> arguments to the
compiler flags.
+=item quiet => BOOL
+
+If given, sets the C<quiet> option to the underlying C<ExtUtils::CBuilder>
+instance. If absent, defaults to enabled. To disable quietness, i.e. to print
+more verbosely, pass a defined-but-false value, such as C<0>.
+
=back
=cut
@@ -84,7 +90,10 @@
my $class = shift;
my %args = @_;
- my $cb = ExtUtils::CBuilder->new( quiet => 1 );
+ my $quiet = 1;
+ $quiet = 0 if defined $args{quiet} and !$args{quiet};
+
+ my $cb = ExtUtils::CBuilder->new( quiet => $quiet );
return bless {
cb => $cb,
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package perl-Email-Simple for openSUSE:Factory checked in at 2014-02-28 19:00:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Email-Simple (Old)
and /work/SRC/openSUSE:Factory/.perl-Email-Simple.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Email-Simple"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Email-Simple/perl-Email-Simple.changes 2014-02-22 18:11:50.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Email-Simple.new/perl-Email-Simple.changes 2014-02-28 19:00:30.000000000 +0100
@@ -1,0 +2,7 @@
+Mon Feb 24 06:29:48 UTC 2014 - coolo(a)suse.com
+
+- updated to 2.203
+ - translate vertical whitespace in headers into horizontal whitespace,
+ with a warning
+
+-------------------------------------------------------------------
Old:
----
Email-Simple-2.202.tar.gz
New:
----
Email-Simple-2.203.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Email-Simple.spec ++++++
--- /var/tmp/diff_new_pack.GxNb0E/_old 2014-02-28 19:00:31.000000000 +0100
+++ /var/tmp/diff_new_pack.GxNb0E/_new 2014-02-28 19:00:31.000000000 +0100
@@ -17,7 +17,7 @@
Name: perl-Email-Simple
-Version: 2.202
+Version: 2.203
Release: 0
%define cpan_name Email-Simple
Summary: Simple parsing of RFC2822 message format and headers
@@ -29,12 +29,8 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(Capture::Tiny)
BuildRequires: perl(Email::Date::Format)
BuildRequires: perl(Test::More) >= 0.96
-#BuildRequires: perl(Email::Simple)
-#BuildRequires: perl(Email::Simple::Creator)
-#BuildRequires: perl(Email::Simple::Header)
Requires: perl(Email::Date::Format)
%{perl_requires}
++++++ Email-Simple-2.202.tar.gz -> Email-Simple-2.203.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.202/Changes new/Email-Simple-2.203/Changes
--- old/Email-Simple-2.202/Changes 2013-09-04 15:48:39.000000000 +0200
+++ new/Email-Simple-2.203/Changes 2014-02-15 03:56:18.000000000 +0100
@@ -1,5 +1,9 @@
Revision history for Perl extension Email::Simple
+2.203 2014-02-14 21:56:14-05:00 America/New_York
+ - translate vertical whitespace in headers into horizontal whitespace,
+ with a warning
+
2.202 2013-09-04 09:48:33 America/New_York
repackage with Dist::Zilla; update repo and bug tracker
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.202/MANIFEST new/Email-Simple-2.203/MANIFEST
--- old/Email-Simple-2.202/MANIFEST 2013-09-04 15:48:39.000000000 +0200
+++ new/Email-Simple-2.203/MANIFEST 2014-02-15 03:56:18.000000000 +0100
@@ -1,3 +1,4 @@
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.013.
Changes
LICENSE
MANIFEST
@@ -9,7 +10,6 @@
lib/Email/Simple.pm
lib/Email/Simple/Creator.pm
lib/Email/Simple/Header.pm
-t/00-compile.t
t/000-report-versions-tiny.t
t/badly-folded.t
t/basic.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.202/META.json new/Email-Simple-2.203/META.json
--- old/Email-Simple-2.202/META.json 2013-09-04 15:48:39.000000000 +0200
+++ new/Email-Simple-2.203/META.json 2014-02-15 03:56:18.000000000 +0100
@@ -6,7 +6,7 @@
"Ricardo SIGNES"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 4.300035, CPAN::Meta::Converter version 2.132140",
+ "generated_by" : "Dist::Zilla version 5.013, CPAN::Meta::Converter version 2.133380",
"license" : [
"perl_5"
],
@@ -38,9 +38,7 @@
},
"test" : {
"requires" : {
- "Capture::Tiny" : "0",
- "Test::More" : "0.96",
- "blib" : "0"
+ "Test::More" : "0.96"
}
}
},
@@ -56,116 +54,146 @@
"web" : "https://github.com/rjbs/Email-Simple"
}
},
- "version" : "2.202",
+ "version" : "2.203",
"x_Dist_Zilla" : {
"perl" : {
- "version" : "5.019003"
+ "version" : "5.018002"
},
"plugins" : [
{
"class" : "Dist::Zilla::Plugin::Git::GatherDir",
"name" : "@RJBS/Git::GatherDir",
- "version" : "2.014"
+ "version" : "2.019"
},
{
"class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed",
"name" : "@RJBS/CheckPrereqsIndexed",
- "version" : "0.009"
+ "version" : "0.010"
},
{
"class" : "Dist::Zilla::Plugin::CheckExtraTests",
"name" : "@RJBS/CheckExtraTests",
- "version" : "0.011"
+ "version" : "0.017"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::PromptIfStale",
+ "config" : {
+ "Dist::Zilla::Plugin::PromptIfStale" : {
+ "check_all_plugins" : 0,
+ "check_all_prereqs" : 0,
+ "modules" : [
+ "Dist::Zilla::PluginBundle::RJBS"
+ ],
+ "phase" : "build",
+ "skip" : []
+ }
+ },
+ "name" : "@RJBS/RJBS-Outdated",
+ "version" : "0.017"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::PromptIfStale",
+ "config" : {
+ "Dist::Zilla::Plugin::PromptIfStale" : {
+ "check_all_plugins" : "1",
+ "check_all_prereqs" : 0,
+ "modules" : [],
+ "phase" : "release",
+ "skip" : []
+ }
+ },
+ "name" : "@RJBS/CPAN-Outdated",
+ "version" : "0.017"
},
{
"class" : "Dist::Zilla::Plugin::PruneCruft",
"name" : "@RJBS/@Filter/PruneCruft",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
"name" : "@RJBS/@Filter/ManifestSkip",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@RJBS/@Filter/MetaYAML",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "@RJBS/@Filter/License",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::Readme",
"name" : "@RJBS/@Filter/Readme",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "@RJBS/@Filter/ExecDir",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::ShareDir",
"name" : "@RJBS/@Filter/ShareDir",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::MakeMaker",
"name" : "@RJBS/@Filter/MakeMaker",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@RJBS/@Filter/Manifest",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "@RJBS/@Filter/TestRelease",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@RJBS/@Filter/ConfirmRelease",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "@RJBS/@Filter/UploadToCPAN",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::AutoPrereqs",
"name" : "@RJBS/AutoPrereqs",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::Git::NextVersion",
"name" : "@RJBS/Git::NextVersion",
- "version" : "2.014"
+ "version" : "2.019"
},
{
"class" : "Dist::Zilla::Plugin::PkgVersion",
"name" : "@RJBS/PkgVersion",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@RJBS/MetaConfig",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@RJBS/MetaJSON",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::NextRelease",
"name" : "@RJBS/NextRelease",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::Test::ChangesHasContent",
@@ -175,27 +203,12 @@
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@RJBS/PodSyntaxTests",
- "version" : "4.300035"
- },
- {
- "class" : "Dist::Zilla::Plugin::Test::Compile",
- "config" : {
- "Dist::Zilla::Plugin::Test::Compile" : {
- "module_finder" : [
- ":InstallModules"
- ],
- "script_finder" : [
- ":ExecFiles"
- ]
- }
- },
- "name" : "@RJBS/Test::Compile",
- "version" : "2.018"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::ReportVersions::Tiny",
"name" : "@RJBS/ReportVersions::Tiny",
- "version" : "1.09"
+ "version" : "1.10"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -206,67 +219,180 @@
}
},
"name" : "@RJBS/TestMoreWithSubtests",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::PodWeaver",
+ "config" : {
+ "Dist::Zilla::Plugin::PodWeaver" : {
+ "config_plugins" : [
+ "@RJBS"
+ ],
+ "finder" : [
+ ":InstallModules",
+ ":ExecFiles"
+ ],
+ "plugins" : [
+ {
+ "class" : "Pod::Weaver::Plugin::EnsurePod5",
+ "name" : "@CorePrep/EnsurePod5",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Plugin::H1Nester",
+ "name" : "@CorePrep/H1Nester",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Plugin::SingleEncoding",
+ "name" : "@RJBS/SingleEncoding",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Name",
+ "name" : "@RJBS/Name",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Version",
+ "name" : "@RJBS/Version",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Region",
+ "name" : "@RJBS/Prelude",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Generic",
+ "name" : "@RJBS/Synopsis",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Generic",
+ "name" : "@RJBS/Description",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Generic",
+ "name" : "@RJBS/Overview",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Generic",
+ "name" : "@RJBS/Stability",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Collect",
+ "name" : "Attributes",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Collect",
+ "name" : "Methods",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Collect",
+ "name" : "Functions",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Leftovers",
+ "name" : "@RJBS/Leftovers",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Region",
+ "name" : "@RJBS/postlude",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Authors",
+ "name" : "@RJBS/Authors",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Section::Legal",
+ "name" : "@RJBS/Legal",
+ "version" : "4.006"
+ },
+ {
+ "class" : "Pod::Weaver::Plugin::Transformer",
+ "name" : "@RJBS/List",
+ "version" : "4.006"
+ }
+ ]
+ }
+ },
"name" : "@RJBS/PodWeaver",
- "version" : "3.101642"
+ "version" : "4.005"
},
{
"class" : "Dist::Zilla::Plugin::GithubMeta",
"name" : "@RJBS/GithubMeta",
- "version" : "0.30"
+ "version" : "0.42"
},
{
"class" : "Dist::Zilla::Plugin::Git::Check",
"name" : "@RJBS/@Git/Check",
- "version" : "2.014"
+ "version" : "2.019"
},
{
"class" : "Dist::Zilla::Plugin::Git::Commit",
"name" : "@RJBS/@Git/Commit",
- "version" : "2.014"
+ "version" : "2.019"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
"name" : "@RJBS/@Git/Tag",
- "version" : "2.014"
+ "version" : "2.019"
},
{
"class" : "Dist::Zilla::Plugin::Git::Push",
"name" : "@RJBS/@Git/Push",
- "version" : "2.014"
+ "version" : "2.019"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":IncModules",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "4.300035"
+ "version" : "5.013"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":MainModule",
- "version" : "4.300035"
+ "version" : "5.013"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":AllFiles",
+ "version" : "5.013"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":NoFiles",
+ "version" : "5.013"
}
],
"zilla" : {
@@ -274,7 +400,7 @@
"config" : {
"is_trial" : "0"
},
- "version" : "4.300035"
+ "version" : "5.013"
}
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.202/META.yml new/Email-Simple-2.203/META.yml
--- old/Email-Simple-2.202/META.yml 2013-09-04 15:48:39.000000000 +0200
+++ new/Email-Simple-2.203/META.yml 2014-02-15 03:56:18.000000000 +0100
@@ -5,13 +5,11 @@
- 'Casey West'
- 'Ricardo SIGNES'
build_requires:
- Capture::Tiny: 0
Test::More: 0.96
- blib: 0
configure_requires:
ExtUtils::MakeMaker: 6.30
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.300035, CPAN::Meta::Converter version 2.132140'
+generated_by: 'Dist::Zilla version 5.013, CPAN::Meta::Converter version 2.133380'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -27,95 +25,118 @@
bugtracker: https://github.com/rjbs/Email-Simple/issues
homepage: https://github.com/rjbs/Email-Simple
repository: https://github.com/rjbs/Email-Simple.git
-version: 2.202
+version: 2.203
x_Dist_Zilla:
perl:
- version: 5.019003
+ version: 5.018002
plugins:
-
class: Dist::Zilla::Plugin::Git::GatherDir
name: '@RJBS/Git::GatherDir'
- version: 2.014
+ version: 2.019
-
class: Dist::Zilla::Plugin::CheckPrereqsIndexed
name: '@RJBS/CheckPrereqsIndexed'
- version: 0.009
+ version: 0.010
-
class: Dist::Zilla::Plugin::CheckExtraTests
name: '@RJBS/CheckExtraTests'
- version: 0.011
+ version: 0.017
+ -
+ class: Dist::Zilla::Plugin::PromptIfStale
+ config:
+ Dist::Zilla::Plugin::PromptIfStale:
+ check_all_plugins: 0
+ check_all_prereqs: 0
+ modules:
+ - Dist::Zilla::PluginBundle::RJBS
+ phase: build
+ skip: []
+ name: '@RJBS/RJBS-Outdated'
+ version: 0.017
+ -
+ class: Dist::Zilla::Plugin::PromptIfStale
+ config:
+ Dist::Zilla::Plugin::PromptIfStale:
+ check_all_plugins: 1
+ check_all_prereqs: 0
+ modules: []
+ phase: release
+ skip: []
+ name: '@RJBS/CPAN-Outdated'
+ version: 0.017
-
class: Dist::Zilla::Plugin::PruneCruft
name: '@RJBS/@Filter/PruneCruft'
- version: 4.300035
+ version: 5.013
-
class: Dist::Zilla::Plugin::ManifestSkip
name: '@RJBS/@Filter/ManifestSkip'
- version: 4.300035
+ version: 5.013
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@RJBS/@Filter/MetaYAML'
- version: 4.300035
+ version: 5.013
-
class: Dist::Zilla::Plugin::License
name: '@RJBS/@Filter/License'
- version: 4.300035
+ version: 5.013
-
class: Dist::Zilla::Plugin::Readme
name: '@RJBS/@Filter/Readme'
- version: 4.300035
+ version: 5.013
-
class: Dist::Zilla::Plugin::ExecDir
name: '@RJBS/@Filter/ExecDir'
- version: 4.300035
+ version: 5.013
-
class: Dist::Zilla::Plugin::ShareDir
name: '@RJBS/@Filter/ShareDir'
- version: 4.300035
+ version: 5.013
-
class: Dist::Zilla::Plugin::MakeMaker
name: '@RJBS/@Filter/MakeMaker'
- version: 4.300035
+ version: 5.013
-
class: Dist::Zilla::Plugin::Manifest
name: '@RJBS/@Filter/Manifest'
- version: 4.300035
+ version: 5.013
-
class: Dist::Zilla::Plugin::TestRelease
name: '@RJBS/@Filter/TestRelease'
- version: 4.300035
+ version: 5.013
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@RJBS/@Filter/ConfirmRelease'
- version: 4.300035
+ version: 5.013
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: '@RJBS/@Filter/UploadToCPAN'
- version: 4.300035
+ version: 5.013
-
class: Dist::Zilla::Plugin::AutoPrereqs
name: '@RJBS/AutoPrereqs'
- version: 4.300035
+ version: 5.013
-
class: Dist::Zilla::Plugin::Git::NextVersion
name: '@RJBS/Git::NextVersion'
- version: 2.014
+ version: 2.019
-
class: Dist::Zilla::Plugin::PkgVersion
name: '@RJBS/PkgVersion'
- version: 4.300035
+ version: 5.013
-
class: Dist::Zilla::Plugin::MetaConfig
name: '@RJBS/MetaConfig'
- version: 4.300035
+ version: 5.013
-
class: Dist::Zilla::Plugin::MetaJSON
name: '@RJBS/MetaJSON'
- version: 4.300035
+ version: 5.013
-
class: Dist::Zilla::Plugin::NextRelease
name: '@RJBS/NextRelease'
- version: 4.300035
+ version: 5.013
-
class: Dist::Zilla::Plugin::Test::ChangesHasContent
name: '@RJBS/Test::ChangesHasContent'
@@ -123,21 +144,11 @@
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@RJBS/PodSyntaxTests'
- version: 4.300035
- -
- class: Dist::Zilla::Plugin::Test::Compile
- config:
- Dist::Zilla::Plugin::Test::Compile:
- module_finder:
- - ':InstallModules'
- script_finder:
- - ':ExecFiles'
- name: '@RJBS/Test::Compile'
- version: 2.018
+ version: 5.013
-
class: Dist::Zilla::Plugin::ReportVersions::Tiny
name: '@RJBS/ReportVersions::Tiny'
- version: 1.09
+ version: 1.10
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -145,57 +156,145 @@
phase: test
type: requires
name: '@RJBS/TestMoreWithSubtests'
- version: 4.300035
+ version: 5.013
-
class: Dist::Zilla::Plugin::PodWeaver
+ config:
+ Dist::Zilla::Plugin::PodWeaver:
+ config_plugins:
+ - '@RJBS'
+ finder:
+ - ':InstallModules'
+ - ':ExecFiles'
+ plugins:
+ -
+ class: Pod::Weaver::Plugin::EnsurePod5
+ name: '@CorePrep/EnsurePod5'
+ version: 4.006
+ -
+ class: Pod::Weaver::Plugin::H1Nester
+ name: '@CorePrep/H1Nester'
+ version: 4.006
+ -
+ class: Pod::Weaver::Plugin::SingleEncoding
+ name: '@RJBS/SingleEncoding'
+ version: 4.006
+ -
+ class: Pod::Weaver::Section::Name
+ name: '@RJBS/Name'
+ version: 4.006
+ -
+ class: Pod::Weaver::Section::Version
+ name: '@RJBS/Version'
+ version: 4.006
+ -
+ class: Pod::Weaver::Section::Region
+ name: '@RJBS/Prelude'
+ version: 4.006
+ -
+ class: Pod::Weaver::Section::Generic
+ name: '@RJBS/Synopsis'
+ version: 4.006
+ -
+ class: Pod::Weaver::Section::Generic
+ name: '@RJBS/Description'
+ version: 4.006
+ -
+ class: Pod::Weaver::Section::Generic
+ name: '@RJBS/Overview'
+ version: 4.006
+ -
+ class: Pod::Weaver::Section::Generic
+ name: '@RJBS/Stability'
+ version: 4.006
+ -
+ class: Pod::Weaver::Section::Collect
+ name: Attributes
+ version: 4.006
+ -
+ class: Pod::Weaver::Section::Collect
+ name: Methods
+ version: 4.006
+ -
+ class: Pod::Weaver::Section::Collect
+ name: Functions
+ version: 4.006
+ -
+ class: Pod::Weaver::Section::Leftovers
+ name: '@RJBS/Leftovers'
+ version: 4.006
+ -
+ class: Pod::Weaver::Section::Region
+ name: '@RJBS/postlude'
+ version: 4.006
+ -
+ class: Pod::Weaver::Section::Authors
+ name: '@RJBS/Authors'
+ version: 4.006
+ -
+ class: Pod::Weaver::Section::Legal
+ name: '@RJBS/Legal'
+ version: 4.006
+ -
+ class: Pod::Weaver::Plugin::Transformer
+ name: '@RJBS/List'
+ version: 4.006
name: '@RJBS/PodWeaver'
- version: 3.101642
+ version: 4.005
-
class: Dist::Zilla::Plugin::GithubMeta
name: '@RJBS/GithubMeta'
- version: 0.30
+ version: 0.42
-
class: Dist::Zilla::Plugin::Git::Check
name: '@RJBS/@Git/Check'
- version: 2.014
+ version: 2.019
-
class: Dist::Zilla::Plugin::Git::Commit
name: '@RJBS/@Git/Commit'
- version: 2.014
+ version: 2.019
-
class: Dist::Zilla::Plugin::Git::Tag
name: '@RJBS/@Git/Tag'
- version: 2.014
+ version: 2.019
-
class: Dist::Zilla::Plugin::Git::Push
name: '@RJBS/@Git/Push'
- version: 2.014
+ version: 2.019
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: 4.300035
+ version: 5.013
-
class: Dist::Zilla::Plugin::FinderCode
name: ':IncModules'
- version: 4.300035
+ version: 5.013
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: 4.300035
+ version: 5.013
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: 4.300035
+ version: 5.013
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: 4.300035
+ version: 5.013
-
class: Dist::Zilla::Plugin::FinderCode
name: ':MainModule'
- version: 4.300035
+ version: 5.013
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':AllFiles'
+ version: 5.013
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':NoFiles'
+ version: 5.013
zilla:
class: Dist::Zilla::Dist::Builder
config:
is_trial: 0
- version: 4.300035
+ version: 5.013
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.202/Makefile.PL new/Email-Simple-2.203/Makefile.PL
--- old/Email-Simple-2.202/Makefile.PL 2013-09-04 15:48:39.000000000 +0200
+++ new/Email-Simple-2.203/Makefile.PL 2014-02-15 03:56:18.000000000 +0100
@@ -1,4 +1,5 @@
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.013.
use strict;
use warnings;
@@ -26,41 +27,28 @@
"warnings" => 0
},
"TEST_REQUIRES" => {
- "Capture::Tiny" => 0,
- "Test::More" => "0.96",
- "blib" => 0
+ "Test::More" => "0.96"
},
- "VERSION" => "2.202",
+ "VERSION" => "2.203",
"test" => {
"TESTS" => "t/*.t"
}
);
-unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
- my $tr = delete $WriteMakefileArgs{TEST_REQUIRES};
- my $br = $WriteMakefileArgs{BUILD_REQUIRES};
- for my $mod ( keys %$tr ) {
- if ( exists $br->{$mod} ) {
- $br->{$mod} = $tr->{$mod} if $tr->{$mod} > $br->{$mod};
- }
- else {
- $br->{$mod} = $tr->{$mod};
- }
- }
-}
+my %FallbackPrereqs = (
+ "Carp" => 0,
+ "Email::Date::Format" => 0,
+ "Test::More" => "0.96",
+ "strict" => 0,
+ "warnings" => 0
+);
-unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
- my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
- my $pp = $WriteMakefileArgs{PREREQ_PM};
- for my $mod ( keys %$br ) {
- if ( exists $pp->{$mod} ) {
- $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
- }
- else {
- $pp->{$mod} = $br->{$mod};
- }
- }
+
+unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
+ delete $WriteMakefileArgs{TEST_REQUIRES};
+ delete $WriteMakefileArgs{BUILD_REQUIRES};
+ $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}
delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.202/README new/Email-Simple-2.203/README
--- old/Email-Simple-2.202/README 2013-09-04 15:48:39.000000000 +0200
+++ new/Email-Simple-2.203/README 2014-02-15 03:56:18.000000000 +0100
@@ -1,7 +1,7 @@
This archive contains the distribution Email-Simple,
-version 2.202:
+version 2.203:
simple parsing of RFC2822 message format and headers
@@ -11,3 +11,5 @@
the same terms as the Perl 5 programming language system itself.
+This README file was generated by Dist::Zilla::Plugin::Readme v5.013.
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.202/lib/Email/Simple/Creator.pm new/Email-Simple-2.203/lib/Email/Simple/Creator.pm
--- old/Email-Simple-2.202/lib/Email/Simple/Creator.pm 2013-09-04 15:48:39.000000000 +0200
+++ new/Email-Simple-2.203/lib/Email/Simple/Creator.pm 2014-02-15 03:56:18.000000000 +0100
@@ -1,11 +1,8 @@
use strict;
use warnings;
package Email::Simple::Creator;
-{
- $Email::Simple::Creator::VERSION = '2.202';
-}
# ABSTRACT: private helper for building Email::Simple objects
-
+$Email::Simple::Creator::VERSION = '2.203';
sub _crlf {
"\x0d\x0a";
}
@@ -15,9 +12,16 @@
Email::Date::Format::email_date();
}
+our @CARP_NOT = qw(Email::Simple Email::MIME);
+
sub _add_to_header {
my ($class, $header, $key, $value) = @_;
$value = '' unless defined $value;
+
+ if ($value =~ s/[\x0a\x0b\x0c\x0d\x85\x{2028}\x{2029}]+/ /g) {
+ Carp::carp("replaced vertical whitespace in $key header with space; this will become fatal in a future version");
+ }
+
$$header .= "$key: $value" . $class->_crlf;
}
@@ -32,13 +36,15 @@
=pod
+=encoding UTF-8
+
=head1 NAME
Email::Simple::Creator - private helper for building Email::Simple objects
=head1 VERSION
-version 2.202
+version 2.203
=head1 AUTHORS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.202/lib/Email/Simple/Header.pm new/Email-Simple-2.203/lib/Email/Simple/Header.pm
--- old/Email-Simple-2.202/lib/Email/Simple/Header.pm 2013-09-04 15:48:39.000000000 +0200
+++ new/Email-Simple-2.203/lib/Email/Simple/Header.pm 2014-02-15 03:56:18.000000000 +0100
@@ -1,14 +1,36 @@
use strict;
use warnings;
package Email::Simple::Header;
-{
- $Email::Simple::Header::VERSION = '2.202';
-}
# ABSTRACT: the header of an Email::Simple message
+$Email::Simple::Header::VERSION = '2.203';
use Carp ();
require Email::Simple;
+# =head1 SYNOPSIS
+#
+# my $email = Email::Simple->new($text);
+#
+# my $header = $email->header_obj;
+# print $header->as_string;
+#
+# =head1 DESCRIPTION
+#
+# This method implements the headers of an Email::Simple object. It is a very
+# minimal interface, and is mostly for private consumption at the moment.
+#
+# =method new
+#
+# my $header = Email::Simple::Header->new($head, \%arg);
+#
+# C<$head> is a string containing a valid email header, or a reference to such a
+# string. If a reference is passed in, don't expect that it won't be altered.
+#
+# Valid arguments are:
+#
+# crlf - the header's newline; defaults to CRLF
+#
+# =cut
# We need to be able to:
# * get all values by lc name
@@ -60,6 +82,13 @@
return \@headers;
}
+# =method as_string
+#
+# my $string = $header->as_string(\%arg);
+#
+# This returns a stringified version of the header.
+#
+# =cut
# RFC 2822, 3.6:
# ...for the purposes of this standard, header fields SHOULD NOT be reordered
@@ -95,6 +124,12 @@
return $header_str;
}
+# =method header_names
+#
+# This method returns a list of the unique header names found in this header, in
+# no particular order.
+#
+# =cut
sub header_names {
my $headers = $_[0]->{headers};
@@ -104,6 +139,17 @@
map { $headers->[ $_ * 2 ] } 0 .. int($#$headers / 2);
}
+# =method header_pairs
+#
+# my @pairs = $header->header_pairs;
+# my $first_name = $pairs[0];
+# my $first_value = $pairs[1];
+#
+# This method returns a list of all the field/value pairs in the header, in the
+# order that they appear in the header. (Remember: don't try assigning that to a
+# hash. Some fields may appear more than once!)
+#
+# =cut
sub header_pairs {
my ($self) = @_;
@@ -113,6 +159,15 @@
return @pairs;
}
+# =method header
+#
+# my $first_value = $header->header($field);
+# my @all_values = $header->header($field);
+#
+# This method returns the value or values of the given header field. If the
+# named field does not appear in the header, this method returns false.
+#
+# =cut
sub _str_value { return ref $_[0] ? $_[0][0] : $_[0] }
@@ -133,6 +188,15 @@
}
}
+# =method header_set
+#
+# $header->header_set($field => @values);
+#
+# This method updates the value of the given header. Existing headers have their
+# values set in place. Additional headers are added at the end. If no values
+# are given to set, the header will be removed from to the message entirely.
+#
+# =cut
# Header fields are lines composed of a field name, followed by a colon (":"),
# followed by a field body, and terminated by CRLF. A field name MUST be
@@ -179,6 +243,11 @@
return wantarray ? @data : $data[0];
}
+# =method crlf
+#
+# This method returns the newline string used in the header.
+#
+# =cut
sub crlf { $_[0]->{mycrlf} }
@@ -253,13 +322,15 @@
=pod
+=encoding UTF-8
+
=head1 NAME
Email::Simple::Header - the header of an Email::Simple message
=head1 VERSION
-version 2.202
+version 2.203
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.202/lib/Email/Simple.pm new/Email-Simple-2.203/lib/Email/Simple.pm
--- old/Email-Simple-2.202/lib/Email/Simple.pm 2013-09-04 15:48:39.000000000 +0200
+++ new/Email-Simple-2.203/lib/Email/Simple.pm 2014-02-15 03:56:18.000000000 +0100
@@ -2,11 +2,8 @@
use strict;
use warnings;
package Email::Simple;
-{
- $Email::Simple::VERSION = '2.202';
-}
# ABSTRACT: simple parsing of RFC2822 message format and headers
-
+$Email::Simple::VERSION = '2.203';
use Carp ();
use Email::Simple::Creator;
@@ -17,6 +14,61 @@
# We are liberal in what we accept.
sub __crlf_re { qr/\x0a\x0d|\x0d\x0a|\x0a|\x0d/; }
+# =head1 SYNOPSIS
+#
+# use Email::Simple;
+# my $email = Email::Simple->new($text);
+#
+# my $from_header = $email->header("From");
+# my @received = $email->header("Received");
+#
+# $email->header_set("From", 'Simon Cozens <simon(a)cpan.org>');
+#
+# my $old_body = $email->body;
+# $email->body_set("Hello world\nSimon");
+#
+# print $email->as_string;
+#
+# ...or, to create a message from scratch...
+#
+# my $email = Email::Simple->create(
+# header => [
+# From => 'casey(a)geeknest.com',
+# To => 'drain(a)example.com',
+# Subject => 'Message in a bottle',
+# ],
+# body => '...',
+# );
+#
+# $email->header_set( 'X-Content-Container' => 'bottle/glass' );
+#
+# print $email->as_string;
+#
+# =head1 DESCRIPTION
+#
+# The Email:: namespace was begun as a reaction against the increasing complexity
+# and bugginess of Perl's existing email modules. C<Email::*> modules are meant
+# to be simple to use and to maintain, pared to the bone, fast, minimal in their
+# external dependencies, and correct.
+#
+# =method new
+#
+# my $email = Email::Simple->new($message, \%arg);
+#
+# This method parses an email from a scalar containing an RFC2822 formatted
+# message and returns an object. C<$message> may be a reference to a message
+# string, in which case the string will be altered in place. This can result in
+# significant memory savings.
+#
+# If you want to create a message from scratch, you should use the C<L</create>>
+# method.
+#
+# Valid arguments are:
+#
+# header_class - the class used to create new header objects
+# The named module is not 'require'-ed by Email::Simple!
+#
+# =cut
sub new {
my ($class, $text, $arg) = @_;
@@ -69,6 +121,22 @@
}
}
+# =method create
+#
+# my $email = Email::Simple->create(header => [ @headers ], body => '...');
+#
+# This method is a constructor that creates an Email::Simple object
+# from a set of named parameters. The C<header> parameter's value is a
+# list reference containing a set of headers to be created. The C<body>
+# parameter's value is a scalar value holding the contents of the message
+# body. Line endings in the body will normalized to CRLF.
+#
+# If no C<Date> header is specified, one will be provided for you based on the
+# C<gmtime> of the local machine. This is because the C<Date> field is a required
+# header and is a pain in the neck to create manually for every message. The
+# C<From> field is also a required header, but it is I<not> provided for you.
+#
+# =cut
our $CREATOR = 'Email::Simple::Creator';
@@ -105,6 +173,14 @@
}
+# =method header_obj
+#
+# my $header = $email->header_obj;
+#
+# This method returns the object representing the email's header. For the
+# interface for this object, see L<Email::Simple::Header>.
+#
+# =cut
sub header_obj {
my ($self) = @_;
@@ -116,12 +192,56 @@
# dependency tree to upgrade. i.e., never and/or in Perl 6 -- rjbs, 2006-11-28
BEGIN { *__head = \&header_obj }
+# =method header_obj_set
+#
+# $email->header_obj_set($new_header_obj);
+#
+# This method substitutes the given new header object for the email's existing
+# header object.
+#
+# =cut
sub header_obj_set {
my ($self, $obj) = @_;
$self->{header} = $obj;
}
+# =method header
+#
+# my @values = $email->header($header_name);
+# my $first = $email->header($header_name);
+#
+# In list context, this returns every value for the named header. In scalar
+# context, it returns the I<first> value for the named header.
+#
+# =method header_set
+#
+# $email->header_set($field, $line1, $line2, ...);
+#
+# Sets the header to contain the given data. If you pass multiple lines
+# in, you get multiple headers, and order is retained. If no values are given to
+# set, the header will be removed from to the message entirely.
+#
+# =method header_names
+#
+# my @header_names = $email->header_names;
+#
+# This method returns the list of header names currently in the email object.
+# These names can be passed to the C<header> method one-at-a-time to get header
+# values. You are guaranteed to get a set of headers that are unique. You are not
+# guaranteed to get the headers in any order at all.
+#
+# For backwards compatibility, this method can also be called as B<headers>.
+#
+# =method header_pairs
+#
+# my @headers = $email->header_pairs;
+#
+# This method returns a list of pairs describing the contents of the header.
+# Every other value, starting with and including zeroth, is a header name and the
+# value following it is the header value.
+#
+# =cut
BEGIN {
no strict 'refs';
@@ -131,12 +251,22 @@
*headers = \&header_names;
}
+# =method body
+#
+# Returns the body text of the mail.
+#
+# =cut
sub body {
my ($self) = @_;
return (defined ${ $self->{body} }) ? ${ $self->{body} } : '';
}
+# =method body_set
+#
+# Sets the body text of the mail.
+#
+# =cut
sub body_set {
my ($self, $text) = @_;
@@ -145,31 +275,48 @@
return;
}
+# =method as_string
+#
+# Returns the mail as a string, reconstructing the headers.
+#
+# =cut
sub as_string {
my $self = shift;
return $self->header_obj->as_string . $self->crlf . $self->body;
}
+# =method crlf
+#
+# This method returns the type of newline used in the email. It is an accessor
+# only.
+#
+# =cut
sub crlf { $_[0]->{mycrlf} }
+# =method default_header_class
+#
+# This returns the class used, by default, for header objects, and is provided
+# for subclassing. The default default is Email::Simple::Header.
+#
+# =cut
sub default_header_class { 'Email::Simple::Header' }
1;
-__END__
-
=pod
+=encoding UTF-8
+
=head1 NAME
Email::Simple - simple parsing of RFC2822 message format and headers
=head1 VERSION
-version 2.202
+version 2.203
=head1 SYNOPSIS
@@ -348,3 +495,16 @@
the same terms as the Perl 5 programming language system itself.
=cut
+
+__END__
+
+# =head1 CAVEATS
+#
+# Email::Simple handles only RFC2822 formatted messages. This means you cannot
+# expect it to cope well as the only parser between you and the outside world,
+# say for example when writing a mail filter for invocation from a .forward file
+# (for this we recommend you use L<Email::Filter> anyway). For more information
+# on this issue please consult RT issue 2478,
+# L<http://rt.cpan.org/NoAuth/Bug.html?id=2478>.
+#
+# =cut
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.202/t/00-compile.t new/Email-Simple-2.203/t/00-compile.t
--- old/Email-Simple-2.202/t/00-compile.t 2013-09-04 15:48:39.000000000 +0200
+++ new/Email-Simple-2.203/t/00-compile.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,41 +0,0 @@
-use strict;
-use warnings;
-
-# This test was generated via Dist::Zilla::Plugin::Test::Compile 2.018
-
-use Test::More 0.88;
-
-
-
-use Capture::Tiny qw{ capture };
-
-my @module_files = qw(
-Email/Simple.pm
-Email/Simple/Creator.pm
-Email/Simple/Header.pm
-);
-
-my @scripts = qw(
-
-);
-
-# no fake home requested
-
-my @warnings;
-for my $lib (@module_files)
-{
- my ($stdout, $stderr, $exit) = capture {
- system($^X, '-Mblib', '-e', qq{require q[$lib]});
- };
- is($?, 0, "$lib loaded ok");
- warn $stderr if $stderr;
- push @warnings, $stderr if $stderr;
-}
-
-
-
-is(scalar(@warnings), 0, 'no warnings found') if $ENV{AUTHOR_TESTING};
-
-
-
-done_testing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.202/t/000-report-versions-tiny.t new/Email-Simple-2.203/t/000-report-versions-tiny.t
--- old/Email-Simple-2.202/t/000-report-versions-tiny.t 2013-09-04 15:48:39.000000000 +0200
+++ new/Email-Simple-2.203/t/000-report-versions-tiny.t 2014-02-15 03:56:18.000000000 +0100
@@ -9,7 +9,7 @@
END { $success && done_testing; }
# List our own version used to generate this
-my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.09\n";
+my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.10\n";
eval { # no excuses!
# report our Perl details
@@ -48,15 +48,11 @@
return sprintf('%-45s => %-10s%-15s%s', $module, $pmver, $wanted, "\n");
}
-eval { $v .= pmver('Capture::Tiny','any version') };
eval { $v .= pmver('Carp','any version') };
eval { $v .= pmver('Email::Date::Format','any version') };
eval { $v .= pmver('ExtUtils::MakeMaker','6.30') };
eval { $v .= pmver('Test::More','0.96') };
-eval { $v .= pmver('Test::Pod','1.41') };
-eval { $v .= pmver('blib','any version') };
eval { $v .= pmver('strict','any version') };
-eval { $v .= pmver('version','0.9901') };
eval { $v .= pmver('warnings','any version') };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.202/t/create.t new/Email-Simple-2.203/t/create.t
--- old/Email-Simple-2.202/t/create.t 2013-09-04 15:48:39.000000000 +0200
+++ new/Email-Simple-2.203/t/create.t 2014-02-15 03:56:18.000000000 +0100
@@ -1,7 +1,7 @@
use strict;
use warnings;
-use Test::More tests => 25;
+use Test::More tests => 31;
use_ok 'Email::Simple';
use_ok 'Email::Simple::Creator';
@@ -18,7 +18,7 @@
substr($string, -2, 1),
substr($string, -1, 1),
);
-
+
is(
sprintf("%03u %03u", map { ord } @last_two),
'013 010',
@@ -144,6 +144,38 @@
END_MESSAGE
my $string = $email->as_string;
+ $string =~ s/\x0d\x0a/\n/gsm;
+
+ is(
+ $string,
+ $expected,
+ "we got just the string we expected",
+ );
+}
+
+{ # no date header, we provided one
+ my @warnings;
+ local $SIG{__WARN__} = sub { push @warnings, $_[0] };
+
+ my $email = tested_email(has_date =>
+ header => [
+ Date => 'testing',
+ 'X-Header' => "foo\n\nbar",
+ ],
+ body => q[This is a single-line message.],
+ );
+
+ is(@warnings, 1, "there was one warning");
+ like($warnings[0], qr/vertical whitespace/, 'and it was about \v characters');
+
+ my $expected = <<'END_MESSAGE';
+Date: testing
+X-Header: foo bar
+
+This is a single-line message.
+END_MESSAGE
+
+ my $string = $email->as_string;
$string =~ s/\x0d\x0a/\n/gsm;
is(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.202/xt/release/changes_has_content.t new/Email-Simple-2.203/xt/release/changes_has_content.t
--- old/Email-Simple-2.202/xt/release/changes_has_content.t 2013-09-04 15:48:39.000000000 +0200
+++ new/Email-Simple-2.203/xt/release/changes_has_content.t 2014-02-15 03:56:18.000000000 +0100
@@ -4,7 +4,7 @@
note 'Checking Changes';
my $changes_file = 'Changes';
-my $newver = '2.202';
+my $newver = '2.203';
my $trial_token = '-TRIAL';
SKIP: {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-Simple-2.202/xt/release/pod-syntax.t new/Email-Simple-2.203/xt/release/pod-syntax.t
--- old/Email-Simple-2.202/xt/release/pod-syntax.t 2013-09-04 15:48:39.000000000 +0200
+++ new/Email-Simple-2.203/xt/release/pod-syntax.t 2014-02-15 03:56:18.000000000 +0100
@@ -1,7 +1,6 @@
#!perl
+# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
use Test::More;
-
-eval "use Test::Pod 1.41";
-plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
+use Test::Pod 1.41;
all_pod_files_ok();
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package perl-Config-MVP for openSUSE:Factory checked in at 2014-02-28 19:00:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Config-MVP (Old)
and /work/SRC/openSUSE:Factory/.perl-Config-MVP.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Config-MVP"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Config-MVP/perl-Config-MVP.changes 2013-10-07 09:40:40.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Config-MVP.new/perl-Config-MVP.changes 2014-02-28 19:00:24.000000000 +0100
@@ -1,0 +2,7 @@
+Mon Feb 24 08:48:43 UTC 2014 - coolo(a)suse.com
+
+- updated to 2.200007
+ - throw an exception when a bundle reports an impossible situation,
+ like { value => [] }; https://github.com/rjbs/Config-MVP/issues/5
+
+-------------------------------------------------------------------
Old:
----
Config-MVP-2.200006.tar.gz
New:
----
Config-MVP-2.200007.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Config-MVP.spec ++++++
--- /var/tmp/diff_new_pack.dnZyA0/_old 2014-02-28 19:00:24.000000000 +0100
+++ /var/tmp/diff_new_pack.dnZyA0/_new 2014-02-28 19:00:24.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Config-MVP
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: perl-Config-MVP
-Version: 2.200006
+Version: 2.200007
Release: 0
%define cpan_name Config-MVP
Summary: multivalue-property package-oriented configuration
@@ -29,7 +29,6 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(Capture::Tiny)
BuildRequires: perl(Class::Load) >= 0.17
BuildRequires: perl(Module::Pluggable::Object)
BuildRequires: perl(Module::Runtime)
@@ -46,16 +45,6 @@
BuildRequires: perl(Throwable)
BuildRequires: perl(Tie::IxHash)
BuildRequires: perl(Try::Tiny)
-#BuildRequires: perl(Config::MVP::Assembler)
-#BuildRequires: perl(Config::MVP::Assembler::WithBundles)
-#BuildRequires: perl(Config::MVP::Error)
-#BuildRequires: perl(Config::MVP::Reader)
-#BuildRequires: perl(Config::MVP::Reader::Findable)
-#BuildRequires: perl(Config::MVP::Reader::Findable::ByExtension)
-#BuildRequires: perl(Config::MVP::Reader::Finder)
-#BuildRequires: perl(Config::MVP::Reader::Hash)
-#BuildRequires: perl(Config::MVP::Section)
-#BuildRequires: perl(Config::MVP::Sequence)
Requires: perl(Class::Load) >= 0.17
Requires: perl(Module::Pluggable::Object)
Requires: perl(Module::Runtime)
@@ -67,7 +56,7 @@
Requires: perl(Role::HasMessage)
Requires: perl(Role::Identifiable::HasIdent)
Requires: perl(StackTrace::Auto)
-Requires: perl(Test::More) >= 0.88
+Requires: perl(Test::More) >= 0.96
Requires: perl(Throwable)
Requires: perl(Tie::IxHash)
Requires: perl(Try::Tiny)
++++++ Config-MVP-2.200006.tar.gz -> Config-MVP-2.200007.tar.gz ++++++
++++ 2411 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package perl-Config-INI for openSUSE:Factory checked in at 2014-02-28 18:58:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Config-INI (Old)
and /work/SRC/openSUSE:Factory/.perl-Config-INI.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Config-INI"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Config-INI/perl-Config-INI.changes 2013-11-26 19:24:40.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Config-INI.new/perl-Config-INI.changes 2014-02-28 18:58:12.000000000 +0100
@@ -1,0 +2,6 @@
+Mon Feb 24 06:10:54 UTC 2014 - coolo(a)suse.com
+
+- updated to 0.022
+ - remove the last few places IO::String was used (thanks, Graham Knop)
+
+-------------------------------------------------------------------
Old:
----
Config-INI-0.021.tar.gz
New:
----
Config-INI-0.022.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Config-INI.spec ++++++
--- /var/tmp/diff_new_pack.mkZOth/_old 2014-02-28 18:58:13.000000000 +0100
+++ /var/tmp/diff_new_pack.mkZOth/_new 2014-02-28 18:58:13.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Config-INI
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: perl-Config-INI
-Version: 0.021
+Version: 0.022
Release: 0
%define cpan_name Config-INI
Summary: simple .ini-file format
@@ -29,15 +29,9 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(Capture::Tiny)
-BuildRequires: perl(IO::File) >= 1.14
-BuildRequires: perl(IO::String)
BuildRequires: perl(Mixin::Linewise::Readers)
BuildRequires: perl(Mixin::Linewise::Writers)
BuildRequires: perl(Test::More) >= 0.96
-#BuildRequires: perl(Config::INI::Reader)
-Requires: perl(IO::File) >= 1.14
-Requires: perl(IO::String)
Requires: perl(Mixin::Linewise::Readers)
Requires: perl(Mixin::Linewise::Writers)
%{perl_requires}
++++++ Config-INI-0.021.tar.gz -> Config-INI-0.022.tar.gz ++++++
++++ 1873 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package perl-B-Hooks-EndOfScope for openSUSE:Factory checked in at 2014-02-28 18:55:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-B-Hooks-EndOfScope (Old)
and /work/SRC/openSUSE:Factory/.perl-B-Hooks-EndOfScope.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-B-Hooks-EndOfScope"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-B-Hooks-EndOfScope/perl-B-Hooks-EndOfScope.changes 2013-05-17 08:33:30.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-B-Hooks-EndOfScope.new/perl-B-Hooks-EndOfScope.changes 2014-02-28 18:55:22.000000000 +0100
@@ -1,0 +2,9 @@
+Mon Feb 24 06:12:11 UTC 2014 - coolo(a)suse.com
+
+- updated to 0.13
+ - Variable::Magic added as a runtime recommendation for greater visibility
+ (RT#89245)
+ - fixed broken logic in compiler detection on older perls
+ - fixed inaccurate repository metadata
+
+-------------------------------------------------------------------
Old:
----
B-Hooks-EndOfScope-0.12.tar.gz
New:
----
B-Hooks-EndOfScope-0.13.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-B-Hooks-EndOfScope.spec ++++++
--- /var/tmp/diff_new_pack.jgQ0KD/_old 2014-02-28 18:55:22.000000000 +0100
+++ /var/tmp/diff_new_pack.jgQ0KD/_new 2014-02-28 18:55:22.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-B-Hooks-EndOfScope
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,14 @@
Name: perl-B-Hooks-EndOfScope
-Version: 0.12
+Version: 0.13
Release: 0
%define cpan_name B-Hooks-EndOfScope
Summary: Execute code after a scope finished compilation
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/B-Hooks-EndOfScope/
-Source: http://www.cpan.org/authors/id/B/BO/BOBTFISH/%{cpan_name}-%{version}.tar.gz
+Source: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@@ -35,16 +35,11 @@
BuildRequires: perl(Sub::Exporter::Progressive) >= 0.001006
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Variable::Magic) >= 0.48
-#BuildRequires: perl(B::Hooks::EndOfScope)
-#BuildRequires: perl(B::Hooks::EndOfScope::PP)
-#BuildRequires: perl(B::Hooks::EndOfScope::XS)
-#BuildRequires: perl(Devel::Hide)
-#BuildRequires: perl(Hash::Util::FieldHash)
-#BuildRequires: perl(Tie::StdHash)
Requires: perl(Module::Implementation) >= 0.05
Requires: perl(Module::Runtime) >= 0.012
Requires: perl(Sub::Exporter::Progressive) >= 0.001006
Requires: perl(Variable::Magic) >= 0.48
+Recommends: perl(Variable::Magic) >= 0.48
%{perl_requires}
%description
@@ -78,6 +73,6 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes LICENSE README
+%doc Changes CONTRIBUTING LICENSE README README.md weaver.ini
%changelog
++++++ B-Hooks-EndOfScope-0.12.tar.gz -> B-Hooks-EndOfScope-0.13.tar.gz ++++++
++++ 2871 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package libNetworkManagerQt for openSUSE:Factory checked in at 2014-02-28 18:54:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libNetworkManagerQt (Old)
and /work/SRC/openSUSE:Factory/.libNetworkManagerQt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libNetworkManagerQt"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libNetworkManagerQt/libNetworkManagerQt.changes 2013-11-26 14:40:53.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libNetworkManagerQt.new/libNetworkManagerQt.changes 2014-02-28 18:54:16.000000000 +0100
@@ -1,0 +2,9 @@
+Thu Feb 27 19:40:28 UTC 2014 - hrvoje.senjan(a)gmail.com
+
+- Update to 0.9.8.1
+ * New release with some small errors fixed and some new features.
+ Please see https://projects.kde.org/news/254
+- Droped patches:
+ * fix-no-return-in-nonvoid-function.patch -- merged upstream
+
+-------------------------------------------------------------------
Old:
----
fix-no-return-in-nonvoid-function.patch
libnm-qt-0.9.8.0.tar.xz
New:
----
libnm-qt-0.9.8.1.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libNetworkManagerQt.spec ++++++
--- /var/tmp/diff_new_pack.tGz67L/_old 2014-02-28 18:54:16.000000000 +0100
+++ /var/tmp/diff_new_pack.tGz67L/_new 2014-02-28 18:54:16.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package libNetworkManagerQt
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,14 +20,12 @@
%define soversion 0
Name: libNetworkManagerQt
-Version: 0.9.8.0
+Version: 0.9.8.1
Release: 0
Summary: A qt wrapper around the NetworkManager libraries
License: LGPL-2.1 or LGPL-3.0
Group: System/GUI/KDE
-Source0: libnm-qt-%{version}.tar.xz
-# PATCH-FIX-UPSTREAM fix-no-return-in-nonvoid-function.patch -- fixes no-return-in-nonvoid-function error detected by post-build-checks
-Patch0: fix-no-return-in-nonvoid-function.patch
+Source0: http://download.kde.org/unstable/networkmanager-qt/%{version}/src/libnm-qt-…
BuildRequires: NetworkManager-devel >= 0.9.8.0
BuildRequires: cmake
BuildRequires: kde4-filesystem
@@ -57,7 +55,6 @@
%prep
%setup -q -n libnm-qt-%{version}
-%patch0 -p1
%build
%cmake_kde4 -d build -- -DDISABLE_TESTING=ON
++++++ libnm-qt-0.9.8.0.tar.xz -> libnm-qt-0.9.8.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libnm-qt-0.9.8.0/CMakeLists.txt new/libnm-qt-0.9.8.1/CMakeLists.txt
--- old/libnm-qt-0.9.8.0/CMakeLists.txt 2013-11-21 14:04:50.000000000 +0100
+++ new/libnm-qt-0.9.8.1/CMakeLists.txt 2014-02-14 21:01:05.000000000 +0100
@@ -2,7 +2,7 @@
project(NetworkManagerQt)
-set(VERSION 0.9.8.0)
+set(VERSION 0.9.8.1)
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_MODULE_PATH})
set(LIB_SUFFIX "" CACHE STRING "Define suffix of library directory name (32/64)" )
set(LIB_DESTINATION "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE STRING
@@ -33,6 +33,12 @@
add_definitions(-DWITH_MODEMMANAGERQT=${WITH_MODEMMANAGERQT} ${QT_DEFINITIONS})
+include(CheckCXXCompilerFlag)
+check_cxx_compiler_flag("-Werror=return-type" HAVE_GCC_ERROR_RETURN_TYPE)
+if (HAVE_GCC_ERROR_RETURN_TYPE)
+ set(CMAKE_CXX_FLAGS "-Werror=return-type")
+endif()
+
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/dbus
@@ -46,10 +52,12 @@
${NETWORKMANAGER_INCLUDE_DIRS}
${NM-UTIL_INCLUDE_DIRS}
${NM-GLIB_INCLUDE_DIRS}
+)
if (MODEMMANAGERQT_FOUND)
- ${MODEMMANAGERQT_INCLUDE_DIRS}
+ include_directories(
+ ${MODEMMANAGERQT_INCLUDE_DIRS}
+ )
endif()
-)
link_directories(${MODEMMANAGERQT_LIBRARY_DIRS} ${CMAKE_LIBRARY_PATH})
#add_subdirectory(dbus)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libnm-qt-0.9.8.0/dbus/introspection/nm-manager.xml new/libnm-qt-0.9.8.1/dbus/introspection/nm-manager.xml
--- old/libnm-qt-0.9.8.0/dbus/introspection/nm-manager.xml 2013-11-21 14:04:50.000000000 +0100
+++ new/libnm-qt-0.9.8.1/dbus/introspection/nm-manager.xml 2014-02-14 21:01:05.000000000 +0100
@@ -310,6 +310,38 @@
</tp:docstring>
</property>
+ <property name="PrimaryConnection" type="o" access="read">
+ <tp:docstring>
+ The object path of the "primary" active connection being used
+ to access the network. In particular, if there is no VPN
+ active, or the VPN does not have the default route, then this
+ indicates the connection that has the default route. If there
+ is a VPN active with the default route, then this indicates
+ the connection that contains the route to the VPN endpoint.
+ </tp:docstring>
+ </property>
+
+ <property name="ActivatingConnection" type="o" access="read">
+ <tp:docstring>
+ The object path of an active connection that is currently
+ being activated and which is expected to become the new
+ PrimaryConnection when it finishes activating.
+ </tp:docstring>
+ </property>
+
+ <method name="CheckConnectivity">
+ <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_check_connectivity"/>
+ <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+ <tp:docstring>
+ Re-check the network connectivity state.
+ </tp:docstring>
+ <arg name="connectivity" type="u" tp:type="NM_CONNECTIVITY" direction="out">
+ <tp:docstring>
+ The current connectivity state.
+ </tp:docstring>
+ </arg>
+ </method>
+
<property name="State" type="u" access="read" tp:type="NM_STATE">
<tp:docstring>
The overall state of the NetworkManager daemon.
@@ -327,6 +359,12 @@
</arg>
</signal>
+ <property name="Connectivity" type="u" access="read" tp:type="NM_CONNECTIVITY">
+ <tp:docstring>
+ The network connectivity state.
+ </tp:docstring>
+ </property>
+
<signal name="PropertiesChanged">
<tp:docstring>
NetworkManager's properties changed.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libnm-qt-0.9.8.0/dbus/nm-managerinterface.h new/libnm-qt-0.9.8.1/dbus/nm-managerinterface.h
--- old/libnm-qt-0.9.8.0/dbus/nm-managerinterface.h 2013-11-21 14:04:50.000000000 +0100
+++ new/libnm-qt-0.9.8.1/dbus/nm-managerinterface.h 2014-02-14 21:01:05.000000000 +0100
@@ -41,14 +41,26 @@
~OrgFreedesktopNetworkManagerInterface();
+ Q_PROPERTY(QDBusObjectPath ActivatingConnection READ activatingConnection)
+ inline QDBusObjectPath activatingConnection() const
+ { return qvariant_cast< QDBusObjectPath >(property("ActivatingConnection")); }
+
Q_PROPERTY(QList<QDBusObjectPath> ActiveConnections READ activeConnections)
inline QList<QDBusObjectPath> activeConnections() const
{ return qvariant_cast< QList<QDBusObjectPath> >(property("ActiveConnections")); }
+ Q_PROPERTY(uint Connectivity READ connectivity)
+ inline uint connectivity() const
+ { return qvariant_cast< uint >(property("Connectivity")); }
+
Q_PROPERTY(bool NetworkingEnabled READ networkingEnabled)
inline bool networkingEnabled() const
{ return qvariant_cast< bool >(property("NetworkingEnabled")); }
+ Q_PROPERTY(QDBusObjectPath PrimaryConnection READ primaryConnection)
+ inline QDBusObjectPath primaryConnection() const
+ { return qvariant_cast< QDBusObjectPath >(property("PrimaryConnection")); }
+
Q_PROPERTY(uint State READ state)
inline uint state() const
{ return qvariant_cast< uint >(property("State")); }
@@ -102,6 +114,12 @@
return asyncCallWithArgumentList(QLatin1String("AddAndActivateConnection"), argumentList);
}
+ inline QDBusPendingReply<uint> CheckConnectivity()
+ {
+ QList<QVariant> argumentList;
+ return asyncCallWithArgumentList(QLatin1String("CheckConnectivity"), argumentList);
+ }
+
inline QDBusPendingReply<> DeactivateConnection(const QDBusObjectPath &active_connection)
{
QList<QVariant> argumentList;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libnm-qt-0.9.8.0/device.cpp new/libnm-qt-0.9.8.1/device.cpp
--- old/libnm-qt-0.9.8.0/device.cpp 2013-11-21 14:04:50.000000000 +0100
+++ new/libnm-qt-0.9.8.1/device.cpp 2014-02-14 21:01:05.000000000 +0100
@@ -193,7 +193,9 @@
Q_D(Device);
if (property == QLatin1String("ActiveConnection")) {
- d->activeConnection = value.value<QDBusObjectPath>().path();
+ // FIXME workaround, because NM doesn't emit correct value
+ // d->activeConnection = value.value<QDBusObjectPath>.path();
+ d->activeConnection = d->deviceIface.activeConnection().path();
emit activeConnectionChanged();
} else if (property == QLatin1String("Autoconnect")) {
d->autoconnect = value.toBool();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libnm-qt-0.9.8.0/manager.cpp new/libnm-qt-0.9.8.1/manager.cpp
--- old/libnm-qt-0.9.8.0/manager.cpp 2013-11-21 14:04:50.000000000 +0100
+++ new/libnm-qt-0.9.8.1/manager.cpp 2014-02-14 21:01:05.000000000 +0100
@@ -56,6 +56,13 @@
: watcher(DBUS_SERVICE, QDBusConnection::systemBus(), QDBusServiceWatcher::WatchForOwnerChange, this)
, iface(NetworkManager::NetworkManagerPrivate::DBUS_SERVICE, NetworkManager::NetworkManagerPrivate::DBUS_DAEMON_PATH, QDBusConnection::systemBus())
, nmState(0)
+ , m_isNetworkingEnabled(false)
+ , m_isWimaxEnabled(false)
+ , m_isWimaxHardwareEnabled(false)
+ , m_isWirelessEnabled(false)
+ , m_isWirelessHardwareEnabled(false)
+ , m_isWwanEnabled(false)
+ , m_isWwanHardwareEnabled(false)
{
connect(&watcher, SIGNAL(serviceRegistered(QString)), SLOT(daemonRegistered()));
connect(&watcher, SIGNAL(serviceUnregistered(QString)), SLOT(daemonUnregistered()));
@@ -100,6 +107,12 @@
nmState = iface.state();
emit statusChanged(convertNMState(nmState));
}
+
+ if (m_connectivity != iface.connectivity()) {
+ m_connectivity = iface.connectivity();
+ emit connectivityChanged(convertConnectivity(m_connectivity));
+ }
+
m_version = iface.version();
parseVersion(m_version);
if (m_isWirelessHardwareEnabled != iface.wirelessHardwareEnabled()) {
@@ -507,6 +520,26 @@
return iface.GetPermissions();
}
+NetworkManager::Connectivity NetworkManager::NetworkManagerPrivate::connectivity() const
+{
+ return convertConnectivity(m_connectivity);
+}
+
+QDBusPendingReply<uint> NetworkManager::NetworkManagerPrivate::checkConnectivity()
+{
+ return iface.CheckConnectivity();
+}
+
+NetworkManager::ActiveConnection::Ptr NetworkManager::NetworkManagerPrivate::primaryConnection()
+{
+ return findRegisteredActiveConnection(iface.primaryConnection().path());
+}
+
+NetworkManager::ActiveConnection::Ptr NetworkManager::NetworkManagerPrivate::activatingConnection()
+{
+ return findRegisteredActiveConnection(iface.activatingConnection().path());
+}
+
void NetworkManager::NetworkManagerPrivate::onDeviceAdded(const QDBusObjectPath &objpath)
{
nmDebug();
@@ -523,6 +556,14 @@
emit deviceRemoved(objpath.path());
}
+void NetworkManager::NetworkManagerPrivate::connectivityChanged(uint connectivity)
+{
+ if (m_connectivity != connectivity) {
+ m_connectivity = connectivity;
+ emit Notifier::connectivityChanged(convertConnectivity(m_connectivity));
+ }
+}
+
void NetworkManager::NetworkManagerPrivate::stateChanged(uint state)
{
if (nmState != state) {
@@ -595,6 +636,12 @@
parseVersion(m_version);
} else if (property == QLatin1String("State")) {
stateChanged(it->toUInt());
+ } else if (property == QLatin1String("Connectivity")) {
+ connectivityChanged(it->toUInt());
+ } else if (property == QLatin1String("PrimaryConnection")) {
+ emit primaryConnectionChanged(it->value<QDBusObjectPath>().path());
+ } else if (property == QLatin1String("ActivatingConnection")) {
+ emit activatingConnectionChanged(it->value<QDBusObjectPath>().path());
} else {
qWarning() << Q_FUNC_INFO << "Unhandled property" << property;
}
@@ -602,6 +649,29 @@
}
}
+NetworkManager::Connectivity NetworkManager::NetworkManagerPrivate::convertConnectivity(uint connectivity)
+{
+ NetworkManager::Connectivity convertedConnectivity = NetworkManager::UnknownConnectivity;
+ switch (connectivity) {
+ case NM_CONNECTIVITY_UNKNOWN:
+ convertedConnectivity = NetworkManager::UnknownConnectivity;
+ break;
+ case NM_CONNECTIVITY_NONE:
+ convertedConnectivity = NetworkManager::NoConnectivity;
+ break;
+ case NM_CONNECTIVITY_PORTAL:
+ convertedConnectivity = NetworkManager::Portal;
+ break;
+ case NM_CONNECTIVITY_LIMITED:
+ convertedConnectivity = NetworkManager::Limited;
+ break;
+ case NM_CONNECTIVITY_FULL:
+ convertedConnectivity = NetworkManager::Full;
+ break;
+ }
+ return convertedConnectivity;
+}
+
NetworkManager::Status NetworkManager::NetworkManagerPrivate::convertNMState(uint state)
{
NetworkManager::Status status = NetworkManager::Unknown;
@@ -844,6 +914,26 @@
);
}
+NetworkManager::Connectivity NetworkManager::connectivity()
+{
+ return globalNetworkManager->connectivity();
+}
+
+QDBusPendingReply<uint> NetworkManager::checkConnectivity()
+{
+ return globalNetworkManager->checkConnectivity();
+}
+
+NetworkManager::ActiveConnection::Ptr NetworkManager::primaryConnection()
+{
+ return globalNetworkManager->primaryConnection();
+}
+
+NetworkManager::ActiveConnection::Ptr NetworkManager::activatingConnection()
+{
+ return globalNetworkManager->activatingConnection();
+}
+
NetworkManager::Notifier *NetworkManager::notifier()
{
return globalNetworkManager;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libnm-qt-0.9.8.0/manager.h new/libnm-qt-0.9.8.1/manager.h
--- old/libnm-qt-0.9.8.0/manager.h 2013-11-21 14:04:50.000000000 +0100
+++ new/libnm-qt-0.9.8.1/manager.h 2014-02-14 21:01:05.000000000 +0100
@@ -59,6 +59,17 @@
AutoIPv4, DNS, VPN, Sharing, Supplicant, UserSet, SysSet, Suspend, Core, Devices, OLPC, Wimax, Infiniband, Firewall, Adsl, Bond, Vlan
};
Q_DECLARE_FLAGS(LogDomains, LogDomain)
+/**
+ * Describes the network connectivity state.
+ * @since 0.9.8.1
+ */
+enum Connectivity {
+ UnknownConnectivity = 0,
+ NoConnectivity = 1,
+ Portal = 2,
+ Limited = 3,
+ Full = 4
+};
class NETWORKMANAGERQT_EXPORT Notifier : public QObject
{
Q_OBJECT
@@ -131,6 +142,23 @@
* This signal is emitted when the NetworkManager DBus service appears
*/
void serviceAppeared();
+ /**
+ * Emitted when the global connectivity changes.
+ * @since 0.9.8.1
+ */
+ void connectivityChanged(NetworkManager::Connectivity connectivity);
+ /**
+ * Emitted when the primary connection changes.
+ * @param uni path of the new primary connection
+ * @since 0.9.8.1
+ */
+ void primaryConnectionChanged(const QString & uni);
+ /**
+ * Emitted when the activating connection changes.
+ * @param uni path of the new activating connection
+ * @since 0.9.8.1
+ */
+ void activatingConnectionChanged(const QString & uni);
};
/**
@@ -258,12 +286,45 @@
*/
NETWORKMANAGERQT_EXPORT QDBusPendingReply<QString, QString> getLogging();
/**
+ * @return the network connectivity state
+ * @since 0.9.8.1
+ */
+NETWORKMANAGERQT_EXPORT Connectivity connectivity();
+
+/**
+ * Re-check the network connectivity state.
+ * @see connectivity()
+ * @since 0.9.8.1
+ */
+NETWORKMANAGERQT_EXPORT QDBusPendingReply<uint> checkConnectivity();
+
+/**
+ * @return the "primary" active connection being used
+ * to access the network. In particular, if there is no VPN
+ * active, or the VPN does not have the default route, then this
+ * indicates the connection that has the default route. If there
+ * is a VPN active with the default route, then this indicates
+ * the connection that contains the route to the VPN endpoint.
+ * @since 0.9.8.1
+ */
+NETWORKMANAGERQT_EXPORT ActiveConnection::Ptr primaryConnection();
+
+/**
+ * @return an active connection that is currently
+ * being activated and which is expected to become the new
+ * primaryConnection() when it finishes activating.
+ * @since 0.9.8.1
+ */
+NETWORKMANAGERQT_EXPORT ActiveConnection::Ptr activatingConnection();
+
+/**
* Find an ActiveConnection object for an active connection id
*
* @param uni the id of the ActiveConnection
* @return a valid ActiveConnection object
*/
NETWORKMANAGERQT_EXPORT ActiveConnection::Ptr findActiveConnection(const QString &uni);
+
/**
* Retrieves the interface types supported by this network manager.
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libnm-qt-0.9.8.0/manager_p.h new/libnm-qt-0.9.8.1/manager_p.h
--- old/libnm-qt-0.9.8.0/manager_p.h 2013-11-21 14:04:50.000000000 +0100
+++ new/libnm-qt-0.9.8.1/manager_p.h 2014-02-14 21:01:05.000000000 +0100
@@ -49,12 +49,14 @@
QDBusServiceWatcher watcher;
OrgFreedesktopNetworkManagerInterface iface;
uint nmState;
+ uint m_connectivity;
+ bool m_isNetworkingEnabled;
+ bool m_isWimaxEnabled;
+ bool m_isWimaxHardwareEnabled;
bool m_isWirelessEnabled;
bool m_isWirelessHardwareEnabled;
bool m_isWwanEnabled;
bool m_isWwanHardwareEnabled;
- bool m_isWimaxEnabled;
- bool m_isWimaxHardwareEnabled;
QString m_version;
// to store NetworkManager's version.
@@ -65,7 +67,6 @@
int compareVersion(const QString &version);
int compareVersion(const int x, const int y, const int z) const;
- bool m_isNetworkingEnabled;
QMap<QString, ActiveConnection::Ptr> m_activeConnections;
ActiveConnection::Ptr findRegisteredActiveConnection(const QString &);
// manage device children
@@ -99,6 +100,10 @@
void sleep(bool sleep);
void setLogging(NetworkManager::LogLevel, NetworkManager::LogDomains);
NMStringMap permissions();
+ Connectivity connectivity() const;
+ QDBusPendingReply<uint> checkConnectivity();
+ ActiveConnection::Ptr primaryConnection();
+ ActiveConnection::Ptr activatingConnection();
protected Q_SLOTS:
void init();
void onDeviceAdded(const QDBusObjectPath &state);
@@ -107,7 +112,9 @@
void daemonRegistered();
void daemonUnregistered();
private:
+ void connectivityChanged(uint connectivity);
void stateChanged(uint state);
+ static NetworkManager::Connectivity convertConnectivity(uint connectivity);
static NetworkManager::Status convertNMState(uint state);
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libnm-qt-0.9.8.0/settings/security8021xsetting.cpp new/libnm-qt-0.9.8.1/settings/security8021xsetting.cpp
--- old/libnm-qt-0.9.8.0/settings/security8021xsetting.cpp 2013-11-21 14:04:50.000000000 +0100
+++ new/libnm-qt-0.9.8.1/settings/security8021xsetting.cpp 2014-02-14 21:01:05.000000000 +0100
@@ -134,11 +134,11 @@
return d->anonymousIdentity;
}
-void NetworkManager::Security8021xSetting::setPacFile(const QString &file)
+void NetworkManager::Security8021xSetting::setPacFile(const QString &filePath)
{
Q_D(Security8021xSetting);
- d->pacFile = file;
+ d->pacFile = filePath;
}
QString NetworkManager::Security8021xSetting::pacFile() const
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libnm-qt-0.9.8.0/settings/security8021xsetting.h new/libnm-qt-0.9.8.1/settings/security8021xsetting.h
--- old/libnm-qt-0.9.8.0/settings/security8021xsetting.h 2013-11-21 14:04:50.000000000 +0100
+++ new/libnm-qt-0.9.8.1/settings/security8021xsetting.h 2014-02-14 21:01:05.000000000 +0100
@@ -59,9 +59,21 @@
void setAnonymousIdentity(const QString &identity);
QString anonymousIdentity() const;
- void setPacFile(const QString &file);
+ /**
+ * Set UTF-8 encoded file path containing PAC for EAP-FAST.
+ *
+ * \param filePath file path to be set.
+ */
+ void setPacFile(const QString &filePath);
QString pacFile() const;
+ /**
+ * Set certificate authority (ca)'s certificate for this setting.
+ *
+ * \param certificate certificate's file path encoded into a byte array.
+ *
+ * \warning certificate have to be null terminated or NetworkManager will refuse it.
+ */
void setCaCertificate(const QByteArray &certificate);
QByteArray caCertificate() const;
@@ -74,6 +86,13 @@
void setAltSubjectMatches(const QStringList &strings);
QStringList altSubjectMatches() const;
+ /**
+ * Set client certificate for this setting.
+ *
+ * \param certificate certificate's file path encoded into a byte array.
+ *
+ * \warning certificate have to be null terminated or NetworkManager will refuse it.
+ */
void setClientCertificate(const QByteArray &certificate);
QByteArray clientCertificate() const;
@@ -92,6 +111,14 @@
void setPhase2AuthEapMethod(AuthEapMethod method);
AuthEapMethod phase2AuthEapMethod() const;
+ /**
+ * Contains the CA certificate if used by the EAP method specified in the
+ * phase2AuthMethod() or phase2AuthEapMethod() properties.
+ *
+ * \param certificate certificate's file path encoded into a byte array.
+ *
+ * \warning certificate have to be null terminated or NetworkManager will refuse it.
+ */
void setPhase2CaCertificate(const QByteArray &certificate);
QByteArray phase2CaCertificate() const;
@@ -119,6 +146,13 @@
void setPasswordRawFlags(Setting::SecretFlags flags);
Setting::SecretFlags passwordRawFlags() const;
+ /**
+ * Set private key for this setting.
+ *
+ * \param key the key to be set.
+ *
+ * \warning key have to be null terminated or NetworkManager will refuse it.
+ */
void setPrivateKey(const QByteArray &key);
QByteArray privateKey() const;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libnm-qt-0.9.8.0/settings/setting.cpp new/libnm-qt-0.9.8.1/settings/setting.cpp
--- old/libnm-qt-0.9.8.0/settings/setting.cpp 2013-11-21 14:04:50.000000000 +0100
+++ new/libnm-qt-0.9.8.1/settings/setting.cpp 2014-02-14 21:01:05.000000000 +0100
@@ -203,6 +203,7 @@
QVariantMap NetworkManager::Setting::toMap() const
{
+ return QVariantMap();
}
QStringList NetworkManager::Setting::needSecrets(bool requestNew) const
@@ -213,6 +214,7 @@
QString NetworkManager::Setting::name() const
{
+ return QString();
}
void NetworkManager::Setting::secretsFromMap(const QVariantMap &map)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libnm-qt-0.9.8.0/utils.cpp new/libnm-qt-0.9.8.1/utils.cpp
--- old/libnm-qt-0.9.8.0/utils.cpp 2013-11-21 14:04:50.000000000 +0100
+++ new/libnm-qt-0.9.8.1/utils.cpp 2014-02-14 21:01:05.000000000 +0100
@@ -429,9 +429,8 @@
}
return Utils::Utils::WpaEap;
}
- } else {
- return Utils::None;
}
+ return Utils::None;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libnm-qt-0.9.8.0/wirelessnetwork.cpp new/libnm-qt-0.9.8.1/wirelessnetwork.cpp
--- old/libnm-qt-0.9.8.0/wirelessnetwork.cpp 2013-11-21 14:04:50.000000000 +0100
+++ new/libnm-qt-0.9.8.1/wirelessnetwork.cpp 2014-02-14 21:01:05.000000000 +0100
@@ -134,6 +134,13 @@
return d->aps.values();
}
+QString NetworkManager::WirelessNetwork::device() const
+{
+ Q_D(const WirelessNetwork);
+
+ return d->wirelessNetworkInterface->uni();
+}
+
// vim: sw=4 sts=4 et tw=100
#include "wirelessnetwork.moc"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libnm-qt-0.9.8.0/wirelessnetwork.h new/libnm-qt-0.9.8.1/wirelessnetwork.h
--- old/libnm-qt-0.9.8.0/wirelessnetwork.h 2013-11-21 14:04:50.000000000 +0100
+++ new/libnm-qt-0.9.8.1/wirelessnetwork.h 2014-02-14 21:01:05.000000000 +0100
@@ -66,6 +66,11 @@
*/
AccessPoint::List accessPoints() const;
+ /**
+ * The uni of device associated with this network.
+ */
+ QString device() const;
+
Q_SIGNALS:
/**
* Indicate that the signal strength changed
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package libModemManagerQt for openSUSE:Factory checked in at 2014-02-28 18:54:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libModemManagerQt (Old)
and /work/SRC/openSUSE:Factory/.libModemManagerQt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libModemManagerQt"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libModemManagerQt/libModemManagerQt.changes 2013-11-26 14:40:42.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libModemManagerQt.new/libModemManagerQt.changes 2014-02-28 18:54:11.000000000 +0100
@@ -1,0 +2,7 @@
+Sun Feb 16 09:00:49 UTC 2014 - hrvoje.senjan(a)gmail.com
+
+- Update to 1.0.1
+ * Bugfix release, please see https://projects.kde.org/news/253
+- Droped non-void.diff, merged upstream
+
+-------------------------------------------------------------------
Old:
----
libmm-qt-1.0.0.tar.xz
non-void.diff
New:
----
libmm-qt-1.0.1-1.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libModemManagerQt.spec ++++++
--- /var/tmp/diff_new_pack.nWUKkL/_old 2014-02-28 18:54:11.000000000 +0100
+++ /var/tmp/diff_new_pack.nWUKkL/_new 2014-02-28 18:54:11.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package libModemManagerQt
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,14 +20,12 @@
%define soversion 0
Name: libModemManagerQt
-Version: 1.0.0
+Version: 1.0.1
Release: 0
Summary: Qt wrapper for ModemManager DBus API
License: LGPL-2.1 or LGPL-3.0
Group: System/GUI/KDE
-Source0: http://download.kde.org/unstable/modemmanager-qt/%{version}/src/libmm-qt-%{…
-# PATCH-FIX-UPSTREAM non-void.diff -- bad coding style is bad
-Patch0: non-void.diff
+Source0: http://download.kde.org/unstable/modemmanager-qt/%{version}/src/libmm-qt-%{…
BuildRequires: cmake
BuildRequires: kde4-filesystem
BuildRequires: libqt4-devel
@@ -55,7 +53,6 @@
%prep
%setup -q -n libmm-qt-%{version}
-%patch0 -p0
%build
%cmake_kde4 -d build
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package evas-generic-loaders for openSUSE:Factory checked in at 2014-02-28 18:53:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/evas-generic-loaders (Old)
and /work/SRC/openSUSE:Factory/.evas-generic-loaders.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "evas-generic-loaders"
Changes:
--------
--- /work/SRC/openSUSE:Factory/evas-generic-loaders/evas-generic-loaders.changes 2014-02-15 08:03:38.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.evas-generic-loaders.new/evas-generic-loaders.changes 2014-02-28 18:53:06.000000000 +0100
@@ -1,0 +2,7 @@
+Thu Feb 27 04:36:37 UTC 2014 - simon(a)simotek.net
+
+- Updated to 1.9.0 with the rest of the efl release.
+ As the release notes don't meantion any new features
+ this is just a bug fix and keeping versions in sync release
+
+-------------------------------------------------------------------
Old:
----
evas_generic_loaders-1.8.1.tar.bz2
New:
----
evas_generic_loaders-1.9.0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ evas-generic-loaders.spec ++++++
--- /var/tmp/diff_new_pack.AyVTrn/_old 2014-02-28 18:53:06.000000000 +0100
+++ /var/tmp/diff_new_pack.AyVTrn/_new 2014-02-28 18:53:06.000000000 +0100
@@ -17,7 +17,7 @@
Name: evas-generic-loaders
-Version: 1.8.1
+Version: 1.9.0
Release: 0
Summary: Set of generic loaders for Evas
License: GPL-2.0+
++++++ evas_generic_loaders-1.8.1.tar.bz2 -> evas_generic_loaders-1.9.0.tar.bz2 ++++++
++++ 2981 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/evas_generic_loaders-1.8.1/AUTHORS new/evas_generic_loaders-1.9.0/AUTHORS
--- old/evas_generic_loaders-1.8.1/AUTHORS 2013-03-04 19:32:36.000000000 +0100
+++ new/evas_generic_loaders-1.9.0/AUTHORS 2014-02-20 12:08:06.000000000 +0100
@@ -3,3 +3,13 @@
Vincent Torri <vtorri at univ-evry dot fr>
Michael Bouchaud <michael.bouchaud(a)gmail.com>
Fanina "cippp" Cristian <fancris3(a)gmail.com>
+Cedric BAIL <cedric.bail(a)free.fr>
+Jérémy Zurcher <jeremy(a)asynk.ch>
+Stefan Schmidt <stefan(a)datenfreihafen.org>
+Daniel Juyung Seo <seojuyung2(a)gmail.com>
+Doug Newgard <scimmia22(a)outlook.com>
+Mike Blumenkrantz <michael.blumenkrantz(a)gmail.com>
+Alex-P. Natsios <drakevr(a)linuxteam.teilar.gr>
+Jihoon Kim <imfine98(a)gmail.com>
+Samuel F. Baggen <thanatermesis.elive(a)gmail.com>
+Sebastian Dransfeld <sd(a)tango.flipp.net>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/evas_generic_loaders-1.8.1/COPYING new/evas_generic_loaders-1.9.0/COPYING
--- old/evas_generic_loaders-1.8.1/COPYING 2013-06-22 06:37:33.000000000 +0200
+++ new/evas_generic_loaders-1.9.0/COPYING 2014-02-18 10:36:10.000000000 +0100
@@ -1,6 +1,6 @@
Copyright notice for Evas generic loaders:
-Copyright (C) 2011-2011 Carsten Haitzler and various contributors (see AUTHORS)
+Copyright (C) 2011-2014 Carsten Haitzler and various contributors (see AUTHORS)
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/evas_generic_loaders-1.8.1/ChangeLog new/evas_generic_loaders-1.9.0/ChangeLog
--- old/evas_generic_loaders-1.8.1/ChangeLog 2013-03-04 19:32:36.000000000 +0100
+++ new/evas_generic_loaders-1.9.0/ChangeLog 2014-02-19 13:42:44.000000000 +0100
@@ -36,3 +36,9 @@
* Add various alarm/signal based timeouts for all generic
loaders in case they get stuck
+
+OUT OF DATE NOTICE:
+-------------------
+With the start of the 1.9.x release cycle we now longer update the ChangeLog and rely on git log for
+this functionality. We keep however a NEWS files for a high level overview of changes in a new
+release which will be filled at the end of the release cycle.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/evas_generic_loaders-1.8.1/INSTALL new/evas_generic_loaders-1.9.0/INSTALL
--- old/evas_generic_loaders-1.8.1/INSTALL 2013-03-04 20:01:09.000000000 +0100
+++ new/evas_generic_loaders-1.9.0/INSTALL 2013-12-11 14:57:07.000000000 +0100
@@ -1,7 +1,7 @@
Installation Instructions
*************************
-Copyright (C) 1994-1996, 1999-2002, 2004-2011 Free Software Foundation,
+Copyright (C) 1994-1996, 1999-2002, 2004-2013 Free Software Foundation,
Inc.
Copying and distribution of this file, with or without modification,
@@ -309,9 +309,10 @@
overridden in the site shell script).
Unfortunately, this technique does not work for `CONFIG_SHELL' due to
-an Autoconf bug. Until the bug is fixed you can use this workaround:
+an Autoconf limitation. Until the limitation is lifted, you can use
+this workaround:
- CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
+ CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash
`configure' Invocation
======================
@@ -367,4 +368,3 @@
`configure' also accepts some other, not widely useful, options. Run
`configure --help' for more details.
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/evas_generic_loaders-1.8.1/NEWS new/evas_generic_loaders-1.9.0/NEWS
--- old/evas_generic_loaders-1.8.1/NEWS 2013-12-08 20:46:48.000000000 +0100
+++ new/evas_generic_loaders-1.9.0/NEWS 2014-02-19 13:46:44.000000000 +0100
@@ -1,11 +1,19 @@
-Evas Generic Loaders 1.8.1
+Evas Generic Loaders 1.9.0
Changes since Evas Generic Loaders 1.8.0:
-----------------------------------------
+Improvements:
+
+ * gst loader - support key as stream position in 1/1000th of a second
+
Fixes:
- * Bugfix: add a typefind to gstreamer plugin pipeline
- * Bugfix: unbreak gstreamer plugin
+
+ * bugfix: add a typefind to gstreamer plugin pipeline
+ previously, we would load any file and try to force it into video/x-raw-rgb, which was
+ (obviously) problematic for audio-only files. with a typefind added to the pipeline, only
+ files which can output to video/x-raw-rgb will be processed
+ * bugfix: unbreak gstreamer plugin by not using the n-video property which is only available in 1.0+
Changes since Evas Generic Loaders 1.7.0:
-----------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/evas_generic_loaders-1.8.1/README new/evas_generic_loaders-1.9.0/README
--- old/evas_generic_loaders-1.8.1/README 2013-12-08 20:47:43.000000000 +0100
+++ new/evas_generic_loaders-1.9.0/README 2014-02-24 17:05:13.000000000 +0100
@@ -1,4 +1,4 @@
-Evas generic loaders 1.8.0
+Evas generic loaders 1.9.0
==========================
******************************************************************************
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/evas_generic_loaders-1.8.1/compile new/evas_generic_loaders-1.9.0/compile
--- old/evas_generic_loaders-1.8.1/compile 2013-03-04 20:01:09.000000000 +0100
+++ new/evas_generic_loaders-1.9.0/compile 2013-12-11 14:57:06.000000000 +0100
@@ -1,10 +1,9 @@
#! /bin/sh
# Wrapper for compilers which do not understand '-c -o'.
-scriptversion=2012-03-05.13; # UTC
+scriptversion=2012-10-14.11; # UTC
-# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009, 2010, 2012 Free
-# Software Foundation, Inc.
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
# Written by Tom Tromey <tromey(a)cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
@@ -113,6 +112,11 @@
lib=$dir/$lib.lib
break
fi
+ if test -f "$dir/lib$lib.a"; then
+ found=yes
+ lib=$dir/lib$lib.a
+ break
+ fi
done
IFS=$save_IFS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/evas_generic_loaders-1.8.1/config.h.in new/evas_generic_loaders-1.9.0/config.h.in
--- old/evas_generic_loaders-1.8.1/config.h.in 2013-12-08 20:47:46.000000000 +0100
+++ new/evas_generic_loaders-1.9.0/config.h.in 2014-02-24 17:05:22.000000000 +0100
@@ -48,6 +48,9 @@
/* Define to 1 if your compiler has __attribute__ */
#undef HAVE___ATTRIBUTE__
+/* Define to 1 if your C compiler doesn't accept -c and -o together. */
+#undef NO_MINUS_C_MINUS_O
+
/* Name of package */
#undef PACKAGE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/evas_generic_loaders-1.8.1/configure.ac new/evas_generic_loaders-1.9.0/configure.ac
--- old/evas_generic_loaders-1.8.1/configure.ac 2013-12-08 20:37:35.000000000 +0100
+++ new/evas_generic_loaders-1.9.0/configure.ac 2014-02-24 16:31:44.000000000 +0100
@@ -1,8 +1,8 @@
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
m4_define([v_maj], [1])
-m4_define([v_min], [8])
-m4_define([v_mic], [1])
+m4_define([v_min], [9])
+m4_define([v_mic], [0])
dnl m4_define([v_rev], m4_esyscmd([(git rev-list --count HEAD 2>/dev/null || echo 0) | tr -d '\n']))
##-- When released, remove the dnl on the below line
dnl m4_undefine([v_rev])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/evas_generic_loaders-1.8.1/missing new/evas_generic_loaders-1.9.0/missing
--- old/evas_generic_loaders-1.8.1/missing 2013-03-04 20:01:09.000000000 +0100
+++ new/evas_generic_loaders-1.9.0/missing 2013-12-11 14:57:06.000000000 +0100
@@ -1,11 +1,10 @@
#! /bin/sh
-# Common stub for a few missing GNU programs while installing.
+# Common wrapper for a few potentially missing GNU programs.
-scriptversion=2012-01-06.13; # UTC
+scriptversion=2012-06-26.16; # UTC
-# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
-# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
-# Originally by Fran,cois Pinard <pinard(a)iro.umontreal.ca>, 1996.
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+# Originally written by Fran,cois Pinard <pinard(a)iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -26,68 +25,40 @@
# the same distribution terms that you use for the rest of that program.
if test $# -eq 0; then
- echo 1>&2 "Try \`$0 --help' for more information"
+ echo 1>&2 "Try '$0 --help' for more information"
exit 1
fi
-run=:
-sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
-sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
-
-# In the cases where this matters, `missing' is being run in the
-# srcdir already.
-if test -f configure.ac; then
- configure_ac=configure.ac
-else
- configure_ac=configure.in
-fi
+case $1 in
-msg="missing on your system"
+ --is-lightweight)
+ # Used by our autoconf macros to check whether the available missing
+ # script is modern enough.
+ exit 0
+ ;;
-case $1 in
---run)
- # Try to run requested program, and just exit if it succeeds.
- run=
- shift
- "$@" && exit 0
- # Exit code 63 means version mismatch. This often happens
- # when the user try to use an ancient version of a tool on
- # a file that requires a minimum version. In this case we
- # we should proceed has if the program had been absent, or
- # if --run hadn't been passed.
- if test $? = 63; then
- run=:
- msg="probably too old"
- fi
- ;;
+ --run)
+ # Back-compat with the calling convention used by older automake.
+ shift
+ ;;
-h|--h|--he|--hel|--help)
echo "\
$0 [OPTION]... PROGRAM [ARGUMENT]...
-Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
-error status if there is no known handling for PROGRAM.
+Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
+to PROGRAM being missing or too old.
Options:
-h, --help display this help and exit
-v, --version output version information and exit
- --run try to run the given command, and emulate it if it fails
Supported PROGRAM values:
- aclocal touch file \`aclocal.m4'
- autoconf touch file \`configure'
- autoheader touch file \`config.h.in'
- autom4te touch the output file, or create a stub one
- automake touch all \`Makefile.in' files
- bison create \`y.tab.[ch]', if possible, from existing .[ch]
- flex create \`lex.yy.c', if possible, from existing .c
- help2man touch the output file
- lex create \`lex.yy.c', if possible, from existing .c
- makeinfo touch the output file
- yacc create \`y.tab.[ch]', if possible, from existing .[ch]
+ aclocal autoconf autoheader autom4te automake makeinfo
+ bison yacc flex lex help2man
-Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
-\`g' are ignored when checking the name.
+Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
+'g' are ignored when checking the name.
Send bug reports to <bug-automake(a)gnu.org>."
exit $?
@@ -99,228 +70,141 @@
;;
-*)
- echo 1>&2 "$0: Unknown \`$1' option"
- echo 1>&2 "Try \`$0 --help' for more information"
+ echo 1>&2 "$0: unknown '$1' option"
+ echo 1>&2 "Try '$0 --help' for more information"
exit 1
;;
esac
-# normalize program name to check for.
-program=`echo "$1" | sed '
- s/^gnu-//; t
- s/^gnu//; t
- s/^g//; t'`
-
-# Now exit if we have it, but it failed. Also exit now if we
-# don't have it and --version was passed (most likely to detect
-# the program). This is about non-GNU programs, so use $1 not
-# $program.
-case $1 in
- lex*|yacc*)
- # Not GNU programs, they don't have --version.
- ;;
+# Run the given program, remember its exit status.
+"$@"; st=$?
- *)
- if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
- # We have it, but it failed.
- exit 1
- elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
- # Could not run --version or --help. This is probably someone
- # running `$TOOL --version' or `$TOOL --help' to check whether
- # $TOOL exists and not knowing $TOOL uses missing.
- exit 1
- fi
- ;;
-esac
-
-# If it does not exist, or fails to run (possibly an outdated version),
-# try to emulate it.
-case $program in
- aclocal*)
- echo 1>&2 "\
-WARNING: \`$1' is $msg. You should only need it if
- you modified \`acinclude.m4' or \`${configure_ac}'. You might want
- to install the \`Automake' and \`Perl' packages. Grab them from
- any GNU archive site."
- touch aclocal.m4
- ;;
-
- autoconf*)
- echo 1>&2 "\
-WARNING: \`$1' is $msg. You should only need it if
- you modified \`${configure_ac}'. You might want to install the
- \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
- archive site."
- touch configure
- ;;
-
- autoheader*)
- echo 1>&2 "\
-WARNING: \`$1' is $msg. You should only need it if
- you modified \`acconfig.h' or \`${configure_ac}'. You might want
- to install the \`Autoconf' and \`GNU m4' packages. Grab them
- from any GNU archive site."
- files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
- test -z "$files" && files="config.h"
- touch_files=
- for f in $files; do
- case $f in
- *:*) touch_files="$touch_files "`echo "$f" |
- sed -e 's/^[^:]*://' -e 's/:.*//'`;;
- *) touch_files="$touch_files $f.in";;
- esac
- done
- touch $touch_files
- ;;
+# If it succeeded, we are done.
+test $st -eq 0 && exit 0
- automake*)
- echo 1>&2 "\
-WARNING: \`$1' is $msg. You should only need it if
- you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
- You might want to install the \`Automake' and \`Perl' packages.
- Grab them from any GNU archive site."
- find . -type f -name Makefile.am -print |
- sed 's/\.am$/.in/' |
- while read f; do touch "$f"; done
- ;;
-
- autom4te*)
- echo 1>&2 "\
-WARNING: \`$1' is needed, but is $msg.
- You might have modified some files without having the
- proper tools for further handling them.
- You can get \`$1' as part of \`Autoconf' from any GNU
- archive site."
-
- file=`echo "$*" | sed -n "$sed_output"`
- test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
- if test -f "$file"; then
- touch $file
- else
- test -z "$file" || exec >$file
- echo "#! /bin/sh"
- echo "# Created by GNU Automake missing as a replacement of"
- echo "# $ $@"
- echo "exit 0"
- chmod +x $file
- exit 1
- fi
- ;;
-
- bison*|yacc*)
- echo 1>&2 "\
-WARNING: \`$1' $msg. You should only need it if
- you modified a \`.y' file. You may need the \`Bison' package
- in order for those modifications to take effect. You can get
- \`Bison' from any GNU archive site."
- rm -f y.tab.c y.tab.h
- if test $# -ne 1; then
- eval LASTARG=\${$#}
- case $LASTARG in
- *.y)
- SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
- if test -f "$SRCFILE"; then
- cp "$SRCFILE" y.tab.c
- fi
- SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
- if test -f "$SRCFILE"; then
- cp "$SRCFILE" y.tab.h
- fi
- ;;
- esac
- fi
- if test ! -f y.tab.h; then
- echo >y.tab.h
- fi
- if test ! -f y.tab.c; then
- echo 'main() { return 0; }' >y.tab.c
- fi
- ;;
-
- lex*|flex*)
- echo 1>&2 "\
-WARNING: \`$1' is $msg. You should only need it if
- you modified a \`.l' file. You may need the \`Flex' package
- in order for those modifications to take effect. You can get
- \`Flex' from any GNU archive site."
- rm -f lex.yy.c
- if test $# -ne 1; then
- eval LASTARG=\${$#}
- case $LASTARG in
- *.l)
- SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
- if test -f "$SRCFILE"; then
- cp "$SRCFILE" lex.yy.c
- fi
- ;;
- esac
- fi
- if test ! -f lex.yy.c; then
- echo 'main() { return 0; }' >lex.yy.c
- fi
- ;;
-
- help2man*)
- echo 1>&2 "\
-WARNING: \`$1' is $msg. You should only need it if
- you modified a dependency of a manual page. You may need the
- \`Help2man' package in order for those modifications to take
- effect. You can get \`Help2man' from any GNU archive site."
-
- file=`echo "$*" | sed -n "$sed_output"`
- test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
- if test -f "$file"; then
- touch $file
- else
- test -z "$file" || exec >$file
- echo ".ab help2man is required to generate this page"
- exit $?
- fi
- ;;
-
- makeinfo*)
- echo 1>&2 "\
-WARNING: \`$1' is $msg. You should only need it if
- you modified a \`.texi' or \`.texinfo' file, or any other file
- indirectly affecting the aspect of the manual. The spurious
- call might also be the consequence of using a buggy \`make' (AIX,
- DU, IRIX). You might want to install the \`Texinfo' package or
- the \`GNU make' package. Grab either from any GNU archive site."
- # The file to touch is that specified with -o ...
- file=`echo "$*" | sed -n "$sed_output"`
- test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
- if test -z "$file"; then
- # ... or it is the one specified with @setfilename ...
- infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
- file=`sed -n '
- /^@setfilename/{
- s/.* \([^ ]*\) *$/\1/
- p
- q
- }' $infile`
- # ... or it is derived from the source name (dir/f.texi becomes f.info)
- test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
- fi
- # If the file does not exist, the user really needs makeinfo;
- # let's fail without touching anything.
- test -f $file || exit 1
- touch $file
- ;;
-
- *)
- echo 1>&2 "\
-WARNING: \`$1' is needed, and is $msg.
- You might have modified some files without having the
- proper tools for further handling them. Check the \`README' file,
- it often tells you about the needed prerequisites for installing
- this package. You may also peek at any GNU archive site, in case
- some other package would contain this missing \`$1' program."
- exit 1
- ;;
-esac
+# Also exit now if we it failed (or wasn't found), and '--version' was
+# passed; such an option is passed most likely to detect whether the
+# program is present and works.
+case $2 in --version|--help) exit $st;; esac
+
+# Exit code 63 means version mismatch. This often happens when the user
+# tries to use an ancient version of a tool on a file that requires a
+# minimum version.
+if test $st -eq 63; then
+ msg="probably too old"
+elif test $st -eq 127; then
+ # Program was missing.
+ msg="missing on your system"
+else
+ # Program was found and executed, but failed. Give up.
+ exit $st
+fi
-exit 0
+perl_URL=http://www.perl.org/
+flex_URL=http://flex.sourceforge.net/
+gnu_software_URL=http://www.gnu.org/software
+
+program_details ()
+{
+ case $1 in
+ aclocal|automake)
+ echo "The '$1' program is part of the GNU Automake package:"
+ echo "<$gnu_software_URL/automake>"
+ echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
+ echo "<$gnu_software_URL/autoconf>"
+ echo "<$gnu_software_URL/m4/>"
+ echo "<$perl_URL>"
+ ;;
+ autoconf|autom4te|autoheader)
+ echo "The '$1' program is part of the GNU Autoconf package:"
+ echo "<$gnu_software_URL/autoconf/>"
+ echo "It also requires GNU m4 and Perl in order to run:"
+ echo "<$gnu_software_URL/m4/>"
+ echo "<$perl_URL>"
+ ;;
+ esac
+}
+
+give_advice ()
+{
+ # Normalize program name to check for.
+ normalized_program=`echo "$1" | sed '
+ s/^gnu-//; t
+ s/^gnu//; t
+ s/^g//; t'`
+
+ printf '%s\n' "'$1' is $msg."
+
+ configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
+ case $normalized_program in
+ autoconf*)
+ echo "You should only need it if you modified 'configure.ac',"
+ echo "or m4 files included by it."
+ program_details 'autoconf'
+ ;;
+ autoheader*)
+ echo "You should only need it if you modified 'acconfig.h' or"
+ echo "$configure_deps."
+ program_details 'autoheader'
+ ;;
+ automake*)
+ echo "You should only need it if you modified 'Makefile.am' or"
+ echo "$configure_deps."
+ program_details 'automake'
+ ;;
+ aclocal*)
+ echo "You should only need it if you modified 'acinclude.m4' or"
+ echo "$configure_deps."
+ program_details 'aclocal'
+ ;;
+ autom4te*)
+ echo "You might have modified some maintainer files that require"
+ echo "the 'automa4te' program to be rebuilt."
+ program_details 'autom4te'
+ ;;
+ bison*|yacc*)
+ echo "You should only need it if you modified a '.y' file."
+ echo "You may want to install the GNU Bison package:"
+ echo "<$gnu_software_URL/bison/>"
+ ;;
+ lex*|flex*)
+ echo "You should only need it if you modified a '.l' file."
+ echo "You may want to install the Fast Lexical Analyzer package:"
+ echo "<$flex_URL>"
+ ;;
+ help2man*)
+ echo "You should only need it if you modified a dependency" \
+ "of a man page."
+ echo "You may want to install the GNU Help2man package:"
+ echo "<$gnu_software_URL/help2man/>"
+ ;;
+ makeinfo*)
+ echo "You should only need it if you modified a '.texi' file, or"
+ echo "any other file indirectly affecting the aspect of the manual."
+ echo "You might want to install the Texinfo package:"
+ echo "<$gnu_software_URL/texinfo/>"
+ echo "The spurious makeinfo call might also be the consequence of"
+ echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
+ echo "want to install GNU make:"
+ echo "<$gnu_software_URL/make/>"
+ ;;
+ *)
+ echo "You might have modified some files without having the proper"
+ echo "tools for further handling them. Check the 'README' file, it"
+ echo "often tells you about the needed prerequisites for installing"
+ echo "this package. You may also peek at any GNU archive site, in"
+ echo "case some other package contains this missing '$1' program."
+ ;;
+ esac
+}
+
+give_advice "$1" | sed -e '1s/^/WARNING: /' \
+ -e '2,$s/^/ /' >&2
+
+# Propagate the correct exit status (expected to be 127 for a program
+# not found, 63 for a program that failed due to version mismatch).
+exit $st
# Local variables:
# eval: (add-hook 'write-file-hooks 'time-stamp)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/evas_generic_loaders-1.8.1/src/bin/gst/main.c new/evas_generic_loaders-1.9.0/src/bin/gst/main.c
--- old/evas_generic_loaders-1.8.1/src/bin/gst/main.c 2013-12-08 20:46:40.000000000 +0100
+++ new/evas_generic_loaders-1.9.0/src/bin/gst/main.c 2014-01-21 16:03:14.000000000 +0100
@@ -45,7 +45,7 @@
GError *error = NULL;
GstFormat format;
GstStateChangeReturn ret;
- int vidstr = 0;
+// int vidstr = 0;
if (!filename || !*filename)
return EINA_FALSE;
@@ -79,6 +79,7 @@
goto gst_shutdown;
}
/* needs gst 1.0+
+ * also only works on playbin objects!!! this is a uridecodebin!
g_object_get(G_OBJECT(pipeline),
"n-video", &vidstr,
NULL);
@@ -163,13 +164,17 @@
}
static void
-_gst_load_image(int size_w EINA_UNUSED, int size_h EINA_UNUSED)
+_gst_load_image(int size_w EINA_UNUSED, int size_h EINA_UNUSED, double pos)
{
GstBuffer *buffer;
D("load image\n");
- gst_element_seek_simple(pipeline, GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH,
- duration / 2);
+ if (pos >= 0.0)
+ gst_element_seek_simple(pipeline, GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH,
+ pos * 1000000000.0);
+ else
+ gst_element_seek_simple(pipeline, GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH,
+ duration / 2);
g_signal_emit_by_name(sink, "pull-preroll", &buffer, NULL);
D("load image : %p %d\n", GST_BUFFER_DATA(buffer), GST_BUFFER_SIZE(buffer));
@@ -183,11 +188,11 @@
int
main(int argc, char **argv)
{
- char *file;
- int i;
+ char *file, *p;
+ int i, numonly;
int size_w = 0, size_h = 0;
int head_only = 0;
- int page = 0;
+ long long pos = -1.0;
if (argc < 2) return -1;
// file is ALWAYS first arg, other options come after
@@ -200,7 +205,16 @@
else if (!strcmp(argv[i], "-key"))
{
i++;
- page = atoi(argv[i]);
+ numonly = 1;
+ for (p = argv[i]; *p; p++)
+ {
+ if ((!*p < '0') || (*p > 9))
+ {
+ numonly = 0;
+ break;
+ }
+ }
+ if (numonly) pos = (double)(atoll(argv[i])) / 1000.0;
i++;
}
else if (!strcmp(argv[i], "-opt-scale-down-by"))
@@ -231,7 +245,7 @@
if (!head_only)
{
- _gst_load_image(size_w, size_h);
+ _gst_load_image(size_w, size_h, pos);
}
D("size...: %ix%i\n", width, height);
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0