From owner-freebsd-questions Fri Jun 14 11: 5:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from shockwave.systems.pipex.net (shockwave.systems.pipex.net [62.190.223.9]) by hub.freebsd.org (Postfix) with ESMTP id 9112D37B400; Fri, 14 Jun 2002 11:04:44 -0700 (PDT) Received: from ThisAddressDoesNotExist (userhh092.dsl.pipex.com [62.190.215.92]) by shockwave.systems.pipex.net (Postfix) with ESMTP id 0800616000B1C; Fri, 14 Jun 2002 19:04:41 +0100 (BST) Subject: Re: xscreensaver-gnome-4.05 install fails From: Stacey Roberts Reply-To: sroberts@dsl.pipex.com To: Joe Marcus Clarke Cc: Mike Harding , dnelson@allantgroup.com, FreeBSD-Questions , freebsd-gnome@FreeBSD.ORG In-Reply-To: <1024069086.311.17.camel@gyros.marcuscom.com> References: <1024001369.357.4.camel@Demon.Strobe.org> <1024001948.311.110.camel@gyros.marcuscom.com> <1024002434.357.11.camel@Demon.Strobe.org> <1024002658.311.118.camel@gyros.marcuscom.com> <20020613212625.GA21232@dan.emsphone.com> <1024004575.311.124.camel@gyros.marcuscom.com> <1024006176.357.16.camel@Demon.Strobe.org> <20020613230936.GA34783@dan.emsphone.com> <20020614045314.F37321310A@netcom1.netcom.com> <1024030968.355.22.camel@gyros.marcuscom.com> <20020614153358.ECBED13107@netcom1.netcom.com> <1024069086.311.17.camel@gyros.marcuscom.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-dUQK/7U1J75BEnd4Tww5" X-Mailer: Ximian Evolution 1.0.5 Date: 14 Jun 2002 19:04:41 +0100 Message-Id: <1024077883.357.21.camel@Demon.Strobe.org> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-dUQK/7U1J75BEnd4Tww5 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Okay, so I decided to go with upgrading gtk-1.2.10_5 instead of editing the gtk file. But I then get the following error even before anything starts: # portupgrade -R gtk-1.2.10_5 Stale dependency: gtk-1.2.10_5 --> XFree86-libraries-4.2.0_1 -- manually run 'pkgdb -F' to fix (-O disallowed when -R is given). #=20 Now, I ran into problems with this pkgdb -F command before, that resulted in lots of gnome stuff breaking. In particular, where it relates to the stale dependancy -> XFree86-4 stuff.., Is this / has the above error been looked at? Stacey On Fri, 2002-06-14 at 16:38, Joe Marcus Clarke wrote: > On Fri, 2002-06-14 at 11:33, Mike Harding wrote: > >=20 > > Does appear to work, although the screensaver 'tab' in the > > configuration tool has no icon... >=20 > Yeah, that's because the icons are installed in share/gnome/xscreensaver > instead of share/gnome/pixmaps, and there is no pixmap specified for the > icon. Can you edit > share/gnome/control-center/Desktop/screensaver-properties.desktop, and > add the full path to xscreensaver.xpm? That should work. If it does, > I'll send dougb my patches, and see what he thinks. >=20 > Joe >=20 > >=20 > > - Mike H. > >=20 > > X-Authentication-Warning: gyros.marcuscom.com: marcus set sender to = marcus@marcuscom.com using -f > > From: Joe Marcus Clarke > > Cc: dnelson@allantgroup.com, sroberts@dsl.pipex.com, > > freebsd-questions@FreeBSD.ORG, freebsd-gnome@FreeBSD.ORG > > Date: 14 Jun 2002 01:02:48 -0400 > > X-Spam-Status: No, hits=3D-7.0 required=3D5.0 tests=3DIN_REP_TO,UNIF= IED_PATCH,AWL version=3D2.20 > > X-Spam-Level:=20 > >=20 > >=20 > > --=3D-ahyKUYqmNYYS0CnW4P50 > > Content-Type: text/plain > > Content-Transfer-Encoding: 7bit > >=20 > > On Fri, 2002-06-14 at 00:53, Mike Harding wrote: > > >=20 > > > I still see no way to configure the screensave on the gnome config > > > center... > >=20 > > Can you try this patch-ab, and see if it resolves the problem? Simp= ly > > drop this file in /usr/ports/x11/xscreensaver/files, and build > > xscreensaver-gnome. > >=20 > > Joe > >=20 > > >=20 > > >=20 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-gnome" in the body of the message > > >=20 > > --=20 > > PGP Key : http://www.marcuscom.com/pgp.asc > >=20 > > --=3D-ahyKUYqmNYYS0CnW4P50 > > Content-Disposition: attachment; filename=3Dpatch-ab > > Content-Transfer-Encoding: quoted-printable > > Content-Type: text/plain; name=3Dpatch-ab; charset=3DISO8859-1 > >=20 > > --- configure.orig Tue Jun 11 05:09:04 2002 > > +++ configure Fri Jun 14 01:00:58 2002 > > @@ -12929,7 +12929,7 @@ > > else > > GNOME_DATADIR=3D3D`$gtk_config --prefix` > > fi > > - GNOME_DATADIR=3D3D"$GNOME_DATADIR/share" > > + GNOME_DATADIR=3D3D"$GNOME_DATADIR/share/gnome" > > fi > > =3D20 > > # .desktop files go in different places in Gnome 1.x and Gnome 2.= x... > > @@ -14240,18 +14240,18 @@ > > GL_LIBS=3D3D"" > > =3D20 > > =3D20 > > - # Some versions of MesaGL are compiled to require -lpthread. > > - # So if the Mesa headers exist, and -lpthread exists, then alwa= ys > > - # link -lpthread after the Mesa libs (be they named -lGL or -lM= esaGL.) > > + # Some versions of MesaGL are compiled to require "-pthread". > > + # So if the Mesa headers exist, and "-pthread" exists, then alw= ays > > + # link "-pthread" after the Mesa libs (be they named -lGL or -l= MesaGL.=3D > > ) > > # > > if test "$ac_have_mesa_gl" =3D3D yes; then > > - echo "$as_me:$LINENO: checking for pthread_create in -lpthrea= d" >&5 > > -echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" = >&6 > > + echo "$as_me:$LINENO: checking for pthread_create in "-pthrea= d"" >&5 > > +echo $ECHO_N "checking for pthread_create in "-pthread"... $ECHO_C"= >&6 > > if test "${ac_cv_lib_pthread_pthread_create+set}" =3D3D set; then > > echo $ECHO_N "(cached) $ECHO_C" >&6 > > else > > ac_check_lib_save_LIBS=3D3D$LIBS > > -LIBS=3D3D"-lpthread $LIBS" > > +LIBS=3D3D""-pthread" $LIBS" > > cat >conftest.$ac_ext <<_ACEOF > > #line $LINENO "configure" > > #include "confdefs.h" > > @@ -14301,7 +14301,7 @@ > > echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&= 5 > > echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6 > > if test $ac_cv_lib_pthread_pthread_create =3D3D yes; then > > - GL_LIBS=3D3D"-lpthread" > > + GL_LIBS=3D3D""-pthread"" > > fi > > =3D20 > > fi > > @@ -17491,13 +17491,13 @@ > > # Now that we know whether we have Gnome, we can decide where the X= ML > > # config files get installed. > > # > > -if test -z "$HACK_CONF_DIR" ; then > > - if test -n "$GNOME_DATADIR" ; then > > - HACK_CONF_DIR=3D3D'${GNOME_DATADIR}/control-center/screensavers= ' > > - else > > - HACK_CONF_DIR=3D3D'${prefix}/lib/xscreensaver/config' > > - fi > > -fi > > +#if test -z "$HACK_CONF_DIR" ; then > > +# if test -n "$GNOME_DATADIR" ; then > > +# HACK_CONF_DIR=3D3D'${GNOME_DATADIR}/control-center/screensaver= s' > > +# else > > +# HACK_CONF_DIR=3D3D'${prefix}/lib/xscreensaver/config' > > +# fi > > +#fi > > =3D20 > > =3D20 > > =3D20 > >=20 > > --=3D-ahyKUYqmNYYS0CnW4P50-- > >=20 > >=20 > --=20 > PGP Key : http://www.marcuscom.com/pgp.asc >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message --=20 Stacey Roberts B.Sc. (HONS) Computer Science Network Systems Engineer --=-dUQK/7U1J75BEnd4Tww5 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Okay, so I decided to go with upgrading gtk-1.2.10_5 instead of editing the gtk file. But I then get the following error even before anything starts: # portupgrade -R gtk-1.2.10_5 Stale dependency: gtk-1.2.10_5 --> XFree86-libraries-4.2.0_1 -- manually run 'pkgdb -F' to fix (-O disallowed when -R is given). #=20 Now, I ran into problems with this pkgdb -F command before, that resulted in lots of gnome stuff breaking. In particular, where it relates to the stale dependancy -> XFree86-4 stuff.., Is this / has the above error been looked at? Stacey On Fri, 2002-06-14 at 16:38, Joe Marcus Clarke wrote: > On Fri, 2002-06-14 at 11:33, Mike Harding wrote: > >=20 > > Does appear to work, although the screensaver 'tab' in the > > configuration tool has no icon... >=20 > Yeah, that's because the icons are installed in share/gnome/xscreensaver > instead of share/gnome/pixmaps, and there is no pixmap specified for the > icon. Can you edit > share/gnome/control-center/Desktop/screensaver-properties.desktop, and > add the full path to xscreensaver.xpm? That should work. If it does, > I'll send dougb my patches, and see what he thinks. >=20 > Joe >=20 > >=20 > > - Mike H. > >=20 > > X-Authentication-Warning: gyros.marcuscom.com: marcus set sender to = marcus@marcuscom.com using -f > > From: Joe Marcus Clarke > > Cc: dnelson@allantgroup.com, sroberts@dsl.pipex.com, > > freebsd-questions@FreeBSD.ORG, freebsd-gnome@FreeBSD.ORG > > Date: 14 Jun 2002 01:02:48 -0400 > > X-Spam-Status: No, hits=3D-7.0 required=3D5.0 tests=3DIN_REP_TO,UNIF= IED_PATCH,AWL version=3D2.20 > > X-Spam-Level:=20 > >=20 > >=20 > > --=3D-ahyKUYqmNYYS0CnW4P50 > > Content-Type: text/plain > > Content-Transfer-Encoding: 7bit > >=20 > > On Fri, 2002-06-14 at 00:53, Mike Harding wrote: > > >=20 > > > I still see no way to configure the screensave on the gnome config > > > center... > >=20 > > Can you try this patch-ab, and see if it resolves the problem? Simp= ly > > drop this file in /usr/ports/x11/xscreensaver/files, and build > > xscreensaver-gnome. > >=20 > > Joe > >=20 > > >=20 > > >=20 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-gnome" in the body of the message > > >=20 > > --=20 > > PGP Key : http://www.marcuscom.com/pgp.asc > >=20 > > --=3D-ahyKUYqmNYYS0CnW4P50 > > Content-Disposition: attachment; filename=3Dpatch-ab > > Content-Transfer-Encoding: quoted-printable > > Content-Type: text/plain; name=3Dpatch-ab; charset=3DISO8859-1 > >=20 > > --- configure.orig Tue Jun 11 05:09:04 2002 > > +++ configure Fri Jun 14 01:00:58 2002 > > @@ -12929,7 +12929,7 @@ > > else > > GNOME_DATADIR=3D3D`$gtk_config --prefix` > > fi > > - GNOME_DATADIR=3D3D"$GNOME_DATADIR/share" > > + GNOME_DATADIR=3D3D"$GNOME_DATADIR/share/gnome" > > fi > > =3D20 > > # .desktop files go in different places in Gnome 1.x and Gnome 2.= x... > > @@ -14240,18 +14240,18 @@ > > GL_LIBS=3D3D"" > > =3D20 > > =3D20 > > - # Some versions of MesaGL are compiled to require -lpthread. > > - # So if the Mesa headers exist, and -lpthread exists, then alwa= ys > > - # link -lpthread after the Mesa libs (be they named -lGL or -lM= esaGL.) > > + # Some versions of MesaGL are compiled to require "-pthread". > > + # So if the Mesa headers exist, and "-pthread" exists, then alw= ays > > + # link "-pthread" after the Mesa libs (be they named -lGL or -l= MesaGL.=3D > > ) > > # > > if test "$ac_have_mesa_gl" =3D3D yes; then > > - echo "$as_me:$LINENO: checking for pthread_create in -lpthrea= d" >&5 > > -echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" = >&6 > > + echo "$as_me:$LINENO: checking for pthread_create in "-pthrea= d"" >&5 > > +echo $ECHO_N "checking for pthread_create in "-pthread"... $ECHO_C"= >&6 > > if test "${ac_cv_lib_pthread_pthread_create+set}" =3D3D set; then > > echo $ECHO_N "(cached) $ECHO_C" >&6 > > else > > ac_check_lib_save_LIBS=3D3D$LIBS > > -LIBS=3D3D"-lpthread $LIBS" > > +LIBS=3D3D""-pthread" $LIBS" > > cat >conftest.$ac_ext <<_ACEOF > > #line $LINENO "configure" > > #include "confdefs.h" > > @@ -14301,7 +14301,7 @@ > > echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&= 5 > > echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6 > > if test $ac_cv_lib_pthread_pthread_create =3D3D yes; then > > - GL_LIBS=3D3D"-lpthread" > > + GL_LIBS=3D3D""-pthread"" > > fi > > =3D20 > > fi > > @@ -17491,13 +17491,13 @@ > > # Now that we know whether we have Gnome, we can decide where the X= ML > > # config files get installed. > > # > > -if test -z "$HACK_CONF_DIR" ; then > > - if test -n "$GNOME_DATADIR" ; then > > - HACK_CONF_DIR=3D3D'${GNOME_DATADIR}/control-center/screensavers= ' > > - else > > - HACK_CONF_DIR=3D3D'${prefix}/lib/xscreensaver/config' > > - fi > > -fi > > +#if test -z "$HACK_CONF_DIR" ; then > > +# if test -n "$GNOME_DATADIR" ; then > > +# HACK_CONF_DIR=3D3D'${GNOME_DATADIR}/control-center/screensaver= s' > > +# else > > +# HACK_CONF_DIR=3D3D'${prefix}/lib/xscreensaver/config' > > +# fi > > +#fi > > =3D20 > > =3D20 > > =3D20 > >=20 > > --=3D-ahyKUYqmNYYS0CnW4P50-- > >=20 > >=20 > --=20 > PGP Key : http://www.marcuscom.com/pgp.asc >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message - --=20 Stacey Roberts B.Sc. (HONS) Computer Science Network Systems Engineer -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQA/AwUBPQowN/dn4A8qiCO5EQLBsACcD9QXP85bL9fW98/Cav2Ym364i3EAn1FC D6HnFQjI7fwB5h7Gry064ZFv =/da7 -----END PGP SIGNATURE----- --=-dUQK/7U1J75BEnd4Tww5-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message