From 5c1743f18bbb246b6ec77993060b3db94e7d76a6 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Tue, 30 Jan 2018 16:51:23 +0100 Subject: [PATCH] chromium: Remove This build was not fully functional. The "paperpile"-extenstion didn't work and prevented search results from being displayed. chrome is now available from a package (/usr/local/package/chrome). --- chromium.be0 | 137 --------------------------------------------------- 1 file changed, 137 deletions(-) delete mode 100755 chromium.be0 diff --git a/chromium.be0 b/chromium.be0 deleted file mode 100755 index 2bc0e6972..000000000 --- a/chromium.be0 +++ /dev/null @@ -1,137 +0,0 @@ -#!/usr/bin/env beesh - -# BEE_VERSION chromium-63.0.3239.132-1 - -SRCURL[0]="https://commondatastorage.googleapis.com/chromium-browser-official/chromium-${PKGVERSION}.tar.xz" - -PATCHURL[0]="/src/mariux/beeroot/downloads/chromium-disable-google-api-warnings.patch" - -# EXCLUDE+=() - -# build_in_sourcedir - -# sourcesubdir_append src - -GN_CONFIG=( -'clang_use_chrome_plugins=false' -'enable_hangout_services_extension=true' -'enable_nacl=false' -'enable_nacl_nonsfi=false' -'enable_swiftshader=false' -'enable_widevine=false' -'fatal_linker_warnings=false' -'ffmpeg_branding="Chrome"' -'fieldtrial_testing_like_official_build=true' -'is_debug=false' -'is_clang=false' -'link_pulseaudio=true' -'linux_use_bundled_binutils=false' -'proprietary_codecs=true' -'remove_webcore_debug_symbols=true' -'symbol_level=0' -'treat_warnings_as_errors=false' -'use_allocator="none"' -'use_cups=true' -'use_gconf=false' -'use_gnome_keyring=false' -'use_gold=false' -'use_gtk3=true' -'use_kerberos=true' -'use_pulseaudio=true' -'use_sysroot=false') - -thirdparty="ffmpeg flac libjpeg libpng libwebp libxslt yasm" - -#mee_extract() { -# bee_extract "${@}" -#} - -#mee_patch() { -# bee_patch "${@}" -#} - -mee_configure() { - cd ${S} - - source /pkg/gcc-7.2.0-0/profile - - start_cmd sed '/port\.h"/a#include ' -i.bak third_party/webrtc/p2p/base/port.cc - - for LIB in $thirdparty libjpeg_turbo; do - find -type f -path "*third_party/$LIB/*" \ - \! -path "*third_party/$LIB/chromium/*" \ - \! -path "*third_party/$LIB/google/*" \ - \! -path "*base/third_party/icu/*" \ - \! -regex '.*\.\(gn\|gni\|isolate\|py\)' \ - -delete - done - start_cmd python ${S}/build/linux/unbundle/replace_gn_files.py \ - --system-libraries $thirdparty libxml libevent opus - - start_cmd python ${S}/third_party/libaddressinput/chromium/tools/update-strings.py - - #start_cmd python ${S}/tools/clang/scripts/update.py --force-local-build \ - #--gcc-toolchain /usr --without-android -} - -mee_build() { - cd ${S} - - start_cmd python tools/gn/bootstrap/bootstrap.py --gn-gen-args "${GN_CONFIG[*]}" && - out/Release/gn gen out/Release --args="${GN_CONFIG[*]}" - - start_cmd mkdir -p third_party/node/linux/node-linux-x64/bin - start_cmd ln -s /usr/local/package/bin/node third_party/node/linux/node-linux-x64/bin/ - - start_cmd ninja ${BEE_MAKEFLAGS} -C out/Release chrome chrome_sandbox chromedriver - -} - -mee_install() { - cd ${S} - ## install Chromium - start_cmd install -vDm755 out/Release/chrome \ - ${D}${LIBDIR}/chromium/chromium - start_cmd install -vDm4755 out/Release/chrome_sandbox \ - ${D}${LIBDIR}/chromium/chrome-sandbox - start_cmd install -vDm755 out/Release/chromedriver \ - ${D}${LIBDIR}/chromium/chromedriver - start_cmd install -vDm644 out/Release/icudtl.dat ${D}${LIBDIR}/chromium - start_cmd install -vDm644 out/Release/gen/content/content_resources.pak \ - ${D}${LIBDIR}/chromium/ - start_cmd install -vm644 out/Release/{*.pak,*.bin} ${D}${LIBDIR}/chromium/ - start_cmd cp -av out/Release/locales ${D}${LIBDIR}/chromium/ - start_cmd sed -i \ - -e "s/@@MENUNAME@@/Chromium/g" \ - -e "s/@@PACKAGE@@/chromium/g" \ - -e "s/@@USR_BIN_SYMLINK_NAME@@/chromium/g" \ - chrome/installer/linux/common/desktop.template \ - chrome/app/resources/manpage.1.in - start_cmd mkdir -pm755 ${D}${DATAROOTDIR}/applications/ - start_cmd install -vDm644 chrome/installer/linux/common/desktop.template \ - ${D}${DATAROOTDIR}/applications/chromium.desktop - start_cmd install -vDm644 chrome/app/resources/manpage.1.in \ - ${D}${DATAROOTDIR}/man/man1/chromium.1 - start_cmd mkdir -m755 ${D}${BINDIR} - start_cmd cd ${D} - start_cmd ln -sv ${LIBDIR}/chromium/chromedriver usr/bin/chromedriver - #start_cmd ln -sv ${LIBDIR}/chromium/chromium usr/bin/chromium - cat >${D}${BINDIR}/chromium<