1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

- Add seamonkey

This is the current release of the Seamonkey open source web browser. It should
be fully compliant with all W3C standards, including HTML, CSS, XML, XSL,
JavaScript, MathML, SSL encryption, SVG and RDF.  Also supports Java with
the use of the FreeBSD native Java plug-in.

This is the latest bleeding edge release.  Beware that you'll probably find
bugs here, so if you value stability, try www/mozilla.

WWW: http://www.mozilla.org/projects/seamonkey/

Repocopied by:	marcus
This commit is contained in:
Michael Johnson 2005-11-30 00:44:58 +00:00
parent 8426fb5ae1
commit 58cfbc4b97
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=149984
55 changed files with 901 additions and 2466 deletions

View File

@ -789,6 +789,7 @@
SUBDIR += scout
SUBDIR += screem
SUBDIR += script4rss
SUBDIR += seamonkey
SUBDIR += selenium
SUBDIR += servlet-api
SUBDIR += session2

View File

@ -3,279 +3,107 @@
# Whom: eivind/dima/jseger
#
# $FreeBSD$
# $MCom: ports/www/mozilla-devel/Makefile,v 1.10 2005/10/27 00:08:39 marcus Exp $
# $MCom: ports/www/seamonkey/Makefile,v 1.35 2005/11/28 19:28:49 ahze Exp $
#
PORTNAME?= mozilla
PORTVERSION= 1.8.b1
PORTREVISION?= 7
PORTEPOCH?= 2
PORTNAME= seamonkey
DISTVERSION= 1.0a1
CATEGORIES?= www
MASTER_SITES= ${MASTER_SITE_MOZILLA}
MASTER_SITE_SUBDIR= mozilla/releases/${PORTNAME}${PORTVERSION:S/.b1/b1/}/source
DISTNAME= ${PORTNAME}-source-${PORTVERSION:S/.b1/b1/}
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= ahze
#MASTER_SITES= ${MASTER_SITE_MOZILLA}
#MASTER_SITE_SUBDIR= seamonkey/releases/${DISTVERSION}
DISTNAME= ${PORTNAME}-${DISTVERSION}.source
MAINTAINER= gnome@FreeBSD.org
COMMENT= The open source, standards compliant web browser
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png \
Xft.2:${PORTSDIR}/x11-fonts/libXft
DEPRECATED= "The mozilla team has shifted the development branch of \
mozilla to seamonkey, this port is outdated and has many \
vulnerabilities"
WRKSRC= ${WRKDIR}/${PORTNAME}
MOZILLA?= mozilla-devel
MOZ_SUFX?= -devel
MOZ_VER?= ${PORTVERSION:S/.b1/b/}
LATEST_LINK= ${MOZILLA}
EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exclude */CVS/* \
--exclude */macbuild/*\
--exclude */package/* \
--exclude .cvsignore \
--exclude makefile.win \
--exclude MANIFEST
USE_GNOME= gtk20 libidl desktopfileutils
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_PERL5= yes
USE_ICONV= yes
USE_GMAKE= yes
WANT_GNOME= yes
USE_REINPLACE= yes
HAS_CONFIGURE= yes
ALL_TARGET= default
FAKEDIR= ${WRKDIR}/fake
SCRIPTS_DIR= ${FAKEDIR}/lib/${MOZILLA}
MOZ_PIS_DIR= ${SCRIPTS_DIR}/init.d
MOZ_PIS_SCRIPTS= S50cleanhome
USE_X_PREFIX= yes
MOZ_PIS_SCRIPTS= moz_pis_S50cleanhome
MAKE_ENV= LD_LIBRARY_PATH=${WRKSRC}/dist/bin
CONFIGURE_ARGS= \
--disable-auto-deps \
--enable-chrome-format=jar \
--disable-cpp-exceptions \
--disable-cpp-rtti \
--enable-crypto \
--disable-gtktest \
--disable-freetypetest \
--disable-installer \
--disable-glibtest \
--enable-double-buffer \
--enable-mathml \
--disable-md \
--disable-pedantic \
--disable-bidi \
--disable-plaintext-editor-only \
--enable-svg \
--disable-tests \
--disable-xterm-updates \
--enable-xinerama \
--with-system-zlib \
--with-system-jpeg=${LOCALBASE} \
--with-system-png=${LOCALBASE} \
--with-gssapi=/usr \
--prefix=${FAKEDIR} \
--with-pthreads \
--enable-application=suite \
--enable-xft \
--disable-freetype2 \
--enable-default-toolkit=gtk2
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/cairo"
PLIST= ${WRKDIR}/pkg-plist
MOZ_EXTENSIONS= default
CONFIGURE_ENV= LOCALBASE=${LOCALBASE}
FREETYPE_LIB= libfreetype.so.9
PKGCONFIG_FILES=mozilla-gtkmozembed mozilla-js mozilla-xpcom \
mozilla-nspr mozilla-nss mozilla-plugin
MOZ_EXTENSIONS= default
MOZ_OPTIONS+= --enable-application=suite \
--enable-svg-renderer=cairo \
--enable-system-cairo
MOZ_MK_OPTIONS+= MOZ_CO_PROJECT=suite
# JPI stuff. List paths to Java Plug-ins here in the order to try.
JPI_LIST?=\
${LOCALBASE}/jdk1.5.0/jre/plugin/${ARCH}/ns7/libjavaplugin_oji.so \
${LOCALBASE}/jdk1.4.2/jre/plugin/${ARCH}/ns610/libjavaplugin_oji.so
OPTIONS=CALENDAR "Enable the Calendar module" off \
MAILNEWS "Enable Mail and News modules" on \
OPTIONS=MAILNEWS "Enable Mail and News modules" on \
COMPOSER "Enable the HTML Composer module" on \
DEBUG "Enable debugging (i.e. gdb) support" off \
LDAP "Enable LDAP support for Mailnews" on \
CHATZILLA "Enable the Chatzilla IRC module" on \
JAVASCRIPT_DEBUGGER "Enable DTD and JavaScript debuggers" off \
OPTIMIZED_CFLAGS "Enable -O2 optimizations" off \
SMB "Enable smb:// URI support via gnomevfs" off
# CAIRO_RENDER "Enable SVG rendering with Cairo" off \
# CAIRO "Enable Cairo-specific Canvas features" off \
SMB "Enable smb:// URI support using gnomevfs" off
.include <bsd.port.pre.mk>
.if ${ARCH} == "ia64" || ${ARCH} == "alpha"
BROKEN= "Does not compile on ${ARCH}"
.if exists(${LOCALBASE}/include/cairo/cairo-glitz.h)
# Glitz support can only be enabled if cairo is built with glitz support
MOZ_OPTIONS+= --enable-glitz
LIB_DEPENDS+= glitz.1:${PORTSDIR}/graphics/glitz
.endif
.if ${ARCH} == "alpha" && ${OSVERSION} < 500035
IGNORE= core dumps on ${ARCH} during post-build
.endif
.if exists(${X11BASE}/lib/X11/fonts/mozilla/fonts.dir)
BROKEN= "Mozilla${MOZ_SUFX} and Xft2 render the mozilla-fonts \
illegibly. Please remove the mozilla-fonts package"
.endif
.if defined(WITH_CALENDAR) && (defined(WITHOUT_MAILNEWS) || \
defined(WITHOUT_COMPOSER))
BROKEN= "Calendar requires Composer and Mailnews support."
.endif
.if ${OSVERSION} < 500000
USE_GCC= 3.4
USE_GCC= 3.4+
.endif
.if defined(WITH_CAIRO_RENDER) || defined(WITH_CAIRO)
#LIB_DEPENDS+= svg-cairo.1:${PORTSDIR}/graphics/libsvg-cairo
.endif
#.if defined(WITH_CAIRO_RENDER)
#CONFIGURE_ARGS+= --enable-svg-renderer-cairo \
# --disable-svg-renderer-libart
#CONFIGURE_ENV+= MOZ_SVG_RENDERER_CAIRO=1
#.else
CONFIGURE_ARGS+= --enable-svg-renderer-libart \
--disable-svg-renderer-cairo
CONFIGURE_ENV+= MOZ_INTERNAL_LIBART_LGPL=1
MAKE_ENV+= MOZ_INTERNAL_LIBART_LGPL=1
#.endif
#.if defined(WITH_CAIRO)
#CONFIGURE_ARGS+= --enable-cairo
#CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include/cairo"
#.endif
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+= --enable-debug \
--disable-strip
.else
CONFIGURE_ARGS+= --disable-debug \
--enable-strip
.endif
# LDAP is only used by mail and news so disable both together
.if defined(WITHOUT_MAILNEWS)
CONFIGURE_ARGS+= --disable-ldap --disable-mailnews
MOZ_OPTIONS+= --disable-ldap --disable-mailnews
.else
# mail and news desired, but not LDAP
.if defined(WITHOUT_LDAP)
CONFIGURE_ARGS+= --disable-ldap --enable-mailnews
MOZ_OPTIONS+= --disable-ldap --enable-mailnews
.else
CONFIGURE_ARGS+= --enable-ldap --enable-mailnews
MOZ_OPTIONS+= --enable-ldap --enable-mailnews
.endif
.endif
.if !defined(WITHOUT_CHATZILLA)
MOZ_EXTENSIONS:= ${MOZ_EXTENSIONS},irc
.endif
CONFIGURE_ARGS+= --enable-extensions=${MOZ_EXTENSIONS}
.if defined(WITH_JAVASCRIPT_DEBUGGER)
CONFIGURE_ARGS+= --enable-jsd \
MOZ_OPTIONS+= --enable-jsd \
--enable-dtd-debug
.else
CONFIGURE_ARGS+= --disable-jsd \
MOZ_OPTIONS+= --disable-jsd \
--disable-dtd-debug
.endif
.if defined(WITH_CALENDAR)
CONFIGURE_ARGS+= --enable-calendar
MOZ_OPTIONS+= --enable-calendar
.endif
.if defined(WITHOUT_COMPOSER)
CONFIGURE_ARGS+= --disable-composer
MOZ_OPTIONS+= --disable-composer
.endif
.if ${ARCH} == "i386"
CONFIGURE_ARGS+= --enable-reorder
.endif
.if defined(WITH_SMB)
USE_GNOME+= gnomevfs2
.else
CONFIGURE_ARGS+=--disable-gnomevfs
.endif
.if defined(WITH_OPTIMIZED_CFLAGS)
CFLAGS:= -O2 -fno-strict-aliasing ${CFLAGS:N-O*}
.else
CFLAGS:= -O ${CFLAGS:N-O*:N-m*}
CONFIGURE_ENV+= WITH_OPTIMIZE=-O
.endif
.if !defined(WITHOUT_MENU_ENTRY)
USE_GNOME+= gnomehier
.endif
#.if ${ARCH} == "i386"
#CONFIGURE_ARGS+= --enable-reorder
#.endif
post-patch:
@${REINPLACE_CMD} -e 's/%{idldir}/%idldir%/g' \
${WRKSRC}/build/unix/mozilla-config.in
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
${WRKSRC}/build/unix/run-mozilla.sh
@${REINPLACE_CMD} -e 's|%%MOZILLA%%|${MOZILLA}|g' \
-e 's|%%HEADERS_SUFX%%|${MOZ_SUFX}|g' \
${WRKSRC}/config/autoconf.mk.in
@${FIND} ${WRKSRC}/other-licenses/libical -name "*.c" | ${XARGS} \
${REINPLACE_CMD} 's|<malloc.h>|<stdlib.h>|g'
@${REINPLACE_CMD} -e 's|-lc_r|${PTHREAD_LIBS}|g ; \
s|-lpthread|${PTHREAD_LIBS}|g ; \
s|/usr/X11R6|${X11BASE}|g' \
${WRKSRC}/configure \
${WRKSRC}/nsprpub/configure
@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/nsprpub/configure \
${WRKSRC}/security/coreconf/FreeBSD.mk \
${WRKSRC}/directory/c-sdk/config/FreeBSD.mk \
${WRKSRC}/js/src/Makefile.in
@${REINPLACE_CMD} -E -e 's|libesd\.so\.[0-9]+|libesd.so|g' \
${WRKSRC}/widget/src/gtk2/nsSound.cpp
@${REINPLACE_CMD} -e '/accessibility.typeaheadfind.enablesound/s/true/false/' \
${WRKSRC}/modules/libpref/src/init/all.js
@${REINPLACE_CMD} -e 's|<iconv.h>|\"${LOCALBASE}/include/iconv.h\"|g' \
${WRKSRC}/configure \
${WRKSRC}/intl/uconv/native/nsNativeUConvService.cpp \
${WRKSRC}/xpcom/io/nsNativeCharsetUtils.cpp
@${REINPLACE_CMD} -e 's|libfreetype.so.6|${FREETYPE_LIB}|g' \
${WRKSRC}/modules/libpref/src/init/all.js
@for pcfile in ${PKGCONFIG_FILES}; do \
${REINPLACE_CMD} -e 's|mozilla-xpcom|mozilla-xpcom${MOZ_SUFX}|g ; \
s|mozilla-nspr|mozilla-nspr${MOZ_SUFX}|g' \
${WRKSRC}/build/unix/$${pcfile}.pc.in; \
done
@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \
< ${FILESDIR}/mozilla-devel.desktop.in > \
${WRKDIR}/mozilla-devel.desktop
pre-configure:
@if [ -n "`${PKG_INFO} -xI '^bind[0-9]*-base-[0-9]'`" ]; then \
${ECHO_CMD} "${PKGNAME}: bind installed with PORT_REPLACES_BASE_BIND causes build problems."; \
${FALSE}; \
fi
post-build:
${SED} -e "s|%%PREFIX%%|${PREFIX}|g" -e "s|%%MOZILLA%%|${MOZILLA}|g" \
${FILESDIR}/mozilla.sh >${WRKSRC}/${MOZILLA}
< ${FILESDIR}/seamonkey.desktop.in > \
${WRKDIR}/seamonkey.desktop
pre-install:
${RM} -rf ${PLIST} ${FAKEDIR}
${TOUCH} -f ${PLIST}
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
Makefile ${MAKE_ARGS} ${INSTALL_TARGET}
${MKDIR} ${SCRIPTS_DIR} ${MOZ_PIS_DIR}
${REINPLACE_CMD} -e 's|${FAKEDIR}|${PREFIX}|g' \
${FAKEDIR}/bin/mozilla \
${FAKEDIR}/bin/mozilla-config
if [ ! -x ${PREFIX}/bin/mozilla -a ! -L ${PREFIX}/bin/mozilla ]; then \
${ECHO_CMD} bin/mozilla >> ${PLIST} ; \
fi
${ECHO_CMD} bin/${MOZILLA} >> ${PLIST}
if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \
for jpi in ${JPI_LIST}; do \
if [ -f $${jpi} ]; then \
@ -284,62 +112,10 @@ pre-install:
fi; \
done; \
fi
${ECHO_CMD} lib/browser_plugins/.${PORTNAME}.keep >> ${PLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/browser_plugins 2>/dev/null || ${TRUE}" >> ${PLIST}
${ECHO_CMD} lib/${MOZILLA}/mozilla >> ${PLIST}
${ECHO_CMD} lib/${MOZILLA}/mozilla-config >> ${PLIST}
.for ii in ${MOZ_PIS_SCRIPTS}
${INSTALL_SCRIPT} ${FILESDIR}/moz_pis_${ii} ${MOZ_PIS_DIR}/${ii}
.endfor
.if !defined(WITHOUT_MAILNEWS)
@${CP} -RL ${WRKSRC}/dist/bin/defaults/isp ${FAKEDIR}/lib/${MOZILLA}/defaults
.endif
${ECHO_CMD} share/applications/mozilla-devel.desktop >> ${PLIST}
${ECHO_CMD} share/applications/seamonkey.desktop >> ${PLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${PLIST}
cd ${FAKEDIR}/lib/${MOZILLA} && ${FIND} -s * -type f -o -type l | \
${SED} -e 's:^:lib/${MOZILLA}/:' >> ${PLIST} \
&& ${FIND} -d * -type d | \
${SED} -e 's:^:@dirrm lib/${MOZILLA}/:' >> ${PLIST}
${ECHO_CMD} @dirrm lib/${MOZILLA} >> ${PLIST}
for pcfile in ${PKGCONFIG_FILES}; do \
${ECHO_CMD} libdata/pkgconfig/$${pcfile}${MOZ_SUFX}.pc >> ${PLIST} ; \
done
cd ${FAKEDIR}/include/${MOZILLA} && ${FIND} -s * -type f -o -type l | \
${SED} -e 's:^:include/${MOZILLA}/:' >> ${PLIST} \
&& ${FIND} -d * -type d | \
${SED} -e 's:^:@dirrm include/${MOZILLA}/:' >> ${PLIST}
${ECHO_CMD} @dirrm include/${MOZILLA} >> ${PLIST}
${ECHO_CMD} "@exec ${LOCALBASE}/bin/update-desktop-database > /dev/null || ${TRUE}" >> ${PLIST}
${ECHO_CMD} "@unexec ${LOCALBASE}/bin/update-desktop-database > /dev/null || ${TRUE}" >> ${PLIST}
cd ${FAKEDIR}/share/idl/${MOZILLA:S/-devel//}-${MOZ_VER} \
&& ${FIND} -s * -type f -o -type l | \
${SED} -e 's:^:share/idl/${MOZILLA}/:' >> ${PLIST} \
&& ${FIND} -d * -type d | \
${SED} -e 's:^:@dirrm share/idl/${MOZILLA}/:' >> ${PLIST}
${ECHO_CMD} "@dirrm share/idl/${MOZILLA}" >> ${PLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/share/idl 2>/dev/null || true" >> ${PLIST}
do-install:
${MKDIR} ${PREFIX}/lib/${MOZILLA}
${CHMOD} 755 ${PREFIX}/lib/${MOZILLA}
${INSTALL_SCRIPT} ${FAKEDIR}/bin/mozilla ${PREFIX}/lib/${MOZILLA}
${INSTALL_SCRIPT} ${FAKEDIR}/bin/mozilla-config ${PREFIX}/lib/${MOZILLA}
cd ${FAKEDIR}/lib/${MOZILLA} && ${FIND} . | \
${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/${MOZILLA}
for pcfile in ${PKGCONFIG_FILES}; do \
${REINPLACE_CMD} -e 's|${FAKEDIR}|${PREFIX}|g' \
${WRKSRC}/build/unix/$${pcfile}.pc; \
${INSTALL_DATA} ${WRKSRC}/build/unix/$${pcfile}.pc \
${PREFIX}/libdata/pkgconfig/$${pcfile}${MOZ_SUFX}.pc ; \
done
${INSTALL_SCRIPT} ${WRKSRC}/${MOZILLA} ${PREFIX}/bin
if [ ! -x ${PREFIX}/bin/mozilla -a ! -L ${PREFIX}/bin/mozilla ]; then \
${LN} -sf ${PREFIX}/bin/${MOZILLA} ${PREFIX}/bin/mozilla ; \
fi
if [ ! -d ${PREFIX}/lib/browser_plugins ]; then \
${MKDIR} ${PREFIX}/lib/browser_plugins ; \
fi
${TOUCH} -f ${PREFIX}/lib/browser_plugins/.${PORTNAME}.keep
if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \
for jpi in ${JPI_LIST}; do \
if [ -f $${jpi} ]; then \
@ -349,19 +125,8 @@ do-install:
fi; \
done; \
fi
-${RM} -fr ${PREFIX}/include/${MOZILLA}
${MKDIR} ${PREFIX}/include/${MOZILLA}
${CHMOD} 755 ${PREFIX}/include/${MOZILLA}
cd ${FAKEDIR}/include/${MOZILLA} && ${FIND} . | \
${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/include/${MOZILLA}
${MKDIR} ${PREFIX}/share/applications
${INSTALL_DATA} ${WRKDIR}/mozilla-devel.desktop \
${PREFIX}/share/applications
${MKDIR} ${PREFIX}/share/idl/${MOZILLA}
cd ${FAKEDIR}/share/idl/${MOZILLA:S/-devel//}-${MOZ_VER} && ${FIND} . | \
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/idl/${MOZILLA}
post-install:
@-update-desktop-database
${INSTALL_DATA} ${WRKDIR}/seamonkey.desktop ${PREFIX}/share/applications
.include "${.CURDIR}/../mozilla/Makefile.common"
.include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
MD5 (mozilla-source-1.8b1.tar.bz2) = 42a0b25d405ee60128adb0eef4bc0fa0
SHA256 (mozilla-source-1.8b1.tar.bz2) = cb8992c3ceb96d2775dcf4388b4c41b139ff95556dc746b772f81dac8373d34a
SIZE (mozilla-source-1.8b1.tar.bz2) = 32116336
MD5 (seamonkey-1.0a1.source.tar.bz2) = a67d506a12d865491f24753eb19d8c24
SHA256 (seamonkey-1.0a1.source.tar.bz2) = 55d42c3c2a3ead4f5a76b47db00bd0bbee185c0a92d955b401eed9cf6e9f88bf
SIZE (seamonkey-1.0a1.source.tar.bz2) = 32442355

View File

@ -1,169 +0,0 @@
[Desktop Entry]
Encoding=UTF-8
Name=Mozilla Web Browser
Name[az]=Mozilla Veb Səyyahı
Name[bg]=Интернет браузър (Mozilla)
Name[bs]=Mozilla web preglednik
Name[ca]=Navegador web Mozilla
Name[cs]=Prohlížeč WWW Mozilla
Name[cy]=Y Porwr Gwe Mozilla
Name[da]=Mozilla - internetbrowser
Name[de]=Mozilla Webbrowser
Name[el]=Περιηγητής Διαδικτύου Mozilla
Name[en_CA]=Mozilla Web Browser
Name[en_GB]=Mozilla Web Browser
Name[es]=Navegador Web Mozilla
Name[et]=Mozilla veebibrauser
Name[eu]=Mozilla web arakatzailea
Name[fa]=مرورگر وب Mozilla
Name[fi]=Mozilla, WWW-selain
Name[fr]=Navigateur Web Mozilla
Name[ga]=Brabhsálaí Lín Mozilla
Name[he]=דפדפן Mozilla
Name[hr]=Mozilla Web preglednik
Name[hu]=Mozilla webböngésző
Name[id]=Web Browser Mozilla
Name[it]=Browser web Mozilla
Name[ja]=Mozilla
Name[ko]=Mozilla
Name[li]=Mozilla Web Browser
Name[lt]=Mozilla web naršyklė
Name[mk]=Mozilla Веб Прелистувач
Name[mn]=Mozilla веб хөтөч
Name[ms]=Pelungsur Web Mozilla
Name[nb]=Mozilla nettleser
Name[nl]=Mozilla webbrowser
Name[nn]=Mozilla nettlesar
Name[no]=Mozilla nettleser
Name[pl]=Przeglądarka WWW Mozilla
Name[pt]=Navegador Web Mozilla
Name[pt_BR]=Navegador Web Mozilla
Name[ro]=Navigatorul Mozilla
Name[sl]=Spletni brskalnik Mozilla
Name[sq]=Mozilla - Shfletuesi Web
Name[sv]=Webbläsaren Mozilla
Name[tk]=Mozilla Web Ahtarçisi
Name[tr]=Mozilla Web Tarayıcı
Name[uk]=Переглядач web Mozilla
Name[vi]=Trình Duyt Web Mozilla
Name[wa]=Betchteu waibe mozilla
Name[zh_CN]=Mozilla Web
Name[zh_TW]=Mozilla
GenericName=Mozilla Web Browser
GenericName[az]=Mozilla Veb Səyyahı
GenericName[bg]=Интернет браузър (Mozilla)
GenericName[bs]=Mozilla web preglednik
GenericName[ca]=Navegador web Mozilla
GenericName[cs]=Prohlížeč WWW Mozilla
GenericName[cy]=Y Porwr Gwe Mozilla
GenericName[da]=Mozilla - internetbrowser
GenericName[de]=Mozilla Webbrowser
GenericName[el]=Περιηγητής Διαδικτύου Mozilla
GenericName[en_CA]=Mozilla Web Browser
GenericName[en_GB]=Mozilla Web Browser
GenericName[es]=Navegador Web Mozilla
GenericName[et]=Mozilla veebibrauser
GenericName[eu]=Mozilla web arakatzailea
GenericName[fa]=مرورگر وب Mozilla
GenericName[fi]=Mozilla, WWW-selain
GenericName[fr]=Navigateur Web Mozilla
GenericName[ga]=Brabhsálaí Lín Mozilla
GenericName[he]=דפדפן Mozilla
GenericName[hr]=Mozilla Web preglednik
GenericName[hu]=Mozilla webböngésző
GenericName[id]=Web Browser Mozilla
GenericName[it]=Browser web Mozilla
GenericName[ja]=Mozilla
GenericName[ko]=Mozilla
GenericName[li]=Mozilla Web Browser
GenericName[lt]=Mozilla web naršyklė
GenericName[mk]=Mozilla Веб Прелистувач
GenericName[mn]=Mozilla веб хөтөч
GenericName[ms]=Pelungsur Web Mozilla
GenericName[nb]=Mozilla nettleser
GenericName[nl]=Mozilla webbrowser
GenericName[nn]=Mozilla nettlesar
GenericName[no]=Mozilla nettleser
GenericName[pl]=Przeglądarka WWW Mozilla
GenericName[pt]=Navegador Web Mozilla
GenericName[pt_BR]=Navegador Web Mozilla
GenericName[ro]=Navigatorul Mozilla
GenericName[sl]=Spletni brskalnik Mozilla
GenericName[sq]=Mozilla - Shfletuesi Web
GenericName[sv]=Webbläsaren Mozilla
GenericName[tk]=Mozilla Web Ahtarçisi
GenericName[tr]=Mozilla Web Tarayıcı
GenericName[uk]=Переглядач web Mozilla
GenericName[vi]=Trình Duyt Web Mozilla
GenericName[wa]=Betchteu waibe mozilla
GenericName[zh_CN]=Mozilla Web
GenericName[zh_TW]=Mozilla
Comment=Browse the web
Comment[ar]=تصفح الانترنت
Comment[az]=Vebi gəzin
Comment[be]=Вандраваць па павуціньню
Comment[bg]=Сърфиране в интернет
Comment[bn]=
Comment[bs]=Pregledaj na internetu
Comment[ca]=Navegueu per la web
Comment[cs]=Prohlížet WWW
Comment[cy]=Pori'r we
Comment[da]=Benyt internettet
Comment[de]=Im Web surfen
Comment[el]=Περιήγηση στον παγκόσμιο ιστό
Comment[en_CA]=Browse the web
Comment[en_GB]=Browse the web
Comment[es]=Navegar por la web
Comment[et]=Sirvi veebi
Comment[eu]=Arakatu web-a
Comment[fa]=مرور وب
Comment[fi]=Selaa WWW:tä
Comment[fr]=Naviguer sur Internet
Comment[ga]=Brabhsáil an Líon
Comment[gu]=
Comment[he]=גלוש ברשת
Comment[hi]=
Comment[hr]=Pregledaj Web
Comment[hu]=A világháló böngészése
Comment[id]=Jelajah web
Comment[it]=Esplora il web
Comment[ja]=
Comment[ko]=
Comment[li]=Blajere op internet
Comment[lt]=Naršyti internete
Comment[mk]=Прелистувајте го вебот
Comment[ml]= ി
Comment[mn]=Веб броузе хийх
Comment[ms]=Layari web
Comment[nb]=Surf på nettet
Comment[nl]=Websurfen
Comment[nn]=Surf på nettet
Comment[no]=Surf på nettet
Comment[pa]=
Comment[pl]=Przeglądanie stron WWW
Comment[pt]=Navegar na web
Comment[pt_BR]=Navegar na web
Comment[ro]=Navigare Internet
Comment[ru]=Программа для просмотра веб-страниц
Comment[sk]=Prehliadať internet
Comment[sl]=Brskaj po spletu
Comment[sq]=Eksploro web-in
Comment[sr]=Прегледај веб
Comment[sr@Latn]=Pregledaj veb
Comment[sv]=Surfa på nätet
Comment[ta]=ி
Comment[th]= Mozilla
Comment[tk]=Webi Ahtar
Comment[tr]=Web'e Gözat
Comment[uk]=Програма перегляду web-сторінок
Comment[vi]=Duyt web
Comment[wa]=Naivyî avå les waibes
Comment[zh_CN]= Web
Comment[zh_TW]=
Exec=mozilla-devel %U
StartupNotify=true
Terminal=false
Type=Application
Icon=%%PREFIX%%/lib/mozilla-devel/chrome/icons/default/default.xpm
Categories=Application;Network;
MimeType=text/html;text/xml;application/xhtml+xml;

View File

@ -1,85 +0,0 @@
#!/bin/sh
MOZILLA_DIR="%%PREFIX%%/lib/%%MOZILLA%%"
MOZILLA_EXEC="./mozilla"
MOZILLA_REMOTE_EXEC="${MOZILLA_EXEC} -remote"
APPLICATION_ID="mozilla"
LOCATION='new-tab'
#MOZILLA_UILOCALE="en-US"
#MOZILLA_UIREGION="US"
#MOZILLA_DSP="auto"
cd $MOZILLA_DIR || exit 1
# LANG, MOZILLA_UILOCALE, MOZILLA_UIREGION
if [ -n "$LANG" -a ! -n "${MOZILLA_UILOCALE}" ]; then
_locale="${LANG%%.*}"
if [ "${_locale}" != "en_US" -a "${_locale}" != "C" ]; then
_region="${_locale##*_}"
_locale="${_locale%_*}"
[ -r chrome/${_locale}-${_region}.jar ] && \
MOZILLA_EXEC="${MOZILLA_EXEC} -UILocale ${_locale}-${_region}"
fi
elif [ -n "${MOZILLA_UILOCALE}" ]; then
MOZILLA_EXEC="${MOZILLA_EXEC} -UILocale ${MOZILLA_UILOCALE}"
if [ -n "${MOZILLA_UIREGION}" ]; then
MOZILLA_EXEC="${MOZILLA_EXEC} -UIRegion ${MOZILLA_UIREGION}"
fi
fi
# find a /dev/dsp handler
case "${MOZILLA_DSP}" in
# [Ee][Ss][Dd]|esddsp) # Use the esd dsp wrapper
# MOZILLA_DSP="esddsp"
# ;;
[Aa][Rr][Tt][Ss]|artsdsp) # Use the arts dsp wrapper
MOZILLA_DSP="artsdsp"
;;
[Nn][Oo][Nn][Ee]) # Direct dsp output
MOZILLA_DSP=""
;;
*) # Guest one (auto)
if [ -n "${KDE_FULL_SESSION}" ]; then
MOZILLA_DSP="artsdsp"
# elif [ -r ${HOME}/.esd_auth ]; then
# MOZILLA_DSP="esddsp"
else
MOZILLA_DSP=""
fi
;;
esac
if [ -n "${MOZILLA_DSP}" ] && type "${MOZILLA_DSP}" > /dev/null 2>&1; then
MOZILLA_EXEC="${MOZILLA_DSP} ${MOZILLA_EXEC}"
fi
case $1 in
-browser)
REMOTE_COMMAND="xfeDoCommand (openBrowser)"
;;
-mail)
REMOTE_COMMAND="xfeDoCommand (openInbox)"
;;
-compose)
REMOTE_COMMAND="xfeDoCommand (composeMessage)"
;;
-*)
exec ${MOZILLA_EXEC} "$@"
;;
*)
if [ -n "${LOCATION}" ]; then
REMOTE_COMMAND="openURL($@,$LOCATION)"
else
REMOTE_COMMAND="openURL($@)"
fi
;;
esac
# process found
${MOZILLA_REMOTE_EXEC} "ping()" >/dev/null 2>&1 &&
${MOZILLA_REMOTE_EXEC} "${REMOTE_COMMAND}" && exit 0
# no existing process
exec ${MOZILLA_EXEC} "$@"

View File

@ -1,92 +0,0 @@
Index: netwerk/base/src/nsStandardURL.cpp
===================================================================
RCS file: /cvs/mozilla/netwerk/base/src/nsStandardURL.cpp,v
retrieving revision 1.82
diff -p -u -1 -2 -r1.82 nsStandardURL.cpp
--- netwerk/base/src/nsStandardURL.cpp 20 Jun 2005 05:23:20 -0000 1.82
+++ netwerk/base/src/nsStandardURL.cpp 9 Sep 2005 16:34:42 -0000
@@ -458,24 +458,25 @@ nsStandardURL::AppendToBuf(char *buf, PR
// 4- update url segment positions and lengths
nsresult
nsStandardURL::BuildNormalizedSpec(const char *spec)
{
// Assumptions: all member URLSegments must be relative the |spec| argument
// passed to this function.
// buffers for holding escaped url segments (these will remain empty unless
// escaping is required).
nsCAutoString encUsername;
nsCAutoString encPassword;
nsCAutoString encHost;
+ PRBool useEncHost;
nsCAutoString encDirectory;
nsCAutoString encBasename;
nsCAutoString encExtension;
nsCAutoString encParam;
nsCAutoString encQuery;
nsCAutoString encRef;
//
// escape each URL segment, if necessary, and calculate approximate normalized
// spec length.
//
PRInt32 approxLen = 3; // includes room for "://"
@@ -497,25 +498,25 @@ nsStandardURL::BuildNormalizedSpec(const
approxLen += encoder.EncodeSegmentCount(spec, mParam, esc_Param, encParam);
approxLen += encoder.EncodeSegmentCount(spec, mQuery, esc_Query, encQuery);
approxLen += encoder.EncodeSegmentCount(spec, mRef, esc_Ref, encRef);
}
// do not escape the hostname, if IPv6 address literal, mHost will
// already point to a [ ] delimited IPv6 address literal.
// However, perform Unicode normalization on it, as IDN does.
mHostEncoding = eEncoding_ASCII;
if (mHost.mLen > 0) {
const nsCSubstring& tempHost =
Substring(spec + mHost.mPos, spec + mHost.mPos + mHost.mLen);
- if (NormalizeIDN(tempHost, encHost))
+ if ((useEncHost = NormalizeIDN(tempHost, encHost)))
approxLen += encHost.Length();
else
approxLen += mHost.mLen;
}
//
// generate the normalized URL string
//
mSpec.SetLength(approxLen + 32);
char *buf;
mSpec.BeginWriting(buf);
PRUint32 i = 0;
@@ -530,25 +531,30 @@ nsStandardURL::BuildNormalizedSpec(const
mAuthority.mPos = i;
// append authority
if (mUsername.mLen > 0) {
i = AppendSegmentToBuf(buf, i, spec, mUsername, &encUsername);
if (mPassword.mLen >= 0) {
buf[i++] = ':';
i = AppendSegmentToBuf(buf, i, spec, mPassword, &encPassword);
}
buf[i++] = '@';
}
if (mHost.mLen > 0) {
- i = AppendSegmentToBuf(buf, i, spec, mHost, &encHost);
+ if (useEncHost) {
+ mHost.mPos = i;
+ mHost.mLen = encHost.Length();
+ i = AppendToBuf(buf, i, encHost.get(), mHost.mLen);
+ } else
+ i = AppendSegmentToBuf(buf, i, spec, mHost);
net_ToLowerCase(buf + mHost.mPos, mHost.mLen);
if (mPort != -1 && mPort != mDefaultPort) {
nsCAutoString portbuf;
portbuf.AppendInt(mPort);
buf[i++] = ':';
i = AppendToBuf(buf, i, portbuf.get(), portbuf.Length());
}
}
// record authority length
mAuthority.mLen = i - mAuthority.mPos;

View File

@ -1,59 +0,0 @@
--- extensions/transformiix/source/base/Double.cpp.orig Thu Jan 30 09:26:46 2003
+++ extensions/transformiix/source/base/Double.cpp Sun Nov 16 01:46:42 2003
@@ -51,10 +51,10 @@
//A trick to handle IEEE floating point exceptions on FreeBSD - E.D.
#ifdef __FreeBSD__
#include <ieeefp.h>
-#ifdef __alpha__
-fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP;
-#else
+#if defined(__i386__)
fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP|FP_X_DNML;
+#else
+fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP;
#endif
fp_except_t oldmask = fpsetmask(~allmask);
#endif
@@ -75,22 +75,31 @@
#define TX_DOUBLE_HI32_EXPMASK 0x7ff00000
#define TX_DOUBLE_HI32_MANTMASK 0x000fffff
+union ui32dun {
+ PRUint32 i[2];
+ double d;
+};
+
//-- Initialize Double related constants
#ifdef IS_BIG_ENDIAN
-const PRUint32 nanMask[2] = {TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_MANTMASK,
- 0xffffffff};
-const PRUint32 infMask[2] = {TX_DOUBLE_HI32_EXPMASK, 0};
-const PRUint32 negInfMask[2] = {TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_SIGNBIT, 0};
+const union ui32dun nanMask =
+ {{TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_MANTMASK, 0xffffffff}};
+const union ui32dun infMask =
+ {{TX_DOUBLE_HI32_EXPMASK, 0}};
+const union ui32dun negInfMask =
+ {{TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_SIGNBIT, 0}};
#else
-const PRUint32 nanMask[2] = {0xffffffff,
- TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_MANTMASK};
-const PRUint32 infMask[2] = {0, TX_DOUBLE_HI32_EXPMASK};
-const PRUint32 negInfMask[2] = {0, TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_SIGNBIT};
+const union ui32dun nanMask =
+ {{0xffffffff, TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_MANTMASK}};
+const union ui32dun infMask =
+ {{0, TX_DOUBLE_HI32_EXPMASK}};
+const union ui32dun negInfMask =
+ {{0, TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_SIGNBIT}};
#endif
-const double Double::NaN = *((double*)nanMask);
-const double Double::POSITIVE_INFINITY = *((double*)infMask);
-const double Double::NEGATIVE_INFINITY = *((double*)negInfMask);
+const double Double::NaN = nanMask.d;
+const double Double::POSITIVE_INFINITY = infMask.d;
+const double Double::NEGATIVE_INFINITY = negInfMask.d;
/*
* Determines whether the given double represents positive or negative

View File

@ -1,22 +0,0 @@
--- Makefile.in.orig Thu Oct 21 19:25:55 2004
+++ Makefile.in Thu Oct 21 19:26:46 2004
@@ -80,8 +80,7 @@
$(tier_1_dirs) \
$(tier_2_dirs) \
$(tier_9_dirs) \
- $(tier_50_dirs) \
- $(NULL)
+ $(tier_50_dirs)
ifdef GC_LEAK_DETECTOR
DIRS += gc/boehm
@@ -100,7 +99,8 @@
DIRS += $(tier_98_dirs)
endif
-DIRS += $(tier_99_dirs)
+DIRS += $(tier_99_dirs) \
+ $(NULL)
#
# tier 0 - base build config dirs

View File

@ -1,15 +1,15 @@
--- build/unix/run-mozilla.sh.orig Mon Dec 15 12:27:28 2003
+++ build/unix/run-mozilla.sh Wed Feb 11 14:24:17 2004
@@ -355,7 +355,7 @@
fi
##
## Set LD_LIBRARY_PATH
-LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
+LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:%%PREFIX%%/lib/browser_linux_plugins:%%PREFIX%%/lib/browser_plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
if [ -n "$LD_LIBRARYN32_PATH" ]
--- build/unix/run-mozilla.sh.orig Mon Oct 17 13:21:17 2005
+++ build/unix/run-mozilla.sh Thu Nov 10 22:01:41 2005
@@ -333,7 +333,7 @@
## LD_LIBRARY_PATH because $ORIGIN doesn't work on a symbolic link.
if [ `uname -s` != "SunOS" -o -h "$MOZ_PROGRAM" ]
then
LD_LIBRARYN32_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARYN32_PATH+":$LD_LIBRARYN32_PATH"}
@@ -442,6 +442,9 @@
- LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
+ LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:%%PREFIX%%/lib/browser_plugins:%%PREFIX%%/lib/browser_linux_plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
fi
if [ -n "$LD_LIBRARYN32_PATH" ]
@@ -422,6 +422,9 @@
#
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH

View File

@ -5,7 +5,7 @@
exec_prefix = @exec_prefix@
bindir = @bindir@
-includedir = @includedir@/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
+includedir = @includedir@/mozilla%%HEADERS_SUFX%%
+includedir = @includedir@/%%MOZILLA%%
libdir = @libdir@
datadir = @datadir@
mandir = @mandir@

View File

@ -1,15 +1,15 @@
--- configure.orig Wed Dec 22 19:34:26 2004
+++ configure Sun Jan 16 16:30:16 2005
@@ -9446,7 +9446,7 @@
--- configure.orig Thu Nov 10 15:33:30 2005
+++ configure Thu Nov 10 22:04:56 2005
@@ -10203,7 +10203,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-liconv $LIBS"
+LIBS="-L$LOCALBASE/lib -liconv $LIBS"
cat > conftest.$ac_ext <<EOF
#line 9452 "configure"
#line 10209 "configure"
#include "confdefs.h"
@@ -9477,7 +9477,7 @@
@@ -10234,7 +10234,7 @@
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
@ -18,16 +18,16 @@
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for libiconv in -liconv""... $ac_c" 1>&6
@@ -9487,7 +9487,7 @@
@@ -10244,7 +10244,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-liconv $LIBS"
+LIBS="-L$LOCALBASE/lib -liconv $LIBS"
cat > conftest.$ac_ext <<EOF
#line 9493 "configure"
#line 10250 "configure"
#include "confdefs.h"
@@ -9518,7 +9518,7 @@
@@ -10275,7 +10275,7 @@
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
@ -36,12 +36,12 @@
else
echo "$ac_t""no" 1>&6
fi
@@ -11847,7 +11847,7 @@
MOZ_COMPOSER=1
MOZ_PROFILESHARING=1
MOZ_APP_VERSION=$MOZILLA_VERSION
- MOZ_EXTENSIONS_DEFAULT=" cookie wallet content-packs xml-rpc xmlextras help p3p pref transformiix venkman inspector irc universalchardet typeaheadfind webservices spellcheck gnomevfs negotiateauth sroaming permissions"
+ MOZ_EXTENSIONS_DEFAULT=" cookie wallet content-packs xml-rpc xmlextras help p3p pref transformiix venkman inspector universalchardet typeaheadfind webservices spellcheck gnomevfs negotiateauth sroaming permissions"
;;
browser)
@@ -12745,7 +12745,7 @@
MOZ_SUITE=1
MOZ_PROFILESHARING=
MOZ_APP_VERSION=$SEAMONKEY_VERSION
- MOZ_EXTENSIONS_DEFAULT=" cookie wallet content-packs xml-rpc xmlextras help p3p pref venkman inspector irc universalchardet typeaheadfind webservices spellcheck gnomevfs auth sroaming permissions reporter"
+ MOZ_EXTENSIONS_DEFAULT=" cookie wallet content-packs xml-rpc xmlextras help p3p pref venkman inspector universalchardet typeaheadfind webservices spellcheck gnomevfs auth sroaming permissions reporter"
cat >> confdefs.h <<\EOF
#define MOZ_SUITE 1
EOF

View File

@ -1,19 +0,0 @@
--- extensions/negotiateauth/Makefile.in.orig Wed Apr 28 03:26:19 2004
+++ extensions/negotiateauth/Makefile.in Tue Jul 6 16:27:07 2004
@@ -66,7 +66,6 @@
$(NULL)
EXTRA_DSO_LDOPTS = \
- $(MOZ_COMPONENT_LIBS) \
$(NULL)
ifneq (,$(GSSAPI_LIBS))
@@ -74,6 +73,8 @@
EXTRA_DSO_LDOPTS += $(GSSAPI_LIBS)
CPPSRCS += nsNegotiateAuthGSSAPI.cpp
endif
+
+EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS)
# make sure this component is never statically linked into the main
# application. this is necessary since we don't want to force users

View File

@ -0,0 +1,25 @@
--- js/src/Makefile.in Thu Aug 4 22:26:52 2005
+++ js/src/Makefile.in Thu Aug 4 23:02:32 2005
@@ -148,5 +148,4 @@
endif
-FDLIBM_LIBRARY = fdlibm/$(LIB_PREFIX)fdm.$(LIB_SUFFIX)
JSMATH_PRELINK = jsmathtemp.o
JS_SAFE_ARENA = 1
@@ -320,7 +319,4 @@
endif
@$(RM) -f $(JSMATH_PRELINK)
-else
-# Create dependency so we build fdlibm
-jsmath.o: $(FDLIBM_LIBRARY) Makefile.in
endif
--- js/Makefile.in Sun Mar 23 14:36:00 2003
+++ js/Makefile.in Thu Aug 4 23:08:06 2005
@@ -46,5 +46,5 @@
#
-DIRS = src/fdlibm src
+DIRS = src
include $(topsrcdir)/config/rules.mk

View File

@ -1,11 +0,0 @@
--- modules/plugin/base/public/nptypes.h.orig Sun Sep 5 18:56:55 2004
+++ modules/plugin/base/public/nptypes.h Thu Oct 21 19:29:29 2004
@@ -73,7 +73,7 @@
#if defined(bsdi) || defined(OPENBSD)
typedef u_int32_t uint32_t;
- #if defined(bsdi)
+ #if defined(bsdi) || defined(__FreeBSD__)
#if !defined(__cplusplus)
typedef int bool;
#endif

View File

@ -1,12 +0,0 @@
--- widget/src/gtk2/mozdrawingarea.c.orig Tue Apr 30 12:29:00 2002
+++ widget/src/gtk2/mozdrawingarea.c Thu Aug 18 22:27:27 2005
@@ -168,7 +168,9 @@
drawingarea = MOZ_DRAWINGAREA(object);
+ gdk_window_set_user_data(drawingarea->inner_window, NULL);
gdk_window_destroy(drawingarea->inner_window);
+ gdk_window_set_user_data(drawingarea->clip_window, NULL);
gdk_window_destroy(drawingarea->clip_window);
(* parent_class->finalize) (object);

View File

@ -1,11 +0,0 @@
--- nsprpub/pr/include/md/_pth.h.orig Sun Jan 16 16:09:10 2005
+++ nsprpub/pr/include/md/_pth.h Sun Jan 16 16:10:06 2005
@@ -84,7 +84,7 @@
#define _PT_PTHREAD_MUTEXATTR_DESTROY(x) /* */
#define _PT_PTHREAD_MUTEX_INIT(m, a) (memset(&(m), 0, sizeof(m)), \
pthread_mutex_init(&(m), NULL))
-#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (EBUSY == pthread_mutex_trylock(&(m)))
+#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (0 != pthread_mutex_trylock(&(m)))
#define _PT_PTHREAD_CONDATTR_INIT(x) 0
#define _PT_PTHREAD_CONDATTR_DESTROY(x) /* */
#define _PT_PTHREAD_COND_INIT(m, a) (memset(&(m), 0, sizeof(m)), \

