Subject: Re: Re: Re: {pkgsrc-users} Error building misc/openoffice2 with
To: Brian de Alwis <bsd@cs.ubc.ca>
From: Joel CARNAT <joel@carnat.net>
List: pkgsrc-users
Date: 03/16/2007 00:01:11
--jI8keyz6grp/JLjh
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 15 2007 - 15:43, Brian de Alwis wrote:
> Hi Joel.  I hope you aren't interpreting the terseness of my reply
> to indicate expertise on my part :-)

yes I did :-)

>=20
> But I think you should be able to back out your patch entirely,
> and just defining your browser as `firefox' should be sufficient.

well... after a bunch of "make clean; rm and cvs up", it seems to start
compilling OK ("=3D> Required installed package firefox>=3D1.5.0.1nb1:
firefox-2.0.0.2 found"). I still don't know what I did wrong last
time... Perhaps I had not firefox already installed before compiling
OpenOffice and the issue appeared when I tried to update to firefox2.

> I'm about to try it myself, but even at a 100k/s, it's a sloooow
> download.

heh, even @56Kbits, download is the shortest part ;-)

>=20
> Brian.
>=20
> On 2007.03.15 22:24:12 +0100, Joel CARNAT wrote:
> > OK. Do you know a pkgsrc example of such a thing ?
> > Because I looked at gcc and python and didn't understood how to handle
> > both version. Should it be handle like www/firefox-bin and its
> > MOZILLA_USE_LINUX variable ?
> >=20
> > TIA,
> > 	Jo
> >=20
> > On Thu, Mar 15 2007 - 14:27, Brian de Alwis wrote:
> > > www/firefox2/buildlink3.mk was a mistake and should be removed.
> > > www/firefox/buildlink3.mk should handle both firefox 1.X and 2.X.
> > >=20
> > > Brian.
> > >=20
> > > On 2007.03.15 14:41:22 +0100, Joel CARNAT wrote:
> > > > Hi,
> > > >=20
> > > > as I am already using www/firefox2, I modified misc/openoffice2 fil=
es as
> > > > follow:
> > > > *****************************************************************
> > > > --- options.mk.orig     2007-03-13 21:16:51.000000000 +0100
> > > > +++ options.mk  2007-03-13 21:22:36.000000000 +0100
> > > > @@ -4,5 +4,5 @@
> > > >  PKG_SUPPORTED_OPTIONS=3D         cups gnome gtk2 # kde
> > > >  PKG_OPTIONS_REQUIRED_GROUPS=3D   browser lang
> > > > -PKG_OPTIONS_GROUP.browser=3D     firefox firefox-gtk1 seamonkey se=
amonkey-gtk1
> > > > +PKG_OPTIONS_GROUP.browser=3D     firefox firefox2 firefox-gtk1 sea=
monkey
> > > > seamonkey-gtk1
> > > >  OO_SUPPORTED_LANGUAGES=3D                en-US af as-IN be-BY bg b=
r bs ca
> > > > cs cy da de \
> > > >                                 el en-GB en-ZA eo es et fa fi fr ga=
 gu-IN
> > > > he \
> > > > @@ -28,4 +28,9 @@
> > > >  .endif
> > > >=20
> > > > +.if !empty(PKG_OPTIONS:Mfirefox2)
> > > > +.include "../../www/firefox2/buildlink3.mk"
> > > > +CONFIGURE_ARGS+=3D       --with-system-mozilla --with-firefox
> > > > +.endif
> > > > +
> > > >  .if !empty(PKG_OPTIONS:Mfirefox-gtk1)
> > > >  .include "../../www/firefox-gtk1/buildlink3.mk"
> > > > *****************************************************************
> > > >=20
> > > > When compilling OOo, I get the following error:
> > > > =3D> Required installed package firefox2>=3D2.0: NOT found
> > > > =3D> Verifying package for ../../www/firefox2
> > > > ERROR: [depends.mk] A package matching ``firefox2>=3D2.0'' should
> > > > ERROR:     be installed, but one cannot be found.  Perhaps there is=
 a
> > > > ERROR:     stale work directory for ../../www/firefox2?
> > > > *** Error code 1
> > > >=20
> > > > Stop.
> > > > make: stopped in /home/cvs/pkgsrc/misc/openoffice2
> > > > *** Error code 1
> > > >=20
> > > > This seem to be because www/firefox2 is registered as firefox-2.x:
> > > > #  pkg_info | grep firefox
> > > > firefox-2.0.0.2     Lightweight gecko-based web browser
> > > >=20
> > > > I'm not sure what has to be modified (and how).
> > > > >From what I understood buildlink3 refers to firefox2 but Makefile =
refers
> > > > to www/firefox. Is it www/firefox2/buildlink3.mk file or
> > > > www/firefox2/Makefile ?
> > > >=20
> > > > TIA,
> > > >      Jo
> > >=20
> > > --=20
> > >   Brian de Alwis | Software Practices Lab | UBC | http://www.cs.ubc.c=
a/~bsd/
> > >       "Amusement to an observing mind is study." - Benjamin Disraeli
>=20
>=20
>=20
> --=20
>   Brian de Alwis | Software Practices Lab | UBC | http://www.cs.ubc.ca/~b=
sd/
>       "Amusement to an observing mind is study." - Benjamin Disraeli

--jI8keyz6grp/JLjh
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)

iD8DBQFF+dA30/VH7L7F7Y4RAq3mAKCF03rxvwkTmNCvfVutGjOnm4L5LQCfepGA
oOfSzMDICvVylNRFZRt78yY=
=1tgi
-----END PGP SIGNATURE-----

--jI8keyz6grp/JLjh--