461834
From 8973008e7e50b14e266dd3ff6b4728289910ba5f Mon Sep 17 00:00:00 2001
461834
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
461834
Date: Thu, 18 Feb 2016 14:16:06 +0100
461834
Subject: [PATCH] Remove bundled source extentions
461834
MIME-Version: 1.0
461834
Content-Type: text/plain; charset=UTF-8
461834
Content-Transfer-Encoding: 8bit
461834
461834
Signed-off-by: Petr Písař <ppisar@redhat.com>
461834
---
461834
 README            | 30 ------------------------------
461834
 lib/DBD/SQLite.pm | 31 -------------------------------
461834
 2 files changed, 61 deletions(-)
461834
461834
diff --git a/README b/README
461834
index c1577c2..bf7503c 100644
461834
--- a/README
461834
+++ b/README
461834
@@ -1222,36 +1222,6 @@ R* TREE SUPPORT
461834
     using callbacks, as mentioned in the prior link, have not been
461834
     implemented yet.
461834
 
461834
-FOR DBD::SQLITE EXTENSION AUTHORS
461834
-    Since 1.30_01, you can retrieve the bundled sqlite C source and/or
461834
-    header like this:
461834
-
461834
-      use File::ShareDir 'dist_dir';
461834
-      use File::Spec::Functions 'catfile';
461834
-      
461834
-  # the whole sqlite3.h header
461834
-      my $sqlite3_h = catfile(dist_dir('DBD-SQLite'), 'sqlite3.h');
461834
-      
461834
-  # or only a particular header, amalgamated in sqlite3.c
461834
-      my $what_i_want = 'parse.h';
461834
-      my $sqlite3_c = catfile(dist_dir('DBD-SQLite'), 'sqlite3.c');
461834
-      open my $fh, '<', $sqlite3_c or die $!;
461834
-      my $code = do { local $/; <$fh> };
461834
-      my ($parse_h) = $code =~ m{(
461834
-        /\*+[ ]Begin[ ]file[ ]$what_i_want[ ]\*+
461834
-        .+?
461834
-        /\*+[ ]End[ ]of[ ]$what_i_want[ ]\*+/
461834
-      )}sx;
461834
-      open my $out, '>', $what_i_want or die $!;
461834
-      print $out $parse_h;
461834
-      close $out;
461834
-
461834
-    You usually want to use this in your extension's "Makefile.PL", and you
461834
-    may want to add DBD::SQLite to your extension's "CONFIGURE_REQUIRES" to
461834
-    ensure your extension users use the same C source/header they use to
461834
-    build DBD::SQLite itself (instead of the ones installed in their
461834
-    system).
461834
-
461834
 TO DO
461834
     The following items remain to be done.
461834
 
461834
diff --git a/lib/DBD/SQLite.pm b/lib/DBD/SQLite.pm
461834
index d03aeb5..60b74a7 100644
461834
--- a/lib/DBD/SQLite.pm
461834
+++ b/lib/DBD/SQLite.pm
461834
@@ -2494,37 +2494,6 @@ sources, etc.
461834
 
461834
 Other Perl virtual tables may also be published separately on CPAN.
461834
 
461834
-=head1 FOR DBD::SQLITE EXTENSION AUTHORS
461834
-
461834
-Since 1.30_01, you can retrieve the bundled SQLite C source and/or
461834
-header like this:
461834
-
461834
-  use File::ShareDir 'dist_dir';
461834
-  use File::Spec::Functions 'catfile';
461834
-  
461834
-  # the whole sqlite3.h header
461834
-  my $sqlite3_h = catfile(dist_dir('DBD-SQLite'), 'sqlite3.h');
461834
-  
461834
-  # or only a particular header, amalgamated in sqlite3.c
461834
-  my $what_i_want = 'parse.h';
461834
-  my $sqlite3_c = catfile(dist_dir('DBD-SQLite'), 'sqlite3.c');
461834
-  open my $fh, '<', $sqlite3_c or die $!;
461834
-  my $code = do { local $/; <$fh> };
461834
-  my ($parse_h) = $code =~ m{(
461834
-    /\*+[ ]Begin[ ]file[ ]$what_i_want[ ]\*+
461834
-    .+?
461834
-    /\*+[ ]End[ ]of[ ]$what_i_want[ ]\*+/
461834
-  )}sx;
461834
-  open my $out, '>', $what_i_want or die $!;
461834
-  print $out $parse_h;
461834
-  close $out;
461834
-
461834
-You usually want to use this in your extension's C<Makefile.PL>,
461834
-and you may want to add DBD::SQLite to your extension's C<CONFIGURE_REQUIRES>
461834
-to ensure your extension users use the same C source/header they use
461834
-to build DBD::SQLite itself (instead of the ones installed in their
461834
-system).
461834
-
461834
 =head1 TO DO
461834
 
461834
 The following items remain to be done.
461834
-- 
461834
2.5.0
461834