Browse Source

modifying package: perl-gtk-5.10.0 20080101 -> 20080315

Ralf S. Engelschall 17 years ago
parent
commit
79b4fde74b
2 changed files with 15 additions and 15 deletions
  1. 12 12
      perl-gtk/perl-gtk.patch
  2. 3 3
      perl-gtk/perl-gtk.spec

+ 12 - 12
perl-gtk/perl-gtk.patch

@@ -1,6 +1,6 @@
 Index: Cairo-1.042/Makefile.PL
---- Cairo-1.042/Makefile.PL.orig	2007-10-13 12:13:24 +0200
-+++ Cairo-1.042/Makefile.PL	2007-10-13 12:14:39 +0200
+--- Cairo-1.042/Makefile.PL.orig	2007-09-27 22:23:40 +0200
++++ Cairo-1.042/Makefile.PL	2008-03-15 09:28:33 +0100
 @@ -48,7 +48,7 @@
  }
  
@@ -21,15 +21,15 @@ Index: Cairo-1.042/Makefile.PL
  $dep->add_xs (@xs_files);
  $dep->add_c ('cairo-perl-enums.c');
  $dep->add_pm ('Cairo.pm' => '$(INST_LIBDIR)/Cairo.pm');
-Index: Glib-1.160/Makefile.PL
---- Glib-1.160/Makefile.PL.orig	2007-09-16 19:05:03 +0200
-+++ Glib-1.160/Makefile.PL	2007-10-13 12:12:39 +0200
-@@ -121,6 +121,8 @@
- # this will be inherited by dependant modules, so they can find their
- # generated files.
- $glib->set_inc ($glibcfg{cflags} . $gthreadcfg{cflags} . ' -I. ');
+Index: Glib-1.181/Makefile.PL
+--- Glib-1.181/Makefile.PL.orig	2008-03-14 23:05:45 +0100
++++ Glib-1.181/Makefile.PL	2008-03-15 09:29:23 +0100
+@@ -115,6 +115,8 @@
+ 		libs => '',
+ 	);
+ }
 +$gthreadcfg{libs} =~ s/-pthread/-lpthread/sg;
 +$gthreadcfg{libs} =~ s/(-lpthread)(.+)$/$2$1/s;
- $glib->set_libs ($glibcfg{libs} . $gthreadcfg{libs});
- my $cwd = cwd();
- $glib->add_typemaps (map {File::Spec->catfile($cwd,$_)} 'typemap');
+ 
+ our $glib = ExtUtils::Depends->new ('Glib');
+ 

+ 3 - 3
perl-gtk/perl-gtk.spec

@@ -25,8 +25,8 @@
 %define       V_perl               5.10.0
 %define       V_gtk_perl           0.7009
 %define       V_cairo              1.042
-%define       V_glib               1.160
-%define       V_gtk2               1.160
+%define       V_glib               1.181
+%define       V_gtk2               1.181
 
 #   package information
 Name:         perl-gtk
@@ -39,7 +39,7 @@ Class:        EVAL
 Group:        Perl
 License:      GPL/Artistic
 Version:      %{V_perl}
-Release:      20080101
+Release:      20080315
 
 #   package options
 %option       with_gtk1          yes