pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www - remove user profile directory created while inst...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/17c1875f790b
branches:  trunk
changeset: 476002:17c1875f790b
user:      taya <taya%pkgsrc.org@localhost>
date:      Tue Jun 01 15:01:17 2004 +0000

description:
- remove user profile directory created while installation. fix pkg/24609.
- correct ARM architecture handling
- add g++-3.0 support for xpcom module on alpha
- bump PKGREVISION

diffstat:

 www/mozilla-gtk2/Makefile     |   5 ++-
 www/mozilla/Makefile          |   3 +-
 www/mozilla/Makefile.common   |   6 +++-
 www/mozilla/distinfo          |   7 ++--
 www/mozilla/files/moz-install |   9 +++++-
 www/mozilla/patches/patch-ba  |  13 ++++----
 www/mozilla/patches/patch-bb  |  17 ++++++-----
 www/mozilla/patches/patch-bw  |  64 +++++++++++++++++++++++++++++++++++++++++++
 8 files changed, 102 insertions(+), 22 deletions(-)

diffs (245 lines):

diff -r 4b7ca69dda7d -r 17c1875f790b www/mozilla-gtk2/Makefile
--- a/www/mozilla-gtk2/Makefile Tue Jun 01 10:09:31 2004 +0000
+++ b/www/mozilla-gtk2/Makefile Tue Jun 01 15:01:17 2004 +0000
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.6 2004/04/27 12:10:55 grant Exp $
+# $NetBSD: Makefile,v 1.7 2004/06/01 15:02:55 taya Exp $
 
 MOZILLA=       mozilla-gtk2
 MOZILLA_BIN=   mozilla-bin
+MOZCONFDIR=     .mozilla
 MOZ_VER=       1.6
-PKGREVISION=   3
+PKGREVISION=   4
 EXTRACT_SUFX=  .tar.bz2
 
 DISTFILES=     ${DISTNAME}${EXTRACT_SUFX}
diff -r 4b7ca69dda7d -r 17c1875f790b www/mozilla/Makefile
--- a/www/mozilla/Makefile      Tue Jun 01 10:09:31 2004 +0000
+++ b/www/mozilla/Makefile      Tue Jun 01 15:01:17 2004 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.129 2004/04/25 13:19:56 tron Exp $
+# $NetBSD: Makefile,v 1.130 2004/06/01 15:01:17 taya Exp $
 
 MOZILLA=       mozilla
 MOZILLA_BIN=   mozilla-bin
+MOZCONFDIR=    .mozilla
 MOZ_VER=       1.6
 PKGREVISION=   2
 EXTRACT_SUFX=  .tar.bz2
diff -r 4b7ca69dda7d -r 17c1875f790b www/mozilla/Makefile.common
--- a/www/mozilla/Makefile.common       Tue Jun 01 10:09:31 2004 +0000
+++ b/www/mozilla/Makefile.common       Tue Jun 01 15:01:17 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.38 2004/04/25 13:07:19 tron Exp $
+# $NetBSD: Makefile.common,v 1.39 2004/06/01 15:01:17 taya Exp $
 
 MOZ_DIST_VER?= ${MOZ_VER}
 DISTNAME?=     mozilla-source-${MOZ_DIST_VER}
@@ -70,6 +70,7 @@
 MAKE_ENV+=             MOZ_INTERNAL_LIBART_LGPL=1
 CONFIGURE_ENV+=                MOZ_INTERNAL_LIBART_LGPL=1
 CONFIGURE_ARGS+=       --enable-svg
+CONFIGURE_ARGS+=       --enable-svg-renderer-libart
 .endif
 
 .ifdef BUILD_CALENDAR
@@ -87,6 +88,9 @@
 # avoid creating a .mozilla directory in the users home
 # directory
 SCRIPTS_ENV+=  HOME="${WRKDIR}"
+.if (${MOZCONFDIR} != "")
+SCRIPTS_ENV+=  TMPMOZCONFDIR="${WRKDIR}/${MOZCONFDIR}"
+.endif
 
 PLIST_SUBST+=  MOZILLA=${MOZILLA}
 PLIST_SUBST+=  MOZILLA_BIN=${MOZILLA_BIN}
