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