Ravenports generated: 24 May 2019 13:41
[ravenports.git] / bucket_8B / spidermonkey
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               spidermonkey
4 VERSION=                60.7.0
5 KEYWORDS=               lang
6 VARIANTS=               standard
7 SDESC[standard]=        Standalone JS interpreter from Mozilla 60-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/60.7.0esr/source
13 DISTFILE[1]=            firefox-60.7.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 BUILDRUN_DEPENDS=       icu:single:standard
23                         nspr:single:standard
24
25 USES=                   gmake perl pkgconfig python:py27,build zlib readline
26
27 DISTNAME=               firefox-60.7.0/js/src
28
29 LICENSE=                MPL:single
30 LICENSE_TERMS=          single:{{WRKDIR}}/TERMS
31 LICENSE_FILE=           MPL:stock
32 LICENSE_AWK=            TERMS:"^$$"
33 LICENSE_SOURCE=         TERMS:{{WRKSRC}}/js-config.h.in
34 LICENSE_SCHEME=         solo
35
36 MUST_CONFIGURE=         gnu
37 CONFIGURE_OUTSOURCE=    yes
38 CONFIGURE_ARGS=         --disable-debug
39                         --disable-debug-symbols
40                         --disable-jemalloc
41                         --disable-replace-malloc
42                         --enable-readline
43                         --enable-release
44                         --enable-shared-js
45                         --enable-tests
46                         --with-intl-api
47                         --with-pthreads
48                         --with-system-nspr
49                         --with-system-icu
50                         --with-system-zlib
51
52 PLIST_SUB=              MOZJS_MAJOR=60
53                         MOZJS_MINOR=7
54
55 VAR_OPSYS[dragonfly]=   CONFIGURE_ARGS=--disable-jemalloc
56
57 post-install:
58         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/js60
59         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmozjs-60.so
60
61 [FILE:126:descriptions/desc.single]
62 SpiderMonkey is Mozilla's JavaScript engine written in C and C++. It is 
63 used in various Mozilla products, including Firefox.
64
65
66 [FILE:110:distinfo]
67 0a5f0c1d8d1e9443d85083d37fec32e5cc15c1001ea992d49745490065b4a023    268497160 firefox-60.7.0esr.source.tar.xz
68
69
70 [FILE:2789:manifests/plist.single]
71 %%ONLY-LINUX%%include/mozjs-%%MOZJS_MAJOR%%/mozilla/LinuxSignal.h
72 bin/
73  js%%MOZJS_MAJOR%%
74  js%%MOZJS_MAJOR%%-config
75 include/mozjs-%%MOZJS_MAJOR%%/
76  fdlibm.h
77  js-config.h
78  js.msg
79  jsapi.h
80  jsfriendapi.h
81  jsperf.h
82  jspubtd.h
83  jstypes.h
84  malloc_decls.h
85  mozjemalloc_types.h
86  mozmemory.h
87  mozmemory_wrap.h
88 include/mozjs-%%MOZJS_MAJOR%%/double-conversion/
89  double-conversion.h
90  utils.h
91 include/mozjs-%%MOZJS_MAJOR%%/js/
92  AllocPolicy.h
93  CallArgs.h
94  CallNonGenericMethod.h
95  CharacterEncoding.h
96  Class.h
97  Conversions.h
98  Date.h
99  Debug.h
100  GCAPI.h
101  GCAnnotations.h
102  GCHashTable.h
103  GCPolicyAPI.h
104  GCVariant.h
105  GCVector.h
106  HashTable.h
107  HeapAPI.h
108  Id.h
109  Initialization.h
110  MemoryMetrics.h
111  Principals.h
112  Printf.h
113  ProfilingFrameIterator.h
114  ProfilingStack.h
115  ProtoKey.h
116  Proxy.h
117  Realm.h
118  RefCounted.h
119  RequiredDefines.h
120  Result.h
121  RootingAPI.h
122  SliceBudget.h
123  Stream.h
124  StructuredClone.h
125  SweepingAPI.h
126  TraceKind.h
127  TracingAPI.h
128  TrackedOptimizationInfo.h
129  TypeDecls.h
130  UbiNode.h
131  UbiNodeBreadthFirst.h
132  UbiNodeCensus.h
133  UbiNodeDominatorTree.h
134  UbiNodePostOrder.h
135  UbiNodeShortestPaths.h
136  UniquePtr.h
137  Utility.h
138  Value.h
139  Vector.h
140  WeakMapPtr.h
141  Wrapper.h
142 include/mozjs-%%MOZJS_MAJOR%%/mozilla/
143  Alignment.h
144  AllocPolicy.h
145  AlreadyAddRefed.h
146  Array.h
147  ArrayUtils.h
148  Assertions.h
149  Atomics.h
150  Attributes.h
151  AutoProfilerLabel.h
152  BinarySearch.h
153  BloomFilter.h
154  BufferList.h
155  Casting.h
156  ChaosMode.h
157  Char16.h
158  CheckedInt.h
159  Compiler.h
160  Compression.h
161  DebugOnly.h
162  Decimal.h
163  DefineEnum.h
164  DoublyLinkedList.h
165  EndianUtils.h
166  EnumSet.h
167  EnumTypeTraits.h
168  EnumeratedArray.h
169  EnumeratedRange.h
170  FStream.h
171  FastBernoulliTrial.h
172  FloatingPoint.h
173  GuardObjects.h
174  HashFunctions.h
175  IndexSequence.h
176  IntegerPrintfMacros.h
177  IntegerRange.h
178  IntegerTypeTraits.h
179  JSONWriter.h
180  Likely.h
181  LinkedList.h
182  MacroArgs.h
183  MacroForEach.h
184  MathAlgorithms.h
185  Maybe.h
186  MaybeOneOf.h
187  MemoryChecking.h
188  MemoryReporting.h
189  Move.h
190  NotNull.h
191  NullPtr.h
192  Opaque.h
193  OperatorNewExtensions.h
194  Pair.h
195  Path.h
196  PlatformConditionVariable.h
197  PlatformMutex.h
198  PodOperations.h
199  Poison.h
200  Printf.h
201  Range.h
202  RangedArray.h
203  RangedPtr.h
204  ReentrancyGuard.h
205  RefCountType.h
206  RefCounted.h
207  RefPtr.h
208  Result.h
209  ResultExtensions.h
210  ReverseIterator.h
211  RollingMean.h
212  SHA1.h
213  Saturate.h
214  ScopeExit.h
215  Scoped.h
216  SegmentedVector.h
217  SmallPointerArray.h
218  Span.h
219  SplayTree.h
220  Sprintf.h
221  StackWalk.h
222  StaticAnalysisFunctions.h
223  TaggedAnonymousMemory.h
224  TemplateLib.h
225  TextUtils.h
226  ThreadLocal.h
227  ThreadSafeWeakPtr.h
228  TimeStamp.h
229  ToString.h
230  Tuple.h
231  TypeTraits.h
232  TypedEnumBits.h
233  Types.h
234  UniquePtr.h
235  UniquePtrExtensions.h
236  Unused.h
237  Variant.h
238  Vector.h
239  WeakPtr.h
240  WrappingOperations.h
241  XorShift128PlusRNG.h
242  fallible.h
243  mozalloc.h
244  mozalloc_abort.h
245  mozalloc_oom.h
246 lib/
247  libjs_static.ajs
248  libmozjs-%%MOZJS_MAJOR%%.so
249 lib/pkgconfig/mozjs-%%MOZJS_MAJOR%%.pc
250
251
252 [FILE:553:patches/patch-build_moz.configure_init.configure]
253 --- ../../build/moz.configure/init.configure.orig       2019-05-14 19:13:13 UTC
254 +++ ../../build/moz.configure/init.configure
255 @@ -637,8 +637,8 @@ def split_triplet(triplet, allow_unknown
256      if cpu.endswith('86') or (cpu.startswith('i') and '86' in cpu):
257          canonical_cpu = 'x86'
258          endianness = 'little'
259 -    elif cpu in ('x86_64', 'ia64'):
260 -        canonical_cpu = cpu
261 +    elif cpu in ('x86_64', 'ia64', 'amd64'):
262 +        canonical_cpu = 'x86_64'
263          endianness = 'little'
264      elif cpu in ('s390', 's390x'):
265          canonical_cpu = cpu
266
267
268 [FILE:366:patches/patch-python_mach_mach_mixin_process.py]
269 --- ../../python/mach/mach/mixin/process.py.orig        2019-05-14 19:13:25 UTC
270 +++ ../../python/mach/mach/mixin/process.py
271 @@ -26,7 +26,7 @@ elif 'MOZILLABUILD' in os.environ:
272  elif 'COMSPEC' in os.environ:
273      _current_shell = os.environ['COMSPEC']
274  else:
275 -    raise Exception('Could not detect environment shell!')
276 +    _current_shell = "/bin/sh"
277  
278  _in_msys = False
279  
280
281
282 [FILE:572:patches/patch-python_mozbuild_mozbuild_configure_____init____.py]
283 --- ../../python/mozbuild/mozbuild/configure/__init__.py.orig   2019-05-14 19:13:24 UTC
284 +++ ../../python/mozbuild/mozbuild/configure/__init__.py
285 @@ -421,7 +421,7 @@ class ConfigureSandbox(dict):
286          # All options should have been removed (handled) by now.
287          for arg in self._helper:
288              without_value = arg.split('=', 1)[0]
289 -            raise InvalidOptionError('Unknown option: %s' % without_value)
290 +            print('Ignoring', without_value, ': Unknown option')
291  
292          # Run the execution queue
293          for func, args in self._execution_queue:
294
295
296 [FILE:659:patches/patch-python_mozbuild_mozbuild_configure_options.py]
297 --- ../../python/mozbuild/mozbuild/configure/options.py.orig    2019-05-14 19:13:25 UTC
298 +++ ../../python/mozbuild/mozbuild/configure/options.py
299 @@ -420,7 +420,11 @@ class CommandLineHelper(object):
300  
301      def add(self, arg, origin='command-line', args=None):
302          assert origin != 'default'
303 -        prefix, name, values = Option.split_option(arg)
304 +        try:
305 +            prefix, name, values = Option.split_option(arg)
306 +        except InvalidOptionError as e:
307 +            print('Ignoring', arg, ':', e)
308 +            return
309          if args is None:
310              args = self._extra_args
311          if args is self._extra_args and name in self._extra_args:
312