summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2011-10-18 20:42:39 +0000
committerMaciej Mrozowski <reavertm@gentoo.org>2011-10-18 20:42:39 +0000
commitc145f0732145a100854a15d0ac5c5508234e4ef1 (patch)
tree59ad25bc44f6dab04efe94c08acb0c7f5f51cee4 /net-im
parentRemove .la file when USE=-static-libs by Hans (bug #386929). (diff)
downloadgentoo-2-c145f0732145a100854a15d0ac5c5508234e4ef1.tar.gz
gentoo-2-c145f0732145a100854a15d0ac5c5508234e4ef1.tar.bz2
gentoo-2-c145f0732145a100854a15d0ac5c5508234e4ef1.zip
qca-ossl is mandatory, bug 386469. Remove old
(Portage version: 2.2.0_alpha69/cvs/Linux x86_64)
Diffstat (limited to 'net-im')
-rw-r--r--net-im/kadu/ChangeLog6
-rw-r--r--net-im/kadu/files/kadu-0.6.5.4-glibc211.patch12
-rw-r--r--net-im/kadu/kadu-0.10.0-r1.ebuild20
-rw-r--r--net-im/kadu/kadu-0.6.5.4.ebuild193
4 files changed, 13 insertions, 218 deletions
diff --git a/net-im/kadu/ChangeLog b/net-im/kadu/ChangeLog
index aced5629e0d9..dcf59930d9de 100644
--- a/net-im/kadu/ChangeLog
+++ b/net-im/kadu/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-im/kadu
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/ChangeLog,v 1.112 2011/10/18 17:15:10 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/ChangeLog,v 1.113 2011/10/18 20:42:39 reavertm Exp $
+
+ 18 Oct 2011; Maciej Mrozowski <reavertm@gentoo.org> -kadu-0.6.5.4.ebuild,
+ -files/kadu-0.6.5.4-glibc211.patch, kadu-0.10.0-r1.ebuild:
+ qca-ossl is mandatory, bug 386469. Remove old
18 Oct 2011; Kacper Kowalik <xarthisius@gentoo.org> kadu-0.9.2.ebuild:
ppc stable wrt #372455
diff --git a/net-im/kadu/files/kadu-0.6.5.4-glibc211.patch b/net-im/kadu/files/kadu-0.6.5.4-glibc211.patch
deleted file mode 100644
index ad65bc5202f3..000000000000
--- a/net-im/kadu/files/kadu-0.6.5.4-glibc211.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ru ../kadu/kadu-core/main.cpp ./kadu-core/main.cpp
---- ../kadu/kadu-core/main.cpp 2010-01-17 22:37:09.000000000 +0100
-+++ ./kadu-core/main.cpp 2010-09-12 20:45:41.600774558 +0200
-@@ -20,7 +20,7 @@
- #include <winsock2.h>
- #include <windows.h>
- #endif
--#ifdef Q_OS_BSD4
-+#if defined(Q_OS_BSD4) || defined(Q_OS_LINUX)
- #include <sys/types.h>
- #include <sys/stat.h>
- #endif
diff --git a/net-im/kadu/kadu-0.10.0-r1.ebuild b/net-im/kadu/kadu-0.10.0-r1.ebuild
index abeb0bc2755f..df4beb6d995f 100644
--- a/net-im/kadu/kadu-0.10.0-r1.ebuild
+++ b/net-im/kadu/kadu-0.10.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/kadu-0.10.0-r1.ebuild,v 1.2 2011/10/02 18:43:55 reavertm Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/kadu-0.10.0-r1.ebuild,v 1.3 2011/10/18 20:42:39 reavertm Exp $
EAPI="4"
@@ -15,7 +15,7 @@ SRC_URI="http://download.kadu.im/stable/${MY_P}.tar.bz2"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~x86"
SLOT="0"
-IUSE="+gadu phonon sdk speech spell +ssl xmpp"
+IUSE="+gadu phonon sdk speech spell xmpp"
REQUIRED_USE="
|| (
gadu
@@ -52,8 +52,8 @@ DEPEND="${COMMON_DEPEND}
x11-proto/scrnsaverproto
"
RDEPEND="${COMMON_DEPEND}
+ app-crypt/qca-ossl:2
speech? ( app-accessibility/powiedz )
- ssl? ( app-crypt/qca-ossl:2 )
"
PATCHES=(
@@ -62,11 +62,11 @@ PATCHES=(
)
PLUGINS='amarok1_mediaplayer antistring auto_hide autoaway autoresponder
-autostatus cenzor chat_notify config_wizard desktop_docking docking exec_notify
-ext_sound falf_mediaplayer filedesc firewall freedesktop_notify hints history
-idle imagelink last_seen mediaplayer mprisplayer_mediaplayer pcspeaker qt4_docking
-qt4_docking_notify screenshot simpleview single_window sms sound sql_history tabs
-word_fix'
+autostatus cenzor chat_notify config_wizard desktop_docking docking
+encryption_ng encryption_ng_simlite exec_notify ext_sound falf_mediaplayer
+filedesc firewall freedesktop_notify hints history idle imagelink last_seen
+mediaplayer mprisplayer_mediaplayer pcspeaker qt4_docking qt4_docking_notify
+screenshot simpleview single_window sms sound sql_history tabs word_fix'
src_configure() {
# Filter out dangerous flags
@@ -86,10 +86,6 @@ src_configure() {
use speech && PLUGINS+=' speech'
use spell && PLUGINS+=' spellchecker'
- if use ssl; then
- PLUGINS+=' encryption_ng encryption_ng_simlite'
- fi
-
# COMPILE_PLUGINS isn't the most flexible..
local compile_plugins=
for plugin in ${PLUGINS}; do
diff --git a/net-im/kadu/kadu-0.6.5.4.ebuild b/net-im/kadu/kadu-0.6.5.4.ebuild
deleted file mode 100644
index 99f04d8afd16..000000000000
--- a/net-im/kadu/kadu-0.6.5.4.ebuild
+++ /dev/null
@@ -1,193 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/kadu-0.6.5.4.ebuild,v 1.6 2011/03/26 16:13:44 dilfridge Exp $
-
-EAPI="2"
-
-inherit base cmake-utils flag-o-matic
-
-MY_P="${P/_/-}"
-
-DESCRIPTION="QT client for popular in Poland Gadu-Gadu instant messaging network"
-HOMEPAGE="http://www.kadu.net"
-SRC_URI="http://www.kadu.net/download/stable/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2"
-KEYWORDS="amd64 ppc x86"
-SLOT="0"
-IUSE="alsa ao dbus kde oss phonon speech spell +ssl"
-
-COMMON_DEPEND="
- >=app-crypt/qca-2.0.0-r2
- >=media-libs/libsndfile-1.0
- >=net-libs/libgadu-1.9_rc2[threads]
- x11-libs/libXScrnSaver
- >=x11-libs/qt-gui-4.4:4[qt3support]
- >=x11-libs/qt-webkit-4.4:4
- alsa? ( media-libs/alsa-lib )
- ao? ( media-libs/libao )
- dbus? ( >=x11-libs/qt-dbus-4.4:4 )
- kde? ( >=kde-base/kdelibs-4.3.3 )
- phonon? (
- !kde? (
- || (
- >=x11-libs/qt-phonon-4.4:4
- media-libs/phonon
- )
- )
- kde? ( media-libs/phonon )
- )
- spell? ( app-text/enchant )
-"
-DEPEND="${COMMON_DEPEND}
- x11-proto/scrnsaverproto
-"
-RDEPEND="${COMMON_DEPEND}
- speech? ( app-accessibility/powiedz )
- ssl? ( app-crypt/qca-ossl:2 )
-"
-
-S="${WORKDIR}/${PN}"
-
-PATCHES=(
- "${FILESDIR}/libgsm-ugly-code.patch"
- "${FILESDIR}/${P}-glibc211.patch"
-)
-
-# set given .config variable to =m or =y
-# args: <variable> <m/y>
-config_enable() {
- sed -i -e "s/^\(${1}=\)./\1${2}/" .config || die "config_enable failed"
-}
-
-src_prepare() {
- # Autopatcher
- base_src_prepare
-
- # Create .config file with all variables defaulted to =n
- sed -i -n -e "s/=\(m\|y\)/=n/" -e "/^[a-z]/p" .config \
- || die ".config creation failed"
-
- # Common modules
- config_enable module_account_management m
- config_enable module_advanced_userlist m
- config_enable module_agent m
- config_enable module_antistring m
- config_enable module_auto_hide m
- config_enable module_autoaway m
- config_enable module_autoresponder m
- config_enable module_autostatus m
- config_enable module_cenzor m
- config_enable module_config_wizard m
- config_enable module_dcc m
- config_enable module_default_sms m
- config_enable module_desktop_docking m
- config_enable module_docking m
- config_enable module_echo m
- config_enable module_exec_notify m
- config_enable module_ext_sound m
- config_enable module_filedesc m
- config_enable module_filtering m
- config_enable module_firewall m
- config_enable module_gg_avatars m
- config_enable module_hints m
- config_enable module_history m
- config_enable module_idle m
- config_enable module_last_seen m
- config_enable module_notify m
- config_enable module_parser_extender m
- config_enable module_pcspeaker m
- config_enable module_powerkadu m
- config_enable module_profiles m
- config_enable module_qt4_docking m
- config_enable module_qt4_docking_notify m
- config_enable module_screenshot m
- config_enable module_single_window m
- config_enable module_sms m
- config_enable module_sound m
- config_enable module_split_messages m
- config_enable module_voice m
- config_enable module_weather m
- config_enable module_window_notify m
- config_enable module_word_fix m
-
- # Autodownloaded modules
- config_enable module_nextinfo m
- config_enable module_tabs m
- config_enable module_plus_pl_sms m
-
- if use dbus; then
- # Media players - no build time deps so build them all
- # bmpx_mediaplayer
- config_enable module_mediaplayer m
- # amarok1_mediaplayer m
- config_enable module_amarok2_mediaplayer m
- config_enable module_audacious_mediaplayer m
- config_enable module_dragon_mediaplayer m
- config_enable module_mpris_mediaplayer m
- # falf_mediaplayer
- # itunes_mediaplayer
- config_enable module_vlc_mediaplayer m
- # xmms2_mediaplayer
- # xmms_mediaplayer
-
- # dbus interface for Kadu
- config_enable module_dbus m
-
- # Autodownloaded module
- use kde && config_enable module_kde_notify m
- fi
-
- # Audio outputs
- use alsa && config_enable module_alsa_sound m
- use ao && config_enable module_ao_sound m
- use oss && config_enable module_dsp_sound m
- use phonon && config_enable module_phonon_sound m
-
- # Misc stuff
- use speech && config_enable module_speech m
- use spell && config_enable module_spellchecker m
- use ssl && config_enable module_encryption m
-
- # Icons
- config_enable icons_default y
- # Uncomment when available
- # config_enable icons_glass16 y
- # config_enable icons_glass22 y
- # config_enable icons_kadu05 y
- # config_enable icons_oxygen16 y
- # config_enable icons_tango16 y
-
- # Emoticons
- config_enable emoticons_penguins y
- # Uncomment when available
- # config_enable emoticons_gg6_compatible y
- # config_enable emoticons_tango y
-
- # Sound themes
- config_enable sound_default y
- # Uncomment when available
- # config_enable sound_bns y
- # config_enable sound_drums y
- # config_enable sound_florkus y
- # config_enable sound_michalsrodek y
- # config_enable sound_percussion y
- # config_enable sound_ultr y
-}
-
-src_configure() {
- # Filter out dangerous flags
- filter-flags -fno-rtti
- strip-unsupported-flags
-
- # Ensure -DQT_NO_DEBUG is added
- append-cppflags -DQT_NO_DEBUG
-
- # Configure package
- mycmakeargs="${mycmakeargs}
- -DBUILD_DESCRIPTION='Gentoo Linux'
- -DENABLE_AUTODOWNLOAD=ON
- "
-
- cmake-utils_src_configure
-}