Nouveau "Klients" open-source : wxMtpChat

Vous voulez discuter de Ryzom ? Prenez une chaise et venez siroter un cocktail dans le Général.
User avatar
beathnic
Posts: 2013
Joined: Tue Sep 21, 2004 2:26 am

Re: Nouveau "Klients" open-source : wxMtpChat

Post by beathnic »

Je te rajoute les petites idées de correction dont je t'ai parlé, ici.

- le fait que l'onglet "Hall" prenne simplement le nom du channel,
- y a un petit bug, j'ai un onglet général qui apparait pour chaque serveur,
( dans l'onglet général,il apparait simplement le logo d'accueil en caractère ),
- la possibilité de voir les îcones des clients et rajouter un peu plus de largeur sur la colonne,

Sinon super boulot, ça avance

ha si ! Le retour du démineur!!!
Beathnic

Les Jardins d'Atys
Alma Mater... "Choisissez votre camp, priez pour que nous soyons dans le vôtre.
Que les collines tremblent face à votre Gloire, jeunes guerriers d'Atys, et vous serrez des nôtres."
User avatar
kervala
Posts: 2903
Joined: Tue Sep 21, 2004 2:26 am

Re: Nouveau "Klients" open-source : wxMtpChat

Post by kervala »

Merci beaucoup :)
beathnic wrote:- le fait que l'onglet "Hall" prenne simplement le nom du channel,
Ok je mettrais le nom du serveur à la place de "Hall" (ou un truc du genre "Aniro <Hall>") vu qu'ils ont tous le channel avec le même nom :(
beathnic wrote:- y a un petit bug, j'ai un onglet général qui apparait pour chaque serveur,
( dans l'onglet général,il apparait simplement le logo d'accueil en caractère ),
Alors ça, c'est un bug de l'ancien fichier de config qui n'est plus compatible :( En supprimant l'ancien fichier "config.ini" dans : "c:\Documents and settings\votre_compte\Application Data\wxMtpChat" et en réinstallant à nouveau ça devrait marcher :)
beathnic wrote:- la possibilité de voir les îcones des clients et rajouter un peu plus de largeur sur la colonne,
C'est prévu ne t'en fait pas :) Et il faut que je laisse de la place pour ça d'ailleurs :)
beathnic wrote:Sinon super boulot, ça avance

ha si ! Le retour du démineur!!!
Merci :)

Pour le démineur, il sera là pour la version 1 c'est sûr :p

Pour les fonctionnalités à faire, il reste à terminer la gestion des channels (c'est bientôt fini), les tableaux blancs (pour les dessins), les envois de fichiers et... les jeux :p
Xiombarg, Akenak et Fonctionnaire Impérial, Érudit de la Confrérie du Grand Dragon
Ryzom Core manager - CeB developper
User avatar
kervala
Posts: 2903
Joined: Tue Sep 21, 2004 2:26 am

Re: Nouveau "Klients" open-source : wxMtpChat

Post by kervala »

A new version is up : 0.09 :p
Xiombarg, Akenak et Fonctionnaire Impérial, Érudit de la Confrérie du Grand Dragon
Ryzom Core manager - CeB developper
User avatar
kervala
Posts: 2903
Joined: Tue Sep 21, 2004 2:26 am

Re: Nouveau "Klients" open-source : wxMtpChat

Post by kervala »

Sorry to not update this topic, but last development version (0.12) is compiling under MacOS X :p

I also fixed several bugs and added some nice functionnalities such as auto-completion of names with <tab>, popup dialog when you receive a message in tell, colours in main window, URLs are now clickable, long messages are sent in several parts, etc...
Xiombarg, Akenak et Fonctionnaire Impérial, Érudit de la Confrérie du Grand Dragon
Ryzom Core manager - CeB developper
camlost2
Posts: 203
Joined: Sat Apr 09, 2005 11:23 am

Re: Nouveau "Klients" open-source : wxMtpChat

Post by camlost2 »

Heya :)

I followed your instructions here to get the latest source (version 0.12 revision 135) but configuring fails (when issuing ./update). There seems to be some missing macros for configure, so I am guessing I am missing some dependancy?

Here's the terminal output:

Code: Select all

kim@linux:~/wxmtpchat$ ./update
På revisjon 135.
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.

processing .
Creating ./aclocal.m4 ...
Running glib-gettextize...  Ignore non-fatal messages.
Copying file mkinstalldirs
Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

