Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Firefox 1.5 beta 1 is out
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
brenden
l33t
l33t


Joined: 09 Mar 2004
Posts: 710
Location: Calgary, AB

PostPosted: Fri Sep 09, 2005 4:55 am    Post subject: Firefox 1.5 beta 1 is out Reply with quote

I'm excited aboot this...I hope an ebuild goes in portage :)

(i would make an ebuild if i had the time tonight, but i don't).

http://it.slashdot.org/article.pl?sid=05/09/09/0219241&tid=154&tid=95&tid=218

it's aboot time too.
Back to top
View user's profile Send private message
johntramp
Guru
Guru


Joined: 03 Feb 2004
Posts: 457
Location: New Zealand

PostPosted: Fri Sep 09, 2005 5:02 am    Post subject: Reply with quote

Quote:
Here's what's new in Firefox 1.5 Beta 1:

* Automated update to streamline product upgrades. Notification of an update is more prominent, and updates to Firefox may now be half a megabyte or smaller. Updating extensions has also improved.
* Faster browser navigation with improvements to back and forward button performance.
* Drag and drop reordering for browser tabs.
* Improvements to popup blocking.
* Clear Private Data feature provides an easy way to quickly remove personal data through a menu item or keyboard shortcut.
* Answers.com is added to the search engine list.
* Improvements to product usability including descriptive error pages, redesigned options menu, RSS discovery, and "Safe Mode" experience.
* Better accessibility support including DHTML accessibility.
* Report a broken Web site wizard to report Web sites that are not working in Firefox.
* Better support for Mac OS X (10.2 and greater) including profile migration from Safari and Mac Internet Explorer.
* New support for Web Standards including SVG, CSS 2 and CSS 3, and JavaScript 1.6.
* Many security enhancements.
* List of notable bug fixes since Deer Park Alpha 2
I don't see too much to get excited about, personally.
Back to top
View user's profile Send private message
Cinder6
l33t
l33t


Joined: 05 Aug 2004
Posts: 767
Location: California

PostPosted: Fri Sep 09, 2005 5:04 am    Post subject: Reply with quote

It also browses much faster, if DP2 is any indication. I'm excited for it.
_________________
Knowledge is power.
Power corrupts.
Study hard.
Be evil.

Ugly Overload
Back to top
View user's profile Send private message
johntramp
Guru
Guru


Joined: 03 Feb 2004
Posts: 457
Location: New Zealand

PostPosted: Fri Sep 09, 2005 5:09 am    Post subject: Reply with quote

Cinder6 wrote:
It also browses much faster, if DP2 is any indication. I'm excited for it.
Would that make much difference on slower connections tho?
Back to top
View user's profile Send private message
brenden
l33t
l33t


Joined: 09 Mar 2004
Posts: 710
Location: Calgary, AB

PostPosted: Fri Sep 09, 2005 5:14 am    Post subject: Reply with quote

johntramp wrote:
I don't see too much to get excited about, personally.

Uhm, svg support?

svgs are awesome, to say the least. Plus it's nice that some mem leaks and performance issues are solved. As well as some really annoying small bugs, like the slashdot one.
Back to top
View user's profile Send private message
Cinder6
l33t
l33t


Joined: 05 Aug 2004
Posts: 767
Location: California

PostPosted: Fri Sep 09, 2005 5:14 am    Post subject: Reply with quote

I am saying the fillrate is increased, which should benefit everyone. Connection speed-based browsing also seems faster, but I think that should also benefit narrowband users.
_________________
Knowledge is power.
Power corrupts.
Study hard.
Be evil.

Ugly Overload
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Fri Sep 09, 2005 2:20 pm    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-368773-postdays-0-postorder-asc-start-25.html ::)))
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
Frodo42
Tux's lil' helper
Tux's lil' helper


Joined: 21 Aug 2003
Posts: 119
Location: Bjerringbro, Denmark

PostPosted: Fri Sep 09, 2005 6:12 pm    Post subject: Reply with quote

