r29093 - in /branches/upstream/libsearch-xapian-perl/current: Changes META.yml Makefile.PL README Xapian.pm
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Thu Jan 1 20:39:30 UTC 2009
Author: gregoa
Date: Thu Jan 1 20:39:27 2009
New Revision: 29093
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=29093
Log:
[svn-upgrade] Integrating new upstream version, libsearch-xapian-perl (1.0.10.0)
Modified:
branches/upstream/libsearch-xapian-perl/current/Changes
branches/upstream/libsearch-xapian-perl/current/META.yml
branches/upstream/libsearch-xapian-perl/current/Makefile.PL
branches/upstream/libsearch-xapian-perl/current/README
branches/upstream/libsearch-xapian-perl/current/Xapian.pm
Modified: branches/upstream/libsearch-xapian-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libsearch-xapian-perl/current/Changes?rev=29093&op=diff
==============================================================================
--- branches/upstream/libsearch-xapian-perl/current/Changes (original)
+++ branches/upstream/libsearch-xapian-perl/current/Changes Thu Jan 1 20:39:27 2009
@@ -1,4 +1,12 @@
Revision history for Perl extension Search::Xapian.
+
+1.0.10.0 Tue Dec 23 09:18:21 GMT 2008
+ [Changes contributed by Olly Betts]
+ - Makefile.PL now supports a "fake VPATH" mode, to better support for
+ building from SVN. If you run "perl /path/to/Makefile.PL" then
+ Makefile.PL will run Makefile.PL as nomal in /path/to, and then
+ create a stub Makefile in the current directory which forwards any
+ make invocations.
1.0.9.0 Fri Oct 31 23:27:06 GMT 2008
[Changes contributed by Olly Betts]
Modified: branches/upstream/libsearch-xapian-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libsearch-xapian-perl/current/META.yml?rev=29093&op=diff
==============================================================================
--- branches/upstream/libsearch-xapian-perl/current/META.yml (original)
+++ branches/upstream/libsearch-xapian-perl/current/META.yml Thu Jan 1 20:39:27 2009
@@ -1,7 +1,7 @@
# http://module-build.sourceforge.net/META-spec.html
#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
name: Search-Xapian
-version: 1.0.9.0
+version: 1.0.10.0
version_from: Xapian.pm
installdirs: site
requires:
Modified: branches/upstream/libsearch-xapian-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libsearch-xapian-perl/current/Makefile.PL?rev=29093&op=diff
==============================================================================
--- branches/upstream/libsearch-xapian-perl/current/Makefile.PL (original)
+++ branches/upstream/libsearch-xapian-perl/current/Makefile.PL Thu Jan 1 20:39:27 2009
@@ -5,6 +5,14 @@
# Suppress warnings about parameters we allow the user to specify.
$ExtUtils::MakeMaker::Recognized_Att_Keys{CXX} = 1;
$ExtUtils::MakeMaker::Recognized_Att_Keys{XAPIAN_CONFIG} = 1;
+
+my $builddir;
+
+my $srcdir = $0;
+if ($srcdir =~ s!/.*!!) {
+ chomp($builddir = `pwd`);
+ chdir $srcdir;
+}
my $xapian_config;
my $CC;
@@ -110,7 +118,8 @@
'LD' => $LD,
'INC' => $inc, # e.g., '-I/usr/include/other'
'XSOPT' => '-C++',
- 'TYPEMAPS' => ['perlobject.map','typemap'],
+ # 'typemap' is implicitly added to this list.
+ 'TYPEMAPS' => ['perlobject.map'],
# Add "make check" as alias for "make test".
'depend' => { 'check' => 'test' },
);
@@ -127,7 +136,7 @@
my ($BASEVERSION) = $VERSION =~ /^([0-9]+\.[0-9]+\.[0-9]+)/;
if ($xver !~ /^\Q$BASEVERSION\E(?:_svn[0-9]+)?$/) {
- # There's no chance that we'll with xapian-core 0.x.y.
+ # There's no chance that we'll work with xapian-core 0.x.y.
my $no_chance = ($xver =~ /^0/);
my $msg;
if ($no_chance) {
@@ -173,6 +182,25 @@
die(join(",", at bad).": No mention of current version: $VERSION\n");
}
+# If we're doing a fake VPATH build, add a stub Makefile which forwards all
+# invocations (.DEFAULT is a GNU-make-ism).
+if (defined $builddir) {
+ open M, '>', "$builddir/Makefile~" or die $!;
+ print M <<"EOF";
+.DEFAULT:
+\t\$(MAKE) -C "$srcdir" \$\@
+
+.PHONY: Search-Xapian-$VERSION.tar.gz
+
+dist tardist Search-Xapian-$VERSION.tar.gz:
+\t\$(MAKE) -C "$srcdir" \$\@
+\trm -f Search-Xapian-$VERSION.tar.gz
+\tcp "$srcdir"/Search-Xapian-$VERSION.tar.gz .
+EOF
+
+ close M or die $!;
+ rename "$builddir/Makefile~", "$builddir/Makefile" or die $!;
+}
sub MY::postamble {
return "\$(XS_FILES): ".join(" ", <XS/*.xs>)."\n\ttouch \$(XS_FILES)";
Modified: branches/upstream/libsearch-xapian-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libsearch-xapian-perl/current/README?rev=29093&op=diff
==============================================================================
--- branches/upstream/libsearch-xapian-perl/current/README (original)
+++ branches/upstream/libsearch-xapian-perl/current/README Thu Jan 1 20:39:27 2009
@@ -1,5 +1,5 @@
-Search::Xapian version 1.0.9.0
-==============================
+Search::Xapian version 1.0.10.0
+===============================
This is Search::Xapian, a Perl XS frontend to the Xapian C++ search library.
Modified: branches/upstream/libsearch-xapian-perl/current/Xapian.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libsearch-xapian-perl/current/Xapian.pm?rev=29093&op=diff
==============================================================================
--- branches/upstream/libsearch-xapian-perl/current/Xapian.pm (original)
+++ branches/upstream/libsearch-xapian-perl/current/Xapian.pm Thu Jan 1 20:39:27 2009
@@ -4,7 +4,7 @@
use strict;
use warnings;
-our $VERSION = '1.0.9.0';
+our $VERSION = '1.0.10.0';
use Exporter 'import';
More information about the Pkg-perl-cvs-commits
mailing list