head	1.28;
access;
symbols
	pkgsrc-2013Q2:1.28.0.32
	pkgsrc-2013Q2-base:1.28
	pkgsrc-2012Q4:1.28.0.30
	pkgsrc-2012Q4-base:1.28
	pkgsrc-2011Q4:1.28.0.28
	pkgsrc-2011Q4-base:1.28
	pkgsrc-2011Q2:1.28.0.26
	pkgsrc-2011Q2-base:1.28
	pkgsrc-2009Q4:1.28.0.24
	pkgsrc-2009Q4-base:1.28
	pkgsrc-2008Q4:1.28.0.22
	pkgsrc-2008Q4-base:1.28
	pkgsrc-2008Q3:1.28.0.20
	pkgsrc-2008Q3-base:1.28
	cube-native-xorg:1.28.0.18
	cube-native-xorg-base:1.28
	pkgsrc-2008Q2:1.28.0.16
	pkgsrc-2008Q2-base:1.28
	pkgsrc-2008Q1:1.28.0.14
	pkgsrc-2008Q1-base:1.28
	pkgsrc-2007Q4:1.28.0.12
	pkgsrc-2007Q4-base:1.28
	pkgsrc-2007Q3:1.28.0.10
	pkgsrc-2007Q3-base:1.28
	pkgsrc-2007Q2:1.28.0.8
	pkgsrc-2007Q2-base:1.28
	pkgsrc-2007Q1:1.28.0.6
	pkgsrc-2007Q1-base:1.28
	pkgsrc-2006Q4:1.28.0.4
	pkgsrc-2006Q4-base:1.28
	pkgsrc-2006Q3:1.28.0.2
	pkgsrc-2006Q3-base:1.28
	pkgsrc-2006Q2:1.27.0.16
	pkgsrc-2006Q2-base:1.27
	pkgsrc-2006Q1:1.27.0.14
	pkgsrc-2006Q1-base:1.27
	pkgsrc-2005Q4:1.27.0.12
	pkgsrc-2005Q4-base:1.27
	pkgsrc-2005Q3:1.27.0.10
	pkgsrc-2005Q3-base:1.27
	pkgsrc-2005Q2:1.27.0.8
	pkgsrc-2005Q2-base:1.27
	pkgsrc-2005Q1:1.27.0.6
	pkgsrc-2005Q1-base:1.27
	pkgsrc-2004Q4:1.27.0.4
	pkgsrc-2004Q4-base:1.27
	pkgsrc-2004Q3:1.27.0.2
	pkgsrc-2004Q3-base:1.27
	pkgsrc-2004Q2:1.26.0.4
	pkgsrc-2004Q2-base:1.26
	pkgsrc-2004Q1:1.26.0.2
	pkgsrc-2004Q1-base:1.26
	pkgsrc-2003Q4:1.24.0.2
	pkgsrc-2003Q4-base:1.24
	netbsd-1-6-1:1.23.0.2
	netbsd-1-6-1-base:1.23
	buildlink2-base:1.19
	netbsd-1-4-PATCH002:1.3
	comdex-fall-1999:1.3
	netbsd-1-4-PATCH001:1.3
	netbsd-1-4-RELEASE:1.3
	netbsd-1-3-PATCH003:1.1;
locks; strict;
comment	@# @;


1.28
date	2006.09.24.16.46.28;	author salo;	state dead;
branches;
next	1.27;

1.27
date	2004.06.21.14.14.00;	author taya;	state Exp;
branches;
next	1.26;

1.26
date	2004.01.17.00.04.49;	author taya;	state Exp;
branches;
next	1.25;

1.25
date	2003.11.27.00.03.53;	author taya;	state Exp;
branches;
next	1.24;

1.24
date	2003.03.17.16.07.34;	author taya;	state Exp;
branches
	1.24.2.1;
next	1.23;

1.23
date	2002.12.04.15.20.29;	author taya;	state Exp;
branches;
next	1.22;

1.22
date	2002.10.03.15.54.00;	author taya;	state Exp;
branches;
next	1.21;

1.21
date	2002.08.29.15.11.14;	author taya;	state Exp;
branches;
next	1.20;

1.20
date	2002.08.19.22.57.03;	author fredb;	state Exp;
branches;
next	1.19;

1.19
date	2001.02.17.11.03.28;	author taya;	state dead;
branches;
next	1.18;

1.18
date	2001.01.16.16.01.22;	author taya;	state Exp;
branches;
next	1.17;

1.17
date	2000.12.25.02.16.07;	author martin;	state Exp;
branches;
next	1.16;

1.16
date	2000.10.31.16.11.42;	author mycroft;	state Exp;
branches;
next	1.15;

1.15
date	2000.10.29.23.30.09;	author mycroft;	state Exp;
branches;
next	1.14;

1.14
date	2000.10.28.18.55.25;	author mycroft;	state Exp;
branches;
next	1.13;

1.13
date	2000.10.27.04.38.27;	author mycroft;	state Exp;
branches;
next	1.12;

1.12
date	2000.10.26.07.50.00;	author mycroft;	state Exp;
branches;
next	1.11;

1.11
date	2000.10.23.17.40.07;	author mycroft;	state Exp;
branches;
next	1.10;

1.10
date	2000.10.14.09.24.46;	author martin;	state dead;
branches;
next	1.9;

1.9
date	2000.10.02.10.18.56;	author martin;	state Exp;
branches;
next	1.8;

1.8
date	2000.08.16.21.23.49;	author tron;	state dead;
branches;
next	1.7;

1.7
date	2000.06.19.04.17.27;	author soren;	state Exp;
branches;
next	1.6;

1.6
date	2000.06.19.04.15.38;	author soren;	state Exp;
branches;
next	1.5;

1.5
date	2000.06.13.23.18.55;	author soren;	state Exp;
branches;
next	1.4;

1.4
date	2000.06.13.23.11.57;	author soren;	state dead;
branches;
next	1.3;

1.3
date	99.02.01.11.39.47;	author frueauf;	state Exp;
branches;
next	1.2;

1.2
date	98.11.09.01.25.13;	author fvdl;	state dead;
branches;
next	1.1;

1.1
date	98.09.15.16.47.10;	author tv;	state Exp;
branches;
next	;

1.24.2.1
date	2003.12.05.17.05.26;	author agc;	state Exp;
branches;
next	;


