aMule Forum

English => Multiplatform => Mac OSX => Topic started by: aMuX on August 21, 2007, 11:48:05 PM

Title: New Mac OS X version of aMule?
Post by: aMuX on August 21, 2007, 11:48:05 PM
Any hint about when the new Mac OS X version of aMule will be ready?

I mean, the CVS works great. Why not make it a final stable version?

Thanks.
Title: Re: New Mac OS X version of aMule?
Post by: wuischke on August 21, 2007, 11:59:26 PM
Soon. :D




















Let's say tomorrow or the day after tomorrow.
Title: Re: New Mac OS X version of aMule?
Post by: aMuX on August 22, 2007, 09:51:22 AM
Thanks!

I  just cannot wait...

  ;-)
Title: Re: New Mac OS X version of aMule?
Post by: ulrith on August 23, 2007, 10:24:56 AM
PLEASE  :-*
Title: Re: New Mac OS X version of aMule?
Post by: wuischke on August 23, 2007, 01:38:28 PM
I've tried to compile a universal binary of a prerelease version of aMule 2.2.0. (As in: This is not aMule 2.2.0, but it is nearly the same.)

Please test it and report any problems. (It's 40MB, because we need good backtraces if something goes wrong...)

http://files-upload.com/files/453380/aMule-2.2.0-pre.zip
Title: Re: New Mac OS X version of aMule?
Post by: kreegee on August 23, 2007, 10:45:11 PM
First-Look Issues:

- UPnP isn't working (libupnp.so should probably included in the Application Bundle)
Code: [Select]
2007-08-23 22:45:20: UPnP.cpp(89): Universal Plug and Play: error(CDynamicLibHandle): Unable to dlopen libixml.so.2. Check PATH and LD_LIBRARY_PATH.
2007-08-23 22:45:20: UPnP.cpp(89): Universal Plug and Play: error(CDynamicLibHandle): Unable to dlopen libupnp.so.2. Check PATH and LD_LIBRARY_PATH.
2007-08-23 22:45:20: UPnP.cpp(89): Universal Plug and Play: error(CDynamicLibHandle): Unable to dlopen libupnp.so.3. Check PATH and LD_LIBRARY_PATH.
2007-08-23 22:45:20: UPnP.cpp(193): Universal Plug and Play: error(CDynamicLibHandle): Unable to dlopen one or more UPnP component libraries. Check PATH and LD_LIBRARY_PATH.
2007-08-23 22:45:20: amule.cpp(1015): CUPnPException: error(CDynamicLibHandle): Unable to dlopen one or more UPnP component libraries. Check PATH and LD_LIBRARY_PATH.
- Preferences Window takes 5-7 Seconds to open
- Main Window is enlarged too big, because the right bottom edge isn't visible, resizing is only possible when maximising first
- spellcheck in the log is activated O_o
- still doesn't look very shiny ;)
Title: Re: New Mac OS X version of aMule?
Post by: wuischke on August 23, 2007, 11:49:31 PM
UPnP:
Here you go with the files after compiling, but you'll have to rename some files, because aMule expects Linux file names. Also I don't know where to put them.

I don't know what causes this delay in preferences, I've been looking at this code for the past days (On Windows, there'll be pointers to 0x01 created, which cause a crash on opening the prefs), but I can't find what's wrong.

Spellchecker: I guess that's standard on Mac OS X, please fill a bug report (bugs.amule.org) and I/someone will have a look at it later.

Look: Hey, we've got a new skin system! Create a nice Mac skin (take care of copyrights; help in the wiki) and it will look better already. Else, please specify the problems compared to other Mac apps for a Linux user with OpenBox.
Title: Re: New Mac OS X version of aMule?
Post by: eisa01 on August 24, 2007, 07:03:58 PM
The window size is too big, I need to press the green window button to make it fit my screen. I have 1024x768 res, that's common on the old iBooks.

Also, the toolbar flickers a lot in the start. That makes the window change size as it flickers. I can easily reproduce this by pressing the disconnect/connect button.

An other issue is that if  I want to insert a link in the ed2k link field, it doesn't work if it's too long for one line. I almost have to completely remove the name of the file to get it to work.

I haven't really run it a long time, but it seems to work fine, I'm on a PPC mac and 10.4.10
Title: Re: New Mac OS X version of aMule?
Post by: eisa01 on August 26, 2007, 03:12:51 AM
Is it just me, or doesn't aMule publish on the Kad network? I've had no requests for my files, and I just tried to download some files using mlnet, but it didn't find me on the Kad network. I have a high ID so that shouldn't be a problem. I'm not connected to any ed2k servers.
Title: Re: New Mac OS X version of aMule?
Post by: kreegee on August 26, 2007, 04:40:00 AM
The window size is too big, I need to press the green window button to make it fit my screen. I have 1024x768 res, that's common on the old iBooks.
Same here, as stated. I have a new MacBook Pro with 1240x900.
Quote
Also, the toolbar flickers a lot in the start. That makes the window change size as it flickers. I can easily reproduce this by pressing the disconnect/connect button.
Also noticed this, didn't mentioned it (filed under "wxMac sucks" ;) )

Quote
UPnP:
Here you go with the files after compiling, but you'll have to rename some files, because aMule expects Linux file names. Also I don't know where to put them.
me neither (haven't tried in the system-folders, but almost every place in the application folder) :(
Title: Re: New Mac OS X version of aMule?
Post by: ulrith on August 26, 2007, 10:23:50 AM
Work fine on my Mac G4 350 MHz (http://mac.smirnov.la)!
Some movie downloading... :-) And I haven't noticed any errors yet!

P.S. I don't think this "window is too big" error is really "error"...
Title: Re: New Mac OS X version of aMule?
Post by: shiroineko on September 02, 2007, 10:32:25 PM
Noticed 3 bugs:
1. Skins don't work:
I put the KDE4 skin, posted on this forum into ~/Library/Application Support/aMule/skins, it appears in drop down list in Options->Gui tweaks, but icons dont change, even after restarting amule.
2. Window flicks and changes size randomly right after start and after disconnecting or connecting to ED2K server manually.
3. Event section in Options window is distorted (see image).  Distortion disappears after resizing window and comes back after selecting another event
Title: Re: New Mac OS X version of aMule?
Post by: wuischke on September 04, 2007, 04:00:46 PM
Quote
1. Skins don't work:
I put the KDE4 skin, posted on this forum into ~/Library/Application Support/aMule/skins, it appears in drop down list in Options->Gui tweaks, but icons dont change, even after restarting amule.
Once again I'm puzzled. Is there any output in the log when you try to set a skin? I've been trying to find an error in the code, but everything looks fine.

I can't help you with number 2 and 3, I'm sorry.
Title: Re: New Mac OS X version of aMule?
Post by: shiroineko on September 04, 2007, 04:09:08 PM

Once again I'm puzzled. Is there any output in the log when you try to set a skin? I've been trying to find an error in the code, but everything looks fine.

I can't help you with number 2 and 3, I'm sorry.

No, nothing considering skins in the log. Guess, that has something to do with Mac wx-widgets port, because on my Ubuntu box everything's ok.
Title: Re: New Mac OS X version of aMule?
Post by: wuischke on September 04, 2007, 06:31:29 PM
I'll give you later a build with more debug output regarding the skins, man, how I dislike wxMac...
Title: Re: New Mac OS X version of aMule?
Post by: isulzer on September 19, 2007, 10:49:45 PM
version 1.6.0 of pupnp installs files called in /usr/local/lib
this path isnt in PATH or LD_LIBRARY_PATH by default. it needs to be added which is a pain for the average user
However... osx uses .dylib not the .so extension...
i simply made copies under the so extension of libixml.dylib and libupnp.dylib to .so extensions...
and upnp loads fine...
Title: Re: New Mac OS X version of aMule?
Post by: isulzer on September 19, 2007, 11:04:41 PM
oh. well im also not using the version youve compiled since the download drops every time. im using a version from the cvs from about a year back
Title: Re: New Mac OS X version of aMule?
Post by: isulzer on September 20, 2007, 08:47:35 PM
ok. your version gives me. this:
CUPnPException: error(CDynamicLibHandle): Unable to dlopen one or more UPnP component libraries. Check PATH and LD_LIBRARY_PATH.
previous versions managed to open the libraries... PATH and LD_LIBRARY PATH are ok. it can find them.
Title: Re: New Mac OS X version of aMule?
Post by: wuischke on September 22, 2007, 11:25:41 AM
Are you sure? (Old versions didn't use UPnP)

UPnP and Mac has still some problems, because we use hardcoded linux library names and I have no clue how to package libs for Mac usage. (Do you know where to put them in the application bundle?)
Title: Re: New Mac OS X version of aMule?
Post by: isulzer on September 24, 2007, 07:44:18 PM
That version had upnp, it was from late 06. it crashed from time to time tho... when there were problems with the router releasing the port or something. it kept trying and there were some malloc/free problems
as for the libraries... i think they should be in the Contents/Frameworks folder... although... since things execute via /usr/bin/open on osx im not sure theres something you have to do with a tool

google install_name_tool and shared libraries. ive never actualy done anything with this...
otool has something to do with this too

ill try to play with it if i can
Title: Re: New Mac OS X version of aMule?
Post by: isulzer on September 24, 2007, 08:10:36 PM
ok the way you link a shared library, one copied in the bundle, should be this:
install_name_tool -id @executable_path/../Frameworks/libixml.dylib /Applications/aMule.app/Contents/Frameworks/libixml.dylib
install_name_tool -change libixml.dylib @executable_path/../Frameworks/libixml.dylib /Applications/aMule.app/Contents/MacOS/amule

having done this... i get:

(gdb) run
Starting program: /Applications/aMule.app/Contents/MacOS/amule
Reading symbols for shared libraries ............................................................................. done
Reading symbols for shared libraries . done
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Loading temp files from /Users/isulzer/Library/Application Support/aMule/Temp.
Loading PartFile 21 of 21
All PartFiles Loaded.
ListenSocket: Ok.
CUPnPException: error(CDynamicLibHandle): Unable to dlopen one or more UPnP component libraries. Check PATH and LD_LIBRARY_PATH.

External connections disabled in config file
*** Server UDP socket (TCP+3) at 0.0.0.0:4665
*** TCP socket (TCP) listening on 0.0.0.0:4662
*** Client UDP socket (extended eMule) at 0.0.0.0:4672


however i dont get the individual cant find files problem. So theres something wrong with whatever happens when dlopen plays with those libraries... damned if i know what tho.