diff -r 4b7ca69dda7d -r 17c1875f790b www/mozilla/distinfo
--- a/www/mozilla/distinfo      Tue Jun 01 10:09:31 2004 +0000
+++ b/www/mozilla/distinfo      Tue Jun 01 15:01:17 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.55 2004/05/30 14:02:01 sekiya Exp $
+$NetBSD: distinfo,v 1.56 2004/06/01 15:01:17 taya Exp $
 
 SHA1 (mozilla-source-1.6.tar.bz2) = baecca0ecec35704049ab6debaec6c96adbade35
 Size (mozilla-source-1.6.tar.bz2) = 31037452 bytes
@@ -19,8 +19,8 @@
 SHA1 (patch-ao) = 7048e3a06d1569e31d2350c2473887a50aa81498
 SHA1 (patch-aw) = 5beeefa214a3003a74ccc68776a97a414c6acff1
 SHA1 (patch-ax) = 070c88dee0446b093ab1c2a9120dc1747642d46f
-SHA1 (patch-ba) = cff5e12280379546688ca556259e2265a1542ab8
-SHA1 (patch-bb) = 8fc197bc5b0b53e8ed7c3e8295bf459b42c2c384
+SHA1 (patch-ba) = d2e195900ed806aaf18e8a56efcf26c0bd4941ce
+SHA1 (patch-bb) = b3cedb7b6ae46749d5222ab9fd6bc087c781d459
 SHA1 (patch-bm) = f557aa3ce9a25c91884cfd42bb505422e52ac958
 SHA1 (patch-bn) = 07573c79b22821873954d7c70821a382ea42fe4e
 SHA1 (patch-bo) = a6bba31568b60818455911279e7db01c49c94498
@@ -31,3 +31,4 @@
 SHA1 (patch-bt) = a033b83ee633391ffc138442697fbe754ec92902
 SHA1 (patch-bu) = db33b8651e3cb1fbf9a18dbe78e1e8288cfda0ee
 SHA1 (patch-bv) = 4f23dfd885131ea866f31370f1421e7c19706860
+SHA1 (patch-bw) = 63f66b8e001b8352e73935a1f629de4bb1e70075
diff -r 4b7ca69dda7d -r 17c1875f790b www/mozilla/files/moz-install
--- a/www/mozilla/files/moz-install     Tue Jun 01 10:09:31 2004 +0000
+++ b/www/mozilla/files/moz-install     Tue Jun 01 15:01:17 2004 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: moz-install,v 1.8 2004/01/17 00:04:49 taya Exp $
+# $NetBSD: moz-install,v 1.9 2004/06/01 15:01:17 taya Exp $
 
 ${SED} -e "s,@PREFIX@,${PREFIX},g" -e "s,@MOZILLA@,${MOZILLA}," -e "s,@MOZILLA_BIN@,${MOZILLA_BIN}," ${FILESDIR}/mozilla-${OBJECT_FMT}.in > ${PREFIX}/bin/${MOZILLA}
 ${CHOWN} ${BINOWN} ${PREFIX}/bin/${MOZILLA}