desc
@@


1.28
log
@Remove Mozilla Suite and friends.
No longer maintained upstream, replaced by SeaMonkey.
@
text
@$NetBSD: patch-ad,v 1.27 2004/06/21 14:14:00 taya Exp $

diff -ru ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_netbsd_m68k.cpp ./xpcom/reflect/xptcall/src/md/unix/xptcinvoke_netbsd_m68k.cpp
--- ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_netbsd_m68k.cpp	2001-09-29 05:12:51.000000000 +0900
+++ ./xpcom/reflect/xptcall/src/md/unix/xptcinvoke_netbsd_m68k.cpp	2004-06-10 22:55:53.000000000 +0900
@@@@ -132,6 +132,15 @@@@
     }
 }
 
+/*
+ * SYMBOL PREFIX must be "_" for aout symbols and "" for ELF
+ */
+#ifndef __ELF__
+#define	SYMBOLPREFIX	"_"
+#else
+#define	SYMBOLPREFIX
+#endif
+
 XPTC_PUBLIC_API(nsresult)
 XPTC_InvokeByIndex(nsISupports* that, PRUint32 methodIndex,
                    PRUint32 paramCount, nsXPTCVariant* params)
@@@@ -139,30 +148,30 @@@@
     PRUint32 result;
 
  __asm__ __volatile__(
-    "movl  %4, sp@@-\n\t"
-    "movl  %3, sp@@-\n\t"
-    "jbsr  _invoke_count_words\n\t"     /* count words */
-    "addql #8, sp\n\t"
-    "lsll  #2, d0\n\t"      /* *= 4 */
-    "movl  sp, a2\n\t"	    /* save original sp */
-    "subl  d0, sp\n\t"      /* make room for params */
-    "movl  sp, a0\n\t"
-    "movl  %4, sp@@-\n\t"
-    "movl  %3, sp@@-\n\t"
-    "movl  a0, sp@@-\n\t"
-    "jbsr  _invoke_copy_to_stack\n\t"   /* copy params */
-    "addl  #12, sp\n\t"
-    "movl  %1, a0\n\t"
-    "movl  a0@@, a1\n\t"
-    "movl  %2, d0\n\t"      /* function index */
-    "movl  a0, d1\n\t"
-    "movw  a1@@(8,d0:l:8), a0\n\t"
-    "addl  a0, d1\n\t"
-    "movl  a1@@(12,d0:l:8), a1\n\t"
-    "movl  d1, sp@@-\n\t"
-    "jbsr  a1@@\n\t"
-    "movl  a2, sp\n\t"	    /* restore original sp */
-    "movl  d0, %0\n\t"
+    "movl  %4, %%sp@@-\n\t"
+    "movl  %3, %%sp@@-\n\t"
+    "jbsr  "SYMBOLPREFIX"invoke_count_words\n\t"     /* count words */
+    "addql #8, %%sp\n\t"
+    "lsll  #2, %%d0\n\t"      /* *= 4 */
+    "movl  %%sp, %%a2\n\t"         /* save original sp */
+    "subl  %%d0, %%sp\n\t"      /* make room for params */
+    "movl  %%sp, %%a0\n\t"
+    "movl  %4, %%sp@@-\n\t"
+    "movl  %3, %%sp@@-\n\t"
+    "movl  %%a0, %%sp@@-\n\t"
+    "jbsr  "SYMBOLPREFIX"invoke_copy_to_stack\n\t"   /* copy params */
+    "addl  #12, %%sp\n\t"
+    "movl  %1, %%a0\n\t"
+    "movl  %%a0@@, %%a1\n\t"
+    "movl  %2, %%d0\n\t"      /* function index */
+    "movl  %%a0, %%d1\n\t"
+    "movw  %%a1@@(8,%%d0:l:8), %%a0\n\t"
+    "addl  %%a0, %%d1\n\t"
+    "movl  %%a1@@(12,%%d0:l:8), %%a1\n\t"
+    "movl  %%d1, %%sp@@-\n\t"
+    "jbsr  %%a1@@\n\t"
+    "movl  %%a2, %%sp\n\t"         /* restore original sp */
+    "movl  %%d0, %0\n\t"
     : "=g" (result)         /* %0 */
     : "g" (that),           /* %1 */
       "g" (methodIndex),    /* %2 */
@


1.27
log
@
Update mozilla to 1.7

New features and fixes
Browser
    * A new option to prevent sites from using JavaScript to block the
    browser's context menu.

    * Password Manager has a "show passwords" mode which will display
      saved passwords. You will need to enter your master password if
      you are using one.

    * The "Set As Wallpaper" feature now has a confirmation dialog.

    * Linux GTK2 builds have improved support for OS themes.

    * Cookie dialogs have been reworked to make them more usable.

    * Date handling, especially on OS X, has been improved.

    * It is now possible to fine-tune Mozilla's pop-up blocking using
      two preferences (dom.popup_maximum and dom.popup_allowed_events)
      but there's no UI for that yet. Even without a UI, users should
      notice a greater variety of pop-ups blocked (primarily mouseover
      pop-ups) and a limit of 20 or so open at one time - regardless
      of whether pop-up blocking is active. This will provide some
      protection from sites that open hundreds of windows in a loop.

    * Downloaded files are now moved to the target directory as soon
      as the user selects the desired location. This was the
      frequently reported bug 55690.

    * There is now user interface to activate Smooth Scrolling
      (Preferences -> Appearance).

    * Mozilla now supports basic FTP upload.

Mail
    * Many improvements to Palm Sync.

    * IMAP IDLE support has been added.

    * Support for "MSN Authentication" and Secure Password

    * Authentication using SSPI NTLM auth for SMTP and POP3.

    * A new preference to "always use the default character encoding
      for replies" rather than using the encoding of the message being
      replied to.

    * Improvements to performance of downloading, viewing, and saving
      mail messages.

    * Support for multiple identities on the same mail account. See
      the Multiple Identity Support documentation for more details.

    * Support for relative paths for mail folders in prefs.js. This
      makes it easier to copy profiles around without having to fix up
      prefs.js afterwards.

    * You can now edit address lists containing "Last, First" style
      names.

    * When composing mail, you can now use the up and down arrow keys
      to scroll through the To/Cc/Bcc list.

    * All Mozilla LDAP queries now default to using LDAPv3
      (previously, they used LDAPv2). Mozilla should gracefully fall
      back to v2 if v3 isn't found.


Chatzilla
    * Chatzilla now supports zooming of fonts with keyboard shortcuts
    (Ctrl + and Ctrl -), as well as with the View menu.

    * Improved date handling; using the date/time format for the
      locale.

    * Support for the /ignore command.

    * The ability to change the font family and size.

    * Working custom sounds on Windows and Linux.

    * Improvements to the preferences panel and the user interface for
      half-op mode.


Under the Hood
    * Size and performance have improved dramatically with this
    release. When compared to Mozilla 1.6, Mozilla 1.7 is 7% faster at
    startup, is 8% faster to open a window, has 9% faster page
    loading, and is 5% smaller in binary size.

    * A long-standing bug with CSS backgrounds on table elements has
      been fixed (standards mode only).

    * Support for Kerberos HTTP authentication using GSSAPI (benefits
      Unix-like platforms including Linux and OS X).

    * Support for smb:// URLs using the gnome-vfs library (only
      enabled in GTK2+XFT Linux builds).

    * Support for server push of XML documents using
      multipart/x-mixed-replace and XMLHttpRequest.

    * Liveconnect now works when a Java applet's codebase is in a
      different domain.

    * Support for the CSS3 opacity property.

    * Mozilla adds support for the onbeforeunload event. This lets web
      application developers add code that alerts the user about
      potential data-loss when closing a web application, or when
      leaving a HTML page with potentially sensitive information.

    * This release has a new SVG backend. The feature is not yet
      enabled in the mozilla.org releases but developers may wish to
      compile with this feature enabled.

    * Mozilla handles dynamic style changes much better (see bug 15608
      for details.)

    * Mozilla has upgraded the NSS libraries to version 3.9. NSS 3.9
      passes all the NISCC SSL/TLS and S/MIME tests (1.6 million test
      cases of invalid input data) without crashes or memory leaks.
