public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/
Date: Sun, 29 Dec 2019 19:34:01 +0000 (UTC)	[thread overview]
Message-ID: <1577647894.313353afecffe37667c99824285f012d0b342676.floppym@gentoo> (raw)

commit:     313353afecffe37667c99824285f012d0b342676
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
AuthorDate: Mon Dec 23 21:16:10 2019 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sun Dec 29 19:31:34 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=313353af

app-i18n/librime: Add "debug" USE flag.

Bug: https://bugs.gentoo.org/695702
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org>
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 app-i18n/librime/librime-1.5.3.ebuild | 8 +++++++-
 app-i18n/librime/metadata.xml         | 3 +++
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/app-i18n/librime/librime-1.5.3.ebuild b/app-i18n/librime/librime-1.5.3.ebuild
index 074f50244aa..9827ea65ff6 100644
--- a/app-i18n/librime/librime-1.5.3.ebuild
+++ b/app-i18n/librime/librime-1.5.3.ebuild
@@ -23,7 +23,7 @@ fi
 LICENSE="BSD"
 SLOT="0/1"
 KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="test"
+IUSE="debug test"
 RESTRICT="!test? ( test )"
 
 BDEPEND=""
@@ -52,6 +52,12 @@ src_prepare() {
 src_configure() {
 	local -x CXXFLAGS="${CXXFLAGS} -I${ESYSROOT}/usr/include/utf8cpp"
 
+	if use debug; then
+		CXXFLAGS+=" -DDCHECK_ALWAYS_ON"
+	else
+		CXXFLAGS+=" -DNDEBUG"
+	fi
+
 	local mycmakeargs=(
 		-DBOOST_USE_CXX11=ON
 		-DBUILD_TEST=$(usex test ON OFF)

diff --git a/app-i18n/librime/metadata.xml b/app-i18n/librime/metadata.xml
index 1ef87e42d3d..777c41df84a 100644
--- a/app-i18n/librime/metadata.xml
+++ b/app-i18n/librime/metadata.xml
@@ -9,6 +9,9 @@
     <email>cjk@gentoo.org</email>
     <name>Cjk</name>
   </maintainer>
+  <use>
+    <flag name="debug">Enable debugging (including logging of input of RIME input methods)</flag>
+  </use>
   <upstream>
     <maintainer>
       <email>chen.sst@gmail.com</email>


             reply	other threads:[~2019-12-29 19:34 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-29 19:34 Mike Gilbert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-08  0:56 [gentoo-commits] repo/gentoo:master commit in: app-i18n/librime/ Yixun Lan
2025-02-08  0:54 Yixun Lan
2024-12-28 18:18 Arthur Zamarin
2024-12-28 18:03 Sam James
2024-12-28 18:03 Sam James
2024-12-28 18:03 Sam James
2024-12-28 17:52 Sam James
2024-12-02  7:15 Yixun Lan
2024-11-29  3:51 Sam James
2024-11-22 15:57 Joonas Niilola
2024-11-22 15:29 Sam James
2024-11-17  9:45 Yixun Lan
2024-07-21 17:41 Arthur Zamarin
2024-07-21 17:41 Arthur Zamarin
2024-01-29  6:38 WANG Xuerui
2024-01-11 11:23 Yixun Lan
2023-12-24 10:57 WANG Xuerui
2022-10-10  6:25 Jakov Smolić
2022-09-04 12:23 David Seifert
2022-02-28  0:40 Sam James
2022-02-28  0:07 Sam James
2021-09-06 21:34 Sam James
2021-09-06 21:34 Sam James
2021-06-04 19:51 Mike Gilbert
2021-06-03  2:19 Sam James
2021-02-26 22:50 Yixun Lan
2020-12-28  0:01 Mike Gilbert
2020-12-28  0:01 Mike Gilbert
2020-12-28  0:01 Mike Gilbert
2020-04-10  9:48 Sergei Trofimovich
2020-01-17 19:09 Mike Gilbert
2019-12-31 18:08 Aaron Bauman
2019-12-31  8:18 Agostino Sarubbo
2019-12-31  8:15 Agostino Sarubbo
2019-12-29 19:34 Mike Gilbert
2019-12-07 13:12 David Seifert
2019-09-29  2:56 Mike Gilbert
2019-09-29  2:56 Mike Gilbert
2019-08-30 18:39 Sergei Trofimovich
2019-08-18  3:06 Aaron Bauman
2019-08-16 17:03 Mike Gilbert
2019-08-13 10:32 Agostino Sarubbo
2019-08-13 10:30 Agostino Sarubbo
2019-08-12  8:02 Agostino Sarubbo
2019-08-11 21:30 Thomas Deutschmann
2019-08-09 18:39 Mike Gilbert
2019-08-09 18:39 Mike Gilbert
2019-08-09 18:39 Mike Gilbert
2019-08-09 18:39 Mike Gilbert
2019-06-28 18:10 Mike Gilbert
2019-02-12  3:31 Yixun Lan
2018-07-27 13:31 Akinori Hattori
2018-07-27 13:31 Akinori Hattori
2017-11-18 10:13 Sergei Trofimovich
2017-11-18 10:03 Sergei Trofimovich
2017-11-01 20:54 Mike Gilbert
2017-10-23 17:24 Mike Gilbert
2017-10-23 17:24 Mike Gilbert
2017-10-23 17:24 Mike Gilbert
2017-10-23 17:24 Mike Gilbert
2017-10-23 17:24 Mike Gilbert
2017-08-22 14:21 Mike Gilbert
2016-07-20  5:16 Yixun Lan
2015-09-01 18:51 Tobias Klausmann

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=1577647894.313353afecffe37667c99824285f012d0b342676.floppym@gentoo \
    --to=floppym@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