From owner-freebsd-chromium@FreeBSD.ORG Tue Mar 29 10:51:14 2011 Return-Path: Delivered-To: freebsd-chromium@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 071AA106566B; Tue, 29 Mar 2011 10:51:14 +0000 (UTC) (envelope-from nexther0@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id B07548FC17; Tue, 29 Mar 2011 10:51:13 +0000 (UTC) Received: by iwn33 with SMTP id 33so42870iwn.13 for ; Tue, 29 Mar 2011 03:51:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=6Dxdc62+475w9SgqThujGW+TdR1CA9a1bc9809+Qo58=; b=NylcwqY+5FdXdojQIJs4eXuZtyrnXpu0V6OecYPeI9f45RjjWB+qoFz/HiCIClsvOj nZq7gOi+nPbRtUW1yMrsy5/SRptMWH8Ws5Rc6gdREQicjYKwjdZ67Jur+/MLaEiUxW9h dT0OXIeuZZJozFKrPnsqoHN37J8RBI3jJyf0I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Z76VfbCXfmquUOb/DnA33jKVZajQHAT0f3IVqmEop3yuV0drfSZ+dqM1lITvBwUVox irzi4WuKh8E1uIAjTszahRzMNlKAwyBOL+Y5Tw4PW8fKSAZGJAT0z6IKaFSiX30FH94B p4OVzIPJuPkMl+JXAXMs95CGYf0pYyyb1ec4E= MIME-Version: 1.0 Received: by 10.43.55.131 with SMTP id vy3mr7795335icb.521.1301395873088; Tue, 29 Mar 2011 03:51:13 -0700 (PDT) Received: by 10.43.44.69 with HTTP; Tue, 29 Mar 2011 03:51:13 -0700 (PDT) In-Reply-To: <4D917FDB.2090808@freebsd.org> References: <4D917FDB.2090808@freebsd.org> Date: Tue, 29 Mar 2011 13:51:13 +0300 Message-ID: From: "Y. A." To: Rene Ladan Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-chromium@freebsd.org Subject: Re: Chromium without system ffmpeg dependency (Was: fixes for Makefile pkg-plist and build-in ffmpeg) X-BeenThere: freebsd-chromium@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Chromium issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 10:51:14 -0000 thanks. with proper config.h for ffmpeg also safe to remove files/patch-third_party__ffmpeg__patched-ffmpeg-mt__libavutil_mem.c 2011/3/29 Rene Ladan > Committed as r127, thanks! > > Op 28-03-2011 15:10, Y. A. schreef: > > found solution to build on FreeBSD 8 with SSE3 > > > > add to Makefile after '.include > > > .if ${OSVERSION} < 900033 > > BUILD_DEPENDS+=3D ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils > > CONFIGURE_ENV+=3D COMPILER_PATH=3D${LOCALBASE}/bin > > MAKE_ENV+=3D COMPILER_PATH=3D${LOCALBASE}/bin > > .endif > > > > > > > > 2011/3/28 Y. A. > > > > > hi! > > > > Think I found proper way to build chromium without system ffmpeg > > dependency: > > > > 1. we don't need patches: > > files/patch-media__media.gyp > > files/patch-media__ffmpeg__ffmpeg_common.h > > > > > files/patch-third_party__ffmpeg__patched-ffmpeg-mt__libavutil_mem.c.txt > > 2. replace content files/patch-third_party__ffmpeg__ffmpeg.gyp with= : > > --- begin --- > > --- third_party/ffmpeg/ffmpeg.gyp.orig 2011-03-23 > > 10:02:47.000000000 +0200 > > +++ third_party/ffmpeg/ffmpeg.gyp 2011-03-28 > > 11:33:03.000000000 +0300 > > @@ -56,7 +56,7 @@ > > ['target_arch=3D=3D"arm"', { > > 'ffmpeg_asm_lib': 0, > > }], > > - ['OS=3D=3D"mac" or OS=3D=3D"win"', { > > + ['OS=3D=3D"mac" or OS=3D=3D"win" or OS=3D=3D"freebsd"', { > > 'os_config%': '<(OS)', > > }, { # all other Unix OS's use the linux config > > 'os_config%': 'linux', > > @@ -82,7 +82,7 @@ > > 'ffmpeg_variant%': '<(target_arch)', > > > > 'use_system_ffmpeg%': 0, > > - 'use_system_yasm%': 0, > > + 'use_system_yasm%': 1, > > 'build_ffmpegsumo%': 1, > > 'use_system_vpx%': 0, > > --- end --- > > 3. change Makefile: remove ffmpeg from LIB_DEPENDS=3D > > 4. optional (for FreeBSD 8.2 but CHROMIUM still cannot render pages= ): > > change '+#define HAVE_SSSE3 1' to '+#define HAVE_SSSE3 0' in: > > > > > files/patch-third_party__ffmpeg__config__Chrome__freebsd__ia32__config.h > > > > > files/patch-third_party__ffmpeg__config__Chrome__freebsd__x64__config.h > > > > > files/patch-third_party__ffmpeg__config__Chromium__freebsd__ia32__config.= h > > > > > files/patch-third_party__ffmpeg__config__Chromium__freebsd__x64__config.h > > > > > > > > build chromium and enjoy :) > > > > 2011/3/28 Y. A. > > > > > hi! > > see FreeBSD Porter's > > Handbook > http://www.freebsd.org/doc/en/books/porters-handbook/makefile-options.htm= l#AEN2560 > > < > http://www.freebsd.org/doc/en/books/porters-handbook/makefile-options.htm= l#AEN2560 > >we > > already include bsd.port.options.mk > > and do not need deprecated bsd.port.pre.mk < > http://bsd.port.pre.mk>. > > > > > > 2011/3/27 Rene Ladan >> > > > > Op 27-03-2011 13:54, Rene Ladan schreef: > > [..] > > > My 8.2-STABLE i386 tinderbox complains about unrecognized > > instructions > > > (pabsw, pmulhrsw, palignr) during the build and decides t= o > > give up > > > prematurely. This is with: > > > > > [..] > > > Full log at > > > > > > http://rene-ladan.nl:8080/tb/errors/8-FreeBSD/chromium-10.0.648.204.log > > > > > > Maybe this is binutils related (that build uses 2.15 sinc= e > > there is no > > > dependency on binutils from ports). > > > > > A (partial) patch for this is attached. I guess some gyp > > files need to > > be updated too? > > > > Regards, > > Ren=E9 > > -- > > http://www.rene-ladan.nl:8080/ > > > > GPG fingerprint =3D ADBC ECCD EB5F A6B4 549F 600D 8C9E 647= A > > E564 2BFC > > (subkeys.pgp.net ) > > > > > > > > > > -- > http://www.rene-ladan.nl:8080/ > > GPG fingerprint =3D ADBC ECCD EB5F A6B4 549F 600D 8C9E 647A E564 2BFC > (subkeys.pgp.net) >