From dab63ff6bedb76d6c6b976279192d14fc5fb950c Mon Sep 17 00:00:00 2001 From: sagitter Date: Mar 12 2015 15:54:35 +0000 Subject: Update to 31.5.0 --- diff --git a/.gitignore b/.gitignore index 96d6234..8e52e4c 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,5 @@ /icecat-31.2.0.tar.xz /icecat-31.4.0-langpacks.tar.gz /icecat-31.4.0.tar.bz2 +/icecat-31.5.0-langpacks.tar.gz +/icecat-31.5.0.tar.bz2 diff --git a/icecat-mozconfig-common b/icecat-mozconfig-common index 360d0f5..cf2f70a 100644 --- a/icecat-mozconfig-common +++ b/icecat-mozconfig-common @@ -23,7 +23,6 @@ ac_add_options --with-system-icu ac_add_options --without-intl-api ac_add_options --disable-ipdl-tests ac_add_options --disable-accessibility -ac_add_options --disable-crashreporter ac_add_options --disable-debug ac_add_options --disable-official-branding ac_add_options --enable-system-cairo @@ -41,6 +40,7 @@ ac_add_options --disable-compile-environment ac_add_options --enable-shared-js ac_add_options --enable-default-toolkit=cairo-gtk2 ac_add_options --enable-extensions=default +ac_add_options --disable-crashreporter ac_add_options --enable-strip ac_add_options --enable-install-strip ac_add_options --enable-toolkit-cairo-gtk2 diff --git a/icecat-mozilla-bug_1021171.patch b/icecat-mozilla-bug_1021171.patch new file mode 100644 index 0000000..a1493ba --- /dev/null +++ b/icecat-mozilla-bug_1021171.patch @@ -0,0 +1,243 @@ +$NetBSD: patch-mozilla_js_src_builtin_TypedObject.cpp,v 1.1 2014/10/17 16:47:22 joerg Exp $ + +--- js/src/builtin/TypedObject.cpp.orig ++++ js/src/builtin/TypedObject.cpp +@@ -710,12 +710,12 @@ ArrayMetaTypeDescr::construct(JSContext + contents.append(")"); + RootedAtom stringRepr(cx, contents.finishAtom()); + if (!stringRepr) +- return nullptr; ++ return false; + + // Extract ArrayType.prototype + RootedObject arrayTypePrototype(cx, GetPrototype(cx, arrayTypeGlobal)); + if (!arrayTypePrototype) +- return nullptr; ++ return false; + + // Create the instance of ArrayType + Rooted obj(cx); +@@ -728,7 +728,7 @@ ArrayMetaTypeDescr::construct(JSContext + if (!JSObject::defineProperty(cx, obj, cx->names().length, + UndefinedHandleValue, nullptr, nullptr, + JSPROP_READONLY | JSPROP_PERMANENT)) +- return nullptr; ++ return false; + + args.rval().setObject(*obj); + return true; +@@ -762,7 +762,7 @@ UnsizedArrayTypeDescr::dimension(JSConte + if (!size.isValid()) { + JS_ReportErrorNumber(cx, js_GetErrorMessage, nullptr, + JSMSG_TYPEDOBJECT_TOO_BIG); +- return nullptr; ++ return false; + } + + // Construct a canonical string `new ArrayType().dimension(N)`: +@@ -775,7 +775,7 @@ UnsizedArrayTypeDescr::dimension(JSConte + contents.append(")"); + RootedAtom stringRepr(cx, contents.finishAtom()); + if (!stringRepr) +- return nullptr; ++ return false; + + // Create the sized type object. + Rooted obj(cx); +@@ -793,7 +793,7 @@ UnsizedArrayTypeDescr::dimension(JSConte + if (!JSObject::defineProperty(cx, obj, cx->names().length, + lengthVal, nullptr, nullptr, + JSPROP_READONLY | JSPROP_PERMANENT)) +- return nullptr; ++ return false; + + // Add `unsized` property, which is a link from the sized + // array to the unsized array. +@@ -801,7 +801,7 @@ UnsizedArrayTypeDescr::dimension(JSConte + if (!JSObject::defineProperty(cx, obj, cx->names().unsized, + unsizedTypeDescrValue, nullptr, nullptr, + JSPROP_READONLY | JSPROP_PERMANENT)) +- return nullptr; ++ return false; + + args.rval().setObject(*obj); + return true; +@@ -1253,7 +1253,7 @@ DefineSimpleTypeDescr(JSContext *cx, + Rooted proto(cx); + proto = NewObjectWithProto(cx, objProto, nullptr, TenuredObject); + if (!proto) +- return nullptr; ++ return false; + proto->initTypeDescrSlot(*descr); + descr->initReservedSlot(JS_DESCR_SLOT_TYPROTO, ObjectValue(*proto)); + +@@ -1358,14 +1358,14 @@ GlobalObject::initTypedObjectModule(JSCo + #define BINARYDATA_SCALAR_DEFINE(constant_, type_, name_) \ + if (!DefineSimpleTypeDescr(cx, global, module, constant_, \ + cx->names().name_)) \ +- return nullptr; ++ return false; + JS_FOR_EACH_SCALAR_TYPE_REPR(BINARYDATA_SCALAR_DEFINE) + #undef BINARYDATA_SCALAR_DEFINE + + #define BINARYDATA_REFERENCE_DEFINE(constant_, type_, name_) \ + if (!DefineSimpleTypeDescr(cx, global, module, constant_, \ + cx->names().name_)) \ +- return nullptr; ++ return false; + JS_FOR_EACH_REFERENCE_TYPE_REPR(BINARYDATA_REFERENCE_DEFINE) + #undef BINARYDATA_REFERENCE_DEFINE + +@@ -1375,14 +1375,14 @@ GlobalObject::initTypedObjectModule(JSCo + arrayType = DefineMetaTypeDescr( + cx, global, module, TypedObjectModuleObject::ArrayTypePrototype); + if (!arrayType) +- return nullptr; ++ return false; + + RootedValue arrayTypeValue(cx, ObjectValue(*arrayType)); + if (!JSObject::defineProperty(cx, module, cx->names().ArrayType, + arrayTypeValue, + nullptr, nullptr, + JSPROP_READONLY | JSPROP_PERMANENT)) +- return nullptr; ++ return false; + + // StructType. + +@@ -1390,14 +1390,14 @@ GlobalObject::initTypedObjectModule(JSCo + structType = DefineMetaTypeDescr( + cx, global, module, TypedObjectModuleObject::StructTypePrototype); + if (!structType) +- return nullptr; ++ return false; + + RootedValue structTypeValue(cx, ObjectValue(*structType)); + if (!JSObject::defineProperty(cx, module, cx->names().StructType, + structTypeValue, + nullptr, nullptr, + JSPROP_READONLY | JSPROP_PERMANENT)) +- return nullptr; ++ return false; + + // Everything is setup, install module on the global object: + RootedValue moduleValue(cx, ObjectValue(*module)); +@@ -1407,10 +1407,10 @@ GlobalObject::initTypedObjectModule(JSCo + nullptr, nullptr, + 0)) + { +- return nullptr; ++ return false; + } + +- return module; ++ return module != nullptr; + } + + JSObject * +@@ -2466,7 +2466,7 @@ TypedObject::constructUnsized(JSContext + if (length < 0) { + JS_ReportErrorNumber(cx, js_GetErrorMessage, + nullptr, JSMSG_TYPEDOBJECT_BAD_ARGS); +- return nullptr; ++ return false; + } + Rooted obj(cx, createZeroed(cx, callee, length)); + if (!obj) +--- js/src/frontend/BytecodeCompiler.cpp.orig 2015-01-06 06:08:00.000000000 +0100 ++++ js/src/frontend/BytecodeCompiler.cpp 2015-02-20 20:51:53.831154000 +0100 +@@ -544,7 +544,7 @@ + + RootedScriptSource sourceObject(cx, CreateScriptSourceObject(cx, options)); + if (!sourceObject) +- return nullptr; ++ return false; + ScriptSource *ss = sourceObject->source(); + + SourceCompressionTask sct(cx); +--- netwerk/ipc/NeckoParent.orig.cpp 2015-03-09 17:27:29.000000000 +0100 ++++ netwerk/ipc/NeckoParent.cpp 2015-03-10 18:44:49.666382877 +0100 +@@ -359,7 +359,7 @@ + RtspChannelParent* p = static_cast(aActor); + return p->Init(aConnectArgs); + #else +- return nullptr; ++ return false; + #endif + } + +--- js/xpconnect/wrappers/XrayWrapper.orig.cpp 2015-03-09 17:29:50.000000000 +0100 ++++ js/xpconnect/wrappers/XrayWrapper.cpp 2015-03-10 17:24:09.530300092 +0100 +@@ -351,7 +351,7 @@ + { + JSAutoCompartment ac(cx, target); + if (!JS_GetClassPrototype(cx, key, protop)) +- return nullptr; ++ return false; + } + return JS_WrapObject(cx, protop); + } +@@ -528,7 +528,7 @@ + RootedObject holder(cx, JS_NewObjectWithGivenProto(cx, &HolderClass, + JS::NullPtr(), global)); + if (!holder) +- return nullptr; ++ return false; + + // Compute information about the target. + bool isPrototype = false; +@@ -564,7 +564,7 @@ + case XrayForJSObject: + return &JSXrayTraits::singleton; + default: +- return nullptr; ++ return false; + } + } + +@@ -662,7 +662,7 @@ + RootedObject exclusiveGlobal(cx, exclusiveGlobalArg); + JSAutoCompartment ac(cx, target); + if (!JS_WrapObject(cx, &exclusiveGlobal)) +- return nullptr; ++ return false; + + // Iterate through the chain, looking for a same-origin object. + RootedObject head(cx, getExpandoChain(target)); +@@ -673,7 +673,7 @@ + } + + // Not found. +- return nullptr; ++ return false; + } + + JSObject * +@@ -700,7 +700,7 @@ + RootedObject expandoObject(cx, JS_NewObjectWithGivenProto(cx, &ExpandoObjectClass, + JS::NullPtr(), target)); + if (!expandoObject) +- return nullptr; ++ return false; + + // AddRef and store the principal. + NS_ADDREF(origin); +@@ -740,7 +740,7 @@ + RootedObject consumerGlobal(cx, js::GetGlobalForObjectCrossCompartment(wrapper)); + bool isSandbox = !strcmp(js::GetObjectJSClass(consumerGlobal)->name, "Sandbox"); + if (!JS_WrapObject(cx, &consumerGlobal)) +- return nullptr; ++ return false; + expandoObject = attachExpandoObject(cx, target, ObjectPrincipal(wrapper), + isSandbox ? (HandleObject)consumerGlobal : NullPtr()); + } +@@ -1343,7 +1343,7 @@ + JSObject *holder = JS_NewObjectWithGivenProto(cx, &HolderClass, JS::NullPtr(), + global); + if (!holder) +- return nullptr; ++ return false; + + js::SetReservedSlot(holder, JSSLOT_RESOLVING, PrivateValue(nullptr)); + return holder; + diff --git a/icecat-noHTTP-RP.patch b/icecat-noHTTP-RP.patch index 9ffc03b..4cafcb1 100644 --- a/icecat-noHTTP-RP.patch +++ b/icecat-noHTTP-RP.patch @@ -1,6 +1,6 @@ --- browser/installer/package-manifest.orig.in 2013-10-16 04:14:45.000000000 +0200 +++ browser/installer/package-manifest.in 2014-08-10 11:06:54.346330524 +0200 -@@ -603,7 +603,7 @@ +@@ -605,7 +605,7 @@ ; [Browser Chrome Files] @BINPATH@/browser/extensions/spyblock@gnu.org/* @BINPATH@/browser/extensions/jid1-KtlZuoiikVfFew@jetpack/* diff --git a/icecat.1 b/icecat.1 index df19a82..eb0a9bc 100644 --- a/icecat.1 +++ b/icecat.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.44.1. -.TH ICECAT "1" "January 2015" "icecat " "User Commands" +.TH ICECAT "1" "March 2015" "icecat " "User Commands" .SH NAME icecat - GNU version of Firefox browser .SH SYNOPSIS @@ -92,16 +92,16 @@ Record drawing for a given URL. .HP \fB\-setDefaultBrowser\fR Set this app as the default browser. .PP -Mozilla IceCat 31.4.0 +Mozilla IceCat 31.5.0 .SH FILES /usr/bin/icecat - icecat executable -/usr/lib/icecat-31.4.0/icecat-bin - icecat executable +/usr/lib/icecat-31.5.0/icecat-bin - icecat executable .SH BUGS To report a bug, please mail to bug-gnuzilla@gnu.org .SH VERSION -31.4.0 +31.5.0 .SH AUTHORS For a full list of the people who are credited with making a contribution to Mozilla, see http://www.mozilla.org/credits/ . .SH "SEE ALSO" diff --git a/icecat.desktop b/icecat.desktop index 4d17e71..ede01db 100644 --- a/icecat.desktop +++ b/icecat.desktop @@ -1,38 +1,29 @@ [Desktop Entry] Version=1.0 Name=Icecat -GenericName=GNU Icecat -GenericName[ca]=Navegador web -GenericName[cs]=Webový prohlížeč -GenericName[es]=Navegador web -GenericName[fa]=مرورگر اینترنتی -GenericName[fi]=WWW-selain -GenericName[fr]=Navigateur Web -GenericName[hu]=Webböngésző -GenericName[it]=Browser Web -GenericName[ja]=ウェブ・ブラウザ -GenericName[ko]=웹 브라우저 -GenericName[nb]=Nettleser -GenericName[nl]=Webbrowser -GenericName[nn]=Nettlesar -GenericName[no]=Nettleser -GenericName[pl]=Przeglądarka WWW -GenericName[pt]=Navegador Web -GenericName[pt_BR]=Navegador Web -GenericName[sk]=Internetový prehliadač -GenericName[sv]=Webbläsare -Comment=Browse the Web -Comment[ca]=Navegueu per el web +Comment=Browse the World Wide Web +Comment[ar]=تصفح الشبكة العنكبوتية العالمية +Comment[ast]=Restola pela Rede +Comment[bn]=ইন্টারনেট ব্রাউজ করুন +Comment[ca]=Navegueu per la web Comment[cs]=Prohlížení stránek World Wide Webu +Comment[da]=Surf på internettet Comment[de]=Im Internet surfen +Comment[el]=Μπορείτε να περιηγηθείτε στο διαδίκτυο (Web) Comment[es]=Navegue por la web +Comment[et]=Lehitse veebi Comment[fa]=صفحات شبکه جهانی اینترنت را مرور نمایید Comment[fi]=Selaa Internetin WWW-sivuja -Comment[fr]=Navigue sur Internet +Comment[fr]=Naviguer sur le Web +Comment[gl]=Navegar pola rede +Comment[he]=גלישה ברחבי האינטרנט +Comment[hr]=Pretražite web Comment[hu]=A világháló böngészése Comment[it]=Esplora il web Comment[ja]=ウェブを閲覧します Comment[ko]=웹을 돌아 다닙니다 +Comment[ku]=Li torê bigere +Comment[lt]=Naršykite internete Comment[nb]=Surf på nettet Comment[nl]=Verken het internet Comment[nn]=Surf på nettet @@ -40,13 +31,151 @@ Comment[no]=Surf på nettet Comment[pl]=Przeglądanie stron WWW Comment[pt]=Navegue na Internet Comment[pt_BR]=Navegue na Internet +Comment[ro]=Navigați pe Internet +Comment[ru]=Доступ в Интернет Comment[sk]=Prehliadanie internetu +Comment[sl]=Brskajte po spletu Comment[sv]=Surfa på webben +Comment[tr]=İnternet'te Gezinin +Comment[ug]=دۇنيادىكى توربەتلەرنى كۆرگىلى بولىدۇ +Comment[uk]=Перегляд сторінок Інтернету +Comment[vi]=Để duyệt các trang web +Comment[zh_CN]=浏览互联网 +Comment[zh_TW]=瀏覽網際網路 +GenericName=Web Browser +GenericName[ar]=متصفح ويب +GenericName[ast]=Restolador Web +GenericName[bn]=ওয়েব ব্রাউজার +GenericName[ca]=Navegador web +GenericName[cs]=Webový prohlížeč +GenericName[da]=Webbrowser +GenericName[el]=Περιηγητής διαδικτύου +GenericName[es]=Navegador web +GenericName[et]=Veebibrauser +GenericName[fa]=مرورگر اینترنتی +GenericName[fi]=WWW-selain +GenericName[fr]=Navigateur Web +GenericName[gl]=Navegador Web +GenericName[he]=דפדפן אינטרנט +GenericName[hr]=Web preglednik +GenericName[hu]=Webböngésző +GenericName[it]=Browser web +GenericName[ja]=ウェブ・ブラウザ +GenericName[ko]=웹 브라우저 +GenericName[ku]=Geroka torê +GenericName[lt]=Interneto naršyklė +GenericName[nb]=Nettleser +GenericName[nl]=Webbrowser +GenericName[nn]=Nettlesar +GenericName[no]=Nettleser +GenericName[pl]=Przeglądarka WWW +GenericName[pt]=Navegador Web +GenericName[pt_BR]=Navegador Web +GenericName[ro]=Navigator Internet +GenericName[ru]=Веб-браузер +GenericName[sk]=Internetový prehliadač +GenericName[sl]=Spletni brskalnik +GenericName[sv]=Webbläsare +GenericName[tr]=Web Tarayıcı +GenericName[ug]=توركۆرگۈ +GenericName[uk]=Веб-браузер +GenericName[vi]=Trình duyệt Web +GenericName[zh_CN]=网络浏览器 +GenericName[zh_TW]=網路瀏覽器 +Keywords=Internet;WWW;Browser;Web;Explorer; +Keywords[ar]=انترنت;إنترنت;متصفح;ويب;وب; +Keywords[ast]=Internet;WWW;Restolador;Web;Esplorador; +Keywords[ca]=Internet;WWW;Navegador;Web;Explorador;Explorer; +Keywords[cs]=Internet;WWW;Prohlížeč;Web;Explorer; +Keywords[da]=Internet;Internettet;WWW;Browser;Browse;Web;Surf;Nettet; +Keywords[de]=Internet;WWW;Browser;Web;Explorer;Webseite;Site;surfen;online;browsen; +Keywords[el]=Internet;WWW;Browser;Web;Explorer;Διαδίκτυο;Περιηγητής;IceCat;Φιρεφοχ;Ιντερνετ; +Keywords[es]=Explorador;Internet;WWW; +Keywords[fi]=Internet;WWW;Browser;Web;Explorer;selain;Internet-selain;internetselain;verkkoselain;netti;surffaa; +Keywords[fr]=Internet;WWW;Browser;Web;Explorer;Fureteur;Surfer;Navigateur; +Keywords[he]=דפדפן;אינטרנט;רשת;אתרים;אתר;פיירפוקס;מוזילה; +Keywords[hr]=Internet;WWW;preglednik;Web; +Keywords[hu]=Internet;WWW;Böngésző;Web;Háló;Net;Explorer; +Keywords[it]=Internet;WWW;Browser;Web;Navigatore; +Keywords[is]=Internet;WWW;Vafri;Vefur;Netvafri;Flakk; +Keywords[ja]=Internet;WWW;Web;インターネット;ブラウザ;ウェブ;エクスプローラ; +Keywords[nb]=Internett;WWW;Nettleser;Explorer;Web;Browser;Nettside; +Keywords[nl]=Internet;WWW;Browser;Web;Explorer;Verkenner;Website;Surfen;Online; +Keywords[pt]=Internet;WWW;Browser;Web;Explorador;Navegador; +Keywords[pt_BR]=Internet;WWW;Browser;Web;Explorador;Navegador; +Keywords[ru]=Internet;WWW;Browser;Web;Explorer;интернет;браузер;веб;файрфокс;огнелис; +Keywords[sk]=Internet;WWW;Prehliadač;Web;Explorer; +Keywords[sl]=Internet;WWW;Browser;Web;Explorer;Brskalnik;Splet; +Keywords[tr]=İnternet;WWW;Tarayıcı;Web;Gezgin;Web sitesi;Site;sörf;çevrimiçi;tara; +Keywords[uk]=Internet;WWW;Browser;Web;Explorer;Інтернет;мережа;переглядач;оглядач;браузер;веб;файрфокс;вогнелис;перегляд; +Keywords[vi]=Internet;WWW;Browser;Web;Explorer;Trình duyệt;Trang web; +Keywords[zh_CN]=Internet;WWW;Browser;Web;Explorer;网页;浏览;上网;火狐;IceCat;ff;互联网;网站; +Keywords[zh_TW]=Internet;WWW;Browser;Web;Explorer;網際網路;網路;瀏覽器;上網;網頁;火狐; Exec=icecat %u Icon=icecat Terminal=false Type=Application -MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https; +MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall; Categories=Network;WebBrowser; StartupNotify=true StartupWMClass=icecat +Name[en_US]=icecat +Actions=NewWindow;NewPrivateWindow; + +[Desktop Action NewWindow] +Name=Open a New Window +Name[ar]=افتح نافذة جديدة +Name[ast]=Abrir una ventana nueva +Name[bn]=Abrir una ventana nueva +Name[ca]=Obre una finestra nova +Name[cs]=Otevřít nové okno +Name[da]=Åbn et nyt vindue +Name[de]=Ein neues Fenster öffnen +Name[el]=Άνοιγμα νέου παραθύρου +Name[es]=Abrir una ventana nueva +Name[fi]=Avaa uusi ikkuna +Name[fr]=Ouvrir une nouvelle fenêtre +Name[gl]=Abrir unha nova xanela +Name[he]=פתיחת חלון חדש +Name[hr]=Otvori novi prozor +Name[hu]=Új ablak nyitása +Name[it]=Apri una nuova finestra +Name[ja]=新しいウィンドウを開く +Name[ko]=새 창 열기 +Name[ku]=Paceyeke nû veke +Name[lt]=Atverti naują langą +Name[nb]=Åpne et nytt vindu +Name[nl]=Nieuw venster openen +Name[pt]=Abrir nova janela +Name[pt_BR]=Abrir nova janela +Name[ro]=Deschide o fereastră nouă +Name[ru]=Новое окно +Name[sk]=Otvoriť nové okno +Name[sl]=Odpri novo okno +Name[sv]=Öppna ett nytt fönster +Name[tr]=Yeni pencere aç +Name[ug]=يېڭى كۆزنەك ئېچىش +Name[uk]=Відкрити нове вікно +Name[vi]=Mở cửa sổ mới +Name[zh_CN]=新建窗口 +Name[zh_TW]=開啟新視窗 +Exec=icecat -new-window + +[Desktop Action NewPrivateWindow] +Name=Open a New Private Window +Name[ar]=افتح نافذة جديدة للتصفح الخاص +Name[ca]=Obre una finestra nova en mode d'incògnit +Name[de]=Ein neues privates Fenster öffnen +Name[es]=Abrir una ventana privada nueva +Name[fi]=Avaa uusi yksityinen ikkuna +Name[fr]=Ouvrir une nouvelle fenêtre de navigation privée +Name[he]=פתיחת חלון גלישה פרטית חדש +Name[hu]=Új privát ablak nyitása +Name[it]=Apri una nuova finestra anonima +Name[nb]=Åpne et nytt privat vindu +Name[ru]=Новое приватное окно +Name[sl]=Odpri novo okno zasebnega brskanja +Name[tr]=Yeni bir pencere aç +Name[uk]=Відкрити нове вікно у потайливому режимі +Name[zh_TW]=開啟新隱私瀏覽視窗 +Exec=icecat -private-window diff --git a/icecat.spec b/icecat.spec index 20f3489..6f7f61c 100644 --- a/icecat.spec +++ b/icecat.spec @@ -10,8 +10,8 @@ %global langpackdir %{icecatappdir}/langpacks Name: icecat -Version: 31.4.0 -Release: 5%{?dist} +Version: 31.5.0 +Release: 1%{?dist} Summary: GNU version of Firefox browser Group: Applications/Internet @@ -23,7 +23,7 @@ Source1: %{name}.desktop Source2: %{name}.png Source3: %{name}-mozconfig-common -##Language files downloaded from http://gnuzilla.gnu.org/releases/31.4.0/langpacks/ +##Language files downloaded from http://ftp.gnu.org/gnu/gnuzilla/31.5.0/langpacks/ Source4: %{name}-%{version}-langpacks.tar.gz ##All license files @@ -50,6 +50,10 @@ Patch4: %{name}-AudioQueueMemoryFunctor_for_GCC49.patch Patch5: %{name}-build-arm.patch +##https://bugzilla.mozilla.org/show_bug.cgi?id=1021171 +##Don't return nullptr in functions returning bool +Patch6: %{name}-mozilla-bug_1021171.patch + BuildRequires: alsa-lib-devel BuildRequires: bzip2-devel BuildRequires: cairo-devel @@ -171,6 +175,10 @@ tar -xf %{SOURCE5} %patch5 -p0 +%if 0%{?fedora} > 21 +%patch6 -p0 +%endif + ##Remove default configuration and copy the customized one cp -p %{SOURCE3} mozconfig-common @@ -261,14 +269,15 @@ mkdir -p %{name}-objdir && cd %{name}-objdir --disable-tests \ --disable-elf-hack \ --enable-compile-environment \ + --enable-llvm-hacks \ %if 0%{?fedora} > 21 --disable-libjpeg-turbo \ - --with-system-jpeg=%{_bindir} + --with-system-jpeg=%{_bindir} \ + --disable-crashreporter %else --enable-libjpeg-turbo %endif - %ifarch s390 %{arm} ppc aarch64 MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads" %endif @@ -299,7 +308,7 @@ install -p -m 644 %{SOURCE6} $RPM_BUILD_ROOT%{_mandir}/man1 echo > %{name}.lang mkdir -p $RPM_BUILD_ROOT%{langpackdir} tar xf %{SOURCE4} - for langpack in `ls ftp.gnu.org/gnu/gnuzilla/%{version}/langpacks/*.xpi`; do + for langpack in `ls langpacks/*.xpi`; do language=`basename $langpack .xpi` extensionID=langpack-$language@icecat.gnuzilla.org mkdir -p $extensionID @@ -369,6 +378,12 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{icecat_ver}.desk %{_includedir}/%{icecat_ver}/ %changelog +* Thu Mar 12 2015 Antonio Trande - 31.5.0-1 +- Update to 31.5.0 +- Patched to fix Mozilla Bug1021171 +- crashreporter disabled on > F21 +- Improved .desktop file + * Wed Feb 04 2015 Petr Machata - 31.4.0-5 - Bump for rebuild. diff --git a/sources b/sources index d3b6e4d..f15d8b0 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -d9ba550a4e2bd00f99213dd538d12131 icecat-31.4.0-langpacks.tar.gz -f0e9e46415fba8b7acb8e30b08b98d56 icecat-31.4.0.tar.bz2 +ea3f2ac9f3287fbff38d9f2dc4ab858a icecat-31.5.0-langpacks.tar.gz +8d80d83abbd1d2dd3733be591d98ce30 icecat-31.5.0.tar.bz2 80532fa46561f72607c4b2d7caf4f13d icecat-COPYING-licensefiles.tar.gz