Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Nov 2004 19:35:52 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Palle Girgensohn <girgen@pingpong.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: gnome-update script halts on thunderbird (installing default themes?)
Message-ID:  <419BEE68.7040304@marcuscom.com>
In-Reply-To: <D2F8063B0A81D06C11F05564@palle.girgensohn.se>
References:  <D2F8063B0A81D06C11F05564@palle.girgensohn.se>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------060307040301080407020204
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Palle Girgensohn wrote:
| Hi!
|
| When running the gnome-update-script, it upgrades thunderbird,
| naturally. When thunderbird installs, it runs X (through Xvfb, neat
| trick) to do some default installation of themes. Check below, halts on
| »Building Chrome's registry«. I ran the same command on a regular X
| DISPLAY, and it shows that there's a dialogue, where the user (=root) is
| asked whether he/she want's to import settings/stuff from netscape6,
| mozilla, or not import. That's where the installation hangs, it seems.
| Hard to klick a button in Xvfb. ;-)
|
| I just kill the script:
|
| tomat:tmp# ps ax|grep thunder
|  375  p0  I+     0:25,38 ruby18: portupgrade: [15/131] thunderbird-0.9_2
| (ruby18)
| 46076  p2  I+     0:00,00 /bin/sh -ec cd /usr/ports/mail/thunderbird &&
| DEPENDS_TARGET="reinstall" make install
| 50751  p2  I+     0:00,01 /bin/sh
| /usr/local/obj/usr/ports/mail/thunderbird/work/pkg-install
| thunderbird-0.9_2 PO
| 50767  p2  I+     0:00,03 /usr/X11R6/bin/xinit
| /usr/X11R6/lib/thunderbird/lib/thunderbird-0.9/run-mozilla.sh /usr
| 50769  p2  I      0:00,01 /bin/sh
| /usr/X11R6/lib/thunderbird/lib/thunderbird-0.9/run-mozilla.sh
| /usr/X11R6/lib/th
| 50773  p2  S      0:02,96
| /usr/X11R6/lib/thunderbird/lib/thunderbird-0.9/thunderbird-bin
| -install-global-extensio
| 50879  p4  S+     0:00,00 grep thunder
| tomat:tmp# kill 50769
|
| and of it goes and continues the installation, successfully installing
| thunderbird and heading on with other gnome ports.
|
| Anything that can be done to fix this? Ideas?
|
| Palle
|
| ...
|
|
| /usr/local/obj/usr/ports/mail/thunderbird/work/mozilla/config/nsinstall
| -t -m 644 ../../dist/branding/default.xpm
|
/usr/local/obj/usr/ports/mail/thunderbird/work/fake/lib/thunderbird/lib/thunderbird-0.9/icons

|
| /usr/local/obj/usr/ports/mail/thunderbird/work/mozilla/config/nsinstall
| -t thunderbird /usr/local/obj/usr/ports/ma
| il/thunderbird/work/fake/lib/thunderbird/bin
| /usr/local/obj/usr/ports/mail/thunderbird/work/mozilla/config/nsinstall
| -t -m 644 ../../dist/branding/mozicon50.xp
| m ../../dist/branding/mozicon16.xpm
|
/usr/local/obj/usr/ports/mail/thunderbird/work/fake/lib/thunderbird/lib/thund

|
| erbird-0.9/icons
| /usr/local/obj/usr/ports/mail/thunderbird/work/mozilla/config/nsinstall
| -t -m 644 profile/prefs.js /usr/local/obj/
| usr/ports/mail/thunderbird/work/fake/lib/thunderbird/bin/defaults/profile
| gmake[2]: Leaving directory
| `/usr/local/obj/usr/ports/mail/thunderbird/work/mozilla/mail/app'
| gmake[1]: Leaving directory
| `/usr/local/obj/usr/ports/mail/thunderbird/work/mozilla/mail'
| gmake[1]: Entering directory
|
`/usr/local/obj/usr/ports/mail/thunderbird/work/mozilla/xpfe/bootstrap/init.d'

|
| /usr/local/obj/usr/ports/mail/thunderbird/work/mozilla/config/nsinstall
| -t -m 644 README /usr/local/obj/usr/ports/
| mail/thunderbird/work/fake/lib/thunderbird/lib/thunderbird-0.9/init.d
| gmake[1]: Leaving directory
|
`/usr/local/obj/usr/ports/mail/thunderbird/work/mozilla/xpfe/bootstrap/init.d'

|
| gmake[1]: Entering directory
|
`/usr/local/obj/usr/ports/mail/thunderbird/work/mozilla/embedding/browser/gtk'

|
| gmake[2]: Entering directory
|
`/usr/local/obj/usr/ports/mail/thunderbird/work/mozilla/embedding/browser/gtk/src'

|
| /usr/local/obj/usr/ports/mail/thunderbird/work/mozilla/config/nsinstall
| -t -m 644 gtkmozembed.h gtkmozembed_intern
| al.h
|
/usr/local/obj/usr/ports/mail/thunderbird/work/fake/lib/thunderbird/include/thunderbird-0.9/gtkembedmoz

