Development :  K-Meleon Web Browser Forum
K-Meleon development related discussions. 
How to compile new version? 75...
Posted by: Ajtak
Date: October 12, 2015 03:54AM

I installed Visual Studio 2010, but I dont compile K-Meleon.

Please send me step-by-step manual, how is build new version. Older manual is not working.


Thank you.

Options: ReplyQuote
Re: How to compile new version? 75...
Posted by: guenter
Date: October 12, 2015 05:15AM

Quote
Ajtak
I installed Visual Studio 2010, but I dont compile K-Meleon.

Please send me step-by-step manual, how is build new version. Older manual is not working.


Thank you.

What is not working. Give old manual link and tell exactly where You are stuck.
Maybe wiki manual can be updated.

You never get support send by mail from this forum.

pozdravy / greetings

Options: ReplyQuote
Re: How to compile new version? 75...
Posted by: Ajtak1
Date: October 12, 2015 04:33PM

I got this errors if I compilled project:


I need compile portable version. How it is possible?

Thank you

Options: ReplyQuote
Re: How to compile new version? 75...
Posted by: guenter
Date: October 12, 2015 11:38PM

Quote
Ajtak1
I got this errors if I compilled project:


I need compile portable version. How it is possible?

Thank you

You did not answer my question.

Quote
Question
Give old manual link and tell exactly where You are stuck.
Maybe wiki manual can be updated.

Again. Which old manual from which link/URL did You use?

Your errors look like You did not first compile Mozilla sources or do not have them in the place where Your compiler searches for them.

Else You used a different Mozilla version than You need for the specific K-Meleon You want to compile and some source files are not present for that reason.


Every K-Meleon is portable on USB or other media by default.

Or explain what You mean with portable.

You can only use English or German to explain to me.

p.s. The last K-Meleon I compiled was an 1.6. AFAIK: That manual and the one for updating 1.5 GRE is the youngest and most detailed manual. But I think the procedure will still be used in the same or similar way.

Options: ReplyQuote
Re: How to compile new version? 75...
Posted by: Dorian
Date: October 16, 2015 07:09PM

I'm trying to redo the build process of kmeleon, integrating it in the mozilla tree, but that's still not working well.

So I've uploaded the SDK, the one provided by mozilla may not work.

SDK for 75
SDK for 76 (will pull kmeleon sources in the repo soon)

It must be extracted at same level than kmeleon source so you have:

|
|- k-meleon
|- xulrunner-sdk
|- release <-- binaries will be put here



Edited 1 time(s). Last edit at 10/16/2015 07:11PM by Dorian.

Options: ReplyQuote
Re: How to compile new version? 75...
Posted by: guenter
Date: October 17, 2015 01:23PM

Quote
Dorian
I'm trying to redo the build process of kmeleon, integrating it in the mozilla tree, but that's still not working well.

So I've uploaded the SDK, the one provided by mozilla may not work.
...

1.) Will it become Unix style build process like the mozilla source. Or stay MS VC build process?

2.) I asked so funny because I think I know the kind of errors listed.


If all is not found it is usually not in the right place. If the SDK makes problems only some required items are not found.

p.s. I made every possible mistake when I learned how to build a long time ago. grinning smiley

I updated the BuildKmeleon page to build the GRE for 1.6. and 1.6. But except for the changed VC version it should still work?



Edited 1 time(s). Last edit at 10/17/2015 02:06PM by guenter.

Options: ReplyQuote
Re: How to compile new version? 75...
Posted by: Dorian
Date: October 19, 2015 04:35PM

Both way will be possible, but command line could be better and build locales. That's the difficult part.


Quote
guenter
I updated the BuildKmeleon page to build the GRE for 1.6. and 1.6. But except for the changed VC version it should still work?

Probably not. You need a new patch, new mozconfig, different command to build and now source use mercurial instead of cvs.

Options: ReplyQuote
Re: How to compile new version? 75...
Posted by: guenter
Date: October 19, 2015 06:20PM

Quote
Dorian
Both way will be possible, but command line could be better and build locales. That's the difficult part.


