Changeset 4b3d207 for xsoft/graphweb
- Timestamp:
- 12/20/2023 09:49:54 PM (9 months ago)
- Branches:
- 12.1, 12.2, gimp3, ken/TL2024, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, trunk, xry111/for-12.3, xry111/llvm18, xry111/spidermonkey128
- Children:
- b1e4cd8
- Parents:
- 8bded0b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
xsoft/graphweb/seamonkey.xml
r8bded0b r4b3d207 7 7 <!ENTITY seamonkey-download-http "&mozilla-http;/seamonkey/releases/&seamonkey-version;/source/seamonkey-&seamonkey-version;.source.tar.xz"> 8 8 <!ENTITY seamonkey-download-ftp " "> 9 <!ENTITY seamonkey-md5sum " 15c73a5e725b7f002b2789706ae643d9">10 <!ENTITY seamonkey-size "2 54MB">11 <!ENTITY seamonkey-buildsize "4. 3GB (159 MB installed)">9 <!ENTITY seamonkey-md5sum "6ac064816caa2c3fe6bc1f130bd9599b"> 10 <!ENTITY seamonkey-size "241 MB"> 11 <!ENTITY seamonkey-buildsize "4.2 GB (159 MB installed)"> 12 12 <!ENTITY seamonkey-time "11 SBU (with parallelism=4)"> 13 13 ]> … … 90 90 <para> 91 91 This module has already been installed in LFS, but now we need 92 to rebuild its wheel package for SeaMonkey buildingsystem.92 to rebuild its wheel package for the SeaMonkey build system. 93 93 </para> 94 94 </listitem> … … 268 268 269 269 <para> 270 First, apply a security patch that fixes some problems with271 Seamonkey's bundled version of libvpx:270 First, fix several problems that occur with Python-3.12 and ICU-74. 271 If you are not using ICU-74 and Python-3.12, do not apply this patch. 272 272 </para> 273 273 … … 275 275 276 276 <para> 277 The building system ships several internal copies of the Python 3 278 module <filename>six.py</filename> and wheel packages for 279 <filename>pip</filename> and <filename>setuptools</filename> modules. 280 Theses shipped modules are too old to work well with Python 3.12 or 281 later. Replace the shipped <filename>six.py</filename> copies with 282 the symlinks to <xref linkend='six'/> already installed on the system, 283 link the updated <filename>pip</filename> wheel package shipped 284 as a part of Python 3 in LFS into the building system, and build an 285 updated <filename>setuptools</filename> wheel package. Then adapt 286 the building system for the updated modules. We also need to rewrite 287 the code based on the <filename>imp</filename> module removed in 288 Python 3.12 and later using the <filename>importlib</filename> module: 289 </para> 290 291 <screen><userinput>(for i in $(find -name six.py); do 292 ln -sfv /usr/lib/python3.12/site-packages/six.py $i 293 [ $? = 0 ] || exit $? 294 done) && 295 296 ln -sv /usr/lib/python&python3-majorver;/ensurepip/_bundled/pip-*.whl \ 277 Next, if you are using Python-3.12, reinstall the setuptools package for 278 Seamonkey, and update it's vendored copy of pip: 279 </para> 280 281 <screen><userinput>ln -sv /usr/lib/python&python3-majorver;/ensurepip/_bundled/pip-*.whl \ 297 282 third_party/python/virtualenv/virtualenv_support && 298 283 … … 300 285 pip3 wheel --no-build-isolation --no-deps --no-cache-dir \ 301 286 $PWD/setuptools-&setuptools-version; \ 302 -w third_party/python/virtualenv/virtualenv_support && 303 304 sed '/ConfigParser/s/Safe//' \ 305 -i testing/mozbase/mozprofile/mozprofile/prefs.py && 306 307 sed 's/distutils/setuptools._&/' \ 308 -i python/mozbuild/mozbuild/nodeutil.py && 309 310 sed 's/readfp/read_file/' -i ipc/ipdl/ipdl.py && 311 312 sed -e '/^import/s/imp$/importlib.util/' \ 313 -e 's/imp.new_module/__import__/' \ 314 -e "s/imp.load_source\(.*\)/spec = \ 315 importlib.util.spec_from_file_location\1; \ 316 mod = importlib.util.module_from_spec(spec); \ 317 spec.loader.exec_module(mod)/" -i python/mach/mach/main.py && 318 319 sed -e '/^import/s/imp$/importlib.util/' \ 320 -e '/imp.PY_SOURCE/d' \ 321 -e "s/\([a-z_]*\) = imp.load_module([^,]*,[^,]*,\(.*\)/spec = \ 322 importlib.util.spec_from_file_location('script', \2); \ 323 \1 = importlib.util.module_from_spec(spec); \ 324 spec.loader.exec_module(\1)/" \ 325 -i netwerk/dns/prepare_tlds.py \ 326 python/mozbuild/mozbuild/action/file_generate.py</userinput></screen> 327 328 <!-- https://bugzilla.mozilla.org/show_bug.cgi?id=1859752 329 https://hg.mozilla.org/try/rev/d5f3b0c4f08a --> 330 <para> 331 If building with system ICU, adapt the line break mapping for ICU 332 74 or later: 333 </para> 334 335 <screen><userinput>(for i in {43..47}; do 336 sed '/ZWJ/s/$/,CLASS_CHARACTER/' -i intl/lwbrk/LineBreaker.cpp || exit $? 337 done)</userinput></screen> 338 339 <para> 340 Fix a problem with the bundled 'distro' python module: 287 -w third_party/python/virtualenv/virtualenv_support</userinput></screen> 288 289 <para> 290 Next, if you are on Python-3.11 still, fix a problem with the bundled 291 'distro' python module. This has been included in the patch for 292 Python-3.12 users: 341 293 </para> 342 294 … … 352 304 <screen><userinput>AUTOCONF=true ./mach configure && 353 305 ./mach build</userinput></screen> 354 355 356 <!-- comment this since llvm must have been installed for rust357 <note>358 <para>359 The CC and CXX variables above are only needed if360 <xref linkend="llvm"/> is installed and you do not want to use clang.361 </para>362 </note>-->363 306 364 307 <para> … … 448 391 </para> 449 392 450 <!-- The URL no longer exists.451 <tip>452 <para>453 There is a multitude of configuration parameters you can tweak to454 customize <application>SeaMonkey</application>. A very extensive list of455 these parameters can be found at456 <ulink url="http://preferential.mozdev.org/preferences.html"/>.457 </para>458 </tip>459 -->460 393 <para> 461 394 If you use a desktop environment like <application>Gnome</application> or
Note:
See TracChangeset
for help on using the changeset viewer.