Date: Tue, 21 Jul 2015 06:02:24 +0000 (UTC) From: Rene Ladan <rene@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r392612 - in head/www/chromium: . files Message-ID: <201507210602.t6L62OZa079649@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rene Date: Tue Jul 21 06:02:23 2015 New Revision: 392612 URL: https://svnweb.freebsd.org/changeset/ports/392612 Log: - Update to 43.0.2357.134 - Add patch from OpenBSD to handle PDF downloads Submitted by: LeFroid Obtained from: https://github.com/gliaskos/freebsd-chromium/pull/24 MFH: 2015Q3 Added: head/www/chromium/files/patch-chrome__browser__download__download_commands.cc (contents, props changed) Modified: head/www/chromium/Makefile head/www/chromium/distinfo Modified: head/www/chromium/Makefile ============================================================================== --- head/www/chromium/Makefile Tue Jul 21 03:33:52 2015 (r392611) +++ head/www/chromium/Makefile Tue Jul 21 06:02:23 2015 (r392612) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= chromium -PORTVERSION= 43.0.2357.132 +PORTVERSION= 43.0.2357.134 CATEGORIES= www MASTER_SITES= http://commondatastorage.googleapis.com/chromium-browser-official/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} # default, but needed to get distinfo correct if TEST is on @@ -73,6 +73,7 @@ GYP_DEFINES+= \ linux_breakpad=0 \ linux_use_heapchecker=0 \ linux_strip_binary=1 \ + use_aura=1 \ test_isolation_mode=noop \ disable_nacl=1 \ enable_extensions=1 \ Modified: head/www/chromium/distinfo ============================================================================== --- head/www/chromium/distinfo Tue Jul 21 03:33:52 2015 (r392611) +++ head/www/chromium/distinfo Tue Jul 21 06:02:23 2015 (r392612) @@ -1,4 +1,4 @@ -SHA256 (chromium-43.0.2357.132.tar.xz) = 405f52c6649f1d2937952fbcfcd238ba058db7d13edf4705f7027805f3ce1809 -SIZE (chromium-43.0.2357.132.tar.xz) = 290954464 -SHA256 (chromium-43.0.2357.132-testdata.tar.xz) = 9433cb06677281af688bfc5692625d610499ea803514f751bda59164fb683905 -SIZE (chromium-43.0.2357.132-testdata.tar.xz) = 127574536 +SHA256 (chromium-43.0.2357.134.tar.xz) = d3a1bbe3e1445dfcf5ef4aff4b11a8f3770436c8b8954b7cc5fee5416f117659 +SIZE (chromium-43.0.2357.134.tar.xz) = 290976408 +SHA256 (chromium-43.0.2357.134-testdata.tar.xz) = f69b79d44e670ffc73f476e1d8e08d04a540c011ff1c7b6afbc76cdde88dfdeb +SIZE (chromium-43.0.2357.134-testdata.tar.xz) = 127570540 Added: head/www/chromium/files/patch-chrome__browser__download__download_commands.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/chromium/files/patch-chrome__browser__download__download_commands.cc Tue Jul 21 06:02:23 2015 (r392612) @@ -0,0 +1,38 @@ +--- chrome/browser/download/download_commands.cc.orig 2015-07-16 07:26:09.936296000 -0400 ++++ chrome/browser/download/download_commands.cc 2015-07-16 07:27:35.099271000 -0400 +@@ -100,7 +100,7 @@ + download_crx_util::IsExtensionDownload(*download_item_); + case ALWAYS_OPEN_TYPE: + #if defined(OS_WIN) || defined(OS_LINUX) || \ +- (defined(OS_MACOSX) && !defined(OS_IOS)) ++ (defined(OS_MACOSX) && !defined(OS_IOS)) || defined(OS_BSD) + if (CanOpenPdfInSystemViewer()) { + DownloadPrefs* prefs = DownloadPrefs::FromBrowserContext( + download_item_->GetBrowserContext()); +@@ -144,7 +144,7 @@ + DownloadPrefs* prefs = DownloadPrefs::FromBrowserContext( + download_item_->GetBrowserContext()); + #if defined(OS_WIN) || defined(OS_LINUX) || \ +- (defined(OS_MACOSX) && !defined(OS_IOS)) ++ (defined(OS_MACOSX) && !defined(OS_IOS)) || defined(OS_BSD) + if (CanOpenPdfInSystemViewer()) { + prefs->SetShouldOpenPdfInSystemReader(!is_checked); + DownloadItemModel(download_item_) +@@ -218,7 +218,7 @@ + return browser_displayer.browser(); + } + +-#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) ++#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_BSD) + bool DownloadCommands::IsDownloadPdf() const { + base::FilePath path = download_item_->GetTargetFilePath(); + return path.MatchesExtension(FILE_PATH_LITERAL(".pdf")); +@@ -235,7 +235,7 @@ + return IsDownloadPdf() && + (IsAdobeReaderDefaultPDFViewer() ? is_adobe_pdf_reader_up_to_date + : true); +-#elif defined(OS_MACOSX) || defined(OS_LINUX) ++#elif defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_BSD) + return IsDownloadPdf(); + #endif + }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507210602.t6L62OZa079649>