Date: Sat, 29 Apr 2017 23:00:33 +0000 (UTC) From: "Carlos J. Puga Medina" <cpm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r439777 - in head/www: . iridium iridium/files Message-ID: <201704292300.v3TN0Xi5007533@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cpm Date: Sat Apr 29 23:00:33 2017 New Revision: 439777 URL: https://svnweb.freebsd.org/changeset/ports/439777 Log: Add new port www/iridium Iridium is a free, open, and libre browser modification of the Chromium code base, with privacy being enhanced in several key areas. Automatic transmission of partial queries, keywords, metrics to central services is inhibited and only occurs with consent. WWW: https://iridiumbrowser.de/ Added: head/www/iridium/ - copied from r439776, head/www/chromium/ head/www/iridium/files/iridium-browser.desktop.in (contents, props changed) head/www/iridium/files/iridium.in (contents, props changed) head/www/iridium/files/patch-base_base__paths__posix.cc (contents, props changed) head/www/iridium/files/patch-base_strings_safe__sprintf.cc (contents, props changed) head/www/iridium/files/patch-breakpad_src_build_common.gypi (contents, props changed) head/www/iridium/files/patch-build_toolchain_linux_BUILD.gn (contents, props changed) head/www/iridium/files/patch-iridium_trknotify.cpp (contents, props changed) head/www/iridium/files/patch-sandbox_linux_BUILD.gn (contents, props changed) Deleted: head/www/iridium/Makefile.tests head/www/iridium/files/chrome.in head/www/iridium/files/chromium-browser.desktop.in Modified: head/www/Makefile head/www/iridium/Makefile head/www/iridium/distinfo head/www/iridium/files/patch-chrome_BUILD.gn head/www/iridium/files/patch-chrome_app_chromium__strings.grd head/www/iridium/files/patch-chrome_app_generated__resources.grd head/www/iridium/files/patch-chrome_app_google__chrome__strings.grd head/www/iridium/files/patch-chrome_browser_BUILD.gn head/www/iridium/files/patch-chrome_browser_chrome__browser__main.cc head/www/iridium/files/patch-chrome_browser_chrome__content__browser__client.cc head/www/iridium/files/patch-chrome_browser_download_download__prefs.cc head/www/iridium/files/patch-chrome_browser_first__run_first__run__internal__posix.cc head/www/iridium/files/patch-chrome_browser_plugins_plugins__resource__service.cc head/www/iridium/files/patch-chrome_browser_tracing_crash__service__uploader.cc head/www/iridium/files/patch-chrome_common_BUILD.gn head/www/iridium/files/patch-chrome_common_extensions_chrome__extensions__client.cc head/www/iridium/files/patch-chrome_common_url__constants.cc head/www/iridium/files/patch-components_policy_resources_policy__templates.json head/www/iridium/files/patch-components_storage__monitor_storage__monitor__freebsd.cc head/www/iridium/files/patch-components_storage__monitor_storage__monitor__freebsd.h head/www/iridium/files/patch-content_shell_browser_shell__browser__main__parts.cc head/www/iridium/pkg-descr head/www/iridium/pkg-message head/www/iridium/pkg-plist Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Sat Apr 29 22:08:59 2017 (r439776) +++ head/www/Makefile Sat Apr 29 23:00:33 2017 (r439777) @@ -323,6 +323,7 @@ SUBDIR += imgsizer SUBDIR += impresscms SUBDIR += interchange + SUBDIR += iridium SUBDIR += itop SUBDIR += iwebcal SUBDIR += jdresolve Modified: head/www/iridium/Makefile ============================================================================== --- head/www/chromium/Makefile Sat Apr 29 22:08:59 2017 (r439776) +++ head/www/iridium/Makefile Sat Apr 29 23:00:33 2017 (r439777) @@ -1,14 +1,15 @@ -# Created by: Florent Thoumie <flz@FreeBSD.org> +# Created by: Carlos J. Puga Medina <cpm@FreeBSD.org> # $FreeBSD$ -PORTNAME= chromium -PORTVERSION= 58.0.3029.81 +PORTNAME= iridium +PORTVERSION= 58.0 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 +MASTER_SITES= http://downloads.iridiumbrowser.de/source/ +PKGNAMESUFFIX= -browser +DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION} MAINTAINER= chromium@FreeBSD.org -COMMENT= Google web browser based on WebKit +COMMENT= Iridium browser LICENSE= BSD3CLAUSE LGPL21 MPL LICENSE_COMB= multi @@ -69,12 +70,9 @@ USE_XORG= scrnsaverproto x11 xcb xcompos xproto xrandr xrender xscrnsaver xtst USE_GNOME= atk glib20 gtk20 gtk30 dconf libxslt libxml2 MAKE_ARGS= -C out/${BUILDTYPE} -SHEBANG_FILES= chrome/tools/build/linux/chrome-wrapper ALL_TARGET= chrome INSTALLS_ICONS= yes -# TODO bz@ : install libwidevinecdm.so (see third_party/widevine/cdm/BUILD.gn) -# # Run "./out/${BUILDTYPE}/gn args out/${BUILDTYPE} --list" for all variables. # Some parts don't have use_system_* flag, and can be turned on/off by using # replace_gn_files.py script, some parts just turned on/off for target host @@ -108,17 +106,15 @@ GN_ARGS+= google_api_key="AIzaSyBsp9n41J google_default_client_id="996322985003.apps.googleusercontent.com" \ google_default_client_secret="IR1za9-1VK0zZ0f_O8MVFicn" -SUB_FILES= chromium-browser.desktop chrome +SUB_FILES= iridium-browser.desktop iridium SUB_LIST+= COMMENT="${COMMENT}" -OPTIONS_DEFINE= CODECS GCONF KERBEROS DRIVER +OPTIONS_DEFINE= CODECS DEBUG GCONF KERBEROS CODECS_DESC= Compile and enable patented codecs like H.264 -DRIVER_DESC= Install chromedriver -OPTIONS_GROUP= AUDIO TESTS +OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO -OPTIONS_GROUP_TESTS= DEBUG TEST -OPTIONS_DEFAULT= ALSA CODECS DRIVER GCONF KERBEROS +OPTIONS_DEFAULT= ALSA CODECS GCONF KERBEROS OPTIONS_SUB= yes GCONF_USE= GNOME=gconf2 @@ -126,8 +122,6 @@ ALSA_LIB_DEPENDS= libasound.so:audio/als ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins \ alsa-lib>=1.1.1_1:audio/alsa-lib PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio -DRIVER_MAKE_ARGS=chromedriver -TEST_DISTFILES= ${PORTNAME}-${DISTVERSION}-testdata${EXTRACT_SUFX} .include <bsd.port.options.mk> @@ -181,11 +175,6 @@ GN_ARGS+= use_pulseaudio=true GN_ARGS+= use_pulseaudio=false .endif -.if ${PORT_OPTIONS:MTEST} -.include "Makefile.tests" -ALL_TARGET+= ${TEST_TARGETS} -.endif - .include <bsd.port.pre.mk> CC= clang39 @@ -206,7 +195,7 @@ GN_ARGS+= extra_cxxflags="-D_LIBCPP_TRIV pre-everything:: @${ECHO_MSG} - @${ECHO_MSG} "To build Chromium, you should have around 2GB of memory," + @${ECHO_MSG} "To build Iridium, you should have around 2GB of memory," .if ${PORT_OPTIONS:MDEBUG} @${ECHO_MSG} "lots of free diskspace (~ 40GB)" @${ECHO_MSG} "and no less then 16GB of memory for linking." @@ -216,7 +205,7 @@ pre-everything:: @${ECHO_MSG} pre-configure: - # We used to remove bundled libraries to be sure that chromium uses + # We used to remove bundled libraries to be sure that iridium uses # system libraries and not shippen ones. # cd ${WRKSRC} && ${PYTHON_CMD} \ #./build/linux/unbundle/remove_bundled_libraries.py [list of preserved] @@ -236,26 +225,18 @@ do-configure: @${MKDIR} ${WRKSRC}/third_party/node/linux/node-linux-x64/bin ${LN} -sf ${LOCALBASE}/bin/node ${WRKSRC}/third_party/node/linux/node-linux-x64/bin/node -test regression-test: build -.for t in ${TEST_TARGETS} - cd ${WRKSRC}/out/${BUILDTYPE} && ${SETENV} LC_ALL=en_US.UTF-8 \ - ./${t} --gtest_filter=-${EXCLUDE_${t}:ts:} || ${TRUE} -.endfor - do-install: @${MKDIR} ${STAGEDIR}${DATADIR} - ${INSTALL_MAN} ${WRKSRC}/out/${BUILDTYPE}/chrome.1 ${STAGEDIR}${MANPREFIX}/man/man1 .for t in font_service ui ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${t}.service \ ${STAGEDIR}${DATADIR} .endfor + ${INSTALL_MAN} ${WRKSRC}/out/${BUILDTYPE}/chrome.1 ${STAGEDIR}${MANPREFIX}/man/man1/iridium.1 .for s in 22 24 48 64 128 256 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps ${INSTALL_DATA} ${WRKSRC}/chrome/app/theme/chromium/product_logo_${s}.png \ - ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps/chrome.png + ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps/iridium.png .endfor - ${INSTALL_SCRIPT} ${WRKSRC}/chrome/tools/build/linux/chrome-wrapper \ - ${STAGEDIR}${DATADIR} .for p in chrome_100_percent chrome_200_percent headless_lib keyboard_resources \ resources mus_app_resources_100 mus_app_resources_200 mus_app_resources_strings \ views_mus_resources @@ -266,18 +247,14 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${d} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chrome \ - ${STAGEDIR}${DATADIR} + ${STAGEDIR}${DATADIR}/iridium cd ${WRKSRC}/out/${BUILDTYPE} && \ ${COPYTREE_SHARE} "locales resources" ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${DESKTOPDIR} - ${INSTALL_DATA} ${WRKDIR}/chromium-browser.desktop \ + ${INSTALL_DATA} ${WRKDIR}/iridium-browser.desktop \ ${STAGEDIR}${DESKTOPDIR} - ${INSTALL_SCRIPT} ${WRKDIR}/chrome ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKDIR}/iridium ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/mksnapshot \ ${STAGEDIR}${DATADIR} -.if ${PORT_OPTIONS:MDRIVER} - ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chromedriver \ - ${STAGEDIR}${PREFIX}/bin -.endif .include <bsd.port.post.mk> Modified: head/www/iridium/distinfo ============================================================================== --- head/www/chromium/distinfo Sat Apr 29 22:08:59 2017 (r439776) +++ head/www/iridium/distinfo Sat Apr 29 23:00:33 2017 (r439777) @@ -1,5 +1,3 @@ -TIMESTAMP = 1492682402 -SHA256 (chromium-58.0.3029.81.tar.xz) = 5ab61b7025a5143fa1b21713479b316ec7a98e262e79e84f9c9a9656179217cb -SIZE (chromium-58.0.3029.81.tar.xz) = 509252204 -SHA256 (chromium-58.0.3029.81-testdata.tar.xz) = 8fa8d18c5ccfa8cbb067c4d88a0b8ed0dfd52b5d784c2cf48b91d1cb3a2fb264 -SIZE (chromium-58.0.3029.81-testdata.tar.xz) = 124158512 +TIMESTAMP = 1493328523 +SHA256 (iridium-browser-58.0.tar.xz) = ec59bf66b1d686c85172c7b9dade6bbda10600df25b17f86a1847d29d8bb9d62 +SIZE (iridium-browser-58.0.tar.xz) = 552368772 Added: head/www/iridium/files/iridium-browser.desktop.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/iridium/files/iridium-browser.desktop.in Sat Apr 29 23:00:33 2017 (r439777) @@ -0,0 +1,11 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Encoding=UTF-8 +Name=Iridium +Comment=%%COMMENT%% +Icon=iridium +Exec=iridium %U +Categories=Application;Network;WebBrowser; +MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp; +StartupNotify=true Added: head/www/iridium/files/iridium.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/iridium/files/iridium.in Sat Apr 29 23:00:33 2017 (r439777) @@ -0,0 +1,19 @@ +#!/bin/sh + +SYSCTL=kern.ipc.shm_allow_removed +if [ "`/sbin/sysctl -n $SYSCTL`" = 0 ] ; then + cat << EOMSG +For correct operation, shared memory support has to be enabled +in Iridium by performing the following command as root : + +sysctl $SYSCTL=1 + +To preserve this setting across reboots, append the following +to /etc/sysctl.conf : + +$SYSCTL=1 +EOMSG + exit 1 +fi +ulimit -c 0 +exec %%PREFIX%%/share/iridium/iridium ${1+"$@"} Added: head/www/iridium/files/patch-base_base__paths__posix.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/iridium/files/patch-base_base__paths__posix.cc Sat Apr 29 23:00:33 2017 (r439777) @@ -0,0 +1,20 @@ +--- base/base_paths_posix.cc.orig 2017-04-19 19:06:28 UTC ++++ base/base_paths_posix.cc +@@ -67,13 +67,13 @@ bool PathProviderPosix(int key, FilePath + } + *result = FilePath(bin_dir); + return true; +-#elif defined(OS_OPENBSD) +- // There is currently no way to get the executable path on OpenBSD ++#elif defined(OS_BSD) ++ // There is currently no way to get the executable path on FreeBSD + char* cpath; +- if ((cpath = getenv("CHROME_EXE_PATH")) != NULL) ++ if ((cpath = getenv("IRIDIUM_EXE_PATH")) != NULL) + *result = FilePath(cpath); + else +- *result = FilePath("/usr/local/chrome/chrome"); ++ *result = FilePath("/usr/local/iridium/iridium"); + return true; + #endif + } Added: head/www/iridium/files/patch-base_strings_safe__sprintf.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/iridium/files/patch-base_strings_safe__sprintf.cc Sat Apr 29 23:00:33 2017 (r439777) @@ -0,0 +1,16 @@ +--- base/strings/safe_sprintf.cc.orig 2017-04-19 19:06:28 UTC ++++ base/strings/safe_sprintf.cc +@@ -115,8 +115,11 @@ class Buffer { + count_(0) { + // MSVS2013's standard library doesn't mark max() as constexpr yet. cl.exe + // supports static_cast but doesn't really implement constexpr yet so it doesn't +-// complain, but clang does. +-#if __cplusplus >= 201103 && !(defined(__clang__) && defined(OS_WIN)) ++// complain, but clang does. Older FreeBSD (<10) use libstdc++4.2, which ++// doesn't mark numeric_limits::max() as constexp. ++#if __cplusplus >= 201103 && \ ++ !(defined(OS_FREEBSD) && __FreeBSD_version > 1000054) && \ ++ !(defined(__clang__) && defined(OS_WIN)) + static_assert(kSSizeMaxConst == + static_cast<size_t>(std::numeric_limits<ssize_t>::max()), + "kSSizeMaxConst should be the max value of an ssize_t"); Added: head/www/iridium/files/patch-breakpad_src_build_common.gypi ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/iridium/files/patch-breakpad_src_build_common.gypi Sat Apr 29 23:00:33 2017 (r439777) @@ -0,0 +1,18 @@ +--- breakpad/src/build/common.gypi.orig 2017-04-19 19:07:40 UTC ++++ breakpad/src/build/common.gypi +@@ -813,15 +813,6 @@ + ], + }, + }], +- # FreeBSD-specific options; note that most FreeBSD options are set above, +- # with Linux. +- ['OS=="freebsd"', { +- 'target_defaults': { +- 'ldflags': [ +- '-Wl,--no-keep-memory', +- ], +- }, +- }], + ['OS=="solaris"', { + 'cflags!': ['-fvisibility=hidden'], + 'cflags_cc!': ['-fvisibility-inlines-hidden'], Added: head/www/iridium/files/patch-build_toolchain_linux_BUILD.gn ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/iridium/files/patch-build_toolchain_linux_BUILD.gn Sat Apr 29 23:00:33 2017 (r439777) @@ -0,0 +1,24 @@ +--- build/toolchain/linux/BUILD.gn.orig 2017-04-19 19:06:28 UTC ++++ build/toolchain/linux/BUILD.gn +@@ -6,7 +6,9 @@ import("//build/config/sysroot.gni") + import("//build/toolchain/gcc_toolchain.gni") + + clang_toolchain("clang_arm") { +- toolprefix = "arm-linux-gnueabihf-" ++ if (!is_bsd) { ++ toolprefix = "arm-linux-gnueabihf-" ++ } + toolchain_args = { + current_cpu = "arm" + current_os = "linux" +@@ -14,7 +16,9 @@ clang_toolchain("clang_arm") { + } + + clang_toolchain("clang_arm64") { +- toolprefix = "aarch64-linux-gnu-" ++ if (!is_bsd) { ++ toolprefix = "aarch64-linux-gnu-" ++ } + toolchain_args = { + current_cpu = "arm64" + current_os = "linux" Modified: head/www/iridium/files/patch-chrome_BUILD.gn ============================================================================== --- head/www/chromium/files/patch-chrome_BUILD.gn Sat Apr 29 22:08:59 2017 (r439776) +++ head/www/iridium/files/patch-chrome_BUILD.gn Sat Apr 29 23:00:33 2017 (r439777) @@ -1,4 +1,4 @@ ---- chrome/BUILD.gn.orig 2017-04-19 19:06:28 UTC +--- chrome/BUILD.gn.orig 2017-04-24 14:40:29 UTC +++ chrome/BUILD.gn @@ -142,7 +142,7 @@ if (!is_android && !is_mac) { data = [ @@ -9,8 +9,11 @@ data += [ "$root_out_dir/chrome_100_percent.pak", "$root_out_dir/locales/en-US.pak", -@@ -223,7 +223,7 @@ if (!is_android && !is_mac) { +@@ -221,10 +221,9 @@ if (!is_android && !is_mac) { + } else if (use_aura) { + # Non-Windows aura entrypoint. sources += [ "app/chrome_exe_main_aura.cc" ] +- ldflags = [ "-Wl,--no-keep-memory" ] } - if (is_linux) { @@ -18,7 +21,16 @@ sources += [ "app/chrome_dll_resource.h", "app/chrome_main.cc", -@@ -1647,7 +1647,7 @@ if (enable_resource_whitelist_generation +@@ -254,7 +253,7 @@ if (!is_android && !is_mac) { + "//chrome/common:features", + ] + +- ldflags += [ "-pie", "-Wl,--no-keep-memory" ] ++ ldflags = [ "-pie" ] + + if (use_pango || use_cairo) { + # Needed for chrome_main.cc initialization of libraries. +@@ -1650,7 +1649,7 @@ if (enable_resource_whitelist_generation } } Modified: head/www/iridium/files/patch-chrome_app_chromium__strings.grd ============================================================================== --- head/www/chromium/files/patch-chrome_app_chromium__strings.grd Sat Apr 29 22:08:59 2017 (r439776) +++ head/www/iridium/files/patch-chrome_app_chromium__strings.grd Sat Apr 29 23:00:33 2017 (r439777) @@ -1,11 +1,11 @@ ---- chrome/app/chromium_strings.grd.orig 2017-04-19 19:06:28 UTC +--- chrome/app/chromium_strings.grd.orig 2017-04-24 14:40:26 UTC +++ chrome/app/chromium_strings.grd -@@ -891,7 +891,7 @@ Signing in anyway will merge Chromium in +@@ -891,7 +891,7 @@ Signing in anyway will merge browser inf </message> <!-- ProcessSingleton --> - <if expr="is_linux or is_macosx"> + <if expr="is_linux or is_macosx or is_bsd"> <message name="IDS_PROFILE_IN_USE_POSIX" desc="Message shown when the browser cannot start because the profile is in use on a different host."> - The profile appears to be in use by another Chromium process (<ph name="PROCESS_ID">$1<ex>12345</ex></ph>) on another computer (<ph name="HOST_NAME">$2<ex>example.com</ex></ph>). Chromium has locked the profile so that it doesn't get corrupted. If you are sure no other processes are using this profile, you can unlock the profile and relaunch Chromium. + The profile appears to be in use by another browser process (<ph name="PROCESS_ID">$1<ex>12345</ex></ph>) on another computer (<ph name="HOST_NAME">$2<ex>example.com</ex></ph>). The browser has locked the profile so that it doesn't get corrupted. If you are sure no other processes are using this profile, you can unlock the profile and relaunch the browser. </message> Modified: head/www/iridium/files/patch-chrome_app_generated__resources.grd ============================================================================== --- head/www/chromium/files/patch-chrome_app_generated__resources.grd Sat Apr 29 22:08:59 2017 (r439776) +++ head/www/iridium/files/patch-chrome_app_generated__resources.grd Sat Apr 29 23:00:33 2017 (r439777) @@ -1,4 +1,4 @@ ---- chrome/app/generated_resources.grd.orig 2017-04-19 19:06:28 UTC +--- chrome/app/generated_resources.grd.orig 2017-04-24 14:40:26 UTC +++ chrome/app/generated_resources.grd @@ -6535,7 +6535,7 @@ Keep your key file in a safe place. You <message name="IDS_FLAGS_FORCE_UI_DIRECTION_RTL" desc="Name for the option to force right-to-left UI direction mode."> Modified: head/www/iridium/files/patch-chrome_app_google__chrome__strings.grd ============================================================================== --- head/www/chromium/files/patch-chrome_app_google__chrome__strings.grd Sat Apr 29 22:08:59 2017 (r439776) +++ head/www/iridium/files/patch-chrome_app_google__chrome__strings.grd Sat Apr 29 23:00:33 2017 (r439777) @@ -1,4 +1,4 @@ ---- chrome/app/google_chrome_strings.grd.orig 2017-04-19 19:06:28 UTC +--- chrome/app/google_chrome_strings.grd.orig 2017-04-24 14:40:26 UTC +++ chrome/app/google_chrome_strings.grd @@ -892,7 +892,7 @@ Signing in anyway will merge Chrome info </message> Modified: head/www/iridium/files/patch-chrome_browser_BUILD.gn ============================================================================== --- head/www/chromium/files/patch-chrome_browser_BUILD.gn Sat Apr 29 22:08:59 2017 (r439776) +++ head/www/iridium/files/patch-chrome_browser_BUILD.gn Sat Apr 29 23:00:33 2017 (r439777) @@ -1,4 +1,4 @@ ---- chrome/browser/BUILD.gn.orig 2017-04-19 19:06:29 UTC +--- chrome/browser/BUILD.gn.orig 2017-04-24 14:40:28 UTC +++ chrome/browser/BUILD.gn @@ -2219,7 +2219,7 @@ split_static_library("browser") { deps += [ "//device/udev_linux" ] Modified: head/www/iridium/files/patch-chrome_browser_chrome__browser__main.cc ============================================================================== --- head/www/chromium/files/patch-chrome_browser_chrome__browser__main.cc Sat Apr 29 22:08:59 2017 (r439776) +++ head/www/iridium/files/patch-chrome_browser_chrome__browser__main.cc Sat Apr 29 23:00:33 2017 (r439777) @@ -1,4 +1,4 @@ ---- chrome/browser/chrome_browser_main.cc.orig 2017-04-19 19:06:29 UTC +--- chrome/browser/chrome_browser_main.cc.orig 2017-04-24 14:40:28 UTC +++ chrome/browser/chrome_browser_main.cc @@ -181,7 +181,7 @@ #include "chrome/browser/lifetime/application_lifetime.h" Modified: head/www/iridium/files/patch-chrome_browser_chrome__content__browser__client.cc ============================================================================== --- head/www/chromium/files/patch-chrome_browser_chrome__content__browser__client.cc Sat Apr 29 22:08:59 2017 (r439776) +++ head/www/iridium/files/patch-chrome_browser_chrome__content__browser__client.cc Sat Apr 29 23:00:33 2017 (r439777) @@ -1,4 +1,4 @@ ---- chrome/browser/chrome_content_browser_client.cc.orig 2017-04-19 19:06:29 UTC +--- chrome/browser/chrome_content_browser_client.cc.orig 2017-04-24 14:40:25 UTC +++ chrome/browser/chrome_content_browser_client.cc @@ -244,7 +244,7 @@ #include "mash/public/interfaces/launchable.mojom.h" Modified: head/www/iridium/files/patch-chrome_browser_download_download__prefs.cc ============================================================================== --- head/www/chromium/files/patch-chrome_browser_download_download__prefs.cc Sat Apr 29 22:08:59 2017 (r439776) +++ head/www/iridium/files/patch-chrome_browser_download_download__prefs.cc Sat Apr 29 23:00:33 2017 (r439777) @@ -1,4 +1,4 @@ ---- chrome/browser/download/download_prefs.cc.orig 2017-04-19 19:06:29 UTC +--- chrome/browser/download/download_prefs.cc.orig 2017-04-24 14:40:26 UTC +++ chrome/browser/download/download_prefs.cc @@ -56,7 +56,7 @@ namespace { // Consider downloads 'dangerous' if they go to the home directory on Linux and Modified: head/www/iridium/files/patch-chrome_browser_first__run_first__run__internal__posix.cc ============================================================================== --- head/www/chromium/files/patch-chrome_browser_first__run_first__run__internal__posix.cc Sat Apr 29 22:08:59 2017 (r439776) +++ head/www/iridium/files/patch-chrome_browser_first__run_first__run__internal__posix.cc Sat Apr 29 23:00:33 2017 (r439777) @@ -1,6 +1,6 @@ ---- chrome/browser/first_run/first_run_internal_posix.cc.orig 2017-04-19 19:06:29 UTC +--- chrome/browser/first_run/first_run_internal_posix.cc.orig 2017-04-24 14:40:29 UTC +++ chrome/browser/first_run/first_run_internal_posix.cc -@@ -24,7 +24,7 @@ namespace first_run { +@@ -25,7 +25,7 @@ namespace first_run { namespace internal { void DoPostImportPlatformSpecificTasks(Profile* profile) { Modified: head/www/iridium/files/patch-chrome_browser_plugins_plugins__resource__service.cc ============================================================================== --- head/www/chromium/files/patch-chrome_browser_plugins_plugins__resource__service.cc Sat Apr 29 22:08:59 2017 (r439776) +++ head/www/iridium/files/patch-chrome_browser_plugins_plugins__resource__service.cc Sat Apr 29 23:00:33 2017 (r439777) @@ -1,4 +1,4 @@ ---- chrome/browser/plugins/plugins_resource_service.cc.orig 2017-04-19 19:06:29 UTC +--- chrome/browser/plugins/plugins_resource_service.cc.orig 2017-04-24 14:40:27 UTC +++ chrome/browser/plugins/plugins_resource_service.cc @@ -31,7 +31,7 @@ GURL GetPluginsServerURL() { std::string filename; Modified: head/www/iridium/files/patch-chrome_browser_tracing_crash__service__uploader.cc ============================================================================== --- head/www/chromium/files/patch-chrome_browser_tracing_crash__service__uploader.cc Sat Apr 29 22:08:59 2017 (r439776) +++ head/www/iridium/files/patch-chrome_browser_tracing_crash__service__uploader.cc Sat Apr 29 23:00:33 2017 (r439777) @@ -1,4 +1,4 @@ ---- chrome/browser/tracing/crash_service_uploader.cc.orig 2017-04-19 19:06:30 UTC +--- chrome/browser/tracing/crash_service_uploader.cc.orig 2017-04-24 14:40:29 UTC +++ chrome/browser/tracing/crash_service_uploader.cc @@ -157,6 +157,8 @@ void TraceCrashServiceUploader::DoUpload const char product[] = "Chrome_Android"; Modified: head/www/iridium/files/patch-chrome_common_BUILD.gn ============================================================================== --- head/www/chromium/files/patch-chrome_common_BUILD.gn Sat Apr 29 22:08:59 2017 (r439776) +++ head/www/iridium/files/patch-chrome_common_BUILD.gn Sat Apr 29 23:00:33 2017 (r439777) @@ -1,4 +1,4 @@ ---- chrome/common/BUILD.gn.orig 2017-04-19 19:06:30 UTC +--- chrome/common/BUILD.gn.orig 2017-04-24 14:40:28 UTC +++ chrome/common/BUILD.gn @@ -240,6 +240,13 @@ static_library("common") { public_deps += [ "//ppapi/shared_impl" ] Modified: head/www/iridium/files/patch-chrome_common_extensions_chrome__extensions__client.cc ============================================================================== --- head/www/chromium/files/patch-chrome_common_extensions_chrome__extensions__client.cc Sat Apr 29 22:08:59 2017 (r439776) +++ head/www/iridium/files/patch-chrome_common_extensions_chrome__extensions__client.cc Sat Apr 29 23:00:33 2017 (r439777) @@ -1,4 +1,4 @@ ---- chrome/common/extensions/chrome_extensions_client.cc.orig 2017-04-19 19:06:30 UTC +--- chrome/common/extensions/chrome_extensions_client.cc.orig 2017-04-24 14:40:29 UTC +++ chrome/common/extensions/chrome_extensions_client.cc @@ -97,7 +97,10 @@ ChromeChannelForHistogram GetChromeChann static base::LazyInstance<ChromeExtensionsClient> g_client = Modified: head/www/iridium/files/patch-chrome_common_url__constants.cc ============================================================================== --- head/www/chromium/files/patch-chrome_common_url__constants.cc Sat Apr 29 22:08:59 2017 (r439776) +++ head/www/iridium/files/patch-chrome_common_url__constants.cc Sat Apr 29 23:00:33 2017 (r439777) @@ -1,4 +1,4 @@ ---- chrome/common/url_constants.cc.orig 2017-04-19 19:06:30 UTC +--- chrome/common/url_constants.cc.orig 2017-04-24 14:40:29 UTC +++ chrome/common/url_constants.cc @@ -143,7 +143,7 @@ const char kChromeUIMdCupsSettingsURL[] const char kChromeUIMetroFlowURL[] = "chrome://make-metro/"; Modified: head/www/iridium/files/patch-components_policy_resources_policy__templates.json ============================================================================== --- head/www/chromium/files/patch-components_policy_resources_policy__templates.json Sat Apr 29 22:08:59 2017 (r439776) +++ head/www/iridium/files/patch-components_policy_resources_policy__templates.json Sat Apr 29 23:00:33 2017 (r439777) @@ -1,4 +1,4 @@ ---- components/policy/resources/policy_templates.json.orig 2017-04-19 19:06:33 UTC +--- components/policy/resources/policy_templates.json.orig 2017-04-24 14:40:29 UTC +++ components/policy/resources/policy_templates.json @@ -964,7 +964,7 @@ 'name': 'RemoteAccessHostMatchUsername', Modified: head/www/iridium/files/patch-components_storage__monitor_storage__monitor__freebsd.cc ============================================================================== --- head/www/chromium/files/patch-components_storage__monitor_storage__monitor__freebsd.cc Sat Apr 29 22:08:59 2017 (r439776) +++ head/www/iridium/files/patch-components_storage__monitor_storage__monitor__freebsd.cc Sat Apr 29 23:00:33 2017 (r439777) @@ -1,4 +1,4 @@ ---- components/storage_monitor/storage_monitor_freebsd.cc.orig 2017-04-22 13:58:19 UTC +--- components/storage_monitor/storage_monitor_freebsd.cc.orig 2017-04-28 14:23:59 UTC +++ components/storage_monitor/storage_monitor_freebsd.cc @@ -0,0 +1,101 @@ +// Copyright 2014 The Chromium Authors. All rights reserved. Modified: head/www/iridium/files/patch-components_storage__monitor_storage__monitor__freebsd.h ============================================================================== --- head/www/chromium/files/patch-components_storage__monitor_storage__monitor__freebsd.h Sat Apr 29 22:08:59 2017 (r439776) +++ head/www/iridium/files/patch-components_storage__monitor_storage__monitor__freebsd.h Sat Apr 29 23:00:33 2017 (r439777) @@ -1,4 +1,4 @@ ---- components/storage_monitor/storage_monitor_freebsd.h.orig 2017-04-22 13:58:19 UTC +--- components/storage_monitor/storage_monitor_freebsd.h.orig 2017-04-28 14:23:59 UTC +++ components/storage_monitor/storage_monitor_freebsd.h @@ -0,0 +1,45 @@ +// Copyright 2014 The Chromium Authors. All rights reserved. Modified: head/www/iridium/files/patch-content_shell_browser_shell__browser__main__parts.cc ============================================================================== --- head/www/chromium/files/patch-content_shell_browser_shell__browser__main__parts.cc Sat Apr 29 22:08:59 2017 (r439776) +++ head/www/iridium/files/patch-content_shell_browser_shell__browser__main__parts.cc Sat Apr 29 23:00:33 2017 (r439777) @@ -1,4 +1,4 @@ ---- content/shell/browser/shell_browser_main_parts.cc.orig 2017-04-19 19:06:34 UTC +--- content/shell/browser/shell_browser_main_parts.cc.orig 2017-04-24 14:40:29 UTC +++ content/shell/browser/shell_browser_main_parts.cc @@ -46,7 +46,7 @@ #if defined(USE_AURA) && defined(USE_X11) Added: head/www/iridium/files/patch-iridium_trknotify.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/iridium/files/patch-iridium_trknotify.cpp Sat Apr 29 23:00:33 2017 (r439777) @@ -0,0 +1,20 @@ +--- iridium/trknotify.cpp.orig 2017-04-24 14:40:27 UTC ++++ iridium/trknotify.cpp +@@ -5,7 +5,7 @@ + * found in the LICENSE file. + */ + #include <cstdio> +-#ifdef __linux__ ++#ifdef __FreeBSD__ + # include <unistd.h> + #endif + #include "chrome/browser/infobars/infobar_service.h" +@@ -21,7 +21,7 @@ namespace iridium { + + void log_url_request(const std::string &caller, const GURL &url) + { +-#ifdef __linux__ ++#ifdef __FreeBSD__ + bool tty = isatty(fileno(stderr)); + #else + bool tty = false; Added: head/www/iridium/files/patch-sandbox_linux_BUILD.gn ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/iridium/files/patch-sandbox_linux_BUILD.gn Sat Apr 29 23:00:33 2017 (r439777) @@ -0,0 +1,11 @@ +--- sandbox/linux/BUILD.gn.orig 2017-04-24 14:40:29 UTC ++++ sandbox/linux/BUILD.gn +@@ -284,7 +284,7 @@ if (is_linux) { + # TODO fix this and re-enable this warning. + "-Wno-sign-compare", + ] +- ldflags = [ "-pie", "-Wl,--no-keep-memory" ] ++ ldflags = [ "-pie" ] + + import("//build/config/compiler/compiler.gni") + import("//build/config/sanitizers/sanitizers.gni") Modified: head/www/iridium/pkg-descr ============================================================================== --- head/www/chromium/pkg-descr Sat Apr 29 22:08:59 2017 (r439776) +++ head/www/iridium/pkg-descr Sat Apr 29 23:00:33 2017 (r439777) @@ -1,8 +1,7 @@ -Chromium is an open-source browser project that aims to build a safer, -faster, and more stable way for all users to experience the web. +Iridium is a free, open, and libre browser modification of the Chromium +code base, with privacy being enhanced in several key areas. -The Chromium website contains design documents, architecture overviews, -testing information, and more to help you learn to build and work with -the Chromium source code. +Automatic transmission of partial queries, keywords, metrics to central +services is inhibited and only occurs with consent. -WWW: http://www.chromium.org/Home +WWW: https://iridiumbrowser.de/ Modified: head/www/iridium/pkg-message ============================================================================== --- head/www/chromium/pkg-message Sat Apr 29 22:08:59 2017 (r439776) +++ head/www/iridium/pkg-message Sat Apr 29 23:00:33 2017 (r439777) @@ -1,5 +1,5 @@ For correct operation, shared memory support has to be enabled -in Chromium by performing the following command as root : +in Iridium by performing the following command as root : sysctl kern.ipc.shm_allow_removed=1 Modified: head/www/iridium/pkg-plist ============================================================================== --- head/www/chromium/pkg-plist Sat Apr 29 22:08:59 2017 (r439776) +++ head/www/iridium/pkg-plist Sat Apr 29 23:00:33 2017 (r439777) @@ -1,14 +1,12 @@ -bin/chrome -man/man1/chrome.1.gz -share/applications/chromium-browser.desktop -%%DATADIR%%/chrome -%%DATADIR%%/chrome-wrapper +bin/iridium +man/man1/iridium.1.gz +share/applications/iridium-browser.desktop +%%DATADIR%%/iridium %%DATADIR%%/chrome_100_percent.pak %%DATADIR%%/chrome_200_percent.pak %%DATADIR%%/font_service.service %%DATADIR%%/headless_lib.pak %%DATADIR%%/icudtl.dat -%%DATADIR%%/natives_blob.bin %%DATADIR%%/keyboard_resources.pak %%DATADIR%%/locales/am.pak %%DATADIR%%/locales/ar.pak @@ -67,6 +65,7 @@ share/applications/chromium-browser.desk %%DATADIR%%/mus_app_resources_100.pak %%DATADIR%%/mus_app_resources_200.pak %%DATADIR%%/mus_app_resources_strings.pak +%%DATADIR%%/natives_blob.bin %%DATADIR%%/resources.pak %%DATADIR%%/resources/inspector/Images/accelerometer-back.png %%DATADIR%%/resources/inspector/Images/accelerometer-bottom.png @@ -225,10 +224,9 @@ share/applications/chromium-browser.desk %%DATADIR%%/snapshot_blob.bin %%DATADIR%%/ui.service %%DATADIR%%/views_mus_resources.pak -%%DRIVER%%bin/chromedriver -share/icons/hicolor/128x128/apps/chrome.png -share/icons/hicolor/22x22/apps/chrome.png -share/icons/hicolor/24x24/apps/chrome.png -share/icons/hicolor/256x256/apps/chrome.png -share/icons/hicolor/48x48/apps/chrome.png -share/icons/hicolor/64x64/apps/chrome.png +share/icons/hicolor/128x128/apps/iridium.png +share/icons/hicolor/22x22/apps/iridium.png +share/icons/hicolor/24x24/apps/iridium.png +share/icons/hicolor/256x256/apps/iridium.png +share/icons/hicolor/48x48/apps/iridium.png +share/icons/hicolor/64x64/apps/iridium.png
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704292300.v3TN0Xi5007533>