Huge libcef.so in Linux standalone

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
kaveh1000
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 508
Joined: Sun Dec 18, 2011 7:23 pm
Location: London
Contact:

Huge libcef.so in Linux standalone

Post by kaveh1000 » Tue Oct 01, 2019 12:35 am

I have been producing standalones for Linux with total size around 30MB. Suddenly this has gone up to 140MB. I found there is a file called libcef.so, around 120mb that was not there before. Any idea what this is?

I am using a Mac and LC indy 9.0.4.

I think only change I made to inclusions is OAuth which I think is not needed anyway.
Kaveh

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9824
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Huge libcef.so in Linux standalone

Post by FourthWorld » Tue Oct 01, 2019 12:37 am

That's a browser engine, needed for the Browser widget.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

kaveh1000
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 508
Joined: Sun Dec 18, 2011 7:23 pm
Location: London
Contact:

Re: Huge libcef.so in Linux standalone

Post by kaveh1000 » Tue Oct 01, 2019 12:41 am

Oh thank you. Switched on when I was desperate to fix something. Definitely don’t need.
Kaveh

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: Huge libcef.so in Linux standalone

Post by mwieder » Tue Oct 01, 2019 5:13 am

Especially since it doesn't work on linux anyway.

kaveh1000
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 508
Joined: Sun Dec 18, 2011 7:23 pm
Location: London
Contact:

Re: Huge libcef.so in Linux standalone

Post by kaveh1000 » Tue Oct 01, 2019 8:07 am

I checked in the Inclusions. I do not have Browser checked. I have HTTPD checked and if that is unchecked, libcef.so is still in the standalone. How do I get rid of it pls?
Kaveh

kaveh1000
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 508
Joined: Sun Dec 18, 2011 7:23 pm
Location: London
Contact:

Re: Huge libcef.so in Linux standalone

Post by kaveh1000 » Wed Oct 02, 2019 8:17 am

Hi folks. Do you know how I stop libcef.so from embedding itself in the standalone? I assumed it would be in the Inclusions. Browser is unchecked there and I cannot see anything else browser related. Thanks.
Kaveh

Thierry
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 875
Joined: Wed Nov 22, 2006 3:42 pm

Re: Huge libcef.so in Linux standalone

Post by Thierry » Wed Oct 02, 2019 9:24 am

kaveh1000 wrote: Hi folks. Do you know how I stop libcef.so from embedding itself in the standalone? I assumed it would be in the Inclusions. Browser is unchecked there and I cannot see anything else browser related. Thanks.
Hi Kaveh,

Have you selected "Select inclusions.." in the General Pane of standalone settings ?
Like this:

Screenshot 2019-10-02 at 10.22.18.png

Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!

kaveh1000
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 508
Joined: Sun Dec 18, 2011 7:23 pm
Location: London
Contact:

Re: Huge libcef.so in Linux standalone

Post by kaveh1000 » Wed Oct 02, 2019 9:30 am

Yes. I have selected "Select Inclusions..." and I have the following items selected for inclusion:

oAuth2 Library
JSON Library
HTTPD Library
Internet
MySQL
Database
SSL & Encryption
Answer Dialog
Ask Dialog
Kaveh

Thierry
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 875
Joined: Wed Nov 22, 2006 3:42 pm

Re: Huge libcef.so in Linux standalone

Post by Thierry » Wed Oct 02, 2019 10:02 am

kaveh1000 wrote: Yes. I have selected "Select Inclusions..." and I have the following items selected for inclusion:

oAuth2 Library
JSON Library
HTTPD Library
Internet
MySQL
Database
SSL & Encryption
Answer Dialog
Ask Dialog
Well, for testing purposes, you could unchecked some of these one by one ( HTTPD, Internet, ?)
and maybe you'll find the culprit...

Another point: You're still using an old version of Livecode, do you?
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!

kaveh1000
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 508
Joined: Sun Dec 18, 2011 7:23 pm
Location: London
Contact:

Re: Huge libcef.so in Linux standalone

Post by kaveh1000 » Wed Oct 02, 2019 10:10 am

I am using 9.0.4 rc3, Mac. It was working fine before.

I will do some testing but of course I do need Internet. Thanks Thierry for the help and all the offline help with sunnYrex too! Thankfully I have not had to bother you for a while as it is working nicely. ;-)
Kaveh

Thierry
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 875
Joined: Wed Nov 22, 2006 3:42 pm

Re: Huge libcef.so in Linux standalone

Post by Thierry » Wed Oct 02, 2019 10:22 am

kaveh1000 wrote: I am using 9.0.4 rc3, Mac. It was working fine before.
Mmm, 1 second before dying, one was fully alive :roll:
You have changed quite few things last week, building your standalone...
I will do some testing but of course I do need Internet.
Sure, only to narrow down the problem...
Thanks Thierry for the help and all the offline help with sunnYrex too!
Thankfully I have not had to bother you for a while as it is working nicely. ;-)
Glad that you appreciate it.
BTW, a new powerful function is on his way for sunnYrex...

Regards,

Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!

kaveh1000
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 508
Joined: Sun Dec 18, 2011 7:23 pm
Location: London
Contact:

Re: Huge libcef.so in Linux standalone

Post by kaveh1000 » Thu Oct 03, 2019 7:50 am

Hi all

I removed:

oAuth2 Library
HTTPD Library

and it is now working correctly without including libcef.so. fingers crossed it will stay that way.
Kaveh

Post Reply

Return to “Talking LiveCode”