Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138963 - net-im/sim-0.9.4 is out
Summary: net-im/sim-0.9.4 is out
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement
Assignee: Peter Volkov (RETIRED)
URL: http://sim-im.org/wiki/Download
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-03 01:47 UTC by Pavel Shirov
Modified: 2006-07-09 00:30 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sim-0.9.4.ebuild (New Package) ebuild for sim (sim-0.9.4.ebuild,727 bytes, text/plain)
2006-07-03 19:44 UTC, Mike Pagano
Details
patch to get 0.9.4.ebuild from 0.9.4_pre060504.ebuild (sim.patch,1.12 KB, patch)
2006-07-04 02:47 UTC, Vlastimil Babka (Caster) (RETIRED)
Details | Diff
my version ebuild (sim-0.9.4.ebuild,2.89 KB, text/plain)
2006-07-04 03:03 UTC, Josef Reidinger
Details
diff sim_pre and sim (sim.diff,3.34 KB, patch)
2006-07-04 05:39 UTC, Josef Reidinger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Shirov 2006-07-03 01:47:41 UTC
Posted By: wrar
Date: 2006-Jun-30 06:40
Summary: SIM 0.9.4 Final is released 

After 2.5 years a new stable SIM Instant Messenger release is available. It contains lots of bugfixes and new features.

http://developer.berlios.de/forum/forum.php?forum_id=20917
http://sim-im.org/wiki/Download
Comment 1 Josef Reidinger 2006-07-03 03:25:55 UTC
(In reply to comment #0)

I try do ebuild file, but I find problem in
ballonmsg.cpp 389:25: ballonmsg.moc: No such file or directory

code is 
#ifndef _MSC_VER
#include "ballonmsg.moc"
#endif

and I don`t find this file anywhere.
Comment 2 Josef Reidinger 2006-07-03 03:52:32 UTC
(In reply to comment #1)
>
> and I don`t find this file anywhere.
> 

hmm, I am lamma :)
but I can`t force Makefile to make it. $MOC is define correctly :(

Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-07-03 15:55:46 UTC
I used some rc2 ebuild I got somewhere, renamed and edited a bit, and it built, although with some warnings during autoconf (?). It works though, but I look forward some more polished ebuild from portage tree :)
Comment 4 Mike Pagano gentoo-dev 2006-07-03 19:44:29 UTC
Created attachment 90821 [details]
sim-0.9.4.ebuild (New Package) ebuild for sim

Ok, here's a first draft.  I'd be curious to see if it installs for someone without kde.

Let me know if I have missed any dependancies.

Please, no one commit this to the sunrise overlay. I will handle it if is determined that it meets the requirements.
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2006-07-03 22:53:22 UTC
Mike. What is the problem with ebuild, that is currently in the tree? Not for this version, but there are not too many changes in sim package since previos pre releases. I spent a lot of time to fix depeds and other broken stuff in sim so why not to edit that ebuild? 
Comment 6 Josef Reidinger 2006-07-04 02:21:10 UTC
(In reply to comment #4)
> Created an attachment (id=90821) [edit]
> sim-0.9.4.ebuild (New Package) ebuild for sim
> 
> Ok, here's a first draft.  I'd be curious to see if it installs for someone
> without kde.
> 

I haven`t kde.....

configure: error: The important program kde-config was not found!
Please check whether you installed KDE correctly.


!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /tmp/portage/sim-0.9.4/work/sim-0.9.4/config.log

!!! ERROR: net-im/sim-0.9.4 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  ebuild.sh, line 606:   Called econf
  ebuild.sh, line 541:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! This ebuild is from an overlay: '/usr/local/portage'
Comment 7 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-07-04 02:47:24 UTC
Created attachment 90836 [details, diff]
patch to get 0.9.4.ebuild from 0.9.4_pre060504.ebuild

Patch to get ebuild based on 0.9.4_pre060504.ebuild

But as I said, it gives some warnings (I don't understand them though :) but builds and runs anyway.

*** Creating aclocal.m4
/usr/share/aclocal/pth.m4:43: warning: underquoted definition of _AC_PTH_ERROR
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/pth.m4:55: warning: underquoted definition of _AC_PTH_VERBOSE
/usr/share/aclocal/pth.m4:61: warning: underquoted definition of AC_CHECK_PTH
/usr/share/aclocal/libxosd.m4:9: warning: underquoted definition of AM_PATH_LIBXOSD
/usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO
*** Creating configure
Comment 8 Josef Reidinger 2006-07-04 03:03:57 UTC
Created attachment 90839 [details]
my version ebuild

So my improved ebuild. 
change from sim_pre
- ssl removed from use, allways requied
- removed autoconf and automake
- changed SRC_URI
- added nls to USE
- qt_min_version down to 2

my problems with moc become when I try use autotools to make new configure, so I don`t do it :)

works for me ( i haven`t got kde)
Comment 9 Peter Volkov (RETIRED) gentoo-dev 2006-07-04 03:10:20 UTC
Caster: Just ignore these warnings. 