View File

@ -1,11 +0,0 @@
--- nsprpub/pr/include/md/_freebsd.cfg.orig Sun Jan 16 16:13:08 2005
+++ nsprpub/pr/include/md/_freebsd.cfg Sun Jan 16 16:16:34 2005
@@ -141,7 +141,7 @@
#define PR_ALIGN_OF_DOUBLE 8
#define PR_ALIGN_OF_POINTER 8
-#elif defined(__sparc__)
+#elif defined(__sparc64__)
#undef IS_LITTLE_ENDIAN
#define IS_BIG_ENDIAN 1

View File

@ -0,0 +1,156 @@
--- Makefile.in Tue Sep 14 16:59:40 2004
+++ Makefile.in Tue Aug 2 08:26:55 2005
@@ -102,6 +102,4 @@
# tier 1 - 3rd party individual libraries
#
-tier_1_dirs += dbm
-
ifndef MOZ_NATIVE_JPEG
tier_1_dirs += jpeg
--- security/manager/ssl/src/Makefile.in Wed Jan 7 08:36:51 2004
+++ security/manager/ssl/src/Makefile.in Tue Aug 2 09:13:07 2005
@@ -117,5 +117,5 @@
# Use local includes because they are inserted before INCLUDES
# so that Mozilla's nss.h is used, not glibc's
-LOCAL_INCLUDES += -I$(DIST)/public/nss \
+LOCAL_INCLUDES += -I$(LOCALBASE)/include/nss/nss \
$(NULL)
--- config/config.mk Tue Oct 12 00:11:11 2004
+++ config/config.mk Tue Aug 2 09:19:18 2005
@@ -170,5 +170,4 @@
NSS_LIBS = \
$(LIBS_DIR) \
- $(DIST)/lib/$(LIB_PREFIX)crmf.$(LIB_SUFFIX) \
-lsmime3 \
-lssl3 \
@@ -189,11 +188,5 @@
endif
-NSS_DEP_LIBS = \
- $(DIST)/lib/$(LIB_PREFIX)crmf.$(LIB_SUFFIX) \
- $(DIST)/lib/$(DLL_PREFIX)smime3$(DLL_SUFFIX) \
- $(DIST)/lib/$(DLL_PREFIX)ssl3$(DLL_SUFFIX) \
- $(DIST)/lib/$(DLL_PREFIX)nss3$(DLL_SUFFIX) \
- $(DIST)/lib/$(DLL_PREFIX)softokn3$(DLL_SUFFIX) \
- $(NULL)
+NSS_DEP_LIBS =
MOZ_UNICHARUTIL_LIBS = $(DIST)/lib/$(LIB_PREFIX)unicharutil_s.$(LIB_SUFFIX)
--- security/manager/ssl/src/nsNSSComponent.cpp Thu Apr 22 15:48:30 2004
+++ security/manager/ssl/src/nsNSSComponent.cpp Thu Aug 4 16:44:27 2005
@@ -88,4 +88,8 @@
}
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <errno.h>
+
#ifdef PR_LOGGING
PRLogModuleInfo* gPIPNSSLog = nsnull;
@@ -406,4 +410,5 @@
const char *possible_ckbi_locations[] = {
NS_GRE_DIR,
+ NS_UNIX_LIB_DIR,
NS_XPCOM_CURRENT_PROCESS_DIR
};
@@ -419,5 +424,5 @@
}
- char *fullModuleName = nsnull;
+ char *fullModuleName;
#ifdef XP_MAC
nsCAutoString nativePath;
@@ -431,4 +436,12 @@
fullModuleName = PR_GetLibraryName(processDir.get(), "nssckbi");
#endif
+ if (fullModuleName == nsnull)
+ continue;
+ struct stat sb;
+ if (stat(fullModuleName, &sb)) {
+ if (errno != ENOENT)
+ perror(fullModuleName);
+ continue;
+ }
/* If a module exists with the same name, delete it. */
NS_ConvertUCS2toUTF8 modNameUTF8(modName);
--- security/manager/Makefile.in.orig Wed Nov 2 16:50:36 2005
+++ security/manager/Makefile.in Fri Nov 11 02:14:27 2005
@@ -52,18 +52,9 @@
SSL3_LIB \
SOFTOKEN3_LIB \
SOFTOKEN3_CHK \
- LOADABLE_ROOT_MODULE \
HAVE_FREEBL_MODULES \
$(NULL)
-LOADABLE_ROOT_MODULE = $(DLL_PREFIX)nssckbi$(DLL_SUFFIX)
-
-NSS3_LIB = $(DLL_PREFIX)nss3$(DLL_SUFFIX)
-SMIME3_LIB = $(DLL_PREFIX)smime3$(DLL_SUFFIX)
-SSL3_LIB = $(DLL_PREFIX)ssl3$(DLL_SUFFIX)
-SOFTOKEN3_LIB = $(DLL_PREFIX)softokn3$(DLL_SUFFIX)
-SOFTOKEN3_CHK = $(DLL_PREFIX)softokn3.chk
-
ifneq (,$(filter SunOS HP-UX,$(OS_ARCH)))
ifeq (,$(filter i86pc ia64,$(OS_TEST)))
ifndef HAVE_64BIT_OS
@@ -151,11 +142,6 @@
.nss.cleaned: .nss.checkout
$(MAKE) -C $(topsrcdir)/security/coreconf $(DEFAULT_GMAKE_FLAGS) clean
- $(MAKE) -C $(topsrcdir)/security/nss/lib $(DEFAULT_GMAKE_FLAGS) clean
-ifndef SKIP_CHK
- $(MAKE) -C $(topsrcdir)/security/nss/cmd/lib $(DEFAULT_GMAKE_FLAGS) clean
- $(MAKE) -C $(topsrcdir)/security/nss/cmd/shlibsign $(DEFAULT_GMAKE_FLAGS) clean
-endif
touch $@
.nss.checkout:
@@ -176,10 +162,10 @@
else
cd $(DIST)/lib; cp -f $(LIB_PREFIX)mozdbm_s.$(LIB_SUFFIX) $(LIB_PREFIX)dbm.$(LIB_SUFFIX); $(RANLIB) $(LIB_PREFIX)dbm.$(LIB_SUFFIX)
endif
- $(MAKE) -C $(topsrcdir)/security/nss/lib $(DEFAULT_GMAKE_FLAGS)
+# $(MAKE) -C $(topsrcdir)/security/nss/lib $(DEFAULT_GMAKE_FLAGS)
ifndef SKIP_CHK
- $(MAKE) -C $(topsrcdir)/security/nss/cmd/lib $(DEFAULT_GMAKE_FLAGS)
- $(MAKE) -C $(topsrcdir)/security/nss/cmd/shlibsign $(DEFAULT_GMAKE_FLAGS)
+# $(MAKE) -C $(topsrcdir)/security/nss/cmd/lib $(DEFAULT_GMAKE_FLAGS)
+# $(MAKE) -C $(topsrcdir)/security/nss/cmd/shlibsign $(DEFAULT_GMAKE_FLAGS)
endif
$(INSTALL) -m 755 $(DIST)/lib/$(LOADABLE_ROOT_MODULE) $(DIST)/bin
ifndef SKIP_CHK
@@ -203,20 +189,6 @@
endif
install::
- $(SYSINSTALL) -m 755 $(DIST)/lib/$(LOADABLE_ROOT_MODULE) $(DESTDIR)$(mozappdir)
-ifndef SKIP_CHK
- $(SYSINSTALL) -m 644 $(DIST)/lib/$(SOFTOKEN3_CHK) $(DESTDIR)$(mozappdir)
-endif
- $(SYSINSTALL) -m 755 $(DIST)/lib/$(SOFTOKEN3_LIB) $(DESTDIR)$(mozappdir)
- $(SYSINSTALL) -m 755 $(DIST)/lib/$(NSS3_LIB) $(DESTDIR)$(mozappdir)
- $(SYSINSTALL) -m 755 $(DIST)/lib/$(SSL3_LIB) $(DESTDIR)$(mozappdir)
- $(SYSINSTALL) -m 755 $(DIST)/lib/$(SMIME3_LIB) $(DESTDIR)$(mozappdir)
-ifdef HAVE_FREEBL_MODULES
- $(SYSINSTALL) -m 644 $(DIST)/lib/$(FREEBL_PURE32_CHK) $(DESTDIR)$(mozappdir)
- $(SYSINSTALL) -m 755 $(DIST)/lib/$(FREEBL_PURE32_MODULE) $(DESTDIR)$(mozappdir)
- $(SYSINSTALL) -m 644 $(DIST)/lib/$(FREEBL_HYBRID_CHK) $(DESTDIR)$(mozappdir)
- $(SYSINSTALL) -m 755 $(DIST)/lib/$(FREEBL_HYBRID_MODULE) $(DESTDIR)$(mozappdir)
-endif
$(MAKE) -C boot $@
$(MAKE) -C ssl $@
$(MAKE) -C locales $@
@@ -232,11 +204,6 @@
$(MAKE) -C pki $@
endif
$(MAKE) -C $(topsrcdir)/security/coreconf $(DEFAULT_GMAKE_FLAGS) clean
- $(MAKE) -C $(topsrcdir)/security/nss/lib $(DEFAULT_GMAKE_FLAGS) clean
-ifndef SKIP_CHK
- $(MAKE) -C $(topsrcdir)/security/nss/cmd/lib $(DEFAULT_GMAKE_FLAGS) clean
- $(MAKE) -C $(topsrcdir)/security/nss/cmd/shlibsign $(DEFAULT_GMAKE_FLAGS) clean
-endif
echo-requires-recursive::
$(MAKE) -C boot $@

