From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/anki/, app-misc/anki/files/23.12.1/
Date: Sun, 21 Jan 2024 10:00:56 +0000 (UTC)	[thread overview]
Message-ID: <1705831225.0d686c653b1eb6df7bcc597728ad7ed8d6566a08.sam@gentoo> (raw)
commit:     0d686c653b1eb6df7bcc597728ad7ed8d6566a08
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Tue Jan  9 05:43:42 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 21 10:00:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d686c65
app-misc/anki: unbundle sqlite correctly
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>
 app-misc/anki/anki-23.12.1.ebuild                 |  2 +-
 app-misc/anki/files/23.12.1/unbundle-sqlite.patch | 14 --------------
 2 files changed, 1 insertion(+), 15 deletions(-)
diff --git a/app-misc/anki/anki-23.12.1.ebuild b/app-misc/anki/anki-23.12.1.ebuild
index 13e6cf187381..b79e79196831 100644
--- a/app-misc/anki/anki-23.12.1.ebuild
+++ b/app-misc/anki/anki-23.12.1.ebuild
@@ -683,7 +683,6 @@ PATCHES=(
 	"${FILESDIR}"/${PV}/ninja-gentoo-setup.patch
 	"${FILESDIR}"/${PV}/no-git-submodule-sync.patch
 	"${FILESDIR}"/${PV}/pseudo-venv.patch
-	"${FILESDIR}"/${PV}/unbundle-sqlite.patch
 	"${FILESDIR}"/${PV}/use-system-nextest.patch
 	"${FILESDIR}"/${PV}/remove-formatter-dep.patch
 	"${FILESDIR}"/${PV}/remove-yarn-dep.patch
@@ -820,6 +819,7 @@ https://addon-docs.ankiweb.net/
 
 pkg_setup() {
 	export PROTOC_BINARY="${BROOT}"/usr/bin/protoc
+	export LIBSQLITE3_SYS_USE_PKG_CONFIG=1
 	export ZSTD_SYS_USE_PKG_CONFIG=1
 
 	if use gui; then
diff --git a/app-misc/anki/files/23.12.1/unbundle-sqlite.patch b/app-misc/anki/files/23.12.1/unbundle-sqlite.patch
deleted file mode 100644
index 496c4fad47a6..000000000000
--- a/app-misc/anki/files/23.12.1/unbundle-sqlite.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-Use system dev-db/sqlite:3 instead of a bundled version.
-
-From: Lucio Sauer <watermanpaint@posteo.net>
---- a/Cargo.toml
-+++ b/Cargo.toml
-@@ -108,7 +108,7 @@ pyo3 = { version = "0.20.0", features = ["extension-module", "abi3", "abi3-py39"
- rand = "0.8.5"
- regex = "1.10.2"
- reqwest = { version = "0.11.22", default-features = false, features = ["json", "socks", "stream", "multipart"] }
--rusqlite = { version = "0.30.0", features = ["trace", "functions", "collation", "bundled"] }
-+rusqlite = { version = "0.30.0", features = ["trace", "functions", "collation"] }
- scopeguard = "1.2.0"
- serde = { version = "1.0.193", features = ["derive"] }
- serde-aux = "4.2.0"
next             reply	other threads:[~2024-01-21 10:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-21 10:00 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-21 10:00 [gentoo-commits] repo/gentoo:master commit in: app-misc/anki/, app-misc/anki/files/23.12.1/ Sam James
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=1705831225.0d686c653b1eb6df7bcc597728ad7ed8d6566a08.sam@gentoo \
    --to=sam@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