@
text
@d1 1
a1 1
$NetBSD$
@


1.26
log
@
Update mozilla to 1.6

- New features and Fixes from release notes:

*  One of the most requested Mozilla Mail features, an option to
separate the Recipient and Sender columns in the thread pane, has been
implemented.

* Another frequently requested MailNews feature, a preference for
placing the user's signature above the quoted text, has been added.

* "Remove from server after x days" has been implemented for POP3 mail
accounts.

* vCard support has been added to Mozilla Mail.

* Mozilla 1.6 includes a new cross-platform NTLM authentication
mechanism. This feature brings NTLM authentication to the non-Windows
Mozilla users for the first time and also delivers more robust and
featureful NTLM support to users of older Windows versions.

* Ask Jeeves searching has been added to Mozilla 1.6.

* "Translate Page" functionality has returned to this release of Mozilla.

* The View Source window now has reload functionality.

* Several security-related bugs were fixed in 1.6

* Chatzilla 0.9.48 has been merged, which adds RPL_ISUPPORT support,
halfop mode support, and properly masks key and password dialogs.

* Many crash bugs have been fixed.

* One step closer to the kitchen sink, about:about has been
implemented. Typing about:about in the address field will give the
user a nice list of available about:s.

* The opacity implementation was completely revamped to properly
change the opacity of all descendants as a group.

* CSS inheritance has been updated to work per CSS2.1 (computed values
are inherited).

- pkgsrc specific changes
* add option to build with gtk2 (not completed yet)(from Jeremy C. Reed)

* make mathml optional (for MozillaThunderbird)
@
text
@d5 1
a5 1
+++ ./xpcom/reflect/xptcall/src/md/unix/xptcinvoke_netbsd_m68k.cpp	2004-01-16 23:17:22.000000000 +0900
@


1.25
log
@
Update mozilla to 1.5.1

New Features and Fixes

* Mozilla now includes a spellchecker for MailNews and Composer.

* Additional MailNews improvements include:
	o Users can add header lines to *every* message sent out via a
	certain identity.
	o A common application hang with SSL-encrypted SMTP
	connections has been fixed.
	o Printing of the attachments list is now supported.
	o Users can now mark message as read by date.

* Many great improvements to Mozilla Composer including:
	o Better resizing for images, tables, and absolutely
	positioned objects.
	o Support for absolutely positioned objects, movable on the
	canvas using the mouse.
	o Support for z-index management.
	o "Snap to grid" when moving an absolutely positioned object.
	o Source View now uses an editor instead of a simple textarea
	(allows find and replace).
	o Numerous fixes in caret management, inline styles handling,
	and CSS styles handling.

* Improvements to tabbed browsing, including:
	o Tabs are now replaced when a bookmark group is loaded. This
	can be changed to the old "append" behavior in the Tabbed
	browsing preferences.
	o Back and Forward navigation for tabbed browsing and bookmark
	groups has been improved. Users can now use the back button
	after loading a bookmark group to restore the previous set of tabs.
	o Closing a window with multiple tabs now prompts the user
	with a confirmation dialog (which can be disabled for future
	close operations).

* ChatZilla, Mozilla's internet relay chat (IRC) client, has had a
major overhaul bringing logging and many additional improvements.

* DOM Inspector can now display the #document node (the document root).

* It is now possible to jump from the JavaScript console to the
relevant line in the View Source Window.

* Mozilla's view source now displays line and column numbers in the
status bar.

* A quicksearch filter has been implemented for about:config.

* Gecko now supports setting color for <HR>.

* The '::' notation for CSS pseudo-elements is now supported. The old
':' notation is still supported only for pseudo-elements in CSS2
(:first-line, :first-letter, :before, :after) and the various
:-moz-tree-* pseudo-elements.

* Unstyled XML display has been improved.

* Some Windows GDI problems in Mozilla have been resolved.

* A common problem collapsing the URL bar popup on Windows has been fixed.

* Mozilla has improved performance, stability, standards support and
Web compatibility.
@
text
@d5 1
a5 1
+++ ./xpcom/reflect/xptcall/src/md/unix/xptcinvoke_netbsd_m68k.cpp	2003-10-16 15:37:03.000000000 +0900
@


1.24
log
@
Update mozilla to 1.3

What's new from release notes
* Mozilla Mail has junk-mail classification. With some initial
"training" the client can identify and segregate spam messages from
good messages. To see more about Mozilla's junk-mail classification,
visit the Mozilla Spam Filtering page.

