[perl-Gtk2-MozEmbed] rebuild againt xulrunner 2.0 + fix undefined macro
Remi Collet
remi at fedoraproject.org
Sun Sep 26 06:46:46 UTC 2010
commit 1f6e24510c2c0449f3493190d5092599029ba444
Author: remi <fedora at famillecollet.com>
Date: Sun Sep 26 08:46:44 2010 +0200
rebuild againt xulrunner 2.0 + fix undefined macro
perl-Gtk2-MozEmbed-check.patch | 12 ++++++++++++
perl-Gtk2-MozEmbed.spec | 10 ++++++++--
2 files changed, 20 insertions(+), 2 deletions(-)
---
diff --git a/perl-Gtk2-MozEmbed-check.patch b/perl-Gtk2-MozEmbed-check.patch
new file mode 100644
index 0000000..98064fa
--- /dev/null
+++ b/perl-Gtk2-MozEmbed-check.patch
@@ -0,0 +1,12 @@
+diff -up Gtk2-MozEmbed-0.08/xs/GtkMozEmbed.xs.orig Gtk2-MozEmbed-0.08/xs/GtkMozEmbed.xs
+--- Gtk2-MozEmbed-0.08/xs/GtkMozEmbed.xs.orig 2010-09-26 08:36:19.000000000 +0200
++++ Gtk2-MozEmbed-0.08/xs/GtkMozEmbed.xs 2010-09-26 08:37:11.000000000 +0200
+@@ -288,7 +288,7 @@ gtk_moz_embed_new (class)
+ C_ARGS:
+ /* void */
+ CLEANUP:
+-#if !GTK_MOZ_EMBED_CHECK_VERSION (1, 7, 3)
++#if 1
+ /* To avoid getting a segfault, add an additional ref so that the thing
+ will never get destroyed. */
+ if (RETVAL)
diff --git a/perl-Gtk2-MozEmbed.spec b/perl-Gtk2-MozEmbed.spec
index 67a08bc..0f2e41d 100644
--- a/perl-Gtk2-MozEmbed.spec
+++ b/perl-Gtk2-MozEmbed.spec
@@ -1,7 +1,7 @@
%define perlname Gtk2-MozEmbed
# fedora >= 15
-%define gecko_version 1.9.3.0
+%define gecko_version 2.0
# Using specfilever cause dumpspec to only increase
@@ -11,7 +11,7 @@
Summary: Interface to the Mozilla embedding widget
Name: perl-Gtk2-MozEmbed
Version: 0.08
-Release: %{specfilever}%{?dist}
+Release: %{specfilever}%{?dist}.1
Group: Development/Libraries
License: LGPLv2+
@@ -22,6 +22,7 @@ Source0: http://www.cpan.org/authors/id/T/TS/TSCH/%{perlname}-%{version}.t
Patch0: %{name}-make.patch
# See https://rt.cpan.org/Ticket/Display.html?id=61063
Patch1: missing-pixbuf.patch
+Patch2: %{name}-check.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -48,6 +49,7 @@ This module allows you to use the Mozilla embedding widget from Perl.
%patch0 -p0
%patch1 -p1
+%patch2 -p1
iconv -f ISO-8859-15 -t UTF-8 NEWS >NEWS.utf8
touch -r NEWS NEWS.utf8
@@ -90,6 +92,10 @@ find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
%changelog
+* Sat Sep 25 2010 Remi Collet <Fedora at FamilleCollet.com> - 0.08-7.1
+- Rebuild against newer gecko (2.0)
+- add patch for undefined macro (GTK_MOZ_EMBED_CHECK_VERSION)
+
* Sat Sep 04 2010 Remi Collet <Fedora at FamilleCollet.com> - 0.08-7
- Rebuild against newer gecko (1.9.3.0)
- Added missing-pixbuf.patch to solve missing gdk-pixbuf.h
More information about the scm-commits
mailing list