Trying to build on rawhide
This commit is contained in:
parent
934e41eaac
commit
8f3b0fe868
@ -1,7 +1,7 @@
|
|||||||
mk_add_options MOZ_CO_PROJECT=mail
|
mk_add_options MOZ_CO_PROJECT=mail
|
||||||
ac_add_options --enable-application=mail
|
ac_add_options --enable-application=mail
|
||||||
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-tb/
|
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-tb/
|
||||||
mk_add_options AUTOCONF=autoconf
|
mk_add_options AUTOCONF=autoconf-2.13
|
||||||
|
|
||||||
#ac_add_options --with-system-png
|
#ac_add_options --with-system-png
|
||||||
|
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
%define nspr_version 4.6
|
%define nspr_version 4.6
|
||||||
%define nss_version 3.10
|
%define nss_version 3.10
|
||||||
%define cairo_version 1.0
|
%define cairo_version 1.0
|
||||||
|
%define dbus_glib_version 0.6
|
||||||
%define autoconf_version 2.13
|
%define autoconf_version 2.13
|
||||||
|
|
||||||
%define official_branding 1
|
%define official_branding 1
|
||||||
@ -31,6 +32,7 @@ Source100: find-external-requires
|
|||||||
|
|
||||||
Patch1: mozilla-jemalloc.patch
|
Patch1: mozilla-jemalloc.patch
|
||||||
Patch2: thunderbird-shared-error.patch
|
Patch2: thunderbird-shared-error.patch
|
||||||
|
Patch3: xulrunner-elif.patch
|
||||||
|
|
||||||
%if %{official_branding}
|
%if %{official_branding}
|
||||||
# Required by Mozilla Corporation
|
# Required by Mozilla Corporation
|
||||||
@ -49,15 +51,19 @@ Requires: nss >= %{nss_version}
|
|||||||
%if 0%{?rhel} >= 5
|
%if 0%{?rhel} >= 5
|
||||||
Requires: launchmail
|
Requires: launchmail
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: autoconf = %{autoconf_version}
|
BuildRequires: autoconf213 >= %{autoconf_version}
|
||||||
|
BuildRequires: alsa-lib-devel
|
||||||
|
BuildRequires: libcurl-devel
|
||||||
BuildRequires: cairo-devel >= %{cairo_version}
|
BuildRequires: cairo-devel >= %{cairo_version}
|
||||||
|
BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
|
||||||
BuildRequires: libpng-devel, libjpeg-devel, gtk2-devel
|
BuildRequires: libpng-devel, libjpeg-devel, gtk2-devel
|
||||||
BuildRequires: zlib-devel, gzip, zip, unzip
|
BuildRequires: zlib-devel, gzip, zip, unzip
|
||||||
BuildRequires: nspr-devel >= %{nspr_version}
|
BuildRequires: nspr-devel >= %{nspr_version}
|
||||||
BuildRequires: nss-devel >= %{nss_version}
|
BuildRequires: nss-devel >= %{nss_version}
|
||||||
BuildRequires: libIDL-devel
|
BuildRequires: libIDL-devel
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: freetype-devel
|
BuildRequires: pango-devel >= 1.22
|
||||||
|
BuildRequires: freetype-devel >= 2.1.9
|
||||||
BuildRequires: libXt-devel
|
BuildRequires: libXt-devel
|
||||||
BuildRequires: libXrender-devel
|
BuildRequires: libXrender-devel
|
||||||
Requires: desktop-file-utils >= %{desktop_file_utils_version}
|
Requires: desktop-file-utils >= %{desktop_file_utils_version}
|
||||||
@ -79,6 +85,7 @@ Mozilla Thunderbird is a standalone mail and newsgroup client.
|
|||||||
|
|
||||||
%patch1 -p0 -b .jemalloc
|
%patch1 -p0 -b .jemalloc
|
||||||
%patch2 -p1 -b .shared-error
|
%patch2 -p1 -b .shared-error
|
||||||
|
%patch3 -p0 -b .xulrunner-elif
|
||||||
|
|
||||||
%if %{official_branding}
|
%if %{official_branding}
|
||||||
# Required by Mozilla Corporation
|
# Required by Mozilla Corporation
|
||||||
|
12
xulrunner-elif.patch
Normal file
12
xulrunner-elif.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up mozilla/toolkit/xre/nsAppRunner.cpp.old mozilla/toolkit/xre/nsAppRunner.cpp
|
||||||
|
--- mozilla/toolkit/xre/nsAppRunner.cpp.old 2008-12-10 20:07:01.000000000 +0100
|
||||||
|
+++ mozilla/toolkit/xre/nsAppRunner.cpp 2009-02-27 17:17:59.000000000 +0100
|
||||||
|
@@ -1475,7 +1475,7 @@ XRE_GetBinaryPath(const char* argv0, nsI
|
||||||
|
if (NS_FAILED(rv))
|
||||||
|
return rv;
|
||||||
|
|
||||||
|
-#elif
|
||||||
|
+#else
|
||||||
|
#error Oops, you need platform-specific code here
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user