Ravenports generated: 16 Apr 2024 22:24
[ravenports.git] / bucket_8B / spidermonkey
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               spidermonkey
4 VERSION=                115.10.0
5 KEYWORDS=               lang
6 VARIANTS=               standard
7 SDESC[standard]=        Standalone JS interpreter from Mozilla 115-esr
8 HOMEPAGE=               https://spidermonkey.dev
9 CONTACT=                Michael_Reim[kraileth@elderlinux.org]
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            MOZILLA/firefox/releases/115.10.0esr/source
13 DISTFILE[1]=            firefox-115.10.0esr.source.tar.xz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        complete
16                         primary
17                         dev
18
19 OPTIONS_AVAILABLE=      none
20 OPTIONS_STANDARD=       none
21
22 BUILD_DEPENDS=          zip:single:standard
23                         rust:single:standard
24                         icu:dev:standard
25                         nspr:dev:standard
26                         llvm:tools:standard
27 BUILDRUN_DEPENDS=       icu:primary:standard
28                         icu:data:standard
29                         nspr:primary:standard
30 EXRUN[dev]=             nspr:dev:standard
31
32 USES=                   gmake perl pkgconfig python:v11,build zlib readline
33                         clang:keepcc
34
35 DISTNAME=               firefox-115.10.0/js/src
36
37 LICENSE=                MPL:primary
38 LICENSE_TERMS=          primary:{{WRKDIR}}/TERMS
39 LICENSE_FILE=           MPL:stock
40 LICENSE_AWK=            TERMS:"^$$"
41 LICENSE_SOURCE=         TERMS:{{WRKSRC}}/js-config.h.in
42 LICENSE_SCHEME=         solo
43
44 FPC_EQUIVALENT=         lang/spidermonkey78
45
46 MUST_CONFIGURE=         yes
47 CONFIGURE_OUTSOURCE=    yes
48 CONFIGURE_ARGS=         --prefix={{PREFIX}}
49                         --target={{CONFIGURE_TARGET}}
50                         --disable-debug
51                         --disable-debug-symbols
52                         --disable-jemalloc
53                         --enable-readline
54                         --enable-release
55                         --enable-shared-js
56                         --enable-tests
57                         --enable-optimize
58                         --enable-gczeal
59                         --with-intl-api
60                         --with-system-nspr
61                         --with-system-icu
62                         --with-system-zlib
63
64 PLIST_SUB=              MOZJS_MAJOR=115
65                         MOZJS_MINOR=10
66
67 VAR_OPSYS[linux]=       MAKEFILE_LINE=CONFIGURE_TARGET=x86_64-ravenadm-linux-gnu
68 VAR_OPSYS[midnightbsd]= MAKEFILE_LINE=CONFIGURE_TARGET=x86_64-raven-freebsd12.3
69
70 post-install:
71         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/js115
72         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmozjs-115.so
73
74 pre-configure:
75         ${REINPLACE_CMD} -e "s|%%MBSD64_TGT%%|x86_64-raven-freebsd12.3|" \
76         ${WRKSRC}/../../build/autoconf/config.guess
77         # don't allow linking with ssp
78         ${REINPLACE_CMD} '/protector-strong/d' \
79         ${WRKSRC}/../../build/moz.configure/toolchain.configure
80
81 [FILE:126:descriptions/desc.primary]
82 SpiderMonkey is Mozilla's JavaScript engine written in C and C++. It is 
83 used in various Mozilla products, including Firefox.
84
85
86 [FILE:112:distinfo]
87 0afd3c733d95f7047f258d1a9768d06d856217fe736d85bfb370db9dd926eef2    507826764 firefox-115.10.0esr.source.tar.xz
88
89
90 [FILE:102:manifests/plist.primary]
91 bin/
92  js%%MOZJS_MAJOR%%
93  js%%MOZJS_MAJOR%%-config
94 lib/
95  libjs_static.ajs
96  libmozjs-%%MOZJS_MAJOR%%.so
97
98
99 [FILE:6028:manifests/plist.dev]
100 include/mozjs-%%MOZJS_MAJOR%%/
101  BaseProfiler.h
102  BaseProfilingCategory.h
103  encoding_rs_mem.h
104  fdlibm.h
105  js-config.h
106  jsapi.h
107  jsfriendapi.h
108  jspubtd.h
109  jstypes.h
110  malloc_decls.h
111  mozjemalloc_types.h
112  mozmemory.h
113  mozmemory_utils.h
114  mozmemory_wrap.h
115 include/mozjs-%%MOZJS_MAJOR%%/double-conversion/
116  double-conversion.h
117  double-to-string.h
118  string-to-double.h
119  utils.h
120 include/mozjs-%%MOZJS_MAJOR%%/function2/function2.hpp
121 include/mozjs-%%MOZJS_MAJOR%%/js/
122  AllocPolicy.h
123  AllocationLogging.h
124  AllocationRecording.h
125  Array.h
126  ArrayBuffer.h
127  ArrayBufferMaybeShared.h
128  BigInt.h
129  BuildId.h
130  CallAndConstruct.h
131  CallArgs.h
132  CallNonGenericMethod.h
133  CharacterEncoding.h
134  Class.h
135  ComparisonOperators.h
136  CompilationAndEvaluation.h
137  CompileOptions.h
138  Context.h
139  ContextOptions.h
140  Conversions.h
141  Date.h
142  Debug.h
143  Equality.h
144  ErrorInterceptor.h
145  ErrorReport.h
146  Exception.h
147  ForOfIterator.h
148  GCAPI.h
149  GCAnnotations.h
150  GCHashTable.h
151  GCPolicyAPI.h
152  GCTypeMacros.h
153  GCVariant.h
154  GCVector.h
155  GlobalObject.h
156  HashTable.h
157  HeapAPI.h
158  HelperThreadAPI.h
159  Id.h
160  Initialization.h
161  Interrupt.h
162  JSON.h
163  JitCodeAPI.h
164  LocaleSensitive.h
165  MapAndSet.h
166  MemoryCallbacks.h
167  MemoryFunctions.h
168  MemoryMetrics.h
169  Modules.h
170  Object.h
171  OffThreadScriptCompilation.h
172  Principals.h
173  Printer.h
174  Printf.h
175  ProfilingCategory.h
176  ProfilingCategoryList.h
177  ProfilingFrameIterator.h
178  ProfilingStack.h
179  Promise.h
180  PropertyAndElement.h
181  PropertyDescriptor.h
182  PropertySpec.h
183  ProtoKey.h
184  Proxy.h
185  Realm.h
186  RealmIterators.h
187  RealmOptions.h
188  RefCounted.h
189  RegExp.h
190  RegExpFlags.h
191  Result.h
192  RootingAPI.h
193  SavedFrameAPI.h
194  ScalarType.h
195  ScriptPrivate.h
196  ShadowRealmCallbacks.h
197  SharedArrayBuffer.h
198  SliceBudget.h
199  SourceText.h
200  StableStringChars.h
201  Stack.h
202  StreamConsumer.h
203  String.h
204  StructuredClone.h
205  SweepingAPI.h
206  Symbol.h
207  TelemetryTimers.h
208  TraceKind.h
209  TracingAPI.h
210  Transcoding.h
211  TypeDecls.h
212  UbiNode.h
213  UbiNodeBreadthFirst.h
214  UbiNodeCensus.h
215  UbiNodeDominatorTree.h
216  UbiNodePostOrder.h
217  UbiNodeShortestPaths.h
218  UbiNodeUtils.h
219  UniquePtr.h
220  Utility.h
221  Value.h
222  ValueArray.h
223  Vector.h
224  WaitCallbacks.h
225  Warnings.h
226  WasmFeatures.h
227  WasmModule.h
228  WeakMap.h
229  WeakMapPtr.h
230  Wrapper.h
231  WrapperCallbacks.h
232  Zone.h
233 include/mozjs-%%MOZJS_MAJOR%%/js/experimental/
234  CTypes.h
235  CodeCoverage.h
236  CompileScript.h
237  Intl.h
238  JSStencil.h
239  JitInfo.h
240  PCCountProfiling.h
241  SourceHook.h
242  TypedData.h
243 include/mozjs-%%MOZJS_MAJOR%%/js/friend/
244  DOMProxy.h
245  DumpFunctions.h
246  ErrorMessages.h
247  ErrorNumbers.msg
248  JSMEnvironment.h
249  PerformanceHint.h
250  StackLimits.h
251  UsageStatistics.h
252  WindowProxy.h
253  XrayJitInfo.h
254 include/mozjs-%%MOZJS_MAJOR%%/js/shadow/
255  Function.h
256  Object.h
257  Realm.h
258  Shape.h
259  String.h
260  Symbol.h
261  Zone.h
262 include/mozjs-%%MOZJS_MAJOR%%/mozilla/
263  Algorithm.h
264  Alignment.h
265  AllocPolicy.h
266  AlreadyAddRefed.h
267  Array.h
268  ArrayUtils.h
269  Assertions.h
270  AtomicBitfields.h
271  Atomics.h
272  Attributes.h
273  AutoProfilerLabel.h
274  AwakeTimeStamp.h
275  BaseAndGeckoProfilerDetail.h
276  BaseProfileJSONWriter.h
277  BaseProfilerCounts.h
278  BaseProfilerDetail.h
279  BaseProfilerLabels.h
280  BaseProfilerMarkerTypes.h
281  BaseProfilerMarkers.h
282  BaseProfilerMarkersDetail.h
283  BaseProfilerMarkersPrerequisites.h
284  BaseProfilerRAIIMacro.h
285  BaseProfilerState.h
286  BaseProfilerUtils.h
287  BinarySearch.h
288  BitSet.h
289  BlocksRingBuffer.h
290  BloomFilter.h
291  Buffer.h
292  BufferList.h
293  Casting.h
294  ChaosMode.h
295  Char16.h
296  CheckedInt.h
297  CompactPair.h
298  Compiler.h
299  Compression.h
300  DbgMacro.h
301  DebugOnly.h
302  Decimal.h
303  DefineEnum.h
304  DoubleConversion.h
305  DoublyLinkedList.h
306  EndianUtils.h
307  EnumSet.h
308  EnumTypeTraits.h
309  EnumeratedArray.h
310  EnumeratedRange.h
311  FStream.h
312  FailureLatch.h
313  FastBernoulliTrial.h
314  FloatingPoint.h
315  FunctionRef.h
316  FunctionTypeTraits.h
317  Fuzzing.h
318  HashFunctions.h
319  HashTable.h
320  HelperMacros.h
321  InitializedOnce.h
322  IntegerPrintfMacros.h
323  IntegerRange.h
324  IntegerTypeTraits.h
325  JSONWriter.h
326  JsRust.h
327  Latin1.h
328  Likely.h
329  LinkedList.h
330  MacroArgs.h
331  MacroForEach.h
332  MathAlgorithms.h
333  Maybe.h
334  MaybeOneOf.h
335  MaybeStorageBase.h
336  MemoryChecking.h
337  MemoryReporting.h
338  MmapFaultHandler.h
339  ModuloBuffer.h
340  MoveOnlyFunction.h
341  MruCache.h
342  NonDereferenceable.h
343  NotNull.h
344  Opaque.h
345  OperatorNewExtensions.h
346  PairHash.h
347  Path.h
348  PlatformConditionVariable.h
349  PlatformMutex.h
350  PlatformRWLock.h
351  PodOperations.h
352  Poison.h
353  PowerOfTwo.h
354  Printf.h
355  ProfileBufferChunk.h
356  ProfileBufferChunkManager.h
357  ProfileBufferChunkManagerSingle.h
358  ProfileBufferChunkManagerWithLocalLimit.h
359  ProfileBufferControlledChunkManager.h
360  ProfileBufferEntryKinds.h
361  ProfileBufferEntrySerialization.h
362  ProfileBufferIndex.h
363  ProfileChunkedBuffer.h
364  ProfileChunkedBufferDetail.h
365  ProgressLogger.h
366  ProportionValue.h
367  RandomNum.h
368  Range.h
369  RangedArray.h
370  RangedPtr.h
371  ReentrancyGuard.h
372  RefCountType.h
373  RefCounted.h
374  RefPtr.h
375  Result.h
376  ResultExtensions.h
377  ResultVariant.h
378  ReverseIterator.h
379  RollingMean.h
380  SHA1.h
381  SIMD.h
382  SPSCQueue.h
383  SSE.h
384  Saturate.h
385  ScopeExit.h
386  Scoped.h
387  SegmentedVector.h
388  SharedLibrary.h
389  SmallPointerArray.h
390  Span.h
391  SplayTree.h
392  Sprintf.h
393  StackWalk.h
394  StaticAnalysisFunctions.h
395  TaggedAnonymousMemory.h
396  Tainting.h
397  TemplateLib.h
398  TextUtils.h
399  ThreadLocal.h
400  ThreadSafeWeakPtr.h
401  ThreadSafety.h
402  TimeStamp.h
403  ToString.h
404  TypedEnumBits.h
405  Types.h
406  UniquePtr.h
407  UniquePtrExtensions.h
408  Unused.h
409  Uptime.h
410  Utf8.h
411  Variant.h
412  Vector.h
413  WeakPtr.h
414  WrappingOperations.h
415  XorShift128PlusRNG.h
416  cxxalloc.h
417  fallible.h
418  leb128iterator.h
419  mozalloc.h
420  mozalloc_abort.h
421  mozalloc_oom.h
422 include/mozjs-%%MOZJS_MAJOR%%/mozilla/glue/
423  Debug.h
424  WinUtils.h
425 include/mozjs-%%MOZJS_MAJOR%%/mozilla/intl/
426  Bidi.h
427  BidiClass.h
428  BidiEmbeddingLevel.h
429  Calendar.h
430  Collator.h
431  Currency.h
432  DateIntervalFormat.h
433  DateTimeFormat.h
434  DateTimePart.h
435  DateTimePatternGenerator.h
436  DisplayNames.h
437  FormatBuffer.h
438  GeneralCategory.h
439  ICU4CGlue.h
440  ICU4CLibrary.h
441  ICUError.h
442  IDNA.h
443  ListFormat.h
444  Locale.h
445  LocaleCanonicalizer.h
446  MeasureUnit.h
447  MeasureUnitGenerated.h
448  NumberFormat.h
449  NumberParser.h
450  NumberPart.h
451  NumberRangeFormat.h
452  NumberingSystem.h
453  PluralRules.h
454  RelativeTimeFormat.h
455  String.h
456  TimeZone.h
457  UnicodeProperties.h
458  UnicodeScriptCodes.h
459 lib/pkgconfig/mozjs-%%MOZJS_MAJOR%%.pc
460
461
462 [FILE:414:patches/patch-build_autoconf_config.guess]
463 --- ../../build/autoconf/config.guess.orig      2024-04-08 18:42:30 UTC
464 +++ ../../build/autoconf/config.guess
465 @@ -284,7 +284,7 @@ case $UNAME_MACHINE:$UNAME_SYSTEM:$UNAME
466         GUESS=$UNAME_MACHINE_ARCH-unknown-libertybsd$UNAME_RELEASE
467         ;;
468      *:MidnightBSD:*:*)
469 -       GUESS=$UNAME_MACHINE-unknown-midnightbsd$UNAME_RELEASE
470 +       GUESS=%%MBSD64_TGT%%
471         ;;
472      *:ekkoBSD:*:*)
473         GUESS=$UNAME_MACHINE-unknown-ekkobsd$UNAME_RELEASE
474
475
476 [FILE:553:patches/patch-build_moz.configure_init.configure]
477 --- ../../build/moz.configure/init.configure.orig       2024-04-08 18:42:30 UTC
478 +++ ../../build/moz.configure/init.configure
479 @@ -545,8 +545,8 @@ def split_triplet(triplet, allow_wasi=Fa
480      if cpu.endswith("86") or (cpu.startswith("i") and "86" in cpu):
481          canonical_cpu = "x86"
482          endianness = "little"
483 -    elif cpu in ("x86_64", "ia64"):
484 -        canonical_cpu = cpu
485 +    elif cpu in ("x86_64", "ia64", "amd64"):
486 +        canonical_cpu = "x86_64"
487          endianness = "little"
488      elif cpu in ("s390", "s390x"):
489          canonical_cpu = cpu
490
491
492 [FILE:480:patches/patch-testing_mozbase_mozinfo_mozinfo_mozinfo.py]
493 --- ../../testing/mozbase/mozinfo/mozinfo/mozinfo.py.orig       2024-04-08 18:42:40 UTC
494 +++ ../../testing/mozbase/mozinfo/mozinfo/mozinfo.py
495 @@ -137,7 +137,7 @@ elif system == "Linux":
496  
497      info["os"] = "linux"
498      info["linux_distro"] = distribution
499 -elif system in ["DragonFly", "FreeBSD", "NetBSD", "OpenBSD"]:
500 +elif system in ["DragonFly", "FreeBSD", "NetBSD", "OpenBSD", "MidnightBSD"]:
501      info["os"] = "bsd"
502      version = os_version = sys.platform
503  elif system == "Darwin":
504