Josef: Thank you! I'll look at all changes ASAP. BTW. It's more convenient to attach diff's. This allows me to see changes without downloading ebuild and diffing it :)
Comment 10 Josef Reidinger 2006-07-04 05:01:13 UTC
(In reply to comment #8)
so after few test
- messaging and other function works well (test only ICQ, I haven`t other account)
- during compilation it writes (I think it qt and uic)
Session management error: Authentication Rejected, reason : None of the 
authentication protocols specified are supported and host -based 
authentication failed
- during creating acount
SIM-IM: 04/07/2006 14:03:52 [WRN] Unknown roster type 0019
04/07/2006 14:03:52 [WRN] Unknown roster type 0019
SIM-IM: 04/07/2006 14:03:52 [WRN] Unknown roster type 0019
04/07/2006 14:03:54 [ERR] Can't rename file plugins.conf~ to plugins.conf
SIM-IM: 04/07/2006 14:03:54 [ERR] Can't rename file plugins.conf~ to plugins.conf
- during communication
SIM-IM: 04/07/2006 14:04:19 [WRN] Direct socket error Connect to unknown port
04/07/2006 14:04:51 [WRN] Direct socket error Connect to unknown port

doesn`t create icon in gnome (I try fix it).
Comment 11 Josef Reidinger 2006-07-04 05:39:49 UTC
Created attachment 90843 [details, diff]
diff sim_pre and sim

- little clear inherit
- sim doesn`t have icon, so I only prepare ebuilt
Comment 12 Peter Volkov (RETIRED) gentoo-dev 2006-07-05 21:59:02 UTC
Josef: I've played with new version and now I have some questions concerning your changes:
1. Why did you removed optional ssl from ebuild? Yes, only jabber currently works without ssl, but that's upstream desision to have this feature optional. So may be somebody wants this. What do you think?
2. Why qt version changed on 2? I know that upstream currently cleans out this old parst of code from application and we do not have this such version in portage. Do you need this?
3. Does sim always does not create desktop icon for you? For me I see that it puts creates /usr/share/applications/kde/sim.desktop and I think this is enough... at least for me this works. And actually I'm not sure is it enough or not but seems that make_desktop_entry does the same. So can you help me to reproduce this bug?

And the question to all. Do we need optional nls? If so, I'll try to compile world without nls and check that it really works, but does anybody wants this for desktop application?
Comment 13 Peter Volkov (RETIRED) gentoo-dev 2006-07-06 09:52:10 UTC
New version in cvs. Enjoy! :)

Thank you all. You stimulated me to revise ebuild and change it a bit. :)

BTW. If you have any answers or any questions, just post them here or mail me.
Comment 14 Josef Reidinger 2006-07-06 12:01:07 UTC
(In reply to comment #12)
> Josef: I've played with new version and now I have some questions concerning
> your changes:
> 1. Why did you removed optional ssl from ebuild? Yes, only jabber currently
> works without ssl, but that's upstream desision to have this feature optional.
> So may be somebody wants this. What do you think?
sorry, my mistake, I read this part badly:
*
if test "$have_ssl" != "yes" -a "$want_ssl" != "no"; then
  AC_MSG_ERROR([SIM requires OpenSSL library.
Please install OpenSSL (libraries and headers).
OpenSSL can be found at http://www.openssl.org
or as RPM from your local distribution site.
])
fi
"
> 2. Why qt version changed on 2? I know that upstream currently cleans out this
> old parst of code from application and we do not have this such version in
> portage. Do you need this?
so I lower it, beacause sim can run with version 2 (but if you raise it to 3, you can remove qt3 dir from package and have smaller package)
part from configure.in
"
AM_CONDITIONAL(QT2, test "$kde_qtver" = "2")
if test "$kde_qtver" = "2" ; then
 LIBUIQT="../../sim/qt3/libsimuiqt.la"
 LIBUI="../../sim/qt3/libsimuiqt.la"
else
 LIBUIQT=""
 LIBUI=""
fi
"
> 3. Does sim always does not create desktop icon for you? For me I see that it
> puts creates /usr/share/applications/kde/sim.desktop and I think this is
> enough... at least for me this works. And actually I'm not sure is it enough or
> not but seems that make_desktop_entry does the same. So can you help me to
> reproduce this bug?
> 
no, it doesn`t create. I have only gnome, no KDE, so i haven`t in applications dir kde. If you need more info about that ask ;)


> And the question to all. Do we need optional nls? If so, I'll try to compile
> world without nls and check that it really works, but does anybody wants this
> for desktop application?
> 

Comment 15 Peter Volkov (RETIRED) gentoo-dev 2006-07-09 00:30:03 UTC
(In reply to comment #14)
> > 2. Why qt version changed on 2? I know that upstream currently cleans out this
> > old parst of code from application and we do not have this such version in
> > portage. Do you need this?
> so I lower it, beacause sim can run with version 2 (but if you raise it to 3,
> you can remove qt3 dir from package and have smaller package)

Well. AFAIK sim devs are removing support for qt-2 now, so I'm sure that next release will not compile with qt-2. So I think we should wait and that directory will be removed by upstream. :)

> > 3. Does sim always does not create desktop icon for you? For me I see that it
> > puts creates /usr/share/applications/kde/sim.desktop and I think this is
> > enough... at least for me this works. And actually I'm not sure is it enough or
> > not but seems that make_desktop_entry does the same. So can you help me to
> > reproduce this bug?
> > 
> no, it doesn`t create. I have only gnome, no KDE, so i haven`t in applications
> dir kde. If you need more info about that ask ;)

That's strange. Then all kde apps, like kile, amarok are not creating creating desktop entries for you. Well. I'll try to investigate this problem...