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
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
Created attachment 90627 [details] centericq-4.21.0-r3.ebuild The updated ebuild
Created attachment 90628 [details, diff] centericq-4.21.0 utf8 hack This is a hack to display utf8 characters
Created attachment 90629 [details, diff] centericq-4.21.0 jabber segv fix This patch fixes a possible segfault with the jabber protocol
Created attachment 90631 [details, diff] centericq-4.21.0 help message change This patch changes the "esc" help text to the correct "esc-esc"
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>
There seems to be a missing dependency to gnutls. ... 'AM_PATH_LIBGNUTLS_EXTRA' not found in library After merging gnutls the errror is gone.
(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?
(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.
(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.
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
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.
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
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)
Related: bug 131426 Whenever the libmsn patch is added to -r3, and -r3 added to portage, mark that bug as DUPLICATE of this.
(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...
(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.
(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
(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.
net-im/centericq-4.21.0-r3 merged. Yeha... This file did the work... ;)
(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.
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
Created attachment 97963 [details, diff] centericq-4.21.0-libmsn.diff Libmsn patch by Mark Pustjens for msn login segv
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).
(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.
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.
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).
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.
(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).
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...
(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 :(
(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.
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.
Created attachment 102746 [details] New centericq ebuild -r4
Created attachment 102747 [details] New centericq patchset for -r4 ebuild
Damn I rebuild the gnutls bug 8(
package.masked pending removal for Bug 160793...
And removed. Use net-im/centerim. WONTFIX.