2024-01-05 21:13:24 +01:00
|
|
|
Name: chromium
|
|
|
|
Epoch: 3
|
2024-01-05 21:13:24 +01:00
|
|
|
Version: 34.0.1847.137
|
2024-01-05 21:13:25 +01:00
|
|
|
Release: 3mamba
|
2024-01-05 21:13:24 +01:00
|
|
|
Summary: An open-source browser project that aims to build a safer, faster, and more stable way to experience the web
|
|
|
|
Group: Graphical Desktop/Applications/Internet
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.chromium.org
|
|
|
|
# Note:
|
|
|
|
# we usually package the stable release. you may find the latest version number here: http://googlechromereleases.blogspot.it/"
|
|
|
|
# Find latest release starting here:
|
|
|
|
# http://gsdview.appspot.com/chromium-browser-official/?marker=chromium-21.0.1168.0.tar.bz
|
|
|
|
Source: http://gsdview.appspot.com/chromium-browser-official/chromium-%{version}.tar.xz
|
|
|
|
Source1: %{name}-master_preferences
|
|
|
|
Patch0: %{name}-67069-gcc45.patch
|
|
|
|
Patch1: %{name}-r78967-allow_continue_build.patch
|
|
|
|
Patch2: %{name}-23.0.1271.94-DefaultUsesSystemTheme_KDE.patch
|
|
|
|
Patch3: %{name}-15.0.868.1-gyp-fix-build.patch
|
|
|
|
Patch4: %{name}-15.0.868.1-drop_sse2.patch
|
|
|
|
Patch5: %{name}-19.0.1084.2-libavformat-0.8.patch
|
|
|
|
Patch6: %{name}-20.0.1132.43-gcc-4.7.patch
|
|
|
|
Patch7: %{name}-20.0.1132.43-fix_sqlite_history_Segfault_1.patch
|
|
|
|
Patch8: %{name}-20.0.1132.43-fix_sqlite_history_Segfault_2.patch
|
|
|
|
Patch9: %{name}-20.0.1132.59-webkit-bison-2.6.patch
|
|
|
|
Patch10: chromium-21.0.1168.0-gcc-4.7.patch
|
|
|
|
Patch11: chromium-24.0.1285.1-glibc-2.16.patch
|
|
|
|
Patch12: chromium-24.0.1312.70-arm-gcc-4.5.3.patch
|
|
|
|
Patch13: chromium-26.0.1410.49-speech_dispatcher.patch
|
|
|
|
Patch14: chromium-26.0.1410.63-arm-sysroot.patch
|
2024-01-05 21:13:24 +01:00
|
|
|
Patch15: chromium-34.0.1847.116-gn-r0.patch
|
|
|
|
Patch16: chromium-34.0.1847.118-disable_depot_tools.patch
|
|
|
|
Patch17: chromium-34.0.1847.137-glib-2.40.patch
|
|
|
|
Patch18: chromium-34.0.1847.137-gnome-keyring-3.12.patch
|
2024-01-05 21:13:24 +01:00
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 21:13:24 +01:00
|
|
|
BuildRequires: libGConf-devel
|
2024-01-05 21:13:24 +01:00
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libalsa-devel
|
|
|
|
BuildRequires: libatk-devel
|
|
|
|
BuildRequires: libbzip2-devel
|
|
|
|
BuildRequires: libcairo-devel
|
|
|
|
BuildRequires: libcups-devel
|
|
|
|
BuildRequires: libdbus-devel
|
|
|
|
BuildRequires: libevent-devel
|
|
|
|
BuildRequires: libexpat-devel
|
|
|
|
BuildRequires: libflac-devel
|
|
|
|
BuildRequires: libfontconfig-devel
|
|
|
|
BuildRequires: libfreetype-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libgcrypt-devel
|
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libgtk2-devel
|
|
|
|
BuildRequires: libnspr-devel
|
|
|
|
BuildRequires: libnss-devel
|
|
|
|
BuildRequires: libpango-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libspeex-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXcomposite-devel
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
BuildRequires: libXfixes-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libXrender-devel
|
|
|
|
BuildRequires: libXScrnSaver-devel
|
|
|
|
BuildRequires: libxslt-devel
|
2024-01-05 21:13:24 +01:00
|
|
|
BuildRequires: libudev-devel
|
2024-01-05 21:13:24 +01:00
|
|
|
BuildRequires: xdg-utils
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: libpthread-stubs-devel
|
|
|
|
BuildRequires: libgnome-keyring-devel
|
|
|
|
BuildRequires: gperf
|
|
|
|
BuildRequires: flex
|
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: pam-devel
|
|
|
|
BuildRequires: yasm
|
|
|
|
BuildRequires: libdbus-glib-devel
|
|
|
|
BuildRequires: libXi-devel
|
|
|
|
BuildRequires: libXxf86vm-devel
|
|
|
|
BuildRequires: libXdamage-devel
|
|
|
|
BuildRequires: libkrb5-devel
|
|
|
|
BuildRequires: libe2fs-devel
|
|
|
|
BuildRequires: speech-dispatcher-devel >= 0.8-2mamba
|
|
|
|
BuildRequires: python-markupsafe
|
2024-01-05 21:13:24 +01:00
|
|
|
BuildRequires: libpulseaudio-devel
|
|
|
|
BuildRequires: libxshmfence-devel
|
|
|
|
BuildRequires: libkeyutils-devel
|
|
|
|
BuildRequires: libgnutls-devel
|
|
|
|
%if "%cross_target_cpu" == "i586"
|
|
|
|
BuildRequires: libGConf-devel.i586
|
|
|
|
BuildRequires: glibc-multilib-devel
|
|
|
|
BuildRequires: libalsa-devel.i586
|
|
|
|
BuildRequires: libatk-devel.i586
|
|
|
|
BuildRequires: libbzip2-devel.i586
|
|
|
|
BuildRequires: libcairo-devel.i586
|
|
|
|
BuildRequires: libcups-devel.i586
|
|
|
|
BuildRequires: libdbus-devel.i586
|
|
|
|
#BuildRequires: libevent-devel.i586
|
|
|
|
BuildRequires: libexpat-devel.i586
|
|
|
|
BuildRequires: libflac-devel.i586
|
|
|
|
BuildRequires: libfontconfig-devel.i586
|
|
|
|
#BuildRequires: libfreetype-devel.i586
|
|
|
|
BuildRequires: libgcrypt-devel.i586
|
|
|
|
BuildRequires: libgdk-pixbuf-devel.i586
|
|
|
|
BuildRequires: libglib-devel.i586
|
|
|
|
BuildRequires: libgtk2-devel.i586
|
|
|
|
BuildRequires: libnspr-devel.i586
|
|
|
|
BuildRequires: libnss-devel.i586
|
|
|
|
BuildRequires: libpango-devel.i586
|
|
|
|
#BuildRequires: libpng-devel.i586
|
|
|
|
#BuildRequires: libspeex-devel.i586
|
|
|
|
#BuildRequires: libstdc++6-devel.i586
|
|
|
|
BuildRequires: libX11-devel.i586
|
|
|
|
BuildRequires: libXcomposite-devel.i586
|
|
|
|
BuildRequires: libXext-devel.i586
|
|
|
|
BuildRequires: libXfixes-devel.i586
|
|
|
|
BuildRequires: libxml2-devel.i586
|
|
|
|
BuildRequires: libXrender-devel.i586
|
|
|
|
BuildRequires: libXScrnSaver-devel.i586
|
|
|
|
BuildRequires: libxslt-devel.i586
|
|
|
|
BuildRequires: libudev-devel.i586
|
|
|
|
BuildRequires: libnss.i586
|
|
|
|
BuildRequires: libXcursor-devel.i586
|
|
|
|
BuildRequires: libXdamage-devel.i586
|
|
|
|
BuildRequires: libXtst-devel.i586
|
|
|
|
BuildRequires: libkrb5-devel.i586
|
|
|
|
BuildRequires: libXi-devel.i586
|
|
|
|
BuildRequires: libe2fs-devel.i586
|
|
|
|
BuildRequires: libgnutls-devel.i586
|
|
|
|
BuildRequires: libgpg-error-devel.i586
|
|
|
|
BuildRequires: libcap-devel.i586
|
|
|
|
%endif
|
|
|
|
BuildRequires: ninja
|
2024-01-05 21:13:24 +01:00
|
|
|
Requires(post): %{__install_info}
|
|
|
|
Requires: xdg-utils
|
2024-01-05 21:13:25 +01:00
|
|
|
Requires: libvdpau-Mesa
|
2024-01-05 21:13:24 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
# latest releases code version visible here: http://src.chromium.org/viewvc/chrome/releases/
|
|
|
|
# create release tarball with: (requires gclient from depot_tools)
|
|
|
|
# gclient config http://src.chromium.org/svn/releases/%{majver}
|
|
|
|
# gclient sync --force
|
|
|
|
# python src/tools/export_tarball/export_tarball.py --remove-nonessential-files chromium-%{version}
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%description
|
|
|
|
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all Internet users to experience the web.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 21:13:24 +01:00
|
|
|
#-D -T
|
2024-01-05 21:13:24 +01:00
|
|
|
#:<< ___EOF
|
|
|
|
#mv home/chrome-svn/tarball/chromium/src/* .
|
|
|
|
#rm -rf home
|
|
|
|
%patch0 -p2
|
|
|
|
#%patch1 -p1
|
|
|
|
#%patch2 -p1
|
|
|
|
#%patch3 -p1
|
|
|
|
%patch4 -p1
|
|
|
|
#%patch5 -p1
|
|
|
|
#%patch6 -p3
|
|
|
|
#%patch7 -p2
|
|
|
|
#%patch8 -p2
|
|
|
|
#cd third_party/WebKit
|
|
|
|
#%patch9 -p1
|
|
|
|
#cd ../../
|
|
|
|
#%patch10 -p1
|
|
|
|
#%patch11 -p1
|
|
|
|
%if "%{_distrib_codename}" == "milestone2-build10"
|
|
|
|
%ifarch arm
|
|
|
|
%patch12 -p1
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
#%patch13 -p1
|
|
|
|
%patch14 -p1
|
2024-01-05 21:13:24 +01:00
|
|
|
%patch15 -p1
|
|
|
|
%patch16 -p2
|
|
|
|
%patch17 -p1
|
|
|
|
%patch18 -p2
|
2024-01-05 21:13:24 +01:00
|
|
|
|
2024-01-05 21:13:24 +01:00
|
|
|
# Download NaCL toolchains
|
|
|
|
python build/download_nacl_toolchains.py -k
|
|
|
|
#\
|
|
|
|
# --packages nacl_x86_newlib,pnacl_newlib,pnacl_translator
|
|
|
|
|
2024-01-05 21:13:24 +01:00
|
|
|
%build
|
|
|
|
#:<< ___EOF
|
|
|
|
ln -sf %{_bindir}/ld.gold third_party/gold/ld.gold
|
|
|
|
ln -sf %{_bindir}/ld.bfd third_party/gold/ld.bfd
|
2024-01-05 21:13:24 +01:00
|
|
|
# Build with clang as a temporary solution to startup crash with GCC 4.9
|
|
|
|
mkdir -p third_party/llvm-build/Release+Asserts/bin
|
|
|
|
ln -sf %{_bindir}/clang third_party/llvm-build/Release+Asserts/bin/
|
|
|
|
ln -sf %{_bindir}/clang++ third_party/llvm-build/Release+Asserts/bin/
|
|
|
|
ln -sf %{_bindir}/llvm-symbolizer third_party/llvm-build/Release+Asserts/bin/
|
|
|
|
# clang 3.4 doesn't support this option
|
|
|
|
sed -i '/-Wno-absolute-value/d' \
|
|
|
|
build/common.gypi \
|
|
|
|
third_party/ffmpeg/ffmpeg.gyp
|
|
|
|
|
2024-01-05 21:13:24 +01:00
|
|
|
%ifarch x86_64
|
|
|
|
ln -sf %{_bindir}/ld.gold third_party/gold/gold64
|
|
|
|
%else
|
2024-01-05 21:13:24 +01:00
|
|
|
ln -sf %{_bindir}/ld.gold third_party/gold/gold64
|
2024-01-05 21:13:24 +01:00
|
|
|
ln -sf %{_bindir}/ld.gold third_party/gold/gold32
|
|
|
|
%endif
|
|
|
|
%ifarch arm
|
|
|
|
#export GYP_DEFINES="$GYP_DEFINES target_arch=arm disable_nacl=1 linux_use_tcmalloc=0 armv7=1 arm_neon=0 arm_thumb=1 arm_fpu=vfpv3-d16"
|
|
|
|
export GYP_DEFINES="$GYP_DEFINES target_arch=arm linux_use_tcmalloc=0 armv7=1 arm_neon=0 arm_thumb=1 arm_fpu=vfp"
|
|
|
|
export ARMIFY="-march=armv7-a -mtune=cortex-a9 -mfloat-abi=softfp -mfpu=vfp -msoft-float"
|
|
|
|
export BACKTRACE="-funwind-tables -rdynamic"
|
2024-01-05 21:13:24 +01:00
|
|
|
#export CC="%{_build}-gcc $BACKTRACE $ARMIFY -B%{_bindir}/ld.gold"
|
|
|
|
#export CXX="%{_build}-g++ $BACKTRACE $ARMIFY -B%{_bindir}/ld.gold"
|
|
|
|
%endif
|
|
|
|
#%ifarch x86_64
|
|
|
|
#export GYP_DEFINES="linux_use_gold_binary=1 linux_use_gold_flags=1"
|
|
|
|
#%endif
|
|
|
|
#%ifarch %{ix86}
|
|
|
|
#export GYP_DEFINES="linux_use_gold_binary=1 linux_use_gold_flags=1 target_arch=ia32"
|
|
|
|
##export CC="%{_build}-gcc %{optflags} -m32"
|
|
|
|
##export CXX="%{_build}-g++ %{optflags} -m32"
|
|
|
|
#%endif
|
|
|
|
|
|
|
|
# openmamba api keys provided (see http://www.chromium.org/developers/how-tos/api-keys)
|
|
|
|
#export GYP_GENERATORS=make
|
|
|
|
#./build/gyp_chromium
|
|
|
|
chromium_conf=(
|
|
|
|
-Dgoogle_api_key=AIzaSyBT3wXwxmFuUQcyeMyp0MbHHhhFwNfWKTc
|
|
|
|
-Dgoogle_default_client_id=72870267994-r1bkll5bq0v275nnsa66d21h3t6ne10s.apps.googleusercontent.com
|
|
|
|
-Dgoogle_default_client_secret=Pcdh5bzXx3nsECO_AlMlPXXk
|
|
|
|
-Dwerror=
|
|
|
|
-Dclang=1
|
|
|
|
-Dclang_use_chrome_plugins=0
|
|
|
|
-Dpython_ver=2.7
|
|
|
|
-Dlinux_link_gsettings=1
|
|
|
|
-Dlinux_link_libpci=1
|
|
|
|
-Dlinux_link_libspeechd=1
|
|
|
|
-Dlinux_link_pulseaudio=1
|
|
|
|
-Dlinux_strip_binary=1
|
|
|
|
-Dlinux_use_bundled_binutils=0
|
|
|
|
-Dlinux_use_bundled_gold=0
|
|
|
|
-Dlinux_use_gold_flags=0
|
|
|
|
-Dlogging_like_official_build=1
|
|
|
|
-Dlinux_sandbox_path=/opt/chromium/chrome-sandbox
|
|
|
|
-Ddisable_nacl=1
|
|
|
|
-Duse_system_xdg_utils=1
|
|
|
|
-Duse_system_zlib=0
|
|
|
|
-Duse_system_libpng=1
|
|
|
|
-Duse_system_bzip2=1
|
|
|
|
-Duse_system_libbz2=1
|
|
|
|
-Duse_system_libjpeg=1
|
|
|
|
-Duse_system_libxml=1
|
|
|
|
-Duse_system_libxslt=1
|
|
|
|
-Duse_system_libevent=1
|
|
|
|
-Duse_system_yasm=1
|
|
|
|
-Duse_system_flac=1
|
|
|
|
-Duse_system_speex=1
|
|
|
|
-Duse_system_vpx=1
|
2024-01-05 21:13:25 +01:00
|
|
|
-Dffmpeg_branding=Chrome
|
|
|
|
-Duse_system_ffmpeg=0
|
2024-01-05 21:13:24 +01:00
|
|
|
-Dremove_webcore_debug_symbols=1
|
|
|
|
-Dlinux_fpic=1
|
|
|
|
-Ddisable_sse2=1
|
|
|
|
%ifarch %{ix86}
|
|
|
|
-Drelease_extra_cflags="-fPIC -m32"
|
2024-01-05 21:13:24 +01:00
|
|
|
%else
|
2024-01-05 21:13:24 +01:00
|
|
|
-Drelease_extra_cflags="-fPIC"
|
2024-01-05 21:13:24 +01:00
|
|
|
%endif
|
2024-01-05 21:13:24 +01:00
|
|
|
-Dlibspeechd_h_prefix=speech-dispatcher/
|
|
|
|
-Dno_strict_aliasing=1
|
2024-01-05 21:13:24 +01:00
|
|
|
%ifarch arm
|
2024-01-05 21:13:24 +01:00
|
|
|
-Denable_webrtc=0
|
2024-01-05 21:13:24 +01:00
|
|
|
%endif
|
|
|
|
%ifnarch arm
|
2024-01-05 21:13:24 +01:00
|
|
|
-Dproprietary_codecs=1
|
2024-01-05 21:13:24 +01:00
|
|
|
%endif
|
2024-01-05 21:13:24 +01:00
|
|
|
)
|
2024-01-05 21:13:24 +01:00
|
|
|
|
|
|
|
# -Duse_system_zlib=0: see http://code.google.com/p/chromium/issues/detail?id=143623
|
|
|
|
|
|
|
|
# -Duse_system_ffmpeg=1 \
|
|
|
|
# -Duse_system_libjpeg=1 currently requires libjpeg-turbo >= 1.1.90
|
|
|
|
# -Duse_system_ssl=1 \
|
|
|
|
# -Duse_system_sqlite=1
|
|
|
|
# -Duse_system_icu=1 \
|
|
|
|
|
2024-01-05 21:13:24 +01:00
|
|
|
#___ EOF
|
|
|
|
|
|
|
|
build/linux/unbundle/replace_gyp_files.py "${chromium_conf[@]}"
|
|
|
|
build/gyp_chromium --depth=. "${chromium_conf[@]}"
|
2024-01-05 21:13:24 +01:00
|
|
|
|
2024-01-05 21:13:24 +01:00
|
|
|
ninja -C out/Release chrome chrome_sandbox chromedriver
|
|
|
|
#% make BUILDTYPE=Release chrome V=1
|
2024-01-05 21:13:24 +01:00
|
|
|
|
|
|
|
# Build the required SUID SANDBOX helper
|
2024-01-05 21:13:24 +01:00
|
|
|
#% make BUILDTYPE=Release chrome_sandbox V=1
|
2024-01-05 21:13:24 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
#cd src
|
|
|
|
install -d -m0755 %{buildroot}/opt/chromium/ %{buildroot}%{_bindir}
|
|
|
|
install -m0755 out/Release/chrome %{buildroot}/opt/chromium/
|
|
|
|
install -m0755 out/Release/chrome_sandbox %{buildroot}/opt/chromium/chrome-sandbox
|
2024-01-05 21:13:24 +01:00
|
|
|
install -m0755 out/Release/chromedriver %{buildroot}/opt/chromium/chromedriver
|
|
|
|
cp out/Release/{*.pak,libffmpegsumo.so} \
|
|
|
|
%{buildroot}/opt/chromium/
|
|
|
|
|
2024-01-05 21:13:24 +01:00
|
|
|
install -m0755 chrome/tools/build/linux/chrome-wrapper %{buildroot}/opt/chromium/
|
2024-01-05 21:13:24 +01:00
|
|
|
#install -m0755 third_party/xdg-utils/scripts/xdg-settings %{buildroot}/opt/chromium/xdg-settings
|
|
|
|
|
2024-01-05 21:13:24 +01:00
|
|
|
#%ifnarch arm
|
|
|
|
#install -m0755 out/Release/gen* %{buildroot}/opt/chromium/
|
|
|
|
#install -m0755 out/Release/re2c %{buildroot}/opt/chromium/
|
|
|
|
#install -m0755 out/Release/yasm %{buildroot}/opt/chromium/
|
|
|
|
##install -m0755 out/Release/ncdecode* %{buildroot}/opt/chromium/
|
|
|
|
#%endif
|
2024-01-05 21:13:24 +01:00
|
|
|
%if "%cross_target_cpu" != "i586"
|
2024-01-05 21:13:24 +01:00
|
|
|
install -m0755 out/Release/protoc %{buildroot}/opt/chromium/
|
2024-01-05 21:13:24 +01:00
|
|
|
%endif
|
|
|
|
#install -m0644 out/Release/resources.pak %{buildroot}/opt/chromium/
|
|
|
|
install -D -m0644 out/Release/icudtl.dat %{buildroot}/opt/chromium/
|
2024-01-05 21:13:24 +01:00
|
|
|
install -D -m0644 out/Release/chrome.1 %{buildroot}%{_mandir}/man1/chrome.1
|
|
|
|
install -D -m0644 chrome/app/theme/chromium/product_logo_48.png %{buildroot}%{_datadir}/pixmaps/chrome.png
|
|
|
|
cp -a out/Release/locales %{buildroot}/opt/chromium/
|
|
|
|
|
|
|
|
ln -s /opt/chromium/chrome-wrapper %{buildroot}%{_bindir}/chromium
|
|
|
|
ln -s /opt/chromium/chrome-wrapper %{buildroot}%{_bindir}/chrome
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/applications
|
|
|
|
cat > %{buildroot}%{_datadir}/applications/chromium-devel.desktop << EOF
|
|
|
|
[Desktop Entry]
|
|
|
|
Name=Chromium Browser
|
|
|
|
Name[it]=Browser Chromium
|
|
|
|
GenericName=Web Browser
|
|
|
|
GenericName[it]=Browser Web
|
|
|
|
Comment=An open-source browser to help move the web forward
|
|
|
|
Comment[it]=Un browser open source pensato per un web più moderno
|
|
|
|
Exec=chromium --password-store=detect --ignore-gpu-blacklist %u
|
|
|
|
Type=Application
|
|
|
|
Terminal=0
|
|
|
|
Icon=%{_datadir}/pixmaps/chrome.png
|
|
|
|
Categories=Network;
|
|
|
|
MimeType=text/html;
|
|
|
|
X-KDE-StartupNotify=true
|
|
|
|
EOF
|
|
|
|
|
|
|
|
cat > %{buildroot}%{_datadir}/applications/chromium-accelerated.desktop << EOF
|
|
|
|
[Desktop Entry]
|
|
|
|
Name=Chromium Browser (not GPU accelerated)
|
|
|
|
Name[it]=Browser Chromium (senza accelerazioni GPU)
|
|
|
|
GenericName=Web Browser
|
|
|
|
GenericName[it]=Browser Web
|
|
|
|
Comment=An open-source browser to help move the web forward
|
|
|
|
Comment[it]=Un browser open source pensato per un web più moderno
|
|
|
|
Exec=chromium --password-store=detect %u
|
|
|
|
Type=Application
|
|
|
|
Terminal=0
|
|
|
|
Icon=/usr/share/pixmaps/chrome.png
|
|
|
|
Categories=Network;
|
|
|
|
MimeType=text/html;
|
|
|
|
X-KDE-StartupNotify=true
|
|
|
|
EOF
|
|
|
|
|
|
|
|
# install master_preferences file for first run and homepage customization
|
|
|
|
install -m0644 %{SOURCE1} %{buildroot}/opt/chromium/master_preferences
|
|
|
|
|
|
|
|
#%find_lang %{name}
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
if [ $1 -ge 1 ]; then
|
|
|
|
[ -e %{_kde4_bindir}/kickoffcfg ] && \
|
|
|
|
%{_kde4_bindir}/kickoffcfg --add-favorite %{_datadir}/applications/chromium-devel.desktop
|
|
|
|
fi
|
|
|
|
:
|
|
|
|
|
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
[ -e %{_kde4_bindir}/kickoffcfg ] && \
|
|
|
|
%{_kde4_bindir}/kickoffcfg --del-favorite %{_datadir}/applications/chromium-devel.desktop
|
|
|
|
fi
|
|
|
|
:
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/chromium
|
|
|
|
%{_bindir}/chrome
|
|
|
|
%{_datadir}/applications/chromium-devel.desktop
|
|
|
|
%{_datadir}/applications/chromium-accelerated.desktop
|
|
|
|
%{_datadir}/pixmaps/chrome.png
|
|
|
|
%dir /opt/chromium
|
|
|
|
/opt/chromium/chrome
|
2024-01-05 21:13:24 +01:00
|
|
|
/opt/chromium/chromedriver
|
2024-01-05 21:13:24 +01:00
|
|
|
/opt/chromium/*.pak
|
|
|
|
/opt/chromium/chrome-wrapper
|
|
|
|
%attr(4755,root,root) /opt/chromium/chrome-sandbox
|
|
|
|
#/opt/chromium/ffmpegsumo_nolink
|
2024-01-05 21:13:24 +01:00
|
|
|
/opt/chromium/icudtl.dat
|
2024-01-05 21:13:24 +01:00
|
|
|
/opt/chromium/libffmpegsumo.so
|
2024-01-05 21:13:24 +01:00
|
|
|
#/opt/chromium/libpdf.so
|
|
|
|
#/opt/chromium/nacl_helper
|
|
|
|
#/opt/chromium/nacl_helper-bootstrap
|
|
|
|
#/opt/chromium/libppGoogleNaClPluginChrome.so
|
|
|
|
#/opt/chromium/nacl_irt_*.nexe
|
2024-01-05 21:13:24 +01:00
|
|
|
/opt/chromium/master_preferences
|
2024-01-05 21:13:24 +01:00
|
|
|
#/opt/chromium/xdg-settings
|
2024-01-05 21:13:24 +01:00
|
|
|
#%ifnarch arm
|
|
|
|
#/opt/chromium/ncdecode*
|
|
|
|
#%endif
|
2024-01-05 21:13:24 +01:00
|
|
|
%if "%cross_target_cpu" != "i586"
|
2024-01-05 21:13:24 +01:00
|
|
|
/opt/chromium/protoc
|
2024-01-05 21:13:24 +01:00
|
|
|
%endif
|
2024-01-05 21:13:24 +01:00
|
|
|
#%ifnarch arm
|
|
|
|
#/opt/chromium/gen*
|
|
|
|
#/opt/chromium/re2c
|
|
|
|
#/opt/chromium/yasm
|
|
|
|
#%endif
|
|
|
|
/opt/chromium/locales
|
|
|
|
#/opt/chromium/resources
|
|
|
|
%{_mandir}/man1/chrome.1*
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 21:13:25 +01:00
|
|
|
* Thu Dec 04 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 34.0.1847.137-3mamba
|
|
|
|
- install libpdf.so
|
|
|
|
- set -Dffmpeg_branding=Chrome instead of Chromium and -Duse_system_ffmpeg=0
|
|
|
|
- require libvdpau-Mesa
|
|
|
|
|
2024-01-05 21:13:24 +01:00
|
|
|
* Tue Sep 09 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 34.0.1847.137-2mamba
|
|
|
|
- build with clang because of startup crash with gcc 4.9
|
|
|
|
|
|
|
|
* Tue Sep 09 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 34.0.1847.137-1mamba
|
|
|
|
- update to 34.0.1847.137
|
|
|
|
|
|
|
|
* Sun Apr 13 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 34.0.1847.118-1mamba
|
|
|
|
- update to 34.0.1847.118
|
|
|
|
|
2024-01-05 21:13:24 +01:00
|
|
|
* Thu Dec 05 2013 Automatic Build System <autodist@mambasoft.it> 31.0.1650.63-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Nov 16 2013 Automatic Build System <autodist@mambasoft.it> 31.0.1650.57-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Nov 15 2013 Automatic Build System <autodist@mambasoft.it> 31.0.1650.48-2mamba
|
|
|
|
- previous release was build with a bad rpm release
|
|
|
|
|
|
|
|
* Thu Nov 14 2013 Automatic Build System <autodist@mambasoft.it> 31.0.1650.48-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Oct 28 2013 Automatic Build System <autodist@mambasoft.it> 30.0.1599.114-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Oct 04 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 30.0.1599.66-2mamba
|
|
|
|
- install chrome_sandbox as chrome-sandbox as required since this version
|
|
|
|
|
|
|
|
* Thu Oct 03 2013 Automatic Build System <autodist@mambasoft.it> 30.0.1599.66-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Sep 19 2013 Automatic Build System <autodist@mambasoft.it> 29.0.1547.76-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Sep 10 2013 Automatic Build System <autodist@mambasoft.it> 29.0.1547.65-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Aug 02 2013 Automatic Build System <autodist@mambasoft.it> 28.0.1500.95-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Jul 20 2013 Automatic Build System <autodist@mambasoft.it> 28.0.1500.71-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Jun 20 2013 Automatic Build System <autodist@mambasoft.it> 28.0.1500.52-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Jun 19 2013 Automatic Build System <autodist@mambasoft.it> 28.0.1500.45-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed May 22 2013 Automatic Build System <autodist@mambasoft.it> 27.0.1453.93-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Apr 10 2013 Automatic Build System <autodist@mambasoft.it> 26.0.1410.63-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Mar 27 2013 Automatic Build System <autodist@mambasoft.it> 26.0.1410.49-1mamba
|
|
|
|
- update to 26.0.1410.49
|
|
|
|
|
|
|
|
* Fri Feb 22 2013 Automatic Build System <autodist@mambasoft.it> 25.0.1364.97-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Feb 13 2013 Automatic Build System <autodist@mambasoft.it> 24.0.1312.70-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Feb 08 2013 Automatic Build System <autodist@mambasoft.it> 24.0.1312.69-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Feb 02 2013 Automatic Build System <autodist@mambasoft.it> 24.0.1312.57-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Jan 24 2013 Automatic Build System <autodist@mambasoft.it> 24.0.1312.56-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Jan 11 2013 Automatic Build System <autodist@mambasoft.it> 24.0.1312.52-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Dec 15 2012 Automatic Build System <autodist@mambasoft.it> 23.0.1271.97-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Dec 02 2012 Automatic Build System <autodist@mambasoft.it> 23.0.1271.95-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Nov 23 2012 Automatic Build System <autodist@mambasoft.it> 23.0.1271.94-1mamba
|
|
|
|
- update to 23.0.1271.94
|
|
|
|
|
|
|
|
* Mon Oct 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 21.0.1180.92-1mamba
|
|
|
|
- update to 21.0.1180.92
|
|
|
|
|
|
|
|
* Mon Aug 27 2012 Automatic Build System <autodist@mambasoft.it> 21.0.1168.0-1mamba
|
|
|
|
- update to 21.0.1168.0
|
|
|
|
|
|
|
|
* Sat Aug 18 2012 Automatic Build System <autodist@mambasoft.it> 20.0.1132.59-1mamba
|
|
|
|
- update to 20.0.1132.59
|
|
|
|
|
|
|
|
* Sat Jun 30 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 20.0.1132.43-2mamba
|
|
|
|
- applied sqlite patches to prevent crash in history (http://code.google.com/p/chromium/issues/detail?id=122525)
|
|
|
|
- also provide /usr/bin/chrome symlink for session manager to find it at login
|
|
|
|
|
|
|
|
* Mon Jun 25 2012 Automatic Build System <autodist@mambasoft.it> 20.0.1132.43-1mamba
|
|
|
|
- update to 20.0.1132.43
|
|
|
|
|
|
|
|
* Wed Jun 06 2012 Automatic Build System <autodist@mambasoft.it> 20.0.1132.27-1mamba
|
|
|
|
- update to 20.0.1132.27
|
|
|
|
|
|
|
|
* Fri May 18 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 20.0.1132.12-1mamba
|
|
|
|
- update to 20.0.1132.12
|
|
|
|
|
|
|
|
* Fri May 18 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 21.0.1141.0-1mamba
|
|
|
|
- update to 21.0.1141.0
|
|
|
|
|
|
|
|
* Tue Apr 10 2012 Automatic Build System <autodist@mambasoft.it> 20.0.1096.1-1mamba
|
|
|
|
- update to 20.0.1096.1
|
|
|
|
|
|
|
|
* Thu Mar 29 2012 Automatic Build System <autodist@mambasoft.it> 19.0.1084.2-1mamba
|
|
|
|
- update to 19.0.1084.2
|
|
|
|
|
|
|
|
* Sat Jan 07 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 18.0.998.0-2mamba
|
|
|
|
- added various experimental build options
|
|
|
|
- enabled sandbox
|
|
|
|
|
|
|
|
* Fri Jan 06 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 18.0.998.0-1mamba
|
|
|
|
- update to 18.0.998.0
|
|
|
|
|
|
|
|
* Fri Jan 06 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 18.0.997.0-1mamba
|
|
|
|
- update to 18.0.997.0
|
|
|
|
|
|
|
|
* Wed Nov 09 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 17.0.932.0-1mamba
|
|
|
|
- update to 17.0.932.0
|
|
|
|
|
|
|
|
* Mon Oct 31 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 15.0.868.1-3mamba
|
|
|
|
- install xdg-settings script to enable default browser setting functionality using system xdg-utils
|
|
|
|
- add missing semicolon to MimeType in .desktop files for XDG standard compliance
|
|
|
|
|
|
|
|
* Thu Oct 27 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 15.0.868.1-2mamba
|
|
|
|
- added patch to drop sse2 support to work with CPU which do not support it (see http://code.google.com/p/chromium/issues/detail?id=9007)
|
|
|
|
|
|
|
|
* Sat Sep 03 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 15.0.868.1-1mamba
|
|
|
|
- update to 15.0.868.1
|
|
|
|
|
|
|
|
* Sat Jul 16 2011 Silvan Calarco <silvan.calarco@mambasoft.it> r92735-1mamba
|
|
|
|
- update to r92735
|
|
|
|
|
|
|
|
* Mon Jul 04 2011 Silvan Calarco <silvan.calarco@mambasoft.it> r91189-1mamba
|
|
|
|
- update to r91189
|
|
|
|
|
|
|
|
* Wed Jun 01 2011 Silvan Calarco <silvan.calarco@mambasoft.it> r87437-1mamba
|
|
|
|
- update to r87437
|
|
|
|
- configure as kickoff menu favorite
|
|
|
|
|
|
|
|
* Tue Mar 29 2011 Silvan Calarco <silvan.calarco@mambasoft.it> r79660-1mamba
|
|
|
|
- update to r79660
|
|
|
|
- desktop file: add --password-store=detect
|
|
|
|
- set arm_fpu=vfpv3-d16 for arm target
|
|
|
|
- use default system theme (GTK+) with KDE (added patch)
|
|
|
|
|
|
|
|
* Tue Mar 22 2011 Silvan Calarco <silvan.calarco@mambasoft.it> r78967-1mamba
|
|
|
|
- update to r78967
|
|
|
|
|
|
|
|
* Wed Mar 16 2011 Silvan Calarco <silvan.calarco@mambasoft.it> r78333-1mamba
|
|
|
|
- update to r78333
|
|
|
|
|
|
|
|
* Mon Jan 31 2011 Silvan Calarco <silvan.calarco@mambasoft.it> r73127-1mamba
|
|
|
|
- update to r73127
|
|
|
|
|
|
|
|
* Sat Nov 27 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 9.0.594.0-1mamba
|
|
|
|
- update to 9.0.594.0
|
|
|
|
|
|
|
|
* Fri Nov 26 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 67069-2mamba
|
|
|
|
- install xdg support files and other tools
|
|
|
|
- launch via chrome-wrapper to start with right environment
|
|
|
|
|
|
|
|
* Thu Nov 25 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 67069-1mamba
|
|
|
|
- package created by autospec
|