From owner-freebsd-gnome@FreeBSD.ORG Fri Nov 16 02:07:46 2007 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7029416A420 for ; Fri, 16 Nov 2007 02:07:46 +0000 (UTC) (envelope-from minshall@acm.org) Received: from einstein.cliq.org (einstein.cliq.org [131.161.246.13]) by mx1.freebsd.org (Postfix) with ESMTP id 5718A13C467 for ; Fri, 16 Nov 2007 02:07:45 +0000 (UTC) (envelope-from minshall@acm.org) Received: from gregtx.cliq.com (minshall@localhost.cliq.org [IPv6:::1]) by einstein.cliq.org (8.13.4/8.13.4) with ESMTP id lAG1ttpm027260 for ; Thu, 15 Nov 2007 17:55:55 -0800 (PST) Received: from gregtx (localhost [127.0.0.1]) by gregtx.cliq.com (Postfix) with ESMTP id C55315DC5 for ; Thu, 15 Nov 2007 17:55:11 -0800 (PST) X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 From: Greg Minshall To: gnome@freebsd.org Mime-Version: 1.0 Content-Type: multipart/mixed ; boundary="==_Exmh_1195178077_9040" Date: Thu, 15 Nov 2007 17:55:11 -0800 Sender: minshall@acm.org Message-Id: <20071116015511.C55315DC5@gregtx.cliq.com> X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: xulrunner-1.8.1.3 port X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2007 02:07:46 -0000 This is a multipart MIME message. --==_Exmh_1195178077_9040 Content-Type: text/plain; charset=us-ascii hi. this is a port for xulrunner-1.8.1.3. i've labeled the directory "-DUBIOUS" because: a) i created the tar file by doing a CVS checkout (see NOTES-xulrunner-DUBIOUS-1.8.1.3.txt for some details on this, and on where the bits and pieces came from and why and how they were modified); and b) this is the first time i've tried doing a port (though mostly the previous one was a template). let me know if i can help in any way. Greg Minshall --==_Exmh_1195178077_9040 Content-Type: text/plain ; name="NOTES-xulrunner-DUBIOUS-1.8.1.3.txt"; charset=us-ascii Content-Description: NOTES-xulrunner-DUBIOUS-1.8.1.3.txt Content-Disposition: attachment; filename="NOTES-xulrunner-DUBIOUS-1.8.1.3.txt" notes converting from 1.8.0.4 to 1.8.1.3 3. okay, xulrunner/files/* came from seamonkey/files/*. all files in former match corresponding file in latter (there are some extra files in latter). 4. so, use the current port for seamonkey to get xulrunner/files/*. 5. except patch-configure fails. turns out this is a relatively new version 1.4 ("update to 1.1.3") , and version 1.3 ("update to 1.1") does succeed, so we'll use that. 6. add "--enable-system-cairo" to MOZ_OPTIONS in Makefile (on existing line). 7. the tar file has all sort of CVS files; the extract seems to leave out most (all?) of these, but does leave the CVS subdirectories all the place. 8. the tar file was created by doing a cvs checkout into a new directory, then the mozilla gmake that pulls down the actual sources, then a tar: ---- 180 14:05 cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -r FIREFOX_2_0_0_3_RELEASE 181 14:05 cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -r FIREFOX_2_0_0_3_RELEASE mozilla/client.mk 182 14:05 cd mozilla/ 185 14:06 gmake -f client.mk checkout MOZ_CO_PROJECT=xulrunner 187 14:23 cd .. 189 14:24 tar cf xulrunner-DUBIOUS-1.8.1.3-source.tar.bz2 mozilla/ 193 14:26 bzip2 xulrunner-DUBIOUS-1.8.1.3-source.tar ---- XXX (which looks dubious to me -- i should do this at least one more XXX time, scripted.) 9. files/patch-sysnss uses an idiom %%LOCALBASE%% (modifying security/manager/ssl/src/Makefile.in). changed the patch to use $(LOCALBASE). (somehow, in the newer seamonkey port, "%%LOCALBASE%%" in Makefile.in is converted to "/usr/local" in Makefile.) 10. port upgrading my system to nss 3.11.1. how to specify that dependency? (includes hacks to portupgrade version of security/nss 3.11.1 to get it to compile and install correctly.) 13. xulrunner script (install in bindir) evaluates arguments with expr(1), but if argument starts with "-", expr treats it as an (unknown) argument. so, modify mozilla.in (which is source of xulrunner script) to invoke "expr --" (so expr stops looking for options). thus files/patch-xulrunner::app::mozilla.in. --==_Exmh_1195178077_9040--