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