* Newsgroup filters have been implemented.

* An initial implementation of Mozilla Midas, rich text editing
controls, has landed in Mozilla for 1.3. See the Midas page for more
information.

* Image auto sizing allows a user to toggle between full-sized images
and images sized to fit the browser window. To give it a try, load a
large image into the browser window or size the window to be much
smaller. Now clicking on the image will alternate between auto-sized
and full-sized. The feature can be disabled (or enabled) from the
Appearance panel in Preferences.

* Users can now "dynamically" switch profiles. To give it a try, from
the tools menu select "Switch Profile..."

* Find as you type, formerly known as type ahead find, has a new
preferences panel (Advanced: Keyboard Navigation).

* When installed, Chatzilla now has a normal Mozilla preferences panel.

* Mozilla 1.3 also includes fixes for performance, standards
compliance and site compatibility.

* Mozilla has a new splash screen. We already know. Please don't
report this to Bugzilla. Thanks
@
text
@d5 1
a5 1
+++ ./xpcom/reflect/xptcall/src/md/unix/xptcinvoke_netbsd_m68k.cpp	2003-03-14 16:58:43.000000000 +0900
@


1.24.2.1
log
@Pullup mozilla-1.5.1 to pkgsrc-2003Q4 branch, requested by Grant Beattie.

	Module Name:    pkgsrc
	Committed By:   taya
	Date:           Thu Nov 27 00:03:53 UTC 2003

	Modified Files:
		pkgsrc/www/mozilla: Makefile PLIST buildlink2.mk distinfo
		pkgsrc/www/mozilla/patches: patch-ab patch-ac patch-ad patch-ae
		    patch-af patch-ag patch-am patch-aw patch-ba patch-bb patch-be
		    patch-bm patch-bn patch-bo patch-bp
	Added Files:
		pkgsrc/www/mozilla/patches: patch-bq
	Removed Files:
		pkgsrc/www/mozilla/patches: patch-aa

	Log Message:
	Update mozilla to 1.5.1

	New Features and Fixes

	* Mozilla now includes a spellchecker for MailNews and Composer.

	* Additional MailNews improvements include:
		o Users can add header lines to *every* message sent out via a
		certain identity.
		o A common application hang with SSL-encrypted SMTP
		connections has been fixed.
		o Printing of the attachments list is now supported.
		o Users can now mark message as read by date.

	* Many great improvements to Mozilla Composer including:
		o Better resizing for images, tables, and absolutely
		positioned objects.
		o Support for absolutely positioned objects, movable on the
		canvas using the mouse.
		o Support for z-index management.
		o "Snap to grid" when moving an absolutely positioned object.
		o Source View now uses an editor instead of a simple textarea
		(allows find and replace).
		o Numerous fixes in caret management, inline styles handling,
		and CSS styles handling.

	* Improvements to tabbed browsing, including:
		o Tabs are now replaced when a bookmark group is loaded. This
		can be changed to the old "append" behavior in the Tabbed
		browsing preferences.
		o Back and Forward navigation for tabbed browsing and bookmark
		groups has been improved. Users can now use the back button
		after loading a bookmark group to restore the previous set of tabs.
		o Closing a window with multiple tabs now prompts the user
		with a confirmation dialog (which can be disabled for future
		close operations).

	* ChatZilla, Mozilla's internet relay chat (IRC) client, has had a
	major overhaul bringing logging and many additional improvements.

	* DOM Inspector can now display the #document node (the document root).

	* It is now possible to jump from the JavaScript console to the
	relevant line in the View Source Window.

	* Mozilla's view source now displays line and column numbers in the
	status bar.

	* A quicksearch filter has been implemented for about:config.

	* Gecko now supports setting color for <HR>.

	* The '::' notation for CSS pseudo-elements is now supported. The old
	':' notation is still supported only for pseudo-elements in CSS2
	(:first-line, :first-letter, :before, :after) and the various
	:-moz-tree-* pseudo-elements.

	* Unstyled XML display has been improved.

	* Some Windows GDI problems in Mozilla have been resolved.

	* A common problem collapsing the URL bar popup on Windows has been fixed.

	* Mozilla has improved performance, stability, standards support and
	Web compatibility.
@
text
@d1 1
a1 1
$NetBSD: patch-ad,v 1.25 2003/11/27 00:03:53 taya Exp $
d5 1
a5 1
+++ ./xpcom/reflect/xptcall/src/md/unix/xptcinvoke_netbsd_m68k.cpp	2003-10-16 15:37:03.000000000 +0900
@


1.23
log
@Update mozilla to 1.2.1

