Hello community,
here is the log from the commit of package chromium.594 for openSUSE:12.2:Update checked in at 2012-07-03 13:19:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.2:Update/chromium.594 (Old)
and /work/SRC/openSUSE:12.2:Update/.chromium.594.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "chromium.594", Maintainer is ""
Changes:
--------
New Changes file:
--- /dev/null 2012-06-28 07:48:42.835576985 +0200
+++ /work/SRC/openSUSE:12.2:Update/.chromium.594.new/chromium.changes 2012-07-03 13:20:02.000000000 +0200
@@ -0,0 +1,1174 @@
+-------------------------------------------------------------------
+Fri Jun 29 08:52:58 UTC 2012 - tittiatcoke@gmail.com
+
+- Update to 22.0.1190
+ * Security Fixes:
+ * CVE-2012-2815: Leak of iframe fragment id
+ * CVE-2012-2816: Prevent sandboxed processes interfering with
+ each other
+ * CVE-2012-2817: Use-after-free in table section handling
+ * CVE-2012-2818: Use-after-free in counter layout
+ * CVE-2012-2819: Crash in texture handling
+ * CVE-2012-2820: Out-of-bounds read in SVG filter handling
+ * CVE-2012-2821: Autofill display problem
+ * CVE-2012-2823: Use-after-free in SVG resource handling
+ * CVE-2012-2826: Out-of-bounds read in texture conversion
+ * CVE-2012-2829: Use-after-free in first-letter handling
+ * CVE-2012-2830: Wild pointer in array value setting
+ * CVE-2012-2831: Use-after-free in SVG reference handling
+ * CVE-2012-2834: Integer overflow in Matroska container
+ * CVE-2012-2825: Wild read in XSL handling
+ * CVE-2012-2807: Integer overflows in libxml
+ * Fix update-alternatives within the spec-file
+
+-------------------------------------------------------------------
+Thu Jun 21 12:20:28 UTC 2012 - tittiatcoke@gmail.com
+
+- Update to 22.0.1183
+ * Content settings for Cookies now also show protected storage
+ granted to hosted apps
+ * Chromoting client plugin correctly up-scales on when page-zoom
+ is >100%.
+
+-------------------------------------------------------------------
+Tue Jun 19 13:06:52 UTC 2012 - tittiatcoke@gmail.com
+
+- Update to 21.0.1181
+ * Bugfixes.
+ * Remove obsolete patch
+ * Do not execute update-alternatives when building
+
+-------------------------------------------------------------------
+Fri Jun 15 12:19:24 UTC 2012 - coolo@suse.com
+
+- fix update-alternative usage to fix build
+
+-------------------------------------------------------------------
+Thu May 31 08:27:09 UTC 2012 - tittiatcoke@gmail.com
+
+- Update to 21.0.1158
+ * Bugfixes
+ * Gamepad API prototype http://www.w3.org/TR/gamepad/
+ available by default.
+ * TLS 1.1 is enabled by default.
+
+-------------------------------------------------------------------
+Sun May 20 16:40:03 UTC 2012 - tittiatcoke@gmail.com
+
+- Update to 21.0.1145
+ * Fixed several issues around audio not playing with videos
+ * Crash Fixes
+ * Improvements to trackpad on Cr-48
+ * Security Fixes (bnc#762481)
+ - CVE-2011-3083: Browser crash with video + FTP
+ - CVE-2011-3084: Load links from internal pages in their
+ own process.
+ - CVE-2011-3085: UI corruption with long autofilled values
+ - CVE-2011-3086: Use-after-free with style element.
+ - CVE-2011-3087: Incorrect window navigation
+ - CVE-2011-3088: Out-of-bounds read in hairline drawing
+ - CVE-2011-3089: Use-after-free in table handling.
+ - CVE-2011-3090: Race condition with workers.
+ - CVE-2011-3091: Use-after-free with indexed DB
+ - CVE-2011-3092: Invalid write in v8 regex
+ - CVE-2011-3093: Out-of-bounds read in glyph handling
+ - CVE-2011-3094: Out-of-bounds read in Tibetan handling
+ - CVE-2011-3095: Out-of-bounds write in OGG container.
+ - CVE-2011-3096: Use-after-free in GTK omnibox handling.
+ - CVE-2011-3098: Bad search path for Windows Media Player
+ plug-in
+ - CVE-2011-3100: Out-of-bounds read drawing dash paths.
+ - CVE-2011-3101: Work around Linux Nvidia driver bug
+ - CVE-2011-3102: Off-by-one out-of-bounds write in libxml.
+
+-------------------------------------------------------------------
+Sun May 13 19:53:59 UTC 2012 - tittiatcoke@gmail.com
+
+- Update to 21.0.1137
+ * Fixes crashes when manually typing in URL's
+
+-------------------------------------------------------------------
+Fri May 11 14:22:22 UTC 2012 - tittiatcoke@gmail.com
+
+- Update to 21.0.1135.0
+ * Added patch for Sqlite which should resolve crashes when build
+ with GCC 4.7
+ * Fixes for rendering and stability
+ * Fixed about:inducebrowsercrashforrealz (Issue: 124843)
+ * Mouse over on apps/extensions makes place holder blank in
+ web store. (Issue: 125777)
+ * Security Fixes (bnc#760264):
+ - CVE-2011-3078: Use after free in floats handling.
+ - CVE-2012-1521: Use after free in xml parser.
+ - CVE-2011-3079: IPC validation failure.
+ - CVE-2011-3080: Race condition in sandbox IPC
+ - CVE-2011-3081: Use after free in floats handling.
+
+-------------------------------------------------------------------
+Sun Apr 29 15:38:00 UTC 2012 - tittiatcoke@gmail.com
+
+- Update to 20.0.1123.0
+
+-------------------------------------------------------------------
+Fri Apr 27 09:54:43 UTC 2012 - tittiatcoke@gmail.com
+
+- Update to 20.0.1119.0
+ Fixes
+- Adjust spec-file to include two new resource files that are
+ required for the UI. (bnc#759381)
+
+-------------------------------------------------------------------
+Wed Apr 25 11:32:07 UTC 2012 - tittiatcoke@gmail.com
+
+- Update to 20.0.1116.0
+ * Fixes and update to newer v8 version
+
+-------------------------------------------------------------------
+Thu Apr 19 09:12:44 UTC 2012 - tittiatcoke@gmail.com
+
+- Added the ChromeDriver as a separate package. Normal users
+ will not require this as it is a standalone server for testing
+ webbrowsers
+
+-------------------------------------------------------------------
+Tue Apr 17 13:53:49 UTC 2012 - tittiatcoke@gmail.com
+
+- Update to 20.0.1106.0
+ * Fixes issues with fonts (Issue: 108645).
+ * Enable the Chrome To Mobile page action for users with
+ compatible registered devices
+ * file: downloads allowed again
+
+-------------------------------------------------------------------
+Fri Apr 13 09:12:42 UTC 2012 - fcrozat@suse.com
+
+- Use desktop_database macros at install time.
+
+-------------------------------------------------------------------
+Fri Apr 6 14:32:07 UTC 2012 - tittiatcoke@gmail.com
+
+- Update to 20.0.1094.0
+ Fixes:
+ * Other Devices menu shows last update time for other sessions,
+ and allows sessions to be hidden using a context menu.
+ * Fix sync issue with sessions (open tabs) triggering an
+ unrecoverable error.
+ * Fixed Sync/Apps: NTP apps icons missing after sync.
+ [Issue: 117857]
+ * Fixed bookmarks drag-n-drop in Bookmark Manager.
+ [Issue: 118715]
+ Security Fixes:
+ * Medium CVE-2011-3066: Out-of-bounds read in Skia clipping.
+ * Medium CVE-2011-3067: Cross-origin iframe replacement.
+ * High CVE-2011-3068: Use-after-free in run-in handling.
+ * High CVE-2011-3069: Use-after-free in line box handling.
+ * High CVE-2011-3070: Use-after-free in v8 bindings.
+ * High CVE-2011-3071: Use-after-free in HTMLMediaElement.
+ * Low CVE-2011-3072: Cross-origin violation parenting pop-up
+ window.
+ * High CVE-2011-3073: Use-after-free in SVG resource handling.
+ * Medium CVE-2011-3074: Use-after-free in media handling.
+ * High CVE-2011-3075: Use-after-free applying style command.
+ * High CVE-2011-3076: Use-after-free in focus handling.
+ * Medium CVE-2011-3077: Read-after-free in script bindings.
+
+-------------------------------------------------------------------
+Tue Apr 3 06:51:49 UTC 2012 - tittiatcoke@gmail.com
+
+- Update to 20.0.1090
+ Fixes:
+ * Fixed issue cannot add GMail app to Chrome. [Issue: 119975]
+ * Fixed theme and bookmarks bar notifications. [Issue: 117027]
+ * Fixed popup prompting permission for flash plugin.
+ [Issue: 120358]
+ Security Fixes:
+ * Medium CVE-2011-3058: Bad interaction possibly leading to
+ XSS in EUC-JP.
+ * Medium CVE-2011-3059: Out-of-bounds read in SVG text handling.
+ * Medium CVE-2011-3060: Out-of-bounds read in text fragment
+ handling.
+ * Medium CVE-2011-3061: SPDY proxy certificate checking error.
+ * High CVE-2011-3062: Off-by-one in OpenType Sanitizer.
+ * Low CVE-2011-3063: Validate navigation requests from the
+ renderer more carefully.
+ * High CVE-2011-3064: Use-after-free in SVG clipping.
+ * High CVE-2011-3065: Memory corruption in Skia.
+ * Medium CVE-2011-3057: Invalid read in v8.
+
++++ 977 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:12.2:Update/.chromium.594.new/chromium.changes
New:
----
chrome-wrapper
chromium-6.0.406.0-system-gyp-v8.patch
chromium-6.0.425.0-ffmpeg-no-pkgconfig.patch
chromium-7.0.500.0-system-speex.patch
chromium-7.0.542.0-system-libvpx.patch
chromium-browser.desktop
chromium-browser.sh
chromium-browser.xml
chromium-codechanges-zlib.patch
chromium-gcc46.patch
chromium-gcc47.patch
chromium-icons.tar.bz2
chromium-master-prefs-path.patch
chromium-more-codec-aliases.patch
chromium-no-courgette.patch
chromium-norpath.patch
chromium-remoting-build-fix.diff
chromium-rpmlintrc
chromium-sandbox-pie.patch
chromium-system-expat.patch
chromium-system-glew.patch
chromium-vendor.patch.in
chromium.22.0.1190.0.svn144885.tar.bz2
chromium.changes
chromium.easy
chromium.spec
chromium_use_gold.patch
default_bookmarks.html
master_preferences
tcmalloc-factory.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ chromium.spec ++++++
#
# spec file for package chromium
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define v8_ver 3.12.5.0
%define svn_revision 144885
Name: chromium
Version: 22.0.1190.0
Release: 0
Summary: Google's opens source browser project
License: BSD-3-Clause and LGPL-2.1+
Group: Productivity/Networking/Web/Browsers
Url: http://code.google.com/p/chromium/
Source0: %{name}.%{version}.svn%{svn_revision}.tar.bz2
%if 0%{?suse_version} == 1140
Source1: %{name}.easy
Source2: %{name}-rpmlintrc
%endif
Source20: chromium-vendor.patch.in
Source30: master_preferences
Source31: default_bookmarks.html
Source99: chrome-wrapper
Source100: chromium-browser.sh
Source101: chromium-browser.desktop
Source102: chromium-browser.xml
Source104: chromium-icons.tar.bz2
Provides: chromium-based-browser = %{version}
Provides: chromium-browser = %{version}
Provides: browser(npapi)
Obsoletes: chromium-browser < %{version}
## Start Patches
# Many changes to the gyp systems so we can use system libraries
# PATCH-FIX-OPENSUSE Fix build with GCC 4.6
Patch1: chromium-gcc46.patch
# PATCH-FIX-OPENSUSE patches in system zlib library
Patch8: chromium-codechanges-zlib.patch
# PATCH-FIX-OPENSUSE removes build part for courgette
Patch13: chromium-no-courgette.patch
# PATCH-FIX-OPENSUSE enables reading of the master preference
Patch14: chromium-master-prefs-path.patch
# PATCH-FIX-OPENSUSE patches in system glew library
Patch17: chromium-system-glew.patch
# PATCH-FIX-OPENSUSE patches in system expat library
Patch18: chromium-system-expat.patch
# PATCH-FIX-OPENSUSE disables the requirement for ffmpeg
Patch20: chromium-6.0.425.0-ffmpeg-no-pkgconfig.patch
# PATCH-FIX-OPENSUSE disable the use of tcmallic function
Patch25: tcmalloc-factory.patch
# PATCH-FIX-OPENSUSE make sure that Chrome remoting is linking against the system libvpx
Patch26: chromium-remoting-build-fix.diff
# PATCH-FIX-OPENSUSE patches in system speex library
Patch28: chromium-7.0.500.0-system-speex.patch
# PATCH-FIX-OPENSUSE patches in the system libvpx library
Patch32: chromium-7.0.542.0-system-libvpx.patch
# PATCH-FIX-OPENSUSE remove the rpath in the libraries
Patch62: chromium-norpath.patch
# PATCH-FIX-OPENSUSE patches in the system v8 library
Patch63: chromium-6.0.406.0-system-gyp-v8.patch
# PATCH-FIX-UPSTREAM Add more charset aliases
Patch64: chromium-more-codec-aliases.patch
# PATCH-FIX-OPENSUSE Compile the sandbox with -fPIE settings
Patch66: chromium-sandbox-pie.patch
# PATCH-FIX-OPENSUSE Compile with the standard gold linker
Patch67: chromium_use_gold.patch
# PATCH-FIX-OPENSUSE Fix build with GCC 4.7
Patch68: chromium-gcc47.patch
%if 0%{?suse_version} > 1210
BuildRequires: libjpeg8-devel
%endif
BuildRequires: Mesa-devel
BuildRequires: alsa-devel
BuildRequires: binutils-gold
BuildRequires: bison
BuildRequires: cups-devel
BuildRequires: desktop-file-utils
BuildRequires: fdupes
BuildRequires: flex
BuildRequires: freetype2-devel
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: gperf
BuildRequires: hunspell-devel
BuildRequires: krb5-devel
BuildRequires: libbz2-devel
BuildRequires: libevent
BuildRequires: libexpat-devel
BuildRequires: libgnutls-devel
BuildRequires: libpng-devel
BuildRequires: libstdc++-devel
BuildRequires: libvpx-devel
BuildRequires: libxslt-devel
BuildRequires: libzip-devel
BuildRequires: lzma
BuildRequires: mozilla-nspr-devel
BuildRequires: mozilla-nss-devel
BuildRequires: openssl-devel
BuildRequires: pam-devel
BuildRequires: pkg-config
BuildRequires: subversion
%if 0%{?suse_version} > 1210
BuildRequires: perl-Switch
%else
BuildRequires: perl(Switch)
%endif
BuildRequires: dbus-1-glib-devel
BuildRequires: dbus-1-glib-devel
BuildRequires: hicolor-icon-theme
BuildRequires: libelf-devel
BuildRequires: libevent-devel
BuildRequires: libgnome-keyring-devel
BuildRequires: libicu-devel >= 4.0
BuildRequires: libpulse-devel
BuildRequires: python
BuildRequires: python-devel
BuildRequires: python-xml
BuildRequires: speex-devel
BuildRequires: sqlite3-devel
BuildRequires: update-desktop-files
BuildRequires: v8-devel = %{v8_ver}
BuildRequires: wdiff
BuildRequires: zlib-devel
BuildRequires: pkgconfig(cairo) >= 1.6
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(gconf-2.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcomposite)
BuildRequires: pkgconfig(xcursor)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xfixes)
BuildRequires: pkgconfig(xi)
BuildRequires: pkgconfig(xrender)
BuildRequires: pkgconfig(xscrnsaver)
BuildRequires: pkgconfig(xt)
%if 0%{?suse_version} < 1210
BuildRequires: libudev-devel
%endif
# For NaCl
%ifarch x86_64
BuildRequires: gcc-c++-32bit
BuildRequires: glibc-32bit
BuildRequires: zlib-32bit
%endif
Requires: alsa
Requires: hicolor-icon-theme
Requires: libv8-3 = %{v8_ver}
Requires: update-alternatives
Requires: xdg-utils
Requires(pre): permissions
Recommends: Chromium-password = %{version}
Requires: %{name}-suid-helper = %{version}
# Recommends the chromium-ffmpeg library (available from packman)
Recommends: chromium-ffmpeg = %{version}
%description
Chromium is the open-source project behind Google Chrome. We invite you to join us in our effort to help build a safer, faster, and more stable way for all Internet users to experience the web, and to create a powerful platform for developing a new generation of web applications.
%package desktop-kde
Summary: Update to chromium to use KDE's kwallet to store passwords
License: BSD-3-Clause and LGPL-2.1+
Group: Productivity/Networking/Web/Browsers
Supplements: packageand(chromium:kdebase4-session)
Conflicts: chromium-desktop-gnome
Provides: Chromium-password = %{version}
Requires(post): chromium = %{version}
%description desktop-kde
By using the openSUSE update-alternatives the password store for Chromium is changed to utilize
KDE's kwallet. Please be aware that by this change the old password are no longer accessible and
are also not converted to kwallet.
%package desktop-gnome
Summary: Update to chromium to use Gnome keyring to store passwords
License: BSD-3-Clause and LGPL-2.1+
Group: Productivity/Networking/Web/Browsers
Supplements: packageand(chromium:gnome-session)
Conflicts: chromium-desktop-kde
Provides: Chromium-password = %{version}
Requires(post): chromium = %{version}
Requires: libgnome
%description desktop-gnome
By using the openSUSE update-alternatives the password store for Chromium is changed to utilize
Gnome's Keyring. Please be aware that by this change the old password are no longer accessible and
are also not converted to Gnome's Keyring.
%package suid-helper
Summary: A suid helper to let a process willingly drop privileges on Linux
License: BSD-3-Clause and LGPL-2.1+
Group: Productivity/Networking/Web/Browsers
Url: http://code.google.com/p/setuid-sandbox/
Requires(pre): permissions
%description suid-helper
t will allow a process to execute a target executable that will be able to drop privileges:
* The suid sandbox will create a new PID namespace or will switch uid/gid to isolate the process
* a helper process, sharing the filesystem view of the existing process, will be created. It
will accept a request to chroot() the process to an empty directory
This is convenient because an executable can be launched, load libraries and open files and get
chroot()-ed to an empty directory when it wants to drop filesystem access.
%package -n chromedriver
Summary: WebDriver for Google Chrome/Chromium
License: BSD-3-Clause
Group: Development/Tools/Other
Url: http://code.google.com/p/chromedriver/
Requires: libv8-3 = %{v8_ver}
%description -n chromedriver
WebDriver is an open source tool for automated testing of webapps across many browsers. It provides capabilities for navigating to web pages, user input, JavaScript execution, and more. ChromeDriver is a standalone server which implements WebDriver's wire protocol for Chromium. It is being developed by members of the Chromium and WebDriver teams.
%prep
%setup -q -n %{name}
%patch1 -p1
%patch62 -p1
%patch63 -p1
%patch64
%patch8 -p1
%patch13 -p1
%patch14 -p1
%patch17 -p1
%patch18 -p1
%patch20 -p1
%if 0%{?suse_version} == 1140
%patch25 -p1
%endif
%patch26 -p1
%patch28 -p1
%patch32 -p1
%patch66 -p1
%patch67 -p1
%patch68 -p1
echo "svn%{svn_revision}" > src/build/LASTCHANGE.in
# apply vendor patch after substitution
sed "s:RPM_VERSION:%{version}:" %{SOURCE20} | patch -p0
# Make sure that the requires legal files can be found
cp -a src/AUTHORS src/LICENSE .
%build
## create make files
PARSED_OPT_FLAGS=`echo \'%{optflags} -DUSE_SYSTEM_LIBEVENT -fPIC -fno-ipa-cp -fno-strict-aliasing \' | sed "s/ /',/g" | sed "s/',/', '/g"`
for i in src/build/common.gypi; do
sed -i "s|'-march=pentium4',||g" $i
%ifnarch x86_64
sed -i "s|'-mfpmath=sse',||g" $i
%endif
sed -i "s|'-O<(debug_optimize)',||g" $i
sed -i "s|'-m32',||g" $i
sed -i "s|'-fno-exceptions',|$PARSED_OPT_FLAGS|g" $i
sed -i "s|'-Werror'|'-Wno-error'|g" $i
done
# '
pushd src
./build/gyp_chromium -f make build/all.gyp \
-Dlinux_sandbox_path=%{_prefix}/lib/chrome_sandbox \
-Dlinux_sandbox_chrome_path=%{_libdir}/chromium/chromium \
-Duse_openssl=0 \
-Duse_system_ffmpeg=1 \
-Dbuild_ffmpegsumo=1 \
-Duse_system_zlib=1 \
-Duse_system_libpng=1 \
-Duse_system_bzip2=1 \
-Duse_system_libbz2=1 \
%if 0%{?suse_version} > 1210
-Duse_system_libjpeg=1 \
%else
-Duse_system_libjpeg=0 \
%endif
-Duse_system_libxml=1 \
-Duse_system_libxslt=1 \
-Duse_system_libevent=1 \
-Duse_system_vpx=1 \
-Dremove_webcore_debug_symbols=1 \
-Duse_system_v8=1 \
-Dproprietary_codecs=1 \
-Dlinux_fpic=1 \
%ifnarch x86_64
-Ddisable_sse2=1 \
%endif
%ifarch x86_64
-Dtarget_arch=x64 \
%endif
%if 0%{?suse_version} == 1140
%ifnarch x86_64
-Dlinux_use_gold_flags=0 \
-Dlinux_use_gold_binary=0 \
%else
-Dlinux_use_gold_flags=1 \
-Dlinux_use_gold_binary=1 \
%endif
%else
-Dlinux_use_gold_flags=1 \
-Dlinux_use_gold_binary=1 \
%endif
-Djavascript_engine=v8
make -r %{?_smp_mflags} chrome V=1 BUILDTYPE=Release
# Build the required SUID_SANDBOX helper
make -r %{?_smp_mflags} chrome_sandbox V=1 BUILDTYPE=Release
# Build the ChromeDriver test suite
make -r %{?_smp_mflags} chromedriver V=1 BUILDTYPE=Release
popd
%install
mkdir -p %{buildroot}%{_libdir}/chromium/
%ifarch x86_64
mkdir -p %{buildroot}%{_prefix}/lib/
%endif
install -m 755 %{SOURCE100} %{buildroot}%{_libdir}/chromium/chromium-generic
# x86_64 capable systems need this
sed -i "s|/usr/lib/chromium|%{_libdir}/chromium|g" %{buildroot}%{_libdir}/chromium/chromium-generic
%if 0%{?suse_version} == 1140
# Set the permissions file for distro version equal or lower than 11.4. (bnc#718016)
mkdir -p %{buildroot}%{_sysconfdir}/permissions.d
install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/permissions.d/chromium
%endif
#update the password-store settings for each alternative
sed "s|password-store=detect|password-store=kwallet|g" %{buildroot}%{_libdir}/chromium/chromium-generic > %{buildroot}%{_libdir}/chromium/chromium-kde
sed "s|password-store=detect|password-store=gnome|g" %{buildroot}%{_libdir}/chromium/chromium-generic > %{buildroot}%{_libdir}/chromium/chromium-gnome
mkdir -p %{buildroot}%{_mandir}/man1/
pushd src/out/Release
cp -a chrome_sandbox %{buildroot}%{_prefix}/lib/
cp -a chrome.pak ui_resources_standard.pak theme_resources_standard.pak locales xdg-mime %{buildroot}%{_libdir}/chromium/
cp -a chromedriver %{buildroot}%{_libdir}/chromium/
# Patch xdg-settings to use the chromium version of xdg-mime as that the system one is not KDE4 compatible
sed "s|xdg-mime|%{_libdir}/chromium/xdg-mime|g" xdg-settings > %{buildroot}%{_libdir}/chromium/xdg-settings
cp -a resources.pak %{buildroot}%{_libdir}/chromium/
cp -a chrome %{buildroot}%{_libdir}/chromium/chromium
cp -a chrome.1 %{buildroot}%{_mandir}/man1/chrome.1
cp -a chrome.1 %{buildroot}%{_mandir}/man1/chromium.1
%fdupes %{buildroot}%{_mandir}/man1/
# NaCl
cp -a nacl_helper %{buildroot}%{_libdir}/chromium/
cp -a nacl_helper_bootstrap %{buildroot}%{_libdir}/chromium/
cp -a nacl_irt_*.nexe %{buildroot}%{_libdir}/chromium/
cp -a libppGoogleNaClPluginChrome.so %{buildroot}%{_libdir}/chromium/
popd
mkdir -p %{buildroot}%{_datadir}/icons/
pushd %{buildroot}%{_datadir}/icons/
tar -xjf %{SOURCE104}
mv oxygen hicolor
popd
mkdir -p %{buildroot}%{_datadir}/applications/
desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE101}
mkdir -p %{buildroot}%{_datadir}/gnome-control-center/default-apps/
cp -a %{SOURCE102} %{buildroot}%{_datadir}/gnome-control-center/default-apps/
# link to browser plugin path. Plugin patch doesn't work. Why?
mkdir -p %{buildroot}%{_libdir}/browser-plugins
pushd %{buildroot}%{_libdir}/%{name}
ln -s %{_libdir}/browser-plugins plugins
# Install the master_preferences file
mkdir -p %{buildroot}%{_sysconfdir}/%{name}
install -m 0644 %{SOURCE30} %{buildroot}%{_sysconfdir}/%{name}
install -m 0644 %{SOURCE31} %{buildroot}%{_sysconfdir}/%{name}
%clean
rm -rf %{buildroot}
%pre
if [ -f %{_bindir}/chromium -a ! -L %{_bindir}/chromium ] ; then rm -f %{_bindir}/chromium
fi
# Add snipplets to update the GTK cache on package install.
%verifyscript suid-helper
%verify_permissions -e %{_prefix}/lib/chrome_sandbox
%post suid-helper
%set_permissions %{_prefix}/lib/chrome_sandbox
%post
%icon_theme_cache_post
%desktop_database_post
update-alternatives --install %{_bindir}/chromium chromium %{_libdir}/chromium/chromium-generic 10
%postun
%icon_theme_cache_postun
%desktop_database_postun
if [ $1 -eq 0 ]; then
update-alternatives --remove-all chromium
fi
%post desktop-kde
if [ ! -e /.buildenv ]; then
update-alternatives --install %{_bindir}/chromium chromium %{_libdir}/chromium/chromium-kde 15
update-alternatives --auto chromium
fi
%postun desktop-kde
if [ $1 -eq 0 -a ! -e /.buildenv ]; then
update-alternatives --remove chromium %{_libdir}/chromium/chromium-kde
update-alternatives --auto chromium
fi
%post desktop-gnome
if [ ! -e /.buildenv ]; then
update-alternatives --install %{_bindir}/chromium chromium %{_libdir}/chromium/chromium-gnome 15
update-alternatives --auto chromium
fi
%postun desktop-gnome
if [ $1 -eq 0 -a ! -e /.buildenv ]; then
update-alternatives --remove chromium %{_libdir}/chromium/chromium-gnome
update-alternatives --auto chromium
fi
# Files!
%files
%defattr(-,root,root,-)
%doc AUTHORS LICENSE
%config %{_sysconfdir}/%{name}
%dir %{_datadir}/gnome-control-center
%dir %{_datadir}/gnome-control-center/default-apps
%dir %{_libdir}/chromium/
%{_libdir}/chromium/chromium
%{_libdir}/chromium/chromium-generic
%{_libdir}/chromium/plugins/
%{_libdir}/chromium/locales/
%{_libdir}/chromium/nacl_*
%{_libdir}/chromium/libppGoogleNaClPluginChrome.so
%attr(755,root,root) %{_libdir}/chromium/xdg-settings
%attr(755,root,root) %{_libdir}/chromium/xdg-mime
%{_libdir}/chromium/*.pak
%{_mandir}/man1/chrom*
%{_datadir}/applications/*.desktop
%{_datadir}/gnome-control-center/default-apps/chromium-browser.xml
%{_datadir}/icons/hicolor/
%files desktop-kde
%attr(755, root, root) %{_libdir}/chromium/chromium-kde
%files desktop-gnome
%attr(755, root, root) %{_libdir}/chromium/chromium-gnome
%files suid-helper
%defattr(-,root,root,-)
%if 0%{?suse_version} == 1140
%config %{_sysconfdir}/permissions.d/chromium
%endif
%verify(not mode) %{_prefix}/lib/chrome_sandbox
%files -n chromedriver
%defattr(-,root,root,-)
%{_libdir}/chromium/chromedriver
%changelog
++++++ chrome-wrapper ++++++
#!/bin/sh
# Copyright (c) 2010 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Running Chromium via this script makes it possible to set Chromium as the
# default browser directly out of a compile, without needing to package it.
DESKTOP="chromium-devel"
TITLE="Chromium"
# Checks a file to see if it's a 32 or 64-bit.
check_executable() {
out=$(file $(readlink -f $1) 2> /dev/null)
echo $out | grep -qs "ELF 32-bit LSB"
if [ $? = 0 ]; then
echo 32
return
fi
echo $out | grep -qs "ELF 64-bit LSB"
if [ $? = 0 ]; then
echo 64
return
fi
echo neither
}
# Let the wrapped binary know that it has been run through the wrapper.
export CHROME_WRAPPER="`readlink -f "$0"`"
HERE="`dirname "$CHROME_WRAPPER"`"
# We include some xdg utilities next to the binary, and we want to prefer them
# over the system versions because we know they work correctly for us. But if
# our path already exists, we leave it where it is, to allow overriding this.
# (Once distributions have picked up the updated xdg-mime, we can go back to
# appending $HERE rather than prepending.)
case ":$PATH:" in
*:$HERE:*)
# $PATH already contains $HERE, leave it where it is.
;;
*)
# Prepend $HERE to $PATH.
export PATH="$HERE:$PATH"
;;
esac
export LD_LIBRARY_PATH="$HERE:$HERE/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
exec "$HERE/chrome" "$@"
++++++ chromium-6.0.406.0-system-gyp-v8.patch ++++++
Index: chromium/src/build/all.gyp
===================================================================
--- chromium.orig/src/build/all.gyp
+++ chromium/src/build/all.gyp
@@ -53,7 +53,7 @@
'../third_party/WebKit/Source/WebKit/chromium/All.gyp:*',
'../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:generate_devtools_zip',
'../third_party/zlib/zlib.gyp:*',
- '../v8/tools/gyp/v8.gyp:*',
+ 'linux/system.gyp:v8',
'../webkit/support/webkit_support.gyp:*',
'../webkit/webkit.gyp:*',
'temp_gyp/googleurl.gyp:*',
Index: chromium/src/build/linux/system.gyp
===================================================================
--- chromium.orig/src/build/linux/system.gyp
+++ chromium/src/build/linux/system.gyp
@@ -384,6 +384,19 @@
],
},
{
+ 'target_name': 'v8',
+ 'type': 'none',
+ 'conditions': [
+ ['_toolset=="target"', {
+ 'link_settings': {
+ 'libraries': [
+ '-lv8',
+ '-lvpx',
+ ],
+ },
+ }]]
+ },
+ {
'target_name': 'gnome_keyring',
'type': 'none',
'conditions': [
Index: chromium/src/net/net.gyp
===================================================================
--- chromium.orig/src/net/net.gyp
+++ chromium/src/net/net.gyp
@@ -35,7 +35,7 @@
'../third_party/icu/icu.gyp:icui18n',
'../third_party/icu/icu.gyp:icuuc',
'../third_party/zlib/zlib.gyp:zlib',
- '../v8/tools/gyp/v8.gyp:v8',
+ '../build/linux/system.gyp:v8',
'net_resources',
],
'sources': [
Index: chromium/src/third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp
===================================================================
--- chromium.orig/src/third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp
+++ chromium/src/third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp
@@ -1114,7 +1114,7 @@
'<(chromium_src_dir)/third_party/npapi/npapi.gyp:npapi',
'<(chromium_src_dir)/third_party/qcms/qcms.gyp:qcms',
'<(chromium_src_dir)/third_party/sqlite/sqlite.gyp:sqlite',
- '<(chromium_src_dir)/v8/tools/gyp/v8.gyp:v8',
+ '<(chromium_src_dir)/build/linux/system.gyp:v8',
'<(libjpeg_gyp_path):libjpeg',
],
'include_dirs': [
@@ -1245,7 +1245,7 @@
'<(chromium_src_dir)/third_party/sqlite/sqlite.gyp:sqlite',
'<(chromium_src_dir)/third_party/angle/src/build_angle.gyp:translator_glsl',
'<(chromium_src_dir)/third_party/zlib/zlib.gyp:zlib',
- '<(chromium_src_dir)/v8/tools/gyp/v8.gyp:v8',
+ '<(chromium_src_dir)/build/linux/system.gyp:v8',
'<(libjpeg_gyp_path):libjpeg',
],
'export_dependent_settings': [
@@ -1265,7 +1265,7 @@
'<(chromium_src_dir)/third_party/sqlite/sqlite.gyp:sqlite',
'<(chromium_src_dir)/third_party/angle/src/build_angle.gyp:translator_glsl',
'<(chromium_src_dir)/third_party/zlib/zlib.gyp:zlib',
- '<(chromium_src_dir)/v8/tools/gyp/v8.gyp:v8',
+ '<(chromium_src_dir)/build/linux/system.gyp:v8',
'<(libjpeg_gyp_path):libjpeg',
],
# This is needed for mac because of webkit_system_interface. It'd be nice
@@ -2015,7 +2015,7 @@
'<(chromium_src_dir)/skia/skia.gyp:skia',
'<(chromium_src_dir)/third_party/npapi/npapi.gyp:npapi',
'<(chromium_src_dir)/third_party/qcms/qcms.gyp:qcms',
- '<(chromium_src_dir)/v8/tools/gyp/v8.gyp:v8',
+ '<(chromium_src_dir)/build/linux/system.gyp:v8',
],
'export_dependent_settings': [
'webcore_bindings',
@@ -2024,7 +2024,7 @@
'<(chromium_src_dir)/skia/skia.gyp:skia',
'<(chromium_src_dir)/third_party/npapi/npapi.gyp:npapi',
'<(chromium_src_dir)/third_party/qcms/qcms.gyp:qcms',
- '<(chromium_src_dir)/v8/tools/gyp/v8.gyp:v8',
+ '<(chromium_src_dir)/build/linux/system.gyp:v8',
],
'direct_dependent_settings': {
'include_dirs': [
++++++ chromium-6.0.425.0-ffmpeg-no-pkgconfig.patch ++++++
diff -up chromium-6.0.425.0-20100603svn48830/third_party/ffmpeg/ffmpeg.gyp.BAD chromium-6.0.425.0-20100603svn48830/third_party/ffmpeg/ffmpeg.gyp
--- chromium-6.0.425.0-20100603svn48830/src/third_party/ffmpeg/ffmpeg.gyp.BAD 2010-06-03 13:48:45.196313786 -0400
+++ chromium-6.0.425.0-20100603svn48830/src/third_party/ffmpeg/ffmpeg.gyp 2010-06-03 13:50:10.580325776 -0400
@@ -501,12 +501,14 @@
# Add pkg-config result to include path when use_system_ffmpeg != 0
['use_system_ffmpeg != 0', {
- 'cflags': [
- '
using std::string;
using speech::AudioChunk;
Index: chromium/src/content/content_browser.gypi
===================================================================
--- chromium.orig/src/content/content_browser.gypi
+++ chromium/src/content/content_browser.gypi
@@ -873,7 +873,7 @@
}, { # OS!="android"
'dependencies': [
'../third_party/flac/flac.gyp:libflac',
- '../third_party/speex/speex.gyp:libspeex',
+ '../build/linux/system.gyp:speex',
],
}],
['OS=="mac"', {
++++++ chromium-7.0.542.0-system-libvpx.patch ++++++
diff -up chromium-7.0.542.0/build/linux/system.gyp.system-libvpx chromium-7.0.542.0/build/linux/system.gyp
--- chromium-7.0.542.0/src/build/linux/system.gyp.system-libvpx 2010-10-06 14:01:19.638507000 -0400
+++ chromium-7.0.542.0/src/build/linux/system.gyp 2010-10-06 14:01:19.650507000 -0400
@@ -430,6 +430,26 @@
}]]
},
{
+ 'target_name': 'libvpx',
+ 'type': 'none',
+ 'conditions': [
+ ['_toolset=="target"', {
+ 'direct_dependent_settings': {
+ 'cflags': [
+ '-I/usr/include/vpx',
+ ],
+ },
+ 'link_settings': {
+ 'ldflags': [
+ '',
+ ],
+ 'libraries': [
+ '-lvpx',
+ ],
+ },
+ }]]
+ },
+ {
'target_name': 'gnome_keyring',
'type': 'none',
'conditions': [
diff -up chromium-7.0.542.0/third_party/ffmpeg/ffmpeg.gyp.system-libvpx chromium-7.0.542.0/third_party/ffmpeg/ffmpeg.gyp
--- chromium-7.0.542.0/src/third_party/ffmpeg/ffmpeg.gyp.system-libvpx 2010-10-06 14:04:09.730507291 -0400
+++ chromium-7.0.542.0/src/third_party/ffmpeg/ffmpeg.gyp 2010-10-06 14:05:14.341510863 -0400
@@ -812,6 +812,9 @@
'<(output_root)',
'../..', # The chromium 'src' directory.
],
+ 'dependencies': [
+ '../../build/linux/system.gyp:libvpx',
+ ],
'direct_dependent_settings': {
'defines': [
'__STDC_CONSTANT_MACROS', # FFmpeg uses INT64_C.
++++++ chromium-browser.desktop ++++++
[Desktop Entry]
Version=1.0
Name=Chromium Web Browser
Comment=Browse the World Wide Web
GenericName=Web Browser
Exec=chromium %u
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=chromium-browser.png
Categories=Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;
StartupWMClass=Chromium
++++++ chromium-browser.sh ++++++
#!/bin/sh
# Chromium launcher
# Authors:
# Fabien Tassin