diff options
Diffstat (limited to 'www/seamonkey')
94 files changed, 2880 insertions, 556 deletions
diff --git a/www/seamonkey/Makefile b/www/seamonkey/Makefile index 30ffa3c648a..6b90425717a 100644 --- a/www/seamonkey/Makefile +++ b/www/seamonkey/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.93 2013/04/07 20:23:48 ryoon Exp $ +# $NetBSD: Makefile,v 1.94 2013/05/23 13:25:30 ryoon Exp $ # DISTNAME= # empty -PKGNAME= seamonkey-${SM_VER} -SM_VER= 2.17 +PKGNAME= seamonkey-${SM_VER:S/b/beta/} +SM_VER= 2.18b4 #LIGHTNINGVER= 1.9 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_MOZILLA:=seamonkey/releases/${SM_VER}/source/} \ @@ -17,7 +17,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.seamonkey-project.org/ COMMENT= Full-featured gecko-based browser -WRKSRC= ${WRKDIR}/comm-release +#WRKSRC= ${WRKDIR}/comm-release +WRKSRC= ${WRKDIR}/comm-beta MOZILLA_DIR= mozilla/ PLIST_SRC+= ${PLIST_SRC_DFLT} USE_LANGUAGES+= c c++ @@ -71,6 +72,6 @@ post-install: ${DESTDIR}${PREFIX}/lib/seamonkey/extensions/. rm -rf ${WRKDIR}/extensions -.include "../../devel/xulrunner/mozilla-common.mk" +.include "../../www/firefox/mozilla-common.mk" .include "options.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/seamonkey/PLIST b/www/seamonkey/PLIST index 914ac11e2cf..25a54d6adb5 100644 --- a/www/seamonkey/PLIST +++ b/www/seamonkey/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.34 2013/04/07 20:23:49 ryoon Exp $ +@comment $NetBSD: PLIST,v 1.35 2013/05/23 13:25:30 ryoon Exp $ bin/seamonkey include/seamonkey/AbstractMediaDecoder.h include/seamonkey/AccEvent.h @@ -6,8 +6,12 @@ include/seamonkey/AnimationCommon.h include/seamonkey/AudioAvailableEventManager.h include/seamonkey/AudioChannelAgent.h include/seamonkey/AudioChannelCommon.h +include/seamonkey/AudioChannelFormat.h include/seamonkey/AudioChannelService.h include/seamonkey/AudioChannelServiceChild.h +include/seamonkey/AudioEventTimeline.h +include/seamonkey/AudioNodeEngine.h +include/seamonkey/AudioNodeStream.h include/seamonkey/AudioSampleFormat.h include/seamonkey/AudioSegment.h include/seamonkey/AudioStream.h @@ -19,12 +23,14 @@ include/seamonkey/CameraCommon.h include/seamonkey/Composer2D.h include/seamonkey/CompositorChild.h include/seamonkey/CompositorParent.h +include/seamonkey/Crypto.h include/seamonkey/CryptoTask.h include/seamonkey/DASHDecoder.h include/seamonkey/DASHReader.h include/seamonkey/DASHRepDecoder.h include/seamonkey/DASHRepReader.h include/seamonkey/DOMCameraManager.h +include/seamonkey/DOMMediaStream.h include/seamonkey/DecoderTraits.h include/seamonkey/DeviceStorage.h include/seamonkey/DictionaryHelpers.h @@ -67,6 +73,7 @@ include/seamonkey/Layers.h include/seamonkey/LayersTypes.h include/seamonkey/MailNewsTypes.h include/seamonkey/MailNewsTypes2.h +include/seamonkey/MediaBufferDecoder.h include/seamonkey/MediaCache.h include/seamonkey/MediaDecoder.h include/seamonkey/MediaDecoderOwner.h @@ -110,6 +117,7 @@ include/seamonkey/amIInstallTrigger.h include/seamonkey/amIWebInstallListener.h include/seamonkey/amIWebInstaller.h include/seamonkey/angle/ShaderLang.h +include/seamonkey/angle/khrplatform.h include/seamonkey/chromium_types.h include/seamonkey/comi18n.h include/seamonkey/cubeb/cubeb-stdint.h @@ -218,12 +226,18 @@ include/seamonkey/jpegint.h include/seamonkey/jpeglib.h include/seamonkey/js-config.h include/seamonkey/js.msg +include/seamonkey/js/Anchor.h +include/seamonkey/js/CharacterEncoding.h +include/seamonkey/js/GCAPI.h include/seamonkey/js/HashTable.h include/seamonkey/js/HeapAPI.h include/seamonkey/js/LegacyIntTypes.h include/seamonkey/js/MemoryMetrics.h +include/seamonkey/js/PropertyKey.h +include/seamonkey/js/RequiredDefines.h include/seamonkey/js/TemplateLib.h include/seamonkey/js/Utility.h +include/seamonkey/js/Value.h include/seamonkey/js/Vector.h include/seamonkey/jsalloc.h include/seamonkey/jsapi.h @@ -245,7 +259,6 @@ include/seamonkey/jsprvtd.h include/seamonkey/jspubtd.h include/seamonkey/jstypes.h include/seamonkey/jsutil.h -include/seamonkey/jsval.h include/seamonkey/jsversion.h include/seamonkey/jswrapper.h include/seamonkey/mar.h @@ -308,7 +321,7 @@ include/seamonkey/mozStorageHelper.h include/seamonkey/mozcontainer.h include/seamonkey/mozilla-config.h include/seamonkey/mozilla/AppData.h -include/seamonkey/mozilla/AppProcessPermissions.h +include/seamonkey/mozilla/AppProcessChecker.h include/seamonkey/mozilla/Assertions.h include/seamonkey/mozilla/Attributes.h include/seamonkey/mozilla/AutoRestore.h @@ -322,6 +335,7 @@ include/seamonkey/mozilla/Char16.h include/seamonkey/mozilla/CharTokenizer.h include/seamonkey/mozilla/CheckedInt.h include/seamonkey/mozilla/ClearOnShutdown.h +include/seamonkey/mozilla/Compiler.h include/seamonkey/mozilla/CondVar.h include/seamonkey/mozilla/Constants.h include/seamonkey/mozilla/DeadlockDetector.h @@ -351,6 +365,7 @@ include/seamonkey/mozilla/LookAndFeel.h include/seamonkey/mozilla/MSStdInt.h include/seamonkey/mozilla/MapsMemoryReporter.h include/seamonkey/mozilla/MathAlgorithms.h +include/seamonkey/mozilla/MemoryChecking.h include/seamonkey/mozilla/Module.h include/seamonkey/mozilla/ModuleLoader.h include/seamonkey/mozilla/ModuleUtils.h @@ -366,6 +381,7 @@ include/seamonkey/mozilla/PluginPRLibrary.h include/seamonkey/mozilla/Preferences.h include/seamonkey/mozilla/ProcessedStack.h include/seamonkey/mozilla/PublicSSL.h +include/seamonkey/mozilla/Range.h include/seamonkey/mozilla/RangedPtr.h include/seamonkey/mozilla/ReentrantMonitor.h include/seamonkey/mozilla/RefPtr.h @@ -386,6 +402,7 @@ include/seamonkey/mozilla/TelemetryHistogramEnums.h include/seamonkey/mozilla/ThreadLocal.h include/seamonkey/mozilla/TimeStamp.h include/seamonkey/mozilla/TypeTraits.h +include/seamonkey/mozilla/TypedEnum.h include/seamonkey/mozilla/Types.h include/seamonkey/mozilla/Util.h include/seamonkey/mozilla/VisualEventTracer.h @@ -435,6 +452,7 @@ include/seamonkey/mozilla/dom/AudioParam.h include/seamonkey/mozilla/dom/AudioParamBinding.h include/seamonkey/mozilla/dom/AudioSourceNode.h include/seamonkey/mozilla/dom/AudioSourceNodeBinding.h +include/seamonkey/mozilla/dom/BatteryManagerBinding.h include/seamonkey/mozilla/dom/BindingDeclarations.h include/seamonkey/mozilla/dom/BindingUtils.h include/seamonkey/mozilla/dom/BiquadFilterNode.h @@ -442,6 +460,7 @@ include/seamonkey/mozilla/dom/BiquadFilterNodeBinding.h include/seamonkey/mozilla/dom/BlobBinding.h include/seamonkey/mozilla/dom/CDATASection.h include/seamonkey/mozilla/dom/CDATASectionBinding.h +include/seamonkey/mozilla/dom/CFStateChangeEventBinding.h include/seamonkey/mozilla/dom/CSS.h include/seamonkey/mozilla/dom/CSS2PropertiesBinding.h include/seamonkey/mozilla/dom/CSSBinding.h @@ -451,6 +470,8 @@ include/seamonkey/mozilla/dom/CSSValue.h include/seamonkey/mozilla/dom/CSSValueBinding.h include/seamonkey/mozilla/dom/CSSValueListBinding.h include/seamonkey/mozilla/dom/CallbackFunction.h +include/seamonkey/mozilla/dom/CallbackInterface.h +include/seamonkey/mozilla/dom/CallbackObject.h include/seamonkey/mozilla/dom/CanvasRenderingContext2D.h include/seamonkey/mozilla/dom/CanvasRenderingContext2DBinding.h include/seamonkey/mozilla/dom/CanvasUtils.h @@ -464,6 +485,7 @@ include/seamonkey/mozilla/dom/ContentParent.h include/seamonkey/mozilla/dom/ContentProcess.h include/seamonkey/mozilla/dom/CrashReporterChild.h include/seamonkey/mozilla/dom/CrashReporterParent.h +include/seamonkey/mozilla/dom/DOMCursor.h include/seamonkey/mozilla/dom/DOMError.h include/seamonkey/mozilla/dom/DOMImplementation.h include/seamonkey/mozilla/dom/DOMImplementationBinding.h @@ -483,10 +505,12 @@ include/seamonkey/mozilla/dom/DocumentFragment.h include/seamonkey/mozilla/dom/DocumentFragmentBinding.h include/seamonkey/mozilla/dom/DocumentType.h include/seamonkey/mozilla/dom/DocumentTypeBinding.h +include/seamonkey/mozilla/dom/DummyBindingBinding.h include/seamonkey/mozilla/dom/DynamicsCompressorNode.h include/seamonkey/mozilla/dom/DynamicsCompressorNodeBinding.h include/seamonkey/mozilla/dom/Element.h include/seamonkey/mozilla/dom/ElementBinding.h +include/seamonkey/mozilla/dom/EnableWebAudioCheck.h include/seamonkey/mozilla/dom/EncodingUtils.h include/seamonkey/mozilla/dom/Errors.msg include/seamonkey/mozilla/dom/EventHandlerBinding.h @@ -509,41 +533,88 @@ include/seamonkey/mozilla/dom/GainNode.h include/seamonkey/mozilla/dom/GainNodeBinding.h include/seamonkey/mozilla/dom/HTMLAnchorElement.h include/seamonkey/mozilla/dom/HTMLAnchorElementBinding.h +include/seamonkey/mozilla/dom/HTMLAreaElement.h +include/seamonkey/mozilla/dom/HTMLAreaElementBinding.h +include/seamonkey/mozilla/dom/HTMLBRElement.h +include/seamonkey/mozilla/dom/HTMLBRElementBinding.h +include/seamonkey/mozilla/dom/HTMLBaseElementBinding.h include/seamonkey/mozilla/dom/HTMLBodyElement.h include/seamonkey/mozilla/dom/HTMLBodyElementBinding.h +include/seamonkey/mozilla/dom/HTMLButtonElement.h +include/seamonkey/mozilla/dom/HTMLButtonElementBinding.h include/seamonkey/mozilla/dom/HTMLCanvasElement.h include/seamonkey/mozilla/dom/HTMLCollectionBinding.h include/seamonkey/mozilla/dom/HTMLDListElementBinding.h include/seamonkey/mozilla/dom/HTMLDataListElement.h include/seamonkey/mozilla/dom/HTMLDataListElementBinding.h +include/seamonkey/mozilla/dom/HTMLDirectoryElementBinding.h include/seamonkey/mozilla/dom/HTMLDivElement.h include/seamonkey/mozilla/dom/HTMLDivElementBinding.h include/seamonkey/mozilla/dom/HTMLDocumentBinding.h include/seamonkey/mozilla/dom/HTMLElementBinding.h +include/seamonkey/mozilla/dom/HTMLFieldSetElement.h +include/seamonkey/mozilla/dom/HTMLFieldSetElementBinding.h include/seamonkey/mozilla/dom/HTMLFontElement.h include/seamonkey/mozilla/dom/HTMLFontElementBinding.h +include/seamonkey/mozilla/dom/HTMLFrameElement.h +include/seamonkey/mozilla/dom/HTMLFrameElementBinding.h include/seamonkey/mozilla/dom/HTMLFrameSetElement.h include/seamonkey/mozilla/dom/HTMLFrameSetElementBinding.h +include/seamonkey/mozilla/dom/HTMLHRElement.h +include/seamonkey/mozilla/dom/HTMLHRElementBinding.h +include/seamonkey/mozilla/dom/HTMLHeadElementBinding.h include/seamonkey/mozilla/dom/HTMLHeadingElement.h include/seamonkey/mozilla/dom/HTMLHeadingElementBinding.h +include/seamonkey/mozilla/dom/HTMLHtmlElementBinding.h include/seamonkey/mozilla/dom/HTMLImageElement.h include/seamonkey/mozilla/dom/HTMLImageElementBinding.h include/seamonkey/mozilla/dom/HTMLLIElement.h include/seamonkey/mozilla/dom/HTMLLIElementBinding.h include/seamonkey/mozilla/dom/HTMLLabelElement.h include/seamonkey/mozilla/dom/HTMLLabelElementBinding.h +include/seamonkey/mozilla/dom/HTMLLegendElement.h +include/seamonkey/mozilla/dom/HTMLLegendElementBinding.h +include/seamonkey/mozilla/dom/HTMLLinkElement.h +include/seamonkey/mozilla/dom/HTMLLinkElementBinding.h +include/seamonkey/mozilla/dom/HTMLMapElement.h +include/seamonkey/mozilla/dom/HTMLMapElementBinding.h +include/seamonkey/mozilla/dom/HTMLMenuElement.h +include/seamonkey/mozilla/dom/HTMLMenuElementBinding.h +include/seamonkey/mozilla/dom/HTMLMenuItemElement.h +include/seamonkey/mozilla/dom/HTMLMenuItemElementBinding.h +include/seamonkey/mozilla/dom/HTMLMetaElement.h +include/seamonkey/mozilla/dom/HTMLMetaElementBinding.h +include/seamonkey/mozilla/dom/HTMLMeterElement.h +include/seamonkey/mozilla/dom/HTMLMeterElementBinding.h +include/seamonkey/mozilla/dom/HTMLModElement.h +include/seamonkey/mozilla/dom/HTMLModElementBinding.h include/seamonkey/mozilla/dom/HTMLOListElementBinding.h +include/seamonkey/mozilla/dom/HTMLOptGroupElement.h +include/seamonkey/mozilla/dom/HTMLOptGroupElementBinding.h +include/seamonkey/mozilla/dom/HTMLOptionElement.h +include/seamonkey/mozilla/dom/HTMLOptionElementBinding.h include/seamonkey/mozilla/dom/HTMLOptionsCollectionBinding.h +include/seamonkey/mozilla/dom/HTMLOutputElement.h +include/seamonkey/mozilla/dom/HTMLOutputElementBinding.h include/seamonkey/mozilla/dom/HTMLParagraphElement.h include/seamonkey/mozilla/dom/HTMLParagraphElementBinding.h +include/seamonkey/mozilla/dom/HTMLParamElementBinding.h include/seamonkey/mozilla/dom/HTMLPreElement.h include/seamonkey/mozilla/dom/HTMLPreElementBinding.h +include/seamonkey/mozilla/dom/HTMLProgressElement.h +include/seamonkey/mozilla/dom/HTMLProgressElementBinding.h include/seamonkey/mozilla/dom/HTMLPropertiesCollectionBinding.h +include/seamonkey/mozilla/dom/HTMLQuoteElementBinding.h include/seamonkey/mozilla/dom/HTMLScriptElement.h include/seamonkey/mozilla/dom/HTMLScriptElementBinding.h +include/seamonkey/mozilla/dom/HTMLSharedElement.h include/seamonkey/mozilla/dom/HTMLSharedListElement.h +include/seamonkey/mozilla/dom/HTMLSourceElement.h +include/seamonkey/mozilla/dom/HTMLSourceElementBinding.h include/seamonkey/mozilla/dom/HTMLSpanElement.h include/seamonkey/mozilla/dom/HTMLSpanElementBinding.h +include/seamonkey/mozilla/dom/HTMLStyleElement.h +include/seamonkey/mozilla/dom/HTMLStyleElementBinding.h include/seamonkey/mozilla/dom/HTMLTableCaptionElement.h include/seamonkey/mozilla/dom/HTMLTableCaptionElementBinding.h include/seamonkey/mozilla/dom/HTMLTableCellElement.h @@ -563,7 +634,12 @@ include/seamonkey/mozilla/dom/HTMLUnknownElement.h include/seamonkey/mozilla/dom/ImageData.h include/seamonkey/mozilla/dom/ImageDataBinding.h include/seamonkey/mozilla/dom/Link.h +include/seamonkey/mozilla/dom/LinkStyleBinding.h +include/seamonkey/mozilla/dom/LocalMediaStreamBinding.h include/seamonkey/mozilla/dom/LocationBinding.h +include/seamonkey/mozilla/dom/MediaError.h +include/seamonkey/mozilla/dom/MediaErrorBinding.h +include/seamonkey/mozilla/dom/MediaStreamBinding.h include/seamonkey/mozilla/dom/MutationObserverBinding.h include/seamonkey/mozilla/dom/NodeBinding.h include/seamonkey/mozilla/dom/NodeFilterBinding.h @@ -583,8 +659,11 @@ include/seamonkey/mozilla/dom/ProcessingInstruction.h include/seamonkey/mozilla/dom/ProcessingInstructionBinding.h include/seamonkey/mozilla/dom/PrototypeList.h include/seamonkey/mozilla/dom/RGBColorBinding.h +include/seamonkey/mozilla/dom/RTCConfigurationBinding.h include/seamonkey/mozilla/dom/RectBinding.h include/seamonkey/mozilla/dom/RegisterBindings.h +include/seamonkey/mozilla/dom/SVGAElement.h +include/seamonkey/mozilla/dom/SVGAElementBinding.h include/seamonkey/mozilla/dom/SVGAltGlyphElement.h include/seamonkey/mozilla/dom/SVGAltGlyphElementBinding.h include/seamonkey/mozilla/dom/SVGAngle.h @@ -599,8 +678,11 @@ include/seamonkey/mozilla/dom/SVGAnimatedAngle.h include/seamonkey/mozilla/dom/SVGAnimatedAngleBinding.h include/seamonkey/mozilla/dom/SVGAnimatedBoolean.h include/seamonkey/mozilla/dom/SVGAnimatedBooleanBinding.h +include/seamonkey/mozilla/dom/SVGAnimatedLength.h +include/seamonkey/mozilla/dom/SVGAnimatedLengthBinding.h include/seamonkey/mozilla/dom/SVGAnimatedLengthListBinding.h include/seamonkey/mozilla/dom/SVGAnimatedNumberListBinding.h +include/seamonkey/mozilla/dom/SVGAnimatedPathDataBinding.h include/seamonkey/mozilla/dom/SVGAnimatedPointsBinding.h include/seamonkey/mozilla/dom/SVGAnimatedPreserveAspectRatioBinding.h include/seamonkey/mozilla/dom/SVGAnimatedTransformListBinding.h @@ -608,6 +690,10 @@ include/seamonkey/mozilla/dom/SVGAnimationElement.h include/seamonkey/mozilla/dom/SVGAnimationElementBinding.h include/seamonkey/mozilla/dom/SVGCircleElement.h include/seamonkey/mozilla/dom/SVGCircleElementBinding.h +include/seamonkey/mozilla/dom/SVGClipPathElement.h +include/seamonkey/mozilla/dom/SVGClipPathElementBinding.h +include/seamonkey/mozilla/dom/SVGComponentTransferFunctionElement.h +include/seamonkey/mozilla/dom/SVGComponentTransferFunctionElementBinding.h include/seamonkey/mozilla/dom/SVGDefsElement.h include/seamonkey/mozilla/dom/SVGDefsElementBinding.h include/seamonkey/mozilla/dom/SVGDescElement.h @@ -615,10 +701,19 @@ include/seamonkey/mozilla/dom/SVGDescElementBinding.h include/seamonkey/mozilla/dom/SVGElementBinding.h include/seamonkey/mozilla/dom/SVGEllipseElement.h include/seamonkey/mozilla/dom/SVGEllipseElementBinding.h +include/seamonkey/mozilla/dom/SVGFEFuncAElementBinding.h +include/seamonkey/mozilla/dom/SVGFEFuncBElementBinding.h +include/seamonkey/mozilla/dom/SVGFEFuncGElementBinding.h +include/seamonkey/mozilla/dom/SVGFEFuncRElementBinding.h +include/seamonkey/mozilla/dom/SVGFilterElement.h +include/seamonkey/mozilla/dom/SVGFilterElementBinding.h +include/seamonkey/mozilla/dom/SVGFitToViewBoxBinding.h include/seamonkey/mozilla/dom/SVGForeignObjectElement.h include/seamonkey/mozilla/dom/SVGForeignObjectElementBinding.h include/seamonkey/mozilla/dom/SVGGElement.h include/seamonkey/mozilla/dom/SVGGElementBinding.h +include/seamonkey/mozilla/dom/SVGGradientElement.h +include/seamonkey/mozilla/dom/SVGGradientElementBinding.h include/seamonkey/mozilla/dom/SVGGraphicsElement.h include/seamonkey/mozilla/dom/SVGGraphicsElementBinding.h include/seamonkey/mozilla/dom/SVGImageElement.h @@ -626,16 +721,24 @@ include/seamonkey/mozilla/dom/SVGImageElementBinding.h include/seamonkey/mozilla/dom/SVGLengthListBinding.h include/seamonkey/mozilla/dom/SVGLineElement.h include/seamonkey/mozilla/dom/SVGLineElementBinding.h -include/seamonkey/mozilla/dom/SVGLocatableElement.h -include/seamonkey/mozilla/dom/SVGLocatableElementBinding.h +include/seamonkey/mozilla/dom/SVGLinearGradientElementBinding.h include/seamonkey/mozilla/dom/SVGMPathElement.h include/seamonkey/mozilla/dom/SVGMPathElementBinding.h +include/seamonkey/mozilla/dom/SVGMarkerElement.h +include/seamonkey/mozilla/dom/SVGMarkerElementBinding.h +include/seamonkey/mozilla/dom/SVGMaskElement.h +include/seamonkey/mozilla/dom/SVGMaskElementBinding.h +include/seamonkey/mozilla/dom/SVGMatrix.h include/seamonkey/mozilla/dom/SVGMatrixBinding.h include/seamonkey/mozilla/dom/SVGMetadataElement.h include/seamonkey/mozilla/dom/SVGMetadataElementBinding.h include/seamonkey/mozilla/dom/SVGNumberListBinding.h +include/seamonkey/mozilla/dom/SVGPathElement.h +include/seamonkey/mozilla/dom/SVGPathElementBinding.h include/seamonkey/mozilla/dom/SVGPathSegBinding.h include/seamonkey/mozilla/dom/SVGPathSegListBinding.h +include/seamonkey/mozilla/dom/SVGPatternElement.h +include/seamonkey/mozilla/dom/SVGPatternElementBinding.h include/seamonkey/mozilla/dom/SVGPointBinding.h include/seamonkey/mozilla/dom/SVGPointListBinding.h include/seamonkey/mozilla/dom/SVGPolygonElement.h @@ -643,8 +746,11 @@ include/seamonkey/mozilla/dom/SVGPolygonElementBinding.h include/seamonkey/mozilla/dom/SVGPolylineElement.h include/seamonkey/mozilla/dom/SVGPolylineElementBinding.h include/seamonkey/mozilla/dom/SVGPreserveAspectRatioBinding.h +include/seamonkey/mozilla/dom/SVGRadialGradientElementBinding.h include/seamonkey/mozilla/dom/SVGRectElement.h include/seamonkey/mozilla/dom/SVGRectElementBinding.h +include/seamonkey/mozilla/dom/SVGSVGElement.h +include/seamonkey/mozilla/dom/SVGSVGElementBinding.h include/seamonkey/mozilla/dom/SVGScriptElement.h include/seamonkey/mozilla/dom/SVGScriptElementBinding.h include/seamonkey/mozilla/dom/SVGSetElement.h @@ -655,6 +761,8 @@ include/seamonkey/mozilla/dom/SVGStyleElement.h include/seamonkey/mozilla/dom/SVGStyleElementBinding.h include/seamonkey/mozilla/dom/SVGSwitchElement.h include/seamonkey/mozilla/dom/SVGSwitchElementBinding.h +include/seamonkey/mozilla/dom/SVGSymbolElement.h +include/seamonkey/mozilla/dom/SVGSymbolElementBinding.h include/seamonkey/mozilla/dom/SVGTSpanElement.h include/seamonkey/mozilla/dom/SVGTSpanElementBinding.h include/seamonkey/mozilla/dom/SVGTestsBinding.h @@ -671,8 +779,13 @@ include/seamonkey/mozilla/dom/SVGTitleElementBinding.h include/seamonkey/mozilla/dom/SVGTransformBinding.h include/seamonkey/mozilla/dom/SVGTransformListBinding.h include/seamonkey/mozilla/dom/SVGTransformableElement.h -include/seamonkey/mozilla/dom/SVGTransformableElementBinding.h include/seamonkey/mozilla/dom/SVGURIReferenceBinding.h +include/seamonkey/mozilla/dom/SVGUnitTypesBinding.h +include/seamonkey/mozilla/dom/SVGUseElement.h +include/seamonkey/mozilla/dom/SVGUseElementBinding.h +include/seamonkey/mozilla/dom/SVGViewElement.h +include/seamonkey/mozilla/dom/SVGViewElementBinding.h +include/seamonkey/mozilla/dom/SVGZoomAndPanBinding.h include/seamonkey/mozilla/dom/ScreenBinding.h include/seamonkey/mozilla/dom/ScreenOrientation.h include/seamonkey/mozilla/dom/StorageChild.h @@ -694,17 +807,23 @@ include/seamonkey/mozilla/dom/TextEncoderBinding.h include/seamonkey/mozilla/dom/TypedArray.h include/seamonkey/mozilla/dom/URL.h include/seamonkey/mozilla/dom/URLBinding.h +include/seamonkey/mozilla/dom/USSDReceivedEventBinding.h include/seamonkey/mozilla/dom/UndoManager.h include/seamonkey/mozilla/dom/UndoManagerBinding.h include/seamonkey/mozilla/dom/UnionConversions.h include/seamonkey/mozilla/dom/UnionTypes.h +include/seamonkey/mozilla/dom/ValidityState.h +include/seamonkey/mozilla/dom/ValidityStateBinding.h include/seamonkey/mozilla/dom/WebGLRenderingContextBinding.h include/seamonkey/mozilla/dom/WebSocketBinding.h include/seamonkey/mozilla/dom/XMLHttpRequestBinding.h include/seamonkey/mozilla/dom/XMLHttpRequestEventTargetBinding.h include/seamonkey/mozilla/dom/XMLHttpRequestUploadBinding.h include/seamonkey/mozilla/dom/XMLSerializerBinding.h +include/seamonkey/mozilla/dom/XMLStylesheetProcessingInstruction.h +include/seamonkey/mozilla/dom/XMLStylesheetProcessingInstructionBinding.h include/seamonkey/mozilla/dom/XPathEvaluatorBinding.h +include/seamonkey/mozilla/dom/XULElementBinding.h include/seamonkey/mozilla/dom/alarm/AlarmHalService.h include/seamonkey/mozilla/dom/battery/Constants.h include/seamonkey/mozilla/dom/battery/Types.h @@ -746,6 +865,7 @@ include/seamonkey/mozilla/dom/indexedDB/SerializationHelpers.h include/seamonkey/mozilla/dom/ipc/Blob.h include/seamonkey/mozilla/dom/ipc/ProcessPriorityManager.h include/seamonkey/mozilla/dom/ipc/nsIRemoteBlob.h +include/seamonkey/mozilla/dom/mobilemessage/MobileMessageDatabaseService.h include/seamonkey/mozilla/dom/network/Constants.h include/seamonkey/mozilla/dom/network/TCPSocketChild.h include/seamonkey/mozilla/dom/network/TCPSocketParent.h @@ -758,6 +878,7 @@ include/seamonkey/mozilla/dom/quota/QuotaCommon.h include/seamonkey/mozilla/dom/quota/QuotaManager.h include/seamonkey/mozilla/dom/sms/Constants.h include/seamonkey/mozilla/dom/sms/SmsChild.h +include/seamonkey/mozilla/dom/sms/SmsFilter.h include/seamonkey/mozilla/dom/sms/SmsMessage.h include/seamonkey/mozilla/dom/sms/SmsParent.h include/seamonkey/mozilla/dom/sms/SmsRequest.h @@ -774,6 +895,7 @@ include/seamonkey/mozilla/dom/workers/bindings/EventTarget.h include/seamonkey/mozilla/dom/workers/bindings/FileReaderSync.h include/seamonkey/mozilla/dom/workers/bindings/TextDecoder.h include/seamonkey/mozilla/dom/workers/bindings/TextEncoder.h +include/seamonkey/mozilla/dom/workers/bindings/URL.h include/seamonkey/mozilla/dom/workers/bindings/WorkerFeature.h include/seamonkey/mozilla/dom/workers/bindings/XMLHttpRequest.h include/seamonkey/mozilla/dom/workers/bindings/XMLHttpRequestEventTarget.h @@ -806,6 +928,7 @@ include/seamonkey/mozilla/ipc/DocumentRendererParent.h include/seamonkey/mozilla/ipc/DocumentRendererShmemChild.h include/seamonkey/mozilla/ipc/DocumentRendererShmemParent.h include/seamonkey/mozilla/ipc/FileDescriptor.h +include/seamonkey/mozilla/ipc/FileDescriptorUtils.h include/seamonkey/mozilla/ipc/GeckoChildProcessHost.h include/seamonkey/mozilla/ipc/IOThreadChild.h include/seamonkey/mozilla/ipc/InputStreamUtils.h @@ -1058,7 +1181,6 @@ include/seamonkey/nsDOMEventTargetHelper.h include/seamonkey/nsDOMFile.h include/seamonkey/nsDOMJSUtils.h include/seamonkey/nsDOMMediaQueryList.h -include/seamonkey/nsDOMMediaStream.h include/seamonkey/nsDOMScriptObjectHolder.h include/seamonkey/nsDOMString.h include/seamonkey/nsDOMTouchEvent.h @@ -1322,6 +1444,7 @@ include/seamonkey/nsICacheListener.h include/seamonkey/nsICacheService.h include/seamonkey/nsICacheSession.h include/seamonkey/nsICacheVisitor.h +include/seamonkey/nsICachedFileDescriptorListener.h include/seamonkey/nsICachingChannel.h include/seamonkey/nsICancelable.h include/seamonkey/nsICancelableRunnable.h @@ -1431,8 +1554,8 @@ include/seamonkey/nsIDOMArchiveReader.h include/seamonkey/nsIDOMArchiveRequest.h include/seamonkey/nsIDOMAttr.h include/seamonkey/nsIDOMBarProp.h -include/seamonkey/nsIDOMBatteryManager.h include/seamonkey/nsIDOMBeforeUnloadEvent.h +include/seamonkey/nsIDOMBlobEvent.h include/seamonkey/nsIDOMCDATASection.h include/seamonkey/nsIDOMCRMFObject.h include/seamonkey/nsIDOMCSSCharsetRule.h @@ -1470,16 +1593,15 @@ include/seamonkey/nsIDOMConstructor.h include/seamonkey/nsIDOMContactManager.h include/seamonkey/nsIDOMContactProperties.h include/seamonkey/nsIDOMCounter.h -include/seamonkey/nsIDOMCrypto.h include/seamonkey/nsIDOMCryptoDialogs.h +include/seamonkey/nsIDOMCryptoLegacy.h include/seamonkey/nsIDOMCustomEvent.h +include/seamonkey/nsIDOMDOMCursor.h include/seamonkey/nsIDOMDOMError.h include/seamonkey/nsIDOMDOMException.h include/seamonkey/nsIDOMDOMImplementation.h include/seamonkey/nsIDOMDOMRequest.h -include/seamonkey/nsIDOMDOMSettableTokenList.h include/seamonkey/nsIDOMDOMStringList.h -include/seamonkey/nsIDOMDOMTokenList.h include/seamonkey/nsIDOMDOMTransactionEvent.h include/seamonkey/nsIDOMDataChannel.h include/seamonkey/nsIDOMDataContainerEvent.h @@ -1493,7 +1615,6 @@ include/seamonkey/nsIDOMDeviceProximityEvent.h include/seamonkey/nsIDOMDeviceStorage.h include/seamonkey/nsIDOMDeviceStorageChangeEvent.h include/seamonkey/nsIDOMDeviceStorageCursor.h -include/seamonkey/nsIDOMDeviceStorageStat.h include/seamonkey/nsIDOMDocument.h include/seamonkey/nsIDOMDocumentFragment.h include/seamonkey/nsIDOMDocumentType.h @@ -1501,7 +1622,6 @@ include/seamonkey/nsIDOMDocumentXBL.h include/seamonkey/nsIDOMDragEvent.h include/seamonkey/nsIDOMElement.h include/seamonkey/nsIDOMElementCSSInlineStyle.h -include/seamonkey/nsIDOMElementTimeControl.h include/seamonkey/nsIDOMEvent.h include/seamonkey/nsIDOMEventListener.h include/seamonkey/nsIDOMEventTarget.h @@ -1615,6 +1735,8 @@ include/seamonkey/nsIDOMMozCSSKeyframeRule.h include/seamonkey/nsIDOMMozCSSKeyframesRule.h include/seamonkey/nsIDOMMozContactChangeEvent.h include/seamonkey/nsIDOMMozSettingsEvent.h +include/seamonkey/nsIDOMMozSmsEvent.h +include/seamonkey/nsIDOMMozSmsMessage.h include/seamonkey/nsIDOMMutationEvent.h include/seamonkey/nsIDOMNSEditableElement.h include/seamonkey/nsIDOMNSEvent.h @@ -1655,71 +1777,22 @@ include/seamonkey/nsIDOMProgressEvent.h include/seamonkey/nsIDOMRTCPeerConnection.h include/seamonkey/nsIDOMRange.h include/seamonkey/nsIDOMRect.h -include/seamonkey/nsIDOMSVGAElement.h -include/seamonkey/nsIDOMSVGAltGlyphElement.h -include/seamonkey/nsIDOMSVGAnimateElement.h -include/seamonkey/nsIDOMSVGAnimateMotionElement.h -include/seamonkey/nsIDOMSVGAnimateTransformElement.h include/seamonkey/nsIDOMSVGAnimatedEnum.h include/seamonkey/nsIDOMSVGAnimatedInteger.h include/seamonkey/nsIDOMSVGAnimatedLength.h include/seamonkey/nsIDOMSVGAnimatedNumber.h -include/seamonkey/nsIDOMSVGAnimatedPathData.h -include/seamonkey/nsIDOMSVGAnimatedPoints.h include/seamonkey/nsIDOMSVGAnimatedRect.h include/seamonkey/nsIDOMSVGAnimatedString.h -include/seamonkey/nsIDOMSVGAnimationElement.h -include/seamonkey/nsIDOMSVGCircleElement.h -include/seamonkey/nsIDOMSVGClipPathElement.h -include/seamonkey/nsIDOMSVGDefsElement.h -include/seamonkey/nsIDOMSVGDescElement.h include/seamonkey/nsIDOMSVGDocument.h include/seamonkey/nsIDOMSVGElement.h -include/seamonkey/nsIDOMSVGEllipseElement.h include/seamonkey/nsIDOMSVGEvent.h -include/seamonkey/nsIDOMSVGFilterElement.h include/seamonkey/nsIDOMSVGFilters.h -include/seamonkey/nsIDOMSVGFitToViewBox.h -include/seamonkey/nsIDOMSVGForeignObjectElem.h -include/seamonkey/nsIDOMSVGGElement.h -include/seamonkey/nsIDOMSVGGradientElement.h -include/seamonkey/nsIDOMSVGImageElement.h include/seamonkey/nsIDOMSVGLength.h -include/seamonkey/nsIDOMSVGLineElement.h -include/seamonkey/nsIDOMSVGLocatable.h -include/seamonkey/nsIDOMSVGMarkerElement.h -include/seamonkey/nsIDOMSVGMaskElement.h -include/seamonkey/nsIDOMSVGMetadataElement.h -include/seamonkey/nsIDOMSVGMpathElement.h include/seamonkey/nsIDOMSVGNumber.h -include/seamonkey/nsIDOMSVGPathElement.h -include/seamonkey/nsIDOMSVGPatternElement.h -include/seamonkey/nsIDOMSVGPolygonElement.h -include/seamonkey/nsIDOMSVGPolylineElement.h include/seamonkey/nsIDOMSVGRect.h -include/seamonkey/nsIDOMSVGRectElement.h -include/seamonkey/nsIDOMSVGSVGElement.h -include/seamonkey/nsIDOMSVGScriptElement.h -include/seamonkey/nsIDOMSVGSetElement.h -include/seamonkey/nsIDOMSVGStopElement.h include/seamonkey/nsIDOMSVGStringList.h -include/seamonkey/nsIDOMSVGStyleElement.h -include/seamonkey/nsIDOMSVGSwitchElement.h -include/seamonkey/nsIDOMSVGSymbolElement.h -include/seamonkey/nsIDOMSVGTSpanElement.h -include/seamonkey/nsIDOMSVGTests.h -include/seamonkey/nsIDOMSVGTextContentElement.h -include/seamonkey/nsIDOMSVGTextElement.h -include/seamonkey/nsIDOMSVGTextPathElement.h -include/seamonkey/nsIDOMSVGTextPositionElem.h -include/seamonkey/nsIDOMSVGTitleElement.h -include/seamonkey/nsIDOMSVGTransformable.h include/seamonkey/nsIDOMSVGURIReference.h include/seamonkey/nsIDOMSVGUnitTypes.h -include/seamonkey/nsIDOMSVGUseElement.h -include/seamonkey/nsIDOMSVGViewElement.h -include/seamonkey/nsIDOMSVGViewSpec.h -include/seamonkey/nsIDOMSVGZoomAndPan.h include/seamonkey/nsIDOMSVGZoomEvent.h include/seamonkey/nsIDOMScreen.h include/seamonkey/nsIDOMScriptObjectFactory.h @@ -1729,10 +1802,8 @@ include/seamonkey/nsIDOMSettingsManager.h include/seamonkey/nsIDOMSimpleGestureEvent.h include/seamonkey/nsIDOMSmartCardEvent.h include/seamonkey/nsIDOMSmsCursor.h -include/seamonkey/nsIDOMSmsEvent.h include/seamonkey/nsIDOMSmsFilter.h include/seamonkey/nsIDOMSmsManager.h -include/seamonkey/nsIDOMSmsMessage.h include/seamonkey/nsIDOMSmsRequest.h include/seamonkey/nsIDOMSmsSegmentInfo.h include/seamonkey/nsIDOMStorage.h @@ -1814,6 +1885,7 @@ include/seamonkey/nsIDocShellTreeNode.h include/seamonkey/nsIDocShellTreeOwner.h include/seamonkey/nsIDocument.h include/seamonkey/nsIDocumentEncoder.h +include/seamonkey/nsIDocumentInlines.h include/seamonkey/nsIDocumentLoader.h include/seamonkey/nsIDocumentLoaderFactory.h include/seamonkey/nsIDocumentObserver.h @@ -1832,7 +1904,6 @@ include/seamonkey/nsIEditActionListener.h include/seamonkey/nsIEditingSession.h include/seamonkey/nsIEditor.h include/seamonkey/nsIEditorBoxObject.h -include/seamonkey/nsIEditorDocShell.h include/seamonkey/nsIEditorIMESupport.h include/seamonkey/nsIEditorMailSupport.h include/seamonkey/nsIEditorObserver.h @@ -1873,7 +1944,6 @@ include/seamonkey/nsIFeedProcessor.h include/seamonkey/nsIFeedResult.h include/seamonkey/nsIFeedResultService.h include/seamonkey/nsIFeedTextConstruct.h -include/seamonkey/nsIFeedWriter.h include/seamonkey/nsIFile.h include/seamonkey/nsIFileChannel.h include/seamonkey/nsIFilePicker.h @@ -2094,6 +2164,7 @@ include/seamonkey/nsIMimeMiscStatus.h include/seamonkey/nsIMimeObjectClassAccess.h include/seamonkey/nsIMimeStreamConverter.h include/seamonkey/nsIMmsService.h +include/seamonkey/nsIMobileMessageDatabaseService.h include/seamonkey/nsIModule.h include/seamonkey/nsIMovemailIncomingServer.h include/seamonkey/nsIMovemailService.h @@ -2283,7 +2354,7 @@ include/seamonkey/nsIPrintingPrompt.h include/seamonkey/nsIPrintingPromptService.h include/seamonkey/nsIPrivacyTransitionObserver.h include/seamonkey/nsIPrivateBrowsingChannel.h -include/seamonkey/nsIPrivateBrowsingService.h +include/seamonkey/nsIPrivateBrowsingServiceObsolete.h include/seamonkey/nsIPrivateTextEvent.h include/seamonkey/nsIPrivateTextRange.h include/seamonkey/nsIProcess.h @@ -2438,7 +2509,6 @@ include/seamonkey/nsISimpleUnicharStreamFactory.h include/seamonkey/nsISiteSpecificUserAgent.h include/seamonkey/nsISizeOf.h include/seamonkey/nsISliderListener.h -include/seamonkey/nsISmsDatabaseService.h include/seamonkey/nsISmsRequest.h include/seamonkey/nsISmsService.h include/seamonkey/nsISmtpServer.h @@ -2559,7 +2629,6 @@ include/seamonkey/nsIURLFormatter.h include/seamonkey/nsIURLParser.h include/seamonkey/nsIUTF8ConverterService.h include/seamonkey/nsIUUIDGenerator.h -include/seamonkey/nsIUndoManagerTransaction.h include/seamonkey/nsIUnicharBuffer.h include/seamonkey/nsIUnicharInputStream.h include/seamonkey/nsIUnicharLineInputStream.h @@ -2662,6 +2731,7 @@ include/seamonkey/nsInterfaceHashtable.h include/seamonkey/nsInterfaceRequestorAgg.h include/seamonkey/nsJARURI.h include/seamonkey/nsJSEnvironment.h +include/seamonkey/nsJSNPRuntime.h include/seamonkey/nsJSON.h include/seamonkey/nsJSPrincipals.h include/seamonkey/nsJSProtocolHandler.h @@ -2771,6 +2841,7 @@ include/seamonkey/nsPluginHost.h include/seamonkey/nsPluginInstanceOwner.h include/seamonkey/nsPluginLogging.h include/seamonkey/nsPluginNativeWindow.h +include/seamonkey/nsPluginPlayPreviewInfo.h include/seamonkey/nsPluginSafety.h include/seamonkey/nsPluginTags.h include/seamonkey/nsPluginsCID.h @@ -2791,6 +2862,7 @@ include/seamonkey/nsQueryFrame.h include/seamonkey/nsQuickSort.h include/seamonkey/nsRDFCID.h include/seamonkey/nsRDFResource.h +include/seamonkey/nsRandomGenerator.h include/seamonkey/nsRange.h include/seamonkey/nsReadLine.h include/seamonkey/nsReadableUtils.h @@ -2948,6 +3020,7 @@ include/seamonkey/nsWindowMemoryReporter.h include/seamonkey/nsWrapperCache.h include/seamonkey/nsWrapperCacheInlines.h include/seamonkey/nsXBLBinding.h +include/seamonkey/nsXBLService.h include/seamonkey/nsXMLNameSpaceMap.h include/seamonkey/nsXPCOM.h include/seamonkey/nsXPCOMCID.h @@ -3170,6 +3243,7 @@ lib/seamonkey-sdk/xpcom-config.h lib/seamonkey/application.ini lib/seamonkey/blocklist.xml lib/seamonkey/chrome.manifest +lib/seamonkey/chrome/chrome.manifest lib/seamonkey/chrome/classic/skin/classic/communicator/aboutSessionRestore.css lib/seamonkey/chrome/classic/skin/classic/communicator/aboutSyncTabs.css lib/seamonkey/chrome/classic/skin/classic/communicator/bookmarks/allBookmarks.png @@ -3228,8 +3302,11 @@ lib/seamonkey/chrome/classic/skin/classic/communicator/icons/geolocation-16.png lib/seamonkey/chrome/classic/skin/classic/communicator/icons/geolocation-64.png lib/seamonkey/chrome/classic/skin/classic/communicator/icons/identity.png lib/seamonkey/chrome/classic/skin/classic/communicator/icons/loading.gif +lib/seamonkey/chrome/classic/skin/classic/communicator/icons/lock-broken-16.png lib/seamonkey/chrome/classic/skin/classic/communicator/icons/lock-broken.png +lib/seamonkey/chrome/classic/skin/classic/communicator/icons/lock-insecure-16.png lib/seamonkey/chrome/classic/skin/classic/communicator/icons/lock-insecure.png +lib/seamonkey/chrome/classic/skin/classic/communicator/icons/lock-secure-16.png lib/seamonkey/chrome/classic/skin/classic/communicator/icons/lock-secure.png lib/seamonkey/chrome/classic/skin/classic/communicator/icons/offline.png lib/seamonkey/chrome/classic/skin/classic/communicator/icons/online.png @@ -3458,6 +3535,7 @@ lib/seamonkey/chrome/classic/skin/classic/messenger/messageKeywords.css lib/seamonkey/chrome/classic/skin/classic/messenger/messageWindow.css lib/seamonkey/chrome/classic/skin/classic/messenger/messenger.css lib/seamonkey/chrome/classic/skin/classic/messenger/messengercompose/messengercompose.css +lib/seamonkey/chrome/classic/skin/classic/messenger/newmailalert.css lib/seamonkey/chrome/classic/skin/classic/messenger/prefPanels.css lib/seamonkey/chrome/classic/skin/classic/messenger/primaryToolbar.css lib/seamonkey/chrome/classic/skin/classic/messenger/searchDialog.css @@ -3528,6 +3606,7 @@ lib/seamonkey/chrome/comm/content/branding/messenger-start-bg.png lib/seamonkey/chrome/comm/content/branding/messenger-start-hdr.png lib/seamonkey/chrome/comm/content/communicator/about.xhtml lib/seamonkey/chrome/comm/content/communicator/aboutLife.xhtml +lib/seamonkey/chrome/comm/content/communicator/aboutPrivateBrowsing.xul lib/seamonkey/chrome/comm/content/communicator/aboutSessionRestore.js lib/seamonkey/chrome/comm/content/communicator/aboutSessionRestore.xhtml lib/seamonkey/chrome/comm/content/communicator/aboutSyncTabs-bindings.xml @@ -3541,6 +3620,7 @@ lib/seamonkey/chrome/comm/content/communicator/bindings/general.xml lib/seamonkey/chrome/comm/content/communicator/bindings/notification.xml lib/seamonkey/chrome/comm/content/communicator/bindings/prefwindow.xml lib/seamonkey/chrome/comm/content/communicator/bindings/toolbar.xml +lib/seamonkey/chrome/comm/content/communicator/blockedSite.xhtml lib/seamonkey/chrome/comm/content/communicator/bookmarks/bm-panel.js lib/seamonkey/chrome/comm/content/communicator/bookmarks/bm-panel.xul lib/seamonkey/chrome/comm/content/communicator/bookmarks/bm-props.js @@ -3579,7 +3659,6 @@ lib/seamonkey/chrome/comm/content/communicator/downloads/treeView.js lib/seamonkey/chrome/comm/content/communicator/downloads/uploadProgress.js lib/seamonkey/chrome/comm/content/communicator/downloads/uploadProgress.xul lib/seamonkey/chrome/comm/content/communicator/feeds/subscribe.css -lib/seamonkey/chrome/comm/content/communicator/feeds/subscribe.js lib/seamonkey/chrome/comm/content/communicator/feeds/subscribe.xhtml lib/seamonkey/chrome/comm/content/communicator/feeds/subscribe.xml lib/seamonkey/chrome/comm/content/communicator/findUtils.js @@ -3665,6 +3744,8 @@ lib/seamonkey/chrome/comm/content/communicator/pref/pref-passwords.xul lib/seamonkey/chrome/comm/content/communicator/pref/pref-policies.xul lib/seamonkey/chrome/comm/content/communicator/pref/pref-popups.js lib/seamonkey/chrome/comm/content/communicator/pref/pref-popups.xul +lib/seamonkey/chrome/comm/content/communicator/pref/pref-privatedata.js +lib/seamonkey/chrome/comm/content/communicator/pref/pref-privatedata.xul lib/seamonkey/chrome/comm/content/communicator/pref/pref-proxies-advanced.xul lib/seamonkey/chrome/comm/content/communicator/pref/pref-proxies.js lib/seamonkey/chrome/comm/content/communicator/pref/pref-proxies.xul @@ -3959,6 +4040,8 @@ lib/seamonkey/chrome/comm/content/navigator/pageinfo/permissions.js lib/seamonkey/chrome/comm/content/navigator/pageinfo/security.js lib/seamonkey/chrome/comm/content/navigator/platformMailOverlay.xul lib/seamonkey/chrome/comm/content/navigator/platformNavigationBindings.xul +lib/seamonkey/chrome/comm/content/navigator/safeBrowsingOverlay.js +lib/seamonkey/chrome/comm/content/navigator/safeBrowsingOverlay.xul lib/seamonkey/chrome/comm/content/navigator/sessionHistoryUI.js lib/seamonkey/chrome/comm/content/navigator/tabbrowser.xml lib/seamonkey/chrome/comm/content/navigator/urlbarBindings.xml @@ -3976,6 +4059,7 @@ lib/seamonkey/chrome/en-US/locale/en-US/communicator-platform/win/platformCommun lib/seamonkey/chrome/en-US/locale/en-US/communicator-platform/win/pref/platformPrefOverlay.dtd lib/seamonkey/chrome/en-US/locale/en-US/communicator-region/region.properties lib/seamonkey/chrome/en-US/locale/en-US/communicator/about.dtd +lib/seamonkey/chrome/en-US/locale/en-US/communicator/aboutPrivateBrowsing.dtd lib/seamonkey/chrome/en-US/locale/en-US/communicator/aboutSessionRestore.dtd lib/seamonkey/chrome/en-US/locale/en-US/communicator/aboutSyncTabs.dtd lib/seamonkey/chrome/en-US/locale/en-US/communicator/askViewZoom.dtd @@ -4117,6 +4201,7 @@ lib/seamonkey/chrome/en-US/locale/en-US/communicator/pref/pref-offlineapps.dtd lib/seamonkey/chrome/en-US/locale/en-US/communicator/pref/pref-passwords.dtd lib/seamonkey/chrome/en-US/locale/en-US/communicator/pref/pref-policies.dtd lib/seamonkey/chrome/en-US/locale/en-US/communicator/pref/pref-popups.dtd +lib/seamonkey/chrome/en-US/locale/en-US/communicator/pref/pref-privatedata.dtd lib/seamonkey/chrome/en-US/locale/en-US/communicator/pref/pref-proxies-advanced.dtd lib/seamonkey/chrome/en-US/locale/en-US/communicator/pref/pref-proxies.dtd lib/seamonkey/chrome/en-US/locale/en-US/communicator/pref/pref-scripts.dtd @@ -4132,6 +4217,7 @@ lib/seamonkey/chrome/en-US/locale/en-US/communicator/printPreview.dtd lib/seamonkey/chrome/en-US/locale/en-US/communicator/profile/profileSelection.dtd lib/seamonkey/chrome/en-US/locale/en-US/communicator/profile/profileSelection.properties lib/seamonkey/chrome/en-US/locale/en-US/communicator/quitDialog.properties +lib/seamonkey/chrome/en-US/locale/en-US/communicator/safeBrowsing.dtd lib/seamonkey/chrome/en-US/locale/en-US/communicator/safeMode.dtd lib/seamonkey/chrome/en-US/locale/en-US/communicator/sanitize.dtd lib/seamonkey/chrome/en-US/locale/en-US/communicator/search/engineManager.dtd @@ -4249,7 +4335,6 @@ lib/seamonkey/chrome/en-US/locale/en-US/global/devtools/debugger.properties lib/seamonkey/chrome/en-US/locale/en-US/global/dialog.properties lib/seamonkey/chrome/en-US/locale/en-US/global/dialogOverlay.dtd lib/seamonkey/chrome/en-US/locale/en-US/global/dom/dom.properties -lib/seamonkey/chrome/en-US/locale/en-US/global/downloadProgress.properties lib/seamonkey/chrome/en-US/locale/en-US/global/editMenuOverlay.dtd lib/seamonkey/chrome/en-US/locale/en-US/global/filefield.properties lib/seamonkey/chrome/en-US/locale/en-US/global/filepicker.dtd @@ -4557,7 +4642,6 @@ lib/seamonkey/chrome/icons/default/seamonkey.png lib/seamonkey/chrome/icons/default/venkman-window.png lib/seamonkey/chrome/icons/default/venkman-window16.png lib/seamonkey/chrome/icons/default/venkman-window48.png -lib/seamonkey/chrome/localized.manifest lib/seamonkey/chrome/messenger/content/messagebody/addressbook/print.css lib/seamonkey/chrome/messenger/content/messenger-smime/certFetchingStatus.js lib/seamonkey/chrome/messenger/content/messenger-smime/certFetchingStatus.xul @@ -4736,6 +4820,9 @@ lib/seamonkey/chrome/messenger/content/messenger/msgViewNavigation.js lib/seamonkey/chrome/messenger/content/messenger/msgViewPickerOverlay.js lib/seamonkey/chrome/messenger/content/messenger/newFolderDialog.js lib/seamonkey/chrome/messenger/content/messenger/newFolderDialog.xul +lib/seamonkey/chrome/messenger/content/messenger/newmailalert.css +lib/seamonkey/chrome/messenger/content/messenger/newmailalert.js +lib/seamonkey/chrome/messenger/content/messenger/newmailalert.xul lib/seamonkey/chrome/messenger/content/messenger/phishingDetector.js lib/seamonkey/chrome/messenger/content/messenger/platformMailnewsOverlay.xul lib/seamonkey/chrome/messenger/content/messenger/pref-character_encoding.js @@ -4789,7 +4876,6 @@ lib/seamonkey/chrome/newsblog/content/messenger-newsblog/feed-subscriptions.js lib/seamonkey/chrome/newsblog/content/messenger-newsblog/feed-subscriptions.xul lib/seamonkey/chrome/newsblog/content/messenger-newsblog/newsblogOverlay.js lib/seamonkey/chrome/newsblog/content/messenger-newsblog/utils.js -lib/seamonkey/chrome/nonlocalized.manifest lib/seamonkey/chrome/pippki/content/pippki/CAOverlay.xul lib/seamonkey/chrome/pippki/content/pippki/MineOverlay.xul lib/seamonkey/chrome/pippki/content/pippki/OrphanOverlay.xul @@ -4857,6 +4943,8 @@ lib/seamonkey/chrome/pippki/content/pippki/viewCertDetails.xul lib/seamonkey/chrome/toolkit/content/cookie/cookieAcceptDialog.js lib/seamonkey/chrome/toolkit/content/cookie/cookieAcceptDialog.xul lib/seamonkey/chrome/toolkit/content/global/BrowserElementChild.js +lib/seamonkey/chrome/toolkit/content/global/BrowserElementChildPreload.js +lib/seamonkey/chrome/toolkit/content/global/BrowserElementPanning.js lib/seamonkey/chrome/toolkit/content/global/XPCNativeWrapper.js lib/seamonkey/chrome/toolkit/content/global/about.xhtml lib/seamonkey/chrome/toolkit/content/global/aboutAbout.xhtml @@ -4970,6 +5058,7 @@ lib/seamonkey/chrome/toolkit/content/global/nsUserSettings.js lib/seamonkey/chrome/toolkit/content/global/platformHTMLBindings.xml lib/seamonkey/chrome/toolkit/content/global/plugins.css lib/seamonkey/chrome/toolkit/content/global/plugins.html +lib/seamonkey/chrome/toolkit/content/global/preload.js lib/seamonkey/chrome/toolkit/content/global/printPageSetup.js lib/seamonkey/chrome/toolkit/content/global/printPageSetup.xul lib/seamonkey/chrome/toolkit/content/global/printPreviewBindings.xml @@ -5339,6 +5428,8 @@ lib/seamonkey/chrome/toolkit/skin/classic/mozapps/passwordmgr/key.png lib/seamonkey/chrome/toolkit/skin/classic/mozapps/places/defaultFavicon.png lib/seamonkey/chrome/toolkit/skin/classic/mozapps/plugins/contentPluginBlocked.png lib/seamonkey/chrome/toolkit/skin/classic/mozapps/plugins/contentPluginClickToPlay.png +lib/seamonkey/chrome/toolkit/skin/classic/mozapps/plugins/contentPluginClickToPlayPlain.png +lib/seamonkey/chrome/toolkit/skin/classic/mozapps/plugins/contentPluginClose.png lib/seamonkey/chrome/toolkit/skin/classic/mozapps/plugins/contentPluginCrashed.png lib/seamonkey/chrome/toolkit/skin/classic/mozapps/plugins/contentPluginDisabled.png lib/seamonkey/chrome/toolkit/skin/classic/mozapps/plugins/contentPluginDownload.png @@ -5362,7 +5453,6 @@ lib/seamonkey/chrome/toolkit/skin/classic/mozapps/update/updates.css lib/seamonkey/chrome/toolkit/skin/classic/mozapps/viewsource/viewsource.css lib/seamonkey/chrome/toolkit/skin/classic/mozapps/xpinstall/xpinstallConfirm.css lib/seamonkey/chrome/toolkit/skin/classic/mozapps/xpinstall/xpinstallItemGeneric.png -lib/seamonkey/components/Aitc.js lib/seamonkey/components/AlarmsManager.js lib/seamonkey/components/AppsService.js lib/seamonkey/components/BrowserElementParent.js @@ -5387,20 +5477,21 @@ lib/seamonkey/components/Webapps.js lib/seamonkey/components/addonManager.js lib/seamonkey/components/amContentHandler.js lib/seamonkey/components/amWebInstallListener.js -lib/seamonkey/components/browser.xpt lib/seamonkey/components/components.manifest lib/seamonkey/components/contentAreaDropListener.js lib/seamonkey/components/contentSecurityPolicy.js lib/seamonkey/components/crypto-SDR.js lib/seamonkey/components/glautocomp.js -lib/seamonkey/components/interfaces.manifest +lib/seamonkey/components/interfaces.xpt lib/seamonkey/components/jsconsole-clhandler.js lib/seamonkey/components/jsmimeemitter.js +${PLIST.gnome}lib/seamonkey/components/libdbusservice.so lib/seamonkey/components/libmozgnome.so +${PLIST.gnome}lib/seamonkey/components/libnkgnomevfs.so lib/seamonkey/components/libsuite.so -lib/seamonkey/components/mail.xpt lib/seamonkey/components/mdn-service.js lib/seamonkey/components/messageWakeupService.js +lib/seamonkey/components/mimeJSComponents.js lib/seamonkey/components/msgAsyncPrompter.js lib/seamonkey/components/newMailNotificationService.js lib/seamonkey/components/newsblog.js @@ -5467,7 +5558,6 @@ lib/seamonkey/defaults/pref/channel-prefs.js lib/seamonkey/defaults/pref/composer.js lib/seamonkey/defaults/pref/mailnews.js lib/seamonkey/defaults/pref/mdn.js -lib/seamonkey/defaults/pref/services-aitc.js lib/seamonkey/defaults/pref/services-sync.js lib/seamonkey/defaults/pref/smime.js lib/seamonkey/defaults/pref/suite-l10n.js @@ -5843,8 +5933,11 @@ lib/seamonkey/extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/com lib/seamonkey/extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/communicator/icons/geolocation-64.png lib/seamonkey/extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/communicator/icons/identity.png lib/seamonkey/extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/communicator/icons/loading.gif +lib/seamonkey/extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/communicator/icons/lock-broken-16.png lib/seamonkey/extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/communicator/icons/lock-broken.png +lib/seamonkey/extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/communicator/icons/lock-insecure-16.png lib/seamonkey/extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/communicator/icons/lock-insecure.png +lib/seamonkey/extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/communicator/icons/lock-secure-16.png lib/seamonkey/extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/communicator/icons/lock-secure.png lib/seamonkey/extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/communicator/icons/offline.gif lib/seamonkey/extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/communicator/icons/online.gif @@ -6012,6 +6105,8 @@ lib/seamonkey/extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/glo lib/seamonkey/extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/global/icons/alert-question.gif lib/seamonkey/extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/global/icons/alert-security.gif lib/seamonkey/extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/global/icons/autoscroll.png +lib/seamonkey/extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/global/icons/blacklist_favicon.png +lib/seamonkey/extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/global/icons/blacklist_large.png lib/seamonkey/extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/global/icons/close-act.gif lib/seamonkey/extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/global/icons/close-dis.gif lib/seamonkey/extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/global/icons/close-hov.gif @@ -6285,6 +6380,7 @@ lib/seamonkey/extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/mes lib/seamonkey/extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/messenger/messenger.css lib/seamonkey/extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/messenger/messengercompose/icons/mast-msgcomp.gif lib/seamonkey/extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/messenger/messengercompose/messengercompose.css +lib/seamonkey/extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/messenger/newmailalert.css lib/seamonkey/extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/messenger/prefPanels.css lib/seamonkey/extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/messenger/primaryToolbar.css lib/seamonkey/extensions/modern@themes.mozilla.org/chrome/modern/skin/modern/messenger/searchDialog.css @@ -6545,7 +6641,6 @@ lib/seamonkey/extensions/{59c81df5-4b7a-477b-912d-4e0fdf64e5f2}/chrome/icons/def lib/seamonkey/extensions/{59c81df5-4b7a-477b-912d-4e0fdf64e5f2}/chrome/icons/default/chatzilla-window16.xpm lib/seamonkey/extensions/{59c81df5-4b7a-477b-912d-4e0fdf64e5f2}/components/chatzilla-service.js lib/seamonkey/extensions/{59c81df5-4b7a-477b-912d-4e0fdf64e5f2}/install.rdf -lib/seamonkey/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/chrome.manifest lib/seamonkey/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/icon.png lib/seamonkey/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf lib/seamonkey/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/preview.png @@ -6747,6 +6842,7 @@ lib/seamonkey/modules/AppDownloadManager.jsm lib/seamonkey/modules/AppsServiceChild.jsm lib/seamonkey/modules/AppsUtils.jsm lib/seamonkey/modules/BookmarkHTMLUtils.jsm +lib/seamonkey/modules/BrowserElementParent.jsm lib/seamonkey/modules/BrowserElementPromptService.jsm lib/seamonkey/modules/CSPUtils.jsm lib/seamonkey/modules/CertUtils.jsm @@ -6764,6 +6860,7 @@ lib/seamonkey/modules/ContentPrefStore.jsm lib/seamonkey/modules/DOMIdentity.jsm lib/seamonkey/modules/DOMRequestHelper.jsm lib/seamonkey/modules/DeferredTask.jsm +lib/seamonkey/modules/Deprecated.jsm lib/seamonkey/modules/Dict.jsm lib/seamonkey/modules/DownloadLastDir.jsm lib/seamonkey/modules/DownloadPaths.jsm @@ -6787,9 +6884,12 @@ lib/seamonkey/modules/MessagePortWorker.js lib/seamonkey/modules/Microformats.js lib/seamonkey/modules/MozSocialAPI.jsm lib/seamonkey/modules/NetUtil.jsm +lib/seamonkey/modules/NewTabUtils.jsm lib/seamonkey/modules/ObjectWrapper.jsm lib/seamonkey/modules/OfflineCacheInstaller.jsm lib/seamonkey/modules/PageMenu.jsm +lib/seamonkey/modules/PageThumbs.jsm +lib/seamonkey/modules/PageThumbsWorker.js lib/seamonkey/modules/PerfMeasurement.jsm lib/seamonkey/modules/PermissionPromptHelper.jsm lib/seamonkey/modules/PermissionSettings.jsm @@ -6819,6 +6919,7 @@ lib/seamonkey/modules/StringBundle.js lib/seamonkey/modules/SystemMessagePermissionsChecker.jsm lib/seamonkey/modules/Task.jsm lib/seamonkey/modules/TelemetryStopwatch.jsm +lib/seamonkey/modules/TelemetryTimestamps.jsm lib/seamonkey/modules/Troubleshoot.jsm lib/seamonkey/modules/UpdateChannel.jsm lib/seamonkey/modules/UserAgentOverrides.jsm @@ -6839,8 +6940,140 @@ lib/seamonkey/modules/accessibility/TraversalRules.jsm lib/seamonkey/modules/accessibility/Utils.jsm lib/seamonkey/modules/accessibility/UtteranceGenerator.jsm lib/seamonkey/modules/accessibility/jar.mn -lib/seamonkey/modules/commonjs/loader.js -lib/seamonkey/modules/commonjs/promise/core.js +lib/seamonkey/modules/commonjs/sdk/addon-page.js +lib/seamonkey/modules/commonjs/sdk/addon/installer.js +lib/seamonkey/modules/commonjs/sdk/addon/runner.js +lib/seamonkey/modules/commonjs/sdk/base64.js +lib/seamonkey/modules/commonjs/sdk/clipboard.js +lib/seamonkey/modules/commonjs/sdk/console/plain-text.js +lib/seamonkey/modules/commonjs/sdk/console/traceback.js +lib/seamonkey/modules/commonjs/sdk/content/content-proxy.js +lib/seamonkey/modules/commonjs/sdk/content/content-worker.js +lib/seamonkey/modules/commonjs/sdk/content/content.js +lib/seamonkey/modules/commonjs/sdk/content/loader.js +lib/seamonkey/modules/commonjs/sdk/content/symbiont.js +lib/seamonkey/modules/commonjs/sdk/content/thumbnail.js +lib/seamonkey/modules/commonjs/sdk/content/worker.js +lib/seamonkey/modules/commonjs/sdk/context-menu.js +lib/seamonkey/modules/commonjs/sdk/core/disposable.js +lib/seamonkey/modules/commonjs/sdk/core/heritage.js +lib/seamonkey/modules/commonjs/sdk/core/namespace.js +lib/seamonkey/modules/commonjs/sdk/core/promise.js +lib/seamonkey/modules/commonjs/sdk/deprecated/api-utils.js +lib/seamonkey/modules/commonjs/sdk/deprecated/app-strings.js +lib/seamonkey/modules/commonjs/sdk/deprecated/cortex.js +lib/seamonkey/modules/commonjs/sdk/deprecated/errors.js +lib/seamonkey/modules/commonjs/sdk/deprecated/events.js +lib/seamonkey/modules/commonjs/sdk/deprecated/events/assembler.js +lib/seamonkey/modules/commonjs/sdk/deprecated/light-traits.js +lib/seamonkey/modules/commonjs/sdk/deprecated/list.js +lib/seamonkey/modules/commonjs/sdk/deprecated/memory.js +lib/seamonkey/modules/commonjs/sdk/deprecated/observer-service.js +lib/seamonkey/modules/commonjs/sdk/deprecated/tab-browser.js +lib/seamonkey/modules/commonjs/sdk/deprecated/traits.js +lib/seamonkey/modules/commonjs/sdk/deprecated/traits/core.js +lib/seamonkey/modules/commonjs/sdk/deprecated/unit-test-finder.js +lib/seamonkey/modules/commonjs/sdk/deprecated/unit-test.js +lib/seamonkey/modules/commonjs/sdk/deprecated/window-utils.js +lib/seamonkey/modules/commonjs/sdk/dom/events.js +lib/seamonkey/modules/commonjs/sdk/dom/events/keys.js +lib/seamonkey/modules/commonjs/sdk/event/core.js +lib/seamonkey/modules/commonjs/sdk/event/target.js +lib/seamonkey/modules/commonjs/sdk/frame/hidden-frame.js +lib/seamonkey/modules/commonjs/sdk/frame/utils.js +lib/seamonkey/modules/commonjs/sdk/hotkeys.js +lib/seamonkey/modules/commonjs/sdk/indexed-db.js +lib/seamonkey/modules/commonjs/sdk/io/byte-streams.js +lib/seamonkey/modules/commonjs/sdk/io/data.js +lib/seamonkey/modules/commonjs/sdk/io/file.js +lib/seamonkey/modules/commonjs/sdk/io/text-streams.js +lib/seamonkey/modules/commonjs/sdk/keyboard/hotkeys.js +lib/seamonkey/modules/commonjs/sdk/keyboard/observer.js +lib/seamonkey/modules/commonjs/sdk/keyboard/utils.js +lib/seamonkey/modules/commonjs/sdk/l10n.js +lib/seamonkey/modules/commonjs/sdk/l10n/core.js +lib/seamonkey/modules/commonjs/sdk/l10n/html.js +lib/seamonkey/modules/commonjs/sdk/l10n/loader.js +lib/seamonkey/modules/commonjs/sdk/l10n/locale.js +lib/seamonkey/modules/commonjs/sdk/l10n/plural-rules.js +lib/seamonkey/modules/commonjs/sdk/l10n/prefs.js +lib/seamonkey/modules/commonjs/sdk/lang/functional.js +lib/seamonkey/modules/commonjs/sdk/lang/type.js +lib/seamonkey/modules/commonjs/sdk/loader/cuddlefish.js +lib/seamonkey/modules/commonjs/sdk/loader/sandbox.js +lib/seamonkey/modules/commonjs/sdk/net/url.js +lib/seamonkey/modules/commonjs/sdk/net/xhr.js +lib/seamonkey/modules/commonjs/sdk/notifications.js +lib/seamonkey/modules/commonjs/sdk/page-mod.js +lib/seamonkey/modules/commonjs/sdk/page-mod/match-pattern.js +lib/seamonkey/modules/commonjs/sdk/page-worker.js +lib/seamonkey/modules/commonjs/sdk/panel.js +lib/seamonkey/modules/commonjs/sdk/panel/window.js +lib/seamonkey/modules/commonjs/sdk/passwords.js +lib/seamonkey/modules/commonjs/sdk/passwords/utils.js +lib/seamonkey/modules/commonjs/sdk/platform/xpcom.js +lib/seamonkey/modules/commonjs/sdk/preferences/event-target.js +lib/seamonkey/modules/commonjs/sdk/preferences/service.js +lib/seamonkey/modules/commonjs/sdk/private-browsing.js +lib/seamonkey/modules/commonjs/sdk/private-browsing/utils.js +lib/seamonkey/modules/commonjs/sdk/private-browsing/window/utils.js +lib/seamonkey/modules/commonjs/sdk/querystring.js +lib/seamonkey/modules/commonjs/sdk/request.js +lib/seamonkey/modules/commonjs/sdk/selection.js +lib/seamonkey/modules/commonjs/sdk/self.js +lib/seamonkey/modules/commonjs/sdk/simple-prefs.js +lib/seamonkey/modules/commonjs/sdk/simple-storage.js +lib/seamonkey/modules/commonjs/sdk/system.js +lib/seamonkey/modules/commonjs/sdk/system/environment.js +lib/seamonkey/modules/commonjs/sdk/system/events.js +lib/seamonkey/modules/commonjs/sdk/system/globals.js +lib/seamonkey/modules/commonjs/sdk/system/runtime.js +lib/seamonkey/modules/commonjs/sdk/system/unload.js +lib/seamonkey/modules/commonjs/sdk/system/xul-app.js +lib/seamonkey/modules/commonjs/sdk/tabs.js +lib/seamonkey/modules/commonjs/sdk/tabs/common.js +lib/seamonkey/modules/commonjs/sdk/tabs/events.js +lib/seamonkey/modules/commonjs/sdk/tabs/helpers.js +lib/seamonkey/modules/commonjs/sdk/tabs/namespace.js +lib/seamonkey/modules/commonjs/sdk/tabs/observer.js +lib/seamonkey/modules/commonjs/sdk/tabs/tab-fennec.js +lib/seamonkey/modules/commonjs/sdk/tabs/tab-firefox.js +lib/seamonkey/modules/commonjs/sdk/tabs/tab.js +lib/seamonkey/modules/commonjs/sdk/tabs/tabs-firefox.js +lib/seamonkey/modules/commonjs/sdk/tabs/tabs.js +lib/seamonkey/modules/commonjs/sdk/tabs/utils.js +lib/seamonkey/modules/commonjs/sdk/tabs/worker.js +lib/seamonkey/modules/commonjs/sdk/test.js +lib/seamonkey/modules/commonjs/sdk/test/assert.js +lib/seamonkey/modules/commonjs/sdk/test/harness.js +lib/seamonkey/modules/commonjs/sdk/test/httpd.js +lib/seamonkey/modules/commonjs/sdk/test/loader.js +lib/seamonkey/modules/commonjs/sdk/test/runner.js +lib/seamonkey/modules/commonjs/sdk/test/tmp-file.js +lib/seamonkey/modules/commonjs/sdk/timers.js +lib/seamonkey/modules/commonjs/sdk/url.js +lib/seamonkey/modules/commonjs/sdk/util/array.js +lib/seamonkey/modules/commonjs/sdk/util/collection.js +lib/seamonkey/modules/commonjs/sdk/util/deprecate.js +lib/seamonkey/modules/commonjs/sdk/util/list.js +lib/seamonkey/modules/commonjs/sdk/util/object.js +lib/seamonkey/modules/commonjs/sdk/util/registry.js +lib/seamonkey/modules/commonjs/sdk/util/uuid.js +lib/seamonkey/modules/commonjs/sdk/widget.js +lib/seamonkey/modules/commonjs/sdk/window/browser.js +lib/seamonkey/modules/commonjs/sdk/window/helpers.js +lib/seamonkey/modules/commonjs/sdk/window/namespace.js +lib/seamonkey/modules/commonjs/sdk/window/utils.js +lib/seamonkey/modules/commonjs/sdk/windows.js +lib/seamonkey/modules/commonjs/sdk/windows/dom.js +lib/seamonkey/modules/commonjs/sdk/windows/fennec.js +lib/seamonkey/modules/commonjs/sdk/windows/firefox.js +lib/seamonkey/modules/commonjs/sdk/windows/loader.js +lib/seamonkey/modules/commonjs/sdk/windows/observer.js +lib/seamonkey/modules/commonjs/sdk/windows/tabs-fennec.js +lib/seamonkey/modules/commonjs/sdk/windows/tabs-firefox.js +lib/seamonkey/modules/commonjs/test.js +lib/seamonkey/modules/commonjs/toolkit/loader.js lib/seamonkey/modules/ctypes.jsm lib/seamonkey/modules/debug.js lib/seamonkey/modules/devtools/Console.jsm @@ -6849,7 +7082,6 @@ lib/seamonkey/modules/devtools/Require.jsm lib/seamonkey/modules/devtools/SourceMap.jsm lib/seamonkey/modules/devtools/WebConsoleClient.jsm lib/seamonkey/modules/devtools/WebConsoleUtils.jsm -lib/seamonkey/modules/devtools/_Promise.jsm lib/seamonkey/modules/devtools/dbg-client.jsm lib/seamonkey/modules/devtools/dbg-server.jsm lib/seamonkey/modules/editorUtilities.jsm @@ -6896,6 +7128,8 @@ lib/seamonkey/modules/jsdebugger.jsm lib/seamonkey/modules/mailServices.js lib/seamonkey/modules/mailnewsMigrator.js lib/seamonkey/modules/mcc_iso3166_table.jsm +lib/seamonkey/modules/mime/mimeParserCore.js +lib/seamonkey/modules/mimeParser.jsm lib/seamonkey/modules/msgDBCacheManager.js lib/seamonkey/modules/nsFormAutoCompleteResult.jsm lib/seamonkey/modules/osfile.jsm @@ -6913,11 +7147,6 @@ lib/seamonkey/modules/osfile/osfile_win_front.jsm lib/seamonkey/modules/osfile/ospath_unix_back.jsm lib/seamonkey/modules/osfile/ospath_win_back.jsm lib/seamonkey/modules/reflect.jsm -lib/seamonkey/modules/services-aitc/browserid.js -lib/seamonkey/modules/services-aitc/client.js -lib/seamonkey/modules/services-aitc/main.js -lib/seamonkey/modules/services-aitc/manager.js -lib/seamonkey/modules/services-aitc/storage.js lib/seamonkey/modules/services-common/async.js lib/seamonkey/modules/services-common/bagheeraclient.js lib/seamonkey/modules/services-common/log4moz.js @@ -7310,8 +7539,8 @@ share/idl/seamonkey/nsIDOMArchiveReader.idl share/idl/seamonkey/nsIDOMArchiveRequest.idl share/idl/seamonkey/nsIDOMAttr.idl share/idl/seamonkey/nsIDOMBarProp.idl -share/idl/seamonkey/nsIDOMBatteryManager.idl share/idl/seamonkey/nsIDOMBeforeUnloadEvent.idl +share/idl/seamonkey/nsIDOMBlobEvent.idl share/idl/seamonkey/nsIDOMCDATASection.idl share/idl/seamonkey/nsIDOMCRMFObject.idl share/idl/seamonkey/nsIDOMCSSCharsetRule.idl @@ -7348,16 +7577,15 @@ share/idl/seamonkey/nsIDOMConstructor.idl share/idl/seamonkey/nsIDOMContactManager.idl share/idl/seamonkey/nsIDOMContactProperties.idl share/idl/seamonkey/nsIDOMCounter.idl -share/idl/seamonkey/nsIDOMCrypto.idl share/idl/seamonkey/nsIDOMCryptoDialogs.idl +share/idl/seamonkey/nsIDOMCryptoLegacy.idl share/idl/seamonkey/nsIDOMCustomEvent.idl +share/idl/seamonkey/nsIDOMDOMCursor.idl share/idl/seamonkey/nsIDOMDOMError.idl share/idl/seamonkey/nsIDOMDOMException.idl share/idl/seamonkey/nsIDOMDOMImplementation.idl share/idl/seamonkey/nsIDOMDOMRequest.idl -share/idl/seamonkey/nsIDOMDOMSettableTokenList.idl share/idl/seamonkey/nsIDOMDOMStringList.idl -share/idl/seamonkey/nsIDOMDOMTokenList.idl share/idl/seamonkey/nsIDOMDOMTransactionEvent.idl share/idl/seamonkey/nsIDOMDataChannel.idl share/idl/seamonkey/nsIDOMDataContainerEvent.idl @@ -7371,7 +7599,6 @@ share/idl/seamonkey/nsIDOMDeviceProximityEvent.idl share/idl/seamonkey/nsIDOMDeviceStorage.idl share/idl/seamonkey/nsIDOMDeviceStorageChangeEvent.idl share/idl/seamonkey/nsIDOMDeviceStorageCursor.idl -share/idl/seamonkey/nsIDOMDeviceStorageStat.idl share/idl/seamonkey/nsIDOMDocument.idl share/idl/seamonkey/nsIDOMDocumentFragment.idl share/idl/seamonkey/nsIDOMDocumentType.idl @@ -7379,7 +7606,6 @@ share/idl/seamonkey/nsIDOMDocumentXBL.idl share/idl/seamonkey/nsIDOMDragEvent.idl share/idl/seamonkey/nsIDOMElement.idl share/idl/seamonkey/nsIDOMElementCSSInlineStyle.idl -share/idl/seamonkey/nsIDOMElementTimeControl.idl share/idl/seamonkey/nsIDOMEvent.idl share/idl/seamonkey/nsIDOMEventListener.idl share/idl/seamonkey/nsIDOMEventTarget.idl @@ -7493,6 +7719,8 @@ share/idl/seamonkey/nsIDOMMozCSSKeyframeRule.idl share/idl/seamonkey/nsIDOMMozCSSKeyframesRule.idl share/idl/seamonkey/nsIDOMMozContactChangeEvent.idl share/idl/seamonkey/nsIDOMMozSettingsEvent.idl +share/idl/seamonkey/nsIDOMMozSmsEvent.idl +share/idl/seamonkey/nsIDOMMozSmsMessage.idl share/idl/seamonkey/nsIDOMMutationEvent.idl share/idl/seamonkey/nsIDOMNSEditableElement.idl share/idl/seamonkey/nsIDOMNSEvent.idl @@ -7533,71 +7761,22 @@ share/idl/seamonkey/nsIDOMProgressEvent.idl share/idl/seamonkey/nsIDOMRTCPeerConnection.idl share/idl/seamonkey/nsIDOMRange.idl share/idl/seamonkey/nsIDOMRect.idl -share/idl/seamonkey/nsIDOMSVGAElement.idl -share/idl/seamonkey/nsIDOMSVGAltGlyphElement.idl -share/idl/seamonkey/nsIDOMSVGAnimateElement.idl -share/idl/seamonkey/nsIDOMSVGAnimateMotionElement.idl -share/idl/seamonkey/nsIDOMSVGAnimateTransformElement.idl share/idl/seamonkey/nsIDOMSVGAnimatedEnum.idl share/idl/seamonkey/nsIDOMSVGAnimatedInteger.idl share/idl/seamonkey/nsIDOMSVGAnimatedLength.idl share/idl/seamonkey/nsIDOMSVGAnimatedNumber.idl -share/idl/seamonkey/nsIDOMSVGAnimatedPathData.idl -share/idl/seamonkey/nsIDOMSVGAnimatedPoints.idl share/idl/seamonkey/nsIDOMSVGAnimatedRect.idl share/idl/seamonkey/nsIDOMSVGAnimatedString.idl -share/idl/seamonkey/nsIDOMSVGAnimationElement.idl -share/idl/seamonkey/nsIDOMSVGCircleElement.idl -share/idl/seamonkey/nsIDOMSVGClipPathElement.idl -share/idl/seamonkey/nsIDOMSVGDefsElement.idl -share/idl/seamonkey/nsIDOMSVGDescElement.idl share/idl/seamonkey/nsIDOMSVGDocument.idl share/idl/seamonkey/nsIDOMSVGElement.idl -share/idl/seamonkey/nsIDOMSVGEllipseElement.idl share/idl/seamonkey/nsIDOMSVGEvent.idl -share/idl/seamonkey/nsIDOMSVGFilterElement.idl share/idl/seamonkey/nsIDOMSVGFilters.idl -share/idl/seamonkey/nsIDOMSVGFitToViewBox.idl -share/idl/seamonkey/nsIDOMSVGForeignObjectElem.idl -share/idl/seamonkey/nsIDOMSVGGElement.idl -share/idl/seamonkey/nsIDOMSVGGradientElement.idl -share/idl/seamonkey/nsIDOMSVGImageElement.idl share/idl/seamonkey/nsIDOMSVGLength.idl -share/idl/seamonkey/nsIDOMSVGLineElement.idl -share/idl/seamonkey/nsIDOMSVGLocatable.idl -share/idl/seamonkey/nsIDOMSVGMarkerElement.idl -share/idl/seamonkey/nsIDOMSVGMaskElement.idl -share/idl/seamonkey/nsIDOMSVGMetadataElement.idl -share/idl/seamonkey/nsIDOMSVGMpathElement.idl share/idl/seamonkey/nsIDOMSVGNumber.idl -share/idl/seamonkey/nsIDOMSVGPathElement.idl -share/idl/seamonkey/nsIDOMSVGPatternElement.idl -share/idl/seamonkey/nsIDOMSVGPolygonElement.idl -share/idl/seamonkey/nsIDOMSVGPolylineElement.idl share/idl/seamonkey/nsIDOMSVGRect.idl -share/idl/seamonkey/nsIDOMSVGRectElement.idl -share/idl/seamonkey/nsIDOMSVGSVGElement.idl -share/idl/seamonkey/nsIDOMSVGScriptElement.idl -share/idl/seamonkey/nsIDOMSVGSetElement.idl -share/idl/seamonkey/nsIDOMSVGStopElement.idl share/idl/seamonkey/nsIDOMSVGStringList.idl -share/idl/seamonkey/nsIDOMSVGStyleElement.idl -share/idl/seamonkey/nsIDOMSVGSwitchElement.idl -share/idl/seamonkey/nsIDOMSVGSymbolElement.idl -share/idl/seamonkey/nsIDOMSVGTSpanElement.idl -share/idl/seamonkey/nsIDOMSVGTests.idl -share/idl/seamonkey/nsIDOMSVGTextContentElement.idl -share/idl/seamonkey/nsIDOMSVGTextElement.idl -share/idl/seamonkey/nsIDOMSVGTextPathElement.idl -share/idl/seamonkey/nsIDOMSVGTextPositionElem.idl -share/idl/seamonkey/nsIDOMSVGTitleElement.idl -share/idl/seamonkey/nsIDOMSVGTransformable.idl share/idl/seamonkey/nsIDOMSVGURIReference.idl share/idl/seamonkey/nsIDOMSVGUnitTypes.idl -share/idl/seamonkey/nsIDOMSVGUseElement.idl -share/idl/seamonkey/nsIDOMSVGViewElement.idl -share/idl/seamonkey/nsIDOMSVGViewSpec.idl -share/idl/seamonkey/nsIDOMSVGZoomAndPan.idl share/idl/seamonkey/nsIDOMSVGZoomEvent.idl share/idl/seamonkey/nsIDOMScreen.idl share/idl/seamonkey/nsIDOMScrollAreaEvent.idl @@ -7606,10 +7785,8 @@ share/idl/seamonkey/nsIDOMSettingsManager.idl share/idl/seamonkey/nsIDOMSimpleGestureEvent.idl share/idl/seamonkey/nsIDOMSmartCardEvent.idl share/idl/seamonkey/nsIDOMSmsCursor.idl -share/idl/seamonkey/nsIDOMSmsEvent.idl share/idl/seamonkey/nsIDOMSmsFilter.idl share/idl/seamonkey/nsIDOMSmsManager.idl -share/idl/seamonkey/nsIDOMSmsMessage.idl share/idl/seamonkey/nsIDOMSmsRequest.idl share/idl/seamonkey/nsIDOMSmsSegmentInfo.idl share/idl/seamonkey/nsIDOMStorage.idl @@ -7703,7 +7880,6 @@ share/idl/seamonkey/nsIEditActionListener.idl share/idl/seamonkey/nsIEditingSession.idl share/idl/seamonkey/nsIEditor.idl share/idl/seamonkey/nsIEditorBoxObject.idl -share/idl/seamonkey/nsIEditorDocShell.idl share/idl/seamonkey/nsIEditorIMESupport.idl share/idl/seamonkey/nsIEditorMailSupport.idl share/idl/seamonkey/nsIEditorObserver.idl @@ -7743,7 +7919,6 @@ share/idl/seamonkey/nsIFeedProcessor.idl share/idl/seamonkey/nsIFeedResult.idl share/idl/seamonkey/nsIFeedResultService.idl share/idl/seamonkey/nsIFeedTextConstruct.idl -share/idl/seamonkey/nsIFeedWriter.idl share/idl/seamonkey/nsIFile.idl share/idl/seamonkey/nsIFileChannel.idl share/idl/seamonkey/nsIFilePicker.idl @@ -7931,6 +8106,7 @@ share/idl/seamonkey/nsIMimeHeaders.idl share/idl/seamonkey/nsIMimeMiscStatus.idl share/idl/seamonkey/nsIMimeStreamConverter.idl share/idl/seamonkey/nsIMmsService.idl +share/idl/seamonkey/nsIMobileMessageDatabaseService.idl share/idl/seamonkey/nsIModule.idl share/idl/seamonkey/nsIMovemailIncomingServer.idl share/idl/seamonkey/nsIMovemailService.idl @@ -8102,7 +8278,7 @@ share/idl/seamonkey/nsIPrintingPrompt.idl share/idl/seamonkey/nsIPrintingPromptService.idl share/idl/seamonkey/nsIPrivacyTransitionObserver.idl share/idl/seamonkey/nsIPrivateBrowsingChannel.idl -share/idl/seamonkey/nsIPrivateBrowsingService.idl +share/idl/seamonkey/nsIPrivateBrowsingServiceObsolete.idl share/idl/seamonkey/nsIProcess.idl share/idl/seamonkey/nsIProfileMigrator.idl share/idl/seamonkey/nsIProfileUnlocker.idl @@ -8233,7 +8409,6 @@ share/idl/seamonkey/nsISimpleStreamListener.idl share/idl/seamonkey/nsISimpleUnicharStreamFactory.idl share/idl/seamonkey/nsISiteSpecificUserAgent.idl share/idl/seamonkey/nsISliderListener.idl -share/idl/seamonkey/nsISmsDatabaseService.idl share/idl/seamonkey/nsISmsRequest.idl share/idl/seamonkey/nsISmsService.idl share/idl/seamonkey/nsISmtpServer.idl @@ -8335,7 +8510,6 @@ share/idl/seamonkey/nsIURLFormatter.idl share/idl/seamonkey/nsIURLParser.idl share/idl/seamonkey/nsIUTF8ConverterService.idl share/idl/seamonkey/nsIUUIDGenerator.idl -share/idl/seamonkey/nsIUndoManagerTransaction.idl share/idl/seamonkey/nsIUnicharInputStream.idl share/idl/seamonkey/nsIUnicharLineInputStream.idl share/idl/seamonkey/nsIUnicharOutputStream.idl diff --git a/www/seamonkey/PLIST.lightning b/www/seamonkey/PLIST.lightning index 4146596974f..8f138a46a88 100644 --- a/www/seamonkey/PLIST.lightning +++ b/www/seamonkey/PLIST.lightning @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST.lightning,v 1.8 2013/01/20 08:33:13 ryoon Exp $ +@comment $NetBSD: PLIST.lightning,v 1.9 2013/05/23 13:25:30 ryoon Exp $ include/seamonkey/calBaseCID.h include/seamonkey/calIAlarm.h include/seamonkey/calIAlarmService.h @@ -275,7 +275,6 @@ lib/seamonkey/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome/calendar/ lib/seamonkey/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome/calendar/skin/calendar/common/widgets/calendar-widgets.css lib/seamonkey/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome/calendar/skin/calendar/datetimepickers/datetimepickers.css lib/seamonkey/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome/calendar/skin/calendar/day-box-item-image.png -lib/seamonkey/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome/calendar/skin/calendar/daypicker-background.png lib/seamonkey/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome/calendar/skin/calendar/event-grippy-bottom.png lib/seamonkey/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome/calendar/skin/calendar/event-grippy-left.png lib/seamonkey/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome/calendar/skin/calendar/event-grippy-right.png diff --git a/www/seamonkey/distinfo b/www/seamonkey/distinfo index a5222bff4b8..4e2bfeab38f 100644 --- a/www/seamonkey/distinfo +++ b/www/seamonkey/distinfo @@ -1,29 +1,20 @@ -$NetBSD: distinfo,v 1.97 2013/05/14 19:08:42 joerg Exp $ +$NetBSD: distinfo,v 1.98 2013/05/23 13:25:30 ryoon Exp $ SHA1 (enigmail-1.5.1.tar.gz) = fec4c169731a9f0f47d1e443ea6f427196f759a7 RMD160 (enigmail-1.5.1.tar.gz) = b7e3adc5f09d7671ac8c419a3cdd73f567351c79 Size (enigmail-1.5.1.tar.gz) = 1213954 bytes -SHA1 (seamonkey-2.17.source.tar.bz2) = de4db5b9d019d59ca59807f5b7a60e235fd61e79 -RMD160 (seamonkey-2.17.source.tar.bz2) = 10046fa822b880dd08d3f44e53fc61cd6e02e134 -Size (seamonkey-2.17.source.tar.bz2) = 122785037 bytes -SHA1 (patch-aa) = 97cbc3e11d3006c2db7f59fb3799a3a6640a8a4a +SHA1 (seamonkey-2.18b4.source.tar.bz2) = 82e202bdd1b462fffac22b526e6a8cf8642da537 +RMD160 (seamonkey-2.18b4.source.tar.bz2) = 388ae233f5ce5384a243577e7c5b9d5508d1478a +Size (seamonkey-2.18b4.source.tar.bz2) = 129351650 bytes +SHA1 (patch-aa) = f39a2bc4665f70b3bdfca4cbec89951a09f8a727 SHA1 (patch-aa-toplevel) = fe60b8b841eae442269993facb2680d13cefd457 -SHA1 (patch-ab) = 9cca7b0b97c4c38b30a125a6daf116b4064d451e -SHA1 (patch-ac) = 7f8ebe176cc3674a659c0c9b84bc4c84bb15f7b1 -SHA1 (patch-ae) = bc047f107ecc4f57d6f0073c6d86061280ba54f3 -SHA1 (patch-ag) = 6df9db65468528bf58ed175260469c0d60361187 -SHA1 (patch-ai) = adc83b19e793491b1c6ea0fd8b46cd9f32e592fc SHA1 (patch-ak) = a36dd36a037a76a40955316200b1f4603b9ed8e9 SHA1 (patch-al) = 06ddb5f0f55ca02bee0d55ddb5316ddd9099f2d9 SHA1 (patch-am) = 3c1343b4e71dd2ffa66ed0d4b59f9e7a1c5be2e0 SHA1 (patch-an) = a76456ccf059756b6582c0586cbf76c1cdabf1c3 SHA1 (patch-ao) = 330d7ed17b5cee49c408c9bc48edc3cedeb04061 -SHA1 (patch-as) = 58869b1896d0927e2801f3c3d3d69e686b84de78 -SHA1 (patch-at) = 97980a58f0b2f3b2f81e9ce6373ce947941ae942 -SHA1 (patch-au) = fbe3e8a0bbf0048ae8a394807ba87ae6ec7d4e6e -SHA1 (patch-av) = 7bd426be930e2a9670cffdc37fd4e5290a8091f2 -SHA1 (patch-aw) = 4e3927a66c7f78ffba3b2079ef2263b91395330e -SHA1 (patch-ay) = adc83b19e793491b1c6ea0fd8b46cd9f32e592fc +SHA1 (patch-as) = 4f80d55984623c5924ecb36cfee6ee2530d7e630 +SHA1 (patch-au) = 9a7352ed6251a7e19ef8b8684057e994ed21d8e6 SHA1 (patch-az) = 74191395f7cae0914111e86af390b8d115c3b93d SHA1 (patch-ba) = 453e13f23c8935a6d6edb4a12f6f128558227257 SHA1 (patch-bd) = d148a08d6aa03c559d9250cf9a30ca66f1a76859 @@ -31,37 +22,104 @@ SHA1 (patch-bf) = a199d37e83823dee168c1a32f5aeac834b96714f SHA1 (patch-bg) = 1b4da74724d24693d863392e1963fa674d34b72e SHA1 (patch-bi) = 904ec1a966d6224f873836d8cbee2eb80eb2d2a9 SHA1 (patch-config_baseconfig.mk) = 3fdb27d227ef0d858b56023b9c709117d5cc5e00 -SHA1 (patch-directory_c-sdk_ldap_include_portable.h) = 4ce9e1a0e8f0d05367243e8d2b5118606a35da94 SHA1 (patch-ldap_sdks_c-sdk_build.mk) = 541604f0f63f5c1b3ce5509260517f68f417eb73 +SHA1 (patch-ldap_sdks_c-sdk_ldap_include_portable.h) = 4ce9e1a0e8f0d05367243e8d2b5118606a35da94 SHA1 (patch-mail_app_Makefile.in) = d66563480442a43e70715ecabf54ffeda5e5cf79 -SHA1 (patch-mail_app_nsMailApp.cpp) = 6641427f5a9a2c2e4065abb331d983798e41d91c -SHA1 (patch-mb) = 07e816f321fd6491fb9d5dc74ac2de53d5bc8405 +SHA1 (patch-mb) = a12ef8162206cc1e31847563c3a1adae39255670 SHA1 (patch-md) = 48e172fdf3ec12765e674a4a2ba8ac1b53f2f15b -SHA1 (patch-me) = 4c5f293574e9bdbe3ad8fa2abd7649622750f24f +SHA1 (patch-me) = 6ede1bbb9210a8329f1af14699d79188b0dd16ff SHA1 (patch-mozilla_build_autoconf_nss.m4) = 3b05127e72a76ac2f87c8362cbde13ce76485a19 SHA1 (patch-mozilla_config_baseconfig.mk) = 22135e1dd081529afc217009b2f2e860d8c51cd9 SHA1 (patch-mozilla_config_stl__wrappers_ios) = 066a9f3db9203afa8131b2ff91d212033e5950e0 SHA1 (patch-mozilla_config_stl__wrappers_ostream) = 67559c5ab17088680b86dea6b081a48b781f59b5 +SHA1 (patch-mozilla_config_system-headers) = f4ddd48a63041864a9d0c0ad7c573a5c4f49681e SHA1 (patch-mozilla_config_system__wrappers_unwind.h) = 32d4ab3fbf80bf19783dab7c4a875a7262f419cf +SHA1 (patch-mozilla_content_media_AudioStream.cpp) = 8d405432e3cd76a9f280f9f56b47e0a0f828fa38 +SHA1 (patch-mozilla_extensions_auth_nsAuthGSSAPI.cpp) = 527f00c7001e9de95b9ccb4b4eaad62107b49fef SHA1 (patch-mozilla_gfx_skia_Makefile.in) = 9adc38011a2186d8671360f6635a6c83dc758c9a SHA1 (patch-mozilla_gfx_skia_src_sfnt_SkOTTable__head.h) = 75a54359e2ebc4a019e4b5ed027df654b612ea34 SHA1 (patch-mozilla_gfx_skia_src_sfnt_SkOTTable__name.h) = f8ef35f6d4ede4d02baee2c2905089b307724b95 SHA1 (patch-mozilla_gfx_skia_src_sfnt_SkSFNTHeader.h) = eab1973eb9cee2440d59147b40fc861ccdae2fb5 SHA1 (patch-mozilla_gfx_thebes_gfxPlatform.cpp) = e5d5aa6e8919226c9249693334c2c54b843bd627 +SHA1 (patch-mozilla_image_decoders_nsJPEGDecoder.cpp) = 316bfe765e20f188c847efa30cfa0ccc9f4fc7e5 +SHA1 (patch-mozilla_ios) = 2548e938ec74e46391701ec63b9c8be5e84f562e +SHA1 (patch-mozilla_ipc_chromium_src_base_message__pump__libevent.cc) = 7c18b292b688f4185c9012ba03135ab95e5c473b +SHA1 (patch-mozilla_ipc_chromium_src_base_platform__thread__posix.cc) = 1f57197b9e4a5ad2f4a31c5cbaa99b04bcbdc3d5 SHA1 (patch-mozilla_ipc_glue_GeckoChildProcessHost.cpp) = abdf8ee597ec867b63c8274911ff6c162d30835b SHA1 (patch-mozilla_ipc_ipdl_ipdl_lower.py) = 2bf473a505692adc68c9cdc75a23d53d61c0fc8b -SHA1 (patch-mozilla_js_src_jsgc.cpp) = 79710d555551f62ac3510eede3cbc9aa314c1809 -SHA1 (patch-mozilla_js_src_methodjit_MethodJIT.cpp) = ba789e9206f830d4925eb377627eb113be52351c -SHA1 (patch-mozilla_xpcom_Makefile.in) = fcd068eb5c2c96e9bf9ba275689e99ce5f6e5034 +SHA1 (patch-mozilla_js_src_Makefile.in) = c246a9ebace2810814bee3a8540fadbd13429382 +SHA1 (patch-mozilla_js_src_config_system-headers) = 714161aa3069387f32df4bd50753db474649bbc0 +SHA1 (patch-mozilla_js_src_jscompartment.h) = 4c35bf687e6e327b290d4d779b68464aa7085bb9 +SHA1 (patch-mozilla_js_src_jspropertycacheinlines.h) = 81a9eb160a46238445c233f1ccab304dd36af0df +SHA1 (patch-mozilla_js_src_methodjit_MethodJIT.cpp) = a335669f683b4f0647204723d5201d9172c0300c +SHA1 (patch-mozilla_js_src_vm_ObjectImpl-inl.h) = 7bc909f6fa2b069be824407669624d446584176a +SHA1 (patch-mozilla_media_libsoundtouch_src_cpu__detect__x86.cpp) = e797906dcd9e33d0168e5fdb8269d95f35b3a823 +SHA1 (patch-mozilla_media_mtransport_objs.mk) = c14ca9e5f727311495d74107282b0452144a1537 +SHA1 (patch-mozilla_media_mtransport_test_Makefile.in) = 2f6341529a79596ffcfcdb96275b243d1a700356 +SHA1 (patch-mozilla_media_mtransport_third__party_nICEr_nicer.gyp) = 41eca45bba8612b9c995b5a8e29ccda3ef06735b +SHA1 (patch-mozilla_media_mtransport_third__party_nICEr_src_stun_addrs.c) = 41d0fdaec78916706499e582053d4d33184cf1b2 +SHA1 (patch-mozilla_media_mtransport_third__party_nICEr_src_stun_stun.h) = ddbc02a8529086ddc1dc0b99664cc829f27700c4 +SHA1 (patch-mozilla_media_mtransport_third__party_nICEr_src_util_mbslen.c) = c5f935ee03dfa82401f9036bdee750dc6eb364d3 +SHA1 (patch-mozilla_media_mtransport_third__party_nrappkit_nrappkit.gyp) = d7109ef00d55d910d04cba98ff55ad639da28b9a +SHA1 (patch-mozilla_media_mtransport_third__party_nrappkit_src_log_r__log.c) = 8c94e88fc49624041d799341fb2111e072e4f6a7 +SHA1 (patch-mozilla_media_mtransport_third__party_nrappkit_src_port_generic_include_sys_queue.h) = 755754a30579fc1be164d89a39a7c21623561ff0 +SHA1 (patch-mozilla_media_mtransport_third__party_nrappkit_src_util_util.c) = 5e584a7186fd4f3b29ad3a2b12ee3a9c343f3fc8 +SHA1 (patch-mozilla_media_webrtc_signaling_signaling.gyp) = dc04e99b4231e4364f9cb347d83bad663dcfcdfd +SHA1 (patch-mozilla_media_webrtc_signaling_src_sipcc_cpr_darwin_cpr__darwin__ipc.c) = 266164bbf2d9c0d64971eb58f7c57dbd71604e44 +SHA1 (patch-mozilla_media_webrtc_signaling_test_Makefile.in) = 3f1ebf8e02671eac6a0bd919d304d0065fbe6572 +SHA1 (patch-mozilla_media_webrtc_trunk_build_common.gypi) = b733bb6a2241e1cd6f9faa47cff0f99b0610c409 +SHA1 (patch-mozilla_media_webrtc_trunk_testing_gtest_include_gtest_internal_gtest-port.h) = 286b38b9750cbb14cccce98ef4d12fe00241ab8c +SHA1 (patch-mozilla_media_webrtc_trunk_third__party_libyuv_libyuv.gyp) = 5aab5acd0a7d719fafe6f8c520d6d857fa620ae8 +SHA1 (patch-mozilla_media_webrtc_trunk_tools_gyp_pylib_gyp_generator_mozmake.py) = 77536c92ebe9928302e10fd566cbabcb00bce0f5 +SHA1 (patch-mozilla_media_webrtc_trunk_webrtc_build_common.gypi) = d1ba123301179a59cf772d2c73e695423b73f4be +SHA1 (patch-mozilla_media_webrtc_trunk_webrtc_modules_audio__device_audio__device.gypi) = 87ed17628e3a65db63acecc60b3ce53d7fa34301 +SHA1 (patch-mozilla_media_webrtc_trunk_webrtc_modules_audio__device_audio__device__utility.cc) = ce5d6bca9da94ee1c95886bac4e96fd8aeff980c +SHA1 (patch-mozilla_media_webrtc_trunk_webrtc_modules_rtp__rtcp_source_forward__error__correction.cc) = 1b25416b992eb6ee12efae393070f33a2282b038 +SHA1 (patch-mozilla_media_webrtc_trunk_webrtc_modules_rtp__rtcp_source_rtp__utility.cc) = 562320eb4712a6f6ed1de1f411ca7c2d1ef7aa20 +SHA1 (patch-mozilla_media_webrtc_trunk_webrtc_modules_udp__transport_source_udp__transport__impl.cc) = 13a528e7a69b9dd47676851ee24745c833fa90d0 +SHA1 (patch-mozilla_media_webrtc_trunk_webrtc_modules_utility_source_rtp__dump__impl.cc) = 35742cad65dccf3ae97874d2743cb8ff2e708fc7 +SHA1 (patch-mozilla_media_webrtc_trunk_webrtc_modules_video__capture_device__info__impl.cc) = 42c2ef3c632782faec8827bd3509d6e129dfd96e +SHA1 (patch-mozilla_media_webrtc_trunk_webrtc_modules_video__capture_linux_device__info__linux.cc) = 3152b35d26da3372b15c1aee439c825c67ef1d1f +SHA1 (patch-mozilla_media_webrtc_trunk_webrtc_modules_video__capture_linux_video__capture__linux.cc) = 2063892c7d59824bbe339e48b992dd3805563b02 +SHA1 (patch-mozilla_media_webrtc_trunk_webrtc_modules_video__capture_video__capture.gypi) = 90804cd543dc76768fc69a15e1db9dc791dc3653 +SHA1 (patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_interface_asm__defines.h) = d7e284b0523373ab42491c26cc21764d6d38d9f0 +SHA1 (patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_interface_tick__util.h) = e7659c9a5dd6897b11bddb1774df3efe25014b43 +SHA1 (patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_atomic32__posix.cc) = e46aff2daa809a554c5cdeb07b58a1cfac495a45 +SHA1 (patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_condition__variable.cc) = f7e8069a04f01629ba48d405092366848bd42fa3 +SHA1 (patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_condition__variable__posix.cc) = 4229a4486a9319263a29905675708aa16a685c94 +SHA1 (patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_cpu.cc) = 21eee8e6fa516c2a7a51f52d9e59fc742c4fd3e0 +SHA1 (patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_cpu__info.cc) = a0762a60fc02b709949dfddd0950cf4757076b88 +SHA1 (patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_spreadsortlib_spreadsort.hpp) = fd8c2a801427e4354b759b2545a11f8acad4fdf6 +SHA1 (patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_thread__posix.cc) = 4906f36342f344b0782ec40679b8944ef78e7b13 +SHA1 (patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_trace__posix.cc) = 479e43bc5170994ef402cf04e90db0e34f5322f4 +SHA1 (patch-mozilla_media_webrtc_trunk_webrtc_typedefs.h) = bdafde0ea04820fed1d1619e21fdd4fbc0bd4bdb +SHA1 (patch-mozilla_media_webrtc_trunk_webrtc_video__engine_vie__defines.h) = a73f7f9e8a3bcdfd0469146700f2da6e2b187191 +SHA1 (patch-mozilla_media_webrtc_trunk_webrtc_voice__engine_voe__network__impl.cc) = 79bb0db726ee57bb494e253f5f40a0ddb79c391c +SHA1 (patch-mozilla_media_webrtc_trunk_webrtc_voice__engine_voice__engine__defines.h) = 9a74dd7cfeca4a8c5e7278c4c2971109a983b4f2 +SHA1 (patch-mozilla_media_webrtc_webrtc__config.gypi) = 04922f56a0fc6461f6010cba6bd6b3213fc481fd +SHA1 (patch-mozilla_netwerk_sctp_src_Makefile.in) = c83496f284a85b66e665a2933b5184baf61772bf +SHA1 (patch-mozilla_netwerk_sctp_src_netinet_sctp__os__userspace.h) = d7c6b4aaef2fcb3147332fa765cabf2a9da07a16 +SHA1 (patch-mozilla_netwerk_sctp_src_user__recv__thread.c) = c143363510a179c3c46e106dd8cd46718a7b1ac3 +SHA1 (patch-mozilla_netwerk_sctp_src_user__socketvar.h) = 52b2d2ac03a9fa6ccd92a8b4deacde9663a009a2 +SHA1 (patch-mozilla_ostream) = df8d3b64c2c570dd9c01f171963a9c8cf767ec07 +SHA1 (patch-mozilla_security_manager_ssl_src_nsNSSComponent.cpp) = fb67e2a387031f0849b62aa0e660396b65335bb1 +SHA1 (patch-mozilla_toolkit_library_Makefile.in) = e7915dacee2a0bd3983cafd421ffe55ed54a5874 +SHA1 (patch-mozilla_unwind.h) = 2346f089be37362401c27c4f5d6720345cc1316f +SHA1 (patch-mozilla_xpcom_Makefile.in) = ba0adbbcc32839efaa3933772574a12c2eb87e93 SHA1 (patch-mozilla_xpcom_ds_TimeStamp.h) = 3f751a097ec60ad743a3fa2d6ba9c3b36d633176 +SHA1 (patch-mozilla_xpcom_io_nsMultiplexInputStream.cpp) = 205b76e09e42a47a22885080e1378fbc98dd3476 +SHA1 (patch-mozilla_xpcom_reflect_xptcall_src_md_unix_xptcinvoke__gcc__x86__unix.cpp) = 2868370f4112bcb8da5ed879e661856949750fb9 SHA1 (patch-mozilla_xpcom_reflect_xptcall_src_md_unix_xptcinvoke__ppc__netbsd.cpp) = e6bdc6adc373dab89bd1ab9546db8fffd41cb38c -SHA1 (patch-mp) = ac7e10d3db7c388defc65ea3c094c1711266c881 +SHA1 (patch-mozilla_xpcom_reflect_xptcall_src_md_unix_xptcstubs__gcc__x86__unix.cpp) = bbdb627a4130b36e1512d7350f92012163067940 +SHA1 (patch-mozilla_xpcom_string_public_nsAlgorithm.h) = 90d1159982ef11d1ba6bfb01bfb64c0ce3cf8cd3 +SHA1 (patch-mp) = cfe0a82eed798455093f085d86fb9e061a59f73c SHA1 (patch-pa) = ef0de20c7c189e6f44b03df0e6d46eda23eee35b SHA1 (patch-pb) = 71d34b0854260f01b887bd2dfa3e7be762bd7c70 SHA1 (patch-pc) = b0537273e1ffe3bb5cd7c9e1fd8f375201d9c087 SHA1 (patch-pd) = 4b4e8df33f26f6964daa5dabb100dc000ed8c3cc SHA1 (patch-pg) = a92b11fa3250ef3bc630746a9cfa38859b42fc0d SHA1 (patch-rc) = e4dbdbb142869c84cc9a79d54b72352db4afdfc0 +SHA1 (patch-suite_confvars.sh) = 8de6c98cc740fe457b2827a264c7880c50ffadc3 SHA1 (patch-suite_installer_Makefile.in) = ec8d455118fa3f64762f91c32027d712b58f5ea5 SHA1 (patch-suite_installer_package-manifest.in) = 8e8b999bd7eca81da50e658eec584199522aee66 SHA1 (patch-toolkit_toolkit-tiers.mk) = 97c076180f7d481696af0a6951d5c3b5b5805945 diff --git a/www/seamonkey/hacks.mk b/www/seamonkey/hacks.mk index c7a7e6e1946..547e1b24555 100644 --- a/www/seamonkey/hacks.mk +++ b/www/seamonkey/hacks.mk @@ -1,6 +1,6 @@ -# $NetBSD: hacks.mk,v 1.4 2012/06/14 11:27:34 ryoon Exp $ +# $NetBSD: hacks.mk,v 1.5 2013/05/23 13:25:30 ryoon Exp $ -# workround for link of thunderbird-bin etc. -LDFLAGS+= -Wl,-rpath,${PREFIX}/lib/seamonkey +# workround for link of seamonkey-bin etc. +LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/seamonkey -.include "../../devel/xulrunner/hacks.mk" +.include "../../www/firefox/hacks.mk" diff --git a/www/seamonkey/patches/patch-aa b/www/seamonkey/patches/patch-aa index ced9ef9f8e2..5203200e705 100644 --- a/www/seamonkey/patches/patch-aa +++ b/www/seamonkey/patches/patch-aa @@ -1,8 +1,26 @@ -$NetBSD: patch-aa,v 1.14 2013/04/07 20:23:49 ryoon Exp $ +$NetBSD: patch-aa,v 1.15 2013/05/23 13:25:30 ryoon Exp $ ---- mozilla/configure.in.orig 2013-04-01 03:30:49.000000000 +0000 +--- mozilla/configure.in.orig 2013-05-03 03:07:49.000000000 +0000 +++ mozilla/configure.in -@@ -2130,6 +2130,9 @@ ia64*-hpux*) +@@ -1404,6 +1404,17 @@ if test "$GNU_CC"; then + CFLAGS=$_SAVE_CFLAGS + AC_SUBST(HAVE_TOOLCHAIN_SUPPORT_MSSSE3) + ++ # Check for -msse4.1 on $CC ++ AC_MSG_CHECKING([if toolchain supports -msse4.1 option]) ++ HAVE_TOOLCHAIN_SUPPORT_MSSE4_1= ++ _SAVE_CFLAGS=$CFLAGS ++ CFLAGS="$CFLAGS -msse4.1" ++ AC_TRY_COMPILE([asm ("pmulld %xmm6,%xmm0");],,AC_MSG_RESULT([yes]) ++ [HAVE_TOOLCHAIN_SUPPORT_MSSE4_1=1], ++ AC_MSG_RESULT([no])) ++ CFLAGS=$_SAVE_CFLAGS ++ AC_SUBST(HAVE_TOOLCHAIN_SUPPORT_MSSE4_1) ++ + # Turn on GNU-specific warnings: + # -Wall - turn on a lot of warnings + # -Wpointer-arith - good to have +@@ -2066,6 +2077,9 @@ ia64*-hpux*) if test -z "$MC"; then MC=mc.exe fi @@ -12,7 +30,24 @@ $NetBSD: patch-aa,v 1.14 2013/04/07 20:23:49 ryoon Exp $ ;; *-mingw*) DSO_CFLAGS= -@@ -3071,6 +3074,9 @@ dnl ==================================== +@@ -2848,6 +2862,7 @@ EOF + #pragma GCC visibility push(hidden) + #pragma GCC visibility push(default) + #include <string.h> ++#include <iterator> + #pragma GCC visibility pop + + __attribute__ ((visibility ("default"))) void Func() { +@@ -2856,7 +2871,7 @@ __attribute__ ((visibility ("default"))) + } + EOF + ac_cv_have_visibility_builtin_bug=no +- if ! ${CC-cc} ${CFLAGS} ${DSO_PIC_CFLAGS} ${DSO_LDOPTS} -O2 -S -o conftest.S conftest.c > /dev/null 2>&1 ; then ++ if ! ${CXX-c++} ${CXXFLAGS} ${DSO_PIC_CFLAGS} ${DSO_LDOPTS} -O2 -S -o conftest.S conftest.c > /dev/null 2>&1 ; then + ac_cv_have_visibility_builtin_bug=yes + else + if test `grep -c "@PLT" conftest.S` = 0; then +@@ -3018,6 +3033,9 @@ dnl ==================================== case $target in *-hpux11.*) ;; @@ -22,17 +57,17 @@ $NetBSD: patch-aa,v 1.14 2013/04/07 20:23:49 ryoon Exp $ *) AC_CHECK_LIB(c_r, gethostbyname_r) ;; -@@ -3372,6 +3378,9 @@ AC_CACHE_CHECK( +@@ -3319,6 +3337,9 @@ AC_CACHE_CHECK( #ifdef linux #define _BSD_SOURCE 1 #endif -+ #ifdef __NetBSD__ -+ #error use of global _res variable in threaded programs is not portable -+ #endif ++ #ifdef __NetBSD__ ++ #error use of global _res variable in threaded programs is not portable ++ #endif #include <resolv.h> ], [int foo = res_ninit(&_res);], -@@ -4042,6 +4051,14 @@ if test -n "$YASM"; then +@@ -3989,6 +4010,14 @@ if test -n "$YASM"; then _YASM_BUILD=` echo ${YASM_VERSION} | $AWK -F\. '{ print $4 }'` fi @@ -47,7 +82,43 @@ $NetBSD: patch-aa,v 1.14 2013/04/07 20:23:49 ryoon Exp $ if test -z "$SKIP_LIBRARY_CHECKS"; then dnl system JPEG support dnl ======================================================== -@@ -5326,8 +5343,8 @@ AC_SUBST(MOZ_WEBRTC_IN_LIBXUL) +@@ -4016,11 +4045,7 @@ if test "$MOZ_NATIVE_JPEG" = 1; then + #include <jpeglib.h> ], + [ #if JPEG_LIB_VERSION < $MOZJPEG + #error "Insufficient JPEG library version ($MOZJPEG required)." +- #endif +- #ifndef JCS_EXTENSIONS +- #error "libjpeg-turbo JCS_EXTENSIONS required" +- #endif +- ], ++ #endif ], + MOZ_NATIVE_JPEG=1, + AC_MSG_ERROR([Insufficient JPEG library version for --with-system-jpeg])) + fi +@@ -5212,7 +5237,11 @@ if test -n "$MOZ_WEBRTC"; then + dnl Make sure doesn't get matched by *-linux* + MOZ_WEBRTC= + ;; +- *-linux*|*-mingw*|*-darwin*) ++ *-netbsd*) ++ dnl Custom socketvar.h is not compatible with NetBSD. ++ MOZ_WEBRTC= ++ ;; ++ *-linux*|*-mingw*|*-darwin*|*-dragonfly*|*-freebsd*|*-openbsd*) + dnl Leave enabled + ;; + *) +@@ -5263,6 +5292,9 @@ if test -n "$MOZ_WEBRTC"; then + MOZ_VP8_ENCODER=1 + MOZ_VP8_ERROR_CONCEALMENT=1 + ++ dnl with libv4l2 we can support more cameras ++ PKG_CHECK_MODULES(MOZ_LIBV4L2, libv4l2) ++ + dnl OpenSLES is only available in Android 2.3 and later; we'll change this + dnl hard dependency to a dynamic load with graceful runtime failure before + dnl we make --enable-webrtc on by default in Android (bug 815905) +@@ -5299,8 +5331,8 @@ AC_SUBST(MOZ_WEBRTC_IN_LIBXUL) AC_SUBST(MOZ_SCTP) AC_SUBST(MOZ_SRTP) @@ -58,3 +129,77 @@ $NetBSD: patch-aa,v 1.14 2013/04/07 20:23:49 ryoon Exp $ MOZ_SAMPLE_TYPE_S16=1 AC_DEFINE(MOZ_SAMPLE_TYPE_S16) AC_SUBST(MOZ_SAMPLE_TYPE_S16) +@@ -5704,7 +5736,7 @@ MOZ_ALSA=) + + if test -n "$MOZ_ALSA"; then + AC_DEFINE(MOZ_CUBEB) +- PKG_CHECK_MODULES(MOZ_ALSA, alsa, , ++ PKG_CHECK_MODULES(MOZ_ALSA, alsa, MOZ_ALSA=1, + [echo "$MOZ_ALSA_PKG_ERRORS" + AC_MSG_ERROR([Need alsa for Ogg, Wave or WebM decoding on Linux. Disable with --disable-ogg --disable-wave --disable-webm. (On Ubuntu, you might try installing the package libasound2-dev.)])]) + fi +@@ -8311,16 +8343,26 @@ MOZ_ARG_DISABLE_BOOL(necko-wifi, + NECKO_WIFI=, + NECKO_WIFI=1) + +-if test "$OS_ARCH" = "OS2"; then +- dnl OS/2 implementation of Necko-WiFi support will be added in bug 506566 +- NECKO_WIFI= +-fi +-if test "$NECKO_WIFI" -a \ +- "$OS_ARCH" != "Linux" -a \ +- "$OS_ARCH" != "Darwin" -a \ +- "$OS_ARCH" != "SunOS" -a \ +- "$OS_ARCH" != "WINNT"; then +- AC_MSG_ERROR([Necko WiFi scanning not supported on your platform, use --disable-necko-wifi]) ++if test "$NECKO_WIFI"; then ++ case "$OS_TARGET" in ++ Android) ++ ;; ++ Darwin) ++ ;; ++ SunOS) ++ ;; ++ WINNT) ++ ;; ++ OS2) ++ dnl OS/2 implementation of Necko-WiFi support will be added in bug 506566 ++ NECKO_WIFI= ++ ;; ++ *) ++ if test -z "$MOZ_ENABLE_DBUS"; then ++ AC_MSG_ERROR([Necko WiFi scanning needs DBus on your platform, remove --disable-dbus or use --disable-necko-wifi]) ++ fi ++ ;; ++ esac + fi + + if test "$NECKO_WIFI"; then +@@ -8981,6 +9023,27 @@ elif test "${OS_TARGET}" = "Android"; th + fi + fi + ++# Keep libcubeb and audio_device backends in sync ++if test -n "$MOZ_ALSA"; then ++ EXTRA_GYP_DEFINES="$EXTRA_GYP_DEFINES -D include_alsa_audio=1" ++else ++ EXTRA_GYP_DEFINES="$EXTRA_GYP_DEFINES -D include_alsa_audio=0" ++fi ++if test -n "$MOZ_PULSEAUDIO"; then ++ EXTRA_GYP_DEFINES="$EXTRA_GYP_DEFINES -D include_pulse_audio=1" ++else ++ EXTRA_GYP_DEFINES="$EXTRA_GYP_DEFINES -D include_pulse_audio=0" ++fi ++ ++# Don't try to compile sse4.1 code if toolchain doesn't support ++if test -z "$HAVE_TOOLCHAIN_SUPPORT_MSSE4_1"; then ++ EXTRA_GYP_DEFINES="$EXTRA_GYP_DEFINES -D yuv_disable_asm=1" ++fi ++ ++if test -n "$MOZ_LIBV4L2_LIBS"; then ++ EXTRA_GYP_DEFINES="$EXTRA_GYP_DEFINES -D use_libv4l2=1" ++fi ++ + if test -n "$MOZ_WEBRTC"; then + AC_MSG_RESULT("generating WebRTC Makefiles...") + diff --git a/www/seamonkey/patches/patch-ab b/www/seamonkey/patches/patch-ab deleted file mode 100644 index ca19e2058fb..00000000000 --- a/www/seamonkey/patches/patch-ab +++ /dev/null @@ -1,22 +0,0 @@ -$NetBSD: patch-ab,v 1.17 2013/01/07 21:55:30 ryoon Exp $ - ---- mozilla/nsprpub/pr/include/md/_netbsd.h.orig 2012-11-18 10:19:49.000000000 +0000 -+++ mozilla/nsprpub/pr/include/md/_netbsd.h -@@ -47,7 +47,7 @@ - #define HAVE_DLL - #define USE_DLFCN - #define _PR_HAVE_SOCKADDR_LEN --#define _PR_NO_LARGE_FILES -+#define _PR_HAVE_LARGE_OFF_T - #define _PR_STAT_HAS_ST_ATIMESPEC - #define _PR_POLL_AVAILABLE - #define _PR_USE_POLL -@@ -75,6 +75,8 @@ - #define JB_SP_INDEX 2 - #elif defined(__mips__) - #define JB_SP_INDEX 4 -+#elif defined(__amd64__) -+#define JB_SP_INDEX 6 - #elif defined(__alpha__) - #define JB_SP_INDEX 34 - #elif defined(__arm32__) diff --git a/www/seamonkey/patches/patch-ac b/www/seamonkey/patches/patch-ac deleted file mode 100644 index 4c07c0ff2a5..00000000000 --- a/www/seamonkey/patches/patch-ac +++ /dev/null @@ -1,82 +0,0 @@ -$NetBSD: patch-ac,v 1.13 2013/01/07 21:55:30 ryoon Exp $ - ---- mozilla/nsprpub/configure.in.orig 2012-11-18 10:19:49.000000000 +0000 -+++ mozilla/nsprpub/configure.in -@@ -36,7 +36,7 @@ OBJDIR_NAME=. - OBJDIR_SUFFIX=OBJ - NSINSTALL='$(MOD_DEPTH)/config/$(OBJDIR_NAME)/nsinstall' - NOSUCHFILE=/no-such-file --LIBNSPR='-L$(dist_libdir) -lnspr$(MOD_MAJOR_VERSION)' -+LIBNSPR='-Wl,-R${prefix}/lib/${MOZILLA_PKG_NAME} -L$(dist_libdir) -lnspr$(MOD_MAJOR_VERSION)' - LIBPLC='-L$(dist_libdir) -lplc$(MOD_MAJOR_VERSION)' - CYGWIN_WRAPPER= - MACOS_SDK_DIR= -@@ -1519,6 +1519,33 @@ tools are selected during the Xcode/Deve - DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)' - MDCPUCFG_H=_freebsd.cfg - PR_MD_CSRCS=freebsd.c -+ if test "$LIBRUNPATH"; then -+ DSO_LDOPTS="$DSO_LDOPTS -Wl,-R$LIBRUNPATH" -+ fi -+ ;; -+ -+*-dragonfly*) -+ if test -z "$USE_NSPR_THREADS"; then -+ USE_PTHREADS=1 -+ fi -+ AC_DEFINE(XP_UNIX) -+ AC_DEFINE(HAVE_BSD_FLOCK) -+ AC_DEFINE(HAVE_SOCKLEN_T) -+ CFLAGS="$CFLAGS $(DSO_CFLAGS) -ansi -Wall" -+ MOZ_OBJFORMAT=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` -+ if test "$MOZ_OBJFORMAT" = "elf"; then -+ DLL_SUFFIX=so -+ else -+ DLL_SUFFIX=so.1.0 -+ fi -+ MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@' -+ DSO_CFLAGS=-fPIC -+ DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)' -+ MDCPUCFG_H=_dragonfly.cfg -+ PR_MD_CSRCS=freebsd.c -+ if test "$LIBRUNPATH"; then -+ DSO_LDOPTS="$DSO_LDOPTS -Wl,-R$LIBRUNPATH" -+ fi - ;; - - *-hpux*) -@@ -2110,6 +2137,7 @@ mips-nec-sysv*) - AC_DEFINE(XP_UNIX) - AC_DEFINE(NETBSD) - AC_DEFINE(HAVE_BSD_FLOCK) -+ AC_DEFINE(HAVE_SOCKLEN_T) - if test -z "$USE_NSPR_THREADS"; then - USE_PTHREADS=1 - fi -@@ -2918,7 +2946,7 @@ if test -n "$USE_PTHREADS"; then - if test -z "`egrep -i '(unrecognize|unknown)' conftest.out | grep pthread`" && test -z "`egrep -i '(error|incorrect)' conftest.out`" ; then - ac_cv_have_dash_pthread=yes - case "$target_os" in -- freebsd*) -+ freebsd* | dragonfly*) - # Freebsd doesn't use -pthread for compiles, it uses them for linking - ;; - *) -@@ -2956,7 +2984,7 @@ if test -n "$USE_PTHREADS"; then - _PTHREAD_LDFLAGS= - fi - ;; -- *-freebsd*) -+ *-freebsd* | *-dragonfly*) - AC_DEFINE(_REENTRANT) - AC_DEFINE(_THREAD_SAFE) - dnl -pthread links in -lc_r, so don't specify it explicitly. -@@ -3037,7 +3065,7 @@ case "$target" in - AC_DEFINE(_PR_NEED_PTHREAD_INIT) - fi - ;; --*-freebsd*) -+*-freebsd* | *-dragonfly*) - if test -n "$USE_NSPR_THREADS"; then - AC_DEFINE(_PR_LOCAL_THREADS_ONLY) - fi diff --git a/www/seamonkey/patches/patch-ae b/www/seamonkey/patches/patch-ae deleted file mode 100644 index 87ea793c7aa..00000000000 --- a/www/seamonkey/patches/patch-ae +++ /dev/null @@ -1,58 +0,0 @@ -$NetBSD: patch-ae,v 1.12 2013/01/07 21:55:30 ryoon Exp $ - ---- mozilla/nsprpub/pr/src/misc/prnetdb.c.orig 2012-11-18 10:19:49.000000000 +0000 -+++ mozilla/nsprpub/pr/src/misc/prnetdb.c -@@ -73,7 +73,7 @@ PRLock *_pr_dnsLock = NULL; - || defined(AIX4_3_PLUS) || (defined(AIX) && defined(_THREAD_SAFE)) \ - || (defined(HPUX10_10) && defined(_REENTRANT)) \ - || (defined(HPUX10_20) && defined(_REENTRANT)) \ -- || defined(OPENBSD) -+ || defined(OPENBSD) || defined(NETBSD) - #define _PR_HAVE_GETPROTO_R - #define _PR_HAVE_GETPROTO_R_INT - #endif -@@ -83,6 +83,11 @@ PRLock *_pr_dnsLock = NULL; - #define _PR_HAVE_5_ARG_GETPROTO_R - #endif - -+#if __DragonFly_version >= 200202 -+#define _PR_HAVE_GETPROTO_R -+#define _PR_HAVE_5_ARG_GETPROTO_R -+#endif -+ - /* BeOS has glibc but not the glibc-style getprotobyxxx_r functions. */ - #if (defined(__GLIBC__) && __GLIBC__ >= 2 && !defined(XP_BEOS)) - #define _PR_HAVE_GETPROTO_R -@@ -300,7 +305,7 @@ _pr_QueryNetIfs(void) - } - - #elif (defined(DARWIN) && defined(HAVE_GETIFADDRS)) || defined(FREEBSD) \ -- || defined(NETBSD) || defined(OPENBSD) -+ || defined(NETBSD) || defined(OPENBSD) || defined(DRAGONFLY) - - /* - * Use the BSD getifaddrs function. -@@ -2044,6 +2049,11 @@ PR_IMPLEMENT(PRAddrInfo *) PR_GetAddrInf - */ - hints.ai_socktype = SOCK_STREAM; - -+/* NetBSD >= 2.99.9 has a thread-safe resolver */ -+#if defined(__NetBSD_Version__) && __NetBSD_Version__ < 299000900 -+ LOCK_DNS(); -+#endif -+ - rv = GETADDRINFO(hostname, NULL, &hints, &res); - #ifdef AI_ADDRCONFIG - if (rv == EAI_BADFLAGS && (hints.ai_flags & AI_ADDRCONFIG)) { -@@ -2051,6 +2061,11 @@ PR_IMPLEMENT(PRAddrInfo *) PR_GetAddrInf - rv = GETADDRINFO(hostname, NULL, &hints, &res); - } - #endif -+ -+#if defined(__NetBSD_Version__) && __NetBSD_Version__ < 299000900 -+ UNLOCK_DNS(); -+#endif -+ - if (rv == 0) - return (PRAddrInfo *) res; - diff --git a/www/seamonkey/patches/patch-ag b/www/seamonkey/patches/patch-ag deleted file mode 100644 index 2df2c555cba..00000000000 --- a/www/seamonkey/patches/patch-ag +++ /dev/null @@ -1,31 +0,0 @@ -$NetBSD: patch-ag,v 1.10 2013/01/07 21:55:30 ryoon Exp $ - ---- mozilla/nsprpub/pr/include/md/_freebsd.h.orig 2012-11-18 10:19:49.000000000 +0000 -+++ mozilla/nsprpub/pr/include/md/_freebsd.h -@@ -47,7 +47,7 @@ - #define _PR_HAVE_LARGE_OFF_T - - #if defined(_PR_PTHREADS) --#if __FreeBSD_version >= 400008 -+#if defined(__DragonFly__) || __FreeBSD_version >= 400008 - /* - * libc_r before this version of FreeBSD doesn't have poll(). - * Although libc has poll(), it is not thread-safe so we can't -@@ -56,7 +56,7 @@ - #define _PR_POLL_AVAILABLE - #endif - #else --#if __FreeBSD_version >= 300000 -+#if defined(__DragonFly__) || __FreeBSD_version >= 300000 - #define _PR_POLL_AVAILABLE - #define _PR_USE_POLL - #endif -@@ -65,7 +65,7 @@ - #define _PR_HAVE_SYSV_SEMAPHORES - #define PR_HAVE_SYSV_NAMED_SHARED_MEMORY - --#if __FreeBSD_version >= 400014 -+#if defined(__DragonFly__) || __FreeBSD_version >= 400014 - #define _PR_INET6 - #define _PR_HAVE_INET_NTOP - #define _PR_HAVE_GETHOSTBYNAME2 diff --git a/www/seamonkey/patches/patch-ai b/www/seamonkey/patches/patch-ai deleted file mode 100644 index 2b241d1d256..00000000000 --- a/www/seamonkey/patches/patch-ai +++ /dev/null @@ -1,2 +0,0 @@ -$NetBSD: patch-ai,v 1.11 2013/04/07 20:23:49 ryoon Exp $ - diff --git a/www/seamonkey/patches/patch-as b/www/seamonkey/patches/patch-as index 8edf3747b39..44c0aa49a8a 100644 --- a/www/seamonkey/patches/patch-as +++ b/www/seamonkey/patches/patch-as @@ -1,10 +1,28 @@ -$NetBSD: patch-as,v 1.11 2013/01/07 21:55:30 ryoon Exp $ +$NetBSD: patch-as,v 1.12 2013/05/23 13:25:30 ryoon Exp $ -Treat DragonFly like FreeBSD. +* Fix _res is not supported for multi-threaded programs. error. +* Treat DragonFly like FreeBSD. ---- mozilla/js/src/configure.in.orig 2012-11-18 10:19:38.000000000 +0000 +--- mozilla/js/src/configure.in.orig 2013-05-03 03:07:57.000000000 +0000 +++ mozilla/js/src/configure.in -@@ -2701,7 +2701,7 @@ then +@@ -2399,6 +2399,7 @@ EOF + #pragma GCC visibility push(hidden) + #pragma GCC visibility push(default) + #include <string.h> ++#include <iterator> + #pragma GCC visibility pop + + __attribute__ ((visibility ("default"))) void Func() { +@@ -2407,7 +2408,7 @@ __attribute__ ((visibility ("default"))) + } + EOF + ac_cv_have_visibility_builtin_bug=no +- if ! ${CC-cc} ${CFLAGS} ${DSO_PIC_CFLAGS} ${DSO_LDOPTS} -O2 -S -o conftest.S conftest.c > /dev/null 2>&1 ; then ++ if ! ${CXX-c++} ${CXXFLAGS} ${DSO_PIC_CFLAGS} ${DSO_LDOPTS} -O2 -S -o conftest.S conftest.c > /dev/null 2>&1 ; then + ac_cv_have_visibility_builtin_bug=yes + else + if test `grep -c "@PLT" conftest.S` = 0; then +@@ -2628,7 +2629,7 @@ then fi case "$target" in @@ -13,7 +31,17 @@ Treat DragonFly like FreeBSD. AC_DEFINE(_REENTRANT) AC_DEFINE(_THREAD_SAFE) dnl -pthread links in -lpthread, so don't specify it explicitly. -@@ -3545,7 +3545,7 @@ if test "$MOZ_MEMORY"; then +@@ -2711,6 +2712,9 @@ AC_CACHE_CHECK( + #ifdef linux + #define _BSD_SOURCE 1 + #endif ++ #ifdef __NetBSD__ ++ #error use of global _res variable in threaded programs is not portable ++ #endif + #include <resolv.h> + ], + [int foo = res_ninit(&_res);], +@@ -3486,7 +3490,7 @@ if test "$MOZ_MEMORY"; then *-darwin*) AC_DEFINE(MOZ_MEMORY_DARWIN) ;; diff --git a/www/seamonkey/patches/patch-at b/www/seamonkey/patches/patch-at deleted file mode 100644 index 9196e3e56c8..00000000000 --- a/www/seamonkey/patches/patch-at +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-at,v 1.14 2013/01/07 21:55:30 ryoon Exp $ - ---- mozilla/gfx/qcms/qcmstypes.h.orig 2012-11-18 10:19:36.000000000 +0000 -+++ mozilla/gfx/qcms/qcmstypes.h -@@ -11,6 +11,8 @@ - #if defined (__SVR4) && defined (__sun) - /* int_types.h gets included somehow, so avoid redefining the types differently */ - #include <sys/int_types.h> -+#elif defined(__NetBSD__) || defined(__DragonFly__) || defined(__FreeBSD__) -+#include <stdint.h> - #elif defined (_AIX) - #include <sys/types.h> - #elif defined(__OpenBSD__) diff --git a/www/seamonkey/patches/patch-au b/www/seamonkey/patches/patch-au index 8d05ee981e0..f0fed5d264c 100644 --- a/www/seamonkey/patches/patch-au +++ b/www/seamonkey/patches/patch-au @@ -1,10 +1,10 @@ -$NetBSD: patch-au,v 1.9 2013/01/07 21:55:30 ryoon Exp $ +$NetBSD: patch-au,v 1.10 2013/05/23 13:25:30 ryoon Exp $ - Fix device name on NetBSD - SOUND_VERSION just isn't a reliable way to detect features supported by particular OSS implementation. ---- mozilla/media/libsydneyaudio/src/sydney_audio_oss.c.orig 2012-11-18 10:19:46.000000000 +0000 +--- mozilla/media/libsydneyaudio/src/sydney_audio_oss.c.orig 2013-05-03 03:08:05.000000000 +0000 +++ mozilla/media/libsydneyaudio/src/sydney_audio_oss.c @@ -23,7 +23,7 @@ // support only versions newer than 3.6.1 @@ -28,3 +28,14 @@ $NetBSD: patch-au,v 1.9 2013/01/07 21:55:30 ryoon Exp $ s->output_fd = -1; s->thread_id = 0; s->playing = 0; +@@ -446,6 +451,10 @@ static void audio_callback(void* data) + printf("!"); /* not enough audio data */ + #endif + bytes = bytes-bytes_to_copy; ++ struct timespec ts = {0, 1000000}; ++ pthread_mutex_unlock(&s->mutex); ++ nanosleep(&ts, NULL); ++ pthread_mutex_lock(&s->mutex); + break; + } + free(s->bl_head); diff --git a/www/seamonkey/patches/patch-av b/www/seamonkey/patches/patch-av deleted file mode 100644 index bc49cf16e6c..00000000000 --- a/www/seamonkey/patches/patch-av +++ /dev/null @@ -1,40 +0,0 @@ -$NetBSD: patch-av,v 1.8 2013/01/07 21:55:30 ryoon Exp $ - ---- mozilla/xulrunner/app/nsXULRunnerApp.cpp.orig 2012-11-18 10:19:54.000000000 +0000 -+++ mozilla/xulrunner/app/nsXULRunnerApp.cpp -@@ -6,6 +6,27 @@ - #include "nsXPCOMGlue.h" - #include <stdio.h> - #include <stdlib.h> -+#include <sys/resource.h> -+/* -+ * On netbsd-4, ulimit -n is 64 by default; too few for us. -+ */ -+static void netbsd_fixrlimit(void) { -+ struct rlimit rlp; -+ if (getrlimit(RLIMIT_NOFILE, &rlp) == -1) { -+ fprintf(stderr, "warning: getrlimit failed\n"); -+ return; -+ } -+ if (rlp.rlim_cur >= 512) -+ return; -+ if (rlp.rlim_max < 512) { -+ fprintf(stderr, "warning: hard limit of 'ulimit -n' too low\n"); -+ rlp.rlim_cur = rlp.rlim_max; -+ } -+ else -+ rlp.rlim_cur = 512; -+ if (setrlimit(RLIMIT_NOFILE, &rlp) == -1) -+ fprintf(stderr, "warning: setrlimit failed\n"); -+} - #ifdef XP_WIN - #include <windows.h> - #define snprintf _snprintf -@@ -251,6 +272,7 @@ private: - - int main(int argc, char* argv[]) - { -+ netbsd_fixrlimit(); - char exePath[MAXPATHLEN]; - nsresult rv = mozilla::BinaryPath::Get(argv[0], exePath); - if (NS_FAILED(rv)) { diff --git a/www/seamonkey/patches/patch-aw b/www/seamonkey/patches/patch-aw deleted file mode 100644 index 9127534aefc..00000000000 --- a/www/seamonkey/patches/patch-aw +++ /dev/null @@ -1,34 +0,0 @@ -$NetBSD: patch-aw,v 1.10 2013/01/07 21:55:30 ryoon Exp $ - ---- mozilla/xulrunner/stub/nsXULStub.cpp.orig 2012-11-18 10:19:54.000000000 +0000 -+++ mozilla/xulrunner/stub/nsXULStub.cpp -@@ -11,6 +11,29 @@ - #include "nsIFile.h" - - #include <stdarg.h> -+#if defined(__NetBSD__) -+#include <sys/resource.h> -+/* -+ * On netbsd-4, ulimit -n is 64 by default; too few for us. -+ */ -+static void netbsd_fixrlimit(void) { -+ struct rlimit rlp; -+ if (getrlimit(RLIMIT_NOFILE, &rlp) == -1) { -+ fprintf(stderr, "warning: getrlimit failed\n"); -+ return; -+ } -+ if (rlp.rlim_cur >= 512) -+ return; -+ if (rlp.rlim_max < 512) { -+ fprintf(stderr, "warning: hard limit of 'ulimit -n' too low\n"); -+ rlp.rlim_cur = rlp.rlim_max; -+ } -+ else -+ rlp.rlim_cur = 512; -+ if (setrlimit(RLIMIT_NOFILE, &rlp) == -1) -+ fprintf(stderr, "warning: setrlimit failed\n"); -+} -+#endif - - #ifdef XP_WIN - #include <windows.h> diff --git a/www/seamonkey/patches/patch-ay b/www/seamonkey/patches/patch-ay deleted file mode 100644 index 2fdc3e11cbe..00000000000 --- a/www/seamonkey/patches/patch-ay +++ /dev/null @@ -1,2 +0,0 @@ -$NetBSD: patch-ay,v 1.10 2013/04/07 20:23:49 ryoon Exp $ - diff --git a/www/seamonkey/patches/patch-directory_c-sdk_ldap_include_portable.h b/www/seamonkey/patches/patch-ldap_sdks_c-sdk_ldap_include_portable.h index 138d2572e8f..657de93cd94 100644 --- a/www/seamonkey/patches/patch-directory_c-sdk_ldap_include_portable.h +++ b/www/seamonkey/patches/patch-ldap_sdks_c-sdk_ldap_include_portable.h @@ -1,4 +1,4 @@ -$NetBSD: patch-directory_c-sdk_ldap_include_portable.h,v 1.9 2012/11/23 17:28:49 ryoon Exp $ +$NetBSD: patch-ldap_sdks_c-sdk_ldap_include_portable.h,v 1.1 2013/05/23 13:25:30 ryoon Exp $ --- ldap/sdks/c-sdk/ldap/include/portable.h.orig 2012-11-18 10:20:06.000000000 +0000 +++ ldap/sdks/c-sdk/ldap/include/portable.h diff --git a/www/seamonkey/patches/patch-mail_app_nsMailApp.cpp b/www/seamonkey/patches/patch-mail_app_nsMailApp.cpp deleted file mode 100644 index b178fd0740e..00000000000 --- a/www/seamonkey/patches/patch-mail_app_nsMailApp.cpp +++ /dev/null @@ -1,39 +0,0 @@ -$NetBSD: patch-mail_app_nsMailApp.cpp,v 1.6 2013/01/07 21:55:30 ryoon Exp $ - ---- mail/app/nsMailApp.cpp.orig 2012-11-18 10:14:23.000000000 +0000 -+++ mail/app/nsMailApp.cpp -@@ -12,6 +12,26 @@ - #include <sys/time.h> - #include <sys/resource.h> - #endif -+/* -+ * On netbsd-4, ulimit -n is 64 by default; too few for us. -+ */ -+static void netbsd_fixrlimit(void) { -+ struct rlimit rlp; -+ if (getrlimit(RLIMIT_NOFILE, &rlp) == -1) { -+ fprintf(stderr, "warning: getrlimit failed\n"); -+ return; -+ } -+ if (rlp.rlim_cur >= 512) -+ return; -+ if (rlp.rlim_max < 512) { -+ fprintf(stderr, "warning: hard limit of 'ulimit -n' too low\n"); -+ rlp.rlim_cur = rlp.rlim_max; -+ } -+ else -+ rlp.rlim_cur = 512; -+ if (setrlimit(RLIMIT_NOFILE, &rlp) == -1) -+ fprintf(stderr, "warning: setrlimit failed\n"); -+ } - - #ifdef XP_MACOSX - #include "MacQuirks.h" -@@ -115,6 +135,7 @@ static int do_main(const char *exePath, - - int main(int argc, char* argv[]) - { -+ netbsd_fixrlimit(); - char exePath[MAXPATHLEN]; - - #ifdef XP_MACOSX diff --git a/www/seamonkey/patches/patch-mb b/www/seamonkey/patches/patch-mb index ef01a14ebf8..9336b5385bf 100644 --- a/www/seamonkey/patches/patch-mb +++ b/www/seamonkey/patches/patch-mb @@ -1,6 +1,6 @@ -$NetBSD: patch-mb,v 1.9 2013/02/23 23:54:03 ryoon Exp $ +$NetBSD: patch-mb,v 1.10 2013/05/23 13:25:30 ryoon Exp $ ---- mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in.orig 2013-02-18 04:06:50.000000000 +0000 +--- mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in.orig 2013-05-03 03:08:15.000000000 +0000 +++ mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in @@ -50,7 +50,7 @@ endif endif @@ -16,7 +16,7 @@ $NetBSD: patch-mb,v 1.9 2013/02/23 23:54:03 ryoon Exp $ # Migrate other platforms here after testing # -ifneq (,$(filter Linux FreeBSD GNU_%,$(OS_ARCH))) -+ifneq (,$(filter Linux FreeBSD NetBSD OpenBSD GNU_%,$(OS_ARCH))) ++ifneq (,$(filter Linux FreeBSD DragonFly NetBSD OpenBSD GNU_%,$(OS_ARCH))) # Linux/x86-64 ifeq (x86_64,$(OS_TEST)) CPPSRCS := xptcinvoke_x86_64_unix.cpp xptcstubs_x86_64_linux.cpp diff --git a/www/seamonkey/patches/patch-me b/www/seamonkey/patches/patch-me index 97cd2c7114a..faedab72b84 100644 --- a/www/seamonkey/patches/patch-me +++ b/www/seamonkey/patches/patch-me @@ -1,7 +1,6 @@ -$NetBSD: patch-me,v 1.10 2013/01/07 21:55:30 ryoon Exp $ +$NetBSD: patch-me,v 1.11 2013/05/23 13:25:30 ryoon Exp $ Add DragonFly support. -Disable assembly routines in freebl on Linux (PR pkg/46056) --- mozilla/security/nss/lib/freebl/Makefile.orig 2012-11-18 10:19:50.000000000 +0000 +++ mozilla/security/nss/lib/freebl/Makefile diff --git a/www/seamonkey/patches/patch-mozilla_config_system-headers b/www/seamonkey/patches/patch-mozilla_config_system-headers new file mode 100644 index 00000000000..56df3e06bc4 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_config_system-headers @@ -0,0 +1,10 @@ +$NetBSD: patch-mozilla_config_system-headers,v 1.6 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/config/system-headers.orig 2013-05-03 03:07:49.000000000 +0000 ++++ mozilla/config/system-headers +@@ -1126,3 +1126,5 @@ sys/thr.h + sys/user.h + kvm.h + spawn.h ++err.h ++xlocale.h diff --git a/www/seamonkey/patches/patch-mozilla_content_media_AudioStream.cpp b/www/seamonkey/patches/patch-mozilla_content_media_AudioStream.cpp new file mode 100644 index 00000000000..c535096e67a --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_content_media_AudioStream.cpp @@ -0,0 +1,13 @@ +$NetBSD: patch-mozilla_content_media_AudioStream.cpp,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/content/media/AudioStream.cpp.orig 2013-05-03 03:07:50.000000000 +0000 ++++ mozilla/content/media/AudioStream.cpp +@@ -314,7 +314,7 @@ nsresult NativeAudioStream::Init(int32_t + mChannels = aNumChannels; + + if (sa_stream_create_pcm(reinterpret_cast<sa_stream_t**>(&mAudioHandle), +- NULL, ++ "Mozilla", + SA_MODE_WRONLY, + SA_PCM_FORMAT_S16_NE, + aRate, diff --git a/www/seamonkey/patches/patch-mozilla_extensions_auth_nsAuthGSSAPI.cpp b/www/seamonkey/patches/patch-mozilla_extensions_auth_nsAuthGSSAPI.cpp new file mode 100644 index 00000000000..7213aba9db9 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_extensions_auth_nsAuthGSSAPI.cpp @@ -0,0 +1,14 @@ +$NetBSD: patch-mozilla_extensions_auth_nsAuthGSSAPI.cpp,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/extensions/auth/nsAuthGSSAPI.cpp.orig 2013-05-03 03:07:54.000000000 +0000 ++++ mozilla/extensions/auth/nsAuthGSSAPI.cpp +@@ -39,6 +39,9 @@ typedef KLStatus (*KLCacheHasValidTicket + #endif + + #if defined(HAVE_RES_NINIT) ++#include <sys/types.h> ++#include <netinet/in.h> ++#include <arpa/nameser.h> + #include <resolv.h> + #endif + diff --git a/www/seamonkey/patches/patch-mozilla_image_decoders_nsJPEGDecoder.cpp b/www/seamonkey/patches/patch-mozilla_image_decoders_nsJPEGDecoder.cpp new file mode 100644 index 00000000000..68aaaacb9dd --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_image_decoders_nsJPEGDecoder.cpp @@ -0,0 +1,363 @@ +$NetBSD: patch-mozilla_image_decoders_nsJPEGDecoder.cpp,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/image/decoders/nsJPEGDecoder.cpp.orig 2013-05-03 03:07:56.000000000 +0000 ++++ mozilla/image/decoders/nsJPEGDecoder.cpp +@@ -19,13 +19,28 @@ + + extern "C" { + #include "iccjpeg.h" +-} + ++#ifdef JCS_EXTENSIONS + #if defined(IS_BIG_ENDIAN) + #define MOZ_JCS_EXT_NATIVE_ENDIAN_XRGB JCS_EXT_XRGB + #else + #define MOZ_JCS_EXT_NATIVE_ENDIAN_XRGB JCS_EXT_BGRX + #endif ++#else ++/* Colorspace conversion (copied from jpegint.h) */ ++struct jpeg_color_deconverter { ++ JMETHOD(void, start_pass, (j_decompress_ptr cinfo)); ++ JMETHOD(void, color_convert, (j_decompress_ptr cinfo, ++ JSAMPIMAGE input_buf, JDIMENSION input_row, ++ JSAMPARRAY output_buf, int num_rows)); ++}; ++ ++METHODDEF(void) ++ycc_rgb_convert_argb (j_decompress_ptr cinfo, ++ JSAMPIMAGE input_buf, JDIMENSION input_row, ++ JSAMPARRAY output_buf, int num_rows); ++#endif ++} + + static void cmyk_convert_rgb(JSAMPROW row, JDIMENSION width); + +@@ -338,6 +353,7 @@ nsJPEGDecoder::WriteInternal(const char + case JCS_GRAYSCALE: + case JCS_RGB: + case JCS_YCbCr: ++#ifdef JCS_EXTENSIONS + // if we're not color managing we can decode directly to + // MOZ_JCS_EXT_NATIVE_ENDIAN_XRGB + if (mCMSMode != eCMSMode_All) { +@@ -346,6 +362,9 @@ nsJPEGDecoder::WriteInternal(const char + } else { + mInfo.out_color_space = JCS_RGB; + } ++#else ++ mInfo.out_color_space = JCS_RGB; ++#endif + break; + case JCS_CMYK: + case JCS_YCCK: +@@ -413,6 +432,15 @@ nsJPEGDecoder::WriteInternal(const char + return; /* I/O suspension */ + } + ++#ifndef JCS_EXTENSIONS ++ /* Force to use our YCbCr to Packed RGB converter when possible */ ++ if (!mTransform && (mCMSMode != eCMSMode_All) && ++ mInfo.jpeg_color_space == JCS_YCbCr && mInfo.out_color_space == JCS_RGB) { ++ /* Special case for the most common case: transform from YCbCr direct into packed ARGB */ ++ mInfo.out_color_components = 4; /* Packed ARGB pixels are always 4 bytes...*/ ++ mInfo.cconvert->color_convert = ycc_rgb_convert_argb; ++ } ++#endif + + /* If this is a progressive JPEG ... */ + mState = mInfo.buffered_image ? JPEG_DECOMPRESS_PROGRESSIVE : JPEG_DECOMPRESS_SEQUENTIAL; +@@ -558,7 +586,11 @@ nsJPEGDecoder::OutputScanlines(bool* sus + uint32_t *imageRow = ((uint32_t*)mImageData) + + (mInfo.output_scanline * mInfo.output_width); + ++#ifdef JCS_EXTENSIONS + if (mInfo.out_color_space == MOZ_JCS_EXT_NATIVE_ENDIAN_XRGB) { ++#else ++ if (mInfo.cconvert->color_convert == ycc_rgb_convert_argb) { ++#endif + /* Special case: scanline will be directly converted into packed ARGB */ + if (jpeg_read_scanlines(&mInfo, (JSAMPARRAY)&imageRow, 1) != 1) { + *suspend = true; /* suspend */ +@@ -868,6 +900,282 @@ term_source (j_decompress_ptr jd) + } // namespace mozilla + + ++#ifndef JCS_EXTENSIONS ++/**************** YCbCr -> Cairo's RGB24/ARGB32 conversion: most common case **************/ ++ ++/* ++ * YCbCr is defined per CCIR 601-1, except that Cb and Cr are ++ * normalized to the range 0..MAXJSAMPLE rather than -0.5 .. 0.5. ++ * The conversion equations to be implemented are therefore ++ * R = Y + 1.40200 * Cr ++ * G = Y - 0.34414 * Cb - 0.71414 * Cr ++ * B = Y + 1.77200 * Cb ++ * where Cb and Cr represent the incoming values less CENTERJSAMPLE. ++ * (These numbers are derived from TIFF 6.0 section 21, dated 3-June-92.) ++ * ++ * To avoid floating-point arithmetic, we represent the fractional constants ++ * as integers scaled up by 2^16 (about 4 digits precision); we have to divide ++ * the products by 2^16, with appropriate rounding, to get the correct answer. ++ * Notice that Y, being an integral input, does not contribute any fraction ++ * so it need not participate in the rounding. ++ * ++ * For even more speed, we avoid doing any multiplications in the inner loop ++ * by precalculating the constants times Cb and Cr for all possible values. ++ * For 8-bit JSAMPLEs this is very reasonable (only 256 entries per table); ++ * for 12-bit samples it is still acceptable. It's not very reasonable for ++ * 16-bit samples, but if you want lossless storage you shouldn't be changing ++ * colorspace anyway. ++ * The Cr=>R and Cb=>B values can be rounded to integers in advance; the ++ * values for the G calculation are left scaled up, since we must add them ++ * together before rounding. ++ */ ++ ++#define SCALEBITS 16 /* speediest right-shift on some machines */ ++ ++/* Use static tables for color processing. */ ++/* Four tables, each 256 entries of 4 bytes totals 4K which is not bad... */ ++ ++const int Cr_r_tab[(MAXJSAMPLE+1) * sizeof(int)] ={ ++ -0xb3, -0xb2, -0xb1, -0xaf, -0xae, -0xac, ++ -0xab, -0xaa, -0xa8, -0xa7, -0xa5, -0xa4, ++ -0xa3, -0xa1, -0xa0, -0x9e, -0x9d, -0x9c, ++ -0x9a, -0x99, -0x97, -0x96, -0x95, -0x93, ++ -0x92, -0x90, -0x8f, -0x8e, -0x8c, -0x8b, ++ -0x89, -0x88, -0x87, -0x85, -0x84, -0x82, ++ -0x81, -0x80, -0x7e, -0x7d, -0x7b, -0x7a, ++ -0x79, -0x77, -0x76, -0x74, -0x73, -0x72, ++ -0x70, -0x6f, -0x6d, -0x6c, -0x6b, -0x69, ++ -0x68, -0x66, -0x65, -0x64, -0x62, -0x61, ++ -0x5f, -0x5e, -0x5d, -0x5b, -0x5a, -0x58, ++ -0x57, -0x56, -0x54, -0x53, -0x51, -0x50, ++ -0x4f, -0x4d, -0x4c, -0x4a, -0x49, -0x48, ++ -0x46, -0x45, -0x43, -0x42, -0x40, -0x3f, ++ -0x3e, -0x3c, -0x3b, -0x39, -0x38, -0x37, ++ -0x35, -0x34, -0x32, -0x31, -0x30, -0x2e, ++ -0x2d, -0x2b, -0x2a, -0x29, -0x27, -0x26, ++ -0x24, -0x23, -0x22, -0x20, -0x1f, -0x1d, ++ -0x1c, -0x1b, -0x19, -0x18, -0x16, -0x15, ++ -0x14, -0x12, -0x11, -0x0f, -0x0e, -0x0d, ++ -0x0b, -0x0a, -0x08, -0x07, -0x06, -0x04, ++ -0x03, -0x01, 0x00, 0x01, 0x03, 0x04, ++ 0x06, 0x07, 0x08, 0x0a, 0x0b, 0x0d, ++ 0x0e, 0x0f, 0x11, 0x12, 0x14, 0x15, ++ 0x16, 0x18, 0x19, 0x1b, 0x1c, 0x1d, ++ 0x1f, 0x20, 0x22, 0x23, 0x24, 0x26, ++ 0x27, 0x29, 0x2a, 0x2b, 0x2d, 0x2e, ++ 0x30, 0x31, 0x32, 0x34, 0x35, 0x37, ++ 0x38, 0x39, 0x3b, 0x3c, 0x3e, 0x3f, ++ 0x40, 0x42, 0x43, 0x45, 0x46, 0x48, ++ 0x49, 0x4a, 0x4c, 0x4d, 0x4f, 0x50, ++ 0x51, 0x53, 0x54, 0x56, 0x57, 0x58, ++ 0x5a, 0x5b, 0x5d, 0x5e, 0x5f, 0x61, ++ 0x62, 0x64, 0x65, 0x66, 0x68, 0x69, ++ 0x6b, 0x6c, 0x6d, 0x6f, 0x70, 0x72, ++ 0x73, 0x74, 0x76, 0x77, 0x79, 0x7a, ++ 0x7b, 0x7d, 0x7e, 0x80, 0x81, 0x82, ++ 0x84, 0x85, 0x87, 0x88, 0x89, 0x8b, ++ 0x8c, 0x8e, 0x8f, 0x90, 0x92, 0x93, ++ 0x95, 0x96, 0x97, 0x99, 0x9a, 0x9c, ++ 0x9d, 0x9e, 0xa0, 0xa1, 0xa3, 0xa4, ++ 0xa5, 0xa7, 0xa8, 0xaa, 0xab, 0xac, ++ 0xae, 0xaf, 0xb1, 0xb2, ++ }; ++ ++const int Cb_b_tab[(MAXJSAMPLE+1) * sizeof(int)] ={ ++ -0xe3, -0xe1, -0xdf, -0xde, -0xdc, -0xda, ++ -0xd8, -0xd6, -0xd5, -0xd3, -0xd1, -0xcf, ++ -0xce, -0xcc, -0xca, -0xc8, -0xc6, -0xc5, ++ -0xc3, -0xc1, -0xbf, -0xbe, -0xbc, -0xba, ++ -0xb8, -0xb7, -0xb5, -0xb3, -0xb1, -0xaf, ++ -0xae, -0xac, -0xaa, -0xa8, -0xa7, -0xa5, ++ -0xa3, -0xa1, -0x9f, -0x9e, -0x9c, -0x9a, ++ -0x98, -0x97, -0x95, -0x93, -0x91, -0x90, ++ -0x8e, -0x8c, -0x8a, -0x88, -0x87, -0x85, ++ -0x83, -0x81, -0x80, -0x7e, -0x7c, -0x7a, ++ -0x78, -0x77, -0x75, -0x73, -0x71, -0x70, ++ -0x6e, -0x6c, -0x6a, -0x69, -0x67, -0x65, ++ -0x63, -0x61, -0x60, -0x5e, -0x5c, -0x5a, ++ -0x59, -0x57, -0x55, -0x53, -0x52, -0x50, ++ -0x4e, -0x4c, -0x4a, -0x49, -0x47, -0x45, ++ -0x43, -0x42, -0x40, -0x3e, -0x3c, -0x3a, ++ -0x39, -0x37, -0x35, -0x33, -0x32, -0x30, ++ -0x2e, -0x2c, -0x2b, -0x29, -0x27, -0x25, ++ -0x23, -0x22, -0x20, -0x1e, -0x1c, -0x1b, ++ -0x19, -0x17, -0x15, -0x13, -0x12, -0x10, ++ -0x0e, -0x0c, -0x0b, -0x09, -0x07, -0x05, ++ -0x04, -0x02, 0x00, 0x02, 0x04, 0x05, ++ 0x07, 0x09, 0x0b, 0x0c, 0x0e, 0x10, ++ 0x12, 0x13, 0x15, 0x17, 0x19, 0x1b, ++ 0x1c, 0x1e, 0x20, 0x22, 0x23, 0x25, ++ 0x27, 0x29, 0x2b, 0x2c, 0x2e, 0x30, ++ 0x32, 0x33, 0x35, 0x37, 0x39, 0x3a, ++ 0x3c, 0x3e, 0x40, 0x42, 0x43, 0x45, ++ 0x47, 0x49, 0x4a, 0x4c, 0x4e, 0x50, ++ 0x52, 0x53, 0x55, 0x57, 0x59, 0x5a, ++ 0x5c, 0x5e, 0x60, 0x61, 0x63, 0x65, ++ 0x67, 0x69, 0x6a, 0x6c, 0x6e, 0x70, ++ 0x71, 0x73, 0x75, 0x77, 0x78, 0x7a, ++ 0x7c, 0x7e, 0x80, 0x81, 0x83, 0x85, ++ 0x87, 0x88, 0x8a, 0x8c, 0x8e, 0x90, ++ 0x91, 0x93, 0x95, 0x97, 0x98, 0x9a, ++ 0x9c, 0x9e, 0x9f, 0xa1, 0xa3, 0xa5, ++ 0xa7, 0xa8, 0xaa, 0xac, 0xae, 0xaf, ++ 0xb1, 0xb3, 0xb5, 0xb7, 0xb8, 0xba, ++ 0xbc, 0xbe, 0xbf, 0xc1, 0xc3, 0xc5, ++ 0xc6, 0xc8, 0xca, 0xcc, 0xce, 0xcf, ++ 0xd1, 0xd3, 0xd5, 0xd6, 0xd8, 0xda, ++ 0xdc, 0xde, 0xdf, 0xe1, ++ }; ++ ++const int Cr_g_tab[(MAXJSAMPLE+1) * sizeof(int)] ={ ++ 0x5b6900, 0x5ab22e, 0x59fb5c, 0x59448a, 0x588db8, 0x57d6e6, ++ 0x572014, 0x566942, 0x55b270, 0x54fb9e, 0x5444cc, 0x538dfa, ++ 0x52d728, 0x522056, 0x516984, 0x50b2b2, 0x4ffbe0, 0x4f450e, ++ 0x4e8e3c, 0x4dd76a, 0x4d2098, 0x4c69c6, 0x4bb2f4, 0x4afc22, ++ 0x4a4550, 0x498e7e, 0x48d7ac, 0x4820da, 0x476a08, 0x46b336, ++ 0x45fc64, 0x454592, 0x448ec0, 0x43d7ee, 0x43211c, 0x426a4a, ++ 0x41b378, 0x40fca6, 0x4045d4, 0x3f8f02, 0x3ed830, 0x3e215e, ++ 0x3d6a8c, 0x3cb3ba, 0x3bfce8, 0x3b4616, 0x3a8f44, 0x39d872, ++ 0x3921a0, 0x386ace, 0x37b3fc, 0x36fd2a, 0x364658, 0x358f86, ++ 0x34d8b4, 0x3421e2, 0x336b10, 0x32b43e, 0x31fd6c, 0x31469a, ++ 0x308fc8, 0x2fd8f6, 0x2f2224, 0x2e6b52, 0x2db480, 0x2cfdae, ++ 0x2c46dc, 0x2b900a, 0x2ad938, 0x2a2266, 0x296b94, 0x28b4c2, ++ 0x27fdf0, 0x27471e, 0x26904c, 0x25d97a, 0x2522a8, 0x246bd6, ++ 0x23b504, 0x22fe32, 0x224760, 0x21908e, 0x20d9bc, 0x2022ea, ++ 0x1f6c18, 0x1eb546, 0x1dfe74, 0x1d47a2, 0x1c90d0, 0x1bd9fe, ++ 0x1b232c, 0x1a6c5a, 0x19b588, 0x18feb6, 0x1847e4, 0x179112, ++ 0x16da40, 0x16236e, 0x156c9c, 0x14b5ca, 0x13fef8, 0x134826, ++ 0x129154, 0x11da82, 0x1123b0, 0x106cde, 0x0fb60c, 0x0eff3a, ++ 0x0e4868, 0x0d9196, 0x0cdac4, 0x0c23f2, 0x0b6d20, 0x0ab64e, ++ 0x09ff7c, 0x0948aa, 0x0891d8, 0x07db06, 0x072434, 0x066d62, ++ 0x05b690, 0x04ffbe, 0x0448ec, 0x03921a, 0x02db48, 0x022476, ++ 0x016da4, 0x00b6d2, 0x000000, -0x00b6d2, -0x016da4, -0x022476, ++ -0x02db48, -0x03921a, -0x0448ec, -0x04ffbe, -0x05b690, -0x066d62, ++ -0x072434, -0x07db06, -0x0891d8, -0x0948aa, -0x09ff7c, -0x0ab64e, ++ -0x0b6d20, -0x0c23f2, -0x0cdac4, -0x0d9196, -0x0e4868, -0x0eff3a, ++ -0x0fb60c, -0x106cde, -0x1123b0, -0x11da82, -0x129154, -0x134826, ++ -0x13fef8, -0x14b5ca, -0x156c9c, -0x16236e, -0x16da40, -0x179112, ++ -0x1847e4, -0x18feb6, -0x19b588, -0x1a6c5a, -0x1b232c, -0x1bd9fe, ++ -0x1c90d0, -0x1d47a2, -0x1dfe74, -0x1eb546, -0x1f6c18, -0x2022ea, ++ -0x20d9bc, -0x21908e, -0x224760, -0x22fe32, -0x23b504, -0x246bd6, ++ -0x2522a8, -0x25d97a, -0x26904c, -0x27471e, -0x27fdf0, -0x28b4c2, ++ -0x296b94, -0x2a2266, -0x2ad938, -0x2b900a, -0x2c46dc, -0x2cfdae, ++ -0x2db480, -0x2e6b52, -0x2f2224, -0x2fd8f6, -0x308fc8, -0x31469a, ++ -0x31fd6c, -0x32b43e, -0x336b10, -0x3421e2, -0x34d8b4, -0x358f86, ++ -0x364658, -0x36fd2a, -0x37b3fc, -0x386ace, -0x3921a0, -0x39d872, ++ -0x3a8f44, -0x3b4616, -0x3bfce8, -0x3cb3ba, -0x3d6a8c, -0x3e215e, ++ -0x3ed830, -0x3f8f02, -0x4045d4, -0x40fca6, -0x41b378, -0x426a4a, ++ -0x43211c, -0x43d7ee, -0x448ec0, -0x454592, -0x45fc64, -0x46b336, ++ -0x476a08, -0x4820da, -0x48d7ac, -0x498e7e, -0x4a4550, -0x4afc22, ++ -0x4bb2f4, -0x4c69c6, -0x4d2098, -0x4dd76a, -0x4e8e3c, -0x4f450e, ++ -0x4ffbe0, -0x50b2b2, -0x516984, -0x522056, -0x52d728, -0x538dfa, ++ -0x5444cc, -0x54fb9e, -0x55b270, -0x566942, -0x572014, -0x57d6e6, ++ -0x588db8, -0x59448a, -0x59fb5c, -0x5ab22e, ++ }; ++ ++const int Cb_g_tab[(MAXJSAMPLE+1) * sizeof(int)] ={ ++ 0x2c8d00, 0x2c34e6, 0x2bdccc, 0x2b84b2, 0x2b2c98, 0x2ad47e, ++ 0x2a7c64, 0x2a244a, 0x29cc30, 0x297416, 0x291bfc, 0x28c3e2, ++ 0x286bc8, 0x2813ae, 0x27bb94, 0x27637a, 0x270b60, 0x26b346, ++ 0x265b2c, 0x260312, 0x25aaf8, 0x2552de, 0x24fac4, 0x24a2aa, ++ 0x244a90, 0x23f276, 0x239a5c, 0x234242, 0x22ea28, 0x22920e, ++ 0x2239f4, 0x21e1da, 0x2189c0, 0x2131a6, 0x20d98c, 0x208172, ++ 0x202958, 0x1fd13e, 0x1f7924, 0x1f210a, 0x1ec8f0, 0x1e70d6, ++ 0x1e18bc, 0x1dc0a2, 0x1d6888, 0x1d106e, 0x1cb854, 0x1c603a, ++ 0x1c0820, 0x1bb006, 0x1b57ec, 0x1affd2, 0x1aa7b8, 0x1a4f9e, ++ 0x19f784, 0x199f6a, 0x194750, 0x18ef36, 0x18971c, 0x183f02, ++ 0x17e6e8, 0x178ece, 0x1736b4, 0x16de9a, 0x168680, 0x162e66, ++ 0x15d64c, 0x157e32, 0x152618, 0x14cdfe, 0x1475e4, 0x141dca, ++ 0x13c5b0, 0x136d96, 0x13157c, 0x12bd62, 0x126548, 0x120d2e, ++ 0x11b514, 0x115cfa, 0x1104e0, 0x10acc6, 0x1054ac, 0x0ffc92, ++ 0x0fa478, 0x0f4c5e, 0x0ef444, 0x0e9c2a, 0x0e4410, 0x0debf6, ++ 0x0d93dc, 0x0d3bc2, 0x0ce3a8, 0x0c8b8e, 0x0c3374, 0x0bdb5a, ++ 0x0b8340, 0x0b2b26, 0x0ad30c, 0x0a7af2, 0x0a22d8, 0x09cabe, ++ 0x0972a4, 0x091a8a, 0x08c270, 0x086a56, 0x08123c, 0x07ba22, ++ 0x076208, 0x0709ee, 0x06b1d4, 0x0659ba, 0x0601a0, 0x05a986, ++ 0x05516c, 0x04f952, 0x04a138, 0x04491e, 0x03f104, 0x0398ea, ++ 0x0340d0, 0x02e8b6, 0x02909c, 0x023882, 0x01e068, 0x01884e, ++ 0x013034, 0x00d81a, 0x008000, 0x0027e6, -0x003034, -0x00884e, ++ -0x00e068, -0x013882, -0x01909c, -0x01e8b6, -0x0240d0, -0x0298ea, ++ -0x02f104, -0x03491e, -0x03a138, -0x03f952, -0x04516c, -0x04a986, ++ -0x0501a0, -0x0559ba, -0x05b1d4, -0x0609ee, -0x066208, -0x06ba22, ++ -0x07123c, -0x076a56, -0x07c270, -0x081a8a, -0x0872a4, -0x08cabe, ++ -0x0922d8, -0x097af2, -0x09d30c, -0x0a2b26, -0x0a8340, -0x0adb5a, ++ -0x0b3374, -0x0b8b8e, -0x0be3a8, -0x0c3bc2, -0x0c93dc, -0x0cebf6, ++ -0x0d4410, -0x0d9c2a, -0x0df444, -0x0e4c5e, -0x0ea478, -0x0efc92, ++ -0x0f54ac, -0x0facc6, -0x1004e0, -0x105cfa, -0x10b514, -0x110d2e, ++ -0x116548, -0x11bd62, -0x12157c, -0x126d96, -0x12c5b0, -0x131dca, ++ -0x1375e4, -0x13cdfe, -0x142618, -0x147e32, -0x14d64c, -0x152e66, ++ -0x158680, -0x15de9a, -0x1636b4, -0x168ece, -0x16e6e8, -0x173f02, ++ -0x17971c, -0x17ef36, -0x184750, -0x189f6a, -0x18f784, -0x194f9e, ++ -0x19a7b8, -0x19ffd2, -0x1a57ec, -0x1ab006, -0x1b0820, -0x1b603a, ++ -0x1bb854, -0x1c106e, -0x1c6888, -0x1cc0a2, -0x1d18bc, -0x1d70d6, ++ -0x1dc8f0, -0x1e210a, -0x1e7924, -0x1ed13e, -0x1f2958, -0x1f8172, ++ -0x1fd98c, -0x2031a6, -0x2089c0, -0x20e1da, -0x2139f4, -0x21920e, ++ -0x21ea28, -0x224242, -0x229a5c, -0x22f276, -0x234a90, -0x23a2aa, ++ -0x23fac4, -0x2452de, -0x24aaf8, -0x250312, -0x255b2c, -0x25b346, ++ -0x260b60, -0x26637a, -0x26bb94, -0x2713ae, -0x276bc8, -0x27c3e2, ++ -0x281bfc, -0x287416, -0x28cc30, -0x29244a, -0x297c64, -0x29d47e, ++ -0x2a2c98, -0x2a84b2, -0x2adccc, -0x2b34e6, ++ }; ++ ++ ++/* We assume that right shift corresponds to signed division by 2 with ++ * rounding towards minus infinity. This is correct for typical "arithmetic ++ * shift" instructions that shift in copies of the sign bit. But some ++ * C compilers implement >> with an unsigned shift. For these machines you ++ * must define RIGHT_SHIFT_IS_UNSIGNED. ++ * RIGHT_SHIFT provides a proper signed right shift of an INT32 quantity. ++ * It is only applied with constant shift counts. SHIFT_TEMPS must be ++ * included in the variables of any routine using RIGHT_SHIFT. ++ */ ++ ++#ifdef RIGHT_SHIFT_IS_UNSIGNED ++#define SHIFT_TEMPS INT32 shift_temp; ++#define RIGHT_SHIFT(x,shft) \ ++ ((shift_temp = (x)) < 0 ? \ ++ (shift_temp >> (shft)) | ((~((INT32) 0)) << (32-(shft))) : \ ++ (shift_temp >> (shft))) ++#else ++#define SHIFT_TEMPS ++#define RIGHT_SHIFT(x,shft) ((x) >> (shft)) ++#endif ++ ++ ++METHODDEF(void) ++ycc_rgb_convert_argb (j_decompress_ptr cinfo, ++ JSAMPIMAGE input_buf, JDIMENSION input_row, ++ JSAMPARRAY output_buf, int num_rows) ++{ ++ JDIMENSION num_cols = cinfo->output_width; ++ JSAMPLE * range_limit = cinfo->sample_range_limit; ++ ++ SHIFT_TEMPS ++ ++ /* This is used if we don't have SSE2 */ ++ ++ while (--num_rows >= 0) { ++ JSAMPROW inptr0 = input_buf[0][input_row]; ++ JSAMPROW inptr1 = input_buf[1][input_row]; ++ JSAMPROW inptr2 = input_buf[2][input_row]; ++ input_row++; ++ uint32_t *outptr = (uint32_t *) *output_buf++; ++ for (JDIMENSION col = 0; col < num_cols; col++) { ++ int y = GETJSAMPLE(inptr0[col]); ++ int cb = GETJSAMPLE(inptr1[col]); ++ int cr = GETJSAMPLE(inptr2[col]); ++ JSAMPLE * range_limit_y = range_limit + y; ++ /* Range-limiting is essential due to noise introduced by DCT losses. */ ++ outptr[col] = 0xFF000000 | ++ ( range_limit_y[Cr_r_tab[cr]] << 16 ) | ++ ( range_limit_y[((int) RIGHT_SHIFT(Cb_g_tab[cb] + Cr_g_tab[cr], SCALEBITS))] << 8 ) | ++ ( range_limit_y[Cb_b_tab[cb]] ); ++ } ++ } ++} ++#endif ++ ++ + /**************** Inverted CMYK -> RGB conversion **************/ + /* + * Input is (Inverted) CMYK stored as 4 bytes per pixel. diff --git a/www/seamonkey/patches/patch-mozilla_ios b/www/seamonkey/patches/patch-mozilla_ios new file mode 100644 index 00000000000..0c0df27c211 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_ios @@ -0,0 +1,8 @@ +$NetBSD: patch-mozilla_ios,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/ios.orig 2013-05-21 12:42:41.000000000 +0000 ++++ mozilla/ios +@@ -0,0 +1,3 @@ ++#pragma GCC visibility push(default) ++#include_next <ios> ++#pragma GCC visibility pop diff --git a/www/seamonkey/patches/patch-mozilla_ipc_chromium_src_base_message__pump__libevent.cc b/www/seamonkey/patches/patch-mozilla_ipc_chromium_src_base_message__pump__libevent.cc new file mode 100644 index 00000000000..f6e0e6d3c6d --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_ipc_chromium_src_base_message__pump__libevent.cc @@ -0,0 +1,13 @@ +$NetBSD: patch-mozilla_ipc_chromium_src_base_message__pump__libevent.cc,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/ipc/chromium/src/base/message_pump_libevent.cc.orig 2013-05-03 03:07:57.000000000 +0000 ++++ mozilla/ipc/chromium/src/base/message_pump_libevent.cc +@@ -16,7 +16,7 @@ + #include "base/scoped_ptr.h" + #include "base/time.h" + #include "nsDependentSubstring.h" +-#include "third_party/libevent/event.h" ++#include "event.h" + + // Lifecycle of struct event + // Libevent uses two main data structures: diff --git a/www/seamonkey/patches/patch-mozilla_ipc_chromium_src_base_platform__thread__posix.cc b/www/seamonkey/patches/patch-mozilla_ipc_chromium_src_base_platform__thread__posix.cc new file mode 100644 index 00000000000..2d4b2cdfc36 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_ipc_chromium_src_base_platform__thread__posix.cc @@ -0,0 +1,14 @@ +$NetBSD: patch-mozilla_ipc_chromium_src_base_platform__thread__posix.cc,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/ipc/chromium/src/base/platform_thread_posix.cc.orig 2013-05-03 03:07:57.000000000 +0000 ++++ mozilla/ipc/chromium/src/base/platform_thread_posix.cc +@@ -10,7 +10,9 @@ + #if defined(OS_MACOSX) + #include <mach/mach.h> + #elif defined(OS_NETBSD) ++_Pragma("GCC visibility push(default)") + #include <lwp.h> ++_Pragma("GCC visibility pop") + #elif defined(OS_LINUX) + #include <sys/syscall.h> + #include <sys/prctl.h> diff --git a/www/seamonkey/patches/patch-mozilla_js_src_Makefile.in b/www/seamonkey/patches/patch-mozilla_js_src_Makefile.in new file mode 100644 index 00000000000..69c25e81f31 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_js_src_Makefile.in @@ -0,0 +1,18 @@ +$NetBSD: patch-mozilla_js_src_Makefile.in,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/js/src/Makefile.in.orig 2013-05-03 03:07:57.000000000 +0000 ++++ mozilla/js/src/Makefile.in +@@ -791,6 +791,13 @@ EXTRA_LIBS += -lposix4 -ldl -lnsl -lsock + endif + endif + ++# clang 3.3 + -O2 makes jaeger crash in FixupArity ++ifdef CLANG_CXX ++ifndef MOZ_DEBUG ++Compiler.$(OBJ_SUFFIX): CXXFLAGS += -fno-inline-functions ++endif ++endif ++ + # An AIX Optimization bug causes PR_dtoa() & JS_dtoa to produce wrong result. + # This suppresses optimization for this single compilation unit. + ifeq ($(OS_ARCH),AIX) diff --git a/www/seamonkey/patches/patch-mozilla_js_src_config_system-headers b/www/seamonkey/patches/patch-mozilla_js_src_config_system-headers new file mode 100644 index 00000000000..99e832e488f --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_js_src_config_system-headers @@ -0,0 +1,10 @@ +$NetBSD: patch-mozilla_js_src_config_system-headers,v 1.6 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/js/src/config/system-headers.orig 2013-05-03 03:07:57.000000000 +0000 ++++ mozilla/js/src/config/system-headers +@@ -1126,3 +1126,5 @@ sys/thr.h + sys/user.h + kvm.h + spawn.h ++err.h ++xlocale.h diff --git a/www/seamonkey/patches/patch-mozilla_js_src_jscompartment.h b/www/seamonkey/patches/patch-mozilla_js_src_jscompartment.h new file mode 100644 index 00000000000..35a827dc77c --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_js_src_jscompartment.h @@ -0,0 +1,20 @@ +$NetBSD: patch-mozilla_js_src_jscompartment.h,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/js/src/jscompartment.h.orig 2013-05-03 03:07:59.000000000 +0000 ++++ mozilla/js/src/jscompartment.h +@@ -596,12 +596,12 @@ class js::AutoDebugModeGC + // The DEBUG_MODE_GC reason forces the collector to always throw + // everything away, as required for debug mode transitions. + if (needGC) +- GC(rt, GC_NORMAL, gcreason::DEBUG_MODE_GC); ++ GC(rt, GC_NORMAL, js::gcreason::DEBUG_MODE_GC); + } + +- void scheduleGC(Zone *zone) { ++ void scheduleGC(JS::Zone *zone) { + JS_ASSERT(!rt->isHeapBusy()); +- PrepareZoneForGC(zone); ++ js::PrepareZoneForGC(zone); + needGC = true; + } + }; diff --git a/www/seamonkey/patches/patch-mozilla_js_src_jsgc.cpp b/www/seamonkey/patches/patch-mozilla_js_src_jsgc.cpp deleted file mode 100644 index c38a3b78fc7..00000000000 --- a/www/seamonkey/patches/patch-mozilla_js_src_jsgc.cpp +++ /dev/null @@ -1,17 +0,0 @@ -$NetBSD: patch-mozilla_js_src_jsgc.cpp,v 1.3 2013/01/07 21:55:30 ryoon Exp $ - ---- mozilla/js/src/jsgc.cpp.orig 2012-11-18 10:19:39.000000000 +0000 -+++ mozilla/js/src/jsgc.cpp -@@ -2865,8 +2865,12 @@ GetCPUCount() - GetSystemInfo(&sysinfo); - ncpus = unsigned(sysinfo.dwNumberOfProcessors); - # else -+# ifdef _SC_NPROCESSORS_ONLN - long n = sysconf(_SC_NPROCESSORS_ONLN); - ncpus = (n > 0) ? unsigned(n) : 1; -+# else -+ ncpus = 1; -+# endif - # endif - } - return ncpus; diff --git a/www/seamonkey/patches/patch-mozilla_js_src_jspropertycacheinlines.h b/www/seamonkey/patches/patch-mozilla_js_src_jspropertycacheinlines.h new file mode 100644 index 00000000000..f98c395a7cd --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_js_src_jspropertycacheinlines.h @@ -0,0 +1,22 @@ +$NetBSD: patch-mozilla_js_src_jspropertycacheinlines.h,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/js/src/jspropertycacheinlines.h.orig 2013-05-03 03:07:59.000000000 +0000 ++++ mozilla/js/src/jspropertycacheinlines.h +@@ -32,7 +32,7 @@ JS_ALWAYS_INLINE void + js::PropertyCache::test(JSContext *cx, jsbytecode *pc, JSObject **obj, + JSObject **pobj, PropertyCacheEntry **entry, PropertyName **name) + { +- AutoAssertNoGC nogc; ++ js::AutoAssertNoGC nogc; + + JS_ASSERT(this == &cx->propertyCache()); + +@@ -65,7 +65,7 @@ JS_ALWAYS_INLINE bool + js::PropertyCache::testForSet(JSContext *cx, jsbytecode *pc, JSObject *obj, + PropertyCacheEntry **entryp, JSObject **obj2p, PropertyName **namep) + { +- AutoAssertNoGC nogc; ++ js::AutoAssertNoGC nogc; + + JS_ASSERT(this == &cx->propertyCache()); + diff --git a/www/seamonkey/patches/patch-mozilla_js_src_methodjit_MethodJIT.cpp b/www/seamonkey/patches/patch-mozilla_js_src_methodjit_MethodJIT.cpp index b71244c7da0..32cc6e52eba 100644 --- a/www/seamonkey/patches/patch-mozilla_js_src_methodjit_MethodJIT.cpp +++ b/www/seamonkey/patches/patch-mozilla_js_src_methodjit_MethodJIT.cpp @@ -1,8 +1,8 @@ -$NetBSD: patch-mozilla_js_src_methodjit_MethodJIT.cpp,v 1.6 2013/01/07 21:55:30 ryoon Exp $ +$NetBSD: patch-mozilla_js_src_methodjit_MethodJIT.cpp,v 1.7 2013/05/23 13:25:30 ryoon Exp $ ---- mozilla/js/src/methodjit/MethodJIT.cpp.orig 2012-11-18 10:19:40.000000000 +0000 +--- mozilla/js/src/methodjit/MethodJIT.cpp.orig 2013-05-03 03:07:59.000000000 +0000 +++ mozilla/js/src/methodjit/MethodJIT.cpp -@@ -135,7 +135,7 @@ PopActiveVMFrame(VMFrame &f) +@@ -138,7 +138,7 @@ PopActiveVMFrame(VMFrame &f) JS_STATIC_ASSERT(offsetof(FrameRegs, sp) == 0); @@ -11,3 +11,12 @@ $NetBSD: patch-mozilla_js_src_methodjit_MethodJIT.cpp,v 1.6 2013/01/07 21:55:30 # define SYMBOL_STRING_RELOC(name) #name "@plt" #else # define SYMBOL_STRING_RELOC(name) SYMBOL_STRING(name) +@@ -152,7 +152,7 @@ JS_STATIC_ASSERT(offsetof(FrameRegs, sp) + + #if defined(XP_MACOSX) + # define HIDE_SYMBOL(name) ".private_extern _" #name +-#elif defined(__linux__) ++#elif defined(__ELF__) + # define HIDE_SYMBOL(name) ".hidden" #name + #else + # define HIDE_SYMBOL(name) diff --git a/www/seamonkey/patches/patch-mozilla_js_src_vm_ObjectImpl-inl.h b/www/seamonkey/patches/patch-mozilla_js_src_vm_ObjectImpl-inl.h new file mode 100644 index 00000000000..07bf4c935d3 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_js_src_vm_ObjectImpl-inl.h @@ -0,0 +1,43 @@ +$NetBSD: patch-mozilla_js_src_vm_ObjectImpl-inl.h,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/js/src/vm/ObjectImpl-inl.h.orig 2013-05-03 03:08:00.000000000 +0000 ++++ mozilla/js/src/vm/ObjectImpl-inl.h +@@ -164,9 +164,9 @@ js::ObjectImpl::initializeSlotRange(uint + JSRuntime *rt = runtime(); + uint32_t offset = start; + for (HeapSlot *sp = fixedStart; sp < fixedEnd; sp++) +- sp->init(rt, this->asObjectPtr(), HeapSlot::Slot, offset++, UndefinedValue()); ++ sp->init(rt, this->asObjectPtr(), HeapSlot::Slot, offset++, js::UndefinedValue()); + for (HeapSlot *sp = slotsStart; sp < slotsEnd; sp++) +- sp->init(rt, this->asObjectPtr(), HeapSlot::Slot, offset++, UndefinedValue()); ++ sp->init(rt, this->asObjectPtr(), HeapSlot::Slot, offset++, js::UndefinedValue()); + } + + inline bool +@@ -321,7 +321,7 @@ js::ObjectImpl::sizeOfThis() const + js::ObjectImpl::readBarrier(ObjectImpl *obj) + { + #ifdef JSGC_INCREMENTAL +- Zone *zone = obj->zone(); ++ JS::Zone *zone = obj->zone(); + if (zone->needsBarrier()) { + MOZ_ASSERT(!zone->rt->isHeapBusy()); + JSObject *tmp = obj->asObjectPtr(); +@@ -335,7 +335,7 @@ inline void + js::ObjectImpl::privateWriteBarrierPre(void **old) + { + #ifdef JSGC_INCREMENTAL +- Zone *zone = this->zone(); ++ JS::Zone *zone = this->zone(); + if (zone->needsBarrier()) { + if (*old && getClass()->trace) + getClass()->trace(zone->barrierTracer(), this->asObjectPtr()); +@@ -362,7 +362,7 @@ js::ObjectImpl::writeBarrierPre(ObjectIm + if (uintptr_t(obj) < 32) + return; + +- Zone *zone = obj->zone(); ++ JS::Zone *zone = obj->zone(); + if (zone->needsBarrier()) { + MOZ_ASSERT(!zone->rt->isHeapBusy()); + JSObject *tmp = obj->asObjectPtr(); diff --git a/www/seamonkey/patches/patch-mozilla_media_libsoundtouch_src_cpu__detect__x86.cpp b/www/seamonkey/patches/patch-mozilla_media_libsoundtouch_src_cpu__detect__x86.cpp new file mode 100644 index 00000000000..69e577f052a --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_libsoundtouch_src_cpu__detect__x86.cpp @@ -0,0 +1,23 @@ +$NetBSD: patch-mozilla_media_libsoundtouch_src_cpu__detect__x86.cpp,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/libsoundtouch/src/cpu_detect_x86.cpp.orig 2013-05-03 03:08:05.000000000 +0000 ++++ mozilla/media/libsoundtouch/src/cpu_detect_x86.cpp +@@ -101,7 +101,7 @@ uint detectCPUextensions(void) + + uint res = 0; + +-#if defined(__GNUC__) ++#if defined(__GNUC__) && defined(HAVE_CPUID_H) + // GCC version of cpuid. Requires GCC 4.3.0 or later for __cpuid intrinsic support. + uint eax, ebx, ecx, edx; // unsigned int is the standard type. uint is defined by the compiler and not guaranteed to be portable. + +@@ -112,6 +112,9 @@ uint detectCPUextensions(void) + if (edx & bit_SSE) res = res | SUPPORT_SSE; + if (edx & bit_SSE2) res = res | SUPPORT_SSE2; + ++#elif defined(__GNUC__) ++ // No cpuid.h --> no cpuid support ++ return 0; + #else + // Window / VS version of cpuid. Notice that Visual Studio 2005 or later required + // for __cpuid intrinsic support. diff --git a/www/seamonkey/patches/patch-mozilla_media_mtransport_objs.mk b/www/seamonkey/patches/patch-mozilla_media_mtransport_objs.mk new file mode 100644 index 00000000000..c46a0969b4f --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_mtransport_objs.mk @@ -0,0 +1,22 @@ +$NetBSD: patch-mozilla_media_mtransport_objs.mk,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/mtransport/objs.mk.orig 2013-05-03 03:08:06.000000000 +0000 ++++ mozilla/media/mtransport/objs.mk +@@ -23,12 +23,16 @@ LOCAL_INCLUDES += \ + -I$(topsrcdir)/media/mtransport/third_party/nrappkit/src/event \ + $(NULL) + +-ifeq ($(OS_TARGET), Darwin) ++ifneq (,$(filter Darwin DragonFly FreeBSD NetBSD OpenBSD,$(OS_TARGET))) + LOCAL_INCLUDES += \ + -I$(topsrcdir)/media/mtransport/third_party/nrappkit/src/port/darwin/include \ + -I$(topsrcdir)/media/mtransport/third_party/nrappkit/src/port/generic/include \ + $(NULL) ++ifeq ($(OS_TARGET), Darwin) + DEFINES += -DDARWIN ++else ++DEFINES += -DBSD ++endif + endif + + ifeq ($(OS_TARGET), Linux) diff --git a/www/seamonkey/patches/patch-mozilla_media_mtransport_test_Makefile.in b/www/seamonkey/patches/patch-mozilla_media_mtransport_test_Makefile.in new file mode 100644 index 00000000000..f6ee0d3c176 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_mtransport_test_Makefile.in @@ -0,0 +1,20 @@ +$NetBSD: patch-mozilla_media_mtransport_test_Makefile.in,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/mtransport/test/Makefile.in.orig 2013-05-03 03:08:06.000000000 +0000 ++++ mozilla/media/mtransport/test/Makefile.in +@@ -78,12 +78,14 @@ endif + endif + endif + +-ifeq ($(OS_TARGET), Darwin) ++ifneq (,$(filter Darwin DragonFly FreeBSD NetBSD OpenBSD,$(OS_TARGET))) + LOCAL_INCLUDES += -I$(topsrcdir)/media/mtransport/third_party/nrappkit/src/port/darwin/include ++ifeq ($(OS_TARGET), Darwin) + DEFINES += \ + -DGTEST_USE_OWN_TR1_TUPLE=1 \ + $(NULL) + endif ++endif + + ifeq ($(OS_TARGET), Linux) + LOCAL_INCLUDES += -I$(topsrcdir)/media/mtransport/third_party/nrappkit/src/port/linux/include diff --git a/www/seamonkey/patches/patch-mozilla_media_mtransport_third__party_nICEr_nicer.gyp b/www/seamonkey/patches/patch-mozilla_media_mtransport_third__party_nICEr_nicer.gyp new file mode 100644 index 00000000000..20d6738e21b --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_mtransport_third__party_nICEr_nicer.gyp @@ -0,0 +1,33 @@ +$NetBSD: patch-mozilla_media_mtransport_third__party_nICEr_nicer.gyp,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/mtransport/third_party/nICEr/nicer.gyp.orig 2013-05-03 03:08:06.000000000 +0000 ++++ mozilla/media/mtransport/third_party/nICEr/nicer.gyp +@@ -129,8 +129,19 @@ + ], + + 'conditions' : [ +- ## Mac ++ ## Mac and BSDs + [ 'OS == "mac"', { ++ 'defines' : [ ++ 'DARWIN', ++ 'HAVE_XLOCALE', ++ ], ++ }], ++ [ 'os_bsd == 1', { ++ 'defines' : [ ++ 'BSD', ++ ], ++ }], ++ [ 'OS == "mac" or os_bsd == 1', { + 'cflags_mozilla': [ + '-Wall', + '-Wno-parentheses', +@@ -138,7 +149,6 @@ + '-Wmissing-prototypes', + ], + 'defines' : [ +- 'DARWIN', + 'HAVE_LIBM=1', + 'HAVE_STRDUP=1', + 'HAVE_STRLCPY=1', diff --git a/www/seamonkey/patches/patch-mozilla_media_mtransport_third__party_nICEr_src_stun_addrs.c b/www/seamonkey/patches/patch-mozilla_media_mtransport_third__party_nICEr_src_stun_addrs.c new file mode 100644 index 00000000000..347060c3f0f --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_mtransport_third__party_nICEr_src_stun_addrs.c @@ -0,0 +1,32 @@ +$NetBSD: patch-mozilla_media_mtransport_third__party_nICEr_src_stun_addrs.c,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/mtransport/third_party/nICEr/src/stun/addrs.c.orig 2013-05-03 03:08:06.000000000 +0000 ++++ mozilla/media/mtransport/third_party/nICEr/src/stun/addrs.c +@@ -55,7 +55,9 @@ static char *RCSSTRING __UNUSED__="$Id: + #endif + #include <net/if.h> + #ifndef LINUX ++#if !defined(__OpenBSD__) && !defined(__NetBSD__) + #include <net/if_var.h> ++#endif + #include <net/if_dl.h> + #include <net/if_types.h> + #include <sys/sockio.h> +@@ -80,7 +82,7 @@ static char *RCSSTRING __UNUSED__="$Id: + + + +-#ifdef DARWIN ++#if defined(BSD) || defined(DARWIN) + /* + * Copyright (c) 1983, 1993 + * The Regents of the University of California. All rights reserved. +@@ -690,7 +692,7 @@ nr_stun_get_addrs(nr_transport_addr addr + int _status=0; + int i; + +-#ifdef DARWIN ++#if defined(BSD) || defined(DARWIN) + _status = stun_get_mib_addrs(addrs, maxaddrs, count); + #elif defined(WIN32) + _status = stun_get_win32_addrs(addrs, maxaddrs, count); diff --git a/www/seamonkey/patches/patch-mozilla_media_mtransport_third__party_nICEr_src_stun_stun.h b/www/seamonkey/patches/patch-mozilla_media_mtransport_third__party_nICEr_src_stun_stun.h new file mode 100644 index 00000000000..d474e9e1e42 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_mtransport_third__party_nICEr_src_stun_stun.h @@ -0,0 +1,20 @@ +$NetBSD: patch-mozilla_media_mtransport_third__party_nICEr_src_stun_stun.h,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/mtransport/third_party/nICEr/src/stun/stun.h.orig 2013-05-03 03:08:06.000000000 +0000 ++++ mozilla/media/mtransport/third_party/nICEr/src/stun/stun.h +@@ -41,11 +41,15 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE + #include <sys/socket.h> + #include <net/if.h> + #ifndef LINUX ++#if !defined(__OpenBSD__) && !defined(__NetBSD__) + #include <net/if_var.h> ++#endif + #include <net/if_dl.h> + #include <net/if_types.h> + #endif ++#ifndef BSD + #include <net/route.h> ++#endif + #include <netinet/in.h> + #ifndef LINUX + #include <netinet/in_var.h> diff --git a/www/seamonkey/patches/patch-mozilla_media_mtransport_third__party_nICEr_src_util_mbslen.c b/www/seamonkey/patches/patch-mozilla_media_mtransport_third__party_nICEr_src_util_mbslen.c new file mode 100644 index 00000000000..a33231969d8 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_mtransport_third__party_nICEr_src_util_mbslen.c @@ -0,0 +1,78 @@ +$NetBSD: patch-mozilla_media_mtransport_third__party_nICEr_src_util_mbslen.c,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/mtransport/third_party/nICEr/src/util/mbslen.c.orig 2013-05-03 03:08:06.000000000 +0000 ++++ mozilla/media/mtransport/third_party/nICEr/src/util/mbslen.c +@@ -43,9 +43,17 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE + #include <locale.h> + #include <stdlib.h> + #include <wchar.h> +-#ifdef DARWIN ++ ++#ifdef __FreeBSD__ ++#include <osreldate.h> ++# if __FreeBSD_version > 900505 ++# define HAVE_XLOCALE ++# endif ++#endif ++ ++#ifdef HAVE_XLOCALE + #include <xlocale.h> +-#endif /* DARWIN */ ++#endif /* HAVE_XLOCALE */ + + #include "nr_api.h" + #include "mbslen.h" +@@ -54,10 +62,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE + int + mbslen(const char *s, size_t *ncharsp) + { +-#ifdef DARWIN ++#ifdef HAVE_XLOCALE + static locale_t loc = 0; + static int initialized = 0; +-#endif /* DARWIN */ ++#endif /* HAVE_XLOCALE */ + #ifdef WIN32 + char *my_locale=0; + unsigned int i; +@@ -67,7 +75,7 @@ mbslen(const char *s, size_t *ncharsp) + int nchars; + mbstate_t mbs; + +-#ifdef DARWIN ++#ifdef HAVE_XLOCALE + if (! initialized) { + initialized = 1; + loc = newlocale(LC_CTYPE_MASK, "UTF-8", LC_GLOBAL_LOCALE); +@@ -76,7 +84,7 @@ mbslen(const char *s, size_t *ncharsp) + if (loc == 0) { + /* unable to create the UTF-8 locale */ + assert(loc != 0); /* should never happen */ +-#endif /* DARWIN */ ++#endif /* HAVE_XLOCALE */ + + #ifdef WIN32 + if (!setlocale(LC_CTYPE, 0)) +@@ -98,18 +106,18 @@ mbslen(const char *s, size_t *ncharsp) + ABORT(R_NOT_FOUND); + #endif + +-#ifdef DARWIN ++#ifdef HAVE_XLOCALE + } +-#endif /* DARWIN */ ++#endif /* HAVE_XLOCALE */ + + memset(&mbs, 0, sizeof(mbs)); + nchars = 0; + +-#ifdef DARWIN ++#ifdef HAVE_XLOCALE + while (*s != '\0' && (nbytes = mbrlen_l(s, strlen(s), &mbs, loc)) != 0) + #else + while (*s != '\0' && (nbytes = mbrlen(s, strlen(s), &mbs)) != 0) +-#endif /* DARWIN */ ++#endif /* HAVE_XLOCALE */ + { + if (nbytes == (size_t)-1) /* should never happen */ { + assert(0); diff --git a/www/seamonkey/patches/patch-mozilla_media_mtransport_third__party_nrappkit_nrappkit.gyp b/www/seamonkey/patches/patch-mozilla_media_mtransport_third__party_nrappkit_nrappkit.gyp new file mode 100644 index 00000000000..20d77fe3c7a --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_mtransport_third__party_nrappkit_nrappkit.gyp @@ -0,0 +1,32 @@ +$NetBSD: patch-mozilla_media_mtransport_third__party_nrappkit_nrappkit.gyp,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/mtransport/third_party/nrappkit/nrappkit.gyp.orig 2013-05-03 03:08:06.000000000 +0000 ++++ mozilla/media/mtransport/third_party/nrappkit/nrappkit.gyp +@@ -147,8 +147,18 @@ + ], + + 'conditions' : [ +- ## Mac ++ ## Mac and BSDs + [ 'OS == "mac"', { ++ 'defines' : [ ++ 'DARWIN', ++ ], ++ }], ++ [ 'os_bsd == 1', { ++ 'defines' : [ ++ 'BSD', ++ ], ++ }], ++ [ 'OS == "mac" or os_bsd == 1', { + 'cflags_mozilla': [ + '-Wall', + '-Wno-parentheses', +@@ -156,7 +166,6 @@ + '-Wmissing-prototypes', + ], + 'defines' : [ +- 'DARWIN', + 'HAVE_LIBM=1', + 'HAVE_STRDUP=1', + 'HAVE_STRLCPY=1', diff --git a/www/seamonkey/patches/patch-mozilla_media_mtransport_third__party_nrappkit_src_log_r__log.c b/www/seamonkey/patches/patch-mozilla_media_mtransport_third__party_nrappkit_src_log_r__log.c new file mode 100644 index 00000000000..8a2fbf4dfb6 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_mtransport_third__party_nrappkit_src_log_r__log.c @@ -0,0 +1,12 @@ +$NetBSD: patch-mozilla_media_mtransport_third__party_nrappkit_src_log_r__log.c,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/mtransport/third_party/nrappkit/src/log/r_log.c.orig 2013-05-03 03:08:06.000000000 +0000 ++++ mozilla/media/mtransport/third_party/nrappkit/src/log/r_log.c +@@ -48,6 +48,7 @@ static char *RCSSTRING __UNUSED__ ="$Id: + #include "hex.h" + + #include <string.h> ++#include <errno.h> + #ifndef _MSC_VER + #include <strings.h> + #include <syslog.h> diff --git a/www/seamonkey/patches/patch-mozilla_media_mtransport_third__party_nrappkit_src_port_generic_include_sys_queue.h b/www/seamonkey/patches/patch-mozilla_media_mtransport_third__party_nrappkit_src_port_generic_include_sys_queue.h new file mode 100644 index 00000000000..31b5b1ac5a9 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_mtransport_third__party_nrappkit_src_port_generic_include_sys_queue.h @@ -0,0 +1,13 @@ +$NetBSD: patch-mozilla_media_mtransport_third__party_nrappkit_src_port_generic_include_sys_queue.h,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/mtransport/third_party/nrappkit/src/port/generic/include/sys/queue.h.orig 2013-05-03 03:08:06.000000000 +0000 ++++ mozilla/media/mtransport/third_party/nrappkit/src/port/generic/include/sys/queue.h +@@ -33,7 +33,7 @@ + #ifndef _SYS_QUEUE_H_ + #define _SYS_QUEUE_H_ + +-#ifndef DARWIN ++#if !defined(__FreeBSD__) && !defined(DARWIN) + #include <stddef.h> + #define __offsetof offsetof + #endif diff --git a/www/seamonkey/patches/patch-mozilla_media_mtransport_third__party_nrappkit_src_util_util.c b/www/seamonkey/patches/patch-mozilla_media_mtransport_third__party_nrappkit_src_util_util.c new file mode 100644 index 00000000000..1a522cbd7ec --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_mtransport_third__party_nrappkit_src_util_util.c @@ -0,0 +1,12 @@ +$NetBSD: patch-mozilla_media_mtransport_third__party_nrappkit_src_util_util.c,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/mtransport/third_party/nrappkit/src/util/util.c.orig 2013-05-03 03:08:06.000000000 +0000 ++++ mozilla/media/mtransport/third_party/nrappkit/src/util/util.c +@@ -45,6 +45,7 @@ static char *RCSSTRING __UNUSED__ ="$Id: + #include <dirent.h> + #endif + #include <string.h> ++#include <errno.h> + #include <ctype.h> + #include <sys/stat.h> + #ifdef OPENSSL diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_signaling_signaling.gyp b/www/seamonkey/patches/patch-mozilla_media_webrtc_signaling_signaling.gyp new file mode 100644 index 00000000000..fa6481010ed --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_signaling_signaling.gyp @@ -0,0 +1,49 @@ +$NetBSD: patch-mozilla_media_webrtc_signaling_signaling.gyp,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/signaling/signaling.gyp.orig 2013-05-03 03:08:06.000000000 +0000 ++++ mozilla/media/webrtc/signaling/signaling.gyp +@@ -217,6 +217,19 @@ + 'cflags_mozilla': [ + ], + }], ++ ['os_bsd==1', { ++ 'include_dirs': [ ++ ], ++ 'defines': [ ++ # avoiding pointless ifdef churn ++ 'SIP_OS_OSX', ++ 'OSX', ++ 'SECLIB_OPENSSL', ++ ], ++ ++ 'cflags_mozilla': [ ++ ], ++ }], + ['OS=="mac"', { + 'include_dirs': [ + ], +@@ -752,7 +765,7 @@ + ], + + }], +- ['OS=="mac"', { ++ ['OS=="mac" or os_bsd==1', { + + 'include_dirs': [ + ], +@@ -797,14 +810,13 @@ + + 'defines' : [ + 'SIP_OS_OSX', +- '_POSIX_SOURCE', ++ # using BSD extensions, leave _POSIX_SOURCE undefined + 'CPR_MEMORY_LITTLE_ENDIAN', + 'NO_SOCKET_POLLING', + 'USE_TIMER_SELECT_BASED', + 'FULL_BUILD', + 'STUBBED_OUT', + 'USE_PRINTF', +- '_DARWIN_C_SOURCE', + 'NO_NSPR_10_SUPPORT', + ], + diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_signaling_src_sipcc_cpr_darwin_cpr__darwin__ipc.c b/www/seamonkey/patches/patch-mozilla_media_webrtc_signaling_src_sipcc_cpr_darwin_cpr__darwin__ipc.c new file mode 100644 index 00000000000..53fc7418f3b --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_signaling_src_sipcc_cpr_darwin_cpr__darwin__ipc.c @@ -0,0 +1,20 @@ +$NetBSD: patch-mozilla_media_webrtc_signaling_src_sipcc_cpr_darwin_cpr__darwin__ipc.c,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/signaling/src/sipcc/cpr/darwin/cpr_darwin_ipc.c.orig 2013-05-03 03:08:06.000000000 +0000 ++++ mozilla/media/webrtc/signaling/src/sipcc/cpr/darwin/cpr_darwin_ipc.c +@@ -322,11 +322,15 @@ cprGetMessage (cprMsgQueue_t msgQueue, b + cpr_msgq_node_t *node; + struct timespec timeout; + struct timeval tv; ++#ifndef __APPLE__ ++ struct timezone tz; ++#else + // On the iPhone, there is a DarwinAlias problem with "timezone" + struct _timezone { + int tz_minuteswest; /* of Greenwich */ + int tz_dsttime; /* type of dst correction to apply */ + } tz; ++#endif + + /* Initialize ppUserData */ + if (ppUserData) { diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_signaling_test_Makefile.in b/www/seamonkey/patches/patch-mozilla_media_webrtc_signaling_test_Makefile.in new file mode 100644 index 00000000000..b2e88c6e8fe --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_signaling_test_Makefile.in @@ -0,0 +1,21 @@ +$NetBSD: patch-mozilla_media_webrtc_signaling_test_Makefile.in,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/signaling/test/Makefile.in.orig 2013-05-03 03:08:06.000000000 +0000 ++++ mozilla/media/webrtc/signaling/test/Makefile.in +@@ -17,6 +17,7 @@ LIBS = \ + $(NSPR_LIBS) \ + $(NSS_LIBS) \ + $(REALTIME_LIBS) \ ++ $(MOZ_LIBV4L2_LIBS) \ + $(DEPTH)/xpcom/glue/$(LIB_PREFIX)xpcomglue_s.$(LIB_SUFFIX) \ + $(DEPTH)/media/mtransport/standalone/$(LIB_PREFIX)mtransport_s.$(LIB_SUFFIX) \ + $(DEPTH)/media/webrtc/signalingtest/signaling_ecc/$(LIB_PREFIX)ecc.$(LIB_SUFFIX) \ +@@ -86,7 +87,7 @@ LIBS += \ + $(NULL) + endif + +-ifeq ($(OS_TARGET),Linux) ++ifneq (,$(filter Linux DragonFly FreeBSD NetBSD OpenBSD,$(OS_TARGET))) + LIBS += \ + $(MOZ_CAIRO_OSLIBS) \ + $(NULL) diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_build_common.gypi b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_build_common.gypi new file mode 100644 index 00000000000..3707d3b01ef --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_build_common.gypi @@ -0,0 +1,60 @@ +$NetBSD: patch-mozilla_media_webrtc_trunk_build_common.gypi,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/trunk/build/common.gypi.orig 2013-05-03 03:08:06.000000000 +0000 ++++ mozilla/media/webrtc/trunk/build/common.gypi +@@ -80,12 +80,21 @@ + ['use_ash==1', { + 'use_aura%': 1, + }], ++ ++ # A flag for BSD platforms ++ ['OS=="dragonfly" or OS=="freebsd" or OS=="netbsd" or \ ++ OS=="openbsd"', { ++ 'os_bsd%': 1, ++ }, { ++ 'os_bsd%': 0, ++ }], + ], + }, + # Copy conditionally-set variables out one scope. + 'chromeos%': '<(chromeos)', + 'use_aura%': '<(use_aura)', + 'use_ash%': '<(use_ash)', ++ 'os_bsd%': '<(os_bsd)', + 'use_openssl%': '<(use_openssl)', + 'use_ibus%': '<(use_ibus)', + 'enable_viewport%': '<(enable_viewport)', +@@ -119,7 +128,7 @@ + }], + + # Set toolkit_uses_gtk for the Chromium browser on Linux. +- ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and use_aura==0', { ++ ['(OS=="linux" or OS=="solaris" or os_bsd==1) and use_aura==0', { + 'toolkit_uses_gtk%': 1, + }, { + 'toolkit_uses_gtk%': 0, +@@ -144,6 +153,7 @@ + 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', + 'use_aura%': '<(use_aura)', + 'use_ash%': '<(use_ash)', ++ 'os_bsd%': '<(os_bsd)', + 'use_openssl%': '<(use_openssl)', + 'use_ibus%': '<(use_ibus)', + 'enable_viewport%': '<(enable_viewport)', +@@ -406,15 +416,8 @@ + 'os_posix%': 1, + }], + +- # A flag for BSD platforms +- ['OS=="freebsd" or OS=="openbsd"', { +- 'os_bsd%': 1, +- }, { +- 'os_bsd%': 0, +- }], +- + # NSS usage. +- ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and use_openssl==0', { ++ ['(OS=="linux" or OS=="solaris" or os_bsd==1) and use_openssl==0', { + 'use_nss%': 1, + }, { + 'use_nss%': 0, diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_testing_gtest_include_gtest_internal_gtest-port.h b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_testing_gtest_include_gtest_internal_gtest-port.h new file mode 100644 index 00000000000..ba43835a9f3 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_testing_gtest_include_gtest_internal_gtest-port.h @@ -0,0 +1,19 @@ +$NetBSD: patch-mozilla_media_webrtc_trunk_testing_gtest_include_gtest_internal_gtest-port.h,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/trunk/testing/gtest/include/gtest/internal/gtest-port.h.orig 2013-05-03 03:08:06.000000000 +0000 ++++ mozilla/media/webrtc/trunk/testing/gtest/include/gtest/internal/gtest-port.h +@@ -490,10 +490,10 @@ + # define GTEST_ENV_HAS_TR1_TUPLE_ 1 + # endif + +-// C++11 specifies that <tuple> provides std::tuple. Users can't use +-// gtest in C++11 mode until their standard library is at least that +-// compliant. +-# if GTEST_LANG_CXX11 ++// C++11 specifies that <tuple> provides std::tuple. Use that if gtest is used ++// in C++11 mode and libstdc++ isn't very old (binaries targeting OS X 10.6 ++// can build with clang but need to use gcc4.2's libstdc++). ++# if GTEST_LANG_CXX11 && (!defined(__GLIBCXX__) || __GLIBCXX__ > 20110325) + # define GTEST_ENV_HAS_STD_TUPLE_ 1 + # endif + diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_third__party_libyuv_libyuv.gyp b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_third__party_libyuv_libyuv.gyp new file mode 100644 index 00000000000..ad3fff8e375 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_third__party_libyuv_libyuv.gyp @@ -0,0 +1,24 @@ +$NetBSD: patch-mozilla_media_webrtc_trunk_third__party_libyuv_libyuv.gyp,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/trunk/third_party/libyuv/libyuv.gyp.orig 2013-05-03 03:08:06.000000000 +0000 ++++ mozilla/media/webrtc/trunk/third_party/libyuv/libyuv.gyp +@@ -9,6 +9,7 @@ + { + 'variables': { + 'use_system_libjpeg%': 0, ++ 'yuv_disable_asm%': 0, + }, + 'targets': [ + { +@@ -50,6 +51,11 @@ + ], + }, + 'conditions': [ ++ ['yuv_disable_asm==1', { ++ 'defines': [ ++ 'YUV_DISABLE_ASM', ++ ], ++ }], + ['build_with_mozilla==1', { + 'include_dirs': [ + '$(DEPTH)/dist/include', diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_tools_gyp_pylib_gyp_generator_mozmake.py b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_tools_gyp_pylib_gyp_generator_mozmake.py new file mode 100644 index 00000000000..f96f2c435dd --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_tools_gyp_pylib_gyp_generator_mozmake.py @@ -0,0 +1,55 @@ +$NetBSD: patch-mozilla_media_webrtc_trunk_tools_gyp_pylib_gyp_generator_mozmake.py,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/trunk/tools/gyp/pylib/gyp/generator/mozmake.py.orig 2013-05-03 03:08:06.000000000 +0000 ++++ mozilla/media/webrtc/trunk/tools/gyp/pylib/gyp/generator/mozmake.py +@@ -9,6 +9,7 @@ import collections + import gyp + import gyp.common + import sys ++import platform + import os + import re + import shlex +@@ -111,20 +112,34 @@ def ensure_directory_exists(path): + + def GetFlavor(params): + """Returns |params.flavor| if it's set, the system's default flavor else.""" ++ system = platform.system().lower() + flavors = { +- 'win32': 'win', +- 'darwin': 'mac', +- 'sunos5': 'solaris', +- 'freebsd7': 'freebsd', +- 'freebsd8': 'freebsd', ++ 'microsoft': 'win', ++ 'windows' : 'win', ++ 'darwin' : 'mac', ++ 'sunos' : 'solaris', ++ 'dragonfly': 'bsd', ++ 'freebsd' : 'bsd', ++ 'netbsd' : 'bsd', ++ 'openbsd' : 'bsd', + } +- flavor = flavors.get(sys.platform, 'linux') +- return params.get('flavor', flavor) ++ ++ if 'flavor' in params: ++ return params['flavor'] ++ if system.startswith('cygwin'): ++ return 'win' ++ if system in flavors: ++ return flavors[system] ++ ++ return 'linux' + + + def CalculateVariables(default_variables, params): ++ flavor = GetFlavor(params) ++ if flavor == 'bsd': ++ flavor = platform.system().lower() + generator_flags = params.get('generator_flags', {}) +- default_variables['OS'] = generator_flags.get('os', GetFlavor(params)) ++ default_variables['OS'] = generator_flags.get('os', flavor) + + + def CalculateGeneratorInputInfo(params): diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_build_common.gypi b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_build_common.gypi new file mode 100644 index 00000000000..16e02c95d7a --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_build_common.gypi @@ -0,0 +1,35 @@ +$NetBSD: patch-mozilla_media_webrtc_trunk_webrtc_build_common.gypi,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/trunk/webrtc/build/common.gypi.orig 2013-05-03 03:08:06.000000000 +0000 ++++ mozilla/media/webrtc/trunk/webrtc/build/common.gypi +@@ -124,6 +124,11 @@ + # and Java Implementation + 'enable_android_opensl%': 0, + }], ++ ['OS=="linux" or OS=="solaris" or os_bsd==1', { ++ 'include_v4l2_video_capture%': 1, ++ }, { ++ 'include_v4l2_video_capture%': 0, ++ }], + ['OS=="ios"', { + 'enable_video%': 0, + 'enable_protobuf%': 0, +@@ -210,6 +215,18 @@ + }], + ], + }], ++ ['os_bsd==1', { ++ 'defines': [ ++ 'WEBRTC_BSD', ++ 'WEBRTC_THREAD_RR', ++ ], ++ }], ++ ['OS=="dragonfly" or OS=="netbsd"', { ++ 'defines': [ ++ # doesn't support pthread_condattr_setclock ++ 'WEBRTC_CLOCK_TYPE_REALTIME', ++ ], ++ }], + ['OS=="ios"', { + 'defines': [ + 'WEBRTC_MAC', diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_modules_audio__device_audio__device.gypi b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_modules_audio__device_audio__device.gypi new file mode 100644 index 00000000000..550e32967b8 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_modules_audio__device_audio__device.gypi @@ -0,0 +1,91 @@ +$NetBSD: patch-mozilla_media_webrtc_trunk_webrtc_modules_audio__device_audio__device.gypi,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/trunk/webrtc/modules/audio_device/audio_device.gypi.orig 2013-05-03 03:08:07.000000000 +0000 ++++ mozilla/media/webrtc/trunk/webrtc/modules/audio_device/audio_device.gypi +@@ -45,11 +45,15 @@ + 'dummy/audio_device_utility_dummy.h', + ], + 'conditions': [ +- ['OS=="linux"', { ++ ['include_alsa_audio==1 or include_pulse_audio==1', { + 'include_dirs': [ + 'linux', + ], +- }], # OS==linux ++ 'defines': [ ++ # avoid pointless rename ++ 'WEBRTC_LINUX', ++ ], ++ }], # include_alsa_audio==1 or include_pulse_audio==1 + ['OS=="ios"', { + 'include_dirs': [ + 'ios', +@@ -77,14 +81,8 @@ + }], + ['include_internal_audio_device==1', { + 'sources': [ +- 'linux/alsasymboltable_linux.cc', +- 'linux/alsasymboltable_linux.h', +- 'linux/audio_device_alsa_linux.cc', +- 'linux/audio_device_alsa_linux.h', + 'linux/audio_device_utility_linux.cc', + 'linux/audio_device_utility_linux.h', +- 'linux/audio_mixer_manager_alsa_linux.cc', +- 'linux/audio_mixer_manager_alsa_linux.h', + 'linux/latebindingsymboltable_linux.cc', + 'linux/latebindingsymboltable_linux.h', + 'ios/audio_device_ios.cc', +@@ -134,28 +132,36 @@ + ], + }], + ['OS=="linux"', { +- 'defines': [ +- 'LINUX_ALSA', +- ], + 'link_settings': { + 'libraries': [ + '-ldl', + ], + }, +- 'conditions': [ +- ['include_pulse_audio==1', { +- 'defines': [ +- 'LINUX_PULSE', +- ], +- 'sources': [ +- 'linux/audio_device_pulse_linux.cc', +- 'linux/audio_device_pulse_linux.h', +- 'linux/audio_mixer_manager_pulse_linux.cc', +- 'linux/audio_mixer_manager_pulse_linux.h', +- 'linux/pulseaudiosymboltable_linux.cc', +- 'linux/pulseaudiosymboltable_linux.h', +- ], +- }], ++ }], ++ ['include_alsa_audio==1', { ++ 'defines': [ ++ 'LINUX_ALSA', ++ ], ++ 'sources': [ ++ 'linux/alsasymboltable_linux.cc', ++ 'linux/alsasymboltable_linux.h', ++ 'linux/audio_device_alsa_linux.cc', ++ 'linux/audio_device_alsa_linux.h', ++ 'linux/audio_mixer_manager_alsa_linux.cc', ++ 'linux/audio_mixer_manager_alsa_linux.h', ++ ], ++ }], ++ ['include_pulse_audio==1', { ++ 'defines': [ ++ 'LINUX_PULSE', ++ ], ++ 'sources': [ ++ 'linux/audio_device_pulse_linux.cc', ++ 'linux/audio_device_pulse_linux.h', ++ 'linux/audio_mixer_manager_pulse_linux.cc', ++ 'linux/audio_mixer_manager_pulse_linux.h', ++ 'linux/pulseaudiosymboltable_linux.cc', ++ 'linux/pulseaudiosymboltable_linux.h', + ], + }], + ['OS=="mac" or OS=="ios"', { diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_modules_audio__device_audio__device__utility.cc b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_modules_audio__device_audio__device__utility.cc new file mode 100644 index 00000000000..18fc8487a9d --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_modules_audio__device_audio__device__utility.cc @@ -0,0 +1,21 @@ +$NetBSD: patch-mozilla_media_webrtc_trunk_webrtc_modules_audio__device_audio__device__utility.cc,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/trunk/webrtc/modules/audio_device/audio_device_utility.cc.orig 2013-05-03 03:08:07.000000000 +0000 ++++ mozilla/media/webrtc/trunk/webrtc/modules/audio_device/audio_device_utility.cc +@@ -46,7 +46,7 @@ bool AudioDeviceUtility::StringCompare( + + } // namespace webrtc + +-#elif defined(WEBRTC_LINUX) || defined(WEBRTC_MAC) ++#elif defined(WEBRTC_LINUX) || defined(WEBRTC_BSD) || defined(WEBRTC_MAC) + + // ============================================================================ + // Linux & Mac +@@ -109,6 +109,6 @@ bool AudioDeviceUtility::StringCompare( + + } // namespace webrtc + +-#endif // defined(WEBRTC_LINUX) || defined(WEBRTC_MAC) ++#endif // defined(WEBRTC_LINUX) || defined(WEBRTC_BSD) || defined(WEBRTC_MAC) + + diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_modules_rtp__rtcp_source_forward__error__correction.cc b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_modules_rtp__rtcp_source_forward__error__correction.cc new file mode 100644 index 00000000000..b3957cb47e8 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_modules_rtp__rtcp_source_forward__error__correction.cc @@ -0,0 +1,12 @@ +$NetBSD: patch-mozilla_media_webrtc_trunk_webrtc_modules_rtp__rtcp_source_forward__error__correction.cc,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/forward_error_correction.cc.orig 2013-05-03 03:08:07.000000000 +0000 ++++ mozilla/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/forward_error_correction.cc +@@ -12,6 +12,7 @@ + + #include <algorithm> + #include <cassert> ++#include <cstdlib> // for abs() + #include <cstring> + #include <iterator> + diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_modules_rtp__rtcp_source_rtp__utility.cc b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_modules_rtp__rtcp_source_rtp__utility.cc new file mode 100644 index 00000000000..c84e69f17db --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_modules_rtp__rtcp_source_rtp__utility.cc @@ -0,0 +1,49 @@ +$NetBSD: patch-mozilla_media_webrtc_trunk_webrtc_modules_rtp__rtcp_source_rtp__utility.cc,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtp_utility.cc.orig 2013-05-03 03:08:07.000000000 +0000 ++++ mozilla/media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/rtp_utility.cc +@@ -18,7 +18,7 @@ + #include <Windows.h> // FILETIME + #include <WinSock.h> // timeval + #include <MMSystem.h> // timeGetTime +-#elif ((defined WEBRTC_LINUX) || (defined WEBRTC_MAC)) ++#elif ((defined WEBRTC_LINUX) || (defined WEBRTC_BSD) || (defined WEBRTC_MAC)) + #include <sys/time.h> // gettimeofday + #include <time.h> + #endif +@@ -156,7 +156,7 @@ void get_time(WindowsHelpTimer* help_tim + WindowsHelpTimer* _helpTimer; + }; + +-#elif defined(WEBRTC_LINUX) || defined(WEBRTC_MAC) ++#elif defined(WEBRTC_LINUX) || defined(WEBRTC_BSD) || defined(WEBRTC_MAC) + + // A clock reading times from the POSIX API. + class UnixSystemClock : public RtpRtcpClock { +@@ -214,7 +214,7 @@ void WindowsSystemClock::CurrentNTP(WebR + frac = (WebRtc_UWord32)dtemp; + } + +-#elif ((defined WEBRTC_LINUX) || (defined WEBRTC_MAC)) ++#elif ((defined WEBRTC_LINUX) || (defined WEBRTC_BSD) || (defined WEBRTC_MAC)) + + WebRtc_Word64 UnixSystemClock::GetTimeInMS() { + return TickTime::MillisecondTimestamp(); +@@ -253,7 +253,7 @@ static WindowsHelpTimer global_help_time + RtpRtcpClock* GetSystemClock() { + #if defined(_WIN32) + return new WindowsSystemClock(&global_help_timer); +-#elif defined(WEBRTC_LINUX) || defined(WEBRTC_MAC) ++#elif defined(WEBRTC_LINUX) || defined(WEBRTC_BSD) || defined(WEBRTC_MAC) + return new UnixSystemClock(); + #else + return NULL; +@@ -330,7 +330,7 @@ bool StringCompare(const char* str1, con + const WebRtc_UWord32 length) { + return (_strnicmp(str1, str2, length) == 0) ? true : false; + } +-#elif defined(WEBRTC_LINUX) || defined(WEBRTC_MAC) ++#elif defined(WEBRTC_LINUX) || defined(WEBRTC_BSD) || defined(WEBRTC_MAC) + bool StringCompare(const char* str1, const char* str2, + const WebRtc_UWord32 length) { + return (strncasecmp(str1, str2, length) == 0) ? true : false; diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_modules_udp__transport_source_udp__transport__impl.cc b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_modules_udp__transport_source_udp__transport__impl.cc new file mode 100644 index 00000000000..9d50afb646e --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_modules_udp__transport_source_udp__transport__impl.cc @@ -0,0 +1,90 @@ +$NetBSD: patch-mozilla_media_webrtc_trunk_webrtc_modules_udp__transport_source_udp__transport__impl.cc,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/trunk/webrtc/modules/udp_transport/source/udp_transport_impl.cc.orig 2013-05-03 03:08:07.000000000 +0000 ++++ mozilla/media/webrtc/trunk/webrtc/modules/udp_transport/source/udp_transport_impl.cc +@@ -18,16 +18,16 @@ + #if defined(_WIN32) + #include <winsock2.h> + #include <ws2tcpip.h> +-#elif defined(WEBRTC_LINUX) || defined(WEBRTC_MAC) ++#elif defined(WEBRTC_LINUX) || defined(WEBRTC_BSD) || defined(WEBRTC_MAC) + #include <arpa/inet.h> + #include <ctype.h> + #include <fcntl.h> + #include <netdb.h> ++#include <sys/socket.h> + #include <net/if.h> + #include <netinet/in.h> + #include <stdlib.h> + #include <sys/ioctl.h> +-#include <sys/socket.h> + #include <sys/time.h> + #include <unistd.h> + #ifndef WEBRTC_IOS +@@ -36,9 +36,11 @@ + #endif // defined(WEBRTC_LINUX) || defined(WEBRTC_MAC) + + #if defined(WEBRTC_MAC) +-#include <ifaddrs.h> + #include <machine/types.h> + #endif ++#if defined(WEBRTC_BSD) || defined(WEBRTC_MAC) ++#include <ifaddrs.h> ++#endif + #if defined(WEBRTC_LINUX) + #include <linux/netlink.h> + #include <linux/rtnetlink.h> +@@ -51,7 +53,7 @@ + #include "typedefs.h" + #include "udp_socket_manager_wrapper.h" + +-#if defined(WEBRTC_LINUX) || defined(WEBRTC_MAC) ++#if defined(WEBRTC_LINUX) || defined(WEBRTC_BSD) || defined(WEBRTC_MAC) + #define GetLastError() errno + + #define IFRSIZE ((int)(size * sizeof (struct ifreq))) +@@ -61,7 +63,7 @@ + (int)(nlh)->nlmsg_len >= (int)sizeof(struct nlmsghdr) && \ + (int)(nlh)->nlmsg_len <= (len)) + +-#endif // defined(WEBRTC_LINUX) || defined(WEBRTC_MAC) ++#endif // defined(WEBRTC_LINUX) || defined(WEBRTC_BSD) || defined(WEBRTC_MAC) + + namespace webrtc { + +@@ -2371,7 +2373,7 @@ WebRtc_Word32 UdpTransport::InetPresenta + const char* src, + void* dst) + { +-#if defined(WEBRTC_LINUX) || defined(WEBRTC_MAC) ++#if defined(WEBRTC_LINUX) || defined(WEBRTC_BSD) || defined(WEBRTC_MAC) + const WebRtc_Word32 result = inet_pton(af, src, dst); + return result > 0 ? 0 : -1; + +@@ -2493,7 +2495,7 @@ WebRtc_Word32 UdpTransport::LocalHostAdd + "getaddrinfo failed to find address"); + return -1; + +-#elif defined(WEBRTC_MAC) ++#elif defined(WEBRTC_BSD) || defined(WEBRTC_MAC) + struct ifaddrs* ptrIfAddrs = NULL; + struct ifaddrs* ptrIfAddrsStart = NULL; + +@@ -2685,7 +2687,7 @@ WebRtc_Word32 UdpTransport::LocalHostAdd + "gethostbyname failed, error:%d", error); + return -1; + } +-#elif (defined(WEBRTC_MAC)) ++#elif (defined(WEBRTC_BSD) || defined(WEBRTC_MAC)) + char localname[255]; + if (gethostname(localname, 255) != -1) + { +@@ -2824,7 +2826,7 @@ WebRtc_Word32 UdpTransport::IPAddress(co + sourcePort = htons(source_port); + return 0; + +- #elif defined(WEBRTC_LINUX) || defined(WEBRTC_MAC) ++ #elif defined(WEBRTC_LINUX) || defined(WEBRTC_BSD) || defined(WEBRTC_MAC) + WebRtc_Word32 ipFamily = address._sockaddr_storage.sin_family; + const void* ptrNumericIP = NULL; + diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_modules_utility_source_rtp__dump__impl.cc b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_modules_utility_source_rtp__dump__impl.cc new file mode 100644 index 00000000000..039e3b13177 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_modules_utility_source_rtp__dump__impl.cc @@ -0,0 +1,22 @@ +$NetBSD: patch-mozilla_media_webrtc_trunk_webrtc_modules_utility_source_rtp__dump__impl.cc,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/trunk/webrtc/modules/utility/source/rtp_dump_impl.cc.orig 2013-05-03 03:08:07.000000000 +0000 ++++ mozilla/media/webrtc/trunk/webrtc/modules/utility/source/rtp_dump_impl.cc +@@ -19,7 +19,7 @@ + #if defined(_WIN32) + #include <Windows.h> + #include <mmsystem.h> +-#elif defined(WEBRTC_LINUX) || defined(WEBRTC_MAC) ++#elif defined(WEBRTC_LINUX) || defined(WEBRTC_BSD) || defined(WEBRTC_MAC) + #include <string.h> + #include <sys/time.h> + #include <time.h> +@@ -238,7 +238,7 @@ inline WebRtc_UWord32 RtpDumpImpl::GetTi + { + #if defined(_WIN32) + return timeGetTime(); +-#elif defined(WEBRTC_LINUX) || defined(WEBRTC_MAC) ++#elif defined(WEBRTC_LINUX) || defined(WEBRTC_BSD) || defined(WEBRTC_MAC) + struct timeval tv; + struct timezone tz; + unsigned long val; diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_modules_video__capture_device__info__impl.cc b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_modules_video__capture_device__info__impl.cc new file mode 100644 index 00000000000..a12d57a28c6 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_modules_video__capture_device__info__impl.cc @@ -0,0 +1,31 @@ +$NetBSD: patch-mozilla_media_webrtc_trunk_webrtc_modules_video__capture_device__info__impl.cc,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/trunk/webrtc/modules/video_capture/device_info_impl.cc.orig 2013-05-03 03:08:07.000000000 +0000 ++++ mozilla/media/webrtc/trunk/webrtc/modules/video_capture/device_info_impl.cc +@@ -54,7 +54,7 @@ WebRtc_Word32 DeviceInfoImpl::NumberOfCa + if (_lastUsedDeviceNameLength == strlen((char*) deviceUniqueIdUTF8)) + { + // Is it the same device that is asked for again. +-#if defined(WEBRTC_MAC) || defined(WEBRTC_LINUX) ++#if defined(WEBRTC_MAC) || defined(WEBRTC_LINUX) || defined(WEBRTC_BSD) + if(strncasecmp((char*)_lastUsedDeviceName, + (char*) deviceUniqueIdUTF8, + _lastUsedDeviceNameLength)==0) +@@ -91,7 +91,7 @@ WebRtc_Word32 DeviceInfoImpl::GetCapabil + ReadLockScoped cs(_apiLock); + + if ((_lastUsedDeviceNameLength != strlen((char*) deviceUniqueIdUTF8)) +-#if defined(WEBRTC_MAC) || defined(WEBRTC_LINUX) ++#if defined(WEBRTC_MAC) || defined(WEBRTC_LINUX) || defined(WEBRTC_BSD) + || (strncasecmp((char*)_lastUsedDeviceName, + (char*) deviceUniqueIdUTF8, + _lastUsedDeviceNameLength)!=0)) +@@ -155,7 +155,7 @@ WebRtc_Word32 DeviceInfoImpl::GetBestMat + + ReadLockScoped cs(_apiLock); + if ((_lastUsedDeviceNameLength != strlen((char*) deviceUniqueIdUTF8)) +-#if defined(WEBRTC_MAC) || defined(WEBRTC_LINUX) ++#if defined(WEBRTC_MAC) || defined(WEBRTC_LINUX) || defined(WEBRTC_BSD) + || (strncasecmp((char*)_lastUsedDeviceName, + (char*) deviceUniqueIdUTF8, + _lastUsedDeviceNameLength)!=0)) diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_modules_video__capture_linux_device__info__linux.cc b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_modules_video__capture_linux_device__info__linux.cc new file mode 100644 index 00000000000..aa35571e4a0 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_modules_video__capture_linux_device__info__linux.cc @@ -0,0 +1,47 @@ +$NetBSD: patch-mozilla_media_webrtc_trunk_webrtc_modules_video__capture_linux_device__info__linux.cc,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/trunk/webrtc/modules/video_capture/linux/device_info_linux.cc.orig 2013-05-03 03:08:07.000000000 +0000 ++++ mozilla/media/webrtc/trunk/webrtc/modules/video_capture/linux/device_info_linux.cc +@@ -19,12 +19,30 @@ + #include <stdlib.h> + + //v4l includes ++#if defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__) ++#include <sys/videoio.h> ++#elif defined(__sun) ++#include <sys/videodev2.h> ++#else + #include <linux/videodev2.h> ++#endif ++#ifdef HAVE_LIBV4L2 ++#include <libv4l2.h> ++#endif + + #include "ref_count.h" + #include "trace.h" + + ++#ifdef HAVE_LIBV4L2 ++#define open v4l2_open ++#define close v4l2_close ++#define dup v4l2_dup ++#define ioctl v4l2_ioctl ++#define mmap v4l2_mmap ++#define munmap v4l2_munmap ++#endif ++ + namespace webrtc + { + namespace videocapturemodule +@@ -130,6 +148,11 @@ WebRtc_Word32 DeviceInfoLinux::GetDevice + memset(deviceNameUTF8, 0, deviceNameLength); + memcpy(cameraName, cap.card, sizeof(cap.card)); + ++ if (cameraName[0] == '\0') ++ { ++ sprintf(cameraName, "Camera at /dev/video%d", deviceNumber); ++ } ++ + if (deviceNameLength >= strlen(cameraName)) + { + memcpy(deviceNameUTF8, cameraName, strlen(cameraName)); diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_modules_video__capture_linux_video__capture__linux.cc b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_modules_video__capture_linux_video__capture__linux.cc new file mode 100644 index 00000000000..43a48afecee --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_modules_video__capture_linux_video__capture__linux.cc @@ -0,0 +1,45 @@ +$NetBSD: patch-mozilla_media_webrtc_trunk_webrtc_modules_video__capture_linux_video__capture__linux.cc,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/trunk/webrtc/modules/video_capture/linux/video_capture_linux.cc.orig 2013-05-03 03:08:07.000000000 +0000 ++++ mozilla/media/webrtc/trunk/webrtc/modules/video_capture/linux/video_capture_linux.cc +@@ -12,12 +12,23 @@ + #include <unistd.h> + #include <sys/stat.h> + #include <fcntl.h> +-#include <linux/videodev2.h> + #include <errno.h> + #include <stdio.h> + #include <sys/mman.h> + #include <string.h> + ++//v4l includes ++#if defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__) ++#include <sys/videoio.h> ++#elif defined(__sun) ++#include <sys/videodev2.h> ++#else ++#include <linux/videodev2.h> ++#endif ++#ifdef HAVE_LIBV4L2 ++#include <libv4l2.h> ++#endif ++ + #include <new> + + #include "ref_count.h" +@@ -26,6 +37,15 @@ + #include "critical_section_wrapper.h" + #include "video_capture_linux.h" + ++#ifdef HAVE_LIBV4L2 ++#define open v4l2_open ++#define close v4l2_close ++#define dup v4l2_dup ++#define ioctl v4l2_ioctl ++#define mmap v4l2_mmap ++#define munmap v4l2_munmap ++#endif ++ + namespace webrtc + { + namespace videocapturemodule diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_modules_video__capture_video__capture.gypi b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_modules_video__capture_video__capture.gypi new file mode 100644 index 00000000000..d3d151811d5 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_modules_video__capture_video__capture.gypi @@ -0,0 +1,62 @@ +$NetBSD: patch-mozilla_media_webrtc_trunk_webrtc_modules_video__capture_video__capture.gypi,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/trunk/webrtc/modules/video_capture/video_capture.gypi.orig 2013-05-03 03:08:07.000000000 +0000 ++++ mozilla/media/webrtc/trunk/webrtc/modules/video_capture/video_capture.gypi +@@ -7,6 +7,9 @@ + # be found in the AUTHORS file in the root of the source tree. + + { ++ 'variables': { ++ 'use_libv4l2%': 0, ++ }, + 'targets': [ + { + 'target_name': 'video_capture_module', +@@ -48,7 +51,17 @@ + ], + }, { # include_internal_video_capture == 1 + 'conditions': [ +- ['OS=="linux"', { ++ ['include_v4l2_video_capture==1', { ++ 'conditions': [ ++ ['use_libv4l2==1', { ++ 'defines': [ ++ 'HAVE_LIBV4L2', ++ ], ++ 'libraries': [ ++ '-lv4l2', ++ ], ++ }], ++ ], + 'include_dirs': [ + 'linux', + ], +@@ -157,7 +170,7 @@ + 'test/video_capture_main_mac.mm', + ], + 'conditions': [ +- ['OS=="mac" or OS=="linux"', { ++ ['OS!="win" and OS!="android"', { + 'cflags': [ + '-Wno-write-strings', + ], +@@ -165,13 +178,17 @@ + '-lpthread -lm', + ], + }], +- ['OS=="linux"', { ++ ['include_v4l2_video_capture==1', { + 'libraries': [ +- '-lrt', + '-lXext', + '-lX11', + ], + }], ++ ['OS=="linux"', { ++ 'libraries': [ ++ '-lrt', ++ ], ++ }], + ['OS=="mac"', { + 'dependencies': [ + # Link with a special main for mac so we can use the webcam. diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_interface_asm__defines.h b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_interface_asm__defines.h new file mode 100644 index 00000000000..8c766a0875f --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_interface_asm__defines.h @@ -0,0 +1,13 @@ +$NetBSD: patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_interface_asm__defines.h,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/trunk/webrtc/system_wrappers/interface/asm_defines.h.orig 2013-05-03 03:08:07.000000000 +0000 ++++ mozilla/media/webrtc/trunk/webrtc/system_wrappers/interface/asm_defines.h +@@ -11,7 +11,7 @@ + #ifndef WEBRTC_SYSTEM_WRAPPERS_INTERFACE_ASM_DEFINES_H_ + #define WEBRTC_SYSTEM_WRAPPERS_INTERFACE_ASM_DEFINES_H_ + +-#if defined(__linux__) && defined(__ELF__) ++#if (defined(__linux__) || defined(__FreeBSD__)) && defined(__ELF__) + .section .note.GNU-stack,"",%progbits + #endif + diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_interface_tick__util.h b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_interface_tick__util.h new file mode 100644 index 00000000000..34b192d7dd5 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_interface_tick__util.h @@ -0,0 +1,67 @@ +$NetBSD: patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_interface_tick__util.h,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/trunk/webrtc/system_wrappers/interface/tick_util.h.orig 2013-05-03 03:08:07.000000000 +0000 ++++ mozilla/media/webrtc/trunk/webrtc/system_wrappers/interface/tick_util.h +@@ -194,7 +194,7 @@ inline WebRtc_Word64 TickTime::QueryOsFo + } + result.ticks_ = now + (num_wrap_time_get_time << 32); + #endif +-#elif defined(WEBRTC_LINUX) ++#elif defined(WEBRTC_LINUX) || defined(WEBRTC_BSD) + struct timespec ts; + // TODO(wu): Remove CLOCK_REALTIME implementation. + #ifdef WEBRTC_CLOCK_TYPE_REALTIME +@@ -241,7 +241,7 @@ inline WebRtc_Word64 TickTime::Milliseco + #else + return ticks; + #endif +-#elif defined(WEBRTC_LINUX) || defined(WEBRTC_MAC) ++#elif defined(WEBRTC_LINUX) || defined(WEBRTC_BSD) || defined(WEBRTC_MAC) + return ticks / 1000000LL; + #else + return ticks / 1000LL; +@@ -258,7 +258,7 @@ inline WebRtc_Word64 TickTime::Microseco + #else + return ticks * 1000LL; + #endif +-#elif defined(WEBRTC_LINUX) || defined(WEBRTC_MAC) ++#elif defined(WEBRTC_LINUX) || defined(WEBRTC_BSD) || defined(WEBRTC_MAC) + return ticks / 1000LL; + #else + return ticks; +@@ -278,7 +278,7 @@ inline WebRtc_Word64 TickTime::Milliseco + #else + return ms; + #endif +-#elif defined(WEBRTC_LINUX) || defined(WEBRTC_MAC) ++#elif defined(WEBRTC_LINUX) || defined(WEBRTC_BSD) || defined(WEBRTC_MAC) + return ms * 1000000LL; + #else + return ms * 1000LL; +@@ -294,7 +294,7 @@ inline WebRtc_Word64 TickTime::TicksToMi + #else + return ticks; + #endif +-#elif defined(WEBRTC_LINUX) || defined(WEBRTC_MAC) ++#elif defined(WEBRTC_LINUX) || defined(WEBRTC_BSD) || defined(WEBRTC_MAC) + return ticks / 1000000LL; + #else + return ticks / 1000LL; +@@ -323,7 +323,7 @@ inline WebRtc_Word64 TickInterval::Milli + // interval_ is in ms + return interval_; + #endif +-#elif defined(WEBRTC_LINUX) || defined(WEBRTC_MAC) ++#elif defined(WEBRTC_LINUX) || defined(WEBRTC_BSD) || defined(WEBRTC_MAC) + // interval_ is in ns + return interval_ / 1000000; + #else +@@ -342,7 +342,7 @@ inline WebRtc_Word64 TickInterval::Micro + // interval_ is in ms + return interval_ * 1000LL; + #endif +-#elif defined(WEBRTC_LINUX) || defined(WEBRTC_MAC) ++#elif defined(WEBRTC_LINUX) || defined(WEBRTC_BSD) || defined(WEBRTC_MAC) + // interval_ is in ns + return interval_ / 1000; + #else diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_atomic32__posix.cc b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_atomic32__posix.cc new file mode 100644 index 00000000000..cb8358a9060 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_atomic32__posix.cc @@ -0,0 +1,12 @@ +$NetBSD: patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_atomic32__posix.cc,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/trunk/webrtc/system_wrappers/source/atomic32_posix.cc.orig 2013-05-03 03:08:07.000000000 +0000 ++++ mozilla/media/webrtc/trunk/webrtc/system_wrappers/source/atomic32_posix.cc +@@ -12,7 +12,6 @@ + + #include <assert.h> + #include <inttypes.h> +-#include <malloc.h> + + #include "common_types.h" + diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_condition__variable.cc b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_condition__variable.cc new file mode 100644 index 00000000000..af32036fcc6 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_condition__variable.cc @@ -0,0 +1,33 @@ +$NetBSD: patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_condition__variable.cc,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/trunk/webrtc/system_wrappers/source/condition_variable.cc.orig 2013-05-03 03:08:07.000000000 +0000 ++++ mozilla/media/webrtc/trunk/webrtc/system_wrappers/source/condition_variable.cc +@@ -8,14 +8,16 @@ + * be found in the AUTHORS file in the root of the source tree. + */ + ++#include "condition_variable_wrapper.h" ++ + #if defined(_WIN32) + #include <windows.h> + #include "condition_variable_win.h" +-#include "condition_variable_wrapper.h" +-#elif defined(WEBRTC_LINUX) || defined(WEBRTC_MAC) ++#elif defined(WEBRTC_LINUX) || defined(WEBRTC_BSD) || defined(WEBRTC_MAC) + #include <pthread.h> + #include "condition_variable_posix.h" +-#include "condition_variable_wrapper.h" ++#else ++#include <stddef.h> // for NULL + #endif + + namespace webrtc { +@@ -23,7 +25,7 @@ namespace webrtc { + ConditionVariableWrapper* ConditionVariableWrapper::CreateConditionVariable() { + #if defined(_WIN32) + return new ConditionVariableWindows; +-#elif defined(WEBRTC_LINUX) || defined(WEBRTC_MAC) ++#elif defined(WEBRTC_LINUX) || defined(WEBRTC_BSD) || defined(WEBRTC_MAC) + return ConditionVariablePosix::Create(); + #else + return NULL; diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_condition__variable__posix.cc b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_condition__variable__posix.cc new file mode 100644 index 00000000000..b09fad7dc0d --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_condition__variable__posix.cc @@ -0,0 +1,13 @@ +$NetBSD: patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_condition__variable__posix.cc,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/trunk/webrtc/system_wrappers/source/condition_variable_posix.cc.orig 2013-05-03 03:08:07.000000000 +0000 ++++ mozilla/media/webrtc/trunk/webrtc/system_wrappers/source/condition_variable_posix.cc +@@ -79,7 +79,7 @@ bool ConditionVariablePosix::SleepCS(Cri + unsigned long max_time_inMS) { + const unsigned long INFINITE = 0xFFFFFFFF; + const int MILLISECONDS_PER_SECOND = 1000; +-#ifndef WEBRTC_LINUX ++#if !defined(WEBRTC_LINUX) && !defined(WEBRTC_BSD) + const int MICROSECONDS_PER_MILLISECOND = 1000; + #endif + const int NANOSECONDS_PER_SECOND = 1000000000; diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_cpu.cc b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_cpu.cc new file mode 100644 index 00000000000..c41883f8ac8 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_cpu.cc @@ -0,0 +1,22 @@ +$NetBSD: patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_cpu.cc,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/trunk/webrtc/system_wrappers/source/cpu.cc.orig 2013-05-03 03:08:07.000000000 +0000 ++++ mozilla/media/webrtc/trunk/webrtc/system_wrappers/source/cpu.cc +@@ -14,7 +14,7 @@ + #include "cpu_win.h" + #elif defined(WEBRTC_MAC) + #include "cpu_mac.h" +-#elif defined(WEBRTC_ANDROID) ++#elif defined(WEBRTC_ANDROID) || defined(WEBRTC_BSD) + // Not implemented yet, might be possible to use Linux implementation + #else // defined(WEBRTC_LINUX) + #include "cpu_linux.h" +@@ -26,7 +26,7 @@ CpuWrapper* CpuWrapper::CreateCpu() { + return new CpuWindows(); + #elif defined(WEBRTC_MAC) + return new CpuWrapperMac(); +-#elif defined(WEBRTC_ANDROID) ++#elif defined(WEBRTC_ANDROID) || defined(WEBRTC_BSD) + return 0; + #else + return new CpuLinux(); diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_cpu__info.cc b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_cpu__info.cc new file mode 100644 index 00000000000..1a312b5d3d0 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_cpu__info.cc @@ -0,0 +1,50 @@ +$NetBSD: patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_cpu__info.cc,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/trunk/webrtc/system_wrappers/source/cpu_info.cc.orig 2013-05-03 03:08:07.000000000 +0000 ++++ mozilla/media/webrtc/trunk/webrtc/system_wrappers/source/cpu_info.cc +@@ -12,13 +12,15 @@ + + #if defined(_WIN32) + #include <Windows.h> +-#elif defined(WEBRTC_MAC) +-#include <sys/sysctl.h> ++#elif defined(WEBRTC_BSD) || defined(WEBRTC_MAC) + #include <sys/types.h> ++#include <sys/sysctl.h> + #elif defined(WEBRTC_ANDROID) + // Not implemented yet, might be possible to use Linux implementation +-#else // defined(WEBRTC_LINUX) ++#elif defined(WEBRTC_LINUX) + #include <sys/sysinfo.h> ++#else // defined(_SC_NPROCESSORS_ONLN) ++#include <unistd.h> + #endif + + #include "trace.h" +@@ -41,8 +43,15 @@ WebRtc_UWord32 CpuInfo::DetectNumberOfCo + WEBRTC_TRACE(kTraceStateInfo, kTraceUtility, -1, + "Available number of cores:%d", number_of_cores_); + +-#elif defined(WEBRTC_MAC) +- int name[] = {CTL_HW, HW_AVAILCPU}; ++#elif defined(WEBRTC_BSD) || defined(WEBRTC_MAC) ++ int name[] = { ++ CTL_HW, ++#ifdef HW_AVAILCPU ++ HW_AVAILCPU, ++#else ++ HW_NCPU, ++#endif ++ }; + int ncpu; + size_t size = sizeof(ncpu); + if (0 == sysctl(name, 2, &ncpu, &size, NULL, 0)) { +@@ -54,6 +63,8 @@ WebRtc_UWord32 CpuInfo::DetectNumberOfCo + "Failed to get number of cores"); + number_of_cores_ = 1; + } ++#elif defined(_SC_NPROCESSORS_ONLN) ++ _numberOfCores = sysconf(_SC_NPROCESSORS_ONLN); + #else + WEBRTC_TRACE(kTraceWarning, kTraceUtility, -1, + "No function to get number of cores"); diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_spreadsortlib_spreadsort.hpp b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_spreadsortlib_spreadsort.hpp new file mode 100644 index 00000000000..206e5aaa83e --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_spreadsortlib_spreadsort.hpp @@ -0,0 +1,18 @@ +$NetBSD: patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_spreadsortlib_spreadsort.hpp,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/trunk/webrtc/system_wrappers/source/spreadsortlib/spreadsort.hpp.orig 2013-05-03 03:08:07.000000000 +0000 ++++ mozilla/media/webrtc/trunk/webrtc/system_wrappers/source/spreadsortlib/spreadsort.hpp +@@ -21,6 +21,13 @@ Scott McMurray
+ #include "constants.hpp"
+ #include <cstring>
+
++#ifdef __FreeBSD__
++# include <osreldate.h>
++# if __FreeBSD_version < 900506
++# define getchar boost_getchar
++# endif
++#endif
++
+ namespace boost {
+ namespace detail {
+ //This only works on unsigned data types
diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_thread__posix.cc b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_thread__posix.cc new file mode 100644 index 00000000000..d3616625639 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_thread__posix.cc @@ -0,0 +1,96 @@ +$NetBSD: patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_thread__posix.cc,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/trunk/webrtc/system_wrappers/source/thread_posix.cc.orig 2013-05-03 03:08:07.000000000 +0000 ++++ mozilla/media/webrtc/trunk/webrtc/system_wrappers/source/thread_posix.cc +@@ -59,6 +59,17 @@ + #include <sys/prctl.h> + #endif + ++#if defined(__NetBSD__) ++#include <lwp.h> ++#elif defined(__FreeBSD__) ++#include <sys/param.h> ++#include <sys/thr.h> ++#endif ++ ++#if defined(WEBRTC_BSD) && !defined(__NetBSD__) ++#include <pthread_np.h> ++#endif ++ + #include "webrtc/system_wrappers/interface/critical_section_wrapper.h" + #include "webrtc/system_wrappers/interface/event_wrapper.h" + #include "webrtc/system_wrappers/interface/trace.h" +@@ -141,6 +152,20 @@ uint32_t ThreadWrapper::GetThreadId() { + return static_cast<uint32_t>(syscall(__NR_gettid)); + #elif defined(WEBRTC_MAC) || defined(WEBRTC_IOS) + return pthread_mach_thread_np(pthread_self()); ++#elif defined(__NetBSD__) ++ return _lwp_self(); ++#elif defined(__DragonFly__) ++ return lwp_gettid(); ++#elif defined(__OpenBSD__) ++ return reinterpret_cast<uintptr_t> (pthread_self()); ++#elif defined(__FreeBSD__) ++# if __FreeBSD_version > 900030 ++ return pthread_getthreadid_np(); ++# else ++ long lwpid; ++ thr_self(&lwpid); ++ return lwpid; ++# endif + #else + return reinterpret_cast<uint32_t>(pthread_self()); + #endif +@@ -172,7 +197,7 @@ ThreadPosix::~ThreadPosix() { + delete crit_state_; + } + +-#define HAS_THREAD_ID !defined(WEBRTC_IOS) && !defined(WEBRTC_MAC) ++#define HAS_THREAD_ID !defined(WEBRTC_IOS) && !defined(WEBRTC_MAC) && !defined(WEBRTC_BSD) + + bool ThreadPosix::Start(unsigned int& thread_id) + { +@@ -237,13 +262,18 @@ bool ThreadPosix::Start(unsigned int& th + + // CPU_ZERO and CPU_SET are not available in NDK r7, so disable + // SetAffinity on Android for now. +-#if (defined(WEBRTC_LINUX) && (!defined(WEBRTC_ANDROID))) ++#if defined(__FreeBSD__) || (defined(WEBRTC_LINUX) && \ ++ (!defined(WEBRTC_ANDROID))) + bool ThreadPosix::SetAffinity(const int* processor_numbers, + const unsigned int amount_of_processors) { + if (!processor_numbers || (amount_of_processors == 0)) { + return false; + } ++#if defined(__FreeBSD__) ++ cpuset_t mask; ++#else + cpu_set_t mask; ++#endif + CPU_ZERO(&mask); + + for (unsigned int processor = 0; +@@ -251,7 +281,11 @@ bool ThreadPosix::SetAffinity(const int* + ++processor) { + CPU_SET(processor_numbers[processor], &mask); + } +-#if defined(WEBRTC_ANDROID) ++#if defined(__FreeBSD__) ++ const int result = pthread_setaffinity_np(thread_, ++ sizeof(mask), ++ &mask); ++#elif defined(WEBRTC_ANDROID) + // Android. + const int result = syscall(__NR_sched_setaffinity, + pid_, +@@ -325,6 +359,10 @@ void ThreadPosix::Run() { + if (set_thread_name_) { + #ifdef WEBRTC_LINUX + prctl(PR_SET_NAME, (unsigned long)name_, 0, 0, 0); ++#elif defined(__NetBSD__) ++ pthread_setname_np(pthread_self(), "%s", (void *)name_); ++#elif defined(WEBRTC_BSD) ++ pthread_set_name_np(pthread_self(), name_); + #endif + WEBRTC_TRACE(kTraceStateInfo, kTraceUtility, -1, + "Thread with name:%s started ", name_); diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_trace__posix.cc b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_trace__posix.cc new file mode 100644 index 00000000000..66b61ca67b2 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_trace__posix.cc @@ -0,0 +1,13 @@ +$NetBSD: patch-mozilla_media_webrtc_trunk_webrtc_system__wrappers_source_trace__posix.cc,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/trunk/webrtc/system_wrappers/source/trace_posix.cc.orig 2013-05-03 03:08:07.000000000 +0000 ++++ mozilla/media/webrtc/trunk/webrtc/system_wrappers/source/trace_posix.cc +@@ -54,7 +54,7 @@ WebRtc_Word32 TracePosix::AddTime(char* + } + struct tm buffer; + const struct tm* system_time = +- localtime_r(&system_time_high_res.tv_sec, &buffer); ++ localtime_r((const time_t *)(&system_time_high_res.tv_sec), &buffer); + + const WebRtc_UWord32 ms_time = system_time_high_res.tv_usec / 1000; + WebRtc_UWord32 prev_tickCount = 0; diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_typedefs.h b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_typedefs.h new file mode 100644 index 00000000000..e6793a1bfac --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_typedefs.h @@ -0,0 +1,13 @@ +$NetBSD: patch-mozilla_media_webrtc_trunk_webrtc_typedefs.h,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/trunk/webrtc/typedefs.h.orig 2013-05-03 03:08:07.000000000 +0000 ++++ mozilla/media/webrtc/trunk/webrtc/typedefs.h +@@ -21,7 +21,7 @@ + // For access to standard POSIXish features, use WEBRTC_POSIX instead of a + // more specific macro. + #if defined(WEBRTC_MAC) || defined(WEBRTC_LINUX) || \ +- defined(WEBRTC_ANDROID) ++ defined(WEBRTC_ANDROID) || defined(WEBRTC_BSD) + #define WEBRTC_POSIX + #endif + diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_video__engine_vie__defines.h b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_video__engine_vie__defines.h new file mode 100644 index 00000000000..8a642bf2999 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_video__engine_vie__defines.h @@ -0,0 +1,13 @@ +$NetBSD: patch-mozilla_media_webrtc_trunk_webrtc_video__engine_vie__defines.h,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/trunk/webrtc/video_engine/vie_defines.h.orig 2013-05-03 03:08:07.000000000 +0000 ++++ mozilla/media/webrtc/trunk/webrtc/video_engine/vie_defines.h +@@ -173,7 +173,7 @@ inline int ChannelId(const int moduleId) + + // Linux specific. + #ifndef WEBRTC_ANDROID +-#ifdef WEBRTC_LINUX ++#if defined(WEBRTC_LINUX) || defined(WEBRTC_BSD) + // Build information macros. + #if defined(_DEBUG) + #define BUILDMODE "d" diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_voice__engine_voe__network__impl.cc b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_voice__engine_voe__network__impl.cc new file mode 100644 index 00000000000..24b6166c571 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_voice__engine_voe__network__impl.cc @@ -0,0 +1,31 @@ +$NetBSD: patch-mozilla_media_webrtc_trunk_webrtc_voice__engine_voe__network__impl.cc,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/trunk/webrtc/voice_engine/voe_network_impl.cc.orig 2013-05-03 03:08:07.000000000 +0000 ++++ mozilla/media/webrtc/trunk/webrtc/voice_engine/voe_network_impl.cc +@@ -472,7 +472,7 @@ int VoENetworkImpl::SetSendTOS(int chann + "SetSendTOS(channel=%d, DSCP=%d, useSetSockopt=%d)", + channel, DSCP, useSetSockopt); + +-#if !defined(_WIN32) && !defined(WEBRTC_LINUX) && !defined(WEBRTC_MAC) ++#if !defined(_WIN32) && !defined(WEBRTC_LINUX) && !defined(WEBRTC_BSD) && !defined(WEBRTC_MAC) + _shared->SetLastError(VE_FUNC_NOT_SUPPORTED, kTraceWarning, + "SetSendTOS() is not supported on this platform"); + return -1; +@@ -528,7 +528,7 @@ int VoENetworkImpl::SetSendTOS(int chann + "SetSendTOS() external transport is enabled"); + return -1; + } +-#if defined(WEBRTC_LINUX) || defined(WEBRTC_MAC) ++#if defined(WEBRTC_LINUX) || defined(WEBRTC_BSD) || defined(WEBRTC_MAC) + useSetSockopt = true; + WEBRTC_TRACE(kTraceInfo, kTraceVoice, VoEId(_shared->instance_id(), -1), + " force useSetSockopt=true since there is no alternative" +@@ -551,7 +551,7 @@ int VoENetworkImpl::GetSendTOS(int chann + WEBRTC_TRACE(kTraceApiCall, kTraceVoice, VoEId(_shared->instance_id(), -1), + "GetSendTOS(channel=%d)", channel); + +-#if !defined(_WIN32) && !defined(WEBRTC_LINUX) && !defined(WEBRTC_MAC) ++#if !defined(_WIN32) && !defined(WEBRTC_LINUX) && !defined(WEBRTC_BSD) && !defined(WEBRTC_MAC) + _shared->SetLastError(VE_FUNC_NOT_SUPPORTED, kTraceWarning, + "GetSendTOS() is not supported on this platform"); + return -1; diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_voice__engine_voice__engine__defines.h b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_voice__engine_voice__engine__defines.h new file mode 100644 index 00000000000..9d0f6ae48ba --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_trunk_webrtc_voice__engine_voice__engine__defines.h @@ -0,0 +1,38 @@ +$NetBSD: patch-mozilla_media_webrtc_trunk_webrtc_voice__engine_voice__engine__defines.h,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/trunk/webrtc/voice_engine/voice_engine_defines.h.orig 2013-05-03 03:08:07.000000000 +0000 ++++ mozilla/media/webrtc/trunk/webrtc/voice_engine/voice_engine_defines.h +@@ -414,7 +414,7 @@ namespace webrtc + // *** WEBRTC_MAC *** + // including iPhone + +-#ifdef WEBRTC_MAC ++#if defined(WEBRTC_BSD) || defined(WEBRTC_MAC) + + #include <pthread.h> + #include <sys/types.h> +@@ -431,6 +431,7 @@ namespace webrtc + #include <sched.h> + #include <sys/time.h> + #include <time.h> ++#if !defined(WEBRTC_BSD) + #include <AudioUnit/AudioUnit.h> + #if !defined(WEBRTC_IOS) + #include <CoreServices/CoreServices.h> +@@ -439,6 +440,7 @@ namespace webrtc + #include <AudioToolbox/AudioConverter.h> + #include <CoreAudio/HostTime.h> + #endif ++#endif + + #define DWORD unsigned long int + #define WINAPI +@@ -531,7 +533,7 @@ namespace webrtc + + #else + #define IPHONE_NOT_SUPPORTED(stat) +-#endif // #ifdef WEBRTC_MAC ++#endif // #if defined(WEBRTC_BSD) || defined(WEBRTC_MAC) + + + diff --git a/www/seamonkey/patches/patch-mozilla_media_webrtc_webrtc__config.gypi b/www/seamonkey/patches/patch-mozilla_media_webrtc_webrtc__config.gypi new file mode 100644 index 00000000000..70efd16fffc --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_media_webrtc_webrtc__config.gypi @@ -0,0 +1,12 @@ +$NetBSD: patch-mozilla_media_webrtc_webrtc__config.gypi,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/media/webrtc/webrtc_config.gypi.orig 2013-05-03 03:08:07.000000000 +0000 ++++ mozilla/media/webrtc/webrtc_config.gypi +@@ -14,7 +14,6 @@ + 'include_internal_video_render': 0, + 'clang_use_chrome_plugins': 0, + 'enable_protobuf': 0, +- 'include_pulse_audio': 0, + 'include_tests': 0, + # use_system_lib* still seems to be in use in trunk/build + 'use_system_libjpeg': 0, diff --git a/www/seamonkey/patches/patch-mozilla_netwerk_sctp_src_Makefile.in b/www/seamonkey/patches/patch-mozilla_netwerk_sctp_src_Makefile.in new file mode 100644 index 00000000000..0dda2a22cb1 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_netwerk_sctp_src_Makefile.in @@ -0,0 +1,23 @@ +$NetBSD: patch-mozilla_netwerk_sctp_src_Makefile.in,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/netwerk/sctp/src/Makefile.in.orig 2013-05-03 03:08:09.000000000 +0000 ++++ mozilla/netwerk/sctp/src/Makefile.in +@@ -114,11 +114,18 @@ DEFINES += \ + -U__FreeBSD__ \ + $(NULL) + else ++ifeq ($(OS_TARGET),NetBSD) ++DEFINES += \ ++ -D__Userspace_os_NetBSD=1 \ ++ -U__NetBSD__ \ ++ $(NULL) ++else + #error Unsupported platform! + endif + endif + endif + endif ++endif + + include $(topsrcdir)/config/config.mk + include $(topsrcdir)/ipc/chromium/chromium-config.mk diff --git a/www/seamonkey/patches/patch-mozilla_netwerk_sctp_src_netinet_sctp__os__userspace.h b/www/seamonkey/patches/patch-mozilla_netwerk_sctp_src_netinet_sctp__os__userspace.h new file mode 100644 index 00000000000..5a22793bce7 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_netwerk_sctp_src_netinet_sctp__os__userspace.h @@ -0,0 +1,14 @@ +$NetBSD: patch-mozilla_netwerk_sctp_src_netinet_sctp__os__userspace.h,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/netwerk/sctp/src/netinet/sctp_os_userspace.h.orig 2013-05-03 03:08:09.000000000 +0000 ++++ mozilla/netwerk/sctp/src/netinet/sctp_os_userspace.h +@@ -395,7 +395,9 @@ typedef pthread_t userland_thread_t; + #define MA_OWNED 7 /* sys/mutex.h typically on FreeBSD */ + #if !defined(__Userspace_os_FreeBSD) + struct mtx {int dummy;}; ++#if !defined(__Userspace_os_NetBSD) + struct selinfo {int dummy;}; ++#endif + struct sx {int dummy;}; + #endif + diff --git a/www/seamonkey/patches/patch-mozilla_netwerk_sctp_src_user__recv__thread.c b/www/seamonkey/patches/patch-mozilla_netwerk_sctp_src_user__recv__thread.c new file mode 100644 index 00000000000..ac515888012 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_netwerk_sctp_src_user__recv__thread.c @@ -0,0 +1,13 @@ +$NetBSD: patch-mozilla_netwerk_sctp_src_user__recv__thread.c,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/netwerk/sctp/src/user_recv_thread.c.orig 2013-05-03 03:08:09.000000000 +0000 ++++ mozilla/netwerk/sctp/src/user_recv_thread.c +@@ -35,7 +35,7 @@ + #include <netinet/in.h> + #include <unistd.h> + #include <pthread.h> +-#if !defined(__Userspace_os_FreeBSD) ++#if !defined(__Userspace_os_FreeBSD) && !defined(__Userspace_os_NetBSD) + #include <sys/uio.h> + #else + #include <user_ip6_var.h> diff --git a/www/seamonkey/patches/patch-mozilla_netwerk_sctp_src_user__socketvar.h b/www/seamonkey/patches/patch-mozilla_netwerk_sctp_src_user__socketvar.h new file mode 100644 index 00000000000..76945ceb29f --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_netwerk_sctp_src_user__socketvar.h @@ -0,0 +1,33 @@ +$NetBSD: patch-mozilla_netwerk_sctp_src_user__socketvar.h,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/netwerk/sctp/src/user_socketvar.h.orig 2013-05-03 03:08:09.000000000 +0000 ++++ mozilla/netwerk/sctp/src/user_socketvar.h +@@ -47,7 +47,7 @@ + /* #include <sys/_lock.h> was 0 byte file */ + /* #include <sys/_mutex.h> was 0 byte file */ + /* #include <sys/_sx.h> */ /*__Userspace__ alternative?*/ +-#if !defined(__Userspace_os_Windows) && !defined(__Userspace_os_FreeBSD) ++#if !defined(__Userspace_os_Windows) && !defined(__Userspace_os_FreeBSD) && !defined(__Userspace_os_NetBSD) + #include <sys/uio.h> + #endif + #define SOCK_MAXADDRLEN 255 +@@ -64,16 +64,18 @@ + #define ERESTART (-1) + #endif + +-#if !defined(__Userspace_os_Darwin) ++#if !defined(__Userspace_os_Darwin) && !defined(__Userspace_os_NetBSD) + enum uio_rw { UIO_READ, UIO_WRITE }; + #endif + ++#if !defined(__Userspace_os_NetBSD) + /* Segment flag values. */ + enum uio_seg { + UIO_USERSPACE, /* from user data space */ + UIO_SYSSPACE, /* from system space */ + UIO_NOCOPY /* don't copy, already in object */ + }; ++#endif + + struct proc { + int stub; /* struct proc is a dummy for __Userspace__ */ diff --git a/www/seamonkey/patches/patch-mozilla_ostream b/www/seamonkey/patches/patch-mozilla_ostream new file mode 100644 index 00000000000..f28564c0f8e --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_ostream @@ -0,0 +1,8 @@ +$NetBSD: patch-mozilla_ostream,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/ostream.orig 2013-05-21 12:42:41.000000000 +0000 ++++ mozilla/ostream +@@ -0,0 +1,3 @@ ++#pragma GCC visibility push(default) ++#include_next <ostream> ++#pragma GCC visibility pop diff --git a/www/seamonkey/patches/patch-mozilla_security_manager_ssl_src_nsNSSComponent.cpp b/www/seamonkey/patches/patch-mozilla_security_manager_ssl_src_nsNSSComponent.cpp new file mode 100644 index 00000000000..bbadf8a2e65 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_security_manager_ssl_src_nsNSSComponent.cpp @@ -0,0 +1,12 @@ +$NetBSD: patch-mozilla_security_manager_ssl_src_nsNSSComponent.cpp,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/security/manager/ssl/src/nsNSSComponent.cpp.orig 2013-05-03 03:08:10.000000000 +0000 ++++ mozilla/security/manager/ssl/src/nsNSSComponent.cpp +@@ -72,6 +72,7 @@ + #include "nss.h" + #include "pk11func.h" + #include "ssl.h" ++#define NSS_ENABLE_ECC 1 + #include "sslproto.h" + #include "secmod.h" + #include "sechash.h" diff --git a/www/seamonkey/patches/patch-mozilla_toolkit_library_Makefile.in b/www/seamonkey/patches/patch-mozilla_toolkit_library_Makefile.in new file mode 100644 index 00000000000..c1f42ff6f58 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_toolkit_library_Makefile.in @@ -0,0 +1,12 @@ +$NetBSD: patch-mozilla_toolkit_library_Makefile.in,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/toolkit/library/Makefile.in.orig 2013-05-03 03:08:13.000000000 +0000 ++++ mozilla/toolkit/library/Makefile.in +@@ -405,6 +405,7 @@ endif + EXTRA_DSO_LDOPTS += $(call EXPAND_LIBNAME_PATH,gkmedias,$(DIST)/lib) + + ifdef MOZ_WEBRTC ++EXTRA_DSO_LDOPTS += $(MOZ_LIBV4L2_LIBS) + ifdef MOZ_PEERCONNECTION + COMPONENT_LIBS += peerconnection + endif diff --git a/www/seamonkey/patches/patch-mozilla_unwind.h b/www/seamonkey/patches/patch-mozilla_unwind.h new file mode 100644 index 00000000000..accc421ebc4 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_unwind.h @@ -0,0 +1,9 @@ +$NetBSD: patch-mozilla_unwind.h,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/unwind.h.orig 2013-05-21 12:42:41.000000000 +0000 ++++ mozilla/unwind.h +@@ -0,0 +1,4 @@ ++#pragma GCC system_header ++#pragma GCC visibility push(default) ++#include_next <unwind.h> ++#pragma GCC visibility pop diff --git a/www/seamonkey/patches/patch-mozilla_xpcom_Makefile.in b/www/seamonkey/patches/patch-mozilla_xpcom_Makefile.in index 4fa6a814606..a8b6b6352f9 100644 --- a/www/seamonkey/patches/patch-mozilla_xpcom_Makefile.in +++ b/www/seamonkey/patches/patch-mozilla_xpcom_Makefile.in @@ -1,13 +1,13 @@ -$NetBSD: patch-mozilla_xpcom_Makefile.in,v 1.7 2013/01/20 08:33:14 ryoon Exp $ +$NetBSD: patch-mozilla_xpcom_Makefile.in,v 1.8 2013/05/23 13:25:30 ryoon Exp $ ---- mozilla/xpcom/Makefile.in.orig 2013-01-06 06:26:33.000000000 +0000 +--- mozilla/xpcom/Makefile.in.orig 2013-05-03 03:08:15.000000000 +0000 +++ mozilla/xpcom/Makefile.in @@ -35,6 +35,10 @@ DIRS += windbgdlg endif endif +ifeq ($(OS_ARCH),NetBSD) -+EXTRA_DSO_LDOPTS += -Wl,-rpath,${PREFIX}/lib/seamonkey-sdk/sdk/lib ++EXTRA_DSO_LDOPTS += -Wl,-rpath,${PREFIX}/lib/xulrunner/sdk/lib +endif + ifdef ENABLE_TESTS diff --git a/www/seamonkey/patches/patch-mozilla_xpcom_io_nsMultiplexInputStream.cpp b/www/seamonkey/patches/patch-mozilla_xpcom_io_nsMultiplexInputStream.cpp new file mode 100644 index 00000000000..4211e7db8f2 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_xpcom_io_nsMultiplexInputStream.cpp @@ -0,0 +1,13 @@ +$NetBSD: patch-mozilla_xpcom_io_nsMultiplexInputStream.cpp,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/xpcom/io/nsMultiplexInputStream.cpp.orig 2013-05-03 03:08:15.000000000 +0000 ++++ mozilla/xpcom/io/nsMultiplexInputStream.cpp +@@ -529,7 +529,7 @@ nsMultiplexInputStream::Seek(int32_t aWh + rv = stream->Tell(&avail); + NS_ENSURE_SUCCESS(rv, rv); + +- int64_t newPos = streamPos + XPCOM_MIN(avail, std::abs(remaining)); ++ int64_t newPos = streamPos + XPCOM_MIN(avail, (int64_t)std::abs(remaining)); + + rv = stream->Seek(NS_SEEK_END, -newPos); + NS_ENSURE_SUCCESS(rv, rv); diff --git a/www/seamonkey/patches/patch-mozilla_xpcom_reflect_xptcall_src_md_unix_xptcinvoke__gcc__x86__unix.cpp b/www/seamonkey/patches/patch-mozilla_xpcom_reflect_xptcall_src_md_unix_xptcinvoke__gcc__x86__unix.cpp new file mode 100644 index 00000000000..e0521eba7d9 --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_xpcom_reflect_xptcall_src_md_unix_xptcinvoke__gcc__x86__unix.cpp @@ -0,0 +1,13 @@ +$NetBSD: patch-mozilla_xpcom_reflect_xptcall_src_md_unix_xptcinvoke__gcc__x86__unix.cpp,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_gcc_x86_unix.cpp.orig 2013-05-03 03:08:15.000000000 +0000 ++++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_gcc_x86_unix.cpp +@@ -9,7 +9,7 @@ + #include "xptc_gcc_x86_unix.h" + + extern "C" { +-static void ATTRIBUTE_USED __attribute__ ((regparm(3))) ++void ATTRIBUTE_USED __attribute__ ((regparm(3))) + invoke_copy_to_stack(uint32_t paramCount, nsXPTCVariant* s, uint32_t* d) + { + for(uint32_t i = paramCount; i >0; i--, d++, s++) diff --git a/www/seamonkey/patches/patch-mozilla_xpcom_reflect_xptcall_src_md_unix_xptcstubs__gcc__x86__unix.cpp b/www/seamonkey/patches/patch-mozilla_xpcom_reflect_xptcall_src_md_unix_xptcstubs__gcc__x86__unix.cpp new file mode 100644 index 00000000000..7539fb2d31e --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_xpcom_reflect_xptcall_src_md_unix_xptcstubs__gcc__x86__unix.cpp @@ -0,0 +1,13 @@ +$NetBSD: patch-mozilla_xpcom_reflect_xptcall_src_md_unix_xptcstubs__gcc__x86__unix.cpp,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_gcc_x86_unix.cpp.orig 2013-05-03 03:08:15.000000000 +0000 ++++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_gcc_x86_unix.cpp +@@ -10,7 +10,7 @@ + #include "xptc_gcc_x86_unix.h" + + extern "C" { +-static nsresult ATTRIBUTE_USED ++nsresult ATTRIBUTE_USED + __attribute__ ((regparm (3))) + PrepareAndDispatch(uint32_t methodIndex, nsXPTCStubBase* self, uint32_t* args) + { diff --git a/www/seamonkey/patches/patch-mozilla_xpcom_string_public_nsAlgorithm.h b/www/seamonkey/patches/patch-mozilla_xpcom_string_public_nsAlgorithm.h new file mode 100644 index 00000000000..7a5895567df --- /dev/null +++ b/www/seamonkey/patches/patch-mozilla_xpcom_string_public_nsAlgorithm.h @@ -0,0 +1,16 @@ +$NetBSD: patch-mozilla_xpcom_string_public_nsAlgorithm.h,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- mozilla/xpcom/string/public/nsAlgorithm.h.orig 2013-05-03 03:08:15.000000000 +0000 ++++ mozilla/xpcom/string/public/nsAlgorithm.h +@@ -45,7 +45,10 @@ XPCOM_MAX( const T& a, const T& b ) + return a > b ? a : b; + } + +-#if defined(_MSC_VER) && (_MSC_VER < 1600) ++#if (defined(_MSC_VER) && (_MSC_VER < 1600)) || \ ++ ((defined(__GLIBCXX__) && __GLIBCXX__ < 20121005) && \ ++ (defined(_GLIBCXX_USE_LONG_LONG) && \ ++ (!_GLIBCXX_USE_C99 || _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC))) + namespace std { + inline + long long diff --git a/www/seamonkey/patches/patch-mp b/www/seamonkey/patches/patch-mp index e8c48b072bc..1fc4f13fa3f 100644 --- a/www/seamonkey/patches/patch-mp +++ b/www/seamonkey/patches/patch-mp @@ -1,8 +1,8 @@ -$NetBSD: patch-mp,v 1.11 2013/04/07 20:23:49 ryoon Exp $ +$NetBSD: patch-mp,v 1.12 2013/05/23 13:25:30 ryoon Exp $ ---- mozilla/media/libsydneyaudio/src/Makefile.in.orig 2013-04-01 03:31:06.000000000 +0000 +--- mozilla/media/libsydneyaudio/src/Makefile.in.orig 2013-05-03 03:08:05.000000000 +0000 +++ mozilla/media/libsydneyaudio/src/Makefile.in -@@ -70,6 +70,12 @@ CSRCS = \ +@@ -70,6 +70,18 @@ CSRCS = \ $(NULL) endif @@ -12,6 +12,12 @@ $NetBSD: patch-mp,v 1.11 2013/04/07 20:23:49 ryoon Exp $ + $(NULL) +endif + ++ifdef MOZ_PULSEAUDIO ++CSRCS = \ ++ sydney_audio_pulseaudio.c \ ++ $(NULL) ++endif ++ ifeq ($(OS_ARCH),WINNT) OS_LIBS += winmm.lib endif diff --git a/www/seamonkey/patches/patch-suite_confvars.sh b/www/seamonkey/patches/patch-suite_confvars.sh new file mode 100644 index 00000000000..99d5fc93325 --- /dev/null +++ b/www/seamonkey/patches/patch-suite_confvars.sh @@ -0,0 +1,13 @@ +$NetBSD: patch-suite_confvars.sh,v 1.1 2013/05/23 13:25:30 ryoon Exp $ + +--- suite/confvars.sh.orig 2013-05-03 03:02:30.000000000 +0000 ++++ suite/confvars.sh +@@ -38,7 +38,7 @@ MOZ_SERVICES_SYNC=1 + MOZ_URL_CLASSIFIER=1 + # Disable WebRTC as we don't use it currently and to work around bug 837618 + # for Mac +-if test "$OS_ARCH" == "Darwin"; then ++if test "$OS_ARCH" = "Darwin"; then + MOZ_WEBRTC= + fi + |