From: "Andrey Utkin" <andrey_utkin@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/spectrum2/files/, net-im/spectrum2/
Date: Sun, 10 Mar 2019 02:19:31 +0000 (UTC) [thread overview]
Message-ID: <1552184305.d1ffc1ff3349eabd0f7ee13a6fe77407cb284cc1.andrey_utkin@gentoo> (raw)
commit: d1ffc1ff3349eabd0f7ee13a6fe77407cb284cc1
Author: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 4 19:21:14 2019 +0000
Commit: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
CommitDate: Sun Mar 10 02:18:25 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1ffc1ff
net-im/spectrum2: drop broken 'debug' USE flag
Switching to Debug CMake configuration leads to an odd effect.
Users can just supply extra CFLAGS for better debugging info, which is
exactly what Debug CMake configuration does.
No revbump since this is a build failure issue.
Successful installations don't need a rebuild.
Bug: https://bugs.gentoo.org/674498
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Andrey Utkin <andrey_utkin <AT> gentoo.org>
.../files/spectrum2-2.0.9-remove_debug_cflags.patch | 13 -------------
net-im/spectrum2/spectrum2-2.0.10.ebuild | 10 +---------
2 files changed, 1 insertion(+), 22 deletions(-)
diff --git a/net-im/spectrum2/files/spectrum2-2.0.9-remove_debug_cflags.patch b/net-im/spectrum2/files/spectrum2-2.0.9-remove_debug_cflags.patch
deleted file mode 100644
index 19e3b83d230..00000000000
--- a/net-im/spectrum2/files/spectrum2-2.0.9-remove_debug_cflags.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/CMakeLists.txt 2018-09-17 09:46:40.000000000 +0200
-+++ b/CMakeLists.txt 2018-09-20 21:04:29.000000000 +0200
-@@ -384,10 +384,6 @@
- endif()
-
- if(CMAKE_BUILD_TYPE MATCHES Debug)
-- if (CMAKE_COMPILER_IS_GNUCXX)
-- ADD_DEFINITIONS(-O0)
-- ADD_DEFINITIONS(-ggdb)
-- endif()
- ADD_DEFINITIONS(-DDEBUG)
- message("Debug : yes")
- else(CMAKE_BUILD_TYPE MATCHES Debug)
diff --git a/net-im/spectrum2/spectrum2-2.0.10.ebuild b/net-im/spectrum2/spectrum2-2.0.10.ebuild
index ddc335eca68..317a25b2ab5 100644
--- a/net-im/spectrum2/spectrum2-2.0.10.ebuild
+++ b/net-im/spectrum2/spectrum2-2.0.10.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/SpectrumIM/spectrum2/archive/${PV}.tar.gz -> ${P}.ta
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="debug doc frotz irc mysql postgres purple sms +sqlite test twitter whatsapp xmpp"
+IUSE="doc frotz irc mysql postgres purple sms +sqlite test twitter whatsapp xmpp"
REQUIRED_USE="|| ( mysql postgres sqlite )"
RDEPEND="
@@ -59,8 +59,6 @@ DEPEND="
)
"
-PATCHES=( "${FILESDIR}/${PN}-2.0.9-remove_debug_cflags.patch" )
-
# Tests are currently restricted, as they do completly fail
RESTRICT="test"
@@ -75,16 +73,10 @@ src_prepare() {
# Respect users LDFLAGS
sed -i -e "s/-Wl,-export-dynamic/& ${LDFLAGS}/" spectrum/src/CMakeLists.txt || die
- # Respect users CFLAGS, when compiling for debug mode
- # Since Spectrum2 searches for a qt4 compiled libcommuni,
- # it must be patched, to find the qt5 compiled libcommuni,
- # See: https://github.com/SpectrumIM/spectrum2/pull/253
cmake-utils_src_prepare
}
src_configure() {
- use debug && CMAKE_BUILD_TYPE="Debug"
-
local mycmakeargs=(
-DENABLE_DOCS="$(usex doc)"
-DENABLE_FROTZ="$(usex frotz)"
next reply other threads:[~2019-03-10 2:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-10 2:19 Andrey Utkin [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-16 7:44 [gentoo-commits] repo/gentoo:master commit in: net-im/spectrum2/files/, net-im/spectrum2/ Sam James
2023-02-28 20:47 Conrad Kostecki
2021-11-16 22:18 Conrad Kostecki
2020-09-02 12:39 Conrad Kostecki
2020-08-27 17:28 Conrad Kostecki
2020-05-14 9:01 Conrad Kostecki
2019-03-26 16:45 Patrice Clement
2019-02-26 20:29 Andrey Utkin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1552184305.d1ffc1ff3349eabd0f7ee13a6fe77407cb284cc1.andrey_utkin@gentoo \
--to=andrey_utkin@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox