From 7fbcacc3b3c835012daa58769d59a706897dcf3c Mon Sep 17 00:00:00 2001 From: Maciej Mrozowski Date: Thu, 29 Sep 2011 20:37:27 +0000 Subject: [PATCH] Version bump, bug 382259 Package-Manager: portage-2.2.0_alpha59/cvs/Linux x86_64 --- net-im/kadu/ChangeLog | 8 +- net-im/kadu/Manifest | 11 +- net-im/kadu/files/kadu-0.10.0-cmake.patch | 315 ++++++++++++++++++++++ net-im/kadu/kadu-0.10.0.ebuild | 111 ++++++++ 4 files changed, 440 insertions(+), 5 deletions(-) create mode 100644 net-im/kadu/files/kadu-0.10.0-cmake.patch create mode 100644 net-im/kadu/kadu-0.10.0.ebuild diff --git a/net-im/kadu/ChangeLog b/net-im/kadu/ChangeLog index 55b96dd9a8d9..e55c279f2207 100644 --- a/net-im/kadu/ChangeLog +++ b/net-im/kadu/ChangeLog @@ -1,6 +1,12 @@ # 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.108 2011/07/17 17:39:15 reavertm Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/ChangeLog,v 1.109 2011/09/29 20:37:27 reavertm Exp $ + +*kadu-0.10.0 (29 Sep 2011) + + 29 Sep 2011; Maciej Mrozowski +kadu-0.10.0.ebuild, + +files/kadu-0.10.0-cmake.patch: + Version bump, bug 382259 17 Jul 2011; Maciej Mrozowski -kadu-0.9.1-r1.ebuild, kadu-0.9.2.ebuild: diff --git a/net-im/kadu/Manifest b/net-im/kadu/Manifest index 98a4c79ad2e4..88762ec9d3f5 100644 --- a/net-im/kadu/Manifest +++ b/net-im/kadu/Manifest @@ -1,18 +1,21 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX kadu-0.10.0-cmake.patch 6629 RMD160 6c539996d78c14ee5fcea9594dd0581c2030395a SHA1 cd462e486690463a1fbb892fc3536d8ccbe944f8 SHA256 6756eb78fb220e5796a35602ef8c30df70d5b2a816c2ee792591be6c75e45df2 AUX kadu-0.6.5.4-glibc211.patch 376 RMD160 e7d71e8592553cdc83994692c4592c4ed04e7820 SHA1 b56f37160e5eb2a0a67af787b7a8d059f67c01aa SHA256 8b971a5706593c59e20e777321509682850fae45cd885b4e46eb61da17db7b0f AUX libgsm-ugly-code.patch 314 RMD160 5c613b7b4eb261d1116fcbd76a6c46b0cc0c3bb3 SHA1 b008af1a900b135b28530fc49a2be11b318f269b SHA256 17c671fe35813ae9b8c72ca7c3563a22a0894e15ddc02aba0a6f56b00e20bad2 +DIST kadu-0.10.0.tar.bz2 5713074 RMD160 fa521ae2eef3bb969a0edce021dcdf84ecfea2c0 SHA1 1150f86bee44383094ac2ca39c6e714f6082193d SHA256 25a510dd3a89ec07b463d934afe3cab46f7762cd3acc7c0dda15ff6d3cea2d0d DIST kadu-0.6.5.4.tar.bz2 1774602 RMD160 5656b87e02952e6d47159996c86919d5d16973e4 SHA1 afd5b7d6c1568a3db03328d58d5ba6506dfa410f SHA256 9decd7b9de6d91095b4f6b47bebbbbc5ca56b9ba6e8f6ee80d8ad172ba676d25 DIST kadu-0.9.2.tar.bz2 6436856 RMD160 2d1bf5ba24032c5bbdc3e664c80e96f7d4782b23 SHA1 012a36a1c8d0fcc157475d7b3ffe37094aeb2c4c SHA256 0b8cbd7cc2b313faf7792baed699a94478f5288f3a0b03c9dea83725eae99716 +EBUILD kadu-0.10.0.ebuild 2759 RMD160 556036f23a39da783fb8afe26967519e815b9b9f SHA1 25209f6c7de53426bcdcfdbc4db9aefc4c895a97 SHA256 ec590d08018878b7afcdff2cc378095fbd51179a001e528e3ba8ca37873661dd EBUILD kadu-0.6.5.4.ebuild 5156 RMD160 be80321ce958631fddafce129875361d97089872 SHA1 e43377d6a2ca8269ea25b1ff45425de6c26088b3 SHA256 48fa8fbaa0990bebe3e7e02619a0f14d1d3bef5fed1a05ad5da9e2275e9b25a6 EBUILD kadu-0.9.2.ebuild 5535 RMD160 9f931edf21dee9a84a5c9bdaaf7cc0a45e53a826 SHA1 442279b4b826e37519b8775b5af00f9b5a8aade3 SHA256 db5e915286b21107e23dad68a8c43e03d3b1627ef2e079b188f84992f7a6c676 -MISC ChangeLog 16022 RMD160 fd3935d463ee0980e147db850386153777753d67 SHA1 4c17dceb5ac7534c07f3e940b380a396fbff3a84 SHA256 362bc9ee27c63de52d03186cca28c85632a1fbfe095a361e20631e55216cd30d +MISC ChangeLog 16187 RMD160 675484af32888c3e2fbb2a02e50a54988f0462d9 SHA1 a6a58b795b0a2024433434d3655b5816883800a9 SHA256 de9890f9cd6efbb3533532203dc35e9aaaa0ed114ee4ac1b54d9586aeae9492f MISC metadata.xml 662 RMD160 ba957000702ae65a1db860904344047ef52f6800 SHA1 874612b87290c369bfcb7ad7922d2496881882b9 SHA256 398900459ab65852271cd7f6d486b90b9e54c6f758c273ef7ce86c8f67374a79 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk4jHjIACgkQFuHa/bHpVdtaUgCffrDC3Ksq9LO4H9mlGdvbc0vC -H14AnRIZQ95CjzLqRdWkhY5ePlBx5Qja -=z7qF +iEYEARECAAYFAk6E1wsACgkQFuHa/bHpVdtlPgCfaNPWf2QKPBHH1EGpf6QTSjIa +KPAAnRrUrmZFnfmf3igzlosP9D07eLY3 +=BPrE -----END PGP SIGNATURE----- diff --git a/net-im/kadu/files/kadu-0.10.0-cmake.patch b/net-im/kadu/files/kadu-0.10.0-cmake.patch new file mode 100644 index 000000000000..b4dde6b65304 --- /dev/null +++ b/net-im/kadu/files/kadu-0.10.0-cmake.patch @@ -0,0 +1,315 @@ +diff --git a/Plugins.cmake b/Plugins.cmake +index c6906ce..124bff4 100644 +--- a/Plugins.cmake ++++ b/Plugins.cmake +@@ -1,155 +1,164 @@ +-set (COMPILE_PLUGINS +- +-# protocols +- # GaduGadu protocol suppot +- gadu_protocol +- # Jabber/XMPP protocol support +- jabber_protocol +- +-# notifiers +- # Enables notifications about buddies presence and other in chat windows +- chat_notify +- # Notification by external commands module +- exec_notify +- # Hints near tray icon +- hints +- # Notifications by qt4_docking plugin +- qt4_docking_notify +- # Speech synthesis support +- speech +- # PC Speaker notification support +- pcspeaker +- +-# history +- # General history plugin +- history +- # Chat history storing, browsing and searching support using sqlite +- sql_history +- # Migration from x <= 0.6.5 format +- history_migration +- +-# encryption +- # Encrypted chat support +- encryption_ng +- # OpenSSL encrypted chat support +- encryption_ng_simlite +- +-# docking +- # Tray icon support (common part of all docking modules) +- docking +- # Always on top window docking plugin +- desktop_docking +- # Qt tray docking techniques module (works everywhere) +- qt4_docking +- +-# sound +- # General sound plugin +- sound +- # Phonon sound support +- phonon_sound +- # External sound player support +- ext_sound +- # QtSound sound support +- qt4_sound +- +-# mediaplayer +- # Media players support plugin +- mediaplayer +- +-# misc +- # Antistring +- antistring +- # Auto away module +- autoaway +- # Auto hide Kadu window +- auto_hide +- # Autoresponder plugin +- autoresponder +- # Autostatus +- autostatus +- # Cenzor +- cenzor +- # Configuration wizard +- config_wizard +- # Loads presence status messages from file +- filedesc +- # Protection against unwanted chats +- firewall +- # Idle time counter +- idle +- # Shows image links and youtube links as images and videos in chat +- imagelink +- # Last status infos +- last_seen +- # Imports profiles from old Kadu +- profiles_import +- # Simple view +- simpleview +- # Single window mode +- single_window +- # Sms gateway support +- sms +- # Spellchecking in chat window +- spellchecker +- # Tabbed chat dialog +- tabs +- # Automatic mispelled word replacement +- word_fix +-) +- +-# Platform-speficic plugins +- +-if (UNIX) +- list (APPEND COMPILE_PLUGINS ++if (NOT COMPILE_PLUGINS) ++ set (COMPILE_PLUGINS + +- # mediaplayer +- # MPD mediaplayer support +-# mpd_mediaplayer +- # MPRIS Media Players support +- mprisplayer_mediaplayer +- ) +-endif (UNIX) +- +-if (UNIX AND NOT APPLE) +- list (APPEND COMPILE_PLUGINS ++ # protocols ++ # GaduGadu protocol suppot ++ gadu_protocol ++ # Jabber/XMPP protocol support ++ jabber_protocol + + # notifiers +- # Freedesktop notification support +- freedesktop_notify ++ # Enables notifications about buddies presence and other in chat windows ++ chat_notify ++ # Notification by external commands module ++ exec_notify ++ # Hints near tray icon ++ hints ++ # Notifications by qt4_docking plugin ++ qt4_docking_notify ++ # Speech synthesis support ++ speech ++ # PC Speaker notification support ++ pcspeaker ++ ++ # history ++ # General history plugin ++ history ++ # Chat history storing, browsing and searching support using sqlite ++ sql_history ++ # Migration from x <= 0.6.5 format ++ history_migration ++ ++ # encryption ++ # Encrypted chat support ++ encryption_ng ++ # OpenSSL encrypted chat support ++ encryption_ng_simlite ++ ++ # docking ++ # Tray icon support (common part of all docking modules) ++ docking ++ # Always on top window docking plugin ++ desktop_docking ++ # Qt tray docking techniques module (works everywhere) ++ qt4_docking ++ ++ # sound ++ # General sound plugin ++ sound ++ # Phonon sound support ++ phonon_sound ++ # External sound player support ++ ext_sound ++ # QtSound sound support ++ qt4_sound + + # mediaplayer +- # Amarok 1.x mediaplayer support +- amarok1_mediaplayer +- # FALF mediaplayer support +- falf_mediaplayer ++ # Media players support plugin ++ mediaplayer + + # misc +- # Easily take screenshots and send as images +- screenshot +- ) +-endif (UNIX AND NOT APPLE) +- +-if (APPLE) +- list (APPEND COMPILE_PLUGINS +- +- # notifiers +- # Growl notification support +- growl_notify +- +- # mediaplayer +- # Itunes Media Player support +- itunes_mediaplayer +- ) +-endif (APPLE) +- +-if (WIN32) +- list (APPEND COMPILE_PLUGINS +- +- # mediaplayer +- # Winamp Media Player support +- winamp_mediaplayer ++ # Antistring ++ antistring ++ # Auto away module ++ autoaway ++ # Auto hide Kadu window ++ auto_hide ++ # Autoresponder plugin ++ autoresponder ++ # Autostatus ++ autostatus ++ # Cenzor ++ cenzor ++ # Configuration wizard ++ config_wizard ++ # Loads presence status messages from file ++ filedesc ++ # Protection against unwanted chats ++ firewall ++ # Idle time counter ++ idle ++ # Shows image links and youtube links as images and videos in chat ++ imagelink ++ # Last status infos ++ last_seen ++ # Imports profiles from old Kadu ++ profiles_import ++ # Simple view ++ simpleview ++ # Single window mode ++ single_window ++ # Sms gateway support ++ sms ++ # Spellchecking in chat window ++ spellchecker ++ # Tabbed chat dialog ++ tabs ++ # Automatic mispelled word replacement ++ word_fix + ) +-endif (WIN32) + +-# Sort the list so plugins will be built in alphabetical order +-list (SORT COMPILE_PLUGINS) ++ # Platform-speficic plugins ++ ++ if (UNIX) ++ list (APPEND COMPILE_PLUGINS ++ ++ # mediaplayer ++ # MPD mediaplayer support (disabled by default because of dependencies but is supposed to work good) ++ # mpd_mediaplayer ++ # MPRIS Media Players support ++ mprisplayer_mediaplayer ++ ) ++ endif (UNIX) ++ ++ if (UNIX AND NOT APPLE) ++ list (APPEND COMPILE_PLUGINS ++ ++ # notifiers ++ # Freedesktop notification support ++ freedesktop_notify ++ ++ # mediaplayer ++ # Amarok 1.x mediaplayer support ++ amarok1_mediaplayer ++ # FALF mediaplayer support ++ falf_mediaplayer ++ ++ # misc ++ # Easily take screenshots and send as images ++ screenshot ++ ) ++ endif (UNIX AND NOT APPLE) ++ ++ if (APPLE) ++ list (APPEND COMPILE_PLUGINS ++ ++ # notifiers ++ # Growl notification support ++ growl_notify ++ ++ # mediaplayer ++ # Itunes Media Player support ++ itunes_mediaplayer ++ ) ++ endif (APPLE) ++ ++ if (WIN32) ++ list (APPEND COMPILE_PLUGINS ++ ++ # mediaplayer ++ # Winamp Media Player support ++ winamp_mediaplayer ++ ) ++ endif (WIN32) ++ ++ # Sort the list so plugins will be built in alphabetical order ++ list (SORT COMPILE_PLUGINS) ++else (NOT COMPILE_PLUGINS) ++ # Convert to list with two commands ++ string (REGEX REPLACE "[ ,]" ";" COMPILE_PLUGINS "${COMPILE_PLUGINS}") ++ set (COMPILE_PLUGINS ${COMPILE_PLUGINS}) ++ ++ # Remove empty entries ++ list (REMOVE_ITEM COMPILE_PLUGINS "") ++endif (NOT COMPILE_PLUGINS) diff --git a/net-im/kadu/kadu-0.10.0.ebuild b/net-im/kadu/kadu-0.10.0.ebuild new file mode 100644 index 000000000000..8f68cc166df6 --- /dev/null +++ b/net-im/kadu/kadu-0.10.0.ebuild @@ -0,0 +1,111 @@ +# 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.ebuild,v 1.1 2011/09/29 20:37:27 reavertm Exp $ + +EAPI="4" + +inherit base cmake-utils flag-o-matic + +MY_P="${P/_/-}" + +DESCRIPTION="An open source Gadu-Gadu and Jabber/XMPP protocol Instant Messenger client." +HOMEPAGE="http://www.kadu.net" +SRC_URI="http://download.kadu.im/stable/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" +SLOT="0" +IUSE="+gadu kde phonon speech spell +ssl xmpp" +REQUIRED_USE=" + || ( + gadu + xmpp + ) +" +COMMON_DEPEND=" + >=app-crypt/qca-2.0.0-r2 + >=media-libs/libsndfile-1.0 + >=net-libs/libgadu-1.11.0[threads] + x11-libs/libXfixes + x11-libs/libXScrnSaver + >=x11-libs/qt-dbus-4.4:4 + >=x11-libs/qt-gui-4.4:4[qt3support] + >=x11-libs/qt-script-4.4:4 + >=x11-libs/qt-sql-4.4:4[sqlite] + >=x11-libs/qt-svg-4.4:4 + >=x11-libs/qt-webkit-4.4:4 + gadu? ( >=x11-libs/qt-xmlpatterns-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 ) + xmpp? ( net-dns/libidn ) +" +DEPEND="${COMMON_DEPEND} + xmpp? ( dev-util/automoc ) + x11-proto/fixesproto + x11-proto/scrnsaverproto +" +RDEPEND="${COMMON_DEPEND} + speech? ( app-accessibility/powiedz ) + ssl? ( app-crypt/qca-ossl:2 ) +" + +PATCHES=( + "${FILESDIR}/${P}-cmake.patch" +) + +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' + +src_configure() { + # Filter out dangerous flags + filter-flags -fno-rtti + strip-unsupported-flags + + # Ensure -DQT_NO_DEBUG is added + append-cppflags -DQT_NO_DEBUG + + # Plugin selection + if use gadu; then + PLUGINS+=' gadu_protocol history_migration profiles_import' + fi + + use xmpp && PLUGINS+=' jabber_protocol' + use phonon && PLUGINS+=' phonon_sound' + 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 + [[ -n ${compile_plugins} ]] && compile_plugins+=',' + compile_plugins+="${plugin}" + done + unset PLUGINS + + # Configure package + local mycmakeargs=( + -DBUILD_DESCRIPTION='Gentoo Linux' + -DCOMPILE_PLUGINS="${compile_plugins}" + $(cmake-utils_use_with spell ENCHANT) + ) + unset compile_plugins + + cmake-utils_src_configure +} -- 2.26.2