Feeling very unpatient here ... why is this not in portage yet?
It's been more than 12 hours since the /. post.
I am feeling sooo out of the loop ... I guess I'd better myself start looking at how to make ebuilds before I start complaining
_________________
my blog, my homepage
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Fri Sep 09, 2005 6:18 pm    Post subject: Reply with quote

Frodo42 wrote:
Feeling very unpatient here ... why is this not in portage yet?
It's been more than 12 hours since the /. post.
I am feeling sooo out of the loop ... I guess I'd better myself start looking at how to make ebuilds before I start complaining

You didn't look at the link I posted ::) there is an ebuild it is for the cvs-branch but of firefox-1.5 (there will not be great differences though), but soon I#ll post a real build, I don't think it will make it in portage in near future, although it will be needed for the new gnome and vice versa.
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
bbe
Apprentice
Apprentice


Joined: 10 Jan 2005
Posts: 158
Location: UK

PostPosted: Fri Sep 09, 2005 6:24 pm    Post subject: Reply with quote

http://bbe.no-ip.com/mozilla-firefox-beta-1.5.tar.gz

Thanks Gergan :)
Back to top
View user's profile Send private message
Frodo42
Tux's lil' helper
Tux's lil' helper


Joined: 21 Aug 2003
Posts: 119
Location: Bjerringbro, Denmark

PostPosted: Fri Sep 09, 2005 6:35 pm    Post subject: Reply with quote

Gergan Penkov wrote:
You didn't look at the link I posted ::) there is an ebuild it is for the cvs-branch but of firefox-1.5 (there will not be great differences though), but soon I#ll post a real build, I don't think it will make it in portage in near future, although it will be needed for the new gnome and vice versa.


:oops: Thank you Gergan
Why would it not make it into portage in the near future?
_________________
my blog, my homepage
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Fri Sep 09, 2005 6:48 pm    Post subject: Reply with quote

Because much of the things are masked it uses the new cairo, the new pango, all of them are masked for now, for example.
I should say it here that if you want to install this one without the masked packages, you will need sth like
USE="-mozpango -mozsvg mozxft" emerge -D mozilla-firefox.
So one more thing the use flags are other than what you have in portage, because of some not so lucky decisions truetype refered to sth which is now obsolete in firefox - that's why the flag name now is moztt, do not select it (and moreover do not select it with mozxft - this is the default). mozpango - this was the default in the portage-mozilla (and there was no flag) but as it now will break, if you don't have the masked packages it is a flag. moznosvg is now mozsvg because it will build not only simply svg-support but also glitz support, svg-renderer and cairo-canvas, which could lead to some instabilities. And for the cvs build there is a special buildd-flag, when used it simply will copy the files from /usr/portage/distfiles/cvs-src/mozilla and will not update them from internet.
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
FireBurn
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 170
Location: Edinburgh, UK

PostPosted: Fri Sep 09, 2005 7:24 pm    Post subject: I'm using it Reply with quote

I'm using it with the new GTK, Pango, Cairo and Glitz

It's so smooth :D

Mike
Back to top
View user's profile Send private message
GaMMa
l33t
l33t


Joined: 23 Aug 2002
Posts: 684
Location: USA

PostPosted: Fri Sep 09, 2005 7:55 pm    Post subject: Reply with quote

The cvs ebuild errors out when trying to compile the pango part. I'm using x11-libs/pango-1.10.0. I'll just wait for a stable ebuild.
_________________
Ubuntu Linux Dapper Drake running Gnome-2.14.1
[Website | Screenshot | Portage Guide]
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Fri Sep 09, 2005 7:58 pm    Post subject: Reply with quote

Hi,
could you post the error message
I've builded it yesterday there were no problems.
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
ivanova
Apprentice
Apprentice


Joined: 12 Apr 2004
Posts: 158
Location: South Africa

PostPosted: Fri Sep 09, 2005 8:53 pm    Post subject: Reply with quote

