aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Debian Sarge + aMule + GTK2 ??  (Read 3022 times)

pepe0008

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 24
Debian Sarge + aMule + GTK2 ??
« on: December 03, 2005, 05:35:56 PM »

Hello.

I am running Debian Sarge (3.1) and aMule 2.0.3 with wxGTK1 v2.6.2, from the packages available at http://amule-debian.dyndns.org/ (and thanks a lot for those!).

Code: [Select]
$ amule --version
aMule 2.0.3 using wxGTK1 v2.6.2 (OS: Linux)

So far it is super-stable and works great. Memory consumption is low; this is after running aMule for 3 days and 15 hours, a lot of downloads in queue, configured for 500 sources for file, and maximun connections at 400:

Code: [Select]
$ top b n1 | egrep 'PID|amule'
  PID USER      PR  NI  VIRT SWAP  RES  SHR S %CPU %MEM   TIME COMMAND
  1791 pepe     17   0 31992 1556  29m  10m R 28.2 11.8  23,26 amule
  1794 pepe      8   0 31992 1556  29m  10m S  0.0 11.8   0:00 amule

What I want, though, is to enjoy the GTK2 look of aMule in my Debian "stable" system. But I do not want the hassle of migrating to "testing" or "unstable" Debian.

I tried compiling the CVS sources following the wiki instructions (although I doubt that would produce a GTK2 version of aMule...), but failed.

Code: [Select]
g++  -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC    -lpthread -o amule  amule-AICHSyncThread.o amule-AddFileThread.o amule-amule.o amule-BaseClient.o amule-ClientList.o amule-ClientCreditsList.o amule-ClientTCPSocket.o amule-ClientUDPSocket.o amule-DownloadClient.o amule-DownloadQueue.o amule-EMSocket.o amule-ECSpecialCoreTags.o amule-ExternalConn.o amule-Friend.o amule-FriendList.o amule-HTTPDownload.o amule-IPFilter.o amule-KnownFileList.o amule-ListenSocket.o amule-MuleUDPSocket.o amule-SearchList.o amule-ServerConnect.o amule-ServerList.o amule-ServerSocket.o amule-ServerUDPSocket.o amule-SharedFileList.o amule-UploadBandwidthThrottler.o amule-UploadClient.o amule-UploadQueue.o amule-Kademlia.o amule-Search.o amule-Indexed.o amule-KademliaUDPListener.o amule-Prefs.o amule-RoutingZone.o amule-Contact.o   amule-amule-gui.o amule-amuleDlg.o amule-AddFriend.o amule-ChatSelector.o amule-ClientDetailDialog.o amule-FileDetailDialog.o amule-KadDlg.o amule-OScopeCtrl.o amule-PartFileConvert.o amule-PrefsUnifiedDlg.o amule-SearchDlg.o amule-ServerWnd.o amule-SharedFilesWnd.o amule-StatisticsDlg.o amule-SearchListCtrl.o amule-DownloadListCtrl.o amule-ClientListCtrl.o amule-FriendListCtrl.o amule-ServerListCtrl.o amule-SharedFilesCtrl.o amule-TransferWnd.o  amule-MuleTrayIcon.o amule-ClientCredits.o amule-ECSpecialMuleTags.o amule-KnownFile.o amule-GetTickCount.o amule-Logger.o amule-PartFile.o amule-Preferences.o amule-Proxy.o amule-Server.o amule-Statistics.o amule-StatTree.o amule-SHAHashSet.o amule-OtherFunctions.o amule-CryptoPP.o -L. -lmuleappcommon -Llibs/common -Llibs/ec -lmulecommon -lec -lz    -L. -lmuleappcore -L. -lmuleappgui  -pthread   -L/usr/X11R6/lib  -lwx_gtk_xrc-2.6 -lwx_gtk_qa-2.6 -lwx_gtk_html-2.6 -lwx_gtk_adv-2.6 -lwx_gtk_core-2.6 -lwx_base_xml-2.6 -lwx_base_net-2.6 -lwx_base-2.6    
/usr/bin/ld: no se puede encontrar -lwx_base_xml-2.6
collect2: ld devolvió el estado de salida 1
make[3]: *** [amule] Error 1
make[3]: Leaving directory `/home/pepe/Temp/01-dir/amule-cvs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/pepe/Temp/01-dir/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pepe/Temp/01-dir/amule-cvs'
make: *** [all] Error 2

Are there any backports of aMule 2.0.3 (of CVS, I don't really mind) for GTK2 for Debian Sarge (stable)? That would be great!

Thanks a lot.
Logged

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 827
Re: Debian Sarge + aMule + GTK2 ??
« Reply #1 on: December 03, 2005, 07:46:51 PM »

Well, the point in wether amule uses gtk1 or gtk2 is chosen when wx is compiled. Since Debian Sarge didn't have any wx packages they are included in my repository (the one you're already using). And for performance reasons I compiled them with gtk1. Now one of the biggest memleaks in wx + gtk2 has been fixed, but it still needs a lot more memory. So I'll just stick to gtk1 for now.

The only thing you can do is compile wx & amule yourself if you really want to have gtk2, as far as I know there's no such repository. You can however install a gtk-theme which might give your gtk1 apps a nicer look (I use the geramik theme)
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.

pepe0008

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 24
Re: Debian Sarge + aMule + GTK2 ??
« Reply #2 on: December 03, 2005, 11:45:07 PM »

Quote
Originally posted by thedude0001
Well, the point in wether amule uses gtk1 or gtk2 is chosen when wx is compiled.
Thank you for making it clear to me. I am not really feeling like compiling the wxWidgets library myself, therefore I shall stay as I am now. Thanks a lot for you *.deb packages with aMule 2.0.3 for GTK1 anyway, they work just great! :-)

I am running the ThinIce theme for GTK1, which makes it quite palatable, but GTK2 is much nicer. I hope you could provide a GTK2 version of aMule for Debian Sarge (stable) in the (close?) future. :-)

A screenshot of your compilation of aMule 2.0.3 with the ThinIce GTK1 theme:

Logged

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 827
Re: Debian Sarge + aMule + GTK2 ??
« Reply #3 on: December 04, 2005, 06:08:04 PM »

Well, as a reaction to this thread I was being "convinced" that I should switch over to GTK2 in my repository. I'm preparing it now and will upload the new packages when amule 2.1.0 is released (which shouldn't be too long).
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.

pepe0008

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 24
Re: Debian Sarge + aMule + GTK2 ??
« Reply #4 on: December 06, 2005, 01:16:28 PM »

Quote
Originally posted by thedude0001
Well, as a reaction to this thread I was being "convinced" that I should switch over to GTK2 in my repository. I'm preparing it now and will upload the new packages when amule 2.1.0 is released (which shouldn't be too long).

Oh, man! thedude0001 you are my hero! Seriously, thanks a lot for been so willing to help and for your great work.
Logged