Seamonkey port?

Jan Beich jbeich at vfemail.net
Tue Nov 10 14:34:50 UTC 2015


"Marat N.Afanasyev" <amarat at li.ru> writes:

> Jan Beich wrote:
>
>> So, try building with USE_MOZILLA=-opus again after
>>
>>    $ sed 's,^[-+]\{3\} ,&mozilla/,' \
>>      ../firefox/files/patch-z-bug517422 \
>>      >files/patch-z-bug517422
> I have successfully build seamonkey with this patch and
> USE_MOZILLA=-opus, but it coredumps as soon as starts and tries to
> restore session. I suppose that opus nowadays is one of core elements
> of mozilla :(

It doesn't crash here and I'm using 11.0-CURRENT amd64. Without
stacktrace only guesses. For one, system jemalloc detection is very
simple and doesn't notice subtle changes in API[1]. --enable-jemalloc
should toggle bundled version but only works with MOZ_JEMALLOC3=1
on FreeBSD[2].

The following patch is a workaround for bogus MOZILLA_VER with seamonkey.
Otherwise, if != is allowed to pessimize |make describe| one could define
in www/seamonkey/Makefile instead.

  # Examples: 2.33.1 -> 36, 2.35b1 -> 38, 2.38 -> 41
  MOZILLA_VER!=	let ${DISTVERSION:C/^2\.([0-9]+).*/\1/} + 3

Index: Mk/bsd.gecko.mk
===================================================================
--- Mk/bsd.gecko.mk	(revision 399872)
+++ Mk/bsd.gecko.mk	(working copy)
@@ -136,7 +136,8 @@ MOZ_EXPORT+=	MOZ_JEMALLOC3=1
 # system jemalloc 4.0.0 vs. bundled jemalloc 3.6.0-204-gb4acf73
 EXTRA_PATCHES+=	${FILESDIR}/extra-patch-bug1125514
 . endif
-.elif ${OPSYS} != FreeBSD || ${OSVERSION} < 1000012 || ${MOZILLA_VER:R:R} >= 37
+.elif ${OPSYS} != FreeBSD || ${OSVERSION} < 1000012 || \
+	  ${MOZILLA_VER:R:R} >= 37 || ${MOZILLA} == seamonkey
 MOZ_OPTIONS+=	--enable-jemalloc
 .endif
 .endif # !DragonFly

>
> I think that porting 2.39 would be more interesting now. What firefox
> release uses the same codebase as seamonkey-2.39? They forgot to
> mention this on release information page :(

See mozilla/config/milestone.txt. Firefox X is often SeaMonkey 2.X-3
e.g., Firefox 36 == SeaMonkey 2.33 or Firefox 41 == SeaMonkey 2.38.

--
[1] https://lists.freebsd.org/pipermail/freebsd-gecko/2015-July/005557.html
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=1153683
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 602 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-gecko/attachments/20151110/1e4b3103/attachment.bin>


More information about the freebsd-gecko mailing list