bug-gnuzilla
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU IceCat 4.0 RC2


From: Cyrille
Subject: Re: GNU IceCat 4.0 RC2
Date: Mon, 4 Apr 2011 12:12:58 +0200

Hi, here 's the option of mozconfig 


cat /home/makerpm/rpmbuild/SOURCES/icecat-mozconfig
. $topsrcdir/browser/config/mozconfig
mk_add_options address@hidden@/icecat-constr


ac_add_options --prefix="$PREFIX"
ac_add_options --libdir="$LIBDIR"
ac_add_options --with-system-nspr
ac_add_options --with-system-nss
ac_add_options --with-system-jpeg
ac_add_options --with-system-zlib
#ac_add_options --with-system-png
ac_add_options --with-pthreads
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --enable-optimize
ac_add_options --disable-installer
ac_add_options --enable-xinerama
ac_add_options --enable-default-toolkit=cairo-gtk2
ac_add_options --disable-xprint
ac_add_options --disable-strip
#ac_add_options --enable-system-cairo
ac_add_options --enable-pango
ac_add_options --enable-svg
ac_add_options --enable-canvas
ac_add_options --enable-startup-notification
ac_add_options --enable-libxul
ac_add_options --disable-crashreporter
#ac_add_options --enable-safe-browsing
ac_add_options --enable-libnotify
ac_add_options --disable-necko-wifi
ac_add_options --disable-cpp-exceptions
ac_add_options --disable-updater
ac_add_options --enable-url-classifier
ac_add_options --enable-gio
ac_add_options --disable-gnomevfs
ac_add_options --disable-shared
ac_add_options --disable-tests



And in the .spec
===========================================
#*Add configure options
echo "ac_add_options --prefix=%{_prefix}" >> .mozconfig
echo "ac_add_options --libdir=%{_libdir}" >> .mozconfig
echo "ac_add_options --disable-necko-wifi" >> .mozconfig
echo "ac_add_options --includedir=%{_includedir}" >> .mozconfig



%build

MOZ_OPT_FLAGS=$(echo $RPM_OPT_FLAGS | \
                     %{__sed} -e 's/-Wall//' -e 's/-fexceptions//g')
export CFLAGS=$MOZ_OPT_FLAGS
export CXXFLAGS="$MOZ_OPT_FLAGS -fpermissive"


export PREFIX='%{_prefix}'
export LIBDIR='%{_libdir}'
MOZ_SMP_FLAGS=-j1
MOZ_APP_DIR=%{icecatappdir}

# On x86 architectures, Mozilla can build up to 4 jobs at once in parallel,
# however builds tend to fail on other arches when building in parallel.
%ifarch %{ix86} x86_64
[ -z "$RPM_BUILD_NCPUS" ] && \
     RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"
[ "$RPM_BUILD_NCPUS" -ge 2 ] && MOZ_SMP_FLAGS=-j2
[ "$RPM_BUILD_NCPUS" -ge 4 ] && MOZ_SMP_FLAGS=-j4
%endif



export LDFLAGS="-Wl,-rpath,${MOZ_APP_DIR}"
make -f client.mk build STRIP="/bin/true" MOZ_MAKE_FLAGS="$MOZ_SMP_FLAGS"

======================================================



Thanx !


On Mon, 04 Apr 2011 11:49:43 +0200
Giuseppe Scrivano <address@hidden> wrote:
>browser/branding/nightly should not be used.  Have you modified
>something in .mozconfig?
>
>Giuseppe
> Cyrille <address@hidden> writes:
> 
> > hi
> > trying to compile icecat 4
> >
> > I've got this error :
> > ==========================
> > make[4]: *** No rule to make target
> > /home/makerpm/rpmbuild/BUILD/icecat-4.0-rc2/browser/branding/nightly/Makefile.in',
> > needed by `browser/branding/nightly/Makefile'.  Stop.
> 
> browser/branding/nightly should not be used.  Have you modified
> something in .mozconfig?
> 
> Giuseppe


----

[ address@hidden | http://cbiot.fr ]


"Ils ne me comprennent point,
je ne suis pas la bouche qui convient à ces oreilles"
 - - - Ainsi parlait Zarathoustra - - -
 - - - - - - - - - - -  NIETZSCHE - - -


BLAG : http://www.blagblagblag.org/
Personal BLAG repo. : http://cbiot.fr/blaghttp://cbiot.fr/blag.f14/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]