aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: minimal wxGTK?  (Read 2225 times)

gav616

  • Guest
minimal wxGTK?
« on: April 27, 2010, 06:28:19 PM »

What's the minimum wxGTK config to build  a working aMule?

ATM, I'm using a wxBase build with
Code: [Select]
--enable-unicode --disable-gui --without-expat --without-subdirs
but I notice 'regex' 'odbc' 'libmspack' 'zlib' (yeah, zlib is necessary) , can I disable any of these and not break aMule? if not... is using 'sys' versions better then 'builtin' ones?

There's also a 'disable-all-features' parameter for wx builds, I'm guess this might be going too far,  aMule needs specific features right..?

ta  :)
« Last Edit: April 27, 2010, 06:34:58 PM by gav616 »
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: minimal wxGTK?
« Reply #1 on: April 27, 2010, 07:33:31 PM »

You mean amuled?
I think it doesn't matter. It's a lib, so only the used modules are linked in.
Anyway, there is no overview about used wx features. Just play around a bit with it and see if you get any difference in file size (if that's your intention).
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

gav616

  • Guest
Re: minimal wxGTK?
« Reply #2 on: April 27, 2010, 08:07:21 PM »

sorry, (amuled) yeah.

I've also found the power of digging deep in the sources and finding out that, for example, with the 'zlib' parameter;

using 'builtin'' it would build 1.2.3
using 'sys'  from my distro's repo 1.2.5

I'm going to do more random looking...
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: minimal wxGTK?
« Reply #3 on: April 28, 2010, 01:54:10 PM »

but I notice 'regex' 'odbc' 'libmspack' 'zlib' (yeah, zlib is necessary) , can I disable any of these and not break aMule?

odbc and libmspack are not needed, you can safely turn them off.
Logged
concordia cum veritate

gav616

  • Guest
Re: minimal wxGTK?
« Reply #4 on: April 28, 2010, 02:43:41 PM »

odbc and libmspack are not needed, you can safely turn them off.

yes, thank you.

ATM, I've got;
Code: [Select]
./configure --prefix=/usr --libdir=/usr/lib \
   --disable-gui --disable-debug --enable-unicode --disable-compat24 \
   --disable-compat26 --with-regex=builtin --with-zlib=sys --without-odbc \
   --without-expat --without-libmspack --without-subdirs || return 1

I'm going to try the 'disable-all-features' and see if the mule build will work at all.
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: minimal wxGTK?
« Reply #5 on: April 28, 2010, 05:48:30 PM »

After --disable-all-features you'll need --enable-protocol --enable-protocol-http --enable-http --enable-baseevtloop --enable-sockets --enable-cmdline --enable-file --enable-ffile --enable-snglinst --enable-stdpaths --enable-timer --enable-threads --enable-catch_segvs

That's from the top of my head, I didn't try it. It's more than probable that you'll need to enable some more classes.
Logged
concordia cum veritate