Jump to content
MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. ×

feodor2

Member
  • Posts

    25
  • Joined

  • Last visited

  • Donations

    $0.00 
  • Country

    Ukraine

About feodor2

Profile Information

  • OS
    95

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

feodor2's Achievements

21

Reputation

  1. poked this too but not completed for av1 though, look may be usefull. https://github.com/ManchildProductions/MyPal/commit/2bfc16351ecc5c283efae2cd49e79579b15056cc
  2. So done already. https://github.com/ManchildProductions/MyPal/commit/c2ad5af1936faef1eb258ac9d3aa852a7d9ae1f3
  3. This a newer EWDK than i used, so likely more bloated. Previously i used only EWDKs compiler and with win8 sdk from vs2013, not allowed by default, for what i patched stuff in the python mozbuild, i shall remember if needed. I did update to 4.3.1 not sure if its better, but there where begin to develop own av1 decoder, as default av1 decoder code buggy under x86 msvc including upstream too. https://tools.woolyss.com/html5-audio-video-tester/?u=woolyss.com/f/caminandes-1-llama-drama-av1-opus.webm it stutters on x86 msvc builds, but good on mingw builds
  4. Where they took the code, most likely from the mozilla, forgot may be they a thing on makefiles. And the error is the same everywhere, https://www.programmersought.com/article/37382464851/
  5. I shall remember This for the serpent https://github.com/ManchildProductions/MyPal/commit/ec5771123813877a2e92f5a0627750f934455c5b Also some other thing there like wbrtc update, not very usefull but next webrtc update will be more easy to apply.
  6. Not absolutely required, you can build on winxp with mingw. Though can build on 4gb ram pc, by the way building av1 decoder with x86msvc is buggy and consume more memory.
  7. @ArcticFoxie I shall continue later soon, while you may download and install software.
  8. 1. Hardware Certainly more powerful computer you have, more faster building your will get then, consider two cores CPU and 4G RAM will be sufficient. Also i suggest to have two hdds, the first for source, compiler, build tools and the second for output. 2. Virtual drive If you have more RAM it is good to make virtual drives, no need second hdd then. Why this you ask, so building things such as browsers put heavy stress on the hdd, with ramdrive you save hdds life and increase building speed greatly. For last time i used 10gb drive for all stuff except compiler 3. Software 3.0 OS For msvc build win7+ is required,, and assuming you have x64 3.1 Git Download at https://git-scm.com and install, i did not try portable, but you can i think. 3.2 Compiler I do not like regular Visual Studio, with its junk and onlineness requirement, so i do not use it. Good Microsoft cares for me too, and made available good build tools without junk. They are in the iso file, and ready for usage anywhere, no need to do install. Download, unpack or mount iso. EWDK with Visual Studio Build Tools 15.6 May want to delete files vctip.exe in "Program Files\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.13.26128\bin\Hostx64\x64" and same on x86, they leak data to internet (spyware and telemetry) 3.3 DirectX SDK Download june 2010 and install 3.4 Mozilla build tools i use version 3.2 But for building on winxp the latest version is 2.2 You are to craft own bat file for use with alternate compiler. Write your actual paths there and put inside MozillaBuild floder (C:\mozilla-build). assume EWDK on G: @ECHO OFF SET TOOLCHAIN=32-bit SET MOZILLABUILD=%~dp0 SET MOZ_TOOLS=%MOZILLABUILD%moztools SET INCLUDE="G:\Program Files\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.13.26128\include";"G:\Program Files\Windows Kits\10\Include\10.0.16299.0\shared";"G:\Program Files\Windows Kits\10\Include\10.0.16299.0\um";"G:\Program Files\Windows Kits\10\Include\10.0.16299.0\winrt";"G:\Program Files\Windows Kits\10\Include\10.0.16299.0\ucrt" SET LIB="G:\Program Files\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.13.26128\lib\x86";"G:\Program Files\Windows Kits\10\Lib\10.0.16299.0\um\x86";"G:\Program Files\Windows Kits\10\Lib\10.0.16299.0\ucrt\x86" SET PATH="G:\Program Files\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.13.26128\bin\Hostx64\x86";"G:\Program Files\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.13.26128\bin\Hostx64\x64";"G:\Program Files\Windows Kits\10\bin\10.0.16299.0\x86";%PATH% %MOZILLABUILD%msys\bin\bash --login -i (bat file may be need rewrite) 3.5 Other software For virtual drive SoftPerfect RAM drive free 4. Source 4.0 Download source Your are type commands in the command line, i prefer far manager assume you installed git on c:\dev\git C:\dev\git\bin\git clone --no-checkout https://github.com/roytam1/UXP.git you will get new folder UXP where there actual source packed inside .git folder 4.1 .mozconfig Enter to the UXP folder and create there text file named .mozconfig this will be your building config mk_add_options MOZ_OBJDIR=d:/dev/uxp.32 mk_add_options MOZ_CO_PROJECT=browser ac_add_options --enable-release ac_add_options --enable-application=application/basilisk ac_add_options --enable-optimize="-O2 -GF" ac_add_options --enable-jemalloc ac_add_options --disable-debug ac_add_options --disable-accessibility ac_add_options --disable-necko-wifi ac_add_options --disable-skia ac_add_options --disable-tests ac_add_options --disable-webrtc ac_add_options --disable-webspeech WIN32_REDIST_DIR="G:\Program Files\Microsoft Visual Studio\2017\BuildTools\VC\Redist\MSVC\14.13.26020\x86\Microsoft.VC141.CRT" WIN_UCRT_REDIST_DIR="G:\Program Files\Windows Kits\10\Redist\ucrt\DLLs\x86" Pay attentions on this things 4.1.1 MOZ_OBJDIR This is where it will get built files, may out anything valid path, prefer another hdd or ramdrive. 4.1.2 --enable-application This choose what it will build basilisk-serpent or palemoon-newmoon, or other thing any anotherapp\anotherstuff 4.1.3 MOZ_MAKE_FLAGS Usually when you build all computer power you have is ocuppied, therefore you hardly can do other things, however with mk_add_options MOZ_MAKE_FLAGS="-j1" it will build slower time but for example you can play heavy 3d game in the same time. 4.2 Unpack source and apply changes Unpack source for custom branch (assume custom is right branch in roytams source) C:\dev\git\bin\git checkout custom apply patches if needed or edit files by hand C:\dev\git\bin\git apply --ignore-whitespace file.patch 4.3 Save changes to the git If you not going to publish dont bother, thoug i can write about. 5. Building launch your bat file inside mozillabuild (look 3.4) assume you source folder in C:\dev\uxp type cd /c/dev/uxp then enter type .\mach build then enter So it begins, if you set another destination drive building will stop with message: 1:23.14 ValueError: path is on drive c:, start on drive d: 1:23.18 *** Fix above errors and then restart with\ Well, let them fix: edit the following file d:\dev\uxp.32\_virtualenv\Lib\ntpath.py go to the lin 527 and put # signs, this will cancel the stupid code # else: # raise ValueError("path is on drive %s, start on drive %s" # % (path_prefix, start_prefix)) Keep then _virtualenv to not bother with this again If you get error you can look for details in D:\dev\uxp.32\.mozbuild\last_log.json That's all for now, happy building...
  9. @roytam look this too, may be want to apply https://github.com/ManchildProductions/MyPal/commit/3425aa130a9fc547e77e1575c59ece2f518c4db3 it fixes https://github.com/Feodor2/Centaury/issues/35
  10. Huh mingw thread was not saved from mypal repo, but ptaches is preserved look there https://github.com/ManchildProductions/MyPal/commits/mypal-mingw do not forget to revert "Unfold sqlite3 from nss" and some about win10 IME stuff, whats i actually deleted early Other is plain, for winxp i used Git for Windows v2.10.0 Mozilla build 2.2 Mingw 8.1.0 this one https://sourceforge.net/projects/mingw-w64/files/Toolchains targetting Win32/Personal Builds/mingw-builds/8.1.0/threads-win32/dwarf/i686-8.1.0-release-win32-dwarf-rt_v6-rev0.7z assume mingw in E:\dev\mingw64\ bat for mozilla build @ECHO OFF SET TOOLCHAIN=32-bit SET MOZILLABUILD=%~dp0 SET MOZ_TOOLS=%MOZILLABUILD%moztools SET C_INCLUDE_PATH=/e/dev/mingw64/mingw32/i686-w64-mingw32/include SET CPLUS_INCLUDE_PATH=/e/dev/mingw64/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/c++:/e/dev/mingw64/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/c++/i686-w64-mingw32 SET PATH=E:\dev\mingw64\mingw32\bin;%PATH% %MOZILLABUILD%msys\bin\bash --login -i one more thing in E:\dev\mingw64\mingw32\i686-w64-mingw32\lib copy libmsvcr100.a over libmsvcrt.a .mozconfig for mingw is different too. CC=gcc CXX=g++ CPP=cpp AS=as AR=ar LD=ld WINDRES=windres ac_add_options --enable-application=application/palemoon ac_add_options --target=i686-w64-mingw32 ac_add_options --enable-optimize="-O2" ac_add_options --enable-jemalloc ac_add_options --enable-strip mk_add_options MOZ_OBJDIR=F:/dev/newmoon mk_add_options MOZ_MAKE_FLAGS="-j1" ac_add_options --disable-debug ac_add_options --disable-accessibility ac_add_options --disable-gamepad ac_add_options --disable-necko-wifi ac_add_options --disable-webrtc ac_add_options --disable-webspeech ac_add_options --disable-skia
  11. @ArcticFoxie I think this is easy for average user, and very easy if you good with command line and bat. You still not answered where did you failed, my guide still there.
  12. I found how to resolve matter with Tobin. I transfer mypal repository to the new owner, who will comply the licence. Meanwhile i continue work on mypal, keep it up to date, only not publish releases. New owner then will publish releases, And i think we can reinstate centaury there with link to the code of course. So who want to be the new owner?
  13. Why to edit all these browsers do not have a such notice during install. I wanted to say that mypal was not the matter. Please help to understand what is this about. https://github.com/Feodor2/Mypal/issues/237#issuecomment-905830204 written by Tobin "If you are, however, not going to accept that with rare exception my contributions are mine then the open source license is meaningless and it falls back to copyright across the board which means you are going to have to seek permission from every copyright holder for the past 22 years. That is hundreds of thousands of people. Is that REALLY how you are gonna play this?"
  14. The thing is not about mypal, but centaury scroll up to read. Until resolve the matter with tobin no any centaury will be meanwhile.
  15. So if he take even moochild code he does not have the right to demand for remove this code, right? But let we assume i removed lines of code what is his property. What can they do next - do others and moonchild himself have right to demand remove their code property or else?

×
×
  • Create New...