Quote
guenter
I updated the BuildKmeleon page to build the GRE for 1.6. and 1.6. But except for the changed VC version it should still work?

Probably not. You need a new patch, new mozconfig, different command to build and now source use mercurial instead of cvs.

1.) Thank You. Command line will be a great advance IMHO.

2.) I do not have the patch. I will probably need it to update the page?

I already build a FF GRE contemporary to 74. But I downloaded a source tarball and did not draw the source from a repository. So it would be good to know Your changes - so that a building info is more like official parameters build. My mozconfig will probably not create a GRE suitable for K-Meleon.



Edited 1 time(s). Last edit at 10/19/2015 11:40PM by guenter.

Options: ReplyQuote
Re: How to compile new version? 75...
Posted by: Dorian
Date: November 09, 2015 10:29PM

Nearly forgot about this :p

Patch for 38 is now in the repository.
https://sourceforge.net/p/kmeleon/source/ci/default/tree/k-meleon/mozilla.patch

As for my mozconfig, the optimization options I was using with 2010 create a crashing build with 2013 (compiler is bugged). Therefore I switched to a PGO build (--enable-profile-guided-optimization used by firefox). It eats all the RAM of my PC, fails randomly and take forever to finish :\


mozconfig for 76

mk_add_options MOZ_MAKE_FLAGS="-j2"
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/_RELEASE2

mk_add_options MOZ_CO_PROJECT=browser
ac_add_options --enable-application=browser
mk_add_options MOZ_APP_NAME="K-Meleon"
mk_add_options MOZ_APP_DISPLAYNAME="K-Meleon"

ac_add_options --enable-optimize
#ac_add_options --enable-jemalloc
ac_add_options --enable-profile-guided-optimization
mk_add_options MOZ_PGO=1

export MOZ_OPTIMIZE_LDFLAGS="-opt:ref,icf"

ac_add_options --enable-strip
ac_add_options --enable-strip-libs 
ac_add_options --enable-chrome-format=omni
ac_add_options --disable-tests
ac_add_options --disable-profiling
ac_add_options --disable-mochitests
ac_add_options --disable-debug
ac_add_options --enable-debug-symbols
ac_add_options --enable-shared-js

#ac_add_options --disable-webspeech
ac_add_options --disable-webapp-runtime
ac_add_options --disable-crashreporter
ac_add_options --disable-parental-controls
ac_add_options --disable-maintenance-service 
#ac_add_options --disable-webrtc
ac_add_options --disable-installer
ac_add_options --disable-updater
ac_add_options --disable-windows-mobile-component


mozconfig for 75


mk_add_options MOZ_MAKE_FLAGS="-j2"
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/_RELEASE

mk_add_options MOZ_CO_PROJECT=browser
ac_add_options --enable-application=browser
mk_add_options MOZ_APP_NAME="K-Meleon"
mk_add_options MOZ_APP_DISPLAYNAME="K-Meleon"

ac_add_options --enable-optimize='-O1 -GFL'

export LDFLAGS='-LTCG'
export AR_FLAGS='-LTCG'
export DLLFLAGS='-LTCG'
export MOZ_OPTIMIZE_LDFLAGS="-opt:ref,icf"
mk_add_options MOZ_OPTIMIZE_LDFLAGS="-opt:ref,icf"

ac_add_options --enable-strip
ac_add_options --enable-strip-libs 
ac_add_options --enable-chrome-format=omni
ac_add_options --disable-tests
ac_add_options --disable-profiling
ac_add_options --disable-mochitests
ac_add_options --disable-debug
ac_add_options --enable-debug-symbols


ac_add_options --disable-webapp-runtime
ac_add_options --disable-crashreporter
ac_add_options --disable-parental-controls
ac_add_options --disable-maintenance-service 
ac_add_options --disable-webrtc
ac_add_options --disable-installer
ac_add_options --disable-updater
ac_add_options --disable-windows-mobile-component


Options: ReplyQuote


K-Meleon forum is powered by Phorum.