Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Nov 2015 15:34:09 +0100
From:      Jan Beich <jbeich@vfemail.net>
To:        "Marat N.Afanasyev" <amarat@li.ru>
Cc:        Steve Wills <swills@freebsd.org>, Louis Epstein <le@main.put.com>, gecko@freebsd.org
Subject:   Re: Seamonkey port?
Message-ID:  <8u65-ordq-wny@vfemail.net>
In-Reply-To: <5641A515.2030102@li.ru> (Marat N. Afanasyev's message of "Tue, 10 Nov 2015 11:04:37 %2B0300")
References:  <20151104230905.Q98665-100000@main.put.com> <563B6A1E.9000806@li.ru> <563BA5F1.2080503@FreeBSD.org> <563C9BA8.7010006@li.ru> <563F155E.7030705@li.ru> <bnb4-behu-wny@vfemail.net> <5640B0D1.1050302@li.ru> <1tbz-5byd-wny@vfemail.net> <5641A515.2030102@li.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain

"Marat N.Afanasyev" <amarat@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

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQF8BAEBCgBmBQJWQgBhXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQjQ0MzY3NEM3RDIzNTc4NkUxNDkyQ0VF
NEM3Nzg4MzQ3OURCRERCAAoJEOTHeINHnb3b0/AH/2tkAY5qx1v8I62+g3kC1O4n
BaRlW7pU7Cm3PnaSG/mfYZLSFgHXvTzf60GLKZx1nHzkIBXLIRnQqDtiwSVsUmEt
HErLlmrEYTuOhfyQ5JFW+ZYI34bCUzYUUFV3tStyBhxyi7TJ+CrCPCDwjgV2GQkT
rr+N+bvoAdLeR1nhag/0kXLyomjT2VdnQU3y4hjtz6aSsuW/Nyh40FGyl7bDPk8J
CxDB0Rr863vdpRp2CvVvcVh+dxha7SpmhAPds9SWMC8I8GNaCkwWYFdbnzz/avJR
G/UImju7jIxDWbIL/qWAO/9/qZBWH2gm/YA56o93mar+WoELfsQcqOleFPec7nQ=
=OERc
-----END PGP SIGNATURE-----
--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8u65-ordq-wny>