Ravenports generated: 13 Dec 2021 02:34
[ravenports.git] / bucket_8B / spidermonkey
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               spidermonkey
4 VERSION=                91.4.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.4.0esr/source
13 DISTFILE[1]=            firefox-91.4.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.4.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=4
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 e722829db490f9332712a81c35996541737bbfb05232d47190fee779c4fcb327    379759164 firefox-91.4.0esr.source.tar.xz
80
81
82 [FILE:5237:manifests/plist.single]
83 %%ONLY-LINUX%%include/mozjs-%%MOZJS_MAJOR%%/mozilla/LinuxSignal.h
84 bin/
85  js%%MOZJS_MAJOR%%
86  js%%MOZJS_MAJOR%%-config
87 include/mozjs-%%MOZJS_MAJOR%%/
88  BaseProfiler.h
89  BaseProfilingCategory.h
90  ProfilingCategoryList.h
91  encoding_rs_mem.h
92  fdlibm.h
93  js-config.h
94  jsapi.h
95  jsfriendapi.h
96  jspubtd.h
97  jstypes.h
98  malloc_decls.h
99  mozjemalloc_types.h
100  mozmemory.h
101  mozmemory_wrap.h
102 include/mozjs-%%MOZJS_MAJOR%%/double-conversion/
103  double-conversion.h
104  double-to-string.h
105  string-to-double.h
106  utils.h
107 include/mozjs-%%MOZJS_MAJOR%%/js/
108  AllocPolicy.h
109  AllocationLogging.h
110  AllocationRecording.h
111  Array.h
112  ArrayBuffer.h
113  ArrayBufferMaybeShared.h
114  BigInt.h
115  BuildId.h
116  CallArgs.h
117  CallNonGenericMethod.h
118  CharacterEncoding.h
119  Class.h
120  ComparisonOperators.h
121  CompilationAndEvaluation.h
122  CompileOptions.h
123  Context.h
124  ContextOptions.h
125  Conversions.h
126  Date.h
127  Debug.h
128  Equality.h
129  ErrorReport.h
130  Exception.h
131  ForOfIterator.h
132  GCAPI.h
133  GCAnnotations.h
134  GCHashTable.h
135  GCPolicyAPI.h
136  GCTypeMacros.h
137  GCVariant.h
138  GCVector.h
139  HashTable.h
140  HeapAPI.h
141  HelperThreadAPI.h
142  Id.h
143  Initialization.h
144  JSON.h
145  LocaleSensitive.h
146  MapAndSet.h
147  MemoryFunctions.h
148  MemoryMetrics.h
149  Modules.h
150  Object.h
151  OffThreadScriptCompilation.h
152  Principals.h
153  Printf.h
154  ProfilingCategory.h
155  ProfilingCategoryList.h
156  ProfilingFrameIterator.h
157  ProfilingStack.h
158  Promise.h
159  PropertyDescriptor.h
160  PropertySpec.h
161  ProtoKey.h
162  Proxy.h
163  Realm.h
164  RealmIterators.h
165  RealmOptions.h
166  RefCounted.h
167  RegExp.h
168  RegExpFlags.h
169  Result.h
170  RootingAPI.h
171  SavedFrameAPI.h
172  ScalarType.h
173  SharedArrayBuffer.h
174  SliceBudget.h
175  SourceText.h
176  StableStringChars.h
177  Stream.h
178  String.h
179  StructuredClone.h
180  SweepingAPI.h
181  Symbol.h
182  TraceKind.h
183  TraceLoggerAPI.h
184  TracingAPI.h
185  Transcoding.h
186  TypeDecls.h
187  UbiNode.h
188  UbiNodeBreadthFirst.h
189  UbiNodeCensus.h
190  UbiNodeDominatorTree.h
191  UbiNodePostOrder.h
192  UbiNodeShortestPaths.h
193  UbiNodeUtils.h
194  UniquePtr.h
195  Utility.h
196  Value.h
197  ValueArray.h
198  Vector.h
199  Warnings.h
200  WasmFeatures.h
201  WasmModule.h
202  WeakMap.h
203  WeakMapPtr.h
204  Wrapper.h
205  Zone.h
206 include/mozjs-%%MOZJS_MAJOR%%/js/experimental/
207  CTypes.h
208  CodeCoverage.h
209  Intl.h
210  JSStencil.h
211  JitInfo.h
212  PCCountProfiling.h
213  SourceHook.h
214  TypedData.h
215 include/mozjs-%%MOZJS_MAJOR%%/js/friend/
216  DOMProxy.h
217  DumpFunctions.h
218  ErrorMessages.h
219  ErrorNumbers.msg
220  JSMEnvironment.h
221  PerformanceHint.h
222  StackLimits.h
223  UsageStatistics.h
224  WindowProxy.h
225  XrayJitInfo.h
226 include/mozjs-%%MOZJS_MAJOR%%/js/shadow/
227  Function.h
228  Object.h
229  Realm.h
230  Shape.h
231  String.h
232  Symbol.h
233  Zone.h
234 include/mozjs-%%MOZJS_MAJOR%%/mozilla/
235  Algorithm.h
236  Alignment.h
237  AllocPolicy.h
238  AlreadyAddRefed.h
239  Array.h
240  ArrayUtils.h
241  Assertions.h
242  AtomicBitfields.h
243  Atomics.h
244  Attributes.h
245  AutoProfilerLabel.h
246  AwakeTimeStamp.h
247  BaseProfileJSONWriter.h
248  BaseProfilerCounts.h
249  BaseProfilerDetail.h
250  BaseProfilerLabels.h
251  BaseProfilerMarkerTypes.h
252  BaseProfilerMarkers.h
253  BaseProfilerMarkersDetail.h
254  BaseProfilerMarkersPrerequisites.h
255  BaseProfilerState.h
256  BinarySearch.h
257  BitSet.h
258  BlocksRingBuffer.h
259  BloomFilter.h
260  Buffer.h
261  BufferList.h
262  Casting.h
263  ChaosMode.h
264  Char16.h
265  CheckedInt.h
266  CompactPair.h
267  Compiler.h
268  Compression.h
269  DbgMacro.h
270  DebugOnly.h
271  Decimal.h
272  DefineEnum.h
273  DoubleConversion.h
274  DoublyLinkedList.h
275  EndianUtils.h
276  EnumSet.h
277  EnumTypeTraits.h
278  EnumeratedArray.h
279  EnumeratedRange.h
280  FStream.h
281  FastBernoulliTrial.h
282  FloatingPoint.h
283  FunctionRef.h
284  FunctionTypeTraits.h
285  HashFunctions.h
286  HashTable.h
287  HelperMacros.h
288  InitializedOnce.h
289  IntegerPrintfMacros.h
290  IntegerRange.h
291  IntegerTypeTraits.h
292  JSONWriter.h
293  JsRust.h
294  Latin1.h
295  Likely.h
296  LinkedList.h
297  MacroArgs.h
298  MacroForEach.h
299  MathAlgorithms.h
300  Maybe.h
301  MaybeOneOf.h
302  MaybeStorageBase.h
303  MemoryChecking.h
304  MemoryReporting.h
305  MmapFaultHandler.h
306  ModuloBuffer.h
307  NonDereferenceable.h
308  NotNull.h
309  Opaque.h
310  OperatorNewExtensions.h
311  PairHash.h
312  Path.h
313  PlatformConditionVariable.h
314  PlatformMutex.h
315  PodOperations.h
316  Poison.h
317  PowerOfTwo.h
318  Printf.h
319  ProfileBufferChunk.h
320  ProfileBufferChunkManager.h
321  ProfileBufferChunkManagerSingle.h
322  ProfileBufferChunkManagerWithLocalLimit.h
323  ProfileBufferControlledChunkManager.h
324  ProfileBufferEntryKinds.h
325  ProfileBufferEntrySerialization.h
326  ProfileBufferIndex.h
327  ProfileChunkedBuffer.h
328  RandomNum.h
329  Range.h
330  RangedArray.h
331  RangedPtr.h
332  ReentrancyGuard.h
333  RefCountType.h
334  RefCounted.h
335  RefPtr.h
336  Result.h
337  ResultExtensions.h
338  ResultVariant.h
339  ReverseIterator.h
340  RollingMean.h
341  SHA1.h
342  SPSCQueue.h
343  Saturate.h
344  ScopeExit.h
345  Scoped.h
346  SegmentedVector.h
347  SharedLibrary.h
348  SmallPointerArray.h
349  Span.h
350  SplayTree.h
351  Sprintf.h
352  StackWalk.h
353  StaticAnalysisFunctions.h
354  TaggedAnonymousMemory.h
355  Tainting.h
356  TemplateLib.h
357  TextUtils.h
358  ThreadLocal.h
359  ThreadSafeWeakPtr.h
360  TimeStamp.h
361  ToString.h
362  Tuple.h
363  TypeTraits.h
364  TypedEnumBits.h
365  Types.h
366  UniquePtr.h
367  UniquePtrExtensions.h
368  Unused.h
369  Uptime.h
370  Utf8.h
371  Variant.h
372  Vector.h
373  WeakPtr.h
374  WrappingOperations.h
375  XorShift128PlusRNG.h
376  cxxalloc.h
377  fallible.h
378  leb128iterator.h
379  mozalloc.h
380  mozalloc_abort.h
381  mozalloc_oom.h
382 include/mozjs-%%MOZJS_MAJOR%%/mozilla/glue/
383  Debug.h
384  WinUtils.h
385 include/mozjs-%%MOZJS_MAJOR%%/mozilla/intl/
386  Calendar.h
387  DateTimeFormat.h
388  DateTimePatternGenerator.h
389  ICU4CGlue.h
390  NumberFormat.h
391  PluralRules.h
392 lib/
393  libjs_static.ajs
394  libmozjs-%%MOZJS_MAJOR%%.so
395 lib/pkgconfig/mozjs-%%MOZJS_MAJOR%%.pc
396
397
398 [FILE:553:patches/patch-build_moz.configure_init.configure]
399 --- ../../build/moz.configure/init.configure.orig       2021-11-26 14:02:27 UTC
400 +++ ../../build/moz.configure/init.configure
401 @@ -726,8 +726,8 @@ def split_triplet(triplet, allow_msvc=Fa
402      if cpu.endswith("86") or (cpu.startswith("i") and "86" in cpu):
403          canonical_cpu = "x86"
404          endianness = "little"
405 -    elif cpu in ("x86_64", "ia64"):
406 -        canonical_cpu = cpu
407 +    elif cpu in ("x86_64", "ia64", "amd64"):
408 +        canonical_cpu = "x86_64"
409          endianness = "little"
410      elif cpu in ("s390", "s390x"):
411          canonical_cpu = cpu
412