From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NsZ2y-0002pb-2n for garchives@archives.gentoo.org; Fri, 19 Mar 2010 10:03:25 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A05B2E0D16; Fri, 19 Mar 2010 10:03:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 65A27E0D16 for ; Fri, 19 Mar 2010 10:03:15 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 10F1C1B4141 for ; Fri, 19 Mar 2010 10:03:15 +0000 (UTC) Received: from phajdan.jr by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1NsZ2w-0003EB-CO for gentoo-commits@lists.gentoo.org; Fri, 19 Mar 2010 10:03:14 +0000 From: "PaweA Hajdan (phajdan.jr)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, phajdan.jr@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in www-client/chromium: ChangeLog chromium-5.0.356.0.ebuild chromium-5.0.307.9.ebuild chromium-5.0.342.1.ebuild chromium-5.0.342.3.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog chromium-5.0.356.0.ebuild chromium-5.0.307.9.ebuild chromium-5.0.342.1.ebuild chromium-5.0.342.3.ebuild X-VCS-Directories: www-client/chromium X-VCS-Committer: phajdan.jr X-VCS-Committer-Name: PaweA Hajdan Content-Type: text/plain; charset=utf8 Message-Id: Sender: PaweA Hajdan Date: Fri, 19 Mar 2010 10:03:14 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 1efd3574-e6fb-4912-bcab-e32870192dad X-Archives-Hash: 107183300c1464af2ccc96cdae16519e phajdan.jr 10/03/19 10:03:14 Modified: ChangeLog Added: chromium-5.0.356.0.ebuild Removed: chromium-5.0.307.9.ebuild chromium-5.0.342.1.ebui= ld chromium-5.0.342.3.ebuild Log: Version bump for dev channel release. Remove old. (Portage version: 2.1.7.17/cvs/Linux i686) Revision Changes Path 1.68 www-client/chromium/ChangeLog file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromiu= m/ChangeLog?rev=3D1.68&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromiu= m/ChangeLog?rev=3D1.68&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromiu= m/ChangeLog?r1=3D1.67&r2=3D1.68 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v retrieving revision 1.67 retrieving revision 1.68 diff -u -r1.67 -r1.68 --- ChangeLog 17 Mar 2010 09:30:05 -0000 1.67 +++ ChangeLog 19 Mar 2010 10:03:13 -0000 1.68 @@ -1,6 +1,13 @@ # ChangeLog for www-client/chromium # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.67 = 2010/03/17 09:30:05 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.68 = 2010/03/19 10:03:13 phajdan.jr Exp $ + +*chromium-5.0.356.0 (19 Mar 2010) + + 19 Mar 2010; Pawel Hajdan jr + -chromium-5.0.307.9.ebuild, -chromium-5.0.342.1.ebuild, + -chromium-5.0.342.3.ebuild, +chromium-5.0.356.0.ebuild: + Version bump for dev channel release. Remove old. =20 *chromium-5.0.342.5 (17 Mar 2010) =20 1.1 www-client/chromium/chromium-5.0.356.0.ebuild file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromiu= m/chromium-5.0.356.0.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/chromiu= m/chromium-5.0.356.0.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: chromium-5.0.356.0.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-5.0.356.0= .ebuild,v 1.1 2010/03/19 10:03:13 phajdan.jr Exp $ EAPI=3D"2" inherit eutils flag-o-matic multilib portability toolchain-funcs DESCRIPTION=3D"Open-source version of Google Chrome web browser" HOMEPAGE=3D"http://chromium.org/" SRC_URI=3D"http://build.chromium.org/buildbot/official/${P}.tar.bz2" LICENSE=3D"BSD" SLOT=3D"0" KEYWORDS=3D"~amd64 ~arm ~x86" IUSE=3D"bindist +ffmpeg +plugins-symlink" RDEPEND=3D"app-arch/bzip2 >=3Ddev-libs/libevent-1.4.13 dev-libs/libxml2 dev-libs/libxslt >=3Ddev-libs/nss-3.12.3 >=3Dgnome-base/gconf-2.24.0 >=3Dmedia-libs/alsa-lib-1.0.19 media-libs/jpeg:0 media-libs/libpng ffmpeg? ( >=3Dmedia-video/ffmpeg-0.5_p21602 ) sys-libs/zlib >=3Dx11-libs/gtk+-2.14.7 x11-libs/libXScrnSaver" # dev-db/sqlite:3 DEPEND=3D"${RDEPEND} >=3Ddev-util/gperf-3.0.3 >=3Ddev-util/pkgconfig-0.23 sys-devel/flex" RDEPEND+=3D" || ( x11-themes/gnome-icon-theme x11-themes/tango-icon-theme x11-themes/xfce4-icon-theme ) x11-misc/xdg-utils" # Incompatible system plugins: # www-plugins/gecko-mediaplayer, bug #309231. RDEPEND+=3D" plugins-symlink? ( !www-plugins/gecko-mediaplayer )" pkg_setup() { if [[ "${ROOT}" =3D=3D "/" ]]; then # Prevent user problems like bug 299777. if ! grep -q /dev/shm <<< $(get_mounts); then eerror "You don't have tmpfs mounted at /dev/shm." eerror "${PN} isn't going to work in that configuration." eerror "Please uncomment the /dev/shm entry in /etc/fstab," eerror "run 'mount /dev/shm' and try again." die "/dev/shm is not mounted" fi if [ `stat -c %a /dev/shm` -ne 1777 ]; then eerror "/dev/shm does not have correct permissions." eerror "${PN} isn't going to work in that configuration." eerror "Please run chmod 1777 /dev/shm and try again." die "/dev/shm has incorrect permissions" fi fi elog "${PN} might crash occasionally. To get more useful backtraces" elog "and submit better bug reports, please read" elog "http://www.gentoo.org/proj/en/qa/backtraces.xml" if ! use bindist; then einfo elog "You may not redistribute this build to any users on your network" elog "or the internet." elog "You can disable it by emerging ${PN} _with_ the bindist USE-flag" fi } src_prepare() { # Gentoo uses .kde4, not .kde # TODO: this does not work with kdeprefix, fixing http:/crbug.com/29927 # would be better sed -e 's/\.kde/.kde4/' -i net/proxy/proxy_config_service_linux.cc \ || die "kde proxy sed failed" # Changing this in ~/include.gypi does not work sed -i "s/'-Werror'/''/" build/common.gypi || die "Werror sed failed" # Prevent automatic -march=3Dpentium4 -msse2 enabling on x86, http://crb= ug.com/9007 epatch "${FILESDIR}"/${PN}-drop_sse2.patch if ! use bindist; then # Allow use of MP3/MPEG-4 audio/video tags with our system ffmpeg epatch "${FILESDIR}"/${PN}-20100122-ubuntu-html5-video-mimetypes.patch fi # Prevent the make build from filling entire disk space on some systems, # bug 297273. epatch "${FILESDIR}"/${PN}-fix-make-build.patch # Disable prefixing to allow linking against system zlib sed -e '/^#include "mozzconf.h"$/d' \ -i third_party/zlib/zconf.h \ || die "zlib sed failed" } src_configure() { export CHROMIUM_HOME=3D/usr/$(get_libdir)/chromium-browser # Fails to build on arm if we don't do this use arm && append-flags -fno-tree-sink # CFLAGS/LDFLAGS mkdir -p "${S}"/.gyp cat << EOF > "${S}"/.gyp/include.gypi { 'target_defaults': { 'cflags': [ '${CFLAGS// /','}' ], 'ldflags': [ '${LDFLAGS// /','}' ], }, } EOF export HOME=3D"${S}" # Configuration options (system libraries) local myconf=3D"-Duse_system_zlib=3D1 -Duse_system_bzip2=3D1 -Duse_syste= m_libevent=3D1 -Duse_system_libjpeg=3D1 -Duse_system_libpng=3D1 -Duse_sys= tem_libxml=3D1 -Duse_system_libxslt=3D1" # -Duse_system_sqlite=3D1 : http://crbug.com/22208 # Others still bundled: icu (not possible?), hunspell (changes required = for sandbox support) # Sandbox paths myconf=3D"${myconf} -Dlinux_sandbox_path=3D${CHROMIUM_HOME}/chrome_sandb= ox -Dlinux_sandbox_chrome_path=3D${CHROMIUM_HOME}/chrome" if use amd64 ; then myconf=3D"${myconf} -Dtarget_arch=3Dx64" fi if use x86 ; then myconf=3D"${myconf} -Dtarget_arch=3Dia32" fi if use arm; then myconf=3D"${myconf} -Dtarget_arch=3Darm -Ddisable_nacl=3D1 -Dlinux_use_= tcmalloc=3D0" fi if [[ "$(gcc-major-version)$(gcc-minor-version)" =3D=3D "44" ]]; then myconf=3D"${myconf} -Dno_strict_aliasing=3D1 -Dgcc_version=3D44" fi if use ffmpeg; then myconf=3D"${myconf} -Duse_system_ffmpeg=3D1" fi build/gyp_chromium -f make build/all.gyp ${myconf} --depth=3D. || die "g= yp failed" } src_compile() { emake -r V=3D1 chrome chrome_sandbox BUILDTYPE=3DRelease \ rootdir=3D"${S}" \ CC=3D$(tc-getCC) \ CXX=3D$(tc-getCXX) \ AR=3D$(tc-getAR) \ RANLIB=3D$(tc-getRANLIB) \ || die "compilation failed" } src_install() { # Chromium does not have "install" target in the build system. export CHROMIUM_HOME=3D/usr/$(get_libdir)/chromium-browser dodir ${CHROMIUM_HOME} exeinto ${CHROMIUM_HOME} doexe out/Release/chrome doexe out/Release/chrome_sandbox fperms 4755 ${CHROMIUM_HOME}/chrome_sandbox doexe out/Release/xdg-settings doexe "${FILESDIR}"/chromium-launcher.sh insinto ${CHROMIUM_HOME} doins out/Release/chrome.pak doins -r out/Release/locales doins -r out/Release/resources # chrome.1 is for chromium --help newman out/Release/chrome.1 chrome.1 newman out/Release/chrome.1 chromium.1 if use ffmpeg; then # Chromium looks for these in its folder # See media_posix.cc and base_paths_linux.cc dosym /usr/$(get_libdir)/libavcodec.so.52 ${CHROMIUM_HOME} dosym /usr/$(get_libdir)/libavformat.so.52 ${CHROMIUM_HOME} dosym /usr/$(get_libdir)/libavutil.so.50 ${CHROMIUM_HOME} fi # Plugins symlink, optional wrt bug #301911 if use plugins-symlink; then dosym /usr/$(get_libdir)/nsbrowser/plugins ${CHROMIUM_HOME}/plugins fi # Icon and desktop entry newicon out/Release/product_logo_48.png ${PN}-browser.png dosym ${CHROMIUM_HOME}/chromium-launcher.sh /usr/bin/chromium make_desktop_entry chromium "Chromium" ${PN}-browser "Network;WebBrowser= " sed -e "/^Exec/s/$/ %U/" -i "${D}"/usr/share/applications/*.desktop \ || die "desktop file sed failed" # Gnome default application entry dodir /usr/share/gnome-control-center/default-apps insinto /usr/share/gnome-control-center/default-apps doins "${FILESDIR}"/chromium.xml }