@@ -63,3 +63,10 @@
 cd ${PREFIX}/lib/${MOZILLA}
 ${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom
 ${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome
+
+#
+# remove generated user conf directory (e.g. ${WRKSRC}/.mozilla)
+#
+if [ x"${TMPMOZCONFDIR}" != x ] ; then
+       ${RM} -rf ${TMPMOZCONFDIR}
+fi
diff -r 4b7ca69dda7d -r 17c1875f790b www/mozilla/patches/patch-ba
--- a/www/mozilla/patches/patch-ba      Tue Jun 01 10:09:31 2004 +0000
+++ b/www/mozilla/patches/patch-ba      Tue Jun 01 15:01:17 2004 +0000
@@ -1,14 +1,15 @@
-$NetBSD: patch-ba,v 1.16 2004/05/30 14:02:01 sekiya Exp $
+$NetBSD: patch-ba,v 1.17 2004/06/01 15:01:18 taya Exp $
 
---- nsprpub/pr/include/md/_netbsd.cfg.orig     2000-12-02 06:29:17.000000000 +0900
-+++ nsprpub/pr/include/md/_netbsd.cfg  2004-05-30 11:20:29.000000000 +0900
+diff -ru ../Orig/mozilla/nsprpub/pr/include/md/_netbsd.cfg ./nsprpub/pr/include/md/_netbsd.cfg
+--- ../Orig/mozilla/nsprpub/pr/include/md/_netbsd.cfg  2000-12-02 06:29:17.000000000 +0900
++++ ./nsprpub/pr/include/md/_netbsd.cfg        2004-05-30 23:39:50.000000000 +0900
 @@ -45,7 +45,8 @@
  
  #define PR_AF_INET6 24  /* same as AF_INET6 */
  
 -#if defined(__i386__) || defined(__arm32__) || defined(__MIPSEL__)
-+#if defined(__i386__) || defined(__arm32__) || defined(__arm__) || \
-+      defined(__armel__) || defined(__MIPSEL__)
++#if defined(__i386__) || defined(__arm32__) || defined(__ARMEL__) || \
++      defined(__MIPSEL__)
  
  #define IS_LITTLE_ENDIAN 1
  #undef  IS_BIG_ENDIAN
@@ -63,7 +64,7 @@
 +#define PR_ALIGN_OF_DOUBLE  8 
 +#define PR_ALIGN_OF_POINTER 8 
 +
-+#elif defined(__sparc__) || defined(__MIPSEB__) || defined(__armeb__)
++#elif defined(__sparc__) || defined(__MIPSEB__) || defined(__ARMEB__)
  
  #undef IS_LITTLE_ENDIAN
  #define  IS_BIG_ENDIAN 1
diff -r 4b7ca69dda7d -r 17c1875f790b www/mozilla/patches/patch-bb
--- a/www/mozilla/patches/patch-bb      Tue Jun 01 10:09:31 2004 +0000
+++ b/www/mozilla/patches/patch-bb      Tue Jun 01 15:01:17 2004 +0000
@@ -1,7 +1,8 @@
-$NetBSD: patch-bb,v 1.17 2004/05/30 14:02:01 sekiya Exp $
+$NetBSD: patch-bb,v 1.18 2004/06/01 15:01:18 taya Exp $
 
---- nsprpub/pr/include/md/_netbsd.h.orig       2003-09-12 02:24:53.000000000 +0900
-+++ nsprpub/pr/include/md/_netbsd.h    2004-05-30 14:36:16.000000000 +0900
+diff -ru ../Orig/mozilla/nsprpub/pr/include/md/_netbsd.h ./nsprpub/pr/include/md/_netbsd.h
+--- ../Orig/mozilla/nsprpub/pr/include/md/_netbsd.h    2003-09-12 02:24:53.000000000 +0900
++++ ./nsprpub/pr/include/md/_netbsd.h  2004-05-30 23:41:41.000000000 +0900
 @@ -44,16 +44,26 @@
  #define _PR_SI_ARCHITECTURE "x86"
  #elif defined(__alpha__)
@@ -20,12 +21,12 @@
  #define _PR_SI_ARCHITECTURE "mips"
  #elif defined(__arm32__)
  #define _PR_SI_ARCHITECTURE "arm32"
++#elif defined(__ARMEL__)
++#define _PR_SI_ARCHITECTURE "armel"
++#elif defined(__ARMEL__)
++#define _PR_SI_ARCHITECTURE "armeb"
 +#elif defined(__arm__)
 +#define _PR_SI_ARCHITECTURE "arm"
-+#elif defined(__armel__)
-+#define _PR_SI_ARCHITECTURE "armel"
-+#elif defined(__armeb__)
-+#define _PR_SI_ARCHITECTURE "armeb"
  #endif
  
  #if defined(__ELF__)
@@ -66,7 +67,7 @@
  #define       _MD_GET_SP(_thread)     CONTEXT(_thread)[32]
  #endif
 -#ifdef __arm32__
-+#if defined(__arm32__) || defined(__arm__) || defined(__armel__) || defined(__armeb__)
++#ifdef __arm__
  #define _MD_INIT_CONTEXT(_thread, _sp, _main, status)                 \
  {                                                                     \
      sigsetjmp(CONTEXT(_thread), 1);                                   \
diff -r 4b7ca69dda7d -r 17c1875f790b www/mozilla/patches/patch-bw
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/mozilla/patches/patch-bw      Tue Jun 01 15:01:17 2004 +0000
@@ -0,0 +1,64 @@
+$NetBSD: patch-bw,v 1.1 2004/06/01 15:01:18 taya Exp $
+
+diff -ru ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_linux_alpha.cpp ./xpcom/reflect/xptcall/src/md/unix/xptcstubs_linux_alpha.cpp
+--- ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_linux_alpha.cpp        2001-09-29 05:12:52.000000000 +0900
++++ ./xpcom/reflect/xptcall/src/md/unix/xptcstubs_linux_alpha.cpp      2004-05-11 16:29:31.000000000 +0900
+@@ -188,6 +188,50 @@
+  * nsresult nsXPTCStubBase::Stub##n()
+  *  Sets register $1 to "methodIndex" and jumps to SharedStub.
+  */
++#if defined(__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100 /* G++ V3 ABI */
++#define STUB_ENTRY(n)                                 \
++__asm__(                                              \
++"#### Stub"#n" ####\n"                                        \
++".text\n"                                             \
++"     .align 5\n"                                     \
++"     .if "#n" < 10 \n"                               \
++"     .globl _ZN14nsXPTCStubBase5Stub"#n"Ev\n"        \
++"     .ent _ZN14nsXPTCStubBase5Stub"#n"Ev\n"          \
++"_ZN14nsXPTCStubBase5Stub"#n"Ev:\n"                   \
++"     .frame $30,0,$26,0\n"                           \
++"     ldgp $29,0($27)\n"                              \
++"$_ZN14nsXPTCStubBase5Stub"#n"Ev..ng:\n"              \
++"     .prologue 1\n"                                  \
++"     lda $1,"#n"\n"                                  \
++"     br $31,$SharedStub..ng\n"                       \
++"     .end _ZN14nsXPTCStubBase5Stub"#n"Ev"            \
++"       .elseif  "#n" < 100 \n"                               \
++"     .globl _ZN14nsXPTCStubBase6Stub"#n"Ev\n"        \
++"     .ent _ZN14nsXPTCStubBase6Stub"#n"Ev\n"          \
++"_ZN14nsXPTCStubBase6Stub"#n"Ev:\n"                   \
++"     .frame $30,0,$26,0\n"                           \
++"     ldgp $29,0($27)\n"                              \
++"$_ZN14nsXPTCStubBase6Stub"#n"Ev..ng:\n"              \
++"     .prologue 1\n"                                  \
++"     lda $1,"#n"\n"                                  \
++"     br $31,$SharedStub..ng\n"                       \
++"     .end _ZN14nsXPTCStubBase6Stub"#n"Ev"            \
++"     .elseif "#n" < 1000 \n"                         \
++"     .globl _ZN14nsXPTCStubBase7Stub"#n"Ev\n"        \
++"     .ent _ZN14nsXPTCStubBase7Stub"#n"Ev\n"          \
++"_ZN14nsXPTCStubBase7Stub"#n"Ev:\n"                   \
++"     .frame $30,0,$26,0\n"                           \
++"     ldgp $29,0($27)\n"                              \
++"$_ZN14nsXPTCStubBase7Stub"#n"Ev..ng:\n"              \
++"     .prologue 1\n"                                  \
++"     lda $1,"#n"\n"                                  \
++"     br $31,$SharedStub..ng\n"                       \
++"     .end _ZN14nsXPTCStubBase7Stub"#n"Ev"            \
++"     .else\n"                                        \
++"     .err \"stub number "#n"> 1000 not yet supported\"\n" \
++"     .endif\n"                                       \
++    );
++#else /* G++2.95 ABI */
+ #define STUB_ENTRY(n) \
+ __asm__( \
+     "#### Stub"#n" ####\n" \
+@@ -204,6 +248,7 @@
+     "br $31,$SharedStub..ng\n\t" \
+     ".end Stub"#n"__14nsXPTCStubBase" \
+     );
++#endif
+ 
+ #define SENTINEL_ENTRY(n) \
+ nsresult nsXPTCStubBase::Sentinel##n() \



Home | Main Index | Thread Index | Old Index