View File

@ -1,430 +0,0 @@
--- xpfe/bootstrap/mozilla.in.orig Sat Apr 17 18:51:11 2004
+++ xpfe/bootstrap/mozilla.in Tue Mar 1 00:12:20 2005
@@ -49,139 +49,319 @@
## the mozilla-bin binary to work.
##
+#
+# MOZ_PIS, "Mozilla Plugable Init Scripts"
+# MOZ_PIS_ is the name space used
+# These variables and there meaning are specified in
+# mozilla/xpfe/bootstrap/init.d/README
moz_pis_startstop_scripts()
{
- MOZ_USER_DIR="%MOZ_USER_DIR%"
- # MOZ_PIS_ is the name space for "Mozilla Plugable Init Scripts"
- # These variables and there meaning are specified in
- # mozilla/xpfe/bootstrap/init.d/README
- MOZ_PIS_API=2
- MOZ_PIS_MOZBINDIR="${dist_bin}"
- MOZ_PIS_SESSION_PID="$$"
- MOZ_PIS_USER_DIR="${MOZ_USER_DIR}"
- export MOZ_PIS_API MOZ_PIS_MOZBINDIR MOZ_PIS_SESSION_PID MOZ_PIS_USER_DIR
-
- case "${1}" in
- "start")
- for curr_pis in "${dist_bin}/init.d"/S* "${HOME}/${MOZ_USER_DIR}/init.d"/S* ; do
- if [ -x "${curr_pis}" ] ; then
- case "${curr_pis}" in
- *.sh) . "${curr_pis}" ;;
- *) "${curr_pis}" "start" ;;
- esac
- fi
- done
- ;;
- "stop")
- for curr_pis in "${HOME}/${MOZ_USER_DIR}/init.d"/K* "${dist_bin}/init.d"/K* ; do
- if [ -x "${curr_pis}" ] ; then
- case "${curr_pis}" in
- *.sh) . "${curr_pis}" ;;
- *) "${curr_pis}" "stop" ;;
- esac
- fi
- done
- ;;
- *)
- echo 1>&2 "$0: Internal error in moz_pis_startstop_scripts."
- exit 1
- ;;
- esac
+ MOZ_PIS_API=2
+ MOZ_PIS_MOZBINDIR="${dist_bin}"
+ MOZ_PIS_SESSION_PID="$$"
+ MOZ_PIS_USER_DIR="${MOZ_USER_DIR}"
+ export MOZ_PIS_API MOZ_PIS_MOZBINDIR MOZ_PIS_SESSION_PID MOZ_PIS_USER_DIR
+
+ case "${1}" in
+ "start")
+ for curr_pis in "${MOZ_PIS_MOZBINDIR}/init.d"/S* \
+ "${HOME}/${MOZ_PIS_USER_DIR}/init.d"/S*; do
+ if [ -x "${curr_pis}" ]; then
+ case "${curr_pis}" in
+ *.sh)
+ . "${curr_pis}"
+ ;;
+ *)
+ ${curr_pis} "start"
+ ;;
+ esac
+ fi
+ done
+ ;;
+ "stop")
+ for curr_pis in "${MOZ_PIS_MOZBINDIR}/init.d"/K* \
+ "${HOME}/${MOZ_PIS_USER_DIR}/init.d"/K*; do
+ if [ -x "${curr_pis}" ]; then
+ case "${curr_pis}" in
+ *.sh)
+ . "${curr_pis}"
+ ;;
+ *)
+ ${curr_pis} "stop"
+ ;;
+ esac
+ fi
+ done
+ ;;
+ *)
+ echo "$0: Internal error in moz_pis_startstop_scripts." 1>&2
+ exit 1
+ ;;
+ esac
}
#uncomment for debugging
#set -x
-moz_libdir=%MOZAPPDIR%
-MRE_HOME=%MREDIR%
+#
+# variables
+#
+location="new-tab"
+#MOZILLA_UILOCALE="en-US"
+#MOZILLA_UIREGION="US"
-# honor MOZILLA_FIVE_HOME if it's there
-if [ -n "$MOZILLA_FIVE_HOME" ] ; then
- dist_bin="$MOZILLA_FIVE_HOME"
-else
- # Use run-mozilla.sh in the current dir if it exists
- # If not, then start resolving symlinks until we find run-mozilla.sh
- found=0
- progname=$0
- curdir=`dirname "$progname"`
- run_moz="$curdir/run-mozilla.sh"
- if test -x "$run_moz"; then
- dist_bin=$curdir
+#
+# working definitions
+#
+MOZ_USER_DIR="%MOZ_USER_DIR%"
+moz_libdir="%MOZAPPDIR%"
+MRE_HOME="%MREDIR%"
+
+debugging= # set the debugging level
+use_openFile="yes" # use openFile() for file/dir
+here=`pwd`
+
+if [ ! -d "${MRE_HOME}" ]; then
+ # use moz_libdir as MRE_HOME
+ MRE_HOME="${moz_libdir}"
+fi
+export MRE_HOME
+
+# Use run-mozilla.sh in the current dir if it exists
+# If not, then start resolving symlinks until we find run-mozilla.sh
+found=0
+progname="$0"
+curdir=`dirname "$progname"`
+progbase=`basename "$progname"`
+run_moz="$curdir/run-mozilla.sh"
+# mozilla must obey MOZILLA_FIVE_HOME
+if [ -n "$MOZILLA_FIVE_HOME" -a -d "$MOZILLA_FIVE_HOME" -a \
+ -x "$MOZILLA_FIVE_HOME/run-mozilla.sh" ]; then
+ curdir="$MOZILLA_FIVE_HOME"
+ run_moz="$curdir/run-mozilla.sh"
+ dist_bin="$curdir"
found=1
- else
- here=`/bin/pwd`
- while [ -h "$progname" ]; do
- bn=`basename "$progname"`
- cd `dirname "$progname"`
- progname=`/bin/ls -l "$bn" |sed -e 's/^.* -> //' `
- if [ ! -x "$progname" ]; then
- break
- fi
- curdir=`dirname "$progname"`
- run_moz="$curdir/run-mozilla.sh"
- if [ -x "$run_moz" ]; then
- cd "$curdir"
- dist_bin=`pwd`
- found=1
- break
- fi
+elif [ -x "$run_moz" ]; then
+ dist_bin="$curdir"
+ found=1
+else
+ while [ -h "${progname}" ]; do
+ bn=`basename "${progname}"`
+ cd `dirname "${progname}"`
+ progname=`ls -l "${bn}" | sed -e 's/^.* -> //'`
+ if [ ! -x "$progname" ]; then
+ break
+ fi
+ curdir=`dirname "${progname}"`
+ run_moz="${curdir}/run-mozilla.sh"
+ if [ -x "${run_moz}" ]; then
+ cd "$curdir"
+ dist_bin=`pwd`
+ run_moz="${dist_bin}/run-mozilla.sh"
+ found=1
+ break
+ fi
done
- cd "$here"
- fi
- if [ $found = 0 ]; then
+ cd "${here}"
+fi
+if [ $found = 0 ]; then
# Check default compile-time libdir
- if [ -x "$moz_libdir/run-mozilla.sh" ]; then
- dist_bin=$moz_libdir
- else
- echo "Cannot find mozilla runtime directory. Exiting."
- exit 1
- fi
- fi
+ if [ -x "${moz_libdir}/run-mozilla.sh" ]; then
+ dist_bin="$moz_libdir"
+ run_moz="${dist_bin}/run-mozilla.sh"
+ else
+ echo "$0: Cannot find mozilla runtime directory. Exiting." 1>&2
+ exit 1
+ fi
fi
-script_args=""
-moreargs=""
-debugging=0
-MOZILLA_BIN="%MOZILLA-BIN%"
-
+MOZILLA_BIN="${progbase}-bin"
if [ "$OSTYPE" = "beos" ]; then
- mimeset -F $MOZILLA_BIN
+ mimeset -F "$MOZILLA_BIN"
fi
+# test for binary apps in ${dist_bin}
+if [ -x "${dist_bin}/${MOZILLA_BIN}" ]; then
+ MOZILLA_BIN="${dist_bin}/${progbase}-bin"
+else
+ echo "$0: Cannot find mozilla binary executable. Exiting." 1>&2
+ exit 1
+fi
+if [ -x "${dist_bin}/mozilla-xremote-client" ]; then
+ MOZ_CLIENT_PROGRAM="${dist_bin}/mozilla-xremote-client -a ${progbase}"
+else
+ MOZ_CLIENT_PROGRAM="${MOZILLA_BIN} -remote -a ${progbase}"
+fi
+
+# guest a default remote command
+_remote_cmd="xfeDoCommand(openBrowser)"
+
+# parse options
+script_args= # null
+moreargs= # null
+target= # null
+ALREADY_RUNNING="test"
while [ $# -gt 0 ]
do
- case "$1" in
- -p | -pure)
- MOZILLA_BIN="%MOZILLA-BIN%.pure"
- shift
- ;;
- -g | --debug)
- script_args="$script_args -g"
- debugging=1
- shift
- ;;
- -d | --debugger)
- script_args="$script_args -d $2"
- shift 2
- ;;
- *)
- moreargs="$moreargs \"$1\""
- shift 1
- ;;
- esac
+ if [ -n "${target}" ]; then
+ # well, this can't be the target if not last
+ moreargs="${moreargs} \"${target}\""
+ target= # null
+ fi
+ case "$1" in
+ # preserve [pP] for profile
+ --pure | -pure)
+ MOZILLA_BIN="${MOZILLA_BIN}.pure"
+ shift
+ ;;
+ -g | --debug)
+ script_args="${script_args} -g"
+ debugging=1
+ shift
+ ;;
+ -d | --debugger)
+ if [ -n "$2" ]; then
+ script_args="${script_args} -d $2"
+ shift 2
+ else
+ "$0: ERROR, $1 needs an argument. Exiting" 1>&2
+ exit 1
+ fi
+ ;;
+ -[Uu][Ii][Ll]ocale)
+ if [ -n "$2" ]; then
+ uilocale="$2"
+ shift 2
+ else
+ echo "$0: ERROR, $1 needs an argument. Exiting" 1>&2
+ exit 1
+ fi
+ ;;
+ -[Uu][Ii][Rr]egion)
+ if [ -n "$2" ]; then
+ uiregion="$2"
+ shift 2
+ else
+ echo "$0: ERROR, $1 needs an argument. Exiting" 1>&2
+ exit 1
+ fi
+ ;;
+ -browser)
+ # browser is default for mozilla
+ shift
+ ;;
+ -mail)
+ _remote_cmd="xfeDoCommand(openInbox)"
+ moreargs="${moreargs} $1"
+ shift
+ ;;
+ -compose)
+ _remote_cmd="xfeDoCommand(composeMessage)"
+ moreargs="${moreargs} $1"
+ shift
+ ;;
+ -turbo | -nosplash | -quiet)
+ # use remote even with this
+ moreargs="${moreargs} $1"
+ shift
+ ;;
+ -*)
+ # don't use remote with options
+ ALREADY_RUNNING= # null
+ moreargs="${moreargs} $1"
+ shift
+ ;;
+ *)
+ target="$1"
+ shift
+ ;;
+ esac
done
-export MRE_HOME
-eval "set -- $moreargs"
+# test for a running copy of firefox
+# seems this is not needed
+#if [-n "${ALREADY_RUNNING}" ]; then
+# if [ -n "${DISPLAY}" ]; then
+# if [ -n "${debugging}" ]; then
+# echo "${run_moz} ${MOZ_CLIENT_PROGRAM} ping()"
+# ${run_moz} ${MOZ_CLIENT_PROGRAM} 'ping()' && ALREADY_RUNNING="yes"
+# else
+# ${run_moz} ${MOZ_CLIENT_PROGRAM} 'ping()' >/dev/null 2>&1 &&
+# ALREADY_RUNNING="yes"
+# fi
+# elif [ -n "${debugging}" ]; then
+# echo "$0: WARN, no DISPLAY environment" 1>&2
+# fi
+#fi
+
+# process target
+if [ -n "${target}" ]; then
+ moreargs="${moreargs} \"${target}\""
+ if [ -n "${ALREADY_RUNNING}" ]; then
+ if [ `expr "${target}" : '.*:.*'` -eq 0 ]; then
+ if [ `expr "${target}" : '/.*'` -eq 0 ]; then
+ target="${here}/${target}"
+ fi
+ if [ -r "${target}" -o -d "${target}" ]; then
+ [ -n "${use_openFile}" ] || target="file://${target}"
+ else
+ echo "$0: WARN, target: ${target} not an URI/file/dir" 1>&2
+ ALREADY_RUNNING= # null
+ fi
+ else
+ # an former URI, don't use openFile
+ use_openFile= # null
+ fi
+ fi
+fi
+
+# try remote protocol if running
+if [ -n "${ALREADY_RUNNING}" ]; then
+ if [ -n "${target}" ]; then
+ if [ -n "${use_openFile}" ]; then
+ _remote_cmd="openFile(${target})"
+ elif [ -n "${location}" ]; then
+ _remote_cmd="openURL(${target},${location})"
+ else
+ _remote_cmd="openURL(${target})"
+ fi
+ fi
+ # FIXME problems with freedesktop StartupNotify
+ if [ -n "${debugging}" ]; then
+ echo "${run_moz} ${script_args} ${MOZ_CLIENT_PROGRAM} ${_remote_cmd}"
+ fi
+ ${run_moz} ${script_args} ${MOZ_CLIENT_PROGRAM} ${_remote_cmd} && exit 0
+fi
+
+# fallback to direct invocation
+
+# UILocale, UIRegion
+if [ -z "${uilocale}" -a -n "${MOZILLA_UILOCALE}" ]; then
+ uilocale="${MOZILLA_UILOCALE}"
+fi
+if [ -z "${uiregion}" -a -n "${MOZILLA_UIREGION}" ]; then
+ uiregion="${MOZILLA_UIREGION}"
+fi
+if [ -n "${uiregion}" -a -z "${uilocale}" ]; then
+ uilocale="en-US"
+fi
+if [ -n "${uilocale}" ]; then
+ if [ -n "${uiregion}" ]; then
+ moreargs="-UIRegion ${uiregion} ${moreargs}"
+ fi
+ moreargs="-UILocale ${uilocale} ${moreargs}"
+fi
+
+# real invocation
+eval "set -- ${moreargs}"
## Start addon scripts
moz_pis_startstop_scripts "start"
-if [ $debugging = 1 ]
-then
- echo $dist_bin/run-mozilla.sh $script_args $dist_bin/$MOZILLA_BIN "$@"
+if [ -n "${debugging}" ]; then
+ echo "${run_moz} ${script_args} ${MOZILLA_BIN} $@"
fi
-"$dist_bin/run-mozilla.sh" $script_args "$dist_bin/$MOZILLA_BIN" "$@"
+${run_moz} ${script_args} ${MOZILLA_BIN} "$@"
exitcode=$?
## Stop addon scripts

View File

@ -17,8 +17,8 @@
.prologue
.save ar.pfs, r37
// allocate 4 input args, 6 local args, and 8 output args
--- xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ipf64.s.orig Sun Jul 20 00:02:02 2003
+++ xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ipf64.s Sun Jul 20 00:02:40 2003
--- xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ipf64.s.orig Tue May 24 11:30:54 2005
+++ xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ipf64.s Fri Sep 16 15:50:20 2005
@@ -6,6 +6,7 @@
// Section has executable code
.section .text, "ax","progbits"
@ -33,6 +33,6 @@
-SharedStub::
+SharedStub:
// 9 arguments, first 8 are the input arguments of previous
// function call. The last one is methodIndex, and is passed in memory
.prologue
// 10 arguments, first 8 are the input arguments of previous
// function call. The 9th one is methodIndex and the 10th is the
// pointer to the remaining input arguments. The last two arguments

View File

@ -0,0 +1,169 @@
[Desktop Entry]
Encoding=UTF-8
Name=Seamonkey Web Browser
Name[az]=Seamonkey Veb Səyyahı
Name[bg]=Интернет браузър (Seamonkey)
Name[bs]=Seamonkey web preglednik
Name[ca]=Navegador web Seamonkey
Name[cs]=Prohlížeč WWW Seamonkey
Name[cy]=Y Porwr Gwe Seamonkey
Name[da]=Seamonkey - internetbrowser
Name[de]=Seamonkey Webbrowser
Name[el]=Περιηγητής Διαδικτύου Seamonkey
Name[en_CA]=Seamonkey Web Browser
Name[en_GB]=Seamonkey Web Browser
Name[es]=Navegador Web Seamonkey
Name[et]=Seamonkey veebibrauser
Name[eu]=Seamonkey web arakatzailea
Name[fa]=مرورگر وب Seamonkey
Name[fi]=Seamonkey, WWW-selain
Name[fr]=Navigateur Web Seamonkey
Name[ga]=Brabhsálaí Lín Seamonkey
Name[he]=דפדפן Seamonkey
Name[hr]=Seamonkey Web preglednik
Name[hu]=Seamonkey webböngésző
Name[id]=Web Browser Seamonkey
Name[it]=Browser web Seamonkey
Name[ja]=Seamonkey
Name[ko]=Seamonkey
Name[li]=Seamonkey Web Browser
Name[lt]=Seamonkey web naršyklė
Name[mk]=Seamonkey Веб Прелистувач
Name[mn]=Seamonkey веб хөтөч
Name[ms]=Pelungsur Web Seamonkey
Name[nb]=Seamonkey nettleser
Name[nl]=Seamonkey webbrowser
Name[nn]=Seamonkey nettlesar
Name[no]=Seamonkey nettleser
Name[pl]=Przeglądarka WWW Seamonkey
Name[pt]=Navegador Web Seamonkey
Name[pt_BR]=Navegador Web Seamonkey
Name[ro]=Navigatorul Seamonkey
Name[sl]=Spletni brskalnik Seamonkey
Name[sq]=Seamonkey - Shfletuesi Web
Name[sv]=Webbläsaren Seamonkey
Name[tk]=Seamonkey Web Ahtarçisi
Name[tr]=Seamonkey Web Tarayıcı
Name[uk]=Переглядач web Seamonkey
Name[vi]=Trình Duyt Web Seamonkey
Name[wa]=Betchteu waibe Seamonkey
Name[zh_CN]=Seamonkey Web
Name[zh_TW]=Seamonkey
GenericName=Seamonkey Web Browser
GenericName[az]=Seamonkey Veb Səyyahı
GenericName[bg]=Интернет браузър (Seamonkey)
GenericName[bs]=Seamonkey web preglednik
GenericName[ca]=Navegador web Seamonkey
GenericName[cs]=Prohlížeč WWW Seamonkey
GenericName[cy]=Y Porwr Gwe Seamonkey
GenericName[da]=Seamonkey - internetbrowser
GenericName[de]=Seamonkey Webbrowser
GenericName[el]=Περιηγητής Διαδικτύου Seamonkey
GenericName[en_CA]=Seamonkey Web Browser
GenericName[en_GB]=Seamonkey Web Browser
GenericName[es]=Navegador Web Seamonkey
GenericName[et]=Seamonkey veebibrauser
GenericName[eu]=Seamonkey web arakatzailea
GenericName[fa]=مرورگر وب Seamonkey
GenericName[fi]=Seamonkey, WWW-selain
GenericName[fr]=Navigateur Web Seamonkey
GenericName[ga]=Brabhsálaí Lín Seamonkey
GenericName[he]=דפדפן Seamonkey
GenericName[hr]=Seamonkey Web preglednik
GenericName[hu]=Seamonkey webböngésző
GenericName[id]=Web Browser Seamonkey
GenericName[it]=Browser web Seamonkey
GenericName[ja]=Seamonkey
GenericName[ko]=Seamonkey
GenericName[li]=Seamonkey Web Browser
GenericName[lt]=Seamonkey web naršyklė
GenericName[mk]=Seamonkey Веб Прелистувач
GenericName[mn]=Seamonkey веб хөтөч
GenericName[ms]=Pelungsur Web Seamonkey
GenericName[nb]=Seamonkey nettleser
GenericName[nl]=Seamonkey webbrowser
GenericName[nn]=Seamonkey nettlesar
GenericName[no]=Seamonkey nettleser
GenericName[pl]=Przeglądarka WWW Seamonkey
GenericName[pt]=Navegador Web Seamonkey
GenericName[pt_BR]=Navegador Web Seamonkey
GenericName[ro]=Navigatorul Seamonkey
GenericName[sl]=Spletni brskalnik Seamonkey
GenericName[sq]=Seamonkey - Shfletuesi Web
GenericName[sv]=Webbläsaren Seamonkey
GenericName[tk]=Seamonkey Web Ahtarçisi
GenericName[tr]=Seamonkey Web Tarayıcı
GenericName[uk]=Переглядач web Seamonkey
GenericName[vi]=Trình Duyt Web Seamonkey
GenericName[wa]=Betchteu waibe Seamonkey
GenericName[zh_CN]=Seamonkey Web
GenericName[zh_TW]=Seamonkey
Comment=Browse the web
Comment[ar]=تصفح الانترنت
Comment[az]=Vebi gəzin
Comment[be]=Вандраваць па павуціньню
Comment[bg]=Сърфиране в интернет
Comment[bn]=
Comment[bs]=Pregledaj na internetu
Comment[ca]=Navegueu per la web
Comment[cs]=Prohlížet WWW
Comment[cy]=Pori'r we
Comment[da]=Benyt internettet
Comment[de]=Im Web surfen
Comment[el]=Περιήγηση στον παγκόσμιο ιστό
Comment[en_CA]=Browse the web
Comment[en_GB]=Browse the web
Comment[es]=Navegar por la web
Comment[et]=Sirvi veebi
Comment[eu]=Arakatu web-a
Comment[fa]=مرور وب
Comment[fi]=Selaa WWW:tä
Comment[fr]=Naviguer sur Internet
Comment[ga]=Brabhsáil an Líon
Comment[gu]=
Comment[he]=גלוש ברשת
Comment[hi]=
Comment[hr]=Pregledaj Web
Comment[hu]=A világháló böngészése
Comment[id]=Jelajah web
Comment[it]=Esplora il web
Comment[ja]=
Comment[ko]=
Comment[li]=Blajere op internet
Comment[lt]=Naršyti internete
Comment[mk]=Прелистувајте го вебот
Comment[ml]= ി
Comment[mn]=Веб броузе хийх
Comment[ms]=Layari web
Comment[nb]=Surf på nettet
Comment[nl]=Websurfen
Comment[nn]=Surf på nettet
Comment[no]=Surf på nettet
Comment[pa]=
Comment[pl]=Przeglądanie stron WWW
Comment[pt]=Navegar na web
Comment[pt_BR]=Navegar na web
Comment[ro]=Navigare Internet
Comment[ru]=Программа для просмотра веб-страниц
Comment[sk]=Prehliadať internet
Comment[sl]=Brskaj po spletu
Comment[sq]=Eksploro web-in
Comment[sr]=Прегледај веб
Comment[sr@Latn]=Pregledaj veb
Comment[sv]=Surfa på nätet
Comment[ta]=ி
Comment[th]= Seamonkey
Comment[tk]=Webi Ahtar
Comment[tr]=Web'e Gözat
Comment[uk]=Програма перегляду web-сторінок
Comment[vi]=Duyt web
Comment[wa]=Naivyî avå les waibes
Comment[zh_CN]= Web
Comment[zh_TW]=
Exec=seamonkey %U
StartupNotify=true
Terminal=false
Type=Application
Icon=%%PREFIX%%/lib/seamonkey/chrome/icons/default/default.xpm
Categories=Application;Network;
MimeType=text/html;text/xml;application/xhtml+xml;

View File

@ -0,0 +1,23 @@
#!/bin/sh
#
# $FreeBSD$
# $MCom: ports/www/seamonkey/pkg-deinstall.in,v 1.9 2005/11/11 04:11:02 ahze Exp $
#
# Date created: Mon Nov 29, 2003
# Whom: Thierry Thomas (<thierry@pompo.net>)
# Fix the chrome registry.
umask 022
PATH=/bin:/usr/bin
[ "x$1" = "x" ] && exit 1
[ "x$2" != "xDEINSTALL" ] && exit 0
MOZDIR=%%MOZDIR%%
rm -rf ${MOZDIR}/chrome/overlayinfo
rm -f ${MOZDIR}/chrome/*.rdf
rm -f ${MOZDIR}/component.reg
rm -f ${MOZDIR}/components/*.dat
exit 0

View File

@ -1,4 +1,4 @@
This is the current release of the Mozilla open source web browser. It should
This is the current release of the Seamonkey open source web browser. It should
be fully compliant with all W3C standards, including HTML, CSS, XML, XSL,
JavaScript, MathML, SSL encryption, SVG and RDF. Also supports Java with
the use of the FreeBSD native Java plug-in.
@ -6,4 +6,4 @@ the use of the FreeBSD native Java plug-in.
This is the latest bleeding edge release. Beware that you'll probably find
bugs here, so if you value stability, try www/mozilla.
WWW: http://www.mozilla.org/
WWW: http://www.mozilla.org/projects/seamonkey/

View File

@ -3,279 +3,107 @@
# Whom: eivind/dima/jseger
#
# $FreeBSD$
# $MCom: ports/www/mozilla-devel/Makefile,v 1.10 2005/10/27 00:08:39 marcus Exp $
# $MCom: ports/www/seamonkey/Makefile,v 1.35 2005/11/28 19:28:49 ahze Exp $
#
PORTNAME?= mozilla
PORTVERSION= 1.8.b1
PORTREVISION?= 7
PORTEPOCH?= 2
PORTNAME= seamonkey
DISTVERSION= 1.0a1
CATEGORIES?= www
MASTER_SITES= ${MASTER_SITE_MOZILLA}
MASTER_SITE_SUBDIR= mozilla/releases/${PORTNAME}${PORTVERSION:S/.b1/b1/}/source
DISTNAME= ${PORTNAME}-source-${PORTVERSION:S/.b1/b1/}
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= ahze
#MASTER_SITES= ${MASTER_SITE_MOZILLA}
#MASTER_SITE_SUBDIR= seamonkey/releases/${DISTVERSION}
DISTNAME= ${PORTNAME}-${DISTVERSION}.source
MAINTAINER= gnome@FreeBSD.org
COMMENT= The open source, standards compliant web browser
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png \
Xft.2:${PORTSDIR}/x11-fonts/libXft
DEPRECATED= "The mozilla team has shifted the development branch of \
mozilla to seamonkey, this port is outdated and has many \
vulnerabilities"
WRKSRC= ${WRKDIR}/${PORTNAME}
MOZILLA?= mozilla-devel
MOZ_SUFX?= -devel
MOZ_VER?= ${PORTVERSION:S/.b1/b/}
LATEST_LINK= ${MOZILLA}
EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exclude */CVS/* \
--exclude */macbuild/*\
--exclude */package/* \
--exclude .cvsignore \
--exclude makefile.win \
--exclude MANIFEST
USE_GNOME= gtk20 libidl desktopfileutils
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_PERL5= yes
USE_ICONV= yes
USE_GMAKE= yes
WANT_GNOME= yes
USE_REINPLACE= yes
HAS_CONFIGURE= yes
ALL_TARGET= default
FAKEDIR= ${WRKDIR}/fake
SCRIPTS_DIR= ${FAKEDIR}/lib/${MOZILLA}
MOZ_PIS_DIR= ${SCRIPTS_DIR}/init.d
MOZ_PIS_SCRIPTS= S50cleanhome
USE_X_PREFIX= yes
MOZ_PIS_SCRIPTS= moz_pis_S50cleanhome
MAKE_ENV= LD_LIBRARY_PATH=${WRKSRC}/dist/bin
CONFIGURE_ARGS= \
--disable-auto-deps \
--enable-chrome-format=jar \
--disable-cpp-exceptions \
--disable-cpp-rtti \
--enable-crypto \
--disable-gtktest \
--disable-freetypetest \
--disable-installer \
--disable-glibtest \
--enable-double-buffer \
--enable-mathml \
--disable-md \
--disable-pedantic \
--disable-bidi \
--disable-plaintext-editor-only \
--enable-svg \
--disable-tests \
--disable-xterm-updates \
--enable-xinerama \
--with-system-zlib \
--with-system-jpeg=${LOCALBASE} \
--with-system-png=${LOCALBASE} \
--with-gssapi=/usr \
--prefix=${FAKEDIR} \
--with-pthreads \
--enable-application=suite \
--enable-xft \
--disable-freetype2 \
--enable-default-toolkit=gtk2
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/cairo"
PLIST= ${WRKDIR}/pkg-plist
MOZ_EXTENSIONS= default
CONFIGURE_ENV= LOCALBASE=${LOCALBASE}
FREETYPE_LIB= libfreetype.so.9
PKGCONFIG_FILES=mozilla-gtkmozembed mozilla-js mozilla-xpcom \
mozilla-nspr mozilla-nss mozilla-plugin
MOZ_EXTENSIONS= default
MOZ_OPTIONS+= --enable-application=suite \
--enable-svg-renderer=cairo \
--enable-system-cairo
MOZ_MK_OPTIONS+= MOZ_CO_PROJECT=suite
# JPI stuff. List paths to Java Plug-ins here in the order to try.
JPI_LIST?=\
${LOCALBASE}/jdk1.5.0/jre/plugin/${ARCH}/ns7/libjavaplugin_oji.so \
${LOCALBASE}/jdk1.4.2/jre/plugin/${ARCH}/ns610/libjavaplugin_oji.so
OPTIONS=CALENDAR "Enable the Calendar module" off \
MAILNEWS "Enable Mail and News modules" on \
OPTIONS=MAILNEWS "Enable Mail and News modules" on \
COMPOSER "Enable the HTML Composer module" on \
DEBUG "Enable debugging (i.e. gdb) support" off \
LDAP "Enable LDAP support for Mailnews" on \
CHATZILLA "Enable the Chatzilla IRC module" on \
JAVASCRIPT_DEBUGGER "Enable DTD and JavaScript debuggers" off \
OPTIMIZED_CFLAGS "Enable -O2 optimizations" off \
SMB "Enable smb:// URI support via gnomevfs" off
# CAIRO_RENDER "Enable SVG rendering with Cairo" off \
# CAIRO "Enable Cairo-specific Canvas features" off \
SMB "Enable smb:// URI support using gnomevfs" off
.include <bsd.port.pre.mk>
.if ${ARCH} == "ia64" || ${ARCH} == "alpha"
BROKEN= "Does not compile on ${ARCH}"
.if exists(${LOCALBASE}/include/cairo/cairo-glitz.h)
# Glitz support can only be enabled if cairo is built with glitz support
MOZ_OPTIONS+= --enable-glitz
LIB_DEPENDS+= glitz.1:${PORTSDIR}/graphics/glitz
.endif
.if ${ARCH} == "alpha" && ${OSVERSION} < 500035
IGNORE= core dumps on ${ARCH} during post-build
.endif
.if exists(${X11BASE}/lib/X11/fonts/mozilla/fonts.dir)
BROKEN= "Mozilla${MOZ_SUFX} and Xft2 render the mozilla-fonts \
illegibly. Please remove the mozilla-fonts package"
.endif
.if defined(WITH_CALENDAR) && (defined(WITHOUT_MAILNEWS) || \
defined(WITHOUT_COMPOSER))
BROKEN= "Calendar requires Composer and Mailnews support."
.endif
.if ${OSVERSION} < 500000
USE_GCC= 3.4
USE_GCC= 3.4+
.endif
.if defined(WITH_CAIRO_RENDER) || defined(WITH_CAIRO)
#LIB_DEPENDS+= svg-cairo.1:${PORTSDIR}/graphics/libsvg-cairo
.endif
#.if defined(WITH_CAIRO_RENDER)
#CONFIGURE_ARGS+= --enable-svg-renderer-cairo \
# --disable-svg-renderer-libart
#CONFIGURE_ENV+= MOZ_SVG_RENDERER_CAIRO=1
#.else
CONFIGURE_ARGS+= --enable-svg-renderer-libart \
--disable-svg-renderer-cairo
CONFIGURE_ENV+= MOZ_INTERNAL_LIBART_LGPL=1
MAKE_ENV+= MOZ_INTERNAL_LIBART_LGPL=1
#.endif
#.if defined(WITH_CAIRO)
#CONFIGURE_ARGS+= --enable-cairo
#CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include/cairo"
#.endif
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+= --enable-debug \
--disable-strip
.else
CONFIGURE_ARGS+= --disable-debug \
--enable-strip
.endif
# LDAP is only used by mail and news so disable both together
.if defined(WITHOUT_MAILNEWS)
CONFIGURE_ARGS+= --disable-ldap --disable-mailnews
MOZ_OPTIONS+= --disable-ldap --disable-mailnews
.else
# mail and news desired, but not LDAP
.if defined(WITHOUT_LDAP)
CONFIGURE_ARGS+= --disable-ldap --enable-mailnews
MOZ_OPTIONS+= --disable-ldap --enable-mailnews
.else
CONFIGURE_ARGS+= --enable-ldap --enable-mailnews
MOZ_OPTIONS+= --enable-ldap --enable-mailnews
.endif
.endif
.if !defined(WITHOUT_CHATZILLA)
MOZ_EXTENSIONS:= ${MOZ_EXTENSIONS},irc
.endif
CONFIGURE_ARGS+= --enable-extensions=${MOZ_EXTENSIONS}
.if defined(WITH_JAVASCRIPT_DEBUGGER)
CONFIGURE_ARGS+= --enable-jsd \
MOZ_OPTIONS+= --enable-jsd \
--enable-dtd-debug
.else
CONFIGURE_ARGS+= --disable-jsd \
MOZ_OPTIONS+= --disable-jsd \
--disable-dtd-debug
.endif
.if defined(WITH_CALENDAR)
CONFIGURE_ARGS+= --enable-calendar
MOZ_OPTIONS+= --enable-calendar
.endif
.if defined(WITHOUT_COMPOSER)
CONFIGURE_ARGS+= --disable-composer
MOZ_OPTIONS+= --disable-composer
.endif
.if ${ARCH} == "i386"
CONFIGURE_ARGS+= --enable-reorder
.endif
.if defined(WITH_SMB)
USE_GNOME+= gnomevfs2
.else
CONFIGURE_ARGS+=--disable-gnomevfs
.endif
.if defined(WITH_OPTIMIZED_CFLAGS)
CFLAGS:= -O2 -fno-strict-aliasing ${CFLAGS:N-O*}
.else
CFLAGS:= -O ${CFLAGS:N-O*:N-m*}
CONFIGURE_ENV+= WITH_OPTIMIZE=-O
.endif
.if !defined(WITHOUT_MENU_ENTRY)
USE_GNOME+= gnomehier
.endif
#.if ${ARCH} == "i386"
#CONFIGURE_ARGS+= --enable-reorder
#.endif
post-patch:
@${REINPLACE_CMD} -e 's/%{idldir}/%idldir%/g' \
${WRKSRC}/build/unix/mozilla-config.in
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
${WRKSRC}/build/unix/run-mozilla.sh
@${REINPLACE_CMD} -e 's|%%MOZILLA%%|${MOZILLA}|g' \
-e 's|%%HEADERS_SUFX%%|${MOZ_SUFX}|g' \
${WRKSRC}/config/autoconf.mk.in
@${FIND} ${WRKSRC}/other-licenses/libical -name "*.c" | ${XARGS} \
${REINPLACE_CMD} 's|<malloc.h>|<stdlib.h>|g'
@${REINPLACE_CMD} -e 's|-lc_r|${PTHREAD_LIBS}|g ; \
s|-lpthread|${PTHREAD_LIBS}|g ; \
s|/usr/X11R6|${X11BASE}|g' \
${WRKSRC}/configure \
${WRKSRC}/nsprpub/configure
@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/nsprpub/configure \
${WRKSRC}/security/coreconf/FreeBSD.mk \
${WRKSRC}/directory/c-sdk/config/FreeBSD.mk \
${WRKSRC}/js/src/Makefile.in
@${REINPLACE_CMD} -E -e 's|libesd\.so\.[0-9]+|libesd.so|g' \
${WRKSRC}/widget/src/gtk2/nsSound.cpp
@${REINPLACE_CMD} -e '/accessibility.typeaheadfind.enablesound/s/true/false/' \
${WRKSRC}/modules/libpref/src/init/all.js
@${REINPLACE_CMD} -e 's|<iconv.h>|\"${LOCALBASE}/include/iconv.h\"|g' \
${WRKSRC}/configure \
${WRKSRC}/intl/uconv/native/nsNativeUConvService.cpp \
${WRKSRC}/xpcom/io/nsNativeCharsetUtils.cpp
@${REINPLACE_CMD} -e 's|libfreetype.so.6|${FREETYPE_LIB}|g' \
${WRKSRC}/modules/libpref/src/init/all.js
@for pcfile in ${PKGCONFIG_FILES}; do \
${REINPLACE_CMD} -e 's|mozilla-xpcom|mozilla-xpcom${MOZ_SUFX}|g ; \
s|mozilla-nspr|mozilla-nspr${MOZ_SUFX}|g' \
${WRKSRC}/build/unix/$${pcfile}.pc.in; \
done
@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \
< ${FILESDIR}/mozilla-devel.desktop.in > \
${WRKDIR}/mozilla-devel.desktop
pre-configure:
@if [ -n "`${PKG_INFO} -xI '^bind[0-9]*-base-[0-9]'`" ]; then \
${ECHO_CMD} "${PKGNAME}: bind installed with PORT_REPLACES_BASE_BIND causes build problems."; \
${FALSE}; \
fi
post-build:
${SED} -e "s|%%PREFIX%%|${PREFIX}|g" -e "s|%%MOZILLA%%|${MOZILLA}|g" \
${FILESDIR}/mozilla.sh >${WRKSRC}/${MOZILLA}
< ${FILESDIR}/seamonkey.desktop.in > \
${WRKDIR}/seamonkey.desktop
pre-install:
${RM} -rf ${PLIST} ${FAKEDIR}
${TOUCH} -f ${PLIST}
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
Makefile ${MAKE_ARGS} ${INSTALL_TARGET}
${MKDIR} ${SCRIPTS_DIR} ${MOZ_PIS_DIR}
${REINPLACE_CMD} -e 's|${FAKEDIR}|${PREFIX}|g' \
${FAKEDIR}/bin/mozilla \
${FAKEDIR}/bin/mozilla-config
if [ ! -x ${PREFIX}/bin/mozilla -a ! -L ${PREFIX}/bin/mozilla ]; then \
${ECHO_CMD} bin/mozilla >> ${PLIST} ; \
fi
${ECHO_CMD} bin/${MOZILLA} >> ${PLIST}
if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \
for jpi in ${JPI_LIST}; do \
if [ -f $${jpi} ]; then \
@ -284,62 +112,10 @@ pre-install:
fi; \
done; \
fi
${ECHO_CMD} lib/browser_plugins/.${PORTNAME}.keep >> ${PLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/browser_plugins 2>/dev/null || ${TRUE}" >> ${PLIST}
${ECHO_CMD} lib/${MOZILLA}/mozilla >> ${PLIST}
${ECHO_CMD} lib/${MOZILLA}/mozilla-config >> ${PLIST}
.for ii in ${MOZ_PIS_SCRIPTS}
${INSTALL_SCRIPT} ${FILESDIR}/moz_pis_${ii} ${MOZ_PIS_DIR}/${ii}
.endfor
.if !defined(WITHOUT_MAILNEWS)
@${CP} -RL ${WRKSRC}/dist/bin/defaults/isp ${FAKEDIR}/lib/${MOZILLA}/defaults
.endif
${ECHO_CMD} share/applications/mozilla-devel.desktop >> ${PLIST}
${ECHO_CMD} share/applications/seamonkey.desktop >> ${PLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${PLIST}
cd ${FAKEDIR}/lib/${MOZILLA} && ${FIND} -s * -type f -o -type l | \
${SED} -e 's:^:lib/${MOZILLA}/:' >> ${PLIST} \
&& ${FIND} -d * -type d | \
${SED} -e 's:^:@dirrm lib/${MOZILLA}/:' >> ${PLIST}
${ECHO_CMD} @dirrm lib/${MOZILLA} >> ${PLIST}
for pcfile in ${PKGCONFIG_FILES}; do \
${ECHO_CMD} libdata/pkgconfig/$${pcfile}${MOZ_SUFX}.pc >> ${PLIST} ; \
done
cd ${FAKEDIR}/include/${MOZILLA} && ${FIND} -s * -type f -o -type l | \
${SED} -e 's:^:include/${MOZILLA}/:' >> ${PLIST} \
&& ${FIND} -d * -type d | \
${SED} -e 's:^:@dirrm include/${MOZILLA}/:' >> ${PLIST}
${ECHO_CMD} @dirrm include/${MOZILLA} >> ${PLIST}
${ECHO_CMD} "@exec ${LOCALBASE}/bin/update-desktop-database > /dev/null || ${TRUE}" >> ${PLIST}
${ECHO_CMD} "@unexec ${LOCALBASE}/bin/update-desktop-database > /dev/null || ${TRUE}" >> ${PLIST}
cd ${FAKEDIR}/share/idl/${MOZILLA:S/-devel//}-${MOZ_VER} \
&& ${FIND} -s * -type f -o -type l | \
${SED} -e 's:^:share/idl/${MOZILLA}/:' >> ${PLIST} \
&& ${FIND} -d * -type d | \
${SED} -e 's:^:@dirrm share/idl/${MOZILLA}/:' >> ${PLIST}
${ECHO_CMD} "@dirrm share/idl/${MOZILLA}" >> ${PLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/share/idl 2>/dev/null || true" >> ${PLIST}
do-install:
${MKDIR} ${PREFIX}/lib/${MOZILLA}
${CHMOD} 755 ${PREFIX}/lib/${MOZILLA}
${INSTALL_SCRIPT} ${FAKEDIR}/bin/mozilla ${PREFIX}/lib/${MOZILLA}
${INSTALL_SCRIPT} ${FAKEDIR}/bin/mozilla-config ${PREFIX}/lib/${MOZILLA}
cd ${FAKEDIR}/lib/${MOZILLA} && ${FIND} . | \
${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/${MOZILLA}
for pcfile in ${PKGCONFIG_FILES}; do \
${REINPLACE_CMD} -e 's|${FAKEDIR}|${PREFIX}|g' \
${WRKSRC}/build/unix/$${pcfile}.pc; \
${INSTALL_DATA} ${WRKSRC}/build/unix/$${pcfile}.pc \
${PREFIX}/libdata/pkgconfig/$${pcfile}${MOZ_SUFX}.pc ; \
done
${INSTALL_SCRIPT} ${WRKSRC}/${MOZILLA} ${PREFIX}/bin
if [ ! -x ${PREFIX}/bin/mozilla -a ! -L ${PREFIX}/bin/mozilla ]; then \
${LN} -sf ${PREFIX}/bin/${MOZILLA} ${PREFIX}/bin/mozilla ; \
fi
if [ ! -d ${PREFIX}/lib/browser_plugins ]; then \
${MKDIR} ${PREFIX}/lib/browser_plugins ; \
fi
${TOUCH} -f ${PREFIX}/lib/browser_plugins/.${PORTNAME}.keep
if [ ! -L ${PREFIX}/lib/browser_plugins/libjavaplugin_oji.so ]; then \
for jpi in ${JPI_LIST}; do \
if [ -f $${jpi} ]; then \
@ -349,19 +125,8 @@ do-install:
fi; \
done; \
fi
-${RM} -fr ${PREFIX}/include/${MOZILLA}
${MKDIR} ${PREFIX}/include/${MOZILLA}
${CHMOD} 755 ${PREFIX}/include/${MOZILLA}
cd ${FAKEDIR}/include/${MOZILLA} && ${FIND} . | \
${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/include/${MOZILLA}
${MKDIR} ${PREFIX}/share/applications
${INSTALL_DATA} ${WRKDIR}/mozilla-devel.desktop \
${PREFIX}/share/applications
${MKDIR} ${PREFIX}/share/idl/${MOZILLA}
cd ${FAKEDIR}/share/idl/${MOZILLA:S/-devel//}-${MOZ_VER} && ${FIND} . | \
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/idl/${MOZILLA}
post-install:
@-update-desktop-database
${INSTALL_DATA} ${WRKDIR}/seamonkey.desktop ${PREFIX}/share/applications
.include "${.CURDIR}/../mozilla/Makefile.common"
.include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
MD5 (mozilla-source-1.8b1.tar.bz2) = 42a0b25d405ee60128adb0eef4bc0fa0
SHA256 (mozilla-source-1.8b1.tar.bz2) = cb8992c3ceb96d2775dcf4388b4c41b139ff95556dc746b772f81dac8373d34a
SIZE (mozilla-source-1.8b1.tar.bz2) = 32116336
MD5 (seamonkey-1.0a1.source.tar.bz2) = a67d506a12d865491f24753eb19d8c24
SHA256 (seamonkey-1.0a1.source.tar.bz2) = 55d42c3c2a3ead4f5a76b47db00bd0bbee185c0a92d955b401eed9cf6e9f88bf
SIZE (seamonkey-1.0a1.source.tar.bz2) = 32442355

View File

@ -1,169 +0,0 @@
[Desktop Entry]
Encoding=UTF-8
Name=Mozilla Web Browser
Name[az]=Mozilla Veb Səyyahı
Name[bg]=Интернет браузър (Mozilla)
Name[bs]=Mozilla web preglednik
Name[ca]=Navegador web Mozilla
Name[cs]=Prohlížeč WWW Mozilla
Name[cy]=Y Porwr Gwe Mozilla
Name[da]=Mozilla - internetbrowser
Name[de]=Mozilla Webbrowser
Name[el]=Περιηγητής Διαδικτύου Mozilla
Name[en_CA]=Mozilla Web Browser
Name[en_GB]=Mozilla Web Browser
Name[es]=Navegador Web Mozilla
Name[et]=Mozilla veebibrauser
Name[eu]=Mozilla web arakatzailea
Name[fa]=مرورگر وب Mozilla
Name[fi]=Mozilla, WWW-selain
Name[fr]=Navigateur Web Mozilla
Name[ga]=Brabhsálaí Lín Mozilla
Name[he]=דפדפן Mozilla
Name[hr]=Mozilla Web preglednik
Name[hu]=Mozilla webböngésző
Name[id]=Web Browser Mozilla
Name[it]=Browser web Mozilla
Name[ja]=Mozilla
Name[ko]=Mozilla
Name[li]=Mozilla Web Browser
Name[lt]=Mozilla web naršyklė
Name[mk]=Mozilla Веб Прелистувач
Name[mn]=Mozilla веб хөтөч
Name[ms]=Pelungsur Web Mozilla
Name[nb]=Mozilla nettleser
Name[nl]=Mozilla webbrowser
Name[nn]=Mozilla nettlesar
Name[no]=Mozilla nettleser
Name[pl]=Przeglądarka WWW Mozilla
Name[pt]=Navegador Web Mozilla
Name[pt_BR]=Navegador Web Mozilla
Name[ro]=Navigatorul Mozilla
Name[sl]=Spletni brskalnik Mozilla
Name[sq]=Mozilla - Shfletuesi Web
Name[sv]=Webbläsaren Mozilla
Name[tk]=Mozilla Web Ahtarçisi
Name[tr]=Mozilla Web Tarayıcı
Name[uk]=Переглядач web Mozilla
Name[vi]=Trình Duyt Web Mozilla
Name[wa]=Betchteu waibe mozilla
Name[zh_CN]=Mozilla Web
Name[zh_TW]=Mozilla
GenericName=Mozilla Web Browser
GenericName[az]=Mozilla Veb Səyyahı
GenericName[bg]=Интернет браузър (Mozilla)
GenericName[bs]=Mozilla web preglednik
GenericName[ca]=Navegador web Mozilla
GenericName[cs]=Prohlížeč WWW Mozilla
GenericName[cy]=Y Porwr Gwe Mozilla
GenericName[da]=Mozilla - internetbrowser
GenericName[de]=Mozilla Webbrowser
GenericName[el]=Περιηγητής Διαδικτύου Mozilla
GenericName[en_CA]=Mozilla Web Browser
GenericName[en_GB]=Mozilla Web Browser
GenericName[es]=Navegador Web Mozilla
GenericName[et]=Mozilla veebibrauser
GenericName[eu]=Mozilla web arakatzailea
GenericName[fa]=مرورگر وب Mozilla
GenericName[fi]=Mozilla, WWW-selain
GenericName[fr]=Navigateur Web Mozilla
GenericName[ga]=Brabhsálaí Lín Mozilla
GenericName[he]=דפדפן Mozilla
GenericName[hr]=Mozilla Web preglednik
GenericName[hu]=Mozilla webböngésző
GenericName[id]=Web Browser Mozilla
GenericName[it]=Browser web Mozilla
GenericName[ja]=Mozilla
GenericName[ko]=Mozilla
GenericName[li]=Mozilla Web Browser
GenericName[lt]=Mozilla web naršyklė
GenericName[mk]=Mozilla Веб Прелистувач
GenericName[mn]=Mozilla веб хөтөч
GenericName[ms]=Pelungsur Web Mozilla
GenericName[nb]=Mozilla nettleser
GenericName[nl]=Mozilla webbrowser
GenericName[nn]=Mozilla nettlesar
GenericName[no]=Mozilla nettleser
GenericName[pl]=Przeglądarka WWW Mozilla
GenericName[pt]=Navegador Web Mozilla
GenericName[pt_BR]=Navegador Web Mozilla
GenericName[ro]=Navigatorul Mozilla
GenericName[sl]=Spletni brskalnik Mozilla
GenericName[sq]=Mozilla - Shfletuesi Web
GenericName[sv]=Webbläsaren Mozilla
GenericName[tk]=Mozilla Web Ahtarçisi
GenericName[tr]=Mozilla Web Tarayıcı
GenericName[uk]=Переглядач web Mozilla
GenericName[vi]=Trình Duyt Web Mozilla
GenericName[wa]=Betchteu waibe mozilla
GenericName[zh_CN]=Mozilla Web
GenericName[zh_TW]=Mozilla
Comment=Browse the web
Comment[ar]=تصفح الانترنت
Comment[az]=Vebi gəzin
Comment[be]=Вандраваць па павуціньню
Comment[bg]=Сърфиране в интернет
Comment[bn]=
Comment[bs]=Pregledaj na internetu
Comment[ca]=Navegueu per la web
Comment[cs]=Prohlížet WWW
Comment[cy]=Pori'r we
Comment[da]=Benyt internettet
Comment[de]=Im Web surfen
Comment[el]=Περιήγηση στον παγκόσμιο ιστό
Comment[en_CA]=Browse the web
Comment[en_GB]=Browse the web
Comment[es]=Navegar por la web
Comment[et]=Sirvi veebi
Comment[eu]=Arakatu web-a
Comment[fa]=مرور وب
Comment[fi]=Selaa WWW:tä
Comment[fr]=Naviguer sur Internet
Comment[ga]=Brabhsáil an Líon
Comment[gu]=
Comment[he]=גלוש ברשת
Comment[hi]=
Comment[hr]=Pregledaj Web
Comment[hu]=A világháló böngészése
Comment[id]=Jelajah web
Comment[it]=Esplora il web
Comment[ja]=
Comment[ko]=
Comment[li]=Blajere op internet
Comment[lt]=Naršyti internete
Comment[mk]=Прелистувајте го вебот
Comment[ml]= ി
Comment[mn]=Веб броузе хийх
Comment[ms]=Layari web
Comment[nb]=Surf på nettet
Comment[nl]=Websurfen
Comment[nn]=Surf på nettet
Comment[no]=Surf på nettet
Comment[pa]=
Comment[pl]=Przeglądanie stron WWW
Comment[pt]=Navegar na web
Comment[pt_BR]=Navegar na web
Comment[ro]=Navigare Internet
Comment[ru]=Программа для просмотра веб-страниц
Comment[sk]=Prehliadať internet
Comment[sl]=Brskaj po spletu
Comment[sq]=Eksploro web-in
Comment[sr]=Прегледај веб
Comment[sr@Latn]=Pregledaj veb
Comment[sv]=Surfa på nätet
Comment[ta]=ி
Comment[th]= Mozilla
Comment[tk]=Webi Ahtar
Comment[tr]=Web'e Gözat
Comment[uk]=Програма перегляду web-сторінок
Comment[vi]=Duyt web
Comment[wa]=Naivyî avå les waibes
Comment[zh_CN]= Web
Comment[zh_TW]=
Exec=mozilla-devel %U
StartupNotify=true
Terminal=false
Type=Application
Icon=%%PREFIX%%/lib/mozilla-devel/chrome/icons/default/default.xpm
Categories=Application;Network;
MimeType=text/html;text/xml;application/xhtml+xml;

View File

@ -1,85 +0,0 @@
#!/bin/sh
MOZILLA_DIR="%%PREFIX%%/lib/%%MOZILLA%%"
MOZILLA_EXEC="./mozilla"
MOZILLA_REMOTE_EXEC="${MOZILLA_EXEC} -remote"
APPLICATION_ID="mozilla"
LOCATION='new-tab'
#MOZILLA_UILOCALE="en-US"
#MOZILLA_UIREGION="US"
#MOZILLA_DSP="auto"
cd $MOZILLA_DIR || exit 1
# LANG, MOZILLA_UILOCALE, MOZILLA_UIREGION
if [ -n "$LANG" -a ! -n "${MOZILLA_UILOCALE}" ]; then
_locale="${LANG%%.*}"
if [ "${_locale}" != "en_US" -a "${_locale}" != "C" ]; then
_region="${_locale##*_}"
_locale="${_locale%_*}"
[ -r chrome/${_locale}-${_region}.jar ] && \
MOZILLA_EXEC="${MOZILLA_EXEC} -UILocale ${_locale}-${_region}"
fi
elif [ -n "${MOZILLA_UILOCALE}" ]; then
MOZILLA_EXEC="${MOZILLA_EXEC} -UILocale ${MOZILLA_UILOCALE}"
if [ -n "${MOZILLA_UIREGION}" ]; then
MOZILLA_EXEC="${MOZILLA_EXEC} -UIRegion ${MOZILLA_UIREGION}"
fi
fi
# find a /dev/dsp handler
case "${MOZILLA_DSP}" in
# [Ee][Ss][Dd]|esddsp) # Use the esd dsp wrapper
# MOZILLA_DSP="esddsp"
# ;;
[Aa][Rr][Tt][Ss]|artsdsp) # Use the arts dsp wrapper
MOZILLA_DSP="artsdsp"
;;
[Nn][Oo][Nn][Ee]) # Direct dsp output
MOZILLA_DSP=""
;;
*) # Guest one (auto)
if [ -n "${KDE_FULL_SESSION}" ]; then
MOZILLA_DSP="artsdsp"
# elif [ -r ${HOME}/.esd_auth ]; then
# MOZILLA_DSP="esddsp"
else
MOZILLA_DSP=""
fi
;;
esac
if [ -n "${MOZILLA_DSP}" ] && type "${MOZILLA_DSP}" > /dev/null 2>&1; then
MOZILLA_EXEC="${MOZILLA_DSP} ${MOZILLA_EXEC}"
fi
case $1 in
-browser)
REMOTE_COMMAND="xfeDoCommand (openBrowser)"
;;
-mail)
REMOTE_COMMAND="xfeDoCommand (openInbox)"
;;
-compose)
REMOTE_COMMAND="xfeDoCommand (composeMessage)"
;;
-*)
exec ${MOZILLA_EXEC} "$@"
;;
*)
if [ -n "${LOCATION}" ]; then
REMOTE_COMMAND="openURL($@,$LOCATION)"
else
REMOTE_COMMAND="openURL($@)"
fi
;;
esac
# process found
${MOZILLA_REMOTE_EXEC} "ping()" >/dev/null 2>&1 &&
${MOZILLA_REMOTE_EXEC} "${REMOTE_COMMAND}" && exit 0
# no existing process
exec ${MOZILLA_EXEC} "$@"

View File

@ -1,92 +0,0 @@
Index: netwerk/base/src/nsStandardURL.cpp
===================================================================
RCS file: /cvs/mozilla/netwerk/base/src/nsStandardURL.cpp,v
retrieving revision 1.82
diff -p -u -1 -2 -r1.82 nsStandardURL.cpp
--- netwerk/base/src/nsStandardURL.cpp 20 Jun 2005 05:23:20 -0000 1.82
+++ netwerk/base/src/nsStandardURL.cpp 9 Sep 2005 16:34:42 -0000
@@ -458,24 +458,25 @@ nsStandardURL::AppendToBuf(char *buf, PR
// 4- update url segment positions and lengths
nsresult
nsStandardURL::BuildNormalizedSpec(const char *spec)
{
// Assumptions: all member URLSegments must be relative the |spec| argument
// passed to this function.
// buffers for holding escaped url segments (these will remain empty unless
// escaping is required).
nsCAutoString encUsername;
nsCAutoString encPassword;
nsCAutoString encHost;
+ PRBool useEncHost;
nsCAutoString encDirectory;
nsCAutoString encBasename;
nsCAutoString encExtension;
nsCAutoString encParam;
nsCAutoString encQuery;
nsCAutoString encRef;
//
// escape each URL segment, if necessary, and calculate approximate normalized
// spec length.
//
PRInt32 approxLen = 3; // includes room for "://"
@@ -497,25 +498,25 @@ nsStandardURL::BuildNormalizedSpec(const
approxLen += encoder.EncodeSegmentCount(spec, mParam, esc_Param, encParam);
approxLen += encoder.EncodeSegmentCount(spec, mQuery, esc_Query, encQuery);
approxLen += encoder.EncodeSegmentCount(spec, mRef, esc_Ref, encRef);
}
// do not escape the hostname, if IPv6 address literal, mHost will
// already point to a [ ] delimited IPv6 address literal.
// However, perform Unicode normalization on it, as IDN does.
mHostEncoding = eEncoding_ASCII;
if (mHost.mLen > 0) {
const nsCSubstring& tempHost =
Substring(spec + mHost.mPos, spec + mHost.mPos + mHost.mLen);
- if (NormalizeIDN(tempHost, encHost))
+ if ((useEncHost = NormalizeIDN(tempHost, encHost)))
approxLen += encHost.Length();
else
approxLen += mHost.mLen;
}
//
// generate the normalized URL string
//
mSpec.SetLength(approxLen + 32);
char *buf;
mSpec.BeginWriting(buf);
PRUint32 i = 0;
@@ -530,25 +531,30 @@ nsStandardURL::BuildNormalizedSpec(const
mAuthority.mPos = i;
// append authority
if (mUsername.mLen > 0) {
i = AppendSegmentToBuf(buf, i, spec, mUsername, &encUsername);
if (mPassword.mLen >= 0) {
buf[i++] = ':';
i = AppendSegmentToBuf(buf, i, spec, mPassword, &encPassword);
}
buf[i++] = '@';
}
if (mHost.mLen > 0) {
- i = AppendSegmentToBuf(buf, i, spec, mHost, &encHost);
+ if (useEncHost) {
+ mHost.mPos = i;
+ mHost.mLen = encHost.Length();
+ i = AppendToBuf(buf, i, encHost.get(), mHost.mLen);
+ } else
+ i = AppendSegmentToBuf(buf, i, spec, mHost);
net_ToLowerCase(buf + mHost.mPos, mHost.mLen);
if (mPort != -1 && mPort != mDefaultPort) {
nsCAutoString portbuf;
portbuf.AppendInt(mPort);
buf[i++] = ':';
i = AppendToBuf(buf, i, portbuf.get(), portbuf.Length());
}
}
// record authority length
mAuthority.mLen = i - mAuthority.mPos;

View File

@ -1,59 +0,0 @@
--- extensions/transformiix/source/base/Double.cpp.orig Thu Jan 30 09:26:46 2003
+++ extensions/transformiix/source/base/Double.cpp Sun Nov 16 01:46:42 2003
@@ -51,10 +51,10 @@
//A trick to handle IEEE floating point exceptions on FreeBSD - E.D.
#ifdef __FreeBSD__
#include <ieeefp.h>
-#ifdef __alpha__
-fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP;
-#else
+#if defined(__i386__)
fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP|FP_X_DNML;
+#else
+fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP;
#endif
fp_except_t oldmask = fpsetmask(~allmask);
#endif
@@ -75,22 +75,31 @@
#define TX_DOUBLE_HI32_EXPMASK 0x7ff00000
#define TX_DOUBLE_HI32_MANTMASK 0x000fffff
+union ui32dun {
+ PRUint32 i[2];
+ double d;
+};
+
//-- Initialize Double related constants
#ifdef IS_BIG_ENDIAN
-const PRUint32 nanMask[2] = {TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_MANTMASK,
- 0xffffffff};
-const PRUint32 infMask[2] = {TX_DOUBLE_HI32_EXPMASK, 0};
-const PRUint32 negInfMask[2] = {TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_SIGNBIT, 0};
+const union ui32dun nanMask =
+ {{TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_MANTMASK, 0xffffffff}};
+const union ui32dun infMask =
+ {{TX_DOUBLE_HI32_EXPMASK, 0}};
+const union ui32dun negInfMask =
+ {{TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_SIGNBIT, 0}};
#else
-const PRUint32 nanMask[2] = {0xffffffff,
- TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_MANTMASK};
-const PRUint32 infMask[2] = {0, TX_DOUBLE_HI32_EXPMASK};
-const PRUint32 negInfMask[2] = {0, TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_SIGNBIT};
+const union ui32dun nanMask =
+ {{0xffffffff, TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_MANTMASK}};
+const union ui32dun infMask =
+ {{0, TX_DOUBLE_HI32_EXPMASK}};
+const union ui32dun negInfMask =
+ {{0, TX_DOUBLE_HI32_EXPMASK | TX_DOUBLE_HI32_SIGNBIT}};
#endif
-const double Double::NaN = *((double*)nanMask);
-const double Double::POSITIVE_INFINITY = *((double*)infMask);
-const double Double::NEGATIVE_INFINITY = *((double*)negInfMask);
+const double Double::NaN = nanMask.d;
+const double Double::POSITIVE_INFINITY = infMask.d;
+const double Double::NEGATIVE_INFINITY = negInfMask.d;
/*
* Determines whether the given double represents positive or negative

View File

@ -1,22 +0,0 @@
--- Makefile.in.orig Thu Oct 21 19:25:55 2004
+++ Makefile.in Thu Oct 21 19:26:46 2004
@@ -80,8 +80,7 @@
$(tier_1_dirs) \
$(tier_2_dirs) \
$(tier_9_dirs) \
- $(tier_50_dirs) \
- $(NULL)
+ $(tier_50_dirs)
ifdef GC_LEAK_DETECTOR
DIRS += gc/boehm
@@ -100,7 +99,8 @@
DIRS += $(tier_98_dirs)
endif
-DIRS += $(tier_99_dirs)
+DIRS += $(tier_99_dirs) \
+ $(NULL)
#
# tier 0 - base build config dirs

View File

@ -1,15 +1,15 @@
--- build/unix/run-mozilla.sh.orig Mon Dec 15 12:27:28 2003
+++ build/unix/run-mozilla.sh Wed Feb 11 14:24:17 2004
@@ -355,7 +355,7 @@
fi
##
## Set LD_LIBRARY_PATH
-LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
+LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:%%PREFIX%%/lib/browser_linux_plugins:%%PREFIX%%/lib/browser_plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
if [ -n "$LD_LIBRARYN32_PATH" ]
--- build/unix/run-mozilla.sh.orig Mon Oct 17 13:21:17 2005
+++ build/unix/run-mozilla.sh Thu Nov 10 22:01:41 2005
@@ -333,7 +333,7 @@
## LD_LIBRARY_PATH because $ORIGIN doesn't work on a symbolic link.
if [ `uname -s` != "SunOS" -o -h "$MOZ_PROGRAM" ]
then
LD_LIBRARYN32_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARYN32_PATH+":$LD_LIBRARYN32_PATH"}
@@ -442,6 +442,9 @@
- LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
+ LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:%%PREFIX%%/lib/browser_plugins:%%PREFIX%%/lib/browser_linux_plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
fi
if [ -n "$LD_LIBRARYN32_PATH" ]
@@ -422,6 +422,9 @@
#
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH

View File

@ -5,7 +5,7 @@
exec_prefix = @exec_prefix@
bindir = @bindir@
-includedir = @includedir@/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
+includedir = @includedir@/mozilla%%HEADERS_SUFX%%
+includedir = @includedir@/%%MOZILLA%%
libdir = @libdir@
datadir = @datadir@
mandir = @mandir@

View File

@ -1,15 +1,15 @@
--- configure.orig Wed Dec 22 19:34:26 2004
+++ configure Sun Jan 16 16:30:16 2005
@@ -9446,7 +9446,7 @@
--- configure.orig Thu Nov 10 15:33:30 2005
+++ configure Thu Nov 10 22:04:56 2005
@@ -10203,7 +10203,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-liconv $LIBS"
+LIBS="-L$LOCALBASE/lib -liconv $LIBS"
cat > conftest.$ac_ext <<EOF
#line 9452 "configure"
#line 10209 "configure"
#include "confdefs.h"
@@ -9477,7 +9477,7 @@
@@ -10234,7 +10234,7 @@
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
@ -18,16 +18,16 @@
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for libiconv in -liconv""... $ac_c" 1>&6
@@ -9487,7 +9487,7 @@
@@ -10244,7 +10244,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-liconv $LIBS"
+LIBS="-L$LOCALBASE/lib -liconv $LIBS"
cat > conftest.$ac_ext <<EOF
#line 9493 "configure"
#line 10250 "configure"
#include "confdefs.h"
@@ -9518,7 +9518,7 @@
@@ -10275,7 +10275,7 @@
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
@ -36,12 +36,12 @@
else
echo "$ac_t""no" 1>&6
fi
@@ -11847,7 +11847,7 @@
MOZ_COMPOSER=1
MOZ_PROFILESHARING=1
MOZ_APP_VERSION=$MOZILLA_VERSION
- MOZ_EXTENSIONS_DEFAULT=" cookie wallet content-packs xml-rpc xmlextras help p3p pref transformiix venkman inspector irc universalchardet typeaheadfind webservices spellcheck gnomevfs negotiateauth sroaming permissions"
+ MOZ_EXTENSIONS_DEFAULT=" cookie wallet content-packs xml-rpc xmlextras help p3p pref transformiix venkman inspector universalchardet typeaheadfind webservices spellcheck gnomevfs negotiateauth sroaming permissions"
;;
browser)
@@ -12745,7 +12745,7 @@
MOZ_SUITE=1
MOZ_PROFILESHARING=
MOZ_APP_VERSION=$SEAMONKEY_VERSION
- MOZ_EXTENSIONS_DEFAULT=" cookie wallet content-packs xml-rpc xmlextras help p3p pref venkman inspector irc universalchardet typeaheadfind webservices spellcheck gnomevfs auth sroaming permissions reporter"
+ MOZ_EXTENSIONS_DEFAULT=" cookie wallet content-packs xml-rpc xmlextras help p3p pref venkman inspector universalchardet typeaheadfind webservices spellcheck gnomevfs auth sroaming permissions reporter"
cat >> confdefs.h <<\EOF
#define MOZ_SUITE 1
EOF

View File

@ -1,19 +0,0 @@
--- extensions/negotiateauth/Makefile.in.orig Wed Apr 28 03:26:19 2004
+++ extensions/negotiateauth/Makefile.in Tue Jul 6 16:27:07 2004
@@ -66,7 +66,6 @@
$(NULL)
EXTRA_DSO_LDOPTS = \
- $(MOZ_COMPONENT_LIBS) \
$(NULL)
ifneq (,$(GSSAPI_LIBS))
@@ -74,6 +73,8 @@
EXTRA_DSO_LDOPTS += $(GSSAPI_LIBS)
CPPSRCS += nsNegotiateAuthGSSAPI.cpp
endif
+
+EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS)
# make sure this component is never statically linked into the main
# application. this is necessary since we don't want to force users

View File

@ -0,0 +1,25 @@
--- js/src/Makefile.in Thu Aug 4 22:26:52 2005
+++ js/src/Makefile.in Thu Aug 4 23:02:32 2005
@@ -148,5 +148,4 @@
endif
-FDLIBM_LIBRARY = fdlibm/$(LIB_PREFIX)fdm.$(LIB_SUFFIX)
JSMATH_PRELINK = jsmathtemp.o
JS_SAFE_ARENA = 1
@@ -320,7 +319,4 @@
endif
@$(RM) -f $(JSMATH_PRELINK)
-else
-# Create dependency so we build fdlibm
-jsmath.o: $(FDLIBM_LIBRARY) Makefile.in
endif
--- js/Makefile.in Sun Mar 23 14:36:00 2003
+++ js/Makefile.in Thu Aug 4 23:08:06 2005
@@ -46,5 +46,5 @@
#
-DIRS = src/fdlibm src
+DIRS = src
include $(topsrcdir)/config/rules.mk

View File

@ -1,11 +0,0 @@
--- modules/plugin/base/public/nptypes.h.orig Sun Sep 5 18:56:55 2004
+++ modules/plugin/base/public/nptypes.h Thu Oct 21 19:29:29 2004
@@ -73,7 +73,7 @@
#if defined(bsdi) || defined(OPENBSD)
typedef u_int32_t uint32_t;
- #if defined(bsdi)
+ #if defined(bsdi) || defined(__FreeBSD__)
#if !defined(__cplusplus)
typedef int bool;
#endif

View File

@ -1,12 +0,0 @@
--- widget/src/gtk2/mozdrawingarea.c.orig Tue Apr 30 12:29:00 2002
+++ widget/src/gtk2/mozdrawingarea.c Thu Aug 18 22:27:27 2005
@@ -168,7 +168,9 @@
drawingarea = MOZ_DRAWINGAREA(object);
+ gdk_window_set_user_data(drawingarea->inner_window, NULL);
gdk_window_destroy(drawingarea->inner_window);
+ gdk_window_set_user_data(drawingarea->clip_window, NULL);
gdk_window_destroy(drawingarea->clip_window);
(* parent_class->finalize) (object);

View File

@ -1,11 +0,0 @@
--- nsprpub/pr/include/md/_pth.h.orig Sun Jan 16 16:09:10 2005
+++ nsprpub/pr/include/md/_pth.h Sun Jan 16 16:10:06 2005
@@ -84,7 +84,7 @@
#define _PT_PTHREAD_MUTEXATTR_DESTROY(x) /* */
#define _PT_PTHREAD_MUTEX_INIT(m, a) (memset(&(m), 0, sizeof(m)), \
pthread_mutex_init(&(m), NULL))
-#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (EBUSY == pthread_mutex_trylock(&(m)))
+#define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (0 != pthread_mutex_trylock(&(m)))
#define _PT_PTHREAD_CONDATTR_INIT(x) 0
#define _PT_PTHREAD_CONDATTR_DESTROY(x) /* */
#define _PT_PTHREAD_COND_INIT(m, a) (memset(&(m), 0, sizeof(m)), \

View File

@ -1,11 +0,0 @@
--- nsprpub/pr/include/md/_freebsd.cfg.orig Sun Jan 16 16:13:08 2005
+++ nsprpub/pr/include/md/_freebsd.cfg Sun Jan 16 16:16:34 2005
@@ -141,7 +141,7 @@
#define PR_ALIGN_OF_DOUBLE 8
#define PR_ALIGN_OF_POINTER 8
-#elif defined(__sparc__)
+#elif defined(__sparc64__)
#undef IS_LITTLE_ENDIAN
#define IS_BIG_ENDIAN 1

View File

@ -0,0 +1,156 @@
--- Makefile.in Tue Sep 14 16:59:40 2004
+++ Makefile.in Tue Aug 2 08:26:55 2005
@@ -102,6 +102,4 @@
# tier 1 - 3rd party individual libraries
#
-tier_1_dirs += dbm
-
ifndef MOZ_NATIVE_JPEG
tier_1_dirs += jpeg
--- security/manager/ssl/src/Makefile.in Wed Jan 7 08:36:51 2004
+++ security/manager/ssl/src/Makefile.in Tue Aug 2 09:13:07 2005
@@ -117,5 +117,5 @@
# Use local includes because they are inserted before INCLUDES
# so that Mozilla's nss.h is used, not glibc's
-LOCAL_INCLUDES += -I$(DIST)/public/nss \
+LOCAL_INCLUDES += -I$(LOCALBASE)/include/nss/nss \
$(NULL)
--- config/config.mk Tue Oct 12 00:11:11 2004
+++ config/config.mk Tue Aug 2 09:19:18 2005
@@ -170,5 +170,4 @@
NSS_LIBS = \
$(LIBS_DIR) \
- $(DIST)/lib/$(LIB_PREFIX)crmf.$(LIB_SUFFIX) \
-lsmime3 \
-lssl3 \
@@ -189,11 +188,5 @@
endif
-NSS_DEP_LIBS = \
- $(DIST)/lib/$(LIB_PREFIX)crmf.$(LIB_SUFFIX) \
- $(DIST)/lib/$(DLL_PREFIX)smime3$(DLL_SUFFIX) \
- $(DIST)/lib/$(DLL_PREFIX)ssl3$(DLL_SUFFIX) \
- $(DIST)/lib/$(DLL_PREFIX)nss3$(DLL_SUFFIX) \
- $(DIST)/lib/$(DLL_PREFIX)softokn3$(DLL_SUFFIX) \
- $(NULL)
+NSS_DEP_LIBS =
MOZ_UNICHARUTIL_LIBS = $(DIST)/lib/$(LIB_PREFIX)unicharutil_s.$(LIB_SUFFIX)
--- security/manager/ssl/src/nsNSSComponent.cpp Thu Apr 22 15:48:30 2004
+++ security/manager/ssl/src/nsNSSComponent.cpp Thu Aug 4 16:44:27 2005
@@ -88,4 +88,8 @@
}
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <errno.h>
+
#ifdef PR_LOGGING
PRLogModuleInfo* gPIPNSSLog = nsnull;
@@ -406,4 +410,5 @@
const char *possible_ckbi_locations[] = {
NS_GRE_DIR,
+ NS_UNIX_LIB_DIR,
NS_XPCOM_CURRENT_PROCESS_DIR
};
@@ -419,5 +424,5 @@
}
- char *fullModuleName = nsnull;
+ char *fullModuleName;
#ifdef XP_MAC
nsCAutoString nativePath;
@@ -431,4 +436,12 @@
fullModuleName = PR_GetLibraryName(processDir.get(), "nssckbi");
#endif
+ if (fullModuleName == nsnull)
+ continue;
+ struct stat sb;
+ if (stat(fullModuleName, &sb)) {
+ if (errno != ENOENT)
+ perror(fullModuleName);
+ continue;
+ }
/* If a module exists with the same name, delete it. */
NS_ConvertUCS2toUTF8 modNameUTF8(modName);
--- security/manager/Makefile.in.orig Wed Nov 2 16:50:36 2005
+++ security/manager/Makefile.in Fri Nov 11 02:14:27 2005
@@ -52,18 +52,9 @@
SSL3_LIB \
SOFTOKEN3_LIB \
SOFTOKEN3_CHK \
- LOADABLE_ROOT_MODULE \
HAVE_FREEBL_MODULES \
$(NULL)
-LOADABLE_ROOT_MODULE = $(DLL_PREFIX)nssckbi$(DLL_SUFFIX)
-
-NSS3_LIB = $(DLL_PREFIX)nss3$(DLL_SUFFIX)
-SMIME3_LIB = $(DLL_PREFIX)smime3$(DLL_SUFFIX)
-SSL3_LIB = $(DLL_PREFIX)ssl3$(DLL_SUFFIX)
-SOFTOKEN3_LIB = $(DLL_PREFIX)softokn3$(DLL_SUFFIX)
-SOFTOKEN3_CHK = $(DLL_PREFIX)softokn3.chk
-
ifneq (,$(filter SunOS HP-UX,$(OS_ARCH)))
ifeq (,$(filter i86pc ia64,$(OS_TEST)))
ifndef HAVE_64BIT_OS
@@ -151,11 +142,6 @@
.nss.cleaned: .nss.checkout
$(MAKE) -C $(topsrcdir)/security/coreconf $(DEFAULT_GMAKE_FLAGS) clean
- $(MAKE) -C $(topsrcdir)/security/nss/lib $(DEFAULT_GMAKE_FLAGS) clean
-ifndef SKIP_CHK
- $(MAKE) -C $(topsrcdir)/security/nss/cmd/lib $(DEFAULT_GMAKE_FLAGS) clean
- $(MAKE) -C $(topsrcdir)/security/nss/cmd/shlibsign $(DEFAULT_GMAKE_FLAGS) clean
-endif
touch $@
.nss.checkout:
@@ -176,10 +162,10 @@
else
cd $(DIST)/lib; cp -f $(LIB_PREFIX)mozdbm_s.$(LIB_SUFFIX) $(LIB_PREFIX)dbm.$(LIB_SUFFIX); $(RANLIB) $(LIB_PREFIX)dbm.$(LIB_SUFFIX)
endif
- $(MAKE) -C $(topsrcdir)/security/nss/lib $(DEFAULT_GMAKE_FLAGS)
+# $(MAKE) -C $(topsrcdir)/security/nss/lib $(DEFAULT_GMAKE_FLAGS)
ifndef SKIP_CHK
- $(MAKE) -C $(topsrcdir)/security/nss/cmd/lib $(DEFAULT_GMAKE_FLAGS)
- $(MAKE) -C $(topsrcdir)/security/nss/cmd/shlibsign $(DEFAULT_GMAKE_FLAGS)
+# $(MAKE) -C $(topsrcdir)/security/nss/cmd/lib $(DEFAULT_GMAKE_FLAGS)
+# $(MAKE) -C $(topsrcdir)/security/nss/cmd/shlibsign $(DEFAULT_GMAKE_FLAGS)
endif
$(INSTALL) -m 755 $(DIST)/lib/$(LOADABLE_ROOT_MODULE) $(DIST)/bin
ifndef SKIP_CHK
@@ -203,20 +189,6 @@
endif
install::
- $(SYSINSTALL) -m 755 $(DIST)/lib/$(LOADABLE_ROOT_MODULE) $(DESTDIR)$(mozappdir)
-ifndef SKIP_CHK
- $(SYSINSTALL) -m 644 $(DIST)/lib/$(SOFTOKEN3_CHK) $(DESTDIR)$(mozappdir)
-endif
- $(SYSINSTALL) -m 755 $(DIST)/lib/$(SOFTOKEN3_LIB) $(DESTDIR)$(mozappdir)
- $(SYSINSTALL) -m 755 $(DIST)/lib/$(NSS3_LIB) $(DESTDIR)$(mozappdir)
- $(SYSINSTALL) -m 755 $(DIST)/lib/$(SSL3_LIB) $(DESTDIR)$(mozappdir)
- $(SYSINSTALL) -m 755 $(DIST)/lib/$(SMIME3_LIB) $(DESTDIR)$(mozappdir)
-ifdef HAVE_FREEBL_MODULES
- $(SYSINSTALL) -m 644 $(DIST)/lib/$(FREEBL_PURE32_CHK) $(DESTDIR)$(mozappdir)
- $(SYSINSTALL) -m 755 $(DIST)/lib/$(FREEBL_PURE32_MODULE) $(DESTDIR)$(mozappdir)
- $(SYSINSTALL) -m 644 $(DIST)/lib/$(FREEBL_HYBRID_CHK) $(DESTDIR)$(mozappdir)
- $(SYSINSTALL) -m 755 $(DIST)/lib/$(FREEBL_HYBRID_MODULE) $(DESTDIR)$(mozappdir)
-endif
$(MAKE) -C boot $@
$(MAKE) -C ssl $@
$(MAKE) -C locales $@
@@ -232,11 +204,6 @@
$(MAKE) -C pki $@
endif
$(MAKE) -C $(topsrcdir)/security/coreconf $(DEFAULT_GMAKE_FLAGS) clean
- $(MAKE) -C $(topsrcdir)/security/nss/lib $(DEFAULT_GMAKE_FLAGS) clean
-ifndef SKIP_CHK
- $(MAKE) -C $(topsrcdir)/security/nss/cmd/lib $(DEFAULT_GMAKE_FLAGS) clean
- $(MAKE) -C $(topsrcdir)/security/nss/cmd/shlibsign $(DEFAULT_GMAKE_FLAGS) clean
-endif
echo-requires-recursive::
$(MAKE) -C boot $@

View File

@ -1,430 +0,0 @@
--- xpfe/bootstrap/mozilla.in.orig Sat Apr 17 18:51:11 2004
+++ xpfe/bootstrap/mozilla.in Tue Mar 1 00:12:20 2005
@@ -49,139 +49,319 @@
## the mozilla-bin binary to work.
##
+#
+# MOZ_PIS, "Mozilla Plugable Init Scripts"
+# MOZ_PIS_ is the name space used
+# These variables and there meaning are specified in
+# mozilla/xpfe/bootstrap/init.d/README
moz_pis_startstop_scripts()
{
- MOZ_USER_DIR="%MOZ_USER_DIR%"
- # MOZ_PIS_ is the name space for "Mozilla Plugable Init Scripts"
- # These variables and there meaning are specified in
- # mozilla/xpfe/bootstrap/init.d/README
- MOZ_PIS_API=2
- MOZ_PIS_MOZBINDIR="${dist_bin}"
- MOZ_PIS_SESSION_PID="$$"
- MOZ_PIS_USER_DIR="${MOZ_USER_DIR}"
- export MOZ_PIS_API MOZ_PIS_MOZBINDIR MOZ_PIS_SESSION_PID MOZ_PIS_USER_DIR
-
- case "${1}" in
- "start")
- for curr_pis in "${dist_bin}/init.d"/S* "${HOME}/${MOZ_USER_DIR}/init.d"/S* ; do
- if [ -x "${curr_pis}" ] ; then
- case "${curr_pis}" in
- *.sh) . "${curr_pis}" ;;
- *) "${curr_pis}" "start" ;;
- esac
- fi
- done
- ;;
- "stop")
- for curr_pis in "${HOME}/${MOZ_USER_DIR}/init.d"/K* "${dist_bin}/init.d"/K* ; do
- if [ -x "${curr_pis}" ] ; then
- case "${curr_pis}" in
- *.sh) . "${curr_pis}" ;;
- *) "${curr_pis}" "stop" ;;
- esac
- fi
- done
- ;;
- *)
- echo 1>&2 "$0: Internal error in moz_pis_startstop_scripts."
- exit 1
- ;;
- esac
+ MOZ_PIS_API=2
+ MOZ_PIS_MOZBINDIR="${dist_bin}"
+ MOZ_PIS_SESSION_PID="$$"
+ MOZ_PIS_USER_DIR="${MOZ_USER_DIR}"
+ export MOZ_PIS_API MOZ_PIS_MOZBINDIR MOZ_PIS_SESSION_PID MOZ_PIS_USER_DIR
+
+ case "${1}" in
+ "start")
+ for curr_pis in "${MOZ_PIS_MOZBINDIR}/init.d"/S* \
+ "${HOME}/${MOZ_PIS_USER_DIR}/init.d"/S*; do
+ if [ -x "${curr_pis}" ]; then
+ case "${curr_pis}" in
+ *.sh)
+ . "${curr_pis}"
+ ;;
+ *)
+ ${curr_pis} "start"
+ ;;
+ esac
+ fi
+ done
+ ;;
+ "stop")
+ for curr_pis in "${MOZ_PIS_MOZBINDIR}/init.d"/K* \
+ "${HOME}/${MOZ_PIS_USER_DIR}/init.d"/K*; do
+ if [ -x "${curr_pis}" ]; then
+ case "${curr_pis}" in
+ *.sh)
+ . "${curr_pis}"
+ ;;
+ *)
+ ${curr_pis} "stop"
+ ;;
+ esac
+ fi
+ done
+ ;;
+ *)
+ echo "$0: Internal error in moz_pis_startstop_scripts." 1>&2
+ exit 1
+ ;;
+ esac
}
#uncomment for debugging
#set -x
-moz_libdir=%MOZAPPDIR%
-MRE_HOME=%MREDIR%
+#
+# variables
+#
+location="new-tab"
+#MOZILLA_UILOCALE="en-US"
+#MOZILLA_UIREGION="US"
-# honor MOZILLA_FIVE_HOME if it's there
-if [ -n "$MOZILLA_FIVE_HOME" ] ; then
- dist_bin="$MOZILLA_FIVE_HOME"
-else
- # Use run-mozilla.sh in the current dir if it exists
- # If not, then start resolving symlinks until we find run-mozilla.sh
- found=0
- progname=$0
- curdir=`dirname "$progname"`
- run_moz="$curdir/run-mozilla.sh"
- if test -x "$run_moz"; then
- dist_bin=$curdir
+#
+# working definitions
+#
+MOZ_USER_DIR="%MOZ_USER_DIR%"
+moz_libdir="%MOZAPPDIR%"
+MRE_HOME="%MREDIR%"
+
+debugging= # set the debugging level
+use_openFile="yes" # use openFile() for file/dir
+here=`pwd`
+
+if [ ! -d "${MRE_HOME}" ]; then
+ # use moz_libdir as MRE_HOME
+ MRE_HOME="${moz_libdir}"
+fi
+export MRE_HOME
+
+# Use run-mozilla.sh in the current dir if it exists
+# If not, then start resolving symlinks until we find run-mozilla.sh
+found=0
+progname="$0"
+curdir=`dirname "$progname"`
+progbase=`basename "$progname"`
+run_moz="$curdir/run-mozilla.sh"
+# mozilla must obey MOZILLA_FIVE_HOME
+if [ -n "$MOZILLA_FIVE_HOME" -a -d "$MOZILLA_FIVE_HOME" -a \
+ -x "$MOZILLA_FIVE_HOME/run-mozilla.sh" ]; then
+ curdir="$MOZILLA_FIVE_HOME"
+ run_moz="$curdir/run-mozilla.sh"
+ dist_bin="$curdir"
found=1
- else
- here=`/bin/pwd`
- while [ -h "$progname" ]; do
- bn=`basename "$progname"`
- cd `dirname "$progname"`
- progname=`/bin/ls -l "$bn" |sed -e 's/^.* -> //' `
- if [ ! -x "$progname" ]; then
- break
- fi
- curdir=`dirname "$progname"`
- run_moz="$curdir/run-mozilla.sh"
- if [ -x "$run_moz" ]; then
- cd "$curdir"
- dist_bin=`pwd`
- found=1
- break
- fi
+elif [ -x "$run_moz" ]; then
+ dist_bin="$curdir"
+ found=1
+else
+ while [ -h "${progname}" ]; do
+ bn=`basename "${progname}"`
+ cd `dirname "${progname}"`
+ progname=`ls -l "${bn}" | sed -e 's/^.* -> //'`
+ if [ ! -x "$progname" ]; then
+ break
+ fi
+ curdir=`dirname "${progname}"`
+ run_moz="${curdir}/run-mozilla.sh"
+ if [ -x "${run_moz}" ]; then
+ cd "$curdir"
+ dist_bin=`pwd`
+ run_moz="${dist_bin}/run-mozilla.sh"
+ found=1
+ break
+ fi
done
- cd "$here"
- fi
- if [ $found = 0 ]; then
+ cd "${here}"
+fi
+if [ $found = 0 ]; then
# Check default compile-time libdir
- if [ -x "$moz_libdir/run-mozilla.sh" ]; then
- dist_bin=$moz_libdir
- else
- echo "Cannot find mozilla runtime directory. Exiting."
- exit 1
- fi
- fi
+ if [ -x "${moz_libdir}/run-mozilla.sh" ]; then
+ dist_bin="$moz_libdir"
+ run_moz="${dist_bin}/run-mozilla.sh"
+ else
+ echo "$0: Cannot find mozilla runtime directory. Exiting." 1>&2
+ exit 1
+ fi
fi
-script_args=""
-moreargs=""
-debugging=0
-MOZILLA_BIN="%MOZILLA-BIN%"
-
+MOZILLA_BIN="${progbase}-bin"
if [ "$OSTYPE" = "beos" ]; then
- mimeset -F $MOZILLA_BIN
+ mimeset -F "$MOZILLA_BIN"
fi
+# test for binary apps in ${dist_bin}
+if [ -x "${dist_bin}/${MOZILLA_BIN}" ]; then
+ MOZILLA_BIN="${dist_bin}/${progbase}-bin"
+else
+ echo "$0: Cannot find mozilla binary executable. Exiting." 1>&2
+ exit 1
+fi
+if [ -x "${dist_bin}/mozilla-xremote-client" ]; then
+ MOZ_CLIENT_PROGRAM="${dist_bin}/mozilla-xremote-client -a ${progbase}"
+else
+ MOZ_CLIENT_PROGRAM="${MOZILLA_BIN} -remote -a ${progbase}"
+fi
+
+# guest a default remote command
+_remote_cmd="xfeDoCommand(openBrowser)"
+
+# parse options
+script_args= # null
+moreargs= # null
+target= # null
+ALREADY_RUNNING="test"
while [ $# -gt 0 ]
do
- case "$1" in
- -p | -pure)
- MOZILLA_BIN="%MOZILLA-BIN%.pure"
- shift
- ;;
- -g | --debug)
- script_args="$script_args -g"
- debugging=1
- shift
- ;;
- -d | --debugger)
- script_args="$script_args -d $2"
- shift 2
- ;;
- *)
- moreargs="$moreargs \"$1\""
- shift 1
- ;;
- esac
+ if [ -n "${target}" ]; then
+ # well, this can't be the target if not last
+ moreargs="${moreargs} \"${target}\""
+ target= # null
+ fi
+ case "$1" in
+ # preserve [pP] for profile
+ --pure | -pure)
+ MOZILLA_BIN="${MOZILLA_BIN}.pure"
+ shift
+ ;;
+ -g | --debug)
+ script_args="${script_args} -g"
+ debugging=1
+ shift
+ ;;
+ -d | --debugger)
+ if [ -n "$2" ]; then
+ script_args="${script_args} -d $2"
+ shift 2
+ else
+ "$0: ERROR, $1 needs an argument. Exiting" 1>&2
+ exit 1
+ fi
+ ;;
+ -[Uu][Ii][Ll]ocale)
+ if [ -n "$2" ]; then
+ uilocale="$2"
+ shift 2
+ else
+ echo "$0: ERROR, $1 needs an argument. Exiting" 1>&2
+ exit 1
+ fi
+ ;;
+ -[Uu][Ii][Rr]egion)
+ if [ -n "$2" ]; then
+ uiregion="$2"
+ shift 2
+ else
+ echo "$0: ERROR, $1 needs an argument. Exiting" 1>&2
+ exit 1
+ fi
+ ;;
+ -browser)
+ # browser is default for mozilla
+ shift
+ ;;
+ -mail)
+ _remote_cmd="xfeDoCommand(openInbox)"
+ moreargs="${moreargs} $1"
+ shift
+ ;;
+ -compose)
+ _remote_cmd="xfeDoCommand(composeMessage)"
+ moreargs="${moreargs} $1"
+ shift
+ ;;
+ -turbo | -nosplash | -quiet)
+ # use remote even with this
+ moreargs="${moreargs} $1"
+ shift
+ ;;
+ -*)
+ # don't use remote with options
+ ALREADY_RUNNING= # null
+ moreargs="${moreargs} $1"
+ shift
+ ;;
+ *)
+ target="$1"
+ shift
+ ;;
+ esac
done
-export MRE_HOME
-eval "set -- $moreargs"
+# test for a running copy of firefox
+# seems this is not needed
+#if [-n "${ALREADY_RUNNING}" ]; then
+# if [ -n "${DISPLAY}" ]; then
+# if [ -n "${debugging}" ]; then
+# echo "${run_moz} ${MOZ_CLIENT_PROGRAM} ping()"
+# ${run_moz} ${MOZ_CLIENT_PROGRAM} 'ping()' && ALREADY_RUNNING="yes"
+# else
+# ${run_moz} ${MOZ_CLIENT_PROGRAM} 'ping()' >/dev/null 2>&1 &&
+# ALREADY_RUNNING="yes"
+# fi
+# elif [ -n "${debugging}" ]; then
+# echo "$0: WARN, no DISPLAY environment" 1>&2
+# fi
+#fi
+
+# process target
+if [ -n "${target}" ]; then
+ moreargs="${moreargs} \"${target}\""
+ if [ -n "${ALREADY_RUNNING}" ]; then
+ if [ `expr "${target}" : '.*:.*'` -eq 0 ]; then
+ if [ `expr "${target}" : '/.*'` -eq 0 ]; then
+ target="${here}/${target}"
+ fi
+ if [ -r "${target}" -o -d "${target}" ]; then
+ [ -n "${use_openFile}" ] || target="file://${target}"
+ else
+ echo "$0: WARN, target: ${target} not an URI/file/dir" 1>&2
+ ALREADY_RUNNING= # null
+ fi
+ else
+ # an former URI, don't use openFile
+ use_openFile= # null
+ fi
+ fi
+fi
+
+# try remote protocol if running
+if [ -n "${ALREADY_RUNNING}" ]; then
+ if [ -n "${target}" ]; then
+ if [ -n "${use_openFile}" ]; then
+ _remote_cmd="openFile(${target})"
+ elif [ -n "${location}" ]; then
+ _remote_cmd="openURL(${target},${location})"
+ else
+ _remote_cmd="openURL(${target})"
+ fi
+ fi
+ # FIXME problems with freedesktop StartupNotify
+ if [ -n "${debugging}" ]; then
+ echo "${run_moz} ${script_args} ${MOZ_CLIENT_PROGRAM} ${_remote_cmd}"
+ fi
+ ${run_moz} ${script_args} ${MOZ_CLIENT_PROGRAM} ${_remote_cmd} && exit 0
+fi
+
+# fallback to direct invocation
+
+# UILocale, UIRegion
+if [ -z "${uilocale}" -a -n "${MOZILLA_UILOCALE}" ]; then
+ uilocale="${MOZILLA_UILOCALE}"
+fi
+if [ -z "${uiregion}" -a -n "${MOZILLA_UIREGION}" ]; then
+ uiregion="${MOZILLA_UIREGION}"
+fi
+if [ -n "${uiregion}" -a -z "${uilocale}" ]; then
+ uilocale="en-US"
+fi
+if [ -n "${uilocale}" ]; then
+ if [ -n "${uiregion}" ]; then
+ moreargs="-UIRegion ${uiregion} ${moreargs}"
+ fi
+ moreargs="-UILocale ${uilocale} ${moreargs}"
+fi
+
+# real invocation
+eval "set -- ${moreargs}"
## Start addon scripts
moz_pis_startstop_scripts "start"
-if [ $debugging = 1 ]
-then
- echo $dist_bin/run-mozilla.sh $script_args $dist_bin/$MOZILLA_BIN "$@"
+if [ -n "${debugging}" ]; then
+ echo "${run_moz} ${script_args} ${MOZILLA_BIN} $@"
fi
-"$dist_bin/run-mozilla.sh" $script_args "$dist_bin/$MOZILLA_BIN" "$@"
+${run_moz} ${script_args} ${MOZILLA_BIN} "$@"
exitcode=$?
## Stop addon scripts

View File

@ -17,8 +17,8 @@
.prologue
.save ar.pfs, r37
// allocate 4 input args, 6 local args, and 8 output args
--- xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ipf64.s.orig Sun Jul 20 00:02:02 2003
+++ xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ipf64.s Sun Jul 20 00:02:40 2003
--- xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ipf64.s.orig Tue May 24 11:30:54 2005
+++ xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ipf64.s Fri Sep 16 15:50:20 2005
@@ -6,6 +6,7 @@
// Section has executable code
.section .text, "ax","progbits"
@ -33,6 +33,6 @@
-SharedStub::
+SharedStub:
// 9 arguments, first 8 are the input arguments of previous
// function call. The last one is methodIndex, and is passed in memory
.prologue
// 10 arguments, first 8 are the input arguments of previous
// function call. The 9th one is methodIndex and the 10th is the
// pointer to the remaining input arguments. The last two arguments

View File

@ -0,0 +1,169 @@
[Desktop Entry]
Encoding=UTF-8
Name=Seamonkey Web Browser
Name[az]=Seamonkey Veb Səyyahı
Name[bg]=Интернет браузър (Seamonkey)
Name[bs]=Seamonkey web preglednik
Name[ca]=Navegador web Seamonkey
Name[cs]=Prohlížeč WWW Seamonkey
Name[cy]=Y Porwr Gwe Seamonkey
Name[da]=Seamonkey - internetbrowser
Name[de]=Seamonkey Webbrowser
Name[el]=Περιηγητής Διαδικτύου Seamonkey
Name[en_CA]=Seamonkey Web Browser
Name[en_GB]=Seamonkey Web Browser
Name[es]=Navegador Web Seamonkey
Name[et]=Seamonkey veebibrauser
Name[eu]=Seamonkey web arakatzailea
Name[fa]=مرورگر وب Seamonkey
Name[fi]=Seamonkey, WWW-selain
Name[fr]=Navigateur Web Seamonkey
Name[ga]=Brabhsálaí Lín Seamonkey
Name[he]=דפדפן Seamonkey
Name[hr]=Seamonkey Web preglednik
Name[hu]=Seamonkey webböngésző
Name[id]=Web Browser Seamonkey
Name[it]=Browser web Seamonkey
Name[ja]=Seamonkey
Name[ko]=Seamonkey
Name[li]=Seamonkey Web Browser
Name[lt]=Seamonkey web naršyklė
Name[mk]=Seamonkey Веб Прелистувач
Name[mn]=Seamonkey веб хөтөч
Name[ms]=Pelungsur Web Seamonkey
Name[nb]=Seamonkey nettleser
Name[nl]=Seamonkey webbrowser
Name[nn]=Seamonkey nettlesar
Name[no]=Seamonkey nettleser
Name[pl]=Przeglądarka WWW Seamonkey
Name[pt]=Navegador Web Seamonkey
Name[pt_BR]=Navegador Web Seamonkey
Name[ro]=Navigatorul Seamonkey
Name[sl]=Spletni brskalnik Seamonkey
Name[sq]=Seamonkey - Shfletuesi Web
Name[sv]=Webbläsaren Seamonkey
Name[tk]=Seamonkey Web Ahtarçisi
Name[tr]=Seamonkey Web Tarayıcı
Name[uk]=Переглядач web Seamonkey
Name[vi]=Trình Duyt Web Seamonkey
Name[wa]=Betchteu waibe Seamonkey
Name[zh_CN]=Seamonkey Web
Name[zh_TW]=Seamonkey
GenericName=Seamonkey Web Browser
GenericName[az]=Seamonkey Veb Səyyahı
GenericName[bg]=Интернет браузър (Seamonkey)
GenericName[bs]=Seamonkey web preglednik
GenericName[ca]=Navegador web Seamonkey
GenericName[cs]=Prohlížeč WWW Seamonkey
GenericName[cy]=Y Porwr Gwe Seamonkey
GenericName[da]=Seamonkey - internetbrowser
GenericName[de]=Seamonkey Webbrowser
GenericName[el]=Περιηγητής Διαδικτύου Seamonkey
GenericName[en_CA]=Seamonkey Web Browser
GenericName[en_GB]=Seamonkey Web Browser
GenericName[es]=Navegador Web Seamonkey
GenericName[et]=Seamonkey veebibrauser
GenericName[eu]=Seamonkey web arakatzailea
GenericName[fa]=مرورگر وب Seamonkey
GenericName[fi]=Seamonkey, WWW-selain
GenericName[fr]=Navigateur Web Seamonkey
GenericName[ga]=Brabhsálaí Lín Seamonkey
GenericName[he]=דפדפן Seamonkey
GenericName[hr]=Seamonkey Web preglednik
GenericName[hu]=Seamonkey webböngésző
GenericName[id]=Web Browser Seamonkey
GenericName[it]=Browser web Seamonkey
GenericName[ja]=Seamonkey
GenericName[ko]=Seamonkey
GenericName[li]=Seamonkey Web Browser
GenericName[lt]=Seamonkey web naršyklė
GenericName[mk]=Seamonkey Веб Прелистувач
GenericName[mn]=Seamonkey веб хөтөч
GenericName[ms]=Pelungsur Web Seamonkey
GenericName[nb]=Seamonkey nettleser
GenericName[nl]=Seamonkey webbrowser
GenericName[nn]=Seamonkey nettlesar
GenericName[no]=Seamonkey nettleser
GenericName[pl]=Przeglądarka WWW Seamonkey
GenericName[pt]=Navegador Web Seamonkey
GenericName[pt_BR]=Navegador Web Seamonkey
GenericName[ro]=Navigatorul Seamonkey
GenericName[sl]=Spletni brskalnik Seamonkey
GenericName[sq]=Seamonkey - Shfletuesi Web
GenericName[sv]=Webbläsaren Seamonkey
GenericName[tk]=Seamonkey Web Ahtarçisi
GenericName[tr]=Seamonkey Web Tarayıcı
GenericName[uk]=Переглядач web Seamonkey
GenericName[vi]=Trình Duyt Web Seamonkey
GenericName[wa]=Betchteu waibe Seamonkey
GenericName[zh_CN]=Seamonkey Web
GenericName[zh_TW]=Seamonkey
Comment=Browse the web
Comment[ar]=تصفح الانترنت
Comment[az]=Vebi gəzin
Comment[be]=Вандраваць па павуціньню
Comment[bg]=Сърфиране в интернет
Comment[bn]=
Comment[bs]=Pregledaj na internetu
Comment[ca]=Navegueu per la web
Comment[cs]=Prohlížet WWW
Comment[cy]=Pori'r we
Comment[da]=Benyt internettet
Comment[de]=Im Web surfen
Comment[el]=Περιήγηση στον παγκόσμιο ιστό
Comment[en_CA]=Browse the web
Comment[en_GB]=Browse the web
Comment[es]=Navegar por la web
Comment[et]=Sirvi veebi
Comment[eu]=Arakatu web-a
Comment[fa]=مرور وب
Comment[fi]=Selaa WWW:tä
Comment[fr]=Naviguer sur Internet
Comment[ga]=Brabhsáil an Líon
Comment[gu]=
Comment[he]=גלוש ברשת
Comment[hi]=
Comment[hr]=Pregledaj Web
Comment[hu]=A világháló böngészése
Comment[id]=Jelajah web
Comment[it]=Esplora il web
Comment[ja]=
Comment[ko]=
Comment[li]=Blajere op internet
Comment[lt]=Naršyti internete
Comment[mk]=Прелистувајте го вебот
Comment[ml]= ി
Comment[mn]=Веб броузе хийх
Comment[ms]=Layari web
Comment[nb]=Surf på nettet
Comment[nl]=Websurfen
Comment[nn]=Surf på nettet
Comment[no]=Surf på nettet
Comment[pa]=
Comment[pl]=Przeglądanie stron WWW
Comment[pt]=Navegar na web
Comment[pt_BR]=Navegar na web
Comment[ro]=Navigare Internet
Comment[ru]=Программа для просмотра веб-страниц
Comment[sk]=Prehliadať internet
Comment[sl]=Brskaj po spletu
Comment[sq]=Eksploro web-in
Comment[sr]=Прегледај веб
Comment[sr@Latn]=Pregledaj veb
Comment[sv]=Surfa på nätet
Comment[ta]=ி
Comment[th]= Seamonkey
Comment[tk]=Webi Ahtar
Comment[tr]=Web'e Gözat
Comment[uk]=Програма перегляду web-сторінок
Comment[vi]=Duyt web
Comment[wa]=Naivyî avå les waibes
Comment[zh_CN]= Web
Comment[zh_TW]=
Exec=seamonkey %U
StartupNotify=true
Terminal=false
Type=Application
Icon=%%PREFIX%%/lib/seamonkey/chrome/icons/default/default.xpm
Categories=Application;Network;
MimeType=text/html;text/xml;application/xhtml+xml;

View File

@ -0,0 +1,23 @@
#!/bin/sh
#
# $FreeBSD$
# $MCom: ports/www/seamonkey/pkg-deinstall.in,v 1.9 2005/11/11 04:11:02 ahze Exp $
#
# Date created: Mon Nov 29, 2003
# Whom: Thierry Thomas (<thierry@pompo.net>)
# Fix the chrome registry.
umask 022
PATH=/bin:/usr/bin
[ "x$1" = "x" ] && exit 1
[ "x$2" != "xDEINSTALL" ] && exit 0
MOZDIR=%%MOZDIR%%
rm -rf ${MOZDIR}/chrome/overlayinfo
rm -f ${MOZDIR}/chrome/*.rdf
rm -f ${MOZDIR}/component.reg
rm -f ${MOZDIR}/components/*.dat
exit 0

View File

@ -1,4 +1,4 @@
This is the current release of the Mozilla open source web browser. It should
This is the current release of the Seamonkey open source web browser. It should
be fully compliant with all W3C standards, including HTML, CSS, XML, XSL,
JavaScript, MathML, SSL encryption, SVG and RDF. Also supports Java with
the use of the FreeBSD native Java plug-in.
@ -6,4 +6,4 @@ the use of the FreeBSD native Java plug-in.
This is the latest bleeding edge release. Beware that you'll probably find
bugs here, so if you value stability, try www/mozilla.
WWW: http://www.mozilla.org/
WWW: http://www.mozilla.org/projects/seamonkey/