public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-i18n/ibus-pinyin/files/, app-i18n/ibus-pinyin/
@ 2017-08-23 15:02 Akinori Hattori
  0 siblings, 0 replies; 2+ messages in thread
From: Akinori Hattori @ 2017-08-23 15:02 UTC (permalink / raw
  To: gentoo-commits

commit:     ed41269477f54cf8f824beac9ce16cde7378b9bf
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 23 15:01:16 2017 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Wed Aug 23 15:01:16 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed412694

app-i18n/ibus-pinyin: fix build with USE=boost

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 app-i18n/ibus-pinyin/files/ibus-pinyin-boost.patch | 15 +++++++++++++++
 app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r2.ebuild   |  9 +++++++--
 2 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/app-i18n/ibus-pinyin/files/ibus-pinyin-boost.patch b/app-i18n/ibus-pinyin/files/ibus-pinyin-boost.patch
new file mode 100644
index 00000000000..124339e81bf
--- /dev/null
+++ b/app-i18n/ibus-pinyin/files/ibus-pinyin-boost.patch
@@ -0,0 +1,15 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -93,9 +93,9 @@
+ )
+ if test x"$enable_boost" = x"yes"; then
+     # check boost
+-    BOOST_REQUIRE([1.39])
+-    BOOST_FIND_HEADER([boost/bind.hpp])
+-    BOOST_FIND_HEADER([boost/signals2.hpp])
++    AX_BOOST_BASE([1.39])
++    AC_CHECK_HEADERS([boost/bind.hpp])
++    AC_CHECK_HEADERS([boost/signals2.hpp])
+ fi
+ AM_CONDITIONAL(HAVE_BOOST, test x"$enable_boost" = x"yes")
+ 

diff --git a/app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r2.ebuild b/app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r2.ebuild
index d3d30fc7136..2f8dba36e3c 100644
--- a/app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r2.ebuild
+++ b/app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r2.ebuild
@@ -4,7 +4,7 @@
 EAPI="6"
 PYTHON_COMPAT=( python2_7 )
 
-inherit python-single-r1
+inherit autotools python-single-r1
 
 DESCRIPTION="Chinese Pinyin and Bopomofo engines for IBus"
 HOMEPAGE="https://github.com/ibus/ibus/wiki"
@@ -26,15 +26,20 @@ RDEPEND="${PYTHON_DEPS}
 	nls? ( virtual/libintl )"
 DEPEND="${RDEPEND}
 	dev-util/intltool
+	sys-devel/autoconf-archive
 	virtual/pkgconfig
 	nls? ( sys-devel/gettext )"
 
-PATCHES=( "${FILESDIR}"/${P}-content-type-method.patch )
+PATCHES=(
+	"${FILESDIR}"/${PN}-boost.patch
+	"${FILESDIR}"/${P}-content-type-method.patch
+)
 
 src_prepare() {
 	sed -i "s/python/${EPYTHON}/" setup/${PN/-/-setup-}.in
 
 	default
+	eautoreconf
 }
 
 src_configure() {


^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-i18n/ibus-pinyin/files/, app-i18n/ibus-pinyin/
@ 2023-02-27  4:31 Yixun Lan
  0 siblings, 0 replies; 2+ messages in thread
From: Yixun Lan @ 2023-02-27  4:31 UTC (permalink / raw
  To: gentoo-commits

commit:     8f4d2ebbb6d06762e2e75eb896283731c69fe6ea
Author:     jinqiang zhang <peeweep <AT> 0x0 <DOT> ee>
AuthorDate: Mon Feb 27 04:05:11 2023 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Mon Feb 27 04:31:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f4d2ebb

app-i18n/ibus-pinyin: fix sqlite 3.41.0 build failure

Closes: https://bugs.gentoo.org/896366
Closes: https://github.com/gentoo/gentoo/pull/29822
Signed-off-by: jinqiang zhang <peeweep <AT> 0x0.ee>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 .../files/ibus-pinyin-1.5.0-sqlite-3.41.0.patch    | 23 ++++++++++++++++++++++
 app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r5.ebuild   |  1 +
 2 files changed, 24 insertions(+)

diff --git a/app-i18n/ibus-pinyin/files/ibus-pinyin-1.5.0-sqlite-3.41.0.patch b/app-i18n/ibus-pinyin/files/ibus-pinyin-1.5.0-sqlite-3.41.0.patch
new file mode 100644
index 000000000000..0faa622e3230
--- /dev/null
+++ b/app-i18n/ibus-pinyin/files/ibus-pinyin-1.5.0-sqlite-3.41.0.patch
@@ -0,0 +1,23 @@
+UPSTREAM: https://github.com/ibus/ibus-pinyin/pull/12
+BUG: https://bugs.gentoo.org/896366
+AUTHOR: jinqiang zhang <peeweep@0x0.ee>
+
+As sqlite 3.41.0 release note say:
+
+ The double-quoted string misfeature is now disabled by default for CLI
+ builds. Legacy use cases can reenable the misfeature at run-time using
+ the ".dbconfig dqs_dml on" and ".dbconfig dqs_ddl on" commands.
+
+We should change this double quote to single quote
+
+--- a/data/db/english/english.awk
++++ b/data/db/english/english.awk
+@@ -16,7 +16,7 @@ BEGIN {
+ }
+ 
+     # Insert data into english table
+-    {   printf "INSERT INTO english (word, freq) VALUES (\"%s\", \"%f\");\n", $1, $2}
++    {   printf "INSERT INTO english (word, freq) VALUES (\'%s\', %f);\n", $1, $2}
+ 
+     #quit sqlite3
+ END {

diff --git a/app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r5.ebuild b/app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r5.ebuild
index 3524ba6ebedb..2df80c6b265c 100644
--- a/app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r5.ebuild
+++ b/app-i18n/ibus-pinyin/ibus-pinyin-1.5.0-r5.ebuild
@@ -39,6 +39,7 @@ PATCHES=(
 	"${FILESDIR}"/${PN}-boost.patch
 	"${FILESDIR}"/${P}-content-type-method.patch
 	"${FILESDIR}"/${P}-python3.patch
+	"${FILESDIR}"/${P}-sqlite-3.41.0.patch
 )
 
 pkg_setup() {


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-27  4:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-23 15:02 [gentoo-commits] repo/gentoo:master commit in: app-i18n/ibus-pinyin/files/, app-i18n/ibus-pinyin/ Akinori Hattori
  -- strict thread matches above, loose matches on Subject: below --
2023-02-27  4:31 Yixun Lan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox