Summary: | new ebuild for x11-plugins/icqnd - a GTK2-gui for Licq | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Hanno Zysik (geki) <h.mth> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | VERIFIED CANTFIX | ||
Severity: | enhancement | CC: | DuPol, gentoo, jiri, nt, stammler.s, zima |
Priority: | High | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://icqnd.sourceforge.net/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
icqnd-0.1.9.1
strip newline of messages in chat-window corrected icqnd-0.1.9.1 ebuild icqnd ebuild x11-themes/icqnd-0.1.9.2 icqnd-0.1.9.3 icqnd 0.1.9.4 xinerama hack, tooltip popup top-left corner 0.1.9.5 released strip newline patch - update open link in browser crashfix / workaround [options dialog] set correct status on apply version 2 - safer check of i 0.1.9.5 version 2 x86_64-gpointer-fix.diff - handles gpointer correctly for x86_64 0.1.9.5 version 3 icqnd 0.1.9.6 icqnd-0.1.9.6-r1.ebuild gpgme.m4 |
Description
Hanno Zysik (geki)
2005-08-31 11:49:17 UTC
Created attachment 67360 [details]
icqnd-0.1.9.1
Created attachment 67361 [details, diff]
strip newline of messages in chat-window
Created attachment 67367 [details]
corrected icqnd-0.1.9.1 ebuild
Please, fix the following problems and reopen then: 1/ http://dev.gentoo.org/~ciaranm/docs/mw-faq/header.txt 2/ http://dev.gentoo.org/~ciaranm/docs/mw-faq/hardcoded.txt (ebuild version) 3/ http://dev.gentoo.org/~ciaranm/docs/mw-faq/keywords.txt (~ppc ~sparc ~alpha ~ia64?) 4/ http://dev.gentoo.org/~ciaranm/docs/mw-faq/nomirror.txt 5/ http://dev.gentoo.org/~ciaranm/docs/mw-faq/redundant.txt (pkg_setup, pkg_postrm) 6/ You inherit flag-o-matic eclass but then just export C[XX]FLAGS. 7/ http://dev.gentoo.org/~ciaranm/docs/mw-faq/spacing.txt updated ebuild - i hope i solved some issues http://dev.gentoo.org/~plasmaroo/devmanual//general-concepts/dependencies/ - moved RDEPEND packages to DEPEND, compile-time dependend. added DEPEND in RDEPEND http://dev.gentoo.org/~plasmaroo/devmanual//ebuild-writing/variables/ (end) - that 1.3.1 at the end of the tarball does not belong to the version of icqnd but however used versionator talked to the dev to drop that useless 1.3.1 from the tarball name. Created attachment 68268 [details]
icqnd ebuild
Comment on attachment 68268 [details]
icqnd ebuild
S="${WORKDIR}/${MY_PV}"
needs to be
S="${WORKDIR}/${PN}-${MY_PV}"
added: inherit flag-o-matic will drop: versionator stuff on src_compile dropped: export CFLAGS="-O0 -pipe" export CXXFLAGS="-O0 -pipe" and added instead: strip-flags replace-flags "-O?" "-O0" up2date ebuild when dev releases new version without that '1.3.1'. eerror is used for displaying error messages. Unless the whole ebuild is an error :=) you should ewarn instead... Created attachment 68793 [details]
x11-themes/icqnd-0.1.9.2
now, if you got something to complain about send patches. thanks. ;)
strip newline patch still applies.
arg, coffee was not hard enough. sure it is not x11-themes. lol. btw, since licq upstream fixed some annoying invisible bugs it would be good to have a new snapshot of licq. sep, 3rd still got that bugs. too annoying to fill in new bugreport for that. tell the licq maintainer or leave it. ;) Created attachment 69980 [details]
icqnd-0.1.9.3
bump
*** Bug 110723 has been marked as a duplicate of this bug. *** Created attachment 81336 [details]
icqnd 0.1.9.4
Created attachment 82774 [details, diff]
xinerama hack, tooltip popup top-left corner
Comment on attachment 82774 [details, diff]
xinerama hack, tooltip popup top-left corner
ugly hack. better to disable tooltips! ;)
Created attachment 91040 [details]
0.1.9.5 released
Created attachment 91041 [details, diff]
strip newline patch - update
Created attachment 91133 [details, diff] open link in browser crashfix / workaround upstream bugreport https://sourceforge.net/tracker/index.php?func=detail&aid=1518754&group_id=140417&atid=748030 Created attachment 91147 [details, diff]
[options dialog] set correct status on apply
Created attachment 91148 [details, diff]
version 2 - safer check of i
Created attachment 91149 [details]
0.1.9.5 version 2
I have a problem I saved "strip newline patch - update" as files/chomp-msg.diff "open link in browser crashfix / workaround" as files/crashfix-open-link-in-browser.diff and "version 2 - safer check of i" as files/options-startup-status-fix.diff, but all the patches fail with something like: ***** options-startup-status-fix.diff ***** =========================================== PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < /usr/local/portage/x11-plugins/icqnd/files/options-startup-status-fix.diff =========================================== patching file src/optionswindow.cpp Hunk #1 FAILED at 3365. 1 out of 1 hunk FAILED -- saving rejects to file src/optionswindow.cpp.rej =========================================== ....... several 'No file to patch' messages ................. If I comment out all the patches, it won't build: make all-recursive make[1]: Entering directory `/var/tmp/portage/icqnd-0.1.9.5/work/icqnd-0.1.9.5' Making all in src make[2]: Entering directory `/var/tmp/portage/icqnd-0.1.9.5/work/icqnd-0.1.9.5/src' if /bin/sh ../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/licq -I../include -D_REENTRANT -Wall -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fPIC -DPIC -D_REENTRANT -O2 -march=pentium4 -fomit-frame-pointer -pipe -Wall -MT contactsselection.lo -MD -MP -MF ".deps/contactsselection.Tpo" -c -o contactsselection.lo contactsselection.cpp; \ then mv -f ".deps/contactsselection.Tpo" ".deps/contactsselection.Plo"; else rm -f ".deps/contactsselection.Tpo"; exit 1; fi /usr/include/licq/licq_buffer.h:65: error: extra qualification 'CBuffer::' on member 'PackLNTS' make[2]: *** [contactsselection.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/icqnd-0.1.9.5/work/icqnd-0.1.9.5/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/icqnd-0.1.9.5/work/icqnd-0.1.9.5' make: *** [all] Error 2 did I do something wrong? (other ebuilds from my overlay work, as well as older icqnd ebuilds) I guess you safed the patches in html html format or alike. They apply fine here. Please do discussion here, thanks! http://forums.gentoo.org/viewtopic-t-481241.html Indeed, I must have done something strange with them - I used the precious copy-from-firefox-paste-into-nano procedure, but it somehow screwed those files (i guess some newline abnormalities) right-click on the link + 'save as' worked. Thanks for your help. The compilation problem is still here, I will continue discussing that on the forum. Created attachment 96345 [details, diff]
x86_64-gpointer-fix.diff - handles gpointer correctly for x86_64
i created this patch because i couldn't compile on my x86_64 box. the error was:
error: cast from 'void*' to 'guint' loses precision
on amd64 you have to use GPOINTER_TO_INT to compile...
please also add this to the ebuild in the src_unpack() function:
# compilation fix on x86_64 machines to use GPOINTER_TO_INT macro
# instead of (guint)
epatch ${FILESDIR}/x86_64-gpointer-fix.diff
thank you, sebastian
Created attachment 96367 [details]
0.1.9.5 version 3
Thank you, Sebastian!
Created attachment 97513 [details]
icqnd 0.1.9.6
also fixes x64 pointer issue
that's great. i sent them my patch on their sf.net page. fortunately, as we see, they added this in their new release ^^ Thanks for the ebuilds, I hope it makes it into portage some day... I have a problem with the latest version though: These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] x11-plugins/icqnd-0.1.9.6 [0.1.9.5-r3] USE="-debug -gnome -spell%" 0 kB [1] <snip> ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-gtkspell --build=i686-pc-linux-gnu <snip> checking for GTKSPELL... configure: error: Package requirements (gtk+-2.0 gtkspell-2.0) were not met: No package 'gtkspell-2.0' found Looks like it wants gtkspell even when though I have disabled the spell use-flag. Am I doing something wrong? Is it a problem in the ebuild? Is it a bug in upstreams configure logic? I know nothing of how configure and such stuff works so I am unable to debug it myself. If you wand more info (config.log, emerge --info, etc.) just say so and I will attach it. There is an upstream bug for the configure problem here: http://sourceforge.net/tracker/index.php?func=detail&aid=1569435&group_id=140417&atid=748030 Just making the ebuild apply the patch from that bug does not fix the issue. The patch is for configure.in and it's beyond my knowledge how to change the ebuild so that it regenerates configure from that file. After a fair bit of research I added autoconf || die "autoconf failed!" to the top of src_compile (I'm not sure if that is the right way to do it, though). This regenerates configure so that goes past the place where it failed before. Now it stops a bit later instead with this error: configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating share/Makefile config.status: creating config.h config.status: executing default-1 commands cd . && aclocal-1.4 aclocal: configure.in: 0: macro `AM_PATH_GPGME' not found in library make: *** [aclocal.m4] Error 1 My small knowledge of autotools and my spare time ran out there. But if no one with better understanding of the problem steps in I might look into it when I gat som free time again. By the way icqnd-0.1.9.5 works with the new licq after a reemerge! Well, I had some time to kill so I spent it on this ebuild. Now it emerges correctly with -spell. I found that I had to add the file gpgme.m4 (I found it somewhere on the net) so that aclocal finds it. I put it in ${FILESDIR} and copy it into ${S}/m4 in src_install. The ebuild also needs icqnd-configure-gtkspell.diff from the url in Comment #31. I'll attach the modified 0.1.9.6 ebuild and the m4-file. Created attachment 110679 [details]
icqnd-0.1.9.6-r1.ebuild
Created attachment 110681 [details]
gpgme.m4
icqnd-0.2 (first beta) released! for ease of use I tar'ed it up for overlay use: http://geki.ath.cx/hacks/icqnd.tar.bz2 ___ this update mixed up my config a bit. just reconfigure and have fun! Anyone still interested? I am using an ugly simple ebuild for 0.2beta, which satisfies my needs. Has anyone a more or less proper one (e.g. with spellcheck like 0.1.9 etc.)? upstream died |