Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110206 - Ebuild for KToon v0.7.3
Summary: Ebuild for KToon v0.7.3
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL: http://ktoon.toonka.com/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2005-10-23 02:11 UTC by LeChuck
Modified: 2018-06-07 18:25 UTC (History)
6 users (show)

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


Attachments
media-gfx/ktoon-0.7.3 ebuild (ktoon-0.7.3.ebuild,683 bytes, text/plain)
2005-10-23 02:17 UTC, LeChuck
Details
media-gfx/ktoon-0.7.3.ebuild (ktoon-0.7.3.ebuild,646 bytes, text/plain)
2005-10-23 11:14 UTC, LeChuck
Details
First ktoon 0.8 ebuild version (ktoon-0.8_beta.ebuild,982 bytes, text/plain)
2006-04-05 09:06 UTC, David Cuadrado
Details
Ebuild for the stable version of ktoon-0.8 (ktoon-0.8.ebuild,1.02 KB, application/octet-stream)
2006-08-08 14:35 UTC, Lawrence Lee
Details
And ze patch to get rid of the styleOption() error (fixstyleOptionError.diff,514 bytes, patch)
2006-08-08 14:36 UTC, Lawrence Lee
Details | Diff
New install path in ebuild (ktoon-0.8.ebuild,747 bytes, application/octet-stream)
2006-08-10 23:11 UTC, Lawrence Lee
Details
ktoon-0.3-configure.patch (ktoon-0.8-configure.patch,3.32 KB, patch)
2007-01-19 14:59 UTC, Santiago M. Mola (RETIRED)
Details | Diff
ktoon-0.8-g++4fix.patch (ktoon-0.8-g++4fix.patch,401 bytes, patch)
2007-01-19 15:02 UTC, Santiago M. Mola (RETIRED)
Details | Diff
ktoon-0.8-plugindir.patch (ktoon-0.8-plugindir.patch,1.37 KB, patch)
2007-01-19 15:03 UTC, Santiago M. Mola (RETIRED)
Details | Diff
ktoon-0.8.ebuild (ktoon-0.8.ebuild,1.20 KB, text/plain)
2007-01-19 15:06 UTC, Santiago M. Mola (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description LeChuck 2005-10-23 02:11:19 UTC
An ebuild for KToon, which isn't supported by portage yet. 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 LeChuck 2005-10-23 02:17:09 UTC
Created attachment 71266 [details]
media-gfx/ktoon-0.7.3 ebuild

attached the ebuild for ktoon-0.7.3.
Comment 2 LeChuck 2005-10-23 11:14:27 UTC
Created attachment 71297 [details]
media-gfx/ktoon-0.7.3.ebuild

Updated ebuild of ktoon-0.7.3
Comment 3 David Cuadrado 2006-04-05 09:06:16 UTC
Created attachment 83988 [details]
First ktoon 0.8 ebuild version

Please test it and improve it
Comment 4 Martin Sandsmark 2006-07-31 11:06:45 UTC
It's kinda borked, since it installs everything under /usr/lib/ktoon (so binaries are under /usr/lib/ktoon/bin, libraries under /usr/lib/ktoon/lib, etc.). The ebuild should either install it properly, or do as I did, symlink the binary to /usr/bin and add the lib directory to some env.

Otherwise, it's a great program, and should really get into portage, since there is afaik no program like it available.
Comment 5 Lawrence Lee 2006-08-08 14:35:29 UTC
Created attachment 93796 [details]
Ebuild for the stable version of ktoon-0.8

And penguins abound...possibly driving little customized snowmobiles and living in designer igloos by Giger...
Comment 6 Lawrence Lee 2006-08-08 14:36:11 UTC
Created attachment 93797 [details, diff]
And ze patch to get rid of the styleOption() error
Comment 7 Benjamin Hodgetts 2006-08-10 04:08:33 UTC
Why the hell does this ebuild install EVERYTHING into sub directories inside /usr/lib?
Comment 8 Santiago M. Mola (RETIRED) gentoo-dev 2006-08-10 05:42:00 UTC
(In reply to comment #7)
> Why the hell does this ebuild install EVERYTHING into sub directories inside
> /usr/lib?
> 

I'm trying to clean the ebuild and modify it to do a proper installation. If you know how to do it... your patches are welcome.
Comment 9 Lawrence Lee 2006-08-10 22:16:44 UTC
(In reply to comment #7)
> Why the hell does this ebuild install EVERYTHING into sub directories inside
> /usr/lib?
> 

Sorry, it was just a quick hack to get it working :/ I didn't have the time yet to sort it out. I will soon with a bit of luck, the way this ebuild does it is like wearing a Wehrmacht uniform to your doctors sons Bar Mitzvah :x
Comment 10 Lawrence Lee 2006-08-10 23:11:21 UTC
Created attachment 93967 [details]
New install path in ebuild

I havn't tested this ebuild (mea culpa - cardinal breach of protocol I know) since I'm at work, but I think it should work. The ebuild I'd made was based off the fist ebuild that David Cuadrado had attached earlier on. I have now stripped out the KTOON_HOME define and just installed everything to /usr .. hopefully everything will end up in /usr/bin and /usr/lib ...
I'll check tonight when I get home if this indeed works, until then it's for those brave souls that want to test and untested ebuild :p
Comment 11 David 2007-01-15 07:40:45 UTC
master2 ktoon # ebuild ktoon-0.8.ebuild digest

!!! ERROR: media-gfx/ktoon-0.8 failed.
Call stack:
  ebuild.sh, line 1454:   Called source '/usr/local/portage/media-gfx/ktoon/ktoon-0.8.ebuild'
' ktoon-0.8.ebuild, line 1:   Called inherit 'eutils
  ebuild.sh, line 1189:   Called die

.eclass could not be found by inherit()
!!! If you need support, post the topmost build error, and the call stack if relevant.


aux_get(): (0) Error in media-gfx/ktoon-0.8 ebuild. (1)
               Check for syntax error or corruption in the ebuild. (--debug)
Comment 12 David 2007-01-15 17:13:04 UTC
/usr/bin/moc -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I../../../src/store -I../../../src/ktoonlib -I../../../src/dlib/dgui -I../../../src/dlib/dcore -I.moc -I.ui ktpenwidget.h -o .moc/moc_ktpenwidget.cpp
g++ -c -pipe -march=pentium-m -pipe -O2 -fPIC -Wall -W -D_REENTRANT  -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I../../../src/store -I../../../src/ktoonlib -I../../../src/dlib/dgui -I../../../src/dlib/dcore -I.moc -I.ui -o .obj/moc_ktpenwidget.o .moc/moc_ktpenwidget.cpp
rm -f libpen.a
ar cqs libpen.a .obj/ktpenwidget.o .obj/moc_ktpenwidget.o
make[3]: Leaving directory `/var/tmp/portage/ktoon-0.8/work/ktoon-0.8/src/components/pen'
make[2]: Leaving directory `/var/tmp/portage/ktoon-0.8/work/ktoon-0.8/src/components'
cd modules && /usr/bin/qmake modules.pro -unix -o Makefile
cd modules && make -f Makefile 
make[2]: Entering directory `/var/tmp/portage/ktoon-0.8/work/ktoon-0.8/src/modules'
cd arthury && /usr/bin/qmake arthury.pro -unix -o Makefile
cd arthury && make -f Makefile 
make[3]: Entering directory `/var/tmp/portage/ktoon-0.8/work/ktoon-0.8/src/modules/arthury'
cd illustration && /usr/bin/qmake illustration.pro -unix -o Makefile
cd illustration && make -f Makefile 
make[4]: Entering directory `/var/tmp/portage/ktoon-0.8/work/ktoon-0.8/src/modules/arthury/illustration'
g++ -c -pipe -march=pentium-m -pipe -O2 -fPIC -Wall -W -D_REENTRANT  -DQT_NO_DEBUG -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I../../../../src/modules/arthury/interfaces -I../../../../src/store -I../../../../src/ktoonlib -I../../../../src/dlib/dgui -I../../../../src/dlib/dcore -I/usr/include -I.moc -I.ui -o .obj/apaintarea.o apaintarea.cpp
In file included from apaintarea.h:45,
                 from apaintarea.cpp:21:
agldevice.h:24:21: error: QGLWidget: No such file or directory
agldevice.h:30: error: expected class-name before '{' token
agldevice.h:30: warning: 'class AGLDevice' has virtual functions but non-virtual destructor
apaintarea.h: In constructor 'APaintArea::APaintArea(const QSize&, KToon::RenderType, QWidget*)':
apaintarea.h:110: warning: 'APaintArea::m_zoomFactor' will be initialized after
apaintarea.h:109: warning:   'int APaintArea::m_nextFramesNumber'
apaintarea.cpp:45: warning:   when initialized here
apaintarea.h:109: warning: 'APaintArea::m_nextFramesNumber' will be initialized after
apaintarea.h:100: warning:   'AGraphicComponent* APaintArea::m_currentGraphic'
apaintarea.cpp:45: warning:   when initialized here
apaintarea.cpp:68: error: cannot convert 'AGLDevice*' to 'QWidget*' in assignment
apaintarea.cpp: In member function 'virtual void APaintArea::paintEvent(QPaintEvent*)':
apaintarea.cpp:132: error: no matching function for call to 'QPainter::begin(AGLDevice*)'
/usr/include/qt4/QtGui/qpainter.h:78: note: candidates are: bool QPainter::begin(QPaintDevice*)
apaintarea.cpp: At global scope:
apaintarea.cpp:124: warning: unused parameter 'e'
apaintarea.cpp: In member function 'void APaintArea::aUpdate(const QRect&)':
apaintarea.cpp:419: error: no matching function for call to 'QPainter::begin(AGLDevice*)'
/usr/include/qt4/QtGui/qpainter.h:78: note: candidates are: bool QPainter::begin(QPaintDevice*)
apaintarea.cpp:442: error: 'class AGLDevice' has no member named 'grabFrameBuffer'
apaintarea.cpp: In member function 'void APaintArea::drawGhostGraphic(const QPainterPath&)':
apaintarea.cpp:455: error: no matching function for call to 'QPainter::begin(AGLDevice*)'
/usr/include/qt4/QtGui/qpainter.h:78: note: candidates are: bool QPainter::begin(QPaintDevice*)
apaintarea.cpp: In member function 'virtual void APaintArea::mousePressEvent(QMouseEvent*)':
apaintarea.cpp:515: error: no matching function for call to 'QPainter::begin(AGLDevice*)'
/usr/include/qt4/QtGui/qpainter.h:78: note: candidates are: bool QPainter::begin(QPaintDevice*)
apaintarea.cpp: In member function 'virtual void APaintArea::mouseMoveEvent(QMouseEvent*)':
apaintarea.cpp:591: error: no matching function for call to 'QPainter::begin(AGLDevice*)'
/usr/include/qt4/QtGui/qpainter.h:78: note: candidates are: bool QPainter::begin(QPaintDevice*)
apaintarea.cpp: In member function 'virtual void APaintArea::mouseReleaseEvent(QMouseEvent*)':
apaintarea.cpp:619: error: no matching function for call to 'QPainter::begin(AGLDevice*)'
/usr/include/qt4/QtGui/qpainter.h:78: note: candidates are: bool QPainter::begin(QPaintDevice*)
apaintarea.cpp: In member function 'void APaintArea::copy()':
apaintarea.cpp:808: warning: passing 'qreal' for argument 1 to 'QSize::QSize(int, int)'
apaintarea.cpp:808: warning: passing 'qreal' for argument 2 to 'QSize::QSize(int, int)'
apaintarea.cpp: In member function 'void APaintArea::setZoomFactor(double)':
apaintarea.cpp:958: warning: passing 'qreal' for argument 1 to 'void KTKeyFrame::scale(int, int)'
apaintarea.cpp:958: warning: passing 'qreal' for argument 2 to 'void KTKeyFrame::scale(int, int)'
/usr/include/qt4/QtCore/qobject.h: In function 'T qobject_cast(QObject*) [with T = AGLDevice*]':
apaintarea.cpp:132:   instantiated from here
/usr/include/qt4/QtCore/qobject.h:387: error: invalid static_cast from type 'QObject*' to type 'AGLDevice*'
make[4]: *** [.obj/apaintarea.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/ktoon-0.8/work/ktoon-0.8/src/modules/arthury/illustration'
make[3]: *** [sub-illustration-make_default] Error 2
make[3]: Leaving directory `/var/tmp/portage/ktoon-0.8/work/ktoon-0.8/src/modules/arthury'
make[2]: *** [sub-arthury-make_default] Error 2
make[2]: Leaving directory `/var/tmp/portage/ktoon-0.8/work/ktoon-0.8/src/modules'
make[1]: *** [sub-modules-make_default] Error 2
make[1]: Leaving directory `/var/tmp/portage/ktoon-0.8/work/ktoon-0.8/src'
make: *** [sub-src-make_default] Error 2

!!! ERROR: media-gfx/ktoon-0.8 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ktoon-0.8.ebuild, line 29:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! This ebuild is from an overlay: '/usr/local/portage'
[1]+  Done                    nedit ktoon-0.8.ebuild
Comment 13 Santiago M. Mola (RETIRED) gentoo-dev 2007-01-19 14:59:34 UTC
Created attachment 107440 [details, diff]
ktoon-0.3-configure.patch

This is a dirty hack to make ktoon's configure script able to deactivate features on demand.
Comment 14 Santiago M. Mola (RETIRED) gentoo-dev 2007-01-19 15:02:18 UTC
Created attachment 107442 [details, diff]
ktoon-0.8-g++4fix.patch

Fixes compilation on g++ 4
(This is actually the styleOption patch.
Comment 15 Santiago M. Mola (RETIRED) gentoo-dev 2007-01-19 15:03:11 UTC
Created attachment 107444 [details, diff]
ktoon-0.8-plugindir.patch

Taken from the ktoon's Debian package, not sure if it's strictly needed but I used it on my ebuild.
Comment 16 Santiago M. Mola (RETIRED) gentoo-dev 2007-01-19 15:06:07 UTC
Created attachment 107446 [details]
ktoon-0.8.ebuild

ktoon-0.8.ebuild with proper USE flags.
It needs the 3 patches I attached (note that ktoon-0.3-configure.patch is mispelled, it's actually 0.8).
It's not finished yet, installation paths and ffmpeg configure test needs some workarounds.
Comment 17 quazgar 2008-02-15 23:37:15 UTC
building fails here on my amd64 machine:

>>> Unpacking source...
>>> Unpacking ktoon-0.8-stable-sources.tar.gz to /var/tmp/portage/media-gfx/ktoon-0.8/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/media-gfx/ktoon-0.8/work/ktoon-0.8 ...
>>> Unpacking ktoon-0.8-stable-sources.tar.gz to /var/tmp/portage/media-gfx/ktoon-0.8/work/ktoon-0.8
 * Applying ktoon-0.8-g++4fix.patch ...
  [ ok ]
 * Applying ktoon-0.8-configure.patch ...
  [ ok ]
 * Applying ktoon-0.8-plugindir.patch ...
  [ ok ]
 * QA Notice: USE Flag 'encode' not in IUSE for media-gfx/ktoon-0.8
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-gif --with-ffmpeg --with-gstreamer --without-ming --with-aspell --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
./configure: unrecognized option `--prefix=/usr'
./configure: unrecognized option `--host=x86_64-pc-linux-gnu'
./configure: unrecognized option `--mandir=/usr/share/man'
./configure: unrecognized option `--infodir=/usr/share/info'
./configure: unrecognized option `--datadir=/usr/share'
./configure: unrecognized option `--sysconfdir=/etc'
./configure: unrecognized option `--localstatedir=/var/lib'
./configure: unrecognized option `--enable-gif'
./configure: unrecognized option `--with-ffmpeg'
./configure: unrecognized option `--with-gstreamer'
./configure: unrecognized option `--with-aspell'
./configure: unrecognized option `--libdir=/usr/lib64'
./configure: unrecognized option `--build=x86_64-pc-linux-gnu'
 *  Using Qt: 4.3.2
 *  Checking for aspell... yes.
 *  Checking for sound... yes.
 *  Checking for gif... yes.
 *  Checking for ffmpeg 0.4.9... no.

<.......>

g++ -c -pipe -O2 -march=athlon64 -pipe -Wall -W -D_REENTRANT -fPIC -DHAVE_ASPELL -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE
_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtG
ui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I../../../src/dlib/dcore -I-pthr
ead -I-I/usr/include/gstreamer-0.10 -I-I/usr/include/glib-2.0 -I-I/usr/lib64/glib-2.0/include -I-I/usr/include/libxml2 -I.moc -I.u
i -o .obj/dactionmanager.o dactionmanager.cpp
ktthemeselector.h:56: warning: unused parameter ‘pal’
/usr/include/qt4/QtCore/qhash.h: In member function ‘bool DActionManager::insert(DAction*)’:
/usr/include/qt4/QtCore/qhash.h:354: error: ‘QHash<K, V>::iterator::operator bool() const [with Key = QString, T = DAction*]’ is pte
dactionmanager.cpp:43: error: within this context
make[3]: *** [.obj/dactionmanager.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-gfx/ktoon-0.8/work/ktoon-0.8/src/dlib/dgui'
make[2]: *** [sub-dgui-make_default] Error 2
make[2]: Leaving directory `/var/tmp/portage/media-gfx/ktoon-0.8/work/ktoon-0.8/src/dlib'
make[1]: *** [sub-dlib-make_default] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [sub-src-make_default] Error 2
 * 
 * ERROR: media-gfx/ktoon-0.8 failed.
 * Call stack:
 *          ebuild.sh, line 1701:  Called dyn_compile
 *          ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *          ebuild.sh, line   44:  Called src_compile
 *   ktoon-0.8.ebuild, line   39:  Called die
 * The specific snippet of code:
 *      emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/media-gfx:ktoon-0.8:20080215-232746.log'.
 * This ebuild is from an overlay: '/usr/local/portage/'
 *
**************************************

Are those configure warnings normal?

my emerge --info:
Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r8 x86_64 AMD Athlon(tm) X2 Dual Core Processor BE-2300
Timestamp of tree: Tue, 12 Feb 2008 16:46:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://gentoo.tiscali.nl/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="en_US.UTF8"
LC_ALL="en_US.UTF-8"
LINGUAS="en de es"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa amd64 apache2 bash-completion berkdb bitmap-fonts cairo calendar caps cddb cdr cli cracklib crypt cups dbus dga directfb dri dvd dvdr dvdread eds emacs emboss encode esd evo exif fam fbcon ffmpeg fftw firefox flac foomaticdb fortran ftp gd gdbm gif glut gnome gpm gstreamer gtk gtk2 gtkhtml guile hal iconv icq imagemagick isdnlog java javascript jikes joystick jpeg jpeg2k kde kdexdeltas kerberos lcms ldap leim libcaca libwww lm_sensors mad maildir mbox mcal memlimit midi mikmod mime mmx mng mp3 mpeg msn mudflap ncurses neXt nls nocd nptl nptlonly nsplugin offensive ogg opengl openmp oscar oss pam pcre pdf perl plotutils png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session sndfile sockets sox speex spell spl sse sse2 ssl svg tcpd tetex theora threads tiff timidity truetype truetype-fonts type1-fonts unicode usb v4l vcd videos vorbis wmf xml xorg xosd xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse aiptek" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de es" USERLAND="GNU" VIDEO_CARDS="vesa vga fbdev nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 18 filip 2008-03-10 11:12:10 UTC
I have the same error as previous poster:
snippet from log:
========================================
g++ -c -pipe -march=native -pipe -mno-tls-direct-seg-refs -O2 -Wall -W -D_REENTRANT -fPIC -DHAVE_ASPELL -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I../../../src/dlib/dcore -I-pthread -I-I/usr/include/gstreamer-0.10 -I-I/usr/include/glib-2.0 -I-I/usr/lib64/glib-2.0/include -I-I/usr/include/libxml2 -I.moc -I.ui -o .obj/dactionmanager.o dactionmanager.cpp
/usr/include/qt4/QtCore/qhash.h: In member function 'bool DActionManager::insert(DAction*)':
/usr/include/qt4/QtCore/qhash.h:354: error: 'QHash<K, V>::iterator::operator bool() const [with Key = QString, T = DAction*]' is private
dactionmanager.cpp:43: error: within this context
make[3]: *** [.obj/dactionmanager.o] Error 1
make[3]: *** Waiting for unfinished jobs....
=============================================
config msg from log:
=============================================
>>> Unpacking source...
>>> Unpacking ktoon-0.8-stable-sources.tar.gz to /var/tmp/portage/media-gfx/ktoon-0.8/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/media-gfx/ktoon-0.8/work/ktoon-0.8 ...
>>> Unpacking ktoon-0.8-stable-sources.tar.gz to /var/tmp/portage/media-gfx/ktoon-0.8/work/ktoon-0.8
 * Applying ktoon-0.8-g++4fix.patch ...                                                                                     [ ok ]
 * Applying ktoon-0.8-configure.patch ...                                                                                   [ ok ]
 * Applying ktoon-0.8-plugindir.patch ...                                                                                   [ ok ]
 * QA Notice: USE Flag 'encode' not in IUSE for media-gfx/ktoon-0.8
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-gif --without-ffmpeg --with-gstreamer --without-ming --with-aspell --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
./configure: unrecognized option `--prefix=/usr'
./configure: unrecognized option `--host=x86_64-pc-linux-gnu'
./configure: unrecognized option `--mandir=/usr/share/man'
./configure: unrecognized option `--infodir=/usr/share/info'
./configure: unrecognized option `--datadir=/usr/share'
./configure: unrecognized option `--sysconfdir=/etc'
./configure: unrecognized option `--localstatedir=/var/lib'
./configure: unrecognized option `--enable-gif'
./configure: unrecognized option `--with-gstreamer'
./configure: unrecognized option `--with-aspell'
./configure: unrecognized option `--libdir=/usr/lib64'
./configure: unrecognized option `--build=x86_64-pc-linux-gnu'
 *  Using Qt: 4.3.2
 *  Checking for aspell... yes.
 *  Checking for sound... yes.
 *  Checking for gif... yes.

**************************************
 *  KToon is configured, if you want to clean configuration, execute 'make -f Makefile.common confclean'
**************************************

=================================================
emerge --info
=================================================
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.2.3, glibc-2.6.1-r0, 2.6.25-rc4-git2 x86_64)
=================================================================
System uname: 2.6.25-rc4-git2 x86_64 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
Timestamp of tree: Mon, 10 Mar 2008 08:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -Os -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -Os -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://ds.thn.htu.se/linux/gentoo "
LINGUAS="sv sv_SE se en en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/sunrise /usr/portage/local/layman/science /usr/portage/local/layman/ecatmur /usr/portage/local/layman/sajinet /usr/portage/local/layman/gentopia /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa amd64 apache2 atm avahi avi bash-completion berkdb bindist bluetooth bonjour browserplugin bzip2 cairo cdr cli cracklib crypt cscope ctype cups dbus dga dhcp divx divx4linux dri dvd dvdr dvdread ekiga emboss encode evo exif fam fbcon fbdev fbsplash ffmpeg firefox flac foomaticdb freetds gd gdb gdbm gif gimp glib gmedia gnutls gphoto2 gpm groupwise gstreamer gtk gtk2 gtkhtml hal iconv imagemagick iodbc irmc isdnlog isight jack jack-tmpfs java javascript jpeg jpeg2k kdeenablefinal kerberos laptop ldap libnotify lirc live lm_sensors lua mad madwifi mail-wrapper mailwrapper midi mikmod mmx mng mp3 mpeg mplayer-bin msn mssql mudflap mysql nas ncurses netbeans network networkmanager nfs nls nntp nptl nptlonly nsplugin odbc ogg oggvorbis openal opengl openmp pam pcre pdf perl php png ppds pppd pulseaudio python qt3 qt3support qt4 quicktime randr rdesktop readline realmedia reflection rtc samba scanner sdl session smp speex spell spl sse sse2 ssl startup-notification stencil-buffer svg syncml tcl tcpd threads tiff tk truetype type1 unicode usb utf8 uvc v4l v4l2 vim-syntax vorbis wma wmf wmp xanim xcomposite xinerama xml xml2 xorg xscreensaver xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="sv sv_SE se en en_US" USERLAND="GNU" VIDEO_CARDS="i810 vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=======================================================================
Aaaaaaaaaaaaaaaaaaand emerge -pv ktoon says:
=======================================================================
[ebuild  N    ] media-gfx/ktoon-0.8  USE="gif gstreamer spell -ming" 0 kB [1]

Total: 1 package (1 new), Size of downloads: 0 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/local/portage

=======================================================================

Anyone had any success with ktoon the last year?
Comment 19 quazgar 2008-03-23 01:03:10 UTC
One hint:  The errors in the last two comments might well be related to this thread: 
https://developer.berlios.de/forum/message.php?msg_id=34465
Obvoiusly they occur because qt4 is installedin parallel with qt3.

Also this might help
http://ktoon.toonka.com/documentation/index.php?title=Compiling_KToon_using_QT4
Comment 20 quazgar 2008-03-23 02:33:30 UTC
ok, further reading there showed that ktoon 0.8 only works with QT 4.1.4, while ktoon 0.9 (under development, no release date yet) requires 4.2.  Therefore, I consider ktoon as temporarily dead...

Good luck to whoever might want to try it.
Comment 21 Andrey A. Ugolnik 2008-05-20 07:28:59 UTC
KToon 0.8.1 available for download. Update ebuild, please.
https://developer.berlios.de/project/showfiles.php?group_id=2960
Comment 22 Andrey A. Ugolnik 2009-03-27 15:34:57 UTC
Hello,

ktoon-0.8.1 has been released. Update ebuild, please.