pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/seamonkey Import Mozilla Seamonkey 1.0 from pkgsrc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cf21ba4fcda2
branches:  trunk
changeset: 510455:cf21ba4fcda2
user:      ghen <ghen%pkgsrc.org@localhost>
date:      Thu Mar 30 19:15:38 2006 +0000

description:
Import Mozilla Seamonkey 1.0 from pkgsrc-wip (gtk2 version).  Seamonkey is
the community-driven continuation of the Mozilla Suite, which is no longer
maintained by Mozilla.

diffstat:

 www/seamonkey/DESCR            |     7 +
 www/seamonkey/INSTALL          |    17 +
 www/seamonkey/Makefile         |    20 +
 www/seamonkey/Makefile.common  |   207 ++
 www/seamonkey/PLIST            |  3210 ++++++++++++++++++++++++++++++++++++++++
 www/seamonkey/buildlink3.mk    |    25 +
 www/seamonkey/distinfo         |    46 +
 www/seamonkey/options.mk       |    12 +
 www/seamonkey/patches/patch-aa |    21 +
 www/seamonkey/patches/patch-ab |    54 +
 www/seamonkey/patches/patch-ac |    54 +
 www/seamonkey/patches/patch-ad |    76 +
 www/seamonkey/patches/patch-ae |    42 +
 www/seamonkey/patches/patch-af |    25 +
 www/seamonkey/patches/patch-ag |    14 +
 www/seamonkey/patches/patch-ah |    49 +
 www/seamonkey/patches/patch-ai |    62 +
 www/seamonkey/patches/patch-aj |    40 +
 www/seamonkey/patches/patch-ak |    61 +
 www/seamonkey/patches/patch-al |    22 +
 www/seamonkey/patches/patch-an |    14 +
 www/seamonkey/patches/patch-ao |    76 +
 www/seamonkey/patches/patch-ap |    13 +
 www/seamonkey/patches/patch-aq |    13 +
 www/seamonkey/patches/patch-aw |    12 +
 www/seamonkey/patches/patch-ax |    15 +
 www/seamonkey/patches/patch-ba |   125 +
 www/seamonkey/patches/patch-bb |    26 +
 www/seamonkey/patches/patch-bm |    32 +
 www/seamonkey/patches/patch-bo |    31 +
 www/seamonkey/patches/patch-bq |    13 +
 www/seamonkey/patches/patch-br |    22 +
 www/seamonkey/patches/patch-bs |    14 +
 www/seamonkey/patches/patch-bu |   179 ++
 www/seamonkey/patches/patch-bv |   211 ++
 www/seamonkey/patches/patch-bw |    63 +
 www/seamonkey/patches/patch-bx |    84 +
 www/seamonkey/patches/patch-by |    50 +
 www/seamonkey/patches/patch-bz |   122 +
 www/seamonkey/patches/patch-ca |   166 ++
 www/seamonkey/patches/patch-cb |    26 +
 www/seamonkey/patches/patch-cg |    84 +
 www/seamonkey/patches/patch-ch |    17 +
 www/seamonkey/patches/patch-ci |    13 +
 www/seamonkey/patches/patch-cj |    32 +
 www/seamonkey/patches/patch-ck |    19 +
 www/seamonkey/patches/patch-cl |    31 +
 www/seamonkey/patches/patch-cm |    13 +
 www/seamonkey/patches/patch-cn |    85 +
 49 files changed, 5665 insertions(+), 0 deletions(-)

diffs (truncated from 5861 to 300 lines):

diff -r 9ad60a789753 -r cf21ba4fcda2 www/seamonkey/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/seamonkey/DESCR       Thu Mar 30 19:15:38 2006 +0000
@@ -0,0 +1,7 @@
+The SeaMonkey project is a community effort to deliver production-quality
+releases of code derived from the application formerly known as "Mozilla
+Application Suite". Whereas the main focus of the Mozilla Foundation is on
+Mozilla Firefox and Mozilla Thunderbird, our group of dedicated volunteers
+works to ensure that you can have "everything but the kitchen sink" (a web
+browser, mail client, HTML composer, address book, IRC client and calendar),
+and have it stable enough for corporate use.
diff -r 9ad60a789753 -r cf21ba4fcda2 www/seamonkey/INSTALL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/seamonkey/INSTALL     Thu Mar 30 19:15:38 2006 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: INSTALL,v 1.1.1.1 2006/03/30 19:15:38 ghen Exp $
+
+MOZILLA="@MOZILLA@"
+MOZILLA_BIN="@MOZILLA_BIN@"
+MOZILLA_FIVE_HOME="${PKG_PREFIX}/lib/${MOZILLA}"
+export MOZILLA_FIVE_HOME
+
+case ${STAGE} in
+POST-INSTALL)
+       ${MKDIR} -p "./tmpdir-${PKGNAME}"
+       LD_LIBRARY_PATH="${MOZILLA_FIVE_HOME}" HOME="./tmpdir-${PKGNAME}" \
+               ${MOZILLA_FIVE_HOME}/regxpcom
+       LD_LIBRARY_PATH="${MOZILLA_FIVE_HOME}" HOME="./tmpdir-${PKGNAME}" \
+               ${MOZILLA_FIVE_HOME}/regchrome
+       ${RM} -fr "./tmpdir-${PKGNAME}"
+       ;;
+esac
diff -r 9ad60a789753 -r cf21ba4fcda2 www/seamonkey/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/seamonkey/Makefile    Thu Mar 30 19:15:38 2006 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/03/30 19:15:38 ghen Exp $
+
+MOZILLA=               seamonkey
+MOZILLA_BIN=           seamonkey-bin
+MOZ_VER=               1.0
+EXTRACT_SUFX=          .tar.bz2
+
+DISTFILES=             ${DISTNAME}${EXTRACT_SUFX}
+
+COMMENT=               Full featured gecko-based browser
+
+BUILD_SVG=             # yes
+BUILD_MATHML=          # yes
+BUILD_CALENDAR=                # yes
+
+MOZILLA_USE_GTK2=      # yes
+MOZILLA_USE_XFT=       YES
+
+.include "../../wip/seamonkey/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff -r 9ad60a789753 -r cf21ba4fcda2 www/seamonkey/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/seamonkey/Makefile.common     Thu Mar 30 19:15:38 2006 +0000
@@ -0,0 +1,207 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2006/03/30 19:15:38 ghen Exp $
+
+MOZ_DIST_VER?=         ${MOZ_VER}
+DISTNAME?=             seamonkey-${MOZ_DIST_VER}.source
+PKGNAME=               ${MOZILLA}-${MOZ_VER}
+MASTER_SITES=          http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/${MOZ_VER}/
+MASTER_SITES+=         ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/${MOZ_VER}/
+MASTER_SITES+=         http://public.planetmirror.com.au/pub/seamonkey/releases/${MOZ_VER}/
+MASTER_SITES+=         ftp://public.planetmirror.com.au/pub/seamonkey/releases/${MOZ_VER}/
+CATEGORIES=            www
+
+MAINTAINER=            ghen%NetBSD.org@localhost
+HOMEPAGE?=             http://www.mozilla.org/projects/seamonkey
+
+FILESDIR=              ${.CURDIR}/../../www/mozilla/files
+
+BUILD_DEPENDS+=                zip>=2.3:../../archivers/zip
+
+WRKSRC=                        ${WRKDIR}/mozilla
+USE_LANGUAGES=         c c++
+USE_TOOLS+=            autoconf213 gmake perl pkg-config
+GNU_CONFIGURE=         yes
+
+INSTALL_TEMPLATE+=     ${.CURDIR}/../../wip/seamonkey/INSTALL
+
+CONFIG_GUESS_OVERRIDE= build/autoconf/config.guess
+CONFIG_GUESS_OVERRIDE+=        nsprpub/build/autoconf/config.guess
+CONFIG_GUESS_OVERRIDE+=        directory/c-sdk/config/autoconf/config.guess
+CONFIG_SUB_OVERRIDE=   build/autoconf/config.sub
+CONFIG_SUB_OVERRIDE+=  nsprpub/build/autoconf/config.sub
+CONFIG_SUB_OVERRIDE+=  directory/c-sdk/config/autoconf/config.sub
+CONFIG_STATUS_OVERRIDE=                build/config.status
+CONFIG_STATUS_OVERRIDE+=       nsprpub/config.status
+CONFIG_STATUS_OVERRIDE+=       directory/c-sdk/config.status
+
+PKGCONFIG_OVERRIDE+=   build/unix/seamonkey-gtkmozembed.pc
+PKGCONFIG_OVERRIDE+=   build/unix/seamonkey-js.pc
+PKGCONFIG_OVERRIDE+=   build/unix/seamonkey-nspr.pc
+PKGCONFIG_OVERRIDE+=   build/unix/seamonkey-nss.pc
+PKGCONFIG_OVERRIDE+=   build/unix/seamonkey-plugin.pc
+PKGCONFIG_OVERRIDE+=   build/unix/seamonkey-xpcom.pc
+# Some .pc files are filled in by the build process, so we can't fix the
+# rpaths until this has happened.
+PKGCONFIG_OVERRIDE_STAGE=      post-build
+
+CONFIGURE_ARGS+=       --enable-application=suite
+CONFIGURE_ARGS+=       --disable-tests
+CONFIGURE_ARGS+=       --disable-pedantic
+CONFIGURE_ARGS+=       --with-system-jpeg=${BUILDLINK_PREFIX.jpeg:Q}
+CONFIGURE_ARGS+=       --with-system-png=${BUILDLINK_PREFIX.png:Q}
+CONFIGURE_ARGS+=       --enable-crypto
+
+SHAREMODE?=            644
+BUILD_TARGET=          # empty
+
+UNLIMIT_RESOURCES=     datasize memorysize stacksize
+
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.if defined(MOZILLA_USE_GTK2)
+.include "../../net/libIDL/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+CONFIGURE_ARGS+=       --enable-default-toolkit=gtk2 --disable-gnomevfs
+.else
+.include "../../graphics/gdk-pixbuf/buildlink3.mk"
+.include "../../net/ORBit/buildlink3.mk"
+.include "../../x11/gtk/buildlink3.mk"
+.include "../../x11/Xrender/buildlink3.mk"
+CONFIGURE_ARGS+=       --enable-default-toolkit=gtk
+.endif
+
+# NetBSD-*-m68k builds, but "regchrome" dumps core.
+NOT_FOR_PLATFORM=      NetBSD-1.4.*-* NetBSD-*-m68k
+
+MAKE_ENV+=             MOZILLA_PKG_NAME=${MOZILLA:Q}
+
+MOZ_LIBDIR=            ${PREFIX}/lib/${MOZILLA}
+MAKE_ENV+=             LIBRUNPATH=${MOZ_LIBDIR:Q}
+CONFIGURE_ENV+=                LIBRUNPATH=${MOZ_LIBDIR:Q}
+LDFLAGS+=              ${COMPILER_RPATH_FLAG}${MOZ_LIBDIR}
+
+.if defined(BUILD_SVG)
+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
+
+.if defined(BUILD_CALENDAR)
+CONFIGURE_ARGS+=       --enable-calendar
+.endif
+
+.if defined(BUILD_MATHML)
+CONFIGURE_ARGS+=       --enable-mathml
+.endif
+
+.if exists(${X11BASE}/include/X11/extensions/Xinerama.h) && \
+       exists(${X11BASE}/lib/libXinerama.so)
+CONFIGURE_ARGS+=       --enable-xinerama
+.endif
+
+# avoid creating a .mozilla directory in the users home
+# directory
+SCRIPTS_ENV+=          HOME=${WRKDIR:Q}
+
+PLIST_SUBST+=          MOZILLA=${MOZILLA:Q}
+PLIST_SUBST+=          MOZILLA_BIN=${MOZILLA_BIN:Q}
+FILES_SUBST+=          MOZILLA=${MOZILLA:Q}
+FILES_SUBST+=          MOZILLA_BIN=${MOZILLA_BIN:Q}
+.if ${OBJECT_FMT} == "ELF"
+SO_SUFFIX=             so
+SCRIPTS_ENV+=          MOZ_INSTALL_LIB=${INSTALL_PROGRAM:Q}
+.elif ${OBJECT_FMT} == "Mach-O"
+SO_SUFFIX=             dylib
+SCRIPTS_ENV+=          MOZ_INSTALL_LIB=${INSTALL_LIB:Q}
+.else
+SO_SUFFIX=             so.1.0
+SCRIPTS_ENV+=          MOZ_INSTALL_LIB=${INSTALL_PROGRAM:Q}
+.endif
+PLIST_SUBST+=          SO_SUFFIX=${SO_SUFFIX:Q}
+
+.if (${OPSYS} == "SunOS" && ${MACHINE_ARCH} == "sparc")
+PLIST_SUBST+=          SUNOSLIB=""
+SCRIPTS_ENV+=          SUNOSLIB=""
+.else
+PLIST_SUBST+=          SUNOSLIB="@comment "
+SCRIPTS_ENV+=          SUNOSLIB="@comment "
+.endif
+
+SCRIPTS_ENV+=          OBJECT_FMT=${OBJECT_FMT:Q}
+SCRIPTS_ENV+=          PLIST_SRC=${PLIST_SRC:Q}
+SCRIPTS_ENV+=          SED=${SED:Q}
+SCRIPTS_ENV+=          RM=${RM:Q}
+SCRIPTS_ENV+=          EGREP=${EGREP:Q}
+SCRIPTS_ENV+=          CHOWN=${CHOWN:Q}
+SCRIPTS_ENV+=          CHGRP=${CHGRP:Q}
+SCRIPTS_ENV+=          CHMOD=${CHMOD:Q}
+SCRIPTS_ENV+=          BINOWN=${BINOWN:Q}
+SCRIPTS_ENV+=          BINGRP=${BINGRP:Q}
+SCRIPTS_ENV+=          BINMODE=${BINMODE:Q}
+SCRIPTS_ENV+=          SETENV=${SETENV:Q}
+SCRIPTS_ENV+=          MOZILLA=${MOZILLA:Q}
+SCRIPTS_ENV+=          MOZILLA_BIN=${MOZILLA_BIN:Q}
+SCRIPTS_ENV+=          SO_SUFFIX=${SO_SUFFIX:Q}
+
+PTHREAD_OPTS+=         native optional
+
+.if (${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "x86_64")
+GCC_REQD+=             3.4
+.endif
+
+.include "../../mk/compiler.mk"
+.if !empty(CC_VERSION:Mgcc*)
+COPTS?=                        -O2
+.endif
+CONFIGURE_ARGS+=       --enable-optimize=${COPTS:Q}
+
+XPTCFILES+=            xptcinvoke_asm_sparc64_netbsd.s xptcstubs_asm_sparc64_netbsd.s
+XPTCFILES+=            xptcinvoke_sparc64_netbsd.cpp xptcstubs_sparc64_netbsd.cpp
+
+.if ${OPSYS} == "Darwin"
+BUILDLINK_PASSTHRU_DIRS+=/Developer
+.endif
+
+post-extract:
+.for f in ${XPTCFILES}
+       ${CP} ${FILESDIR:Q}/${f:Q} ${WRKSRC:Q}/xpcom/reflect/xptcall/src/md/unix/${f:Q}
+.endfor
+
+pre-configure:
+       cd ${WRKSRC:Q} && autoconf
+       cd ${WRKSRC:Q}/nsprpub && autoconf
+       cd ${WRKSRC:Q}/directory/c-sdk && autoconf
+
+post-build:
+       ${ECHO} skin,install,select,classic/1.0 >> \
+               ${WRKSRC:Q}/dist/bin/chrome/installed-chrome.txt
+       ${ECHO} locale,install,select,en-US >> \
+               ${WRKSRC:Q}/dist/bin/chrome/installed-chrome.txt
+
+do-install:
+       ${SETENV} ${SCRIPTS_ENV} ${SH} ${FILESDIR:Q}/moz-install
+
+.include "../../mk/pthread.buildlink3.mk"
+
+.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none")
+CONFIGURE_ARGS+=       --without-pthreads
+.else
+CONFIGURE_ARGS+=       --with-pthreads
+.endif
+
+.if ${MOZILLA_USE_XFT} == "YES" && exists(${X11BASE}/include/X11/Xdefs.h)
+CONFIGURE_ARGS+=       --enable-xft
+# pkgconfig defaults to a "build" dependency, which is what we want.
+.include "../../fonts/Xft2/buildlink3.mk"
+.endif
+
+# Fix for firefox* packages.
+SUBST_CLASSES+=                pc
+SUBST_STAGE.pc=                post-extract
+SUBST_FILES.pc=                build/unix/*.pc.in
+SUBST_SED.pc=          -e 's|%includedir%|${PREFIX}/include/${MOZILLA}|g'
+SUBST_SED.pc+=         -e 's|%libdir%|${PREFIX}/lib/${MOZILLA}|g'
+SUBST_MESSAGE.pc=      Fixing pkgconfig files.
+
+.include "../../wip/seamonkey/options.mk"
diff -r 9ad60a789753 -r cf21ba4fcda2 www/seamonkey/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/seamonkey/PLIST       Thu Mar 30 19:15:38 2006 +0000
@@ -0,0 +1,3210 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/03/30 19:15:47 ghen Exp $
+bin/${MOZILLA}
+@comment begin PROGRAMS
+lib/${MOZILLA}/${MOZILLA_BIN}
+lib/${MOZILLA}/dirver
+lib/${MOZILLA}/mangle
+lib/${MOZILLA}/mozilla-xremote-client
+lib/${MOZILLA}/nsinstall
+lib/${MOZILLA}/regchrome
+lib/${MOZILLA}/regxpcom
+lib/${MOZILLA}/shlibsign
+lib/${MOZILLA}/xpcshell
+lib/${MOZILLA}/xpicleanup
+lib/${MOZILLA}/xpidl
+lib/${MOZILLA}/xpt_dump
+lib/${MOZILLA}/xpt_link
+@comment end PROGRAMS
+@comment begin SCRIPTS
+lib/${MOZILLA}/seamonkey-config
+@comment end SCRIPTS
+@comment begin DSO
+lib/${MOZILLA}/components/libaccessibility.${SO_SUFFIX}
+lib/${MOZILLA}/components/libaddrbook.${SO_SUFFIX}
+lib/${MOZILLA}/components/libappcomps.${SO_SUFFIX}
+lib/${MOZILLA}/components/libauth.${SO_SUFFIX}
+lib/${MOZILLA}/components/libautoconfig.${SO_SUFFIX}
+lib/${MOZILLA}/components/libbayesflt.${SO_SUFFIX}
+lib/${MOZILLA}/components/libcalbasecomps.${SO_SUFFIX}
+lib/${MOZILLA}/components/libcaps.${SO_SUFFIX}



Home | Main Index | Thread Index | Old Index