From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- net-im/vacuum/Manifest | 7 ++ .../vacuum-1.2.4-gcc6-not-string-literals.patch | 51 ++++++++++++ net-im/vacuum/metadata.xml | 55 +++++++++++++ net-im/vacuum/vacuum-1.2.5.ebuild | 80 ++++++++++++++++++ net-im/vacuum/vacuum-9999.ebuild | 95 ++++++++++++++++++++++ 5 files changed, 288 insertions(+) create mode 100644 net-im/vacuum/Manifest create mode 100644 net-im/vacuum/files/vacuum-1.2.4-gcc6-not-string-literals.patch create mode 100644 net-im/vacuum/metadata.xml create mode 100644 net-im/vacuum/vacuum-1.2.5.ebuild create mode 100644 net-im/vacuum/vacuum-9999.ebuild (limited to 'net-im/vacuum') diff --git a/net-im/vacuum/Manifest b/net-im/vacuum/Manifest new file mode 100644 index 000000000000..28ce3665ab9c --- /dev/null +++ b/net-im/vacuum/Manifest @@ -0,0 +1,7 @@ +AUX vacuum-1.2.4-gcc6-not-string-literals.patch 3213 SHA256 2083e791790e6337fd550da9fe7a245124f4082e92c849628162ee5a5c4dcbb3 SHA512 1ee8a0be4c0f6495c9446a506293ba529b3ca59ae4362ae456db7b15c52afb358691776a6c8c49e48af1a2f9847d25c78ca66a9a1180a5c388e743f3b37ae424 WHIRLPOOL e6e61c17641cfe84b4a1240823979ae7ac35608f82dd9d83e30f0948d16a6e2b6e7c101a0724bd0767015232bfaa91f46286292a3d5efe1933d484f34a8942f5 +DIST vacuum-1.2.5.tar.gz 2242073 SHA256 3237933f68884fb5b3422ad0fc97083b40a7aae9d8c105a23720c09599ffe5da SHA512 85e36ed312beb59b667f376d45511f3c9414ba8165746cc1da15992eac4716995aa01da505a2f2dd58c8d64822f25c9106691be26a534e01a21f0201049300fc WHIRLPOOL 474930024e8a3a7d501f4dc48ec0919c2dfc73021fb4fee589de5a9986f3598442dbc74bb08d8364223f8c637fb68341cd3b859864afff4c9bc7c8bcdcd05ff5 +EBUILD vacuum-1.2.5.ebuild 2394 SHA256 a147d49832b601d53ec893e6255734f42d593bba0d87879e64c1011aa979b3b8 SHA512 2b2fa3ec5ce9eca347d88b6f6e026c269906e8b6bada05767a9c2fa645ff8ae987ccacee816ee4d7a220d5cbc537ee9d9ab026fd39fa0e80dc81f50ebbe0e143 WHIRLPOOL 9e7a35e7e6b75844f4d637c5b3becaeccde0e2ceb1fb048f3785dc5244a268317198b5f2912bfce08c66c1f614e9d551e789855d1353cf0ccf1138fd2ee47463 +EBUILD vacuum-9999.ebuild 2946 SHA256 5a9089073ab20ac04060d627285b049db5dc169cbbbd845737770186cb5dbfc5 SHA512 d102a7f9641184bc94d7cf1a59382f9975e9e19d321fdbb41820bc727eb7ba7a2426fa55a8d556298c3d801e7f8d6e4aedbe9e7ba64faad08d55f2d0fe5cff5a WHIRLPOOL f94729cef3808886cb5b59b7c36c2c3fa3b4abcd79c9bf9e3826d5f382b517814ac33d12dc7ca027b9f12c8505eb2bdb4602169fc3b47329cf42991977fba27a +MISC ChangeLog 2624 SHA256 e3f798fa71e646e41ebb136ef931572c446a36de7cdaa6bafcd0e290f0d1b5e0 SHA512 458310b39056069160e6478da5e595e848f45af6be3228190a06ad3ad00490b2a1267fbd01775bfb064e10638887672e38c9b38f9332a02d17a8cc21c612b3cd WHIRLPOOL 01ad1e2a3a54dd9f6cd47aaebe70a709d8810d78f2d3f753c098bfcab45c8a177698417487cfc4bfef5ff7ba9c48cb34c6c0da2361000250d6679ad21f1e2859 +MISC ChangeLog-2015 4183 SHA256 2804ab9d8d52c9c0dac768f6253fe0596fbc021c4d9c5b4fe5d5c52cd36ccf5b SHA512 9c5edbd7bb81a6a8218f9a0384e6aa83fc9884ecad0139b5582e87af12f8ba3c4fdfa82a508ce8a23c1c69da048ec0caaf44e6aab83a4bd384775ea5c4e8ef6d WHIRLPOOL f47ac15cfc029dde0486fe799c6a4735c59a102db9e6d175dc1d5ba3b6e01b397af011ff55525a748afe2b96650676bfa1b8c0cc83a502a605fee7b1728db9e9 +MISC metadata.xml 4327 SHA256 86f6d6de1c8418bf8a8377d2dfa494616ea0e3378cd2a06c4b8f43f5cf39c352 SHA512 a70dca323c5eddf7ae1a4fd592dbb410930b09876805b8b46cbffec34184ddbfffbb4ad1e39f4c07d3ee0edc4e7fa2cc4293d6dec8aff80a3a2cd231a722162e WHIRLPOOL ad66fcd557dde9a683a102af985ea74fa8d6c25260cc4abfdd0a6284bbbcdab8a64552bfaae6c528037aaca60bbbb84a733b76c6fd6574ab1ba0f143eda28a44 diff --git a/net-im/vacuum/files/vacuum-1.2.4-gcc6-not-string-literals.patch b/net-im/vacuum/files/vacuum-1.2.4-gcc6-not-string-literals.patch new file mode 100644 index 000000000000..d936c76e61eb --- /dev/null +++ b/net-im/vacuum/files/vacuum-1.2.4-gcc6-not-string-literals.patch @@ -0,0 +1,51 @@ +diff -Naur vacuum-1.2.4.old/src/plugins/messagearchiver/messagearchiver.cpp vacuum-1.2.4/src/plugins/messagearchiver/messagearchiver.cpp +--- vacuum-1.2.4.old/src/plugins/messagearchiver/messagearchiver.cpp 2017-03-27 22:36:48.177650414 -0400 ++++ vacuum-1.2.4/src/plugins/messagearchiver/messagearchiver.cpp 2017-03-27 22:37:22.198212428 -0400 +@@ -9,8 +9,8 @@ + #define SESSIONS_FILE_NAME "sessions.xml" + + #define SHC_MESSAGE_BODY "/message/body" +-#define SHC_PREFS "/iq[@type='set']/pref[@xmlns="NS_ARCHIVE"]" +-#define SHC_PREFS_OLD "/iq[@type='set']/pref[@xmlns="NS_ARCHIVE_OLD"]" ++#define SHC_PREFS "/iq[@type='set']/pref[@xmlns=" NS_ARCHIVE "]" ++#define SHC_PREFS_OLD "/iq[@type='set']/pref[@xmlns=" NS_ARCHIVE_OLD "]" + + #define ADR_STREAM_JID Action::DR_StreamJid + #define ADR_CONTACT_JID Action::DR_Parametr1 +diff -Naur vacuum-1.2.4.old/src/plugins/privacylists/privacylists.cpp vacuum-1.2.4/src/plugins/privacylists/privacylists.cpp +--- vacuum-1.2.4.old/src/plugins/privacylists/privacylists.cpp 2017-03-27 22:36:48.175650440 -0400 ++++ vacuum-1.2.4/src/plugins/privacylists/privacylists.cpp 2017-03-27 22:37:48.508882851 -0400 +@@ -1,7 +1,7 @@ + #include "privacylists.h" + +-#define SHC_PRIVACY "/iq[@type='set']/query[@xmlns='"NS_JABBER_PRIVACY"']" +-#define SHC_ROSTER "/iq/query[@xmlns='"NS_JABBER_ROSTER"']" ++#define SHC_PRIVACY "/iq[@type='set']/query[@xmlns='" NS_JABBER_PRIVACY "']" ++#define SHC_ROSTER "/iq/query[@xmlns='" NS_JABBER_ROSTER "']" + + #define PRIVACY_TIMEOUT 60000 + #define AUTO_LISTS_TIMEOUT 2000 +diff -Naur vacuum-1.2.4.old/src/plugins/sessionnegotiation/sessionnegotiation.cpp vacuum-1.2.4/src/plugins/sessionnegotiation/sessionnegotiation.cpp +--- vacuum-1.2.4.old/src/plugins/sessionnegotiation/sessionnegotiation.cpp 2017-03-27 22:36:48.174650453 -0400 ++++ vacuum-1.2.4/src/plugins/sessionnegotiation/sessionnegotiation.cpp 2017-03-27 22:38:07.340651610 -0400 +@@ -4,7 +4,7 @@ + #include + #include + +-#define SHC_STANZA_SESSION "/message/feature[@xmlns='"NS_FEATURENEG"']" ++#define SHC_STANZA_SESSION "/message/feature[@xmlns='" NS_FEATURENEG "']" + + #define SFP_DISCLOSURE "disclosure" + #define SFP_MULTISESSION "multisession" +diff -Naur vacuum-1.2.4.old/src/plugins/simplemessagestyle/simplemessagestyle.cpp vacuum-1.2.4/src/plugins/simplemessagestyle/simplemessagestyle.cpp +--- vacuum-1.2.4.old/src/plugins/simplemessagestyle/simplemessagestyle.cpp 2017-03-27 22:36:48.173650466 -0400 ++++ vacuum-1.2.4/src/plugins/simplemessagestyle/simplemessagestyle.cpp 2017-03-27 22:38:33.557335864 -0400 +@@ -15,7 +15,7 @@ + #include + + #define SCROLL_TIMEOUT 100 +-#define SHARED_STYLE_PATH RESOURCES_DIR"/"RSR_STORAGE_SIMPLEMESSAGESTYLES"/"STORAGE_SHARED_DIR ++#define SHARED_STYLE_PATH RESOURCES_DIR "/" RSR_STORAGE_SIMPLEMESSAGESTYLES "/" STORAGE_SHARED_DIR + + static const char *SenderColors[] = { + "blue", "blueviolet", "brown", "cadetblue", "chocolate", "coral", "cornflowerblue", "crimson", diff --git a/net-im/vacuum/metadata.xml b/net-im/vacuum/metadata.xml new file mode 100644 index 000000000000..3f054b4c28bd --- /dev/null +++ b/net-im/vacuum/metadata.xml @@ -0,0 +1,55 @@ + + + + + maksbotan@gentoo.org + Maxim Koltsov + + + Use UI styles created for Adium + Enable adding comments to the contacts in the roster + Change the status in accordance with the time of inactivity + Enable assigning and displaying avatars + Reminds about birthdays of your friends + Allow other modules to receive or send a small amount of binary data in XMPP stanza + Enable creating bookmarks of the Jabber conferences and Web pages + Perform tests for humanity outside of Web browser + Post user's activity to the chat + Enable sending and receiving peer's application version, local time and last activity info + Enable performing special commands provided by various services + Compress stream of messages + Enable inspecting a raw XML stream + Allow other modules to process and display data forms intended for the user + Enable initiating a custom data stream between two XMPP entities + Enable using smiley images in messages + Allows to save the history of conversations to local files + Enable transferring files between two XMPP entities + Enable sending files to peers + Simplify the interaction with gateways to other IM systems + Enable initiating in-band data stream between two XMPP enitites + Enable logging on Jabber servers withous SASL authentication support + Enable searching contacts in Jabber networks + Enable saving the communication history both locally and on the server + Allows to keep all user IM clients engaged in a conversation + Enable Jabber multi-user conferences + Allows other plugins to recieve and publish PEP events + Enable blocking the undesirable contacts + Allow other modules to store arbitrary data on the server + Displays a recently used contacts + Enable creating accounts in Jabber services + Allows to remotely control the client + Allows to exchange contact list items + Allows to search for contacts in the roster + Allows to save the history of communications on the server + Enable receiving information about Jabber entities + Enable initiating the session between two entities with setting the rules for XMPP stanzas exchange + Allows to setup user defined shortcuts + Enable initiating SOCKS5 data streams between two XMPP entities + Allows other plugins to load data from custom types of URLs + Enable obtaining peer's personal contact information + Allow other plugins to handle XMPP URI queries + Select app-text/aspell spell checker backend + Select app-text/enchant spell checker backend + Select app-text/hunspell spell checker backend + + diff --git a/net-im/vacuum/vacuum-1.2.5.ebuild b/net-im/vacuum/vacuum-1.2.5.ebuild new file mode 100644 index 000000000000..497f62a40580 --- /dev/null +++ b/net-im/vacuum/vacuum-1.2.5.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN=${PN}-im +PLOCALES="de es pl ru uk" +inherit cmake-utils l10n + +DESCRIPTION="Qt Crossplatform Jabber client" +HOMEPAGE="https://code.google.com/p/vacuum-im" +SRC_URI="https://github.com/Vacuum-IM/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0/1.17" # subslot = libvacuumutils soname version +KEYWORDS="~amd64 ~x86" +PLUGINS=( annotations autostatus avatars birthdayreminder bitsofbinary bookmarks captchaforms chatstates clientinfo commands compress console dataforms datastreamsmanager emoticons filemessagearchive filestreamsmanager filetransfer gateways inbandstreams iqauth jabbersearch messagearchiver multiuserchat pepmanager privacylists privatestorage registration remotecontrol rosteritemexchange rostersearch servermessagearchive servicediscovery sessionnegotiation shortcutmanager socksstreams urlprocessor vcard xmppuriqueries ) +IUSE="${PLUGINS[@]/#/+}" + +REQUIRED_USE=" + annotations? ( privatestorage ) + avatars? ( vcard ) + birthdayreminder? ( vcard ) + bookmarks? ( privatestorage ) + captchaforms? ( dataforms ) + commands? ( dataforms ) + datastreamsmanager? ( dataforms ) + filemessagearchive? ( messagearchiver ) + filestreamsmanager? ( datastreamsmanager ) + filetransfer? ( filestreamsmanager datastreamsmanager ) + pepmanager? ( servicediscovery ) + registration? ( dataforms ) + remotecontrol? ( commands dataforms ) + servermessagearchive? ( messagearchiver ) + sessionnegotiation? ( dataforms ) +" + +RDEPEND=" + dev-qt/qtcore:4[ssl] + dev-qt/qtgui:4 + dev-qt/qtlockedfile[qt4(+)] + dev-libs/openssl:0 + net-dns/libidn + sys-libs/zlib[minizip] + x11-libs/libXScrnSaver +" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS CHANGELOG README TRANSLATORS ) + +PATCHES=( "${FILESDIR}"/${PN}-1.2.4-gcc6-not-string-literals.patch ) + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_prepare() { + # Force usage of system libraries + rm -rf src/thirdparty/{idn,minizip,zlib} + + # CMP0022 warning + sed -e "/^cmake_minimum_required/s/2.8/2.8.12/" -i CMakeLists.txt || die + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DINSTALL_LIB_DIR="$(get_libdir)" + -DINSTALL_SDK=ON + -DLANGS="$(l10n_get_locales)" + -DINSTALL_DOCS=OFF + -DFORCE_BUNDLED_MINIZIP=OFF + ) + + local x + for x in ${PLUGINS[@]}; do + mycmakeargs+=( -DPLUGIN_${x}=$(usex $x) ) + done + + cmake-utils_src_configure +} diff --git a/net-im/vacuum/vacuum-9999.ebuild b/net-im/vacuum/vacuum-9999.ebuild new file mode 100644 index 000000000000..76ab422c67cf --- /dev/null +++ b/net-im/vacuum/vacuum-9999.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGIT_BRANCH="dev_qt5" +EGIT_REPO_URI="https://github.com/Vacuum-IM/vacuum-im.git" +PLOCALES="de es pl ru uk" +inherit cmake-utils git-r3 l10n + +DESCRIPTION="Qt Crossplatform Jabber client" +HOMEPAGE="http://www.vacuum-im.org/" + +LICENSE="GPL-3" +SLOT="0/37" # subslot = libvacuumutils soname version +KEYWORDS="" +PLUGINS=( adiummessagestyle annotations autostatus avatars birthdayreminder bitsofbinary bookmarks captchaforms chatstates clientinfo commands compress console dataforms datastreamsmanager emoticons filemessagearchive filestreamsmanager filetransfer gateways inbandstreams iqauth jabbersearch messagearchiver messagecarbons multiuserchat pepmanager privacylists privatestorage recentcontacts registration remotecontrol rosteritemexchange rostersearch servermessagearchive servicediscovery sessionnegotiation shortcutmanager socksstreams urlprocessor vcard xmppuriqueries ) +SPELLCHECKER_BACKENDS="aspell +enchant hunspell" +IUSE="${PLUGINS[@]/#/+} ${SPELLCHECKER_BACKENDS} +spell" + +REQUIRED_USE=" + annotations? ( privatestorage ) + avatars? ( vcard ) + birthdayreminder? ( vcard ) + bookmarks? ( privatestorage ) + captchaforms? ( dataforms ) + commands? ( dataforms ) + datastreamsmanager? ( dataforms ) + filemessagearchive? ( messagearchiver ) + filestreamsmanager? ( datastreamsmanager ) + filetransfer? ( filestreamsmanager datastreamsmanager ) + messagecarbons? ( servicediscovery ) + pepmanager? ( servicediscovery ) + recentcontacts? ( privatestorage ) + registration? ( dataforms ) + remotecontrol? ( commands dataforms ) + servermessagearchive? ( messagearchiver ) + sessionnegotiation? ( dataforms ) + spell? ( ^^ ( ${SPELLCHECKER_BACKENDS//+/} ) ) +" + +DEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtlockedfile[qt5(+)] + dev-qt/qtmultimedia:5 + dev-qt/qtnetwork:5[ssl] + dev-qt/qtxml:5 + net-dns/libidn + sys-libs/zlib[minizip] + x11-libs/libXScrnSaver + adiummessagestyle? ( dev-qt/qtwebkit:5 ) + filemessagearchive? ( dev-qt/qtsql:5[sqlite] ) + messagearchiver? ( dev-qt/qtsql:5[sqlite] ) + spell? ( + aspell? ( app-text/aspell ) + enchant? ( app-text/enchant ) + hunspell? ( app-text/hunspell ) + ) +" +RDEPEND="${DEPEND} + !net-im/vacuum-spellchecker +" + +DOCS=( AUTHORS CHANGELOG README TRANSLATORS ) + +src_prepare() { + # Force usage of system libraries + rm -rf src/thirdparty/{idn,hunspell,minizip,zlib} + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DINSTALL_LIB_DIR="$(get_libdir)" + -DINSTALL_SDK=ON + -DLANGS="$(l10n_get_locales)" + -DINSTALL_DOCS=OFF + -DFORCE_BUNDLED_MINIZIP=OFF + -DPLUGIN_statistics=OFF + -DNO_WEBKIT=$(usex !adiummessagestyle) + -DPLUGIN_spellchecker=$(usex spell) + ) + + for x in ${PLUGINS[@]}; do + mycmakeargs+=( -DPLUGIN_${x}=$(usex $x) ) + done + + for i in ${SPELLCHECKER_BACKENDS//+/}; do + use "${i}" && mycmakeargs+=( -DSPELLCHECKER_BACKEND="${i}" ) + done + + cmake-utils_src_configure +} -- cgit v1.2.3