Could someone please clarify the differences between: mozpango moztt mozxft use flags
_________________
Ladies and Gentlemen... we are floating in space.
Back to top
View user's profile Send private message
GaMMa
l33t
l33t


Joined: 23 Aug 2002
Posts: 684
Location: USA

PostPosted: Fri Sep 09, 2005 8:54 pm    Post subject: Reply with quote

I deleted the ebuild and closed the console so I'm not sure what the error was. I'm not a huge fan of CVS ebuilds anyway, if I spent an hour compiling firefox today, a new feature may be added then I'd have to update firefox again. Point releases are better for the casual user :P. I'm going to see if I can hack an ebuild for firefox-1.5 in the next couple days.
_________________
Ubuntu Linux Dapper Drake running Gnome-2.14.1
[Website | Screenshot | Portage Guide]
Back to top
View user's profile Send private message
svarog
n00b
n00b


Joined: 16 Mar 2005
Posts: 25
Location: tampa bay, florida

PostPosted: Fri Sep 09, 2005 9:01 pm    Post subject: Reply with quote

GaMMa wrote:
.. I spent an hour compiling firefox today, a new feature may be added then I'd have to update firefox again....


But it has the auto-updating feature I thought. So would only need to compile it once, and whenever a new feature comes out firefox will update itself
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Fri Sep 09, 2005 9:05 pm    Post subject: Reply with quote

Ok, I am building it now from the tar balls, if it is ok I'll post it here and send it bbe in order to upload it.
As I see the developers were waiting for the release to bork the cvs :::)) http://tinderbox.mozilla.org/showbuilds.cgi?tree=Firefox
As to the flags:
mozsvg -
Code:
                mozconfig_annotate mozsvg --enable-system-cairo
                mozconfig_annotate mozsvg --enable-svg
                mozconfig_annotate mozsvg --enable-canvas
                mozconfig_annotate mozsvg --enable-svg-renderer=cairo
                mozconfig_annotate mozsvg --enable-glitz

the first two should always be ok, the last three could make problems - but it works fine here.
moztt is the truetype flag, it is not needed for truetype it simply says, that the firefox should use the freetype2 library. It could not be selected together with xft, the configure-script will break.
mozxft will select xft, which is need for truetype and which is the recomended for gtk+-2.
mozpango will use pango for font rendering, in reality I thought that it could be enough to select mozpango as with the new version it is used to render the text with cairo and with xft, but it does not work.
So what should be most reliable is mozxft, although mozxft+mozpango works ok here.
There is a page somewhere on the mozilla-site, which explains some part of this, but I don't remember, where it was, you could google for it::))
Some edits ::)) More edits ::))
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
wdreinhart
Guru
Guru


Joined: 11 Jun 2003
Posts: 569
Location: 4QFJ12345678

PostPosted: Fri Sep 09, 2005 9:18 pm    Post subject: Reply with quote

svarog wrote:
But it has the auto-updating feature I thought. So would only need to compile it once, and whenever a new feature comes out firefox will update itself


Mixing binary updates from mozilla.org with a local build of firefox (built with different gcc and library versions, different config options, different CFLAGS, etc) sounds like a recipe for serious b0rkenness. Probably best to use firefox-bin if you want the automatic update stuff to work...
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Fri Sep 09, 2005 9:23 pm    Post subject: Reply with quote

Ok here is the ebuild. It has some little bug-fixes (to the pkg-config files, now most of the programs build ok). I'll send a copy to bbe to upload it ::)) I could only say that it bilds fine here::)) Name it /usr/local/portage/www-client/mozilla-firefox/mozilla-firefox-1.5_rc1.ebuild, the mozconfig2.eclass and the patches from the tar-ball
Code:
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

unset ALLOWED_FLAGS  # stupid extra-functions.sh ... bug 49179
inherit flag-o-matic toolchain-funcs eutils mozconfig2 makeedit multilib mozilla-launcher

