Ravenports generated: 27 Feb 2021 18:52
[ravenports.git] / bucket_8B / spidermonkey
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               spidermonkey
4 VERSION=                78.8.0
5 KEYWORDS=               lang
6 VARIANTS=               standard
7 SDESC[standard]=        Standalone JS interpreter from Mozilla 78-esr
8 HOMEPAGE=               https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey
9 CONTACT=                Michael_Reim[kraileth@elderlinux.org]
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            MOZILLA/firefox/releases/78.8.0esr/source
13 DISTFILE[1]=            firefox-78.8.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=          autoconf213:single:standard
21                         zip:single:standard
22                         rust:single:standard
23                         autoselect-python: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-78.8.0/js/src
31
32 LICENSE=                MPL:single
33 LICENSE_TERMS=          single:{{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=78
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/js78
66         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmozjs-78.so
67
68 [FILE:126:descriptions/desc.single]
69 SpiderMonkey is Mozilla's JavaScript engine written in C and C++. It is 
70 used in various Mozilla products, including Firefox.
71
72
73 [FILE:110:distinfo]
74 1cf2dfdee2e31fd0a5ecced6275a33fa11bee1d2a7c65e23350b26992584a110    330937116 firefox-78.8.0esr.source.tar.xz
75
76
77 [FILE:4272:manifests/plist.single]
78 %%ONLY-FREEBSD%%include/mozjs-%%MOZJS_MAJOR%%/mozilla/LinuxSignal.h
79 %%ONLY-LINUX%%include/mozjs-%%MOZJS_MAJOR%%/mozilla/LinuxSignal.h
80 bin/
81  js%%MOZJS_MAJOR%%
82  js%%MOZJS_MAJOR%%-config
83 include/mozjs-%%MOZJS_MAJOR%%/
84  BaseProfiler.h
85  encoding_rs_mem.h
86  fdlibm.h
87  js-config.h
88  js.msg
89  jsapi.h
90  jsfriendapi.h
91  jspubtd.h
92  jstypes.h
93  malloc_decls.h
94  mozjemalloc_types.h
95  mozmemory.h
96  mozmemory_wrap.h
97 include/mozjs-%%MOZJS_MAJOR%%/double-conversion/
98  double-conversion.h
99  double-to-string.h
100  string-to-double.h
101  utils.h
102 include/mozjs-%%MOZJS_MAJOR%%/js/
103  AllocPolicy.h
104  AllocationRecording.h
105  Array.h
106  ArrayBuffer.h
107  ArrayBufferMaybeShared.h
108  BigInt.h
109  BinASTFormat.h
110  BuildId.h
111  CallArgs.h
112  CallNonGenericMethod.h
113  CharacterEncoding.h
114  Class.h
115  ComparisonOperators.h
116  CompilationAndEvaluation.h
117  CompileOptions.h
118  ContextOptions.h
119  Conversions.h
120  Date.h
121  Debug.h
122  Equality.h
123  ErrorReport.h
124  Exception.h
125  ForOfIterator.h
126  GCAPI.h
127  GCAnnotations.h
128  GCHashTable.h
129  GCPolicyAPI.h
130  GCTypeMacros.h
131  GCVariant.h
132  GCVector.h
133  HashTable.h
134  HeapAPI.h
135  Id.h
136  Initialization.h
137  JSON.h
138  LocaleSensitive.h
139  MemoryFunctions.h
140  MemoryMetrics.h
141  Modules.h
142  OffThreadScriptCompilation.h
143  Principals.h
144  Printf.h
145  ProfilingCategory.h
146  ProfilingFrameIterator.h
147  ProfilingStack.h
148  Promise.h
149  PropertyDescriptor.h
150  PropertySpec.h
151  ProtoKey.h
152  Proxy.h
153  Realm.h
154  RealmOptions.h
155  RefCounted.h
156  RegExp.h
157  RegExpFlags.h
158  RequiredDefines.h
159  Result.h
160  RootingAPI.h
161  SavedFrameAPI.h
162  SharedArrayBuffer.h
163  SliceBudget.h
164  SourceText.h
165  StableStringChars.h
166  Stream.h
167  StructuredClone.h
168  SweepingAPI.h
169  Symbol.h
170  TraceKind.h
171  TraceLoggerAPI.h
172  TracingAPI.h
173  Transcoding.h
174  TypeDecls.h
175  UbiNode.h
176  UbiNodeBreadthFirst.h
177  UbiNodeCensus.h
178  UbiNodeDominatorTree.h
179  UbiNodePostOrder.h
180  UbiNodeShortestPaths.h
181  UbiNodeUtils.h
182  UniquePtr.h
183  Utility.h
184  Value.h
185  ValueArray.h
186  Vector.h
187  Warnings.h
188  WeakMapPtr.h
189  Wrapper.h
190 include/mozjs-%%MOZJS_MAJOR%%/js/experimental/
191  CodeCoverage.h
192  SourceHook.h
193 include/mozjs-%%MOZJS_MAJOR%%/mozilla/
194  Algorithm.h
195  Alignment.h
196  AllocPolicy.h
197  AlreadyAddRefed.h
198  Array.h
199  ArrayUtils.h
200  Assertions.h
201  Atomics.h
202  Attributes.h
203  AutoProfilerLabel.h
204  BaseProfilerCounts.h
205  BaseProfilerDetail.h
206  BinarySearch.h
207  BlocksRingBuffer.h
208  BloomFilter.h
209  Buffer.h
210  BufferList.h
211  Casting.h
212  ChaosMode.h
213  Char16.h
214  CheckedInt.h
215  CompactPair.h
216  Compiler.h
217  Compression.h
218  DbgMacro.h
219  DebugOnly.h
220  Decimal.h
221  DefineEnum.h
222  DoubleConversion.h
223  DoublyLinkedList.h
224  EndianUtils.h
225  EnumSet.h
226  EnumTypeTraits.h
227  EnumeratedArray.h
228  EnumeratedRange.h
229  FStream.h
230  FastBernoulliTrial.h
231  FloatingPoint.h
232  FunctionRef.h
233  FunctionTypeTraits.h
234  GuardObjects.h
235  HashFunctions.h
236  HashTable.h
237  HelperMacros.h
238  InitializedOnce.h
239  IntegerPrintfMacros.h
240  IntegerRange.h
241  IntegerTypeTraits.h
242  JSONWriter.h
243  JsRust.h
244  Latin1.h
245  Likely.h
246  LinkedList.h
247  MacroArgs.h
248  MacroForEach.h
249  MathAlgorithms.h
250  Maybe.h
251  MaybeOneOf.h
252  MemoryChecking.h
253  MemoryReporting.h
254  MmapFaultHandler.h
255  ModuloBuffer.h
256  NonDereferenceable.h
257  NotNull.h
258  Opaque.h
259  OperatorNewExtensions.h
260  Path.h
261  PlatformConditionVariable.h
262  PlatformMutex.h
263  PodOperations.h
264  Poison.h
265  PowerOfTwo.h
266  Printf.h
267  ProfileBufferChunk.h
268  ProfileBufferChunkManager.h
269  ProfileBufferChunkManagerSingle.h
270  ProfileBufferChunkManagerWithLocalLimit.h
271  ProfileBufferControlledChunkManager.h
272  ProfileBufferEntrySerialization.h
273  ProfileBufferIndex.h
274  ProfileChunkedBuffer.h
275  RandomNum.h
276  Range.h
277  RangedArray.h
278  RangedPtr.h
279  ReentrancyGuard.h
280  RefCountType.h
281  RefCounted.h
282  RefPtr.h
283  Result.h
284  ResultExtensions.h
285  ReverseIterator.h
286  RollingMean.h
287  SHA1.h
288  SPSCQueue.h
289  Saturate.h
290  ScopeExit.h
291  Scoped.h
292  SegmentedVector.h
293  SharedLibrary.h
294  SmallPointerArray.h
295  Span.h
296  SplayTree.h
297  Sprintf.h
298  StackWalk.h
299  StaticAnalysisFunctions.h
300  TaggedAnonymousMemory.h
301  Tainting.h
302  TemplateLib.h
303  TextUtils.h
304  ThreadLocal.h
305  ThreadSafeWeakPtr.h
306  TimeStamp.h
307  ToString.h
308  Tuple.h
309  TypeTraits.h
310  TypedEnumBits.h
311  Types.h
312  UniquePtr.h
313  UniquePtrExtensions.h
314  Unused.h
315  Utf8.h
316  Variant.h
317  Vector.h
318  WeakPtr.h
319  WrappingOperations.h
320  XorShift128PlusRNG.h
321  cxxalloc.h
322  fallible.h
323  leb128iterator.h
324  mozalloc.h
325  mozalloc_abort.h
326  mozalloc_oom.h
327 include/mozjs-%%MOZJS_MAJOR%%/mozilla/glue/
328  Debug.h
329  WinUtils.h
330 lib/
331  libjs_static.ajs
332  libmozjs-%%MOZJS_MAJOR%%.so
333 lib/pkgconfig/mozjs-%%MOZJS_MAJOR%%.pc
334
335
336 [FILE:553:patches/patch-build_moz.configure_init.configure]
337 --- ../../build/moz.configure/init.configure.orig       2021-02-17 07:48:52 UTC
338 +++ ../../build/moz.configure/init.configure
339 @@ -719,8 +719,8 @@ def split_triplet(triplet, allow_msvc=Fa
340      if cpu.endswith('86') or (cpu.startswith('i') and '86' in cpu):
341          canonical_cpu = 'x86'
342          endianness = 'little'
343 -    elif cpu in ('x86_64', 'ia64'):
344 -        canonical_cpu = cpu
345 +    elif cpu in ('x86_64', 'ia64', 'amd64'):
346 +        canonical_cpu = 'x86_64'
347          endianness = 'little'
348      elif cpu in ('s390', 's390x'):
349          canonical_cpu = cpu
350
351
352 [FILE:366:patches/patch-python_mach_mach_mixin_process.py]
353 --- ../../python/mach/mach/mixin/process.py.orig        2021-02-17 07:49:34 UTC
354 +++ ../../python/mach/mach/mixin/process.py
355 @@ -28,7 +28,7 @@ elif 'MOZILLABUILD' in os.environ:
356  elif 'COMSPEC' in os.environ:
357      _current_shell = os.environ['COMSPEC']
358  else:
359 -    raise Exception('Could not detect environment shell!')
360 +    _current_shell = "/bin/sh"
361  
362  _in_msys = False
363  
364