Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138740 - net-im/centericq-4.21.0-r3.ebuild (Update)
Summary: net-im/centericq-4.21.0-r3.ebuild (Update)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: REMOVED
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2006-07-01 10:12 UTC by Stéphane Bisinger
Modified: 2007-09-11 07:39 UTC (History)
9 users (show)

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


Attachments
centericq-4.21.0-r3.ebuild (centericq-4.21.0-r3.ebuild,3.00 KB, text/plain)
2006-07-01 10:13 UTC, Stéphane Bisinger
Details
centericq-4.21.0 utf8 hack (centericq-4.21.0-utf8.diff,542 bytes, patch)
2006-07-01 10:14 UTC, Stéphane Bisinger
Details | Diff
centericq-4.21.0 jabber segv fix (centericq-4.21.0-jabber_segv.diff,506 bytes, patch)
2006-07-01 10:15 UTC, Stéphane Bisinger
Details | Diff
centericq-4.21.0 help message change (centericq-4.21.0-msg_esc.diff,410 bytes, patch)
2006-07-01 10:15 UTC, Stéphane Bisinger
Details | Diff
net-im/centericq-4.21.0-r3.ebuild (centericq-4.21.0-r3.ebuild,3.00 KB, text/plain)
2006-09-21 08:59 UTC, Stéphane Bisinger
Details
centericq-4.21.0-r3.ebuild (centericq-4.21.0-r3.ebuild,3.12 KB, text/plain)
2006-09-24 11:15 UTC, Stéphane Bisinger
Details
centericq-4.21.0-libmsn.diff (centericq-4.21.0-libmsn.diff,161.40 KB, patch)
2006-09-24 11:17 UTC, Stéphane Bisinger
Details | Diff
Up to date centericq build - works on AMD64 w/o bugs (centericq-4.21.0-r3.ebuild,3.46 KB, text/plain)
2006-09-25 11:54 UTC, Stuart Stegall
Details
This replaces all the previous patches to centericq-4.21.0 (centericq-4.21.0-r3-files.tar.bz2,33.13 KB, application/octet-stream)
2006-09-25 12:01 UTC, Stuart Stegall
Details
centericq-4.21.0-r3.ebuild (centericq-4.21.0-r3.ebuild,3.42 KB, text/plain)
2006-09-25 12:14 UTC, Stéphane Bisinger
Details
New centericq ebuild -r4 (centericq-4.21.0-r4.ebuild,3.30 KB, text/plain)
2006-11-26 03:58 UTC, Chris Frage
Details
New centericq patchset for -r4 ebuild (centericq-4.21.0-patches-20061126.tar.bz2,68.16 KB, application/octet-stream)
2006-11-26 03:59 UTC, Chris Frage
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stéphane Bisinger 2006-07-01 10:12:07 UTC
Hi,
this is an update to the centericq ebuild. I added a couple of patches taken from the debian package so that it is possible to display utf-8 wide-characters.
These are the improvements:
 - Added a unicode USE flag which links centericq with ncursesw insted of ncurses, allowing it to display wide-characters (not perfect, but functional)
 - Added a gg USE flag to switch on/off GaduGadu support
 - Added a patch that corrects some help text
 - Added a patch that could avoid some segfaults with jabber protocol

I also reset the KEYWORDS settings to "~x86 ~amd64" (should be tested)
I hope you'll enjoy,
St
Comment 1 Stéphane Bisinger 2006-07-01 10:12:07 UTC
Hi,
this is an update to the centericq ebuild. I added a couple of patches taken from the debian package so that it is possible to display utf-8 wide-characters.
These are the improvements:
 - Added a unicode USE flag which links centericq with ncursesw insted of ncurses, allowing it to display wide-characters (not perfect, but functional)
 - Added a gg USE flag to switch on/off GaduGadu support
 - Added a patch that corrects some help text
 - Added a patch that could avoid some segfaults with jabber protocol

I also reset the KEYWORDS settings to "~x86 ~amd64" (should be tested)
I hope you'll enjoy,
Stéphane
Comment 2 Stéphane Bisinger 2006-07-01 10:13:29 UTC
Created attachment 90627 [details]
centericq-4.21.0-r3.ebuild

