[mingw-webkitgtk3] Temporarly disable the mingw64 build
Kalev Lember
kalev at fedoraproject.org
Sun May 12 18:02:30 UTC 2013
commit 3d1ce15471779a5bcded59020f47f9f5d33c1244
Author: Kalev Lember <kalevlember at gmail.com>
Date: Thu Apr 11 23:30:09 2013 +0200
Temporarly disable the mingw64 build
... to work around a build issue with JavaScriptCore LLInt.
The classical interpreter is gone in 2.0.0, and the JIT compiler isn't
implemented for 64 bit Windows, and LLInt doesn't currently build.
mingw-webkitgtk3.spec | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/mingw-webkitgtk3.spec b/mingw-webkitgtk3.spec
index 98edf63..b6c3046 100644
--- a/mingw-webkitgtk3.spec
+++ b/mingw-webkitgtk3.spec
@@ -1,5 +1,8 @@
%{?mingw_package_header}
+# webkitgtk 2.0.0 doesn't build for 64 bit Windows, disable for now
+%global mingw_build_win64 0
+
## NOTE: Lots of files in various subdirectories have the same name (such as
## "LICENSE") so this short macro allows us to distinguish them by using their
## directory names (from the source tree) as prefixes for the files.
@@ -67,6 +70,7 @@ BuildRequires: mingw32-libxslt
BuildRequires: mingw32-pthreads
BuildRequires: mingw32-sqlite
+%if 0%{?mingw_build_win64} == 1
BuildRequires: mingw64-binutils
BuildRequires: mingw64-enchant
BuildRequires: mingw64-filesystem >= 95
@@ -85,7 +89,7 @@ BuildRequires: mingw64-libxml2
BuildRequires: mingw64-libxslt
BuildRequires: mingw64-pthreads
BuildRequires: mingw64-sqlite
-
+%endif
%description
WebKitGTK+ is an open-source Web content engine library.
@@ -106,6 +110,7 @@ as well as the sample GtkLauncher tool.
This is the MinGW port of WebKitGTK+ for GTK+ 3.
+%if 0%{?mingw_build_win64} == 1
%package -n mingw64-webkitgtk3
Summary: MinGW Windows web content engine library
@@ -115,6 +120,7 @@ This package contains the shared libraries for the WebKit GTK+ port
as well as the sample GtkLauncher tool.
This is the MinGW port of WebKitGTK+ for GTK+ 3.
+%endif
%{?mingw_debug_package}
@@ -153,7 +159,9 @@ autoreconf --verbose --install -I Source/autotools
%mingw_make install DESTDIR=%{buildroot}
install -m 755 build_win32/Programs/.libs/GtkLauncher.exe %{buildroot}%{mingw32_bindir}/GtkLauncher-3.exe
+%if 0%{?mingw_build_win64} == 1
install -m 755 build_win64/Programs/.libs/GtkLauncher.exe %{buildroot}%{mingw64_bindir}/GtkLauncher-3.exe
+%endif
# Drop all .la files
find $RPM_BUILD_ROOT -name "*.la" -delete
@@ -173,6 +181,7 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
%add_to_doc_files32 Source/JavaScriptCore/icu/README
%add_to_doc_files32 Source/JavaScriptCore/icu/LICENSE
+%if 0%{?mingw_build_win64} == 1
%add_to_doc_files64 Source/WebKit/LICENSE
%add_to_doc_files64 Source/WebKit/gtk/NEWS
%add_to_doc_files64 Source/WebCore/icu/LICENSE
@@ -184,6 +193,7 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
%add_to_doc_files64 Source/JavaScriptCore/AUTHORS
%add_to_doc_files64 Source/JavaScriptCore/icu/README
%add_to_doc_files64 Source/JavaScriptCore/icu/LICENSE
+%endif
%files -n mingw32-webkitgtk3 -f mingw32-WebKitGTK-3.0.lang
@@ -199,6 +209,7 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
%{mingw32_libdir}/pkgconfig/webkitgtk-3.0.pc
%{mingw32_datadir}/webkitgtk-3.0/
+%if 0%{?mingw_build_win64} == 1
%files -n mingw64-webkitgtk3 -f mingw64-WebKitGTK-3.0.lang
%{_docdir}/mingw64-webkitgtk3-%{version}/
%{mingw64_bindir}/jsc-3.exe
@@ -211,6 +222,7 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
%{mingw64_libdir}/pkgconfig/javascriptcoregtk-3.0.pc
%{mingw64_libdir}/pkgconfig/webkitgtk-3.0.pc
%{mingw64_datadir}/webkitgtk-3.0/
+%endif
%changelog
More information about the scm-commits
mailing list