What's new from Release notes:
(See release notes for detail - http://www.mozilla.org/releases/mozilla1.2.1/)
Browser
 * Type Ahead Find is a new feature that allows quick navigation when you type
   a succession of characters in the browser, matching the text in one or more
   links on the page.

 * Building on Mozilla's customizability, you can now show toolbars as
   text/icons/both (in the default Classic theme). We also have a few other
   usability improvements like image selection visualization (image highlights
   with system selection color when selected) and the removal of the confusing
   toolbar grippies.

 * Improvements to native look and feel in both the browser interface and
   the browser content area. We now support most native GTK themes in Mozilla
   which means that your Mozilla toolbars and other widgets will pick up
   the GTK theme look and feel. We also support native look and feel for web
   content like form controls under windowsXP.

 * Making tabbed browsing even more useful, you can launch the browser with
   a group of bookmarks as your start page. This loads several pages into tabs
   at startup.

 * Keyboard access is greatly improved including additional accesskeys for
   menus, other ui elements and page elements.

 * We have a new features that utilizes browser idle time to download
   or prefetch documents that the user might visit in the near future.

 * XML prettyprinting, similar to IEs default-view for XML is now available
   in Mozilla.

Mail
 * Mozilla Mail has a new "filter after the fact" capability so users can
   create a filter and then run that filter on already downloaded mail.
   Filter logging has also been implemented which allows power users to see
   a log of all of the filter actions.

 * In mail you can now select and copy text from message headers and you can
   now drag and drop from the message search results window.
@
text
@d4 2
a5 2
--- ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_netbsd_m68k.cpp	Sat Sep 29 05:12:51 2001
+++ ./xpcom/reflect/xptcall/src/md/unix/xptcinvoke_netbsd_m68k.cpp	Wed Nov 13 14:21:20 2002
@


1.22
log
@
- Split Makefile to Makefile & Makefile.common
- Use __ELF__ to detect ELF
- Modify xpcom stuff for arm like m68k
@
text
@d5 1
a5 1
+++ ./xpcom/reflect/xptcall/src/md/unix/xptcinvoke_netbsd_m68k.cpp	Sun Sep  8 00:46:20 2002
@


1.21
log
@
fix PLIST
merge PLIST-* to PLIST
improve install script to share with mozilla-1.0 branch(not imported yet)
@
text
@d5 2
a6 2
+++ ./xpcom/reflect/xptcall/src/md/unix/xptcinvoke_netbsd_m68k.cpp	Wed Aug 28 11:21:47 2002
@@@@ -132,6 +132,10 @@@@
d13 5
d22 1
a22 1
@@@@ -139,30 +143,30 @@@@
@


1.20
log
@Make this compile, at least, on NetBSD/m68kelf, using patches submitted
to tech-pkg by Klaus Heinz.
@
text
@d3 3
a5 2
--- xpcom/reflect/xptcall/src/md/unix/xptcinvoke_netbsd_m68k.cpp.orig   Sat Jul 20 19:41:33 2002
+++ xpcom/reflect/xptcall/src/md/unix/xptcinvoke_netbsd_m68k.cpp
@


1.19
log
@
Update to mozilla 0.8
See release notes for detail.

http://www.mozilla.org/releases/mozilla0.8/
@
text
@d1 1
a1 1
$NetBSD: patch-ad,v 1.18 2001/01/16 16:01:22 taya Exp $
d3 5
a7 6
diff -ru ../Orig/mozilla/nsprpub/pr/include/md/_netbsd.h ./nsprpub/pr/include/md/_netbsd.h
--- ../Orig/mozilla/nsprpub/pr/include/md/_netbsd.h	Mon Dec 11 00:23:12 2000
+++ ./nsprpub/pr/include/md/_netbsd.h	Mon Jan 15 15:37:54 2001
@@@@ -62,6 +62,12 @@@@
 #define _PR_HAVE_SYSV_SEMAPHORES
 #define PR_HAVE_SYSV_NAMED_SHARED_MEMORY
d9 3
a11 5
+#if __NetBSD_Version__ >= 105000000
+#define _PR_INET6
+#define _PR_HAVE_GETHOSTBYNAME2
+#define _PR_INET6_PROBE
+#endif
d13 5
a17 1
 #define USE_SETJMP
d19 52
a70 1
 #ifndef _PR_PTHREADS
@


1.18
log
@
Update to mozilla 0.7
Most major change is SSL daemon(psm) has included.
See release notes for detail.

http://www.mozilla.org/releases/mozilla0.7/
@
text
@d1 1
a1 1
$NetBSD$
@


1.17
log
@Redo enabling of IPv6 support in a different way.

Instead of using pkgsrc makefile magic to select between IPv6 support
and non-support do so by the NetBSD version number: on 1.5 and newer
systems, compile IPv6 support and detect kernel support for it at runtime.

This has the additional benefits of being easy to feed back and additionaly
brings IPv6 to mozilla on NetBSD even if build outside of pkgsrc.
@
text
@d1 1
a1 1
$NetBSD: patch-ad,v 1.16 2000/10/31 16:11:42 mycroft Exp $
d3 4
a6 5
--- nsprpub/pr/include/md/_netbsd.h.orig	Thu Jul  6 22:46:02 2000
+++ nsprpub/pr/include/md/_netbsd.h	Sat Dec 23 23:17:43 2000
@@@@ -59,52 +59,107 @@@@
 #define _PR_POLL_AVAILABLE
 #define _PR_USE_POLL
a18 121
 #include <setjmp.h>
 
 #define PR_CONTEXT_TYPE	sigjmp_buf
 
 #define CONTEXT(_th) ((_th)->md.context)
 
-#if defined(__i386__) || defined(__sparc__) || defined(__m68k__) || defined(__powerpc__)
-#define JB_SP_INDEX 2
-#elif defined(__mips__)
-#define JB_SP_INDEX 4
-#elif defined(__alpha__)
-#define JB_SP_INDEX 34
-#elif defined(__arm32__)
 /*
- * On the arm32, the jmpbuf regs underwent a name change after NetBSD 1.3.
- */
-#ifdef JMPBUF_REG_R13
-#define JB_SP_INDEX JMPBUF_REG_R13
-#else
-#define JB_SP_INDEX _JB_REG_R13
+** Initialize a thread context to run "_main()" when started
+*/
+#ifdef __i386__
+#define _MD_INIT_CONTEXT(_thread, _sp, _main, status)			\
+{									\
+    sigsetjmp(CONTEXT(_thread), 1);					\
+    CONTEXT(_thread)[2] = (unsigned char*) ((_sp) - 128);		\
+    CONTEXT(_thread)[0] = (int) _main;					\
+    *status = PR_TRUE;							\
+}
+#define	_MD_GET_SP(_thread)	CONTEXT(_thread)[2]
+#endif
+#ifdef __sparc__
+#define _MD_INIT_CONTEXT(_thread, _sp, _main, status)			\
+{									\
+    sigsetjmp(CONTEXT(_thread), 1);					\
+    CONTEXT(_thread)[2] = (unsigned char*) ((_sp) - 128);		\
+    CONTEXT(_thread)[3] = (int) _main;					\
+    CONTEXT(_thread)[4] = (int) _main + 4;				\
+    *status = PR_TRUE;							\
+}
+#define	_MD_GET_SP(_thread)	CONTEXT(_thread)[2]
+#endif
+#ifdef __powerpc__
+#define _MD_INIT_CONTEXT(_thread, _sp, _main, status)			\
+{									\
+    sigsetjmp(CONTEXT(_thread), 1);					\
+    CONTEXT(_thread)[3] = (unsigned char*) ((_sp) - 128);		\
+    CONTEXT(_thread)[4] = (int) _main;					\
+    *status = PR_TRUE;							\
+}
+#define	_MD_GET_SP(_thread)	CONTEXT(_thread)[3]
+#endif
+#ifdef __m68k__
+#define _MD_INIT_CONTEXT(_thread, _sp, _main, status)			\
+{									\
+    sigsetjmp(CONTEXT(_thread), 1);					\
+    CONTEXT(_thread)[2] = (unsigned char*) ((_sp) - 128);		\
+    CONTEXT(_thread)[5] = (int) _main;					\
+    *status = PR_TRUE;							\
+}
+#define	_MD_GET_SP(_thread)	CONTEXT(_thread)[2]
 #endif
-#else
-#error "Need to define SP index in jmp_buf here"
+#ifdef __mips__
+#define _MD_INIT_CONTEXT(_thread, _sp, _main, status)			\
+{									\
+    sigsetjmp(CONTEXT(_thread), 1);					\
+    CONTEXT(_thread)[32] = (unsigned char*) ((_sp) - 128);		\
+    CONTEXT(_thread)[2] = (int) _main;					\
+    CONTEXT(_thread)[28] = (int) _main;				\
+    *status = PR_TRUE;							\
+}
+#define	_MD_GET_SP(_thread)	CONTEXT(_thread)[32]
+#endif
+#ifdef __arm32__
+#define _MD_INIT_CONTEXT(_thread, _sp, _main, status)			\
+{									\
+    sigsetjmp(CONTEXT(_thread), 1);					\
+    CONTEXT(_thread)[23] = (unsigned char*) ((_sp) - 128);		\
+    CONTEXT(_thread)[24] = (int) _main;					\
+    *status = PR_TRUE;							\
+}
+#define	_MD_GET_SP(_thread)	CONTEXT(_thread)[23]
+#endif
+#ifdef __alpha__
+#define _MD_INIT_CONTEXT(_thread, _sp, _main, status)			\
+{									\
+    sigsetjmp(CONTEXT(_thread), 1);					\
+    CONTEXT(_thread)[34] = (unsigned char*) ((_sp) - 128);		\
+    CONTEXT(_thread)[2] = (long) _main;					\
+    CONTEXT(_thread)[30] = (long) _main;				\
+    CONTEXT(_thread)[31] = (long) _main;				\
+    *status = PR_TRUE;							\
+}
+#define	_MD_GET_SP(_thread)	CONTEXT(_thread)[34]
+#endif
+#ifndef _MD_INIT_CONTEXT
+#error "Need to define _MD_INIT_CONTEXT for this platform"
 #endif
-#define _MD_GET_SP(_th)    (_th)->md.context[JB_SP_INDEX]
 
 #define PR_NUM_GCREGS	_JBLEN
-
-/*
-** Initialize a thread context to run "_main()" when started
-*/
-#define _MD_INIT_CONTEXT(_thread, _sp, _main, status)  \
-{  \
-    *status = PR_TRUE;  \
-    if (sigsetjmp(CONTEXT(_thread), 1)) {  \
-        _main();  \
-    }  \
-    _MD_GET_SP(_thread) = (unsigned char*) ((_sp) - 64); \
-}
 
 #define _MD_SWITCH_CONTEXT(_thread)  \
     if (!sigsetjmp(CONTEXT(_thread), 1)) {  \
         (_thread)->md.errcode = errno;  \
         _PR_Schedule();  \
@


1.16
log
@NSPR works on m68k, so remove the `UNTESTED' comment.
@
text
@d1 1
a1 1
$NetBSD: patch-ad,v 1.15 2000/10/29 23:30:09 mycroft Exp $
d3 20
a22 3
--- nsprpub/pr/include/md/_netbsd.h.orig	Thu Jul  6 20:46:02 2000
+++ nsprpub/pr/include/md/_netbsd.h	Thu Oct 26 07:32:35 2000
@@@@ -70,39 +70,88 @@@@
d82 3
a84 1
+#endif
d117 1
a117 3
 #endif
-#else
-#error "Need to define SP index in jmp_buf here"
d139 2
@


1.15
log
@Fix NSPR thread initialization for MIPS.  (Similar issue to Alpha; we have to
set $t9 to the called function's address.)
@
text
@d1 1
a1 1
$NetBSD$
d56 1
a56 1
+#ifdef __m68k__	/* XXX UNTESTED */
@


1.14
log
@NSPR and XPTC support for arm32.
@
text
@d1 1
a1 1
$NetBSD: patch-ad,v 1.13 2000/10/27 04:38:27 mycroft Exp $
d5 1
a5 1
@@@@ -70,39 +70,87 @@@@
d66 1
a66 1
+#ifdef __mips__	/* XXX UNTESTED */
d72 1
@


1.13
log
@Minor fix for Alpha: We have to set t12 to the beginning of the PIC function
we're entering.
NSPR works on Alpha now.
@
text
@d1 1
a1 1
$NetBSD: patch-ad,v 1.12 2000/10/26 07:50:00 mycroft Exp $
d76 1
a76 1
+#ifdef __arm32__	/* XXX UNTESTED */
@


1.12
log
@Rework machdep NSPR code to not rely on the compiler playing nice after a
setjmp() call when we frob the stack pointer.  Instead, poke the return PC
in the saved context.

Add support for SPARC.
@
text
@d1 1
a1 1
$NetBSD: patch-ad,v 1.11 2000/10/23 17:40:07 mycroft Exp $
d5 1
a5 1
@@@@ -70,39 +70,86 @@@@
d86 1
a86 1
+#ifdef __alpha__	/* XXX UNTESTED */
d93 1
@


1.11
log
@Adjust JB_SP_INDEX for PowerPC.
Allocate more space at the top of new stacks.
This makes nspr work on PowerPC (at least according to the tests).
@
text
@d1 1
a1 1
$NetBSD$
d3 3
a5 3
--- nsprpub/pr/include/md/_netbsd.h.orig	Mon Oct 23 17:05:49 2000
+++ nsprpub/pr/include/md/_netbsd.h	Mon Oct 23 15:58:45 2000
@@@@ -70,8 +70,10 @@@@
d10 105
a114 11
+#if defined(__i386__) || defined(__sparc__) || defined(__m68k__)
 #define JB_SP_INDEX 2
+#elif defined(__powerpc__)
+#define JB_SP_INDEX 3
 #elif defined(__mips__)
 #define JB_SP_INDEX 4
 #elif defined(__alpha__)
@@@@ -101,7 +103,7 @@@@
     if (sigsetjmp(CONTEXT(_thread), 1)) {  \
         _main();  \
     }  \
d116 1
a116 2
+    _MD_GET_SP(_thread) = (unsigned char*) ((_sp) - 128); \
 }
d119 1
@


1.10
log
@Update pkg to Mozilla Milestone 18 (pkg from Taya via mail to tech-pkg).
Lot of changes, for details see
http://www.mozilla.org/projects/seamonkey/release-notes/m18-detail.html#whats_new
This is supposed to improve speed and stability.

I am commiting this now (during freeze) because (a) about nothing depends
on it and it is know to realy only work on i386/elf yet (although some
changes to fix problems on MacPPC, sparc and mips have been integrated);
and (b) Taya mentioned update problems (which I couldn't reproduce) from
M17 to M18, so it's better to avoid these by having the newer version
in the tagged pkgsrc.
@
text
@d1 1
a1 1
$NetBSD: patch-ad,v 1.9 2000/10/02 10:18:56 martin Exp $
d3 3
a5 4
--- nsprpub/pr/include/md/_netbsd.h.orig	Mon Oct  2 11:10:16 2000
+++ nsprpub/pr/include/md/_netbsd.h	Mon Oct  2 11:12:48 2000
@@@@ -20,6 +20,7 @@@@
 #define nspr_netbsd_defs_h___
d7 1
a7 2
 #include <sys/syscall.h>
+#include <sys/param.h>  /* for __NetBSD_Version__ */
d9 17
a25 2
 #define PR_LINKER_ARCH	"netbsd"
 #define _PR_SI_SYSNAME  "NetBSD"
@


1.9
log
@Make the pkg compile on NetBSD/macppc.
It doesn't work yet (due to toolchain issues), but that's another story.
The patches were created by wtc@@netscape.com and are going to be applied
to the mozilla mainline.
@
text
@d1 1
a1 1
$NetBSD$
@


1.8
log
@Update "mozilla" package to 5.0 milestone 17. This release is completely
different from the 19980728 snapshot on which our last package version
was based. The most important change is the new GTK+ based GUI and
the gecko rendering engine.

This update wouldn't exist without the work of Shin'ichiro TAYA who not
only contributed several NetBSD related fixes to the mozilla sources but
also created the base for this NetBSD package.
@
text
@d1 1
a1 1
$NetBSD: patch-ad,v 1.7 2000/06/19 04:17:27 soren Exp $
d3 4
a6 11
--- configure.in.orig	Tue Jun 13 16:56:51 2000
+++ configure.in	Mon Jun 19 06:06:55 2000
@@@@ -344,6 +344,11 @@@@
 TARGET_MD_ARCH=unix
 DIRENT_INO=d_ino
 NEED_BASE_DLL_NAME_ALSO=
+SHLIB_MAJOR=
+SHLIB_MINOR=
+OBJECT_FMT=
+SHLIB_LDSTARTFILE=
+SHLIB_LDENDFILE=
d8 2
a9 4
 MOZ_JPEG_CFLAGS=
 MOZ_JPEG_LIBS='-L$(DIST)/lib -ljpeg'
@@@@ -682,29 +687,28 @@@@
     ;;
d11 2
a12 90
 *-netbsd*)
-    DLL_SUFFIX=".so.1.0"
+   SHLIB_MAJOR=1
+   SHLIB_MINOR=0
     DSO_CFLAGS=''
-    DSO_PIC_CFLAGS='-fPIC'
     CFLAGS="$CFLAGS -Dunix"
     CXXFLAGS="$CXXFLAGS -Dunix"
+    if $CC -E - -dM </dev/null | grep __ELF__ >/dev/null; then
+        DLL_SUFFIX=".so"
+        LIBRUNPATH='`(cd $(DIST)/bin; /bin/pwd)`'
+        DSO_PIC_CFLAGS='-fpic -DPIC'
+        DSO_LDOPTS='-x -shared -soname lib$(LIBRARY_NAME).so.$(SHLIB_MAJOR)'
+        OBJECT_FMT=ELF
+        SHLIB_LDSTARTFILE=/usr/lib/crtbeginS.o
+        SHLIB_LDENDFILE=/usr/lib/crtendS.o
+    else
+    	DSO_PIC_CFLAGS='-fpic -DPIC'
+    	DLL_SUFFIX=".so.${SHLIB_MAJOR}.${SHLIB_MINOR}"
+    	DSO_LDOPTS='-x -shared'
+    	SHLIB_LDSTARTFILE=/usr/lib/c++rt0.o
+    fi
     # At least for 1.3 and up, ld supports this, despite the test failing above.
     MKSHLIB_FORCE_ALL='--whole-archive'
     MKSHLIB_UNFORCE_ALL='--no-whole-archive'
-    case $OS_TEST in
-	alpha)
-		dnl NetBSD/alpha can't find a shared lib
-		dnl (.so.1.0) unless there's a .so as well.
-		NEED_BASE_DLL_NAME_ALSO=1
-		;;
-	*86)
-		MKSHLIB='$(LD) $(DSO_LDOPTS) -o $@@'
-		MKCSHLIB='$(LD) $(DSO_LDOPTS) -o $@@'
-		;;
-    esac
-    dnl Test for a.out platform and handle C++ libraries correctly
-    if $CC -E - -dM </dev/null | grep -v __ELF__ >/dev/null; then
-	DSO_LDOPTS="-shared"
-    fi
     if test "$LIBRUNPATH"; then
 	DSO_LDOPTS="-R$LIBRUNPATH $DSO_LDOPTS"
     fi
@@@@ -947,6 +951,11 @@@@
 
 dnl See above (netbsd)
 AC_SUBST(NEED_BASE_DLL_NAME_ALSO)
+AC_SUBST(SHLIB_MAJOR)
+AC_SUBST(SHLIB_MINOR)
+AC_SUBST(OBJECT_FMT)
+AC_SUBST(SHLIB_LDSTARTFILE)
+AC_SUBST(SHLIB_LDENDFILE)
 
 dnl Only one oddball right now (QNX), but this gives us flexibility
 dnl if any other platforms need to override this in the future.
@@@@ -1150,6 +1159,12 @@@@
     AM_PATH_GTK($GTK_VERSION,,
       AC_MSG_ERROR(Test for GTK failed.))
 
+case "$target" in
+i386-*-netbsd*)
+	GTK_LIBS=`echo $GTK_LIBS | sed -e 's/-Wl,//g'`
+	;;
+esac
+
 dnl ========================================================
 dnl =							   =
 dnl = --with-java-supplement				   =
@@@@ -1621,6 +1636,13 @@@@
     HOST_LIBIDL_LIBS=`${HOST_LIBIDL_CONFIG} --libs`
 fi
 
+case "$target" in
+i386-*-netbsd*)
+	GLIB_LIBS=`echo $GLIB_LIBS | sed -e 's/-Wl,//g'`
+	LIBIDL_LIBS=`echo $LIBIDL_LIBS | sed -e 's/-Wl,//g'`
+	;;
+esac
+
 dnl Checks for typedefs, structures, and compiler characteristics.
 dnl ========================================================
 AC_C_CONST
@@@@ -2760,6 +2782,7 @@@@
     *-*-solaris*) MOZ_MONOLITHIC_TOOLKIT= ;;
     *-openvms*)   MOZ_MONOLITHIC_TOOLKIT= ;;
     *-freebsd*)   MOZ_MONOLITHIC_TOOLKIT= ;;
+    *-netbsd*)    MOZ_MONOLITHIC_TOOLKIT= ;;
     *-*-aix*)     MOZ_MONOLITHIC_TOOLKIT= ;;
     *-*-osf*)     MOZ_MONOLITHIC_TOOLKIT= ;;
     *-hpux11.*)   MOZ_MONOLITHIC_TOOLKIT= ;;
@


1.7
log
@Add RCS IDs.
@
text
@d1 1
a1 1
$NetBSD$
@


1.6
log
@Remove old linker workaround.
Use lowercase PKGNAME version name.
Prepare for running configure ourselves.
@
text
@d1 2
@


1.5
log
@Add Taya-san's patches.
@
text
@d1 2
a2 3
diff -ru ../mozilla-current.orig/mozilla/configure.in ./configure.in
--- ../mozilla-current.orig/mozilla/configure.in	Sun Jun  4 13:01:34 2000
+++ ./configure.in	Mon Jun  5 00:49:07 2000
d15 1
a15 1
@@@@ -682,11 +687,25 @@@@
d43 11
a53 4
@@@@ -701,10 +720,6 @@@@
 		MKCSHLIB='$(LD) $(DSO_LDOPTS) -o $@@'
 		;;
     esac
d61 1
a61 1
@@@@ -947,6 +962,11 @@@@
d73 1
a73 1
@@@@ -1150,6 +1170,12 @@@@
d86 1
a86 1
@@@@ -1621,6 +1647,13 @@@@
d100 1
a100 1
@@@@ -2760,6 +2793,7 @@@@
@


1.4
log
@Obsolete.
@
text
@d1 101
a101 17
$NetBSD: patch-ad,v 1.3 1999/02/01 11:39:47 frueauf Exp $

--- nsprpub/lib/ds/Makefile-patch	Thu Oct  8 22:24:52 1998
+++ nsprpub/lib/ds/Makefile	Fri Jan 29 16:57:36 1999
@@@@ -108,6 +108,12 @@@@
 	$(INSTALL) -m 444 $(TARGETS) $(DIST)/lib
 ifdef SHARED_LIBRARY
 	$(INSTALL) -m 444 $(SHARED_LIBRARY) $(DIST)/bin
+ifeq ($(OS_ARCH),NetBSD)
+ifeq ($(CPU_ARCH),mips)
+	(cd $(DIST)/bin;ln -s -f lib$(LIBRARY_NAME)$(LIBRARY_VERSION).so.1.0 lib$(LIBRARY_NAME)$(LIBRARY_VERSION).so.1)
+	(cd $(DIST)/bin;ln -s -f lib$(LIBRARY_NAME)$(LIBRARY_VERSION).so.1.0 lib$(LIBRARY_NAME)$(LIBRARY_VERSION).so)
+endif
+endif
 endif
 ifeq ($(MOZ_BITS),16)
 	$(INSTALL) -m 444 $(HEADERS) $(MOZ_INCL)
@


1.3
log
@Make mozilla work on amiga and pmax. The hard work was done by
Michael Hitch, thanx!
@
text
@d1 1
a1 1
$NetBSD$
@


1.2
log
@Update to 19981008 version. Keep the .so files at 1.0, bumping the major
(which is currently unused) to work around linker semantics isn't quite
right, since, for example, libjpeg might also conflict, not just
libutil, etc. Just always link in the mozilla libutil statically for now
(it's tiny).

Package needs to be updated to use the pkg libz and libjpeg in stead of
the private copied sometime.

Note that this version has a non-functional URL Bar, File->Open Page
must be used. This is fixed in mozilla-current, but we can't create
a package for this. Still, this version fixes a lot of other problems.
@
text
@d1 1
a1 1
$NetBSD: patch-ad,v 1.1 1998/09/15 16:47:10 tv Exp $
d3 6
a8 10
--- config/rules.mk.orig	Wed Sep  9 19:16:43 1998
+++ config/rules.mk	Wed Sep  9 19:17:35 1998
@@@@ -106,9 +106,12 @@@@
 ifeq ($(OS_ARCH),HP-UX)
 SHARED_LIBRARY		:= $(LIBRARY:.a=.sl)
 else
-ifneq (,$(filter FreeBSD NetBSD,$(OS_ARCH)))
+ifeq ($(OS_ARCH),FreeBSD)
 SHARED_LIBRARY		:= $(LIBRARY:.a=.so.1.0)
 else
d10 4
a13 9
+SHARED_LIBRARY		:= $(LIBRARY:.a=.so.5.0)
+else
 ifeq ($(OS_ARCH)$(OS_RELEASE),SunOS4.1)
 SHARED_LIBRARY		:= $(LIBRARY:.a=.so.1.0)
 else
@@@@ -116,6 +119,7 @@@@
 SHARED_LIBRARY		:= $(LIBRARY:.a=)_shr.a
 else
 SHARED_LIBRARY		:= $(LIBRARY:.a=.so)
d16 2
a17 2
 endif
 endif
@


1.1
log
@The linking with libutil _still_ didn't work on a real 1.3.2 system.  Fix
this the only way that works with a stock 1.3.x ld:  bump the major
numbers to 5.  Split out affected patches from the patch bundle.
@
text
@d1 1
a1 1
$NetBSD$
@