DESCRIPTION="Firefox Web Browser"
HOMEPAGE="http://www.mozilla.org/projects/firefox/"
MY_PV="1.0+"
SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV/_rc/b}/source/firefox-${PV/_rc/b}-source.tar.bz2
   mirror://gentoo/mozilla-jslibmath-alpha.patch
   http://dev.gentoo.org/~agriffis/dist/mozilla-1.7.10-nsplugins-v2.patch"

KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~sparc ~x86"
SLOT="0"
LICENSE="MPL-1.1 NPL-1.1"
IUSE="gnome java mozdevelop mozxft moztt mozpango mozsvg ldap ssl"

# xrender.pc appeared for the first time in xorg-x11-6.7.0-r2
# and is required to build with support for cairo.  #71504
RDEPEND="java? ( virtual/jre )
   >=media-libs/libmng-1.0.0
   mozsvg? (
      !<=x11-base/xorg-x11-6.7.0-r2
      >x11-libs/cairo-0.5
   )
   >=www-client/mozilla-launcher-1.39"

DEPEND="${RDEPEND}
   java? ( >=dev-java/java-config-0.2.0 )"

S=${WORKDIR}/mozilla

# Needed by src_compile() and src_install().
# Would do in pkg_setup but that loses the export attribute, they
# become pure shell variables.
export MOZ_CO_PROJECT=browser
export BUILD_OFFICIAL=1
export MOZILLA_OFFICIAL=1

src_unpack() {
   declare x

   for x in ${A}; do
      [[ $x == *.tar.* ]] || continue
      unpack $x || die "unpack failed"
   done
   cd ${S} || die "cd failed"

   ####################################
   #
   # architecture patches
   #
   ####################################

   # alpha stubs patch from lfs project.
   # <taviso@gentoo.org> (26 Jun 2003)
   use alpha && epatch ${FILESDIR}/mozilla-1.3-alpha-stubs.patch

   # hppa patches from Ivar <orskaug@stud.ntnu.no>
   # <gmsoft@gentoo.org> (22 Dec 2004)
   epatch ${FILESDIR}/mozilla-hppa.patch

   # patch to solve segfaults on ia64, from Debian, originally from David
   # Mosberger
   epatch ${FILESDIR}/mozilla-firefox-1.1a2-ia64.patch

   # patch to fix math operations on alpha, makes maps.google.com work!
   epatch ${DISTDIR}/mozilla-jslibmath-alpha.patch

   ####################################
   #
   # general compilation and run-time fixes
   #
   ####################################

   # patch from fedora to remove the pangoxft things
   epatch ${FILESDIR}/firefox-nopangoxft.patch
   #cairo-canvas patch
   epatch ${FILESDIR}/firefox-cairo-canvas.patch

   ####################################
   #
   # behavioral fixes
   #
   ####################################

   # look in /usr/lib/nsplugins for plugins, in addition to the usual places
   epatch ${DISTDIR}/mozilla-1.7.10-nsplugins-v2.patch

   # patch to fix typeahead find for browsers which embed Firefox
   # http://bugzilla.gnome.org/show_bug.cgi?id=157435
   epatch ${FILESDIR}/embed-typeaheadfind.patch


   #rpath patch
   epatch ${FILESDIR}/mozilla-rpath-1.patch
}