The updated ebuild
Comment 3 Stéphane Bisinger 2006-07-01 10:14:18 UTC
Created attachment 90628 [details, diff]
centericq-4.21.0 utf8 hack

This is a hack to display utf8 characters
Comment 4 Stéphane Bisinger 2006-07-01 10:15:06 UTC
Created attachment 90629 [details, diff]
centericq-4.21.0 jabber segv fix

This patch fixes a possible segfault with the jabber protocol
Comment 5 Stéphane Bisinger 2006-07-01 10:15:54 UTC
Created attachment 90631 [details, diff]
centericq-4.21.0 help message change

This patch changes the "esc" help text to the correct "esc-esc"
Comment 6 Stéphane Bisinger 2006-07-01 10:20:55 UTC
How rude of me, I forgot to mention credits:
I must thank Julien Lemoine <speedblue@debian.org> for suggestions on the utf8 hack and for the other dpatches he wrote. The Jabber segv patch is by <temnota@kmv.ru>
Comment 7 bartsch 2006-08-12 06:07:01 UTC
There seems to be a missing dependency to gnutls.
... 'AM_PATH_LIBGNUTLS_EXTRA' not found in library

After merging gnutls the errror is gone.
Comment 8 Stéphane Bisinger 2006-08-12 08:37:10 UTC
(In reply to comment #6)
> There seems to be a missing dependency to gnutls.
> ... 'AM_PATH_LIBGNUTLS_EXTRA' not found in library
> 
> After merging gnutls the errror is gone.
> 

Are you getting this message when compiling? This is weird because it should first check for OpenSSL and if it does not find it, it falls back to GNUTLS. OpenSSL is included among the dependecies if the ssl use flag is activated.

What are your use flags for this package?
Comment 9 Martin Berkemeier 2006-09-19 00:56:14 UTC
(In reply to comment #6)
> There seems to be a missing dependency to gnutls.
> ... 'AM_PATH_LIBGNUTLS_EXTRA' not found in library
> 
> After merging gnutls the errror is gone.
> 

get the same error here and i dont want to use gnutls when it is only a fallback.
Comment 10 Stéphane Bisinger 2006-09-19 12:25:33 UTC
(In reply to comment #8)
> get the same error here and i dont want to use gnutls when it is only a
> fallback.

Does this happen with r2 too?
What puzzles me is that I did not change anything about ssl, nor any other dependency...
I'll try on a system without gnutls to see if I can reproduce this.
Comment 11 Martin Berkemeier 2006-09-20 01:31:59 UTC
no. with r2 this doesnt happen.
just tested.

useflags for -r3:
USE="crypt icq msn nls ssl unicode yahoo -aim -bidi -gg% -irc -jabber -lj -rss"
------------------------------------
Portage 2.1.1 (hardened/amd64/multilib, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-hardened-r11 x86_64)
=================================================================
System uname: 2.6.16-hardened-r11 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.5
Last Sync: Tue, 19 Sep 2006 06:30:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo rsync://ftp.snt.utwente.nl/gentoo http://ftp.heanet.ie/pub/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage-snix /usr/portage-disturbed"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 acpi apache2 bash-completion berkdb bzip2 cdb crypt curl elibc_glibc encode gd gmp gpm hardened idn imagemagick input_devices_keyboard input_devices_mouse ipv6 jpeg jpeg2k kerberos kernel_linux krb4 logrotate m32 mbox multilib ncurses nls nptl offensive pcre perl pic png python readline sasl session skey spell ssl tcpd threads truetype ucs2 unicode userland_GNU vhosts xml xml2 zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 12 cub 2006-09-20 15:26:57 UTC
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  Makefile.in seems to ignore the --datarootdir setting
cd . && aclocal-1.4
aclocal: macro `AM_PROG_MKDIR_P' required but not defined
aclocal: macro `AM_PROG_MKDIR_P' required but not defined
make: *** [aclocal.m4] Error 1

!!! ERROR: net-im/centericq-4.21.0-r3 failed.
Comment 13 Stéphane Bisinger 2006-09-21 08:59:15 UTC
Created attachment 97668 [details]
net-im/centericq-4.21.0-r3.ebuild 

Updated the ebuild, should fix the ssl issue, please try and report! Thank you
Comment 14 Denilson Sá Maia 2006-09-21 13:21:54 UTC
Did you apply that msn patch that is described here?
http://forum.centericq.de/viewtopic.php?t=754
http://forum.centericq.de/viewtopic.php?t=627

It fixes some crashes I started to have a few days ago. Some other people at above forum are reporting this patch works well too.

Before applying the patch, run:
sed -i 's,/libmsn/,/libmsn-0.1/,g'
To fix the patch paths. (recursive, huh? we need to patch a patch, before it is patched to main program)
Comment 15 Denilson Sá Maia 2006-09-21 14:04:20 UTC
Related: bug 131426
Whenever the libmsn patch is added to -r3, and -r3 added to portage, mark that bug as DUPLICATE of this.
Comment 16 Stéphane Bisinger 2006-09-21 15:06:50 UTC
(In reply to comment #13)
> Did you apply that msn patch that is described here?
> http://forum.centericq.de/viewtopic.php?t=754
> http://forum.centericq.de/viewtopic.php?t=627

No and it looks like it will be quite tricky to do this: it looks like the author is no longer mantaining the package and those patches only apply against CVS versions of centericq. I fear that we'll need to wait for a new mantainer upstream...
Comment 17 Denilson Sá Maia 2006-09-21 18:09:05 UTC
(In reply to comment #15)
> (In reply to comment #13)
> > Did you apply that msn patch that is described here?
> > http://forum.centericq.de/viewtopic.php?t=754
> > http://forum.centericq.de/viewtopic.php?t=627
> 
> [...] and those patches only apply against CVS versions of centericq.

I might say I've applied the msn patch (and ONLY that patch) on 4.21.0 version, and it works. I've created a 4.21.0-r2 on my overlay which is just a copy of the original -r2 ebuild, but also applies that patch.
Comment 18 Martin Berkemeier 2006-09-22 00:22:26 UTC
(In reply to comment #12)
> Created an attachment (id=97668) [edit]
> net-im/centericq-4.21.0-r3.ebuild update
> 
> Updated the ebuild, should fix the ssl issue, please try and report! Thank you
> 

unfortunately the patch didn't work i think.
same errormessage here:

aclocal: configure.in: 88: macro `AM_PATH_LIBGNUTLS_EXTRA' not found in library
make: *** [aclocal.m4] Error 1

!!! ERROR: net-im/centericq-4.21.0-r3 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  centericq-4.21.0-r3.ebuild, line 86:   Called die
Comment 19 Stéphane Bisinger 2006-09-22 03:16:13 UTC
(In reply to comment #17)
> aclocal: configure.in: 88: macro `AM_PATH_LIBGNUTLS_EXTRA' not found in library

Wait a minute... I know this one!
Tell me the output of
ls /usr/share/aclocal/

You are probably missing the libgnutls-extra.m4 so configure doesn't know what to do with AM_PATH_LIBGNUTLS_EXTRA. Yet I can't explain why with r2 you don't get this error, but I'll figure it out, keep faith ;)

You could try to download the needed file and put it in /usr/share/aclocal/ to see if it fixed the issue. If it does, I'll fix the ebuild somehow. You can find the file here:
http://centericq.de/archive/contrib/misc/libgnutls-extra.m4.bz2

(In reply to comment #16)
> I might say I've applied the msn patch (and ONLY that patch) on 4.21.0 version,
> and it works.

You applied the one present on the forum post, without changing anything else? I tried that, but yet with no useful results. I'll try some more tonight.
Comment 20 Martin Berkemeier 2006-09-22 06:42:01 UTC
net-im/centericq-4.21.0-r3 merged.

Yeha... This file did the work... ;)
Comment 21 Denilson Sá Maia 2006-09-22 18:36:58 UTC
(In reply to comment #18)
> (In reply to comment #16)
> > I might say I've applied the msn patch (and ONLY that patch) on 4.21.0 version,
> > and it works.
> 
> You applied the one present on the forum post, without changing anything else?
> I tried that, but yet with no useful results. I'll try some more tonight.

The only change was running this command:
sed -i 's,/libmsn/,/libmsn-0.1/,g'
To fix the paths in that file. Then, the patch applied with no problems. Try it.

Comment 22 Stéphane Bisinger 2006-09-24 11:15:35 UTC
Created attachment 97962 [details]
centericq-4.21.0-r3.ebuild

New ebuild with a couple of improvements:
Added libmsn patch by Mark Pustjens (see bug 131426)
Added use flag gnutls, so the user can decide whether to use openssl or gnutls
Improved overall style
Comment 23 Stéphane Bisinger 2006-09-24 11:17:07 UTC
Created attachment 97963 [details, diff]
centericq-4.21.0-libmsn.diff

Libmsn patch by Mark Pustjens for msn login segv
Comment 24 Stéphane Bisinger 2006-09-24 11:20:11 UTC
Please try the new ebuild and report. Who had problems due to missing AM_PATH_LIBGNUTLS_EXTRA , please try it removing /usr/share/aclocal/libgnutls-extra.m4 (if you did not install gnutls, if unsure ust ove it out and then back in).
Comment 25 Martin Berkemeier 2006-09-25 00:52:44 UTC
(In reply to comment #23)
> Please try the new ebuild and report. Who had problems due to missing
> AM_PATH_LIBGNUTLS_EXTRA , please try it removing
> /usr/share/aclocal/libgnutls-extra.m4 (if you did not install gnutls, if unsure
> ust ove it out and then back in).
> 

I've tried to move out /usr/share/aclocal/libgnutls-extra.m4 but then i'm getting the same AM_PATH_LIBGNUTLS_EXTRA error again :(

with /usr/share/aclocal/libgnutls-extra.m4 its all fine.
Comment 26 Stuart Stegall 2006-09-25 11:54:00 UTC
Created attachment 98050 [details]
Up to date centericq build - works on AMD64 w/o bugs

Here's my altered version of the original ebuild + Stephane's fixes. I am moving to a different set of patches as there's some small conflicts.  But these fixes should contain all previous fixes.
Comment 27 Stuart Stegall 2006-09-25 12:01:46 UTC
Created attachment 98052 [details]
This replaces all the previous patches to centericq-4.21.0

This patch tarball contains all the previous patches and include the utf8/ncursesw hack.  I am using a tarball to reduce bug spam (there's 21 patches).
Comment 28 Stéphane Bisinger 2006-09-25 12:14:56 UTC
Created attachment 98053 [details]
centericq-4.21.0-r3.ebuild

I found a bug with the ssl/gnutls USE flags, I corrected it.

I'll test the ebuild with the new set of patches and let you know how it went. Still investigating for the AM_PATH_LIBGNUTLS_EXTRA issue.
Comment 29 Denilson Sá Maia 2006-09-25 13:58:00 UTC
(In reply to comment #21)
> Added libmsn patch by Mark Pustjens (see bug 131426)

Two comments:
1. That patch allows centericq receive offline msn messages. No sending of offline messages, though.
2. That patch is big, I guess big enough to not put in files/ directory. I suggest the ebuild adding the URL to download it, or make a patch pack with all patches (and, again, being downloaded when needed, via SRC_URI).
Comment 30 Milan Berger 2006-10-01 04:35:28 UTC
config.status: creating Makefile
cd . && aclocal-1.4
aclocal: macro `AM_PROG_MKDIR_P' required but not defined
aclocal: macro `AM_PROG_MKDIR_P' required but not defined
make: *** [aclocal.m4] Error 1

!!! ERROR: net-im/centericq-4.21.0-r3 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  centericq-4.21.0-r3.ebuild, line 98:   Called die

Same error here...
Comment 31 Martin Berkemeier 2006-10-16 00:11:59 UTC
(In reply to comment #29)
> config.status: creating Makefile
> cd . && aclocal-1.4
> aclocal: macro `AM_PROG_MKDIR_P' required but not defined
> aclocal: macro `AM_PROG_MKDIR_P' required but not defined
> make: *** [aclocal.m4] Error 1
> 
> !!! ERROR: net-im/centericq-4.21.0-r3 failed.
> Call stack:
>   ebuild.sh, line 1546:   Called dyn_compile
>   ebuild.sh, line 937:   Called src_compile
>   centericq-4.21.0-r3.ebuild, line 98:   Called die
> 
> Same error here...
> 

Same error here :(
Comment 32 Michal Nowak 2006-10-27 12:16:19 UTC
(In reply to comment #30)
> (In reply to comment #29)
> > config.status: creating Makefile
> > cd . && aclocal-1.4
> > aclocal: macro `AM_PROG_MKDIR_P' required but not defined
> > aclocal: macro `AM_PROG_MKDIR_P' required but not defined
> > make: *** [aclocal.m4] Error 1
> > 
> > !!! ERROR: net-im/centericq-4.21.0-r3 failed.
> > Call stack:
> >   ebuild.sh, line 1546:   Called dyn_compile
> >   ebuild.sh, line 937:   Called src_compile
> >   centericq-4.21.0-r3.ebuild, line 98:   Called die
> > 
> > Same error here...
> > 
> 
> Same error here :(
> 

theres's problem in files/*utf*.diff patch. comment it ('#'), make a digest a merge.
Comment 33 Muelli 2006-11-07 19:20:45 UTC
Hi,

I tried to compile your package with

net-im/centericq-4.21.0-r3 [4.21.0-r2] USE="crypt gnutls%* icq irc jabber msn nls rss ssl yahoo -aim -bidi -gg% -lj -unicode%"
(see the disabled unicode flag for not using utf8 patches)

but it failed:
x86_64-pc-linux-gnu-g++  -O2 -pipe -march=athlon64 -fomit-frame-pointer  -I/usr/include/gpgme   -o centericq -L../connwrap-0.1 -L../firetalk-0.1 -L../kkconsui-0.1 -L../kkstrtext-0.1 -L../kksystr-0.1 -L../libgadu-0.1 -L../libicq2000-0.1 -L../libjabber-0.1 -L../libmsn-0.1 -L../libyahoo2-0.1 centericq.o icqcontact.o icqgroups.o eventmanager.o icqdialogs.o icqhist.o imexternal.o imcontact.o imlogger.o accountmanager.o icqcontacts.o icqmlist.o imcontroller.o icqconf.o imevents.o impgp.o icqface.o centermain.o icqgroup.o ../src/hooks/libhooks.a  -lconnwrap -lfiretalk -lkkconsui -lkkstrtext -lkksystr -llibgadu -llibicq2000 -llibjabber -llibmsn -llibyahoo2  -L/usr/lib64 -lcurl -L/usr/lib64 -lgnutls -L/usr/lib64 -ltasn1 -L/usr/lib64 -lgcrypt -L/usr/lib64 -lgpg-error -lidn -ldl -lz -L/usr/lib64 -lgpgme -L/usr/lib64 -lgpg-error -lncurses -lnsl   -lgnutls-extra  -lgnutls-openssl
../connwrap-0.1/libconnwrap.a(connwrap.o): In function `addsock':
connwrap.c:(.text+0x588): undefined reference to `SSLv23_method'
collect2: ld returned 1 exit status

With USE="-gnutls -unicode" it compiles fine.
Comment 34 Chris Frage 2006-11-26 03:58:44 UTC
Created attachment 102746 [details]
New centericq ebuild -r4
Comment 35 Chris Frage 2006-11-26 03:59:26 UTC
Created attachment 102747 [details]
New centericq patchset for -r4 ebuild
Comment 36 Chris Frage 2006-11-26 04:11:48 UTC
Damn I rebuild the gnutls bug 8(
Comment 37 Jakub Moc (RETIRED) gentoo-dev 2007-01-14 00:03:06 UTC
package.masked pending removal for Bug 160793...
Comment 38 Jakub Moc (RETIRED) gentoo-dev 2007-09-11 06:04:37 UTC
And removed. Use net-im/centerim.

WONTFIX.