View previous topic :: View next topic |
Author |
Message |
nempo Guru
Joined: 16 Apr 2002 Posts: 360 Location: Linkoping, Sweden
|
Posted: Tue Dec 10, 2002 9:35 pm Post subject: MozillaFirebird-CVS thread |
|
|
Below here you will find an ebuild that will download, compile and install the Mozilla Firebird web browser from the mozilla cvs. This IS the most up the date version of the ebuild in this thread and will be updated whenever the need arises.
*IMPORTANT* You must have 'PORTDIR_OVERLAY="/usr/local/portage"' in your '/etc/make.conf' *IMPORTANT*
05 Jun. 2003 - mozillafirebird-cvs-0.6.2003.06.05.ebuild (place in '/usr/local/portage/net-www/mozillafirebird-cvs'):
Code: |
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: $
IUSE="java gtk2 ipv6"
# private USE values for this ebuild
IUSE="${IUSE} mozsvg nocvs"
inherit eutils makeedit flag-o-matic gcc nsplugins
# Crashes on start when compiled with -fomit-frame-pointer
filter-flags "-fomit-frame-pointer"
# Sparc support ...
replace-flags "-mcpu=ultrasparc" "-mcpu=v8"
replace-flags "-mcpu=v9" "-mcpu=v8"
# The next command strips CFLAGS and CXXFLAGS from nearly all flags. If
# you do not like it, comment it, but do not bugreport if you run into
# problems.
strip-flags
S=${WORKDIR}/mozilla
DESCRIPTION="The Mozilla Firebird Web Browser"
SRC_URI="ftp://ftp.mozilla.org/pub/mozilla/nightly/latest/mozilla-source.tar.bz2"
HOMEPAGE="http://www.mozilla.org/projects/firebird/"
KEYWORDS="x86 ~ppc ~sparc ~sparc64"
SLOT="0"
LICENSE="MPL-1.1 | NPL-1.1"
RDEPEND="virtual/x11
virtual/xft
>=gnome-base/ORBit-0.5.10-r1
>=dev-libs/libIDL-0.8.0
>=sys-libs/zlib-1.1.4
>=media-libs/jpeg-6b
>=media-libs/libmng-1.0.3
>=media-libs/libpng-1.2.5
>=sys-apps/portage-2.0.46-r9
dev-libs/expat
app-arch/zip
app-arch/unzip
( gtk2? >=x11-libs/gtk+-2.0.9 :
=x11-libs/gtk+-1.2* )
( gtk2? >=dev-libs/glib-2.0.7 :
=dev-libs/glib-1.2* )
java? ( virtual/jre )"
DEPEND="${RDEPEND}
!net-www/phoenix-bin
!net-www/phoenix
virtual/x11
dev-lang/perl
dev-util/cvs
java? ( >=dev-java/java-config-0.2.7 )"
# needed by src_compile() and src_install()
# and src_unpack()... for cvs update
export MOZ_PHOENIX=1
export MOZ_CALENDAR=0
export MOZ_ENABLE_XFT=1
[ -n "`use mozsvg`" ] && export MOZ_INTERNAL_LIBART_LGPL=1
# Where do you want to go today ?
FIREBIRD_PATH="/opt/mozillafirebird"
pkg_setup() {
if [ "`use gtk2`" -a "${WANT_GTK2}" != "yes" ]
then
echo
eerror "Due to the many problems related to gtk+-2.x support"
eerror "in Firebird, this ebuild will not build with gtk2 support,"
eerror "if you do not do:"
eerror
eerror " # WANT_GTK2=\"yes\" emerge mozillafirebird-cvs"
eerror
eerror "The alternative is to merge without gtk2 support, which"
eerror "is recommended:"
eerror
eerror " # USE=\"-gtk2\" emerge mozillafirebird-cvs"
die "Wont build gtk2 support without being forced!"
fi
}
src_unpack() {
unpack ${A}
if [ -z "`use nocvs`" ] ; then
cp -al mozilla mozilla.orig
fi
PATCH_FILE=`basename ${SRC_URI/.tar.*/}`.diff
PATCH=${DISTDIR}/cvs-src/mozillafirebird-cvs/${PATCH_FILE}
PATCH_DIR=`dirname ${PATCH}`
if [ ${PATCH}.gz -nt ${DISTDIR}/${A} ]; then
einfo "Applying ${PATCH_FILE} from prior CVS updates..."
zcat ${PATCH}.gz | patch -p0 | grep -v '/CVS/' > patch.log || die
fi
if [ -z "`use nocvs`" ] ; then
einfo "Updating source from CVS (skip with USE=nocvs)..."
echo ":pserver:cvs-mirror.mozilla.org:/cvsroot A" > ${T}/cvspass
export CVS_PASSFILE=${T}/cvspass
cvs -z4 -d:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -PA mozilla/client.mk || die
make -f mozilla/client.mk checkout MOZ_CO_FLAGS=-PA || die
einfo "Calculating CVS differences and creating new patches..."
for i in `(grep '^U \|no longer' cvsco.log; cat patch.log 2> /dev/null; \
echo /client.mk; \
echo /build/unix/modules.mk; \
echo /build/unix/uniq.pl; \
find mozilla* -name CVS) \
| grep -o '/[^ ]*' | sort -u`
do
diff -Naur mozilla.orig${i} mozilla${i} >> ${PATCH_FILE}
done
gzip ${PATCH_FILE}
addwrite ${DISTDIR}
mkdir -p ${PATCH_DIR}
mv -f ${PATCH_FILE}.gz ${PATCH_DIR}
else
einfo "Skipping CVS (due to USE=nocvs)..."
fi
# die;
}
src_compile() {
local myconf="--disable-composer \
--with-x \
--with-system-jpeg \
--with-system-zlib \
--with-system-png \
--with-system-mng \
--disable-mailnews \
--disable-calendar \
--enable-xft \
--disable-pedantic \
--enable-mathml \
--without-system-nspr \
--enable-nspr-autoconf \
--enable-xsl \
--enable-crypto \
--enable-xinerama=no \
--with-java-supplement \
--with-pthreads \
--with-default-mozilla-five-home=${FIREBIRD_PATH} \
--with-user-appdir=.phoenix \
--disable-jsd \
--disable-accessibility \
--disable-tests \
--disable-debug \
--disable-dtd-debug \
--enable-reorder \
--enable-strip \
--enable-strip-libs \
--enable-cpp-rtti \
--enable-xterm-updates \
--disable-ldap"
if [ -n "`use gtk2`" ] ; then
myconf="${myconf} --enable-toolkit-gtk2 \
--enable-default-toolkit=gtk2 \
--disable-toolkit-qt \
--disable-toolkit-xlib \
--disable-toolkit-gtk"
else
myconf="${myconf} --enable-toolkit-gtk \
--enable-default-toolkit=gtk \
--disable-toolkit-qt \
--disable-toolkit-xlib \
--disable-toolkit-gtk2"
fi
# read that some problems crop up with gtk2 if logging is disabled
if [ -z "`use gtk2`" ] ; then
myconf="${myconf} --disable-logging"
fi
if [ -n "`use ipv6`" ] ; then
myconf="${myconf} --enable-ipv6"
fi
if [ -n "`use mozsvg`" ]; then
myconf="${myconf} --enable-svg"
else
myconf="${myconf} --disable-svg"
fi
CFLAGS="${CFLAGS} -s -fforce-addr"
CXXFLAGS="${CXXFLAGS} -s -fforce-addr -Wno-deprecated"
#replace-flags "-O2" "-Os"
#replace-flags "-O3" "-Os"
if [ "$(gcc-major-version)" -eq "3" ]; then
# Currently gcc-3.2 or older do not work well if we specify "-march"
# and other optimizations for pentium4.
# !! per comments on forum gcc 3.2.1 still has this issue
replace-flags "-march=pentium4" "-march=pentium3"
# Enable us to use flash, etc plugins compiled with gcc-2.95.3
if [ "${ARCH}" = "x86" ]; then
myconf="${myconf} --enable-old-abi-compat-wrappers"
fi
fi
einfo "Configuring Firebird..."
econf ${myconf} || die
edit_makefiles
einfo "Building Firebird..."
emake || die
}
pkg_preinst() {
# Remove the old plugins dir
[ -d /opt/mozillafirebird/plugins ] && rm -r /opt/mozillafirebird/plugins
}
src_install() {
einfo "Installing Firebird..."
dodir ${FIREBIRD_PATH}
cp -RL --no-preserve=links ${S}/dist/bin/* ${D}${FIREBIRD_PATH}
dobin ${FILESDIR}/mozillafirebird
# Move plugins dir
src_mv_plugins opt/mozillafirebird/plugins
}
|
17 May. 2003 - mozillafirebird (place in /usr/local/portage/net-www/mozillafirebird-cvs/files') *important*
Code: |
#!/bin/sh
export MOZILLA_FIVE_HOME="/opt/mozillafirebird"
FIREBIRD_PATH="/opt/mozillafirebird"
if [ -z "`/bin/ps x | /bin/grep \"[0-9] ${FIREBIRD_PATH}/MozillaFirebird-bin\"`" ]; then
# No firebird running
${FIREBIRD_PATH}/MozillaFirebird $@
else
# firebird running - open a new window
${FIREBIRD_PATH}/MozillaFirebird -remote "openURL($@ ,new-window)"
fi
|
If you find an error in this ebuild please say so in this thread and suggest a way to fix it, ie post only the fix, not a whole ebuild with the fix. I'll then add the fix to this one. This way we don't have to search through the entire thread to find the one we're looking for.
Last edited by nempo on Thu Jun 05, 2003 7:51 pm; edited 55 times in total |
|
Back to top |
|
|
pelux n00b
Joined: 21 Jun 2002 Posts: 20
|
Posted: Tue Dec 10, 2002 10:16 pm Post subject: errors :) |
|
|
I made the e-buidl, so i found some errors...
1) the netscape plugins doesn't works, so
this part is useless:
Code: |
pkg_preinst() {
pkg_mv_plugins ${PHOENIX_PATH}/lib/mozilla-1.3a/plugins
}
|
And for the previus part to work the nsplugins eclass should be modified (i submitted a bug, will let you know).
2) you can't use /usr/bin/phoenix-cvs to open a file (like setting it to open html in kde)
3) maybe there could be a problem with mozilla, so that if you unmerge phoenix-cvs, the mozilla plugins could stop working (but that also have to happend with phoenix-bin, have you try?), so you could have to emerge it again (mozilla)
Bye
Pelux |
|
Back to top |
|
|
nempo Guru
Joined: 16 Apr 2002 Posts: 360 Location: Linkoping, Sweden
|
Posted: Tue Dec 10, 2002 10:26 pm Post subject: Re: errors :) |
|
|
pelux wrote: | I made the e-buidl, so i found some errors...
1) the netscape plugins doesn't works, so
this part is useless:
Code: |
pkg_preinst() {
pkg_mv_plugins ${PHOENIX_PATH}/lib/mozilla-1.3a/plugins
}
|
And for the previus part to work the nsplugins eclass should be modified (i submitted a bug, will let you know).
2) you can't use /usr/bin/phoenix-cvs to open a file (like setting it to open html in kde)
3) maybe there could be a problem with mozilla, so that if you unmerge phoenix-cvs, the mozilla plugins could stop working (but that also have to happend with phoenix-bin, have you try?), so you could have to emerge it again (mozilla)
Bye
Pelux |
1. Ok.
2. Do you know why this is ?
3. I have no Idea, I don't use mozilla |
|
Back to top |
|
|
ebrostig Bodhisattva
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Tue Dec 10, 2002 10:31 pm Post subject: |
|
|
Is there a way to build Phoenix from source WITHOUT cvs access?
I'm behind a very nazi firewall and cvs has some of the worst proxy support I have seen, i.e non-existant Same goes for cvsup and other cvs tools.
Erik |
|
Back to top |
|
|
pelux n00b
Joined: 21 Jun 2002 Posts: 20
|
Posted: Tue Dec 10, 2002 10:45 pm Post subject: |
|
|
Quote: |
2. Do you know why this is ?
|
Becouse /usr/bin/phoenix-cvs is a bash script to open phoenix and not the exec itself.
Pelux |
|
Back to top |
|
|
pelux n00b
Joined: 21 Jun 2002 Posts: 20
|
Posted: Tue Dec 10, 2002 10:46 pm Post subject: |
|
|
ebrostig wrote: | Is there a way to build Phoenix from source WITHOUT cvs access?
I'm behind a very nazi firewall and cvs has some of the worst proxy support I have seen, i.e non-existant Same goes for cvsup and other cvs tools.
Erik |
Yes you could.
Simply modify the e-build to remove the cvs part but be sure to download the latest mozilla nightly tarball! (old ones does not work).
Pelux |
|
Back to top |
|
|
dreamer3 Guru
Joined: 24 Sep 2002 Posts: 553
|
Posted: Wed Dec 11, 2002 12:36 am Post subject: |
|
|
*** Comments removed as I was really semi-bashing this thread as "yet another phoenix thread" when it truly has become the best place for info on building Phoenix from CVS (and now the official Phoenix CVS thread of the forums as well) ***
Last edited by dreamer3 on Thu Dec 12, 2002 5:04 am; edited 1 time in total |
|
Back to top |
|
|
ebrostig Bodhisattva
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Wed Dec 11, 2002 12:36 am Post subject: |
|
|
pelux wrote: | ebrostig wrote: | Is there a way to build Phoenix from source WITHOUT cvs access?
I'm behind a very nazi firewall and cvs has some of the worst proxy support I have seen, i.e non-existant Same goes for cvsup and other cvs tools.
Erik |
Yes you could.
Simply modify the e-build to remove the cvs part but be sure to download the latest mozilla nightly tarball! (old ones does not work).
Pelux |
Duh!
Sometimes I'm sooo stupid!
Thanks for displaying my stupidity to the whole world! I'm currently compiling the whole shebang now.
Oh, one thing though, I'm using -march=pentium4 and it fails on at least 1 source while with a gcc error. The workaround is to copy the whole gcc line and change pentium4 to pentium3.
The file in question resides in /var/tmp/portage/phoenix-0.5/work/mozilla/js/src.
Code: |
gcc -o jsdtoa.o -c -DOSTYPE=\"Linux2.5\" -DOSARCH=\"Linux\" -DOJI -DEXPORT_JS_API -DJS_USE_SAFE_ARENA -I../../dist/include/js -I../../dist/include -I/var/tmp/portage/phoenix-0.5/work/mozilla/dist/include/nspr -I. -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -march=pentium4 -O2 -pipe -Wno-return-type -w -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -I/usr/X11R6/include -include ../../mozilla-config.h -DMOZILLA_CLIENT -Wp,-MD,.deps/jsdtoa.pp jsdtoa.c |
Your compile flags may vary of course.
After executing the command, just cd to:
/var/tmp/portage/phoenix-0.5/work/mozilla
and type make to continue.
Erik |
|
Back to top |
|
|
ebrostig Bodhisattva
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Wed Dec 11, 2002 1:09 am Post subject: |
|
|
Hmmmm...
I'm not sure if this is possible without cvs access.
Here is the error I'm getting on the toolkit part:
Code: |
make[2]: Entering directory `/var/tmp/portage/phoenix-0.5/work/mozilla/toolkit'
make[2]: *** No rule to make target `export'. Stop.
make[2]: Leaving directory `/var/tmp/portage/phoenix-0.5/work/mozilla/toolkit'
make[1]: *** [tier_9] Error 2
|
When I look into the toolkit subdirectory structure, it's empty.
Any hints, anyone?
Erik |
|
Back to top |
|
|
max_colby Tux's lil' helper
Joined: 30 Nov 2002 Posts: 149 Location: Ottawa, Canada
|
Posted: Wed Dec 11, 2002 1:41 am Post subject: |
|
|
Here's the code to change -march=pentium4 to -march=pentium3, from within the ebuild (taked from the mozilla-1.2.1-r1 ebuild)... as well as some other gcc3 related fixes that may or may not be neccessary (I really don't have time to test this at the moment ) also from the same ebuild
Code: | if [ "$(gcc-major-version)" -eq "3" ]
then
# If CXX is not set, 'c++' is used to compile and not 'g++', which
# could cause problems.
if [ -z "${CC}" -o -z "${CXX}" ]
then
eerror "CC or CXX are not set. This may be due to pkg_setup() not"
eerror "being run. Please file a bug report that include your portage"
eerror "version, USE flags and CFLAGS."
die "CC or CXX are not set!"
fi
# Currently gcc-3.2 or older do not work well if we specify "-march"
# and other optimizations for pentium4.
export CFLAGS="${CFLAGS/-march=pentium4/-march=pentium3}"
export CXXFLAGS="${CXXFLAGS/-march=pentium4/-march=pentium3}"
# Enable us to use flash, etc plugins compiled with gcc-2.95.3
if [ "${ARCH}" = "x86" ]
then
myconf="${myconf} --enable-old-abi-compat-wrappers"
fi
fi |
According to the Mozilla changelog, gcc 3.2.1 does not resolve this issue, so stripping -march=pentium4 is still neccessary. |
|
Back to top |
|
|
karl11 Guru
Joined: 25 Jun 2002 Posts: 469 Location: Raleigh, NC
|
Posted: Wed Dec 11, 2002 3:18 am Post subject: Netscape Plugins |
|
|
I build phoenix on my own from cvs every 2-3 days...I've been doing it since before the ebuild, and it's really cool to see someone do an ebuild for it. As for netscape plugins, you can still get them to work and have xft2 rendering. You will only need to change some lines in the ebuild (usually in the .mozconfig when you do it on your own):
ebuild should read like this:
--disable-toolkit-gtk2
--enable-toolkit-gtk
--enable-default-toolkit=gtk
You can easily figure out what to change from that...it's simply changing some enables to disables and changing the default tookit from gtk2 to gtk.
Then leave all the xft stuff in there and you'll have a gtk based phoenix, but the plugins will work...and with skins and xft2 this one is sweet
Karl
edit: For some reason, the nightly builds do not include the toolkit folder which is mandatory to build this against a widget set, thus it is impossible to my knowledge to build phoenix from a mozilla-nightly-build file. CVS it is.... |
|
Back to top |
|
|
dreamer3 Guru
Joined: 24 Sep 2002 Posts: 553
|
Posted: Wed Dec 11, 2002 9:00 am Post subject: |
|
|
*clipped from Compile your own phoenix browser thread*
Ok... here is exactly what a few people have asked for... and what I feel is a good thing never the less.
This is a CVS build of phoenix that almost EXACTLY duplicates the binary 0.50 ebuild available in the portage tree (file locations, which files are included, new plugin symlinks, etc). However, it includes xft2 and is compiled from source like we all want...
If no one has a problem with it, perhaps all of us that have posted other ebuilds could go and edit them out to help with those visiting this thread for the first time...
The only thing it doesn't do is update the ENTIRE CVS tree, it only updates the phoenix specific stuff. That cause I'm on a dialup link and I update the rest of the file on my own. Feel free to change that one section though.
This _should_ also be a lot smaller than previous ebuilds as it doesn't toss include files and all sorts of other stuff across your HD.
Get it here
P.S. nempo, I'm honestly not trying to split things up and wreck chaos hopefully maybe we can agree on the merits of this last ebuild... |
|
Back to top |
|
|
nempo Guru
Joined: 16 Apr 2002 Posts: 360 Location: Linkoping, Sweden
|
Posted: Wed Dec 11, 2002 11:05 am Post subject: |
|
|
dreamer3 wrote: | *clipped from Compile your own phoenix browser thread*
Ok... here is exactly what a few people have asked for... and what I feel is a good thing never the less.
This is a CVS build of phoenix that almost EXACTLY duplicates the binary 0.50 ebuild available in the portage tree (file locations, which files are included, new plugin symlinks, etc). However, it includes xft2 and is compiled from source like we all want...
If no one has a problem with it, perhaps all of us that have posted other ebuilds could go and edit them out to help with those visiting this thread for the first time...
The only thing it doesn't do is update the ENTIRE CVS tree, it only updates the phoenix specific stuff. That cause I'm on a dialup link and I update the rest of the file on my own. Feel free to change that one section though.
This _should_ also be a lot smaller than previous ebuilds as it doesn't toss include files and all sorts of other stuff across your HD.
Get it here
P.S. nempo, I'm honestly not trying to split things up and wreck chaos hopefully maybe we can agree on the merits of this last ebuild... |
I updated the 'main' post to reflect your ebuild and other helpfull files you posted. Please tell me if I missed something.
I started this thread to end all the 'chaos'. Hopefully the other one will be abandoned soon. Just don't start posting complete ebuilds here, there's already enough confusion in the other thread. |
|
Back to top |
|
|
dreamer3 Guru
Joined: 24 Sep 2002 Posts: 553
|
Posted: Wed Dec 11, 2002 11:24 am Post subject: |
|
|
nempo wrote: | I update the 'main' post to reflect your ebuild and other helpfull files you posted. Please tell me if I missed something.
I started this thread to end all the 'chaos'. Hopefully the other one will be abandoned soon. Just don't start posting complete ebuilds here, there's already enough confusion in the other thread. |
I sent you two corrections in PMs... It looks great if you can get those taken care of. I like what you're doing... if we can just keep the first message up-to-date with everything I think this could be an awesome resource... I really like my new .ebuild too. Feels "clean".
Last edited by dreamer3 on Wed Dec 11, 2002 11:38 am; edited 1 time in total |
|
Back to top |
|
|
nempo Guru
Joined: 16 Apr 2002 Posts: 360 Location: Linkoping, Sweden
|
Posted: Wed Dec 11, 2002 11:30 am Post subject: |
|
|
Please ignore, I just read the pm.
dreamer3 wrote: |
For anytone reading this the line that says the following (in the ebuild) should be COMMENTED out or removed.
Code: | make DESTDIR=${D} install || die |
It looks great if you can get those taken care of. I like what you're doing... if we can just keep the first message up-to-date with everything I think this could be an awesome resource... I really like my new .ebuild too. Feels "clean". |
Im pretty tired atm. so please explain this, isn't this the line that actually installs everything ? |
|
Back to top |
|
|
dreamer3 Guru
Joined: 24 Sep 2002 Posts: 553
|
Posted: Wed Dec 11, 2002 11:43 am Post subject: |
|
|
nempo wrote: | Code: | make DESTDIR=${D} install || die |
Im pretty tired atm. so please explain this, isn't this the line that actually installs everything ? |
Ok, that's the line that INSTALLS all the bloat and the multi-layed /usr/lib/phoenix/lib/mozilla-1.3a/..., include files, all sorts of stuff you don't really need if you aren't developing against phoenix.
However as phoenix is compiling a whole bunch of symlinks and other stuff get placed in source/dist/bin. This is a folder specifically designed for building RPMs or binary packages. It's what you get when you download the binary off of mozilla's website... it's what you get with phoenix-bin in portage.
So all the ebuild really does it create a nice, tidy binary distribution customized with your use flags and compiler settings. Pretty sweet, eh? I found out about source/dist/bin on mozilla's forums. |
|
Back to top |
|
|
phong Bodhisattva
Joined: 16 Jul 2002 Posts: 778 Location: Michigan - 15 & Ryan
|
Posted: Wed Dec 11, 2002 5:03 pm Post subject: |
|
|
Ok, in order to sort out the mess with the different threads about Phoenix, we've decided to make three official Phoenix threads:
Compiling Phoenix from release source
Compiling Phoenix from CVS
Installing Phoenix from binaries (ebuilds in portage)
This thread has been designaed as the official spot for discussion of compiling Phoenix from CVS. For discussion of the other two topics, please refer to the other threads. _________________ "An empty head is not really empty; it is stuffed with rubbish. Hence the difficulty of forcing anything into an empty head."
-- Eric Hoffer |
|
Back to top |
|
|
pelux n00b
Joined: 21 Jun 2002 Posts: 20
|
Posted: Wed Dec 11, 2002 5:55 pm Post subject: |
|
|
I have used the ebuild and it works fine... only two problems:
1) i have used the gtk2 option but i can't change the font dimension nor type of phoenix (not of the rendere pages, of phoenix itself) using switch2 (it works fine for all the other gtk2 apps)
2) would it be possible to have normal user install extensions? I can't do it as i have no write permission to ....chrome/ and i dont' want to (as it would compromise portage ability to unmerge it). Is there a compile option to give users the ability to do so? Only installing themes works fine.
Thanks
Pelux |
|
Back to top |
|
|
martinianakiev n00b
Joined: 04 Sep 2002 Posts: 15
|
Posted: Wed Dec 11, 2002 6:13 pm Post subject: how to compile the build? |
|
|
ok I am obviously missing something here. How do i get this ebuild to work? i copied it to my local portage dir, and named it phoenix-cvs.ebuild. Then when I try to do ebuild phoenix-cvs.ebuild digest I get this:
!!! Error: PF is null; exiting.
I know it must be something I am missing because I tried to install all 3 phoenix ebuilds and neither one worked. |
|
Back to top |
|
|
ebrostig Bodhisattva
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Wed Dec 11, 2002 7:23 pm Post subject: |
|
|
pelux wrote: | ebrostig wrote: | Is there a way to build Phoenix from source WITHOUT cvs access?
I'm behind a very nazi firewall and cvs has some of the worst proxy support I have seen, i.e non-existant Same goes for cvsup and other cvs tools.
Erik |
Yes you could.
Simply modify the e-build to remove the cvs part but be sure to download the latest mozilla nightly tarball! (old ones does not work).
Pelux |
After a little research, I found that this is NOT possible.
The Phoenix related stuff is only in the cvs-tree, ergo not possible to build without cvs access.
(Screaming) Phoenix developers start using Bitkeeper! It handles proxies and firewalls while cvs is totally braindead.
Erik |
|
Back to top |
|
|
sanne n00b
Joined: 31 Jul 2002 Posts: 30 Location: france
|
Posted: Thu Dec 12, 2002 4:17 am Post subject: Depend's |
|
|
Hi.
Great ebuilds... they should also contain a Rdepend
for libIDL , otherwise will broke the build.
Thanks. |
|
Back to top |
|
|
dreamer3 Guru
Joined: 24 Sep 2002 Posts: 553
|
Posted: Thu Dec 12, 2002 4:49 am Post subject: |
|
|
pelux wrote: | I have used the ebuild and it works fine... only two problems:
1) i have used the gtk2 option but i can't change the font dimension nor type of phoenix (not of the rendere pages, of phoenix itself) using switch2 (it works fine for all the other gtk2 apps) |
Don't know here, I've heard of nothing but problems resulting from compiling Phoenix against gtk2. Have you tried compiled against just gtk1 or is there some reason you really want it compiled against gtk2? My pheonix (gtk1) seems to use the font selected in the config under sans-serif for all the menus and dialog boxes (at least it did as of 0.4, not sure about 0.5). Kind of confusing, but I have it set to a font I like now, so all works well.
Quote: | 2) would it be possible to have normal user install extensions? I can't do it as i have no write permission to ....chrome/ and i dont' want to (as it would compromise portage ability to unmerge it). Is there a compile option to give users the ability to do so? Only installing themes works fine. |
You should be able to install pretty much anything in your local Phoenix profile in your home directory. Anything outside of that would have to be created in an ebuild so that Portage could keep track of it. I really don't understand what you're asking though (maybe cause I'm happy with Pheonix out of the box)... maybe if you explained a little more I could help. |
|
Back to top |
|
|
dreamer3 Guru
Joined: 24 Sep 2002 Posts: 553
|
Posted: Thu Dec 12, 2002 4:51 am Post subject: |
|
|
ebrostig wrote: | After a little research, I found that this is NOT possible.
The Phoenix related stuff is only in the cvs-tree, ergo not possible to build without cvs access. |
It it possible that the nightly source tarball might be non-compileable from time to time, but otherwise the nightly tarball is _more_ than sufficient for compiling Phoenix if you don't need the LATEST (as in to the hour) updates.
Simply remove the CVS line from the ebuild... or leave it and let it fail, the ebuild should continue... If the source doesn't compile one night, wait for the next nightly, but this is quite possible. |
|
Back to top |
|
|
dreamer3 Guru
Joined: 24 Sep 2002 Posts: 553
|
Posted: Thu Dec 12, 2002 4:54 am Post subject: Re: how to compile the build? |
|
|
martinianakiev wrote: | ok I am obviously missing something here. How do i get this ebuild to work? i copied it to my local portage dir, and named it phoenix-cvs.ebuild. Then when I try to do ebuild phoenix-cvs.ebuild digest I get this:
!!! Error: PF is null; exiting.
I know it must be something I am missing because I tried to install all 3 phoenix ebuilds and neither one worked. |
The file must be named phoenix-cvs-0.5-r1.ebuild... Certain parts of most ebuilds use the name of the file to learn things about themselves, determine which version of source to download, etc...
nempo: can you add this note to the original message? |
|
Back to top |
|
|
dreamer3 Guru
Joined: 24 Sep 2002 Posts: 553
|
Posted: Thu Dec 12, 2002 4:59 am Post subject: Re: Depend's |
|
|
sanne wrote: | Great ebuilds... they should also contain a Rdepend
for libIDL , otherwise will broke the build. |
Nempo: this sounds right on target. could you please add to the RDEPEND of the ebuild: Code: | >=dev-libs/libIDL-0.8.0 |
Phoenix definatly compiled a bunch of IDL files and this is a dependency that Mozilla 1.2.1 has in it's ebuild. |
|
Back to top |
|
|
|