Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 321159 | Differences between
and this patch

Collapse All | Expand All

(-)chromium-9999.ebuild.orig (-6 / +8 lines)
Lines 100-109 Link Here
100
	append-flags -D__STDC_CONSTANT_MACROS
100
	append-flags -D__STDC_CONSTANT_MACROS
101
101
102
	# Workaround for bug #320145. TODO(phajdan.jr): rather use a gyp define.
102
	# Workaround for bug #320145. TODO(phajdan.jr): rather use a gyp define.
103
	append-flags -DUSE_SSE=0
103
	# append-flags -DUSE_SSE=0
104
104
105
	# Configuration options (system libraries and disable forced SSE2)
105
	# Configuration options (system libraries and disable forced SSE2)
106
	local myconf="-Ddisable_sse2=1 -Duse_system_zlib=1 -Duse_system_bzip2=1 -Duse_system_ffmpeg=1 -Dproprietary_codecs=1 -Duse_system_libevent=1 -Duse_system_libjpeg=1 -Duse_system_libpng=1 -Duse_system_libxml=1 -Duse_system_libxslt=1"
106
	local myconf="-Duse_system_zlib=1 -Duse_system_bzip2=1 -Dproprietary_codecs=1 -Duse_system_libevent=1 -Duse_system_libjpeg=1 -Duse_system_libpng=1 -Duse_system_libxml=1 -Duse_system_libxslt=1"
107
	# -Duse_system_sqlite=1 : http://crbug.com/22208
107
	# -Duse_system_sqlite=1 : http://crbug.com/22208
108
	# Others still bundled: icu (not possible?), hunspell (changes required for sandbox support)
108
	# Others still bundled: icu (not possible?), hunspell (changes required for sandbox support)
109
109
Lines 112-118 Link Here
112
112
113
	# Disable the V8 snapshot. It breaks the build on hardened (bug #301880),
113
	# Disable the V8 snapshot. It breaks the build on hardened (bug #301880),
114
	# and the performance gain isn't worth it.
114
	# and the performance gain isn't worth it.
115
	myconf="${myconf} -Dv8_use_snapshot=0"
115
	# myconf="${myconf} -Dv8_use_snapshot=0"
116
116
117
	# Disable tcmalloc memory allocator. It causes problems,
117
	# Disable tcmalloc memory allocator. It causes problems,
118
	# for example bug #320419.
118
	# for example bug #320419.
Lines 164-169 Link Here
164
	pax-mark m out/Release/chrome
164
	pax-mark m out/Release/chrome
165
	doexe out/Release/chrome
165
	doexe out/Release/chrome
166
	doexe out/Release/chrome_sandbox
166
	doexe out/Release/chrome_sandbox
167
	doexe out/Release/libffmpegsumo.so
168
	
167
	fperms 4755 ${CHROMIUM_HOME}/chrome_sandbox
169
	fperms 4755 ${CHROMIUM_HOME}/chrome_sandbox
168
	doexe out/Release/xdg-settings
170
	doexe out/Release/xdg-settings
169
	doexe "${FILESDIR}"/chromium-launcher.sh
171
	doexe "${FILESDIR}"/chromium-launcher.sh
Lines 180-188 Link Here
180
182
181
	# Chromium looks for these in its folder
183
	# Chromium looks for these in its folder
182
	# See media_posix.cc and base_paths_linux.cc
184
	# See media_posix.cc and base_paths_linux.cc
183
	dosym /usr/$(get_libdir)/libavcodec.so.52 ${CHROMIUM_HOME}
185
	# dosym /usr/$(get_libdir)/libavcodec.so.52 ${CHROMIUM_HOME}
184
	dosym /usr/$(get_libdir)/libavformat.so.52 ${CHROMIUM_HOME}
186
	# dosym /usr/$(get_libdir)/libavformat.so.52 ${CHROMIUM_HOME}
185
	dosym /usr/$(get_libdir)/libavutil.so.50 ${CHROMIUM_HOME}
187
	# dosym /usr/$(get_libdir)/libavutil.so.50 ${CHROMIUM_HOME}
186
188
187
	# Use system plugins by default.
189
	# Use system plugins by default.
188
	dosym /usr/$(get_libdir)/nsbrowser/plugins ${CHROMIUM_HOME}/plugins
190
	dosym /usr/$(get_libdir)/nsbrowser/plugins ${CHROMIUM_HOME}/plugins

Return to bug 321159