Mailinglist Archive: opensuse-commit (1215 mails)
| < Previous | Next > |
commit perl-ExtUtils-Depends for openSUSE:Factory
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Mon, 03 Aug 2009 18:52:12 +0200
- Message-id: <20090803165212.3EBF561B6@xxxxxxxxxxxxxxx>
Hello community,
here is the log from the commit of package perl-ExtUtils-Depends for
openSUSE:Factory
checked in at Mon Aug 3 18:52:12 CEST 2009.
--------
--- perl-ExtUtils-Depends/perl-ExtUtils-Depends.changes 2008-09-10
17:28:30.000000000 +0200
+++ perl-ExtUtils-Depends/perl-ExtUtils-Depends.changes 2009-08-03
16:47:26.000000000 +0200
@@ -1,0 +2,7 @@
+Mon Aug 3 16:08:30 CEST 2009 - anicka@xxxxxxx
+
+- update to 0.302
+ * Create import libraries if necessary to fix linking when gcc is used
+ on MSWin32 (Strawberry Perl, for example).
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
ExtUtils-Depends-0.301.tar.bz2
New:
----
ExtUtils-Depends-0.302.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-ExtUtils-Depends.spec ++++++
--- /var/tmp/diff_new_pack.FlPr3a/_old 2009-08-03 18:51:29.000000000 +0200
+++ /var/tmp/diff_new_pack.FlPr3a/_new 2009-08-03 18:51:29.000000000 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package perl-ExtUtils-Depends (Version 0.301)
+# spec file for package perl-ExtUtils-Depends (Version 0.302)
#
-# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2009 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,12 +20,12 @@
Name: perl-ExtUtils-Depends
Url: http://cpan.org/modules/by-module/ExtUtils/
-License: Artistic License
+License: Artistic License ..
Group: Development/Libraries/Perl
Requires: perl = %{perl_version}
AutoReqProv: on
Summary: ExtUtils-Depends Perl module
-Version: 0.301
+Version: 0.302
Release: 1
Source: ExtUtils-Depends-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ ExtUtils-Depends-0.301.tar.bz2 -> ExtUtils-Depends-0.302.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-Depends-0.301/Changes
new/ExtUtils-Depends-0.302/Changes
--- old/ExtUtils-Depends-0.301/Changes 2008-09-06 20:11:52.000000000 +0200
+++ new/ExtUtils-Depends-0.302/Changes 2009-07-04 15:36:40.000000000 +0200
@@ -1,5 +1,9 @@
Revision history for Perl extension ExtUtils::Depends.
+0.302 Sat Jul 4 15:28:35 CEST 2009
+ - Create import libraries if necessary to fix linking when gcc is used
+ on MSWin32 (Strawberry Perl, for example).
+
0.301 Sat Sep 6 20:11:01 CEST 2008
- On Cygwin, link directly against the DLLs of dependencies. Patch by
Yaakov.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-Depends-0.301/MANIFEST
new/ExtUtils-Depends-0.302/MANIFEST
--- old/ExtUtils-Depends-0.301/MANIFEST 2008-09-06 20:13:02.000000000 +0200
+++ new/ExtUtils-Depends-0.302/MANIFEST 2009-05-18 21:35:20.000000000 +0200
@@ -1,8 +1,8 @@
-.cvsignore
Changes
lib/ExtUtils/Depends.pm
Makefile.PL
MANIFEST
+MANIFEST.SKIP
META.yml
perl-ExtUtils-Depends.spec.in
README
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-Depends-0.301/MANIFEST.SKIP
new/ExtUtils-Depends-0.302/MANIFEST.SKIP
--- old/ExtUtils-Depends-0.301/MANIFEST.SKIP 1970-01-01 01:00:00.000000000
+0100
+++ new/ExtUtils-Depends-0.302/MANIFEST.SKIP 2009-05-18 21:36:09.000000000
+0200
@@ -0,0 +1,5 @@
+^blib
+^MAINTAINERS$
+^Makefile$
+^pm_to_blib$
+^\.git
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-Depends-0.301/META.yml
new/ExtUtils-Depends-0.302/META.yml
--- old/ExtUtils-Depends-0.301/META.yml 2008-09-06 20:14:11.000000000 +0200
+++ new/ExtUtils-Depends-0.302/META.yml 2009-07-04 15:37:28.000000000 +0200
@@ -1,12 +1,32 @@
--- #YAML:1.0
-name: ExtUtils-Depends
-version: 0.301
-abstract: ~
-license: ~
-author: ~
-generated_by: ExtUtils::MakeMaker version 6.44
-distribution_type: module
-requires:
+name: ExtUtils-Depends
+version: 0.302
+abstract: ~
+author: []
+license: perl
+distribution_type: module
+configure_requires:
+ ExtUtils::MakeMaker: 0
+build_requires:
+ ExtUtils::MakeMaker: 0
+ Test::More: 0
+requires:
+ Data::Dumper: 0
+ File::Spec: 0
+ IO::File: 0
+ perl: 5.006
+resources:
+ repository: http://git.gnome.org/cgit/perl-ExtUtils-Depends
+no_index:
+ directory:
+ - t
+ - inc
+ package: ExtUtils::MM
+generated_by: ExtUtils::MakeMaker version 6.52
meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.3.html
- version: 1.3
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
+keywords:
+ - XS
+ - XS extensions
+ - dependency
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-Depends-0.301/Makefile.PL
new/ExtUtils-Depends-0.302/Makefile.PL
--- old/ExtUtils-Depends-0.301/Makefile.PL 2008-06-01 17:23:24.000000000
+0200
+++ new/ExtUtils-Depends-0.302/Makefile.PL 2009-07-04 15:17:53.000000000
+0200
@@ -6,13 +6,34 @@
use ExtUtils::MakeMaker;
WriteMakefile(
- 'dist' => {
- PREOP => 'pod2text lib/ExtUtils/Depends.pm | tee
README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;',
- COMPRESS => 'gzip -9v',
- SUFFIX => '.gz',
- },
- 'NAME' => 'ExtUtils::Depends',
- 'VERSION_FROM' => 'lib/ExtUtils/Depends.pm',
+ dist => {
+ $^O eq 'MSWin32'
+ ? ()
+ : (PREOP => 'pod2text lib/ExtUtils/Depends.pm | tee
README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;'),
+ COMPRESS => 'gzip -9v',
+ SUFFIX => '.gz',
+ },
+ NAME => 'ExtUtils::Depends',
+ VERSION_FROM => 'lib/ExtUtils/Depends.pm',
+ PREREQ_PM => {
+ 'File::Spec' => 0,
+ 'Data::Dumper' => 0,
+ 'IO::File' => 0,
+ },
+ MIN_PERL_VERSION => 5.006, #for META.yml
+ META_MERGE => {
+ build_requires => {
+ 'Test::More' => 0,
+ },
+ resources => {
+ repository =>
'http://git.gnome.org/cgit/perl-ExtUtils-Depends',
+ },
+ keywords => ['XS', 'XS extensions', 'dependency'],
+ no_index => {
+ package => 'ExtUtils::MM',
+ },
+ },
+ LICENSE => 'perl',
);
use Cwd;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-Depends-0.301/lib/ExtUtils/Depends.pm
new/ExtUtils-Depends-0.302/lib/ExtUtils/Depends.pm
--- old/ExtUtils-Depends-0.301/lib/ExtUtils/Depends.pm 2008-09-06
20:13:47.000000000 +0200
+++ new/ExtUtils-Depends-0.302/lib/ExtUtils/Depends.pm 2009-07-04
15:30:45.000000000 +0200
@@ -1,5 +1,5 @@
#
-# $Header:
/cvsroot/gtk2-perl/gtk2-perl-xs/ExtUtils-Depends/lib/ExtUtils/Depends.pm,v 1.20
2008/09/06 18:13:47 kaffeetisch Exp $
+# $Id$
#
package ExtUtils::Depends;
@@ -11,7 +11,7 @@
use File::Spec;
use Data::Dumper;
-our $VERSION = '0.301';
+our $VERSION = '0.302';
sub import {
my $class = shift;
@@ -282,6 +282,8 @@
TYPEMAPS => [@typemaps],
);
+ $self->build_dll_lib(\%vars) if $^O =~ /MSWin32/;
+
# we don't want to provide these if there is no data in them;
# that way, the caller can still get default behavior out of
# MakeMaker when INC, LIBS and TYPEMAPS are all that are required.
@@ -297,12 +299,19 @@
%vars;
}
+sub build_dll_lib {
+ my ($self, $vars) = @_;
+ $vars->{macro} ||= {};
+ $vars->{macro}{'INST_DYNAMIC_LIB'} =
+ '$(INST_ARCHAUTODIR)/$(BASEEXT)$(LIB_EXT)';
+}
+
sub find_extra_libs {
my $self = shift;
my %mappers = (
- MSWin32 => sub { $_[0] . '.lib' },
- cygwin => sub { $_[0] . '.dll'},
+ MSWin32 => sub { $_[0] . '\.(?:lib|a)' },
+ cygwin => sub { $_[0] . '\.dll'},
);
my $mapper = $mappers{$^O};
return () unless defined $mapper;
@@ -331,6 +340,25 @@
return @found_libs;
}
+# Hook into ExtUtils::MakeMaker to create an import library on MSWin32 when gcc
+# is used. FIXME: Ideally, this should be done in EU::MM itself.
+package # wrap to fool the CPAN indexer
+ ExtUtils::MM;
+use Config;
+sub static_lib {
+ my $base = shift->SUPER::static_lib(@_);
+
+ return $base unless $^O =~ /MSWin32/ && $Config{cc} =~ /^gcc/i;
+
+ return <<'__EOM__';
+# This isn't actually a static lib, it just has the same name on Win32.
+$(INST_DYNAMIC_LIB): $(INST_DYNAMIC)
+ dlltool --def $(EXPORT_LIST) --output-lib $@ --dllname $(BASEEXT).$(SO)
$(INST_DYNAMIC)
+
+dynamic:: $(INST_DYNAMIC_LIB)
+__EOM__
+}
+
1;
__END__
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |