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