building firefox: revisited once more ...
- From: "Joseph E. Sacco, PhD" <joseph_sacco comcast net>
- To: garnome-list gnome org
- Subject: building firefox: revisited once more ...
- Date: Sat, 09 Jul 2005 16:18:44 -0400
firefox-1.04 does not run when built within the unstable GARNOME
environment where:
# For Unstable GARNOME, things are assumed to be heavily broken
CONFIGURE_ARGS += --enable-debug --enable-tests
CFLAGS += -g
CXXFLAGS += -g
One artifact is a version of libmozjs.so that is both huge, and broken.
Earlier I had reported:
Replacing the installed version of libmozjs.so built with these
flags by a version built last week without these flags allows
firefox and epiphany to run.
I took an initial swag at removing these troublesome options by
using sed magic in the Makefile. That didn't work [yet], which
is really, really annoying.
In that attempt I had used sed magic to flip
--enable-debug
and
--enable-tests
to
--disable-debug
and
--disable-tests
which should have worked, but didn't for whatever reason
[fumble-fingers. maybe???].
Anyway... I took another run at it. This time I used sed magic to
clobber *all* of the unstable GARNOME settings. That worked. See the
attached Makefile.
As a check...If the unstable release version of gar.gnome.mk is replaced
by the stable version of gar.gnome.mk [see attachment], the same result
is obtained.
-Joseph
--
joseph_sacco [at] comcast [dot] net
--
joseph_sacco [at] comcast [dot] net
GARNAME = firefox
GARVERSION = 1.0.4
CATEGORIES = bootstrap
DISTFILES = $(GARNAME)-$(GARVERSION)-source.tar.bz2 mozconfig-firefox
PATCHFILES = firefox-1.0-freetype-fixes.patch firefox-1.0-pango-renderer.patch garnome-fixes.diff gcc400.diff
MASTER_SITES = http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$(GARVERSION)/source/
LIBDEPS = platform/gtk+ platform/pango platform/ORBit2
DESCRIPTION = firefox
define BLURB
Cross Platform, enhanced browser based on the Mozilla (Gecko) Rendering Engine
endef
WORKSRC = $(WORKDIR)/mozilla
CONFIGURE_SCRIPTS = $(WORKSRC)/configure
BUILD_SCRIPTS = $(WORKSRC)/Makefile
INSTALL_SCRIPTS = $(WORKSRC)/Makefile
CONFIGURE_ARGS = $(DIRPATHS)
include ../category.mk
# unstable release test/debug args don't work
CONFIGURE_ARGS := $(shell echo $(CONFIGURE_ARGS) | sed 's,--enable-debug,--disable-debug,')
CONFIGURE_ARGS := $(shell echo $(CONFIGURE_ARGS) | sed 's,--enable-test,--disable-test,')
CFLAGS := $(shell echo $(CFLAGS) | sed 's,-g,,')
CXXFLAGS := $(shell echo $(CXXFLAGS) | sed 's,-g,,')
pre-configure:
@echo "Exporting required Firefoxisms..."
@cp $(FILEDIR)/mozconfig-firefox $(WORKSRC)/.mozconfig
pre-install:
@echo "Fixing broken NSS header installation..."
@mkdir -p $(includedir)/$(GARNAME)-$(GARVERSION)/nss/
@cp -f $(WORKSRC)/dist/public/nss/*.h $(includedir)/$(GARNAME)-$(GARVERSION)/nss/
@mkdir -p $(includedir)/$(GARNAME)-$(GARVERSION)/seccmd/
@cp -f $(WORKSRC)/dist/public/seccmd/*.h $(includedir)/$(GARNAME)-$(GARVERSION)/seccmd/
# use Sweden for default mirror
MASTER_SITES += http://ftp.gnome.org/pub/GNOME/sources/$(GARNAME)/$(shell echo $(GARVERSION) | sed -e 's,-.*,,' | awk -F. '{ print $$1 "." $$2 }')/
# No static libs or docs
CONFIGURE_ARGS += --disable-static --disable-maintainer-mode --with-html-dir=$(sharedstatedir)/gtk-doc/html --disable-gtk-doc
# For Stable GARNOME, things are assumed to work
CONFIGURE_ARGS += --disable-debug --disable-tests
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]