src_compile() {
   declare MOZILLA_FIVE_HOME=/usr/$(get_libdir)/${PN}

   grep -Flr "#RPATH_FIXER" --include=*.mk . | xargs sed -i -e \
      's|#RPATH_FIXER|'"${MOZILLA_FIVE_HOME}"'|'

   ####################################
   #
   # mozconfig, CFLAGS and CXXFLAGS setup
   #
   ####################################
   if use mozxft && use moztt; then
      einfo "You should not try to use both xft and truetype at once!"
      die
   fi

   mozconfig_init

   # Deer Park lost these defaults
   mozconfig_annotate '' --disable-mailnews
   mozconfig_annotate '' --enable-extensions=default,typeaheadfind
   mozconfig_annotate '' --enable-single-profile
   mozconfig_annotate '' --disable-profilesharing
   mozconfig_annotate '' --disable-profilelocking
   #mozconfig_annotate '' --enable-native-uconv
   # Bug 60668: Galeon doesn't build without oji enabled, so enable it
   # regardless of java setting.
   if use mozsvg; then
      mozconfig_annotate mozsvg --enable-system-cairo
      mozconfig_annotate mozsvg --enable-svg
      #this breaks on my system, it compiles fine but sigsevs
      mozconfig_annotate mozsvg --enable-canvas
      mozconfig_annotate mozsvg --enable-svg-renderer=cairo
      mozconfig_annotate mozsvg --enable-glitz
   fi

   # Bug 60668: Galeon doesn't build without oji enabled, so enable it
   # regardless of java setting.
   mozconfig_annotate '' --enable-oji --enable-mathml

   # Other ff-specific settings
   mozconfig_use_enable mozdevelop jsd
   mozconfig_use_enable mozdevelop xpctools
   mozconfig_use_extension mozdevelop venkman
   mozconfig_use_enable gnome gnomevfs
   mozconfig_use_extension gnome gnomevfs
   mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME}
   mozconfig_annotate '' --with-user-appdir=firefox

   if use ldap; then
      mozconfig_use_enable ldap
      mozconfig_use_enable ldap ldap-experimental
   fi

   # Finalize and report settings
   mozconfig_final

   # hardened GCC uses -fstack-protector-all by default, which breaks us
   has_hardened && append-flags -fno-stack-protector-all
   replace-flags -fstack-protector-all -fstack-protector

   ####################################
   #
   #  Configure and build
   #
   ####################################

   CPPFLAGS="${CPPFLAGS} -DARON_WAS_HERE" \
   CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
   econf || die

   # It would be great if we could pass these in via CPPFLAGS or CFLAGS prior
   # to econf, but the quotes cause configure to fail.
   grep -Flre -DARON_WAS_HERE --exclude=config.\* . | xargs sed -i -e \
   's|-DARON_WAS_HERE|-DGENTOO_NSPLUGINS_DIR=\\\"/usr/'"$(get_libdir)"'/nsplugins\\\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\\\"/usr/'"$(get_libdir)"'/nsbrowser/plugins\\\"|'

   # This removes extraneous CFLAGS from the Makefiles to reduce RAM
   # requirements while compiling
   edit_makefiles

   emake || die
   ####################################
   #
   #  Build Mozilla NSS
   #
   ####################################

   # Build the NSS/SSL support
   if use ssl; then
      einfo "Building Mozilla-Firefox NSS..."

      # Fix #include problem
      cd ${S}/security/coreconf || die "cd coreconf failed"
      echo 'INCLUDES += -I$(DIST)/include/nspr -I$(DIST)/include/dbm'\
         >>headers.mk
      emake -j1 || die "make security headers failed"

      cd ${S}/security/nss || die "cd nss failed"
      emake -j1 moz_import || die "make moz_import failed"
      emake -j1 || die "make nss failed"
   fi

}

src_install() {
   declare MOZILLA_FIVE_HOME=/usr/$(get_libdir)/${PN}

   # Most of the installation happens here
   dodir ${MOZILLA_FIVE_HOME}
   cp -RL ${S}/dist/bin/* ${D}${MOZILLA_FIVE_HOME}

   # Create directory structure to support portage-installed extensions.
   # See update_chrome() in mozilla-launcher
   keepdir ${MOZILLA_FIVE_HOME}/chrome.d
   keepdir ${MOZILLA_FIVE_HOME}/extensions.d
   cp ${D}${MOZILLA_FIVE_HOME}/chrome/installed-chrome.txt \
      ${D}${MOZILLA_FIVE_HOME}/chrome.d/0_base-chrome.txt

   # Create /usr/bin/firefox
   install_mozilla_launcher_stub firefox ${MOZILLA_FIVE_HOME}

   # Install icon and .desktop for menu entry
   insinto /usr/share/pixmaps
   doins ${FILESDIR}/icon/deerpark-icon.png

   # Fix bug 54179: Install .desktop file into /usr/share/applications
   # instead of /usr/share/gnome/apps/Internet (18 Jun 2004 agriffis)
   insinto /usr/share/applications
   doins ${FILESDIR}/icon/mozillafirefox.desktop

   ####################################
   #
   # Install files necessary for applications to build against firefox
   #
   ####################################

   einfo "Installing includes and idl files..."
   dodir ${MOZILLA_FIVE_HOME}/include/idl /usr/include
   cd ${S}/dist
   cp -LfR include/* ${D}${MOZILLA_FIVE_HOME}/include || die "failed to copy"
   cp -LfR idl/* ${D}${MOZILLA_FIVE_HOME}/include/idl || die "failed to copy"

   # Install the NSS/SSL libs, headers and tools
   if use ssl; then
      einfo "Installing Mozilla-Firefox NSS..."
      # Install the headers ('make install' do not work for headers ...)
      insinto ${MOZILLA_FIVE_HOME}/include/nss
      [ -d ${S}/dist/public/nss ] && doins ${S}/dist/public/nss/*.h
      [ -d ${S}/dist/public/seccmd ] && doins ${S}/dist/public/seccmd/*.h
      [ -d ${S}/dist/public/security ] && doins ${S}/dist/public/security/*.h
      # These come with zlib ...
      rm -f ${D}${MOZILLA_FIVE_HOME}/include/nss/{zconf.h,zlib.h}

      cd ${S}/security/nss

      mkdir -p ${WORKDIR}/nss/{bin,lib}
      export SOURCE_BIN_DIR=${WORKDIR}/nss/bin
      export SOURCE_LIB_DIR=${WORKDIR}/nss/lib

      make install || die "make failed"
      # Gets installed as symbolic links ...
      # cp -Lf ${WORKDIR}/nss/bin/* ${D}/usr/bin
      cp -Lf ${WORKDIR}/nss/lib/* ${D}${MOZILLA_FIVE_HOME} || die "failed to copy"

      # Need to unset these incase we want to rebuild, else the build
      # gets newked.
      unset SOURCE_LIB_DIR
      unset SOURCE_BIN_DIR
   fi

   # Dirty hack to get some applications using this header running
   dosym ${MOZILLA_FIVE_HOME}/include/necko/nsIURI.h \
      /usr/$(get_libdir)/${MOZILLA_FIVE_HOME##*/}/include/nsIURI.h

   # Fix firefox-config and install it
   sed -i -e "s|/usr/lib/firefox-${MY_PV}|${MOZILLA_FIVE_HOME}|g
      s|/usr/include/firefox-${MY_PV}|${MOZILLA_FIVE_HOME}/include|g
      s|/usr/share/idl/firefox-${MY_PV}|${MOZILLA_FIVE_HOME}/include/idl|g
      s|\(echo -L.*\)\($\)|\1 -Wl,-R${MOZILLA_FIVE_HOME}\2|" \
      ${S}/build/unix/firefox-config
   exeinto ${MOZILLA_FIVE_HOME}
   doexe ${S}/build/unix/firefox-config

   # Fix pkgconfig files and install them
   sed -i -e "s|-L/usr/lib/firefox-1.4|-L\$\{libdir\}|
         s|-I/usr/include/firefox-1.4|-I\$\{includedir\}|" \
            ${S}/build/unix/firefox-nspr.pc
   insinto /usr/$(get_libdir)/pkgconfig
   for x in ${S}/build/unix/*.pc; do
      sed -i -e "s|^libdir=.*|libdir=${MOZILLA_FIVE_HOME}|
         s|^includedir=.*|includedir=${MOZILLA_FIVE_HOME}/include|
         s|^idldir=.*|idldir=${MOZILLA_FIVE_HOME}/include/idl|
         s|\(^Libs: -L.*\)\($\)|\1 -Wl,-R\$\{libdir\}\2|" ${x}
      doins ${x}
   done

   ####################################
   #
   # Some preferences, probably gentoo.org as start-page also
   #
   ####################################

   dodir ${D}/${MOZILLA_FIVE_HOME}/greprefs
   cp ${FILESDIR}/gentoo-default-prefs.js ${D}/${MOZILLA_FIVE_HOME}/greprefs/all-gentoo.js
   dodir ${D}/${MOZILLA_FIVE_HOME}/defaults/pref
   cp ${FILESDIR}/gentoo-default-prefs.js ${D}/${MOZILLA_FIVE_HOME}/defaults/pref/all-gentoo.js   

   # Install docs
   dodoc LEGAL LICENSE
}

pkg_postinst() {
   declare MOZILLA_FIVE_HOME=/usr/$(get_libdir)/${PN}

   ####################################
   #
   # The registration is done here,
   # mozilla-launcher do not do it correctly for now
   #
   ####################################

   touch ${MOZILLA_FIVE_HOME}/components/compreg.dat
   touch ${MOZILLA_FIVE_HOME}/components/xpti.dat
   [ -x ${MOZILLA_FIVE_HOME}/firefox ] && ${MOZILLA_FIVE_HOME}/firefox -register
   [ -x ${MOZILLA_FIVE_HOME}/regxpcom ] && ${MOZILLA_FIVE_HOME}/regxpcom

   # This should be called in the postinst and postrm of all the
   # mozilla, mozilla-bin, firefox, firefox-bin, thunderbird and
   # thunderbird-bin ebuilds.
   update_mozilla_launcher_symlinks
}

pkg_postrm() {
   declare MOZILLA_FIVE_HOME=/usr/$(get_libdir)/${PN}

   ####################################
   #
   # The registration is done here,
   # mozilla-launcher do not do it correctly for now
   #
   ####################################
   
   [ -x ${MOZILLA_FIVE_HOME}/firefox ] && ${MOZILLA_FIVE_HOME}/firefox -register
   [ -x ${MOZILLA_FIVE_HOME}/regxpcom ] && ${MOZILLA_FIVE_HOME}/regxpcom
   update_mozilla_launcher_symlinks
}

_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
GaMMa
l33t
l33t


Joined: 23 Aug 2002
Posts: 684
Location: USA

PostPosted: Fri Sep 09, 2005 10:19 pm    Post subject: Reply with quote

I get the same error with the source compile. Am I supposed to compile with +mozpango and +mozcairo or do they error if i try that?

Code:
../../../dist/include/system_wrappers/freetype/tttables.h:3:36: freetype/tttables.h: No such file or directory
In file included from ../../../dist/include/system_wrappers/ft2build.h:3,
                 from /usr/include/pango-1.0/pango/pangofc-font.h:25,
                 from ../../../dist/include/system_wrappers/pango/pangofc-font.h:3,
                 from /usr/include/pango-1.0/pango/pangofc-decoder.h:25,
                 from ../../../dist/include/system_wrappers/pango/pangofc-decoder.h:3,
                 from mozilla-decoder.h:42,
                 from nsFontMetricsPango.cpp:61:
/usr/include/ft2build.h:56:38: freetype/config/ftheader.h: No such file or directory
In file included from ../../../dist/include/system_wrappers/pango/pangofc-font.h:3,
                 from /usr/include/pango-1.0/pango/pangofc-decoder.h:25,
                 from ../../../dist/include/system_wrappers/pango/pangofc-decoder.h:3,
                 from mozilla-decoder.h:42,
                 from nsFontMetricsPango.cpp:61:
/usr/include/pango-1.0/pango/pangofc-font.h:26:10: #include expects "FILENAME" or <FILENAME>
In file included from ../../../dist/include/system_wrappers/pango/pangofc-font.h:3,
                 from /usr/include/pango-1.0/pango/pangofc-decoder.h:25,
                 from ../../../dist/include/system_wrappers/pango/pangofc-decoder.h:3,
                 from mozilla-decoder.h:42,
                 from nsFontMetricsPango.cpp:61:
/usr/include/pango-1.0/pango/pangofc-font.h:111: error: expected identifier before '*' token
/usr/include/pango-1.0/pango/pangofc-font.h:111: error: `FT_Face' declared as function returning a function
/usr/include/pango-1.0/pango/pangofc-font.h:144: error: `FT_Face' does not name a type
nsFontMetricsPango.cpp: In member function `nsresult nsFontMetricsPango::CacheFontMetrics()':
nsFontMetricsPango.cpp:302: error: `FT_Face' undeclared (first use this function)
nsFontMetricsPango.cpp:302: error: (Each undeclared identifier is reported only once for each function it appears in.)
nsFontMetricsPango.cpp:302: error: expected `;' before "face"
nsFontMetricsPango.cpp:303: error: `face' undeclared (first use this function)
nsFontMetricsPango.cpp:303: error: `pango_fc_font_lock_face' undeclared (first use this function)
nsFontMetricsPango.cpp:307: error: `TT_OS2' undeclared (first use this function)
nsFontMetricsPango.cpp:307: error: `os2' undeclared (first use this function)
nsFontMetricsPango.cpp:308: error: expected primary-expression before ')' token
nsFontMetricsPango.cpp:308: error: expected `;' before "FT_Get_Sfnt_Table"
nsFontMetricsPango.cpp:380: error: `FT_MulFix' undeclared (first use this function)
gmake[4]: *** [nsFontMetricsPango.o] Error 1
gmake[4]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5_rc1/work/mozilla/gfx/src/gtk'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5_rc1/work/mozilla/gfx/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5_rc1/work/mozilla/gfx'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.5_rc1/work/mozilla'
make: *** [default] Error 2

That's the error

UPDATE: [ebuild U ] www-client/mozilla-firefox-1.5_rc1 [1.0.6-r5] -debug +gnome -ipv6 +java -ldap -mozdevelop +mozpango* +mozsvg* -moztt -mozxft +ssl -xinerama +xprint are the use flags and I've got /usr/include/freetype2/freetype/tttables.h
_________________
Ubuntu Linux Dapper Drake running Gnome-2.14.1
[Website | Screenshot | Portage Guide]
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Fri Sep 09, 2005 11:05 pm    Post subject: Reply with quote

Yes I build it with mozpango mozcairo mozxft. mozpango and mozcairo must be selected together as pango uses cairo and probably could lead to errors if one of them is not selected. It seems that in some way it includes freetype1 and not freetype2, i hope you didn't use moztt.
As I see you are not using mozxft try with it as my experience is that firefox does not work only with pango.
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
GaMMa
l33t
l33t


Joined: 23 Aug 2002
Posts: 684
Location: USA

PostPosted: Fri Sep 09, 2005 11:23 pm    Post subject: Reply with quote

I'm trying mozxft right now, and it's been compiling for a while, and I think it got past the code where it gave the error last time. I'll tell you how it goes..

It compiled, I needed +mozxft.

If +moztt is broken why even bother prompting for the option?
_________________
Ubuntu Linux Dapper Drake running Gnome-2.14.1
[Website | Screenshot | Portage Guide]
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Fri Sep 09, 2005 11:47 pm    Post subject: Reply with quote

It is not broken simply the mozilla devs say xft is the default for gtk+-2.
It is simply obsolete, even if I did not try it probably it is possible to compile firefox with moztt only. Look here http://www.mozilla.org/build/configure-build.html there is some note about it (graphical toolkits).
P.S. And on the other hand the official builds are featuring the truetype flag, which is the same, that's why decided to let it be, although never used it, because it is impossible, the .configure script will die if xft and truetype are both selected.
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Page 1 of 9

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum