From 437ff21901cdeaa1549aeaa66b8d04ccff25ab5e Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Thu, 23 Nov 2017 07:02:24 +0100 Subject: [PATCH] firefox: updated to 52.5-0esr. Thanks for the Python fix Milan --- firefox/.footprint | 23 +++++++---------------- firefox/.md5sum | 2 +- firefox/Pkgfile | 30 ++++++++++++++++++------------ 3 files changed, 26 insertions(+), 29 deletions(-) diff --git a/firefox/.footprint b/firefox/.footprint index 58c9cc0..6131d7a 100644 --- a/firefox/.footprint +++ b/firefox/.footprint @@ -76,8 +76,6 @@ drwxr-xr-x root/root usr/include/firefox/ -rw-r--r-- root/root usr/include/firefox/DecoderDoctorDiagnostics.h -rw-r--r-- root/root usr/include/firefox/DecoderTraits.h -rw-r--r-- root/root usr/include/firefox/DecomposeIntoNoRepeatTriangles.h --rw-r--r-- root/root usr/include/firefox/DeviceStorage.h --rw-r--r-- root/root usr/include/firefox/DeviceStorageFileDescriptor.h -rw-r--r-- root/root usr/include/firefox/DiskSpaceWatcher.h -rw-r--r-- root/root usr/include/firefox/DisplayItemClip.h -rw-r--r-- root/root usr/include/firefox/DisplayItemScrollClip.h @@ -248,6 +246,7 @@ drwxr-xr-x root/root usr/include/firefox/ -rw-r--r-- root/root usr/include/firefox/MediaResourceCallback.h -rw-r--r-- root/root usr/include/firefox/MediaResult.h -rw-r--r-- root/root usr/include/firefox/MediaSegment.h +-rw-r--r-- root/root usr/include/firefox/MediaShutdownManager.h -rw-r--r-- root/root usr/include/firefox/MediaSourceDecoder.h -rw-r--r-- root/root usr/include/firefox/MediaSourceDemuxer.h -rw-r--r-- root/root usr/include/firefox/MediaStatistics.h @@ -311,6 +310,7 @@ drwxr-xr-x root/root usr/include/firefox/ -rw-r--r-- root/root usr/include/firefox/SharedSurfaceGLX.h -rw-r--r-- root/root usr/include/firefox/SignedCertificateTimestamp.h -rw-r--r-- root/root usr/include/firefox/SignedTreeHead.h +-rwxr-xr-x root/root usr/include/firefox/SkiaGLGlue.h -rw-r--r-- root/root usr/include/firefox/SlicedInputStream.h -rw-r--r-- root/root usr/include/firefox/SoftwareVsyncSource.h -rw-r--r-- root/root usr/include/firefox/SourceBufferAttributes.h @@ -345,6 +345,7 @@ drwxr-xr-x root/root usr/include/firefox/ -rw-r--r-- root/root usr/include/firefox/VRMessageUtils.h -rw-r--r-- root/root usr/include/firefox/VariableLengthPrefixSet.h -rw-r--r-- root/root usr/include/firefox/VideoFrameContainer.h +-rw-r--r-- root/root usr/include/firefox/VideoLimits.h -rw-r--r-- root/root usr/include/firefox/VideoSegment.h -rw-r--r-- root/root usr/include/firefox/VideoUtils.h -rw-r--r-- root/root usr/include/firefox/Visibility.h @@ -1335,14 +1336,6 @@ drwxr-xr-x root/root usr/include/firefox/mozilla/dom/ -rw-r--r-- root/root usr/include/firefox/mozilla/dom/DeviceOrientationEventBinding.h -rw-r--r-- root/root usr/include/firefox/mozilla/dom/DeviceProximityEvent.h -rw-r--r-- root/root usr/include/firefox/mozilla/dom/DeviceProximityEventBinding.h --rw-r--r-- root/root usr/include/firefox/mozilla/dom/DeviceStorageAreaChangedEvent.h --rw-r--r-- root/root usr/include/firefox/mozilla/dom/DeviceStorageAreaChangedEventBinding.h --rwxr-xr-x root/root usr/include/firefox/mozilla/dom/DeviceStorageAreaListener.h --rw-r--r-- root/root usr/include/firefox/mozilla/dom/DeviceStorageAreaListenerBinding.h --rw-r--r-- root/root usr/include/firefox/mozilla/dom/DeviceStorageBinding.h --rw-r--r-- root/root usr/include/firefox/mozilla/dom/DeviceStorageChangeEvent.h --rw-r--r-- root/root usr/include/firefox/mozilla/dom/DeviceStorageChangeEventBinding.h --rw-r--r-- root/root usr/include/firefox/mozilla/dom/DeviceStorageFileSystem.h -rw-r--r-- root/root usr/include/firefox/mozilla/dom/DirectionalityUtils.h -rw-r--r-- root/root usr/include/firefox/mozilla/dom/Directory.h -rw-r--r-- root/root usr/include/firefox/mozilla/dom/DirectoryBinding.h @@ -1419,6 +1412,7 @@ drwxr-xr-x root/root usr/include/firefox/mozilla/dom/ -rw-r--r-- root/root usr/include/firefox/mozilla/dom/FileSystemFileEntry.h -rw-r--r-- root/root usr/include/firefox/mozilla/dom/FileSystemFileEntryBinding.h -rw-r--r-- root/root usr/include/firefox/mozilla/dom/FileSystemRequestParent.h +-rw-r--r-- root/root usr/include/firefox/mozilla/dom/FileSystemSecurity.h -rw-r--r-- root/root usr/include/firefox/mozilla/dom/FileSystemTaskBase.h -rw-r--r-- root/root usr/include/firefox/mozilla/dom/FileSystemUtils.h -rw-r--r-- root/root usr/include/firefox/mozilla/dom/FlyWebDiscoveryManager.h @@ -2477,10 +2471,6 @@ drwxr-xr-x root/root usr/include/firefox/mozilla/dom/cache/ -rw-r--r-- root/root usr/include/firefox/mozilla/dom/cache/StreamList.h -rw-r--r-- root/root usr/include/firefox/mozilla/dom/cache/TypeUtils.h -rw-r--r-- root/root usr/include/firefox/mozilla/dom/cache/Types.h -drwxr-xr-x root/root usr/include/firefox/mozilla/dom/devicestorage/ --rw-r--r-- root/root usr/include/firefox/mozilla/dom/devicestorage/DeviceStorageRequestChild.h --rw-r--r-- root/root usr/include/firefox/mozilla/dom/devicestorage/DeviceStorageRequestParent.h --rw-r--r-- root/root usr/include/firefox/mozilla/dom/devicestorage/DeviceStorageStatics.h drwxr-xr-x root/root usr/include/firefox/mozilla/dom/filehandle/ -rw-r--r-- root/root usr/include/firefox/mozilla/dom/filehandle/ActorsChild.h -rw-r--r-- root/root usr/include/firefox/mozilla/dom/filehandle/ActorsParent.h @@ -2587,6 +2577,7 @@ drwxr-xr-x root/root usr/include/firefox/mozilla/gfx/ -rw-r--r-- root/root usr/include/firefox/mozilla/gfx/GPUProcessManager.h -rw-r--r-- root/root usr/include/firefox/mozilla/gfx/Helpers.h -rw-r--r-- root/root usr/include/firefox/mozilla/gfx/HelpersCairo.h +-rw-r--r-- root/root usr/include/firefox/mozilla/gfx/HelpersSkia.h -rw-r--r-- root/root usr/include/firefox/mozilla/gfx/IterableArena.h -rw-r--r-- root/root usr/include/firefox/mozilla/gfx/JobScheduler.h -rw-r--r-- root/root usr/include/firefox/mozilla/gfx/JobScheduler_posix.h @@ -3110,7 +3101,6 @@ drwxr-xr-x root/root usr/include/firefox/nestegg/ -rw-r--r-- root/root usr/include/firefox/nsDeviceContext.h -rw-r--r-- root/root usr/include/firefox/nsDeviceContextSpecProxy.h -rw-r--r-- root/root usr/include/firefox/nsDeviceSensors.h --rw-r--r-- root/root usr/include/firefox/nsDeviceStorage.h -rw-r--r-- root/root usr/include/firefox/nsDirection.h -rw-r--r-- root/root usr/include/firefox/nsDirectoryService.h -rw-r--r-- root/root usr/include/firefox/nsDirectoryServiceAtomList.h @@ -3993,6 +3983,7 @@ drwxr-xr-x root/root usr/include/firefox/nestegg/ -rw-r--r-- root/root usr/include/firefox/nsIQuotaCallbacks.h -rw-r--r-- root/root usr/include/firefox/nsIQuotaManagerService.h -rw-r--r-- root/root usr/include/firefox/nsIQuotaRequests.h +-rw-r--r-- root/root usr/include/firefox/nsIQuotaResults.h -rw-r--r-- root/root usr/include/firefox/nsIRDFCompositeDataSource.h -rw-r--r-- root/root usr/include/firefox/nsIRDFContainer.h -rw-r--r-- root/root usr/include/firefox/nsIRDFContainerUtils.h @@ -4927,7 +4918,6 @@ drwxr-xr-x root/root usr/lib/firefox/browser/extensions/ -rw-r--r-- root/root usr/lib/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi drwxr-xr-x root/root usr/lib/firefox/browser/features/ -rw-r--r-- root/root usr/lib/firefox/browser/features/aushelper@mozilla.org.xpi --rw-r--r-- root/root usr/lib/firefox/browser/features/deployment-checker@mozilla.org.xpi -rw-r--r-- root/root usr/lib/firefox/browser/features/e10srollout@mozilla.org.xpi drwxr-xr-x root/root usr/lib/firefox/browser/icons/ -rw-r--r-- root/root usr/lib/firefox/browser/icons/mozicon128.png @@ -5732,6 +5722,7 @@ drwxr-xr-x root/root usr/share/idl/firefox/ -rw-r--r-- root/root usr/share/idl/firefox/nsIQuotaCallbacks.idl -rw-r--r-- root/root usr/share/idl/firefox/nsIQuotaManagerService.idl -rw-r--r-- root/root usr/share/idl/firefox/nsIQuotaRequests.idl +-rw-r--r-- root/root usr/share/idl/firefox/nsIQuotaResults.idl -rw-r--r-- root/root usr/share/idl/firefox/nsIRDFCompositeDataSource.idl -rw-r--r-- root/root usr/share/idl/firefox/nsIRDFContainer.idl -rw-r--r-- root/root usr/share/idl/firefox/nsIRDFContainerUtils.idl diff --git a/firefox/.md5sum b/firefox/.md5sum index 5db840b..4764150 100644 --- a/firefox/.md5sum +++ b/firefox/.md5sum @@ -1,3 +1,3 @@ -e24c6c4f0e2c8ce8694c6d6a4f712f93 firefox-52.0.2.source.tar.xz +105d1b491387645505c0411d8a908923 firefox-52.5.0esr.source.tar.xz afe61c7760e835bd12d5dfd40af4ec84 firefox-install-dir.patch cf6971669f70b440cb6ff8df8b2722ae firefox.desktop diff --git a/firefox/Pkgfile b/firefox/Pkgfile index b7c9fee..a2672c3 100644 --- a/firefox/Pkgfile +++ b/firefox/Pkgfile @@ -1,21 +1,25 @@ # Description: The Mozilla Firefox browser -# URL: http://www.mozilla.com/firefox/ +# URL: https://www.mozilla.com/firefox/ # Maintainer: Fredrik Rinnestam, fredrik at crux dot nu # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu # Depends on: nss, unzip, autoconf-2.13, zip, libidl, gtk, gtk3, python, alsa-lib, xorg-libxt, yasm, mesa3d name=firefox -version=52.0.2 +version=52.5.0esr release=1 -source=(http://ftp.mozilla.org/pub/firefox/releases/$version/source/firefox-$version.source.tar.xz +source=(https://ftp.mozilla.org/pub/firefox/releases/$version/source/firefox-$version.source.tar.xz firefox-install-dir.patch firefox.desktop) build() { + cd $name-$version + # Fix to avoid gcc6 compilations error at install stage export CFLAGS="$CFLAGS -fno-schedule-insns" export CXXFLAGS="$CFLAGS" - cd $name-$version + # Fix python + sed -i 's@PYTHON ?= $(shell which python2.7 > /dev/null 2>&1 && echo python2.7 || echo python)@PYTHON := python -B@' \ + client.mk sed -i '/^ftfntfmt.h/ i freetype/ftfntfmt.h' config/system-headers # stupid workaround @@ -50,20 +54,22 @@ build() { ac_add_options --disable-necko-wifi ac_add_options --disable-pulseaudio ac_add_options --disable-gconf - ac_add_options --disable-skia + ac_add_options --disable-rust + ac_add_options --disable-optimize EOF + #ac_add_options --disable-startupcache # mozonfig optimizations - for flag in $CFLAGS; do - case $flag in - -mfpu=neon*) echo "ac_add_options --with-fpu=neon" >> .mozconfig ;; - -march=armv7ve) echo "ac_add_options --with-arch=armv7ve" >> .mozconfig ;; - esac - done +# for flag in $CFLAGS; do +# case $flag in +# -mfpu=neon*) echo "ac_add_options --with-fpu=neon" >> .mozconfig ;; +# -march=armv7ve) echo "ac_add_options --with-arch=armv7ve" >> .mozconfig ;; +# esac +# done make -f client.mk build make -f client.mk DESTDIR=$PKG install - + mkdir -p $PKG/usr/share/pixmaps ln -s /usr/lib/firefox/browser/chrome/icons/default/default48.png $PKG/usr/share/pixmaps/firefox_default48.png install -D -m 0644 $SRC/firefox.desktop $PKG/usr/share/applications/firefox.desktop -- 2.26.2