|
| /usr/local/obj/usr/ports/mail/thunderbird/work/mozilla/config/nsinstall
| -t -m 755 libgtkembedmoz.so  /usr/local/ob
| j/usr/ports/mail/thunderbird/work/fake/lib/thunderbird/lib/thunderbird-0.9
| gmake[2]: Leaving directory
|
`/usr/local/obj/usr/ports/mail/thunderbird/work/mozilla/embedding/browser/gtk/src'

|
| gmake[2]: Entering directory
|
`/usr/local/obj/usr/ports/mail/thunderbird/work/mozilla/embedding/browser/gtk/tests'

|
| /usr/local/obj/usr/ports/mail/thunderbird/work/mozilla/config/nsinstall
| -t -m 755 TestGtkEmbed /usr/local/obj/usr/
| ports/mail/thunderbird/work/fake/lib/thunderbird/lib/thunderbird-0.9
| gmake[2]: Leaving directory
|
`/usr/local/obj/usr/ports/mail/thunderbird/work/mozilla/embedding/browser/gtk/tests'

|
| gmake[1]: Leaving directory
|
`/usr/local/obj/usr/ports/mail/thunderbird/work/mozilla/embedding/browser/gtk'

|
| echo '@dirrm lib/thunderbird/defaults/isp' >>
| /usr/local/obj/usr/ports/mail/thunderbird/work/plist
| echo 'share/gnome/pixmaps/thunderbird.xpm' >>
| /usr/local/obj/usr/ports/mail/thunderbird/work/plist
| echo 'share/gnome/applications/thunderbird.desktop' >>
| /usr/local/obj/usr/ports/mail/thunderbird/work/plist
| ===>   Generating temporary packing list
| cd /usr/local/obj/usr/ports/mail/thunderbird/work/fake && /usr/bin/find
| * | /usr/bin/cpio -dmp --quiet /usr/X11R6
| ===> Building Chrome's registry...
|
| hanging here ^^^

Try this patch.  I just found this command line argument, and it seems
to work great.  It doesn't require an X display, and doesn't even write
any Mozilla prefs out.

Joe

| _______________________________________________
| freebsd-ports@freebsd.org mailing list
| http://lists.freebsd.org/mailman/listinfo/freebsd-ports
| To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
|
|


- --
PGP Key : http://www.marcuscom.com/pgp.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBm+5nb2iPiv4Uz4cRAglBAJ0c4qRE/w/lYA/cwbMXST7QFl+s0QCglBBQ
i74UhqvJ5x0NL5v1iG9cbcs=
=Gps2
-----END PGP SIGNATURE-----

--------------060307040301080407020204
Content-Type: text/x-patch; x-mac-type="0"; x-mac-creator="0";
 name="thunderbird.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="thunderbird.diff"

diff -ruN thunderbird.orig/Makefile thunderbird/Makefile
--- thunderbird.orig/Makefile	Wed Nov 17 19:31:16 2004
+++ thunderbird/Makefile	Wed Nov 17 19:30:03 2004
@@ -7,7 +7,7 @@
 
 PORTNAME=	thunderbird
 PORTVERSION=	0.9
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	mail
 MASTER_SITES=	${MASTER_SITE_MOZILLA}
 MASTER_SITE_SUBDIR=	thunderbird/releases/${PORTVERSION}
@@ -21,7 +21,6 @@
 		mng.1:${PORTSDIR}/graphics/libmng \
 		nspr4.1:${PORTSDIR}/devel/nspr
 BUILD_DEPENDS=	zip:${PORTSDIR}/archivers/zip
-RUN_DEPENDS=	Xvfb:${X_VFBSERVER_PORT}
 
 USE_X_PREFIX=	yes
 
diff -ruN thunderbird.orig/pkg-install.in thunderbird/pkg-install.in
--- thunderbird.orig/pkg-install.in	Wed Nov 17 19:31:16 2004
+++ thunderbird/pkg-install.in	Wed Nov 17 19:29:45 2004
@@ -27,9 +27,6 @@
 cd ${MOZDIR} || exit 1
 ./run-mozilla.sh ${REGXPCOM} || true
 ./run-mozilla.sh ${REGCHROME} || true
-
-# Instantiate the extension space as root.
-su - root -c "env PATH=${PATH} %%X11BASE%%/bin/xinit %%MOZDIR%%/run-mozilla.sh ${THUNDERBIRD} -install-global-extension -- %%X11BASE%%/bin/Xvfb :1001" > /dev/null 2>&1
-su - root -c "env PATH=${PATH} %%X11BASE%%/bin/xinit %%MOZDIR%%/run-mozilla.sh ${THUNDERBIRD} -install-global-theme -- %%X11BASE%%/bin/Xvfb :1001" > /dev/null 2>&1
+./run-mozilla.sh ${THUNDERBIRD} -register > /dev/null 2>&1
 
 exit 0

--------------060307040301080407020204--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?419BEE68.7040304>