mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-02-19 17:45:50 +01:00
initial import
This commit is contained in:
2
net-im/ekg2/Manifest
Normal file
2
net-im/ekg2/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
DIST ekg2-20090606.tar.bz2 1256994 RMD160 e6dba5c9e39a6694606d9da4060467e4bf43d905 SHA1 207878e6cbc18bbd14f78ed224f4b9cc5fcdf383 SHA256 9b58dbbbbd4eb8ff357fcb07349e593365c1dc88b45bcc0b959f9c77fbc1d3bc
|
||||
EBUILD ekg2-20090606.ebuild 2404 RMD160 8d725f3da88d950e8ee7aeb11d02a1d0a8ccc495 SHA1 d2d50347299712788eae25a9f7912a14c7153aa3 SHA256 6384cf509d2a6580cea01dc37c71afe6c4f52bf1200bd423ca91ba1b699d7770
|
||||
90
net-im/ekg2/ekg2-20090606.ebuild
Normal file
90
net-im/ekg2/ekg2-20090606.ebuild
Normal file
@@ -0,0 +1,90 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-im/ekg2/ekg2-20061202.ebuild,v 1.9 2009/03/07 19:39:17 gentoofan23 Exp $
|
||||
|
||||
EAPI="2"
|
||||
inherit eutils perl-module autotools
|
||||
|
||||
DESCRIPTION="Text based Instant Messenger and IRC client that supports protocols like Jabber and Gadu-Gadu"
|
||||
HOMEPAGE="http://ekg2.org"
|
||||
SRC_URI="http://pl.ekg2.org/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="x86"
|
||||
IUSE="gpm jabber ssl spell jpeg gsm python unicode sqlite sqlite3 gif nogg gtk perl xosd debug expat static"
|
||||
|
||||
DEPEND="jabber? ( >=dev-libs/expat-1.95.6 )
|
||||
expat? ( >=dev-libs/expat-1.95.6 )
|
||||
gpm? ( >=sys-libs/gpm-1.20.1 )
|
||||
ssl? ( >=dev-libs/openssl-0.9.6m
|
||||
jabber? ( >=net-libs/gnutls-1.0.17 ) )
|
||||
jpeg? ( >=media-libs/jpeg-6b-r2 )
|
||||
spell? ( >=app-text/aspell-0.50.5 )
|
||||
!nogg? ( >=net-libs/libgadu-1.7.0 )
|
||||
gsm? ( >=media-sound/gsm-1.0.10 )
|
||||
python? ( >=dev-lang/python-2.3.3 )
|
||||
perl? ( >=dev-lang/perl-5.2 )
|
||||
sqlite? ( !sqlite3? ( =dev-db/sqlite-2* ) )
|
||||
sqlite3? ( >=dev-db/sqlite-3 )
|
||||
gif? ( media-libs/giflib )
|
||||
gtk? ( >=x11-libs/gtk+-2.4 )
|
||||
xosd? ( x11-libs/xosd )
|
||||
sys-libs/ncurses[unicode?]
|
||||
virtual/libintl"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
# Ekg2 has no debug configure option
|
||||
# Instead it features a runtime option which defaults to on
|
||||
#! use debug && epatch "${FILESDIR}"/${P}-no-default-debug.patch
|
||||
|
||||
#epatch "${FILESDIR}"/${P}-intl.patch
|
||||
AT_M4DIR=m4 eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-pthread \
|
||||
$(use_with !nogg libgadu) \
|
||||
$(use_with expat) \
|
||||
$(use_with jabber expat) \
|
||||
$(use_with gpm gpm-mouse) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with jpeg libjpeg) \
|
||||
$(use_with spell aspell) \
|
||||
$(use_with gsm libgsm) \
|
||||
$(use_with gif libgif) \
|
||||
$(use_with xosd libxosd) \
|
||||
$(use_with python) \
|
||||
$(use_with perl) \
|
||||
$(use_with sqlite) \
|
||||
$(use_with sqlite3) \
|
||||
$(use_enable unicode) \
|
||||
$(use_enable static) \
|
||||
$(use jabber && use ssl && echo --with-gnutls)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Install plugins into proper directory
|
||||
if use amd64; then
|
||||
CONF_LIBDIR=$(getlib)/lib/ekg2/plugins
|
||||
fi
|
||||
|
||||
# einstall messes up perl
|
||||
emake DESTDIR="${D}" install || die "einstall failed"
|
||||
dodoc docs/*
|
||||
|
||||
use perl && fixlocalpod
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use gtk; then
|
||||
ewarn "Ekg2 GTK2 frontend is highly experimental."
|
||||
ewarn "Please do not file bugs about it."
|
||||
fi
|
||||
|
||||
use perl && updatepod
|
||||
}
|
||||
31
net-im/kadu/Manifest
Normal file
31
net-im/kadu/Manifest
Normal file
@@ -0,0 +1,31 @@
|
||||
AUX kadu-0.4.3-tcltk-gcc4.patch 576 RMD160 f37fcaba6dafbc84b7bf9efd03d6708f5305195b SHA1 bc31cd2421e923b1680db7a089b8a1f5ff4032c1 SHA256 8974c9948f39100c97269e57591e0090fa017c485e89abbf5a07ece8b7299d86
|
||||
AUX kadu-toolbar_toggle-gentoo.diff 5983 RMD160 ea7c587b4c3617c2ebb445dce46d6c275a71c0a9 SHA1 bca7202cdae4eea2d5a1d1df1cffad704cf49711 SHA256 2f39f3871c120c3ef1d720b67bb1c536762b5af1a63cf79282a679a65c63b12a
|
||||
AUX xosd-gentoo.patch 1148 RMD160 d09f0f8af0701b7c56404f2ed5a744c963aa5a46 SHA1 e7c12fc41559499c8b40aae51fa04c52b5b04c0e SHA256 0d8c8dcc33e913fdf44b33d91854313633dee89eaff192aab107d0559994d7e1
|
||||
DIST amarok-1.13.tar.gz 9201 RMD160 7061d5e8659cb19005becd4e7e99265e9bd340ea SHA1 b7d5fbf6110a4f9a3bc6c1958c16410af54e7420 SHA256 74eedf534c7021bba94c905cdecf6025c3215f7dbd178219c0e1d360779a69a2
|
||||
DIST contacts-1.0rc1.tar.bz2 47539 RMD160 61b01d486e0113c6ae8a7f611489c12d9ff7b358 SHA1 1fed9485284c7abd432a12991a4b44c53e89b206 SHA256 1715498daedc3024b4d612f14246c95bee4d0a5f9dcc6f48bc637809aff8eb50
|
||||
DIST ext_info-1.4.3.tar.bz2 19797 RMD160 46b606f42e341eaa2a24432d4b5b28ac1ca8a9ee SHA1 cfa06dbb37fa1ffffe9d7d40b91a00c0ef120927 SHA256 78946df2963585178639cfc6c60895495ecebfc6fa09cdbf0fd30aa4ef7ad27d
|
||||
DIST firewall-0.8.tar.bz2 8201 RMD160 5dc445c1aadf162dc40a9074d706fd437f707bac SHA1 53f066f070e96a3038aaee371b1649b1ff6442ea SHA256 a30182e298f9560bb264cb5d1aac0dec4f0dc2bea56fbcb88835b354aaff570f
|
||||
DIST kadu-0.4.3.tar.bz2 1181830 RMD160 e7de2e95e72ba9b6235695428daad97f9992b04a SHA1 6236137270dfb7f1b028309cf5e3142f5f15c924 SHA256 3790048e8883533a0bc89119261035759278c6392b4f934c3528b729699ac0ed
|
||||
DIST kadu-osdhints_notify-0.2.6.tar.gz 82130 RMD160 1f26da89765b25b613c1b0ada027ec2b7852ad75 SHA1 bfd22df74229fd4ecb3c164f4dc0b72d9a50712e SHA256 76583137a6e729f8916deb5a78342736eef50ed7521891212abdc29abb88ee8f
|
||||
DIST kadu-spy-0.0.8-1.tar.gz 18234 RMD160 08c0de0b132a5f9f16988f18e223f744df5327ee SHA1 a7acadfa218479f69abed9380a191a6606325d7e SHA256 5afd21398fc4ef027299e6a6e18219c7252a690d7f0b7db6f646675ae71b6730
|
||||
DIST kadu-theme-alt_cryst.tar.bz2 121877 RMD160 6d968a0ef651166cdb5e986e460adcf577e8cd03 SHA1 e6ebf4e063b480d8a4d9e4ba13d9ff15e41d0161 SHA256 0d2a5f27654e6829903c859c757fee27b708cc137e6b60f220c8a5c787ac276a
|
||||
DIST kadu-theme-crystal-16.tar.bz2 45993 RMD160 8d8344e7eec4f4c39255aab93b0ae14da6b0f4dd SHA1 9be6f978f177cc1a7d30add44fb5d77fd4b3aa9d SHA256 2b901a0559215c98e23a27ae548ed7270bf7194d93007befe33a973f702b7ed5
|
||||
DIST kadu-theme-crystal-22.tar.bz2 48895 RMD160 33e35704ba65922ccf592e1a3ca3c12c197d1a1e SHA1 846e70a69b516ae9349f5e0f4becf171e75fb62d SHA256 f297c5c96dc162e000410b7fece3f391b399e131b634afa5d5aa5d997bba0670
|
||||
DIST kadu-theme-gg3d.tar.bz2 78353 RMD160 9ea8ccb6f67e10652bc2c055cac0f9cb8cee41d3 SHA1 998dc761c096f372ac83819fa51756399bc4503a SHA256 5aca31feea238acb587e485136594b3156dea8479a3e2b490bdd1ffd385aaaf4
|
||||
DIST kadu-theme-noia-16.tar.bz2 109294 RMD160 8b086f6d6872000756ad9c67233d136add646e8b SHA1 47877a71865946b8493fd2358be28b71c5f8604e SHA256 29d56c5195e3ec8b7abf29558aa0155fb04a79bd69e44780cebfd80d8cb32eee
|
||||
DIST kadu-theme-nuvola-16.tar.gz 119276 RMD160 c2d1b14cdf3e9e3b6ae02e9a1c795fb0a5345c9a SHA1 64f8595684a5031fbf7f2e2013bcac99f0eab7ba SHA256 523dd03cc2caa528e7416d4c13d3fd60d4071a099e298559c10818bb8d816dc7
|
||||
DIST kadu-theme-nuvola-22.tar.gz 147311 RMD160 2ce8c8f7c9dabb9a68a307e3ff9ec40a42616952 SHA1 f7eb725a0e716cb54b63038d085ae0f9c450936e SHA256 d9f23d6d89fc7668669d9064e59c55cd2801feb45be0bbffe54437e965da7b42
|
||||
DIST kadu-theme-old_default.tar.bz2 85997 RMD160 f5d1a0163d0f371bc4fa369447c9b8e751b6fdab SHA1 24ceb7eb529937970006a754b55d9f6ad8d4c6e8 SHA256 9a1b77afe546cdeffdb0ef528535eee9c379e2e99946ac083868d38ec513d847
|
||||
DIST kadu-theme-piolnet.tar.bz2 79831 RMD160 918790970bb13c68a410ddbac7d8f882b7c1e6e8 SHA1 26926fc705d12851140c10c4cb314d9157364cbc SHA256 f25b60beb1732d2888a0faee765f9dca4bddd8351a01f92d68f31f18950232ce
|
||||
DIST kadu-theme-real_gg.tar.bz2 131697 RMD160 14e0744c70ae9fb813cdb5865a0ea5fb74b7aa00 SHA1 853c1793b0c7228849bd9237a37776997c7d5a1a SHA256 0e90222925edbb808505f4b59bdb0b85154ce842298c2efa1fbd89cd8fb22abd
|
||||
DIST kde_transparency.tar.bz2 1658 RMD160 77d10dcb2f3ccfc4051affa0cacbba82507a4cca SHA1 c30f799a87755df0224dd3fa41a3a7268c464f62 SHA256 137f3d625a5475534a8517c3f3669006a409d6110999db6ab4507c1b80c65a65
|
||||
DIST led_notify-0.2.tar.bz2 2838 RMD160 f294cea80410fa6ccf8905ee7c3157cbd55d0fe9 SHA1 01ae01e12831e432b1c1b8d4603049906bc87e17 SHA256 dfc06090dea46ef4b6587f2efba1dff0f779a48122cd403ad2755cc1ec4d5901
|
||||
DIST mail-0.2.0.tar.bz2 93363 RMD160 e8fb87e8d29003e09e59577c8e1741664ca8aa69 SHA1 3ae1205fd0e8da0f74a953efe7ef7e3377d83e09 SHA256 e628b2248ea501fc4772e47bacba36df4333dd0d1355c21c3f3e6a19b1671f39
|
||||
DIST screenshot-0.3.1.tar.gz 8539 RMD160 3f290e185cdfa17c3eb0eb58c2af5a247d8ad4ea SHA1 3f12173119d31bb0632e0f8beb584b3606c8e22b SHA256 310069376a016321972402ae34978bc1b8506b8e86b2b139639310dbe6539cdd
|
||||
DIST spellchecker-0.15.tar.gz 9303 RMD160 b4109c5151d978d5276503440dc0c421dfb649d3 SHA1 dba6d0afb506a1bec9fa304b1e2facb7273de9df SHA256 820127b09a0c4c8c9e8e7c1124d4cde1860b21461d1c7744276be0ccc11751d9
|
||||
DIST tabs-svn-rev38.tar.gz 12383 RMD160 d7ecfe49617e5d047521d4c5aac7a5fb07f913ce SHA1 68faaad54fa7a4308bf21747f5b7ae1ee7a7ccad SHA256 4514a23088351ae5fc0becca65c0977a9b980065d81e34459841d2e4eceda480
|
||||
DIST tcl_scripting-0.6.2-Josephine.tar.gz 626573 RMD160 6a4985ebf47695197daa659db5dc8103dc92ac3c SHA1 2057ad30f8042d431b722c79624d7f49fd7f1569 SHA256 e0680e737205abdd9b7186d2629cd6b65c90a06ec9945c9d5728e71737b829a5
|
||||
DIST weather-2.02.tar.bz2 46670 RMD160 0e7e1917e5e0296b4860a0cacf381b71a717d746 SHA1 0402e62e9fe5025414c6453214a0e285abaec767 SHA256 a9950c671ab19d582b6f639843d208bb0fabd2af4d5bec6c2f118a6b4248209d
|
||||
DIST xmms-1.25.tar.gz 14992 RMD160 0820e650df6ea2a906aef9709faaa238fc212450 SHA1 22905da983218a740a7f13152d6c4f47e4f09e39 SHA256 07a438d9daaa595a9cf4fd338c5d02f65a1d74b1aa45f18399922cba01ac0a99
|
||||
DIST xosd_notify-050607.tar.bz2 12511 RMD160 2629bd314f00567255472887a2a2f81d263a06d0 SHA1 f1f491a92d782e031fe0c72614b5072ced3679c6 SHA256 153d1b6bd2c4a41cddda743a6af70b2be2d064e7a15af3c9601df4f6fada2799
|
||||
EBUILD kadu-0.4.3-r10.ebuild 8758 RMD160 aa03cbb9ee24ed071bf65b75fe788fc6bf15aa08 SHA1 b0015b713c14d5abc7e572ff61e740e529744619 SHA256 90e56343093f38bcca22e4d891e4e3cb133601bb42066d0630af43f74593eec3
|
||||
14
net-im/kadu/files/kadu-0.4.3-tcltk-gcc4.patch
Normal file
14
net-im/kadu/files/kadu-0.4.3-tcltk-gcc4.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
diff -Naurp kadu-orig/modules/tcl_scripting/tcl_scripting.h kadu/modules/tcl_scripting/tcl_scripting.h
|
||||
--- kadu-orig/modules/tcl_scripting/tcl_scripting.h 2006-12-27 23:36:24.000000000 -0600
|
||||
+++ kadu/modules/tcl_scripting/tcl_scripting.h 2006-12-27 23:37:34.000000000 -0600
|
||||
@@ -65,8 +65,8 @@ class TclSession : public QObject
|
||||
bool allowErrors;
|
||||
|
||||
public:
|
||||
- TclSession::TclSession(bool main = FALSE);
|
||||
- TclSession::~TclSession();
|
||||
+ TclSession(bool main = FALSE);
|
||||
+ ~TclSession();
|
||||
void addMenu();
|
||||
void delMenu();
|
||||
void menuItemSetEnabled(int idx, bool enabled);
|
||||
162
net-im/kadu/files/kadu-toolbar_toggle-gentoo.diff
Normal file
162
net-im/kadu/files/kadu-toolbar_toggle-gentoo.diff
Normal file
@@ -0,0 +1,162 @@
|
||||
diff -aurp kadu.orig/kadu/kadu.cpp kadu/kadu/kadu.cpp
|
||||
--- kadu.orig/kadu/kadu.cpp 2005-03-20 15:48:41.000000000 +0100
|
||||
+++ kadu/kadu/kadu.cpp 2005-03-20 19:07:06.000000000 +0100
|
||||
@@ -100,8 +100,21 @@ void ToolBar::createControls()
|
||||
if ((*j).caption== "--separator--")
|
||||
addSeparator();
|
||||
else
|
||||
- (*j).button = new QToolButton(icons_manager.loadIcon((*j).iconname), (*j).caption,
|
||||
- QString::null, (*j).receiver, (*j).slot, this, (*j).name);
|
||||
+ {
|
||||
+ if ((*j).type == ToolButton::Push)
|
||||
+ {
|
||||
+ (*j).button = new QToolButton(icons_manager.loadIcon((*j).iconname), (*j).caption,
|
||||
+ QString::null, (*j).receiver, (*j).slot, this, (*j).name);
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ (*j).button = new QToolButton(icons_manager.loadIcon((*j).iconname), (*j).caption,
|
||||
+ QString::null, 0, 0, this, (*j).name);
|
||||
+ (*j).button->setToggleButton(true);
|
||||
+ (*j).button->setOn((*j).type == ToolButton::ToggleOn);
|
||||
+ connect((*j).button, SIGNAL(toggled(bool)), (*j).receiver, (*j).slot);
|
||||
+ }
|
||||
+ }
|
||||
|
||||
setStretchableWidget(new QWidget(this));
|
||||
kdebugf2();
|
||||
@@ -141,6 +154,34 @@ void ToolBar::registerButton(const QStri
|
||||
RToolButton.slot= slot;
|
||||
RToolButton.position= position;
|
||||
RToolButton.name= name;
|
||||
+ RToolButton.type= ToolButton::Push;
|
||||
+
|
||||
+ if ((RegisteredToolButtons.count()<(uint)(position+1)) || (position == -1))
|
||||
+ RegisteredToolButtons.append(RToolButton);
|
||||
+ else
|
||||
+ RegisteredToolButtons.insert(RegisteredToolButtons.at(position), RToolButton);
|
||||
+
|
||||
+ if(instance!=NULL)
|
||||
+ instance->createControls();
|
||||
+ kdebugf2();
|
||||
+}
|
||||
+
|
||||
+void ToolBar::registerToggleButton(const QString &iconname, const QString& caption, bool on,
|
||||
+ QObject* receiver, const char* slot, int position, const char* name)
|
||||
+{
|
||||
+ kdebugf();
|
||||
+ if(instance!=NULL)
|
||||
+ instance->clear();
|
||||
+
|
||||
+ ToolButton RToolButton;
|
||||
+
|
||||
+ RToolButton.iconname= iconname;
|
||||
+ RToolButton.caption= caption;
|
||||
+ RToolButton.receiver= receiver;
|
||||
+ RToolButton.slot= slot;
|
||||
+ RToolButton.position= position;
|
||||
+ RToolButton.name= name;
|
||||
+ RToolButton.type= on ? ToolButton::ToggleOn : ToolButton::ToggleOff;
|
||||
|
||||
if ((RegisteredToolButtons.count()<(uint)(position+1)) || (position == -1))
|
||||
RegisteredToolButtons.append(RToolButton);
|
||||
@@ -400,8 +441,10 @@ Kadu::Kadu(QWidget *parent, const char *
|
||||
setActiveGroup("");
|
||||
|
||||
// dodanie przyciskow do paska narzedzi
|
||||
- ToolBar::registerButton("ShowHideInactiveUsers", tr("Show / hide inactive users"), Userbox, SLOT(showHideInactive()), -1, "inactiveUsersButton");
|
||||
- ToolBar::registerButton("ShowOnlyDescriptionUsers", tr("Show / hide users without description"), Userbox, SLOT(showHideDescriptions()), -1, "withDescriptionUsersButton");
|
||||
+ ToolBar::registerToggleButton("ShowHideInactiveUsers", tr("Show / hide inactive users"),
|
||||
+ config_file.readBoolEntry("General","ShowHideInactive"), Userbox, SLOT(showHideInactive(bool)), -1, "inactiveUsersButton");
|
||||
+ ToolBar::registerToggleButton("ShowOnlyDescriptionUsers", tr("Show / hide users without description"),
|
||||
+ config_file.readBoolEntry("General","ShowOnlyDescriptionUsers"), Userbox, SLOT(showHideDescriptions(bool)), -1, "withDescriptionUsersButton");
|
||||
ToolBar::registerButton("Configuration", tr("Configuration"), this, SLOT(configure()), -1, "configurationButton");
|
||||
ToolBar::registerSeparator();
|
||||
ToolBar::registerButton("History", tr("View history"), this, SLOT(viewHistory()), -1, "historyButton");
|
||||
diff -aurp kadu.orig/kadu/kadu.h kadu/kadu/kadu.h
|
||||
--- kadu.orig/kadu/kadu.h 2005-03-20 15:48:41.000000000 +0100
|
||||
+++ kadu/kadu/kadu.h 2005-03-20 19:02:48.000000000 +0100
|
||||
@@ -35,6 +35,12 @@ class ToolBar : public QToolBar
|
||||
QString slot;
|
||||
QToolButton* button;
|
||||
int position;
|
||||
+ enum
|
||||
+ {
|
||||
+ Push,
|
||||
+ ToggleOff,
|
||||
+ ToggleOn
|
||||
+ } type;
|
||||
};
|
||||
static QValueList<ToolButton> RegisteredToolButtons;
|
||||
void createControls();
|
||||
@@ -44,6 +50,8 @@ class ToolBar : public QToolBar
|
||||
~ToolBar();
|
||||
static void registerButton(const QString &iconname, const QString& caption,
|
||||
QObject* receiver, const char* slot, const int position=-1, const char* name="");
|
||||
+ static void registerToggleButton(const QString &iconname, const QString& caption, bool on,
|
||||
+ QObject* receiver, const char* slot, const int position=-1, const char* name="");
|
||||
static void unregisterButton(const char* name);
|
||||
static void registerSeparator(int position=-1);
|
||||
static QToolButton* getButton(const char* name);
|
||||
diff -aurp kadu.orig/kadu/userbox.cpp kadu/kadu/userbox.cpp
|
||||
--- kadu.orig/kadu/userbox.cpp 2005-03-20 15:48:42.000000000 +0100
|
||||
+++ kadu/kadu/userbox.cpp 2005-03-20 18:08:42.000000000 +0100
|
||||
@@ -678,6 +678,14 @@ void UserBox::showHideInactive()
|
||||
kdebugf2();
|
||||
}
|
||||
|
||||
+void UserBox::showHideInactive(bool state)
|
||||
+{
|
||||
+ kdebugf();
|
||||
+ config_file.writeEntry("General","ShowHideInactive",state);
|
||||
+ all_refresh();
|
||||
+ kdebugf2();
|
||||
+}
|
||||
+
|
||||
void UserBox::showHideDescriptions()
|
||||
{
|
||||
kdebugf();
|
||||
@@ -685,6 +693,13 @@ void UserBox::showHideDescriptions()
|
||||
all_refresh();
|
||||
}
|
||||
|
||||
+void UserBox::showHideDescriptions(bool state)
|
||||
+{
|
||||
+ kdebugf();
|
||||
+ config_file.writeEntry("General","ShowOnlyDescriptionUsers",state);
|
||||
+ all_refresh();
|
||||
+}
|
||||
+
|
||||
UinsList UserBox::getSelectedUins() const
|
||||
{
|
||||
kdebugf();
|
||||
diff -aurp kadu.orig/kadu/userbox.h kadu/kadu/userbox.h
|
||||
--- kadu.orig/kadu/userbox.h 2005-03-20 15:48:42.000000000 +0100
|
||||
+++ kadu/kadu/userbox.h 2005-03-20 17:58:14.000000000 +0100
|
||||
@@ -418,12 +418,26 @@ class UserBox : public QListBox , QToolT
|
||||
void showHideInactive();
|
||||
|
||||
/**
|
||||
+ \fn void showHideInactive()
|
||||
+ Prze³±cza tryb pokazywania kontaktów niedostêpnych.
|
||||
+ \param state Je¶li true - kontakty nieaktywne sa widoczne
|
||||
+ **/
|
||||
+ void showHideInactive(bool state);
|
||||
+
|
||||
+ /**
|
||||
\fn void showHideDescriptions()
|
||||
Prze³±cza tryb pokazywania opisów kontaktów.
|
||||
**/
|
||||
void showHideDescriptions();
|
||||
|
||||
/**
|
||||
+ \fn void showHideDescriptions()
|
||||
+ Prze³±cza tryb pokazywania opisów kontaktów.
|
||||
+ \param state Je¶li true - kontakty bez opisow sa ukryte
|
||||
+ **/
|
||||
+ void showHideDescriptions(bool state);
|
||||
+
|
||||
+ /**
|
||||
\fn virtual void clear()
|
||||
Czy¶li listê.
|
||||
**/
|
||||
38
net-im/kadu/files/xosd-gentoo.patch
Normal file
38
net-im/kadu/files/xosd-gentoo.patch
Normal file
@@ -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);
|
||||
259
net-im/kadu/kadu-0.4.3-r10.ebuild
Normal file
259
net-im/kadu/kadu-0.4.3-r10.ebuild
Normal file
@@ -0,0 +1,259 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/kadu-0.4.3.ebuild,v 1.10 2007/07/12 05:34:48 mr_bones_ Exp $
|
||||
|
||||
inherit flag-o-matic eutils
|
||||
|
||||
TCL="0.6.2-Josephine" #http://scripts.one.pl/tcl4kadu
|
||||
TABS="rev38" #http://gov.one.pl/svnsnap
|
||||
AMAROK="1.13" #http://scripts.one.pl/amarok
|
||||
WEATHER="2.02" #http://www.kadu.net/~blysk/
|
||||
#EXT_INFO="2.0beta5" #http://kadu-ext-info.berlios.de
|
||||
EXT_INFO="1.4.3"
|
||||
XMMS="1.25" #http://scripts.one.pl/xmms
|
||||
XOSD_NOTIFY="050607" #http://www.kadu.net/~joi/xosd_notify
|
||||
MAIL="0.2.0" #http://michal.gov.one.pl/mail
|
||||
SPELLCHECKER="0.15" #http://scripts.one.pl/spellchecker
|
||||
SPY="0.0.8-1" #http://scripts.one.pl/~przemos/projekty/kaduspy/
|
||||
FIREWALL="0.8" #http://users.skorpion.wroc.pl/arturmat/firewall/
|
||||
LED_NOTIFY="0.2" #http://republika.pl/buysk/led_notify
|
||||
SCREEN_SHOT="0.3.1" #http://scripts.one.pl/screenshot
|
||||
CONTACTS="1.0rc1" #http://obeny.kicks-ass.net/obeny/kadu/modules/contacts
|
||||
OSD_NOTIFY="0.2.6" #http://www.kadu.net/~pan_wojtas/osdhints_notify/
|
||||
THEMES="kadu-theme-crystal-16
|
||||
kadu-theme-crystal-22
|
||||
kadu-theme-gg3d
|
||||
kadu-theme-noia-16
|
||||
kadu-theme-nuvola-16
|
||||
kadu-theme-nuvola-22
|
||||
kadu-theme-old_default
|
||||
kadu-theme-piolnet
|
||||
kadu-theme-real_gg
|
||||
alt_cryst" #http://www.kadu.net/download/additions
|
||||
|
||||
DESCRIPTION="QT client for popular in Poland Gadu-Gadu IM network"
|
||||
HOMEPAGE="http://kadu.net/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
|
||||
IUSE="debug alsa arts esd voice speech nas oss spell ssl tk
|
||||
xmms xosd amarok extraicons extramodules mail config_wizard"
|
||||
|
||||
DEPEND="=x11-libs/qt-3*
|
||||
alsa? ( media-libs/alsa-lib
|
||||
media-libs/libsndfile )
|
||||
arts? ( kde-base/arts
|
||||
media-libs/libsndfile )
|
||||
esd? ( media-sound/esound
|
||||
media-libs/libsndfile )
|
||||
nas? ( media-libs/nas
|
||||
media-libs/libsndfile )
|
||||
oss? ( media-libs/libsndfile )
|
||||
config_wizard? ( media-libs/libsndfile )
|
||||
voice? ( media-libs/libsndfile )
|
||||
amarok? ( media-sound/amarok )
|
||||
spell? ( app-dicts/aspell-pl )
|
||||
ssl? ( dev-libs/openssl )
|
||||
speech? ( app-accessibility/powiedz )
|
||||
tk? ( >=dev-lang/tk-8.4.0 )
|
||||
xmms? ( media-sound/xmms )
|
||||
xosd? ( x11-libs/xosd )"
|
||||
|
||||
SRC_URI="http://kadu.net/download/stable/${P}.tar.bz2
|
||||
amarok? ( http://scripts.one.pl/amarok/stable/0.4.0/amarok-${AMAROK}.tar.gz )
|
||||
tk? ( http://scripts.one.pl/tcl4kadu/files/stable/${PV}/tcl_scripting-${TCL}.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://gov.one.pl/svnsnap/tabs-svn-${TABS}.tar.gz
|
||||
http://www.kadu.net/~blysk/weather-${WEATHER}.tar.bz2
|
||||
http://www.kadu.net/~dzwiedziu/pub/ext_info-${EXT_INFO}.tar.bz2
|
||||
http://scripts.one.pl/~przemos/download/kadu-spy-${SPY}.tar.gz
|
||||
http://users.skorpion.wroc.pl/arturmat/firewall/files/firewall-${FIREWALL}.tar.bz2
|
||||
http://pcb45.tech.us.edu.pl/~blysk/led_notify/led_notify-${LED_NOTIFY}.tar.bz2
|
||||
http://scripts.one.pl/screenshot/stable/0.4.0/screenshot-${SCREEN_SHOT}.tar.gz
|
||||
http://obeny.kicks-ass.net/obeny/kadu/modules/contacts/contacts-${CONTACTS}.tar.bz2
|
||||
http://www.kadu.net/~joi/kde_transparency.tar.bz2
|
||||
http://www.kadu.net/~pan_wojtas/osdhints_notify/download/kadu-osdhints_notify-${OSD_NOTIFY}.tar.gz )
|
||||
xmms? ( http://scripts.one.pl/xmms/devel/0.4.0/xmms-${XMMS}.tar.gz )
|
||||
xosd? ( http://www.kadu.net/~joi/xosd_notify/packages/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/${PV}/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
|
||||
}
|
||||
|
||||
spec_config() {
|
||||
sed -i -r "s/(^${2}\\s*=\\s*).*//" modules/${1}/spec
|
||||
echo "${2}=${3}" >> modules/${1}/spec
|
||||
}
|
||||
|
||||
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 default icon theme
|
||||
sed .config -i -e 's/icons_default=n/icons_default=y/'
|
||||
|
||||
enable_module amarok amarok
|
||||
enable_module spell spellchecker
|
||||
enable_module xmms xmms
|
||||
enable_module xosd xosd_notify
|
||||
enable_module mail mail
|
||||
enable_module tk "tcl_scripting"
|
||||
|
||||
enable_module extramodules weather
|
||||
enable_module extramodules ext_info
|
||||
enable_module extramodules spy
|
||||
enable_module extramodules led_notify
|
||||
enable_module extramodules tabs
|
||||
enable_module extramodules screenshot
|
||||
enable_module extramodules osdhints_notify
|
||||
|
||||
# put some patches
|
||||
epatch "${FILESDIR}"/kadu-toolbar_toggle-gentoo.diff
|
||||
use tk && epatch "${FILESDIR}"/${P}-tcltk-gcc4.patch
|
||||
# use tcltk && epatch ${FILESDIR}/${P}-tcltk.patch
|
||||
use xosd && epatch "${FILESDIR}"/xosd-gentoo.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# 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 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 desktop_docking m
|
||||
use config_wizard && \
|
||||
( module_config sound m; module_config config_wizard m )
|
||||
|
||||
if use extramodules; then
|
||||
if use !tk; then
|
||||
ewarn "script_chess depends on module_tcl_scripting;"
|
||||
ewarn "It won't be installed."
|
||||
fi
|
||||
fi
|
||||
|
||||
# Firewall
|
||||
if use extramodules; then
|
||||
if use !tk; 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 sound m; module_config alsa_sound m )
|
||||
use arts && ( module_config sound m; module_config arts_sound m )
|
||||
use esd && ( module_config sound m; module_config esd_sound m )
|
||||
use nas && ( module_config sound m; module_config nas_sound m )
|
||||
use voice && ( module_config sound m; module_config voice m )
|
||||
use oss && ( module_config sound m; module_config dsp_sound m )
|
||||
module_config x11_docking m
|
||||
module_config wmaker_docking m
|
||||
|
||||
# Some fixes
|
||||
einfo "Fixing modules spec files"
|
||||
if use arts; then
|
||||
spec_config arts_sound MODULE_INCLUDES_PATH "\"$(kde-config --prefix)/include $(kde-config --prefix)/include/artsc\""
|
||||
spec_config arts_sound MODULE_LIBS_PATH $(kde-config --prefix)/lib
|
||||
fi
|
||||
if use amarok; then
|
||||
spec_config amarok MODULE_INCLUDES_PATH $(kde-config --prefix)/include
|
||||
spec_config amarok MODULE_LIBS_PATH $(kde-config --prefix)/lib
|
||||
fi
|
||||
|
||||
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"
|
||||
|
||||
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 tk; then
|
||||
einfo "Installing Chess script"
|
||||
insinto /usr/share/kadu/modules/data/tcl_scripting/scripts
|
||||
doins ${WORKDIR}/KaduChess/{data,pics,KaduChess.tcl}
|
||||
# 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"
|
||||
doins ${WORKDIR}/firewall{.tcl,.png}
|
||||
fi
|
||||
fi
|
||||
|
||||
if use extraicons; then
|
||||
einfo "Installing extra icons"
|
||||
for theme in ${THEMES}; do
|
||||
insinto /usr/share/kadu/themes/icons/${theme}
|
||||
doins ${WORKDIR}/${theme}/{icons.conf,*.png}
|
||||
done
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user