Skip to content

Commit 9a1ef70

Browse files
author
Matthias Weiß
committed
readme and patch for 2.53.8 added
1 parent 7bd6cdf commit 9a1ef70

4 files changed

Lines changed: 82 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
**/.DS_Store

2.53.8/.mozconfig

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
export CC=clang
2+
export CXX=clang++
3+
ac_add_options --enable-application=comm/suite
4+
ac_add_options --enable-calendar
5+
ac_add_options --enable-irc
6+
ac_add_options --enable-dominspector
7+
mk_add_options MOZ_OBJDIR=/home/[your user name]/Development/seamonkey/seamonkey-2.53.8/moz_objdir
8+
ac_add_options --enable-optimize
9+
ac_add_options --enable-js-shell
10+
#ac_add_options --enable-elf-hack
11+
ac_add_options --disable-debug-symbols
12+
ac_add_options --disable-tests
13+
14+
#to aviod webrtc building errors on arm64
15+
ac_add_options --disable-webrtc
16+
17+
# Disable checking that add-ons are signed by the trusted root
18+
MOZ_ADDON_SIGNING=0
19+
# Disable enforcing that add-ons are signed by the trusted root
20+
MOZ_REQUIRE_SIGNING=0
21+
22+
# Package js shell
23+
export MOZ_PACKAGE_JSSHELL=1
24+
25+
# Use ccache
26+
ac_add_options --with-ccache=/usr/bin/ccache

2.53.8/release.patch

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# 2.53.8 release patch
2+
# User Mattias WeiB <info@codeandcreate.de>
3+
# Date 1625045147 0
4+
5+
--- org/seamonkey-2.53.8/build/moz.configure/old.configure 2021-03-01 19:17:56.000000000 +0100
6+
+++ seamonkey-2.53.8/build/moz.configure/old.configure 2021-06-30 09:42:03.742374128 +0200
7+
@@ -33,7 +33,7 @@
8+
autoconf = autoconf[0] if autoconf else None
9+
10+
for ac in (mozconfig_autoconf, autoconf, 'autoconf-2.13', 'autoconf2.13',
11+
- 'autoconf213'):
12+
+ 'autoconf213', 'autoconf'):
13+
if ac:
14+
autoconf = find_program(ac)
15+
if autoconf:
16+
--- org/seamonkey-2.53.8/js/src/vm/DateTime.cpp 2020-08-10 13:30:35.000000000 +0200
17+
+++ seamonkey-2.53.8/js/src/vm/DateTime.cpp 2021-06-30 09:41:37.966929146 +0200
18+
@@ -22,6 +22,7 @@
19+
#endif /* !defined(XP_WIN) */
20+
21+
#include "jsutil.h"
22+
+#include "jsstr.h"
23+
24+
#include "js/Date.h"
25+
#include "threading/ExclusiveData.h"

README.md

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,30 @@
1-
# seamonkey-debian-arm64
2-
patches and builds for Seamonkey on Debian (bullseye/unstable) on Arm64
1+
# Seamonkey for Debian/Arm64
2+
Patches and builds for [Seamonkey](https://www.seamonkey-project.org) on Debian (bullseye/unstable) on Arm64.
3+
4+
The license in this repository only applies to my patches! The builds released under the same license(s) Seamonkey uses. Please look at the "LICENSE"-file bundled with the sources of Seamonkey.
5+
6+
## Status and versions
7+
8+
- **Release 2.53.8** is configured and compiled without webrtc, since the sources doesn't include the Arm64 stuff of modern Firefox (...) that is necessary for a successfull compilation.
9+
10+
## Preparations and compiling yourself
11+
12+
- To compile Seamonkey yourself with this patches you should carefully read the [SeaMonkey Building & Source Code Documentation](https://www.seamonkey-project.org/dev/code-development)!
13+
- Always use the [lastest version of rust/cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html), not the version of the official debian repositories!
14+
- Create a directory like "~/Development/seamonkey"
15+
- In this directory check out https://github.com/giampaolo/psutil or download and untar/unzip a release - i use release-5.8.0
16+
- Download and untar the Seamonkey sources, for example [2.53.8](https://archive.mozilla.org/pub/seamonkey/releases/2.53.8/source/seamonkey-2.53.8.source.tar.xz)
17+
- Your directory structure should look like this:
18+
``` raw
19+
.../seamonkey
20+
.../seamonkey/psutil-release-5.8.0.zip
21+
.../seamonkey/psutil-release-5.8.0/
22+
.../seamonkey/seamonkey-2.53.8.source.tar.xz
23+
.../seamonkey/seamonkey-2.53.8/
24+
```
25+
- Make a link inside the Seamonkey source directory to the psutil sources: ```ln -s psutil-release-5.8.0 seamonkey-2.53.8/psutil```
26+
- Create a build directory somewhere inside your build directory like ```mkdir ~/Development/seamonkey/seamonkey-2.53.8/moz_objdir```
27+
- [Apply the patches](https://www.pair.com/support/kb/paircloud-diff-and-patch/) from this repository and place the .mozconfig file in your seamonkey source directory targeting the matching Seamonkey release
28+
- Edit .mozconfig based on your directory structure; ```mk_add_options MOZ_OBJDIR=``` need to be pointing to the build directory you created above; for me a relative path doesn't work.
29+
- Compile the Source with ```./mach build```
30+

0 commit comments

Comments
 (0)