perl-Gtk2 r2112 - trunk
- From: tsch svn gnome org
- To: svn-commits-list gnome org
- Subject: perl-Gtk2 r2112 - trunk
- Date: Sun, 18 Jan 2009 13:43:47 +0000 (UTC)
Author: tsch
Date: Sun Jan 18 13:43:46 2009
New Revision: 2112
URL: http://svn.gnome.org/viewvc/perl-Gtk2?rev=2112&view=rev
Log:
Use Glib::MakeHelper to create a 'precompiled-headers' target that precompiles
gtk2perl.h. This speeds up the compilation of Gtk2 by 36% on my machine.
Modified:
trunk/ (props changed)
trunk/ChangeLog
trunk/Makefile.PL
Modified: trunk/Makefile.PL
==============================================================================
--- trunk/Makefile.PL (original)
+++ trunk/Makefile.PL Sun Jan 18 13:43:46 2009
@@ -33,7 +33,7 @@
our %build_reqs = (
'perl-ExtUtils-Depends' => '0.300',
'perl-ExtUtils-PkgConfig' => '1.030',
- 'perl-Glib' => '1.200',
+ 'perl-Glib' => '1.200', # FIXME: 1.212 for precompiled headers
'perl-Pango' => '1.210',
'perl-Cairo' => '1.000',
'Gtk+' => '2.0.0',
@@ -323,6 +323,7 @@
sub MY::postamble
{
my $text = "POD_DEPENDS=build/stock_items.podi\n\n"
+ . Glib::MakeHelper->postamble_precompiled_headers (qw/gtk2perl.h/)
. Glib::MakeHelper->postamble_clean ()
. Glib::MakeHelper->postamble_docs_full (
DEPENDS => $gtk2,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]