summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarol Wojtaszek <sekretarz@gentoo.org>2005-03-18 15:11:33 +0000
committerKarol Wojtaszek <sekretarz@gentoo.org>2005-03-18 15:11:33 +0000
commit88144d2ccd08d39c23f9b342796b8c81a813ab9c (patch)
tree632c84b4f897402652742dc3b59a25f6972cc03d /net-im/kadu
parent+ cvs branch update (diff)
downloadhistorical-88144d2ccd08d39c23f9b342796b8c81a813ab9c.tar.gz
historical-88144d2ccd08d39c23f9b342796b8c81a813ab9c.tar.bz2
historical-88144d2ccd08d39c23f9b342796b8c81a813ab9c.zip
Totally rewritten ebuild, added support to new modules, precompiled headers and new icons sets
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'net-im/kadu')
-rw-r--r--net-im/kadu/ChangeLog14
-rw-r--r--net-im/kadu/files/digest-kadu-0.4.0_rc224
-rw-r--r--net-im/kadu/files/kadu-0.4.0_rc2-libgsm-amd64.patch11
-rw-r--r--net-im/kadu/files/kadu-0.4.0_rc2-nas-gentoo.diff26
-rw-r--r--net-im/kadu/files/xosd-gentoo.patch38
-rw-r--r--net-im/kadu/kadu-0.3.7.ebuild10
-rw-r--r--net-im/kadu/kadu-0.3.8.ebuild10
-rw-r--r--net-im/kadu/kadu-0.3.9.ebuild8
-rw-r--r--net-im/kadu/kadu-0.4.0_rc2.ebuild215
9 files changed, 340 insertions, 16 deletions
diff --git a/net-im/kadu/ChangeLog b/net-im/kadu/ChangeLog
index b3c55272ffc3..0e57283a0138 100644
--- a/net-im/kadu/ChangeLog
+++ b/net-im/kadu/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for net-im/kadu
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/ChangeLog,v 1.16 2004/09/29 11:56:38 blubb Exp $
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/ChangeLog,v 1.17 2005/03/18 15:11:32 sekretarz Exp $
+
+*kadu-0.4.0_rc2 (18 Mar 2005)
+
+ 18 Mar 2005; Karol Wojtaszek <sekretarz@gentoo.org>
+ +files/kadu-0.4.0_rc2-libgsm-amd64.patch,
+ +files/kadu-0.4.0_rc2-nas-gentoo.diff, +files/xosd-gentoo.patch,
+ kadu-0.3.7.ebuild, kadu-0.3.8.ebuild, kadu-0.3.9.ebuild,
+ +kadu-0.4.0_rc2.ebuild:
+ Totally rewritten ebuild, added support to new modules, precompiled headers
+ and new icons sets
29 Sep 2004; Simon Stelling <blubb@gentoo.org> kadu-0.3.9.ebuild:
get_libdir-ized and marked ~amd64
diff --git a/net-im/kadu/files/digest-kadu-0.4.0_rc2 b/net-im/kadu/files/digest-kadu-0.4.0_rc2
new file mode 100644
index 000000000000..43a9c478cb67
--- /dev/null
+++ b/net-im/kadu/files/digest-kadu-0.4.0_rc2
@@ -0,0 +1,24 @@
+MD5 f6ea2ebe8b62d7361326f0e227b7f40a kadu-0.4.0-rc2.tar.bz2 1174746
+MD5 1cec6670d6441d1251b3f430525564a3 tabs-r34.tar.bz2 11981
+MD5 3f5d360714c805b586cb94223bdd35d4 amarok-1.12.tar.gz 8715
+MD5 336a53aadbc0ff846ac34681d79a6c16 tcl_scripting-20050308.tar.gz 591658
+MD5 2ef812084512cc14a95c1737535cbbdb kadu-theme-alt_cryst.tar.bz2 121877
+MD5 023085edabaf6a1b844fe6b5fc9315f9 kadu-theme-crystal-16.tar.bz2 45993
+MD5 57852ff3d3fd0063a642fcc173f7fa29 kadu-theme-crystal-22.tar.bz2 48895
+MD5 f0b33b0d42b9dc1de5c6b19097600a9e kadu-theme-gg3d.tar.bz2 78353
+MD5 5ec5ec33849c35ae8d2b114250b664b3 kadu-theme-noia-16.tar.bz2 109294
+MD5 586cc6ff9ba62f0fdd7c7c1adf229efb kadu-theme-nuvola-16.tar.gz 119276
+MD5 7a17b4881141b346c6268ef25c284613 kadu-theme-nuvola-22.tar.gz 147311
+MD5 766e4841651364d032b68b8321f153ef kadu-theme-old_default.tar.bz2 85997
+MD5 a8d5d60e062255e77b732a37ea2e5e7c kadu-theme-piolnet.tar.bz2 79831
+MD5 cbd97ea8302ac4ad9507f104597da0c4 kadu-theme-real_gg.tar.bz2 131697
+MD5 640acacc8f5b33da6e1eb379eb3177dc weather-2.01.tar.bz2 46297
+MD5 001deaa1ebd6beaf104b77fce9aeff2e ext_info-1.2.tar.bz2 17868
+MD5 4959525a23d18fb37a66d7e0a3b75f76 kadu-spy-0.0.6.tar.bz2 12824
+MD5 77b0b8da0723ef23caaf1c75125d0fa4 firewall-20050308.tar.bz2 6858
+MD5 4a424362ba3a10ddbce0fb1a4ff4d649 KaduChess-0.3-Calista.tar.bz2 24892
+MD5 8d6e7e9d0e79a350e62894112994ec9b led_notify-0.1.tar.bz2 2802
+MD5 57cae3ca45d3163ba51a306f5d783d55 xmms-1.24.tar.gz 14954
+MD5 6eb7a27232304e85bc57cfc557289872 xosd_notify-050227.tar.bz2 11578
+MD5 e63393922738bea7a9d1be675c826608 mail-0.2.0.tar.bz2 93363
+MD5 0e427d25f69f5f5d10e303f8d2e79e70 spellchecker-0.13.tar.gz 9121
diff --git a/net-im/kadu/files/kadu-0.4.0_rc2-libgsm-amd64.patch b/net-im/kadu/files/kadu-0.4.0_rc2-libgsm-amd64.patch
new file mode 100644
index 000000000000..09305fe62e7f
--- /dev/null
+++ b/net-im/kadu/files/kadu-0.4.0_rc2-libgsm-amd64.patch
@@ -0,0 +1,11 @@
+--- modules/voice/libgsm/Makefile.orig 2004-09-13 23:18:59.000000000 +0200
++++ modules/voice/libgsm/Makefile 2005-03-18 15:04:40.609919008 +0100
+@@ -44,7 +44,7 @@
+ # CCFLAGS = -c -O
+
+ CC := $(CC) -ansi -pedantic
+-CCFLAGS = -c -O2 -DNeedFunctionPrototypes=1
++CCFLAGS = -c -O2 -DNeedFunctionPrototypes=1 -fPIC
+
+ LD = $(CC)
+
diff --git a/net-im/kadu/files/kadu-0.4.0_rc2-nas-gentoo.diff b/net-im/kadu/files/kadu-0.4.0_rc2-nas-gentoo.diff
new file mode 100644
index 000000000000..6a1600b45493
--- /dev/null
+++ b/net-im/kadu/files/kadu-0.4.0_rc2-nas-gentoo.diff
@@ -0,0 +1,26 @@
+diff -Naur modules.orig/nas_sound/nas_sound.h modules/nas_sound/nas_sound.h
+--- modules.orig/nas_sound/nas_sound.h 2004-05-11 14:47:05.000000000 +0200
++++ modules/nas_sound/nas_sound.h 2004-07-04 16:42:49.000000000 +0200
+@@ -14,8 +14,8 @@
+ #ifndef INTERNAL_QT_SOUND_SUPPORT
+ #include <qsocketnotifier.h>
+ namespace audiolib {
+-#include <audiolib.h>
+-#include <soundlib.h>
++#include <audio/audiolib.h>
++#include <audio/soundlib.h>
+ }
+ #endif
+
+diff -Naur modules.orig/nas_sound/spec modules/nas_sound/spec
+--- modules.orig/nas_sound/spec 2004-04-26 14:59:35.000000000 +0200
++++ modules/nas_sound/spec 2004-07-04 16:44:14.000000000 +0200
+@@ -1,6 +1,6 @@
+ MODULE_SOURCES=nas_sound.cpp
+ MODULE_MOC_HEADERS=nas_sound.h
+-MODULE_INCLUDES="soundlib.h audiolib.h"
+-MODULE_INCLUDES_PATH="/usr/include/audio /usr/X11R6/include/audio"
++MODULE_INCLUDES="audio/soundlib.h audio/audiolib.h"
++MODULE_INCLUDES_PATH="/usr/include /usr/X11R6/include"
+ MODULE_LIBS=audio
+ MODULE_LIBS_PATH="/usr/X11R6/lib"
diff --git a/net-im/kadu/files/xosd-gentoo.patch b/net-im/kadu/files/xosd-gentoo.patch
new file mode 100644
index 000000000000..066d90c9dbd4
--- /dev/null
+++ b/net-im/kadu/files/xosd-gentoo.patch
@@ -0,0 +1,38 @@
+--- modules/xosd_notify/xosd_notify.cpp.orig 2005-02-27 16:21:08.000000000 +0100
++++ modules/xosd_notify/xosd_notify.cpp 2005-03-18 11:56:17.521249672 +0100
+@@ -51,7 +51,7 @@
+ "NewChat"<<"NewMessage"<<"Error"<<"OtherMessage";
+
+ int val;
+- CONST_FOREACH(it, optionPrefixes)
++ FOREACH(it, optionPrefixes)
+ {
+ config_file.addVariable("XOSD", (*it)+"Position", 4);
+ val = config_file.readNumEntry("XOSD", (*it)+"Position");
+@@ -392,7 +392,7 @@
+ }
+
+ int y_offset = config_file.readNumEntry("XOSD", QString("OffsetY%1").arg(position));
+- CONST_FOREACH(line, lines[position])
++ FOREACH(line, lines[position])
+ {
+ xosd_set_vertical_offset((*line).handle, y_offset);
+ xosd_hide((*line).handle);
+@@ -456,7 +456,7 @@
+ toggled_SetAll(config_file.readBoolEntry("XOSD", "SetAll"));
+
+ configs.clear();
+- CONST_FOREACH(prefix, optionPrefixes)
++ FOREACH(prefix, optionPrefixes)
+ {
+ TestConfig c;
+ c.type = *prefix;
+@@ -498,7 +498,7 @@
+ {
+ kdebugf();
+
+- CONST_FOREACH(prefix, optionPrefixes)
++ FOREACH(prefix, optionPrefixes)
+ {
+ TestConfig c = configs[*prefix];
+ config_file.writeEntry("XOSD", (*prefix)+"Position", c.position);
diff --git a/net-im/kadu/kadu-0.3.7.ebuild b/net-im/kadu/kadu-0.3.7.ebuild
index f9dad9737b72..dbca9402f41a 100644
--- a/net-im/kadu/kadu-0.3.7.ebuild
+++ b/net-im/kadu/kadu-0.3.7.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/kadu-0.3.7.ebuild,v 1.3 2004/09/06 18:01:09 sekretarz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/kadu-0.3.7.ebuild,v 1.4 2005/03/18 15:11:32 sekretarz Exp $
MY_P=${P/_/-}
DESCRIPTION="QT version of popular in Poland Gadu-Gadu IM network"
@@ -11,7 +11,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
-IUSE="kde debug kadu-voice kadu-modules"
+IUSE="kde debug voice extramodules"
DEPEND=">=x11-libs/qt-3.0.1
kde? ( kde-base/arts )"
@@ -21,8 +21,8 @@ S=${WORKDIR}/${PN}
src_compile() {
local myconf
- use kadu-voice && myconf="${myconf} --enable-voice"
- use kadu-modules && myconf="${myconf} --enable-modules"
+ use voice && myconf="${myconf} --enable-voice"
+ use extramodules && myconf="${myconf} --enable-modules"
use debug && myconf="${myconf} --enable-debug"
econf ${myconf} || die
emake || die
diff --git a/net-im/kadu/kadu-0.3.8.ebuild b/net-im/kadu/kadu-0.3.8.ebuild
index 8295301d7fc0..15b3aa0e9eb7 100644
--- a/net-im/kadu/kadu-0.3.8.ebuild
+++ b/net-im/kadu/kadu-0.3.8.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/kadu-0.3.8.ebuild,v 1.4 2004/09/06 18:01:09 sekretarz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/kadu-0.3.8.ebuild,v 1.5 2005/03/18 15:11:32 sekretarz Exp $
inherit flag-o-matic
@@ -13,7 +13,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
-IUSE="kde debug kadu-voice kadu-modules"
+IUSE="kde debug voice extramodules"
DEPEND=">=x11-libs/qt-3.0.1
kde? ( kde-base/arts )"
@@ -24,8 +24,8 @@ src_compile() {
filter-flags -fno-rtti
local myconf
- use kadu-voice || myconf="${myconf} --disable-voice"
- use kadu-modules || myconf="${myconf} --disable-modules"
+ use kadu || myconf="${myconf} --disable-voice"
+ use extramodules || myconf="${myconf} --disable-modules"
use debug && myconf="${myconf} --enable-debug"
econf ${myconf} || die
emake || die
diff --git a/net-im/kadu/kadu-0.3.9.ebuild b/net-im/kadu/kadu-0.3.9.ebuild
index d39232a65e94..7ff078d2059f 100644
--- a/net-im/kadu/kadu-0.3.9.ebuild
+++ b/net-im/kadu/kadu-0.3.9.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/kadu-0.3.9.ebuild,v 1.3 2004/09/29 11:56:38 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/kadu-0.3.9.ebuild,v 1.4 2005/03/18 15:11:32 sekretarz Exp $
inherit flag-o-matic eutils
@@ -12,7 +12,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64"
-IUSE="debug alsa arts esd kadu-voice nas oss spell ssl tcltk xmms"
+IUSE="debug alsa arts esd voice nas oss spell ssl tcltk xmms"
DEPEND=">=x11-libs/qt-3.0.1
alsa? ( media-libs/alsa-lib virtual/alsa )
@@ -38,7 +38,7 @@ src_compile() {
# static modules (disable only, do not compile as .so)
use ssl || module_config encryption n
- use kadu-voice || module_config voice n
+ use voice || module_config voice n
# dynamic modules
use alsa || use oss || module_config dsp_sound n
diff --git a/net-im/kadu/kadu-0.4.0_rc2.ebuild b/net-im/kadu/kadu-0.4.0_rc2.ebuild
new file mode 100644
index 000000000000..617653cf1b44
--- /dev/null
+++ b/net-im/kadu/kadu-0.4.0_rc2.ebuild
@@ -0,0 +1,215 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/kadu-0.4.0_rc2.ebuild,v 1.1 2005/03/18 15:11:32 sekretarz Exp $
+
+inherit flag-o-matic eutils
+
+VTCL="20050308"
+VTABS="r34"
+VAMAROK="1.12"
+WEATHER="2.01"
+EXT_INFO="1.2"
+XMMS="1.24"
+XOSD_NOTIFY="050227"
+MAIL="0.2.0"
+SPELLCHECKER="0.13"
+SPY="0.0.6"
+CHESS="0.3-Calista"
+FIREWALL="20050308"
+LED_NOTIFY="0.1"
+
+DESCRIPTION="QT client for popular in Poland Gadu-Gadu IM network"
+HOMEPAGE="http://kadu.net/"
+
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+
+IUSE="debug alsa arts esd voice speech nas oss spell ssl tcltk xmms xosd amarok pheaders extraicons extramodules mail"
+
+DEPEND="x11-libs/qt
+ alsa? ( media-libs/alsa-lib virtual/alsa )
+ arts? ( kde-base/arts )
+ amarok? ( media-sound/amarok )
+ esd? ( media-sound/esound )
+ nas? ( media-libs/nas )
+ pheaders? ( >=sys-devel/gcc-3.4.0 )
+ spell? ( app-dicts/aspell-pl )
+ ssl? ( dev-libs/openssl )
+ speech? ( app-accessibility/powiedz )
+ tcltk? ( >=dev-lang/tcl-8.4.0 >=dev-lang/tk-8.4.0 )
+ xmms? ( media-sound/xmms )
+ xosd? ( x11-libs/xosd )"
+
+SRC_URI="http://kadu.net/download/stable/${P/_/-}.tar.bz2
+ http://biprowod.wroclaw.pl/kadu/tabs-${VTABS}.tar.bz2
+ amarok? ( http://scripts.one.pl/amarok/devel/0.4.0/amarok-${VAMAROK}.tar.gz )
+ tcltk? ( http://scripts.one.pl/tcl4kadu/files/snapshots/tcl_scripting-${VTCL}.tar.gz )
+ extraicons? (
+ http://biprowod.wroclaw.pl/kadu/kadu-theme-alt_cryst.tar.bz2
+ http://www.kadu.net/download/additions/kadu-theme-crystal-16.tar.bz2
+ http://www.kadu.net/download/additions/kadu-theme-crystal-22.tar.bz2
+ http://www.kadu.net/download/additions/kadu-theme-gg3d.tar.bz2
+ http://www.kadu.net/download/additions/kadu-theme-noia-16.tar.bz2
+ http://www.kadu.net/download/additions/kadu-theme-nuvola-16.tar.gz
+ http://www.kadu.net/download/additions/kadu-theme-nuvola-22.tar.gz
+ http://www.kadu.net/download/additions/kadu-theme-old_default.tar.bz2
+ http://www.kadu.net/download/additions/kadu-theme-piolnet.tar.bz2
+ http://www.kadu.net/download/additions/kadu-theme-real_gg.tar.bz2 )
+ extramodules? (
+ http://pcb45.tech.us.edu.pl/~blysk/weather/weather-${WEATHER}.tar.bz2
+ http://nkg.republika.pl/files/ext_info-${EXT_INFO}.tar.bz2
+ http://pcb45.tech.us.edu.pl/~tomek/kadu/kadu-spy-${SPY}.tar.bz2
+ http://users.skorpion.wroc.pl/arturmat/firewall/files/firewall-${FIREWALL}.tar.bz2
+ http://biprowod.wroclaw.pl/kadu/KaduChess-${CHESS}.tar.bz2
+ http://pcb45.tech.us.edu.pl/~blysk/led_notify/led_notify-${LED_NOTIFY}.tar.bz2 )
+ xmms? ( http://scripts.one.pl/xmms/devel/0.4.0/xmms-${XMMS}.tar.gz )
+ xosd? ( http://www.kadu.net/~joi/xosd_notify/xosd_notify-${XOSD_NOTIFY}.tar.bz2 )
+ mail? ( http://michal.kernel-panic.cjb.net/mail/tars/release/mail-${MAIL}.tar.bz2 )
+ spell? ( http://scripts.one.pl/spellchecker/devel/0.4.0/spellchecker-${SPELLCHECKER}.tar.gz )"
+
+
+S=${WORKDIR}/${PN}
+
+enable_module() {
+ if use ${1}; then
+ mv ${WORKDIR}/${2} ${WORKDIR}/kadu/modules/
+ module_config ${2} m
+ fi
+}
+
+module_config() {
+ sed -i -r "s/(^module_${1}\\s*=\\s*).*/\\1${2}/" .config
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # Disabling autodownload for modules
+ rm -f ${WORKDIR}/kadu/modules/*.web
+
+ # Disabling autodownload for icons
+ rm -f ${WORKDIR}/kadu/varia/themes/icons/*.web
+
+ # Disabling all modules and iconsets for further activation via USE flags
+ sed .config -i -e 's/=m/=n/g'
+ sed .config -i -e 's/=y/=n/g'
+
+ enable_module amarok amarok
+ enable_module spell spellchecker
+ enable_module xmms xmms
+ enable_module xosd xosd_notify
+ enable_module mail mail
+ enable_module tcltk "tcl_scripting"
+
+ enable_module extramodules weather
+ enable_module extramodules ext_info
+ enable_module extramodules spy
+ enable_module extramodules led_notify
+ enable_module extramodules tabs
+
+ # put some patches
+ epatch ${FILESDIR}/${P}-libgsm-amd64.patch
+ use nas && epatch ${FILESDIR}/${P}-nas-gentoo.diff
+ use xosd && epatch ${FILESDIR}/xosd-gentoo.patch
+}
+
+src_compile() {
+ filter-flags -fno-rtti
+
+ # Enabling default iconset
+ module_config icons_default y
+
+ # Enabling dependencies that are needed by other modules
+ module_config account_management m
+ module_config autoaway m
+ module_config autoresponder m
+ module_config config_wizard m
+ module_config dcc m
+ module_config default_sms m
+ module_config docking m
+ module_config filedesc m
+ module_config hints m
+ module_config notify m
+ module_config sms m
+ module_config sound m
+
+ if use extramodules; then
+ if use !tcltk; then
+ ewarn "script_chess depends on module_tcl_scripting;"
+ ewarn "It won't be installed."
+ fi
+ fi
+
+ # Firewall
+ if use extramodules; then
+ if use !tcltk; then
+ ewarn "script_firewall depends on module_tcl_scripting;"
+ ewarn "It won't be installed."
+ fi
+ fi
+
+ use speech && module_config speech m
+ use extramodules && module_config autoresponder
+
+ # static modules (disable only, do not compile as .so)
+ use ssl && module_config encryption y
+
+ # dynamic modules
+ use alsa && module_config alsa_sound m
+ use arts && module_config arts_sound m
+ use esd && module_config esd_sound m
+ use nas && module_config nas_sound m
+ use voice && module_config voice m
+
+ # Some fixes
+ if use extramodules; then
+ einfo "Changing default firewall log location to user's homedir/.gg/firewall.log"
+ sed ${WORKDIR}/firewall.tcl -i -e 's%$module(scriptpath)/firewall.log%$env(HOME)/.gg/firewall.log%g'
+ fi
+
+ local myconf
+ myconf="${myconf} --enable-modules --enable-dist-info=Gentoo"
+
+ use voice && myconf="${myconf} --enable-dependency-tracing"
+ use debug && myconf="${myconf} --enable-debug"
+ use pheaders && myconf="${myconf} --enable-pheaders"
+
+ econf ${myconf} || die
+ emake || die
+}
+
+src_install() {
+ make \
+ DESTDIR=${D} \
+ install || die
+
+ # Installing additional scripts and plugins
+ # Chess and Firewall
+ if use extramodules; then
+ if use tcltk; then
+ einfo "Installing Chess script"
+ mv ${WORKDIR}/KaduChess/{data,pics,KaduChess.tcl} ${D}/usr/share/kadu/modules/data/tcl_scripting/scripts
+ # small fix form author's site
+ sed ${D}/usr/share/kadu/modules/data/tcl_scripting/scripts/KaduChess.tcl -i -e 's/on chat0 KC_recv KC_recv/on chat0 KC_recv/g'
+
+ einfo "Installing Firewall module"
+ mv ${WORKDIR}/firewall{.tcl,.png} ${D}/usr/share/kadu/modules/data/tcl_scripting/scripts
+ fi
+ fi
+
+ if use extraicons; then
+ einfo "Installing extra icons"
+ mv ${WORKDIR}/kadu-theme-crystal-16 ${D}/usr/share/kadu/themes/icons/crystal-16
+ mv ${WORKDIR}/kadu-theme-crystal-22 ${D}/usr/share/kadu/themes/icons/crystal-22
+ mv ${WORKDIR}/kadu-theme-gg3d ${D}/usr/share/kadu/themes/icons/gg3d
+ mv ${WORKDIR}/kadu-theme-noia-16 ${D}/usr/share/kadu/themes/icons/noia-16
+ mv ${WORKDIR}/kadu-theme-nuvola-16 ${D}/usr/share/kadu/themes/icons/nuvola-16
+ mv ${WORKDIR}/kadu-theme-nuvola-22 ${D}/usr/share/kadu/themes/icons/nuvola-22
+ mv ${WORKDIR}/kadu-theme-piolnet ${D}/usr/share/kadu/themes/icons/piolnet
+ mv ${WORKDIR}/kadu-theme-real_gg ${D}/usr/share/kadu/themes/icons/real_gg
+ mv ${WORKDIR}/alt_cryst ${D}/usr/share/kadu/themes/icons/alt_cryst
+ fi
+}