Making ./aclocal.m4 writable ...
Running aclocal  ...
/usr/share/aclocal/smpeg.m4:13: warning: underquoted definition of AM_PATH_SMPEG
/usr/share/aclocal/smpeg.m4:13:   run info '(automake)Extending aclocal'
/usr/share/aclocal/smpeg.m4:13:   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.in:25: warning: macro `AM_OPTIONS_WXCONFIG' not found in library
configure.in:27: warning: macro `AM_PATH_WXCONFIG' not found in library
configure.in:40: warning: macro `AM_PATH_WXRC' not found in library
Running autoheader...
Running automake --gnu  ...
Running autoconf ...
Running ./configure --enable-maintainer-mode ...

/snip

checking for catalogs to be installed...  fr de
./configure: line 6090: AM_OPTIONS_WXCONFIG: command not found
./configure: line 6092: syntax error near unexpected token `$reqwx,'
./configure: line 6092: `AM_PATH_WXCONFIG($reqwx, wxWin=1, wxWin=0, core,net,xrc,adv,xml) # richtext'
kim@linux:~/wxmtpchat$
I just did a full reinstall of Kubuntu Feisty and set it up with everything I need as to not having to dual-boot into Windows anymore. The only programs I can't run in Wine or haven't found a linux alternative for yet is Fraps (as I have the licensed version) and Deliplayer 2 (plays most, if not all, Amiga module formats). Ofcourse, having a working Klients in linux too would be great :)


Spiritual guardian of Atys Ghosts -/- Ryzom on Linux -/- Ryzom Maps

"You cannot win, if someone lost!"
User avatar
kervala
Posts: 2903
Joined: Tue Sep 21, 2004 2:26 am

Re: Nouveau "Klients" open-source : wxMtpChat

Post by kervala »

I think you forgot to install "wx-config" package :)

You should type : sudo apt-get install wx-config

Edit : If you can't compile from the sources, you can use the debian package : http://sourceforge.net/project/download ... 0_i386.deb
Xiombarg, Akenak et Fonctionnaire Impérial, Érudit de la Confrérie du Grand Dragon
Ryzom Core manager - CeB developper
camlost2
Posts: 203
Joined: Sat Apr 09, 2005 11:23 am

Re: Nouveau "Klients" open-source : wxMtpChat

Post by camlost2 »

No wx-config pakages found in neither (k)ubuntu or debian repositories (that I could find anyway), so I installed the wx-common package, which contains wx-config.

It fails to compile though, due to what is either a syntax error in the latest revision, or some other conflict with my 32bit system. Guess I should be running 64bit already.. :)

Code: Select all

g++ -DHAVE_CONFIG_H -I. -I.. -O3 -fomit-frame-pointer  -I./gui  -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__  -O3 -fomit-frame-pointer  -MT mtpclientcommand.o -MD -MP -MF .deps/mtpclientcommand.Tpo -c -o mtpclientcommand.o mtpclientcommand.cpp
mtpclientcommand.cpp:67:65: warning: multi-character character constant
mtpclientcommand.cpp: In member function ‘bool MtpClient::CommandMaxLength(const wxString&) const’:
mtpclientcommand.cpp:67: error: call of overloaded ‘wxString(int, int)’ is ambiguous
/usr/local/include/wx-2.8/wx/string.h:1283: note: candidates are: wxString::wxString(const void*, const void*) <near match>
/usr/local/include/wx-2.8/wx/string.h:728: note:                 wxString::wxString(const unsigned char*, size_t) <near match>
/usr/local/include/wx-2.8/wx/string.h:700: note:                 wxString::wxString(const wxChar*, size_t) <near match>
/usr/local/include/wx-2.8/wx/string.h:694: note:                 wxString::wxString(size_t, wxChar)
/usr/local/include/wx-2.8/wx/string.h:692: note:                 wxString::wxString(wxChar, size_t)
make[2]: *** [mtpclientcommand.o] Error 1
make[2]: Leaving directory `/home/kim/wxmtpchat/src'
Suppose I'll play around a little more until I find the cause to this error. And if not I'll just install the .deb hehe.

On a sidenote, related to the wx-common pakage: Installing wx-common breaks wxrc, in the way that it can't find libwx_base_xml-2.8.so.0

Code: Select all

wxrc: error while loading shared libraries: libwx_base_xml-2.8.so.0: cannot open shared object file: No such file or directory
I'm thinking that the wx-common package in the kubuntu universe/devel repo could use an update :p


Spiritual guardian of Atys Ghosts -/- Ryzom on Linux -/- Ryzom Maps

"You cannot win, if someone lost!"
User avatar
kervala
Posts: 2903
Joined: Tue Sep 21, 2004 2:26 am

Re: Nouveau "Klients" open-source : wxMtpChat

Post by kervala »

Oops, sorry, it's my mistake :(

I was meaning "wx-common" instead of "wx-config", but it seams like you're not using the Unicode wxWidgets version. I don't know if wxMtpChat is compiling fine under ANSI.

Also, this evening, I tried to compile last SVN version under Linux but it failed because to automake macros which were not defined (like in your paste).

I will submit changes :)

By the way, I created a repository on Launchpad (for Ubuntu 32bits, 64bits and LPIA) :

deb http://ppa.launchpad.net/kervala/ubuntu gutsy main
Xiombarg, Akenak et Fonctionnaire Impérial, Érudit de la Confrérie du Grand Dragon
Ryzom Core manager - CeB developper
camlost2
Posts: 203
Joined: Sat Apr 09, 2005 11:23 am

Re: Nouveau "Klients" open-source : wxMtpChat

Post by camlost2 »

kervala wrote:deb http://ppa.launchpad.net/kervala/ubuntu gutsy main
Installing it with Adept, ofcourse, beats everything :D
Worked a charm, even if I'm using Feisty.

Sweetness!

As far as my wxWidgets trying to compile wxMtpChat in ansi, I have no idea. I compiled the latest stable version of wxWidgets from their official page, using the wxAll source archive. I should probably have gotten the wxGTK one.


Spiritual guardian of Atys Ghosts -/- Ryzom on Linux -/- Ryzom Maps

"You cannot win, if someone lost!"
User avatar
kervala
Posts: 2903
Joined: Tue Sep 21, 2004 2:26 am

Re: Nouveau "Klients" open-source : wxMtpChat

Post by kervala »

Hehe, great :)

And for wxWidgets, I suggest you compile it using the --unicode switch because a lot of libraries are using UTF-8 :)

Btw thanks for your screenshot, I can see wxMtpChat is better integrated to KDE I thought (wxWidgets is using GTK under Linux by default) :p

But you are more lucky than me :( I tried to launch Ryzom with Wine today with no success :s I always get the same error message after character's selection :(
Xiombarg, Akenak et Fonctionnaire Impérial, Érudit de la Confrérie du Grand Dragon
Ryzom Core manager - CeB developper
Post Reply

Return to “Général”