New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core/database: configure fts3 tokenizer support #5669
Conversation
Original patch by Arfrever This fixes clementine-player#5297
Why it isn't merged? |
I had the same issue as #5862 and this fixed it. Is there a reason it isn't merged? |
@jonaski can we merge this? |
Search performance without fts3 is tragic. Presumably, fedora is explicitly not using our built-in sqlite which is there for exactly this reason so ¯_(ツ)_/¯ |
So why is the package even in the repositories? Can you talk to the Fedora
maintainer?
…On Fri, 16 Mar 2018, 15:03 John Maguire, ***@***.***> wrote:
Search performance without fts3 is tragic. Presumably, fedora is
explicitly not using our built-in sqlite which is there for exactly this
reason so ¯_(ツ)_/¯
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#5669 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHSjviqDHB3JX3NH75L9-hGHiyOk3SMzks5te8ZGgaJpZM4MfNrE>
.
|
We don't maintain it. If you want it fixed I suggest you talk to fedora yourself. |
Well, you are the one believing that your app is packaged wrongly by the
Fedora package maintainers, so I suggest you open a Bug Report as you have
the technical details.
I don't even know what FTS3 is.
…On Fri, 16 Mar 2018, 17:43 John Maguire, ***@***.***> wrote:
We don't maintain it. If you want it fixed I suggest you talk to fedora
yourself.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#5669 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHSjvslb4TLmKAdykVdcSdLaQIyEBI7Aks5te-ulgaJpZM4MfNrE>
.
|
@hatstand sqlite isn't built-in, it's only the QSqlDriver (3rdparty/qsqlite). If the distro has sqlite version 3.11 or newer it will run into this problem, built-in qsqlite or not. It's not the package maintainers fault, they are doing it correct. All this does is too explicitly enable fts3 when not already enabled. OpenSuse does the same thing because tumbleweed provides sqlite 3.23 |
Thanks. I'm on fedora 28 and it still isn't applied, but after I applied it FINALLY I can use clementine again. So happy. |
Seems fixed in Fedora 28 now? |
Needless to say that Gentoo needs to apply this patch for a long time already. |
I am not sure I understand it, I have build sqlite3 successfully (latest source) with --enable-fts3 option in configure script. I still get |
--enable-fts3 is not a valid option (at least not in newer versions). You need to pass: -DSQLITE_ENABLE_FTS3_TOKENIZER=1 to CFLAGS However if your distro was shipped with a different, most likely an older version of sqlite, other libraries that depend on the sqlite library (like qt) will probably break since they were compiled against an older version of sqlite, or with different configuration options so they expose different symbols. And clementine won't work anyway in that case. So it's a good idea to use the same version of sqlite that came with the system and make sure you configure it the same way and only add DSQLITE_ENABLE_FTS3_TOKENIZER=1 to CFLAGS Clementine remains broken unless you use a distro that ship older packages, or compile your own sqlite that actually have matching symbols. |
I tried the patch alone, I still had tokenizer error, then I compiled and install sqlite as you said, compiled clementine (with the patch), remove the database in
Aborted |
shymega not sure if that is related, but today I pulled the master git, compile, installed and launched and I got this |
Can someone provide instructions instead of inaccurate comment on how to build this and fix this (after more than a year). |
I just tried to compile the latest master git and the problem persist...
…----- Mail original -----
De: "John Maguire" <notifications@github.com>
À: "clementine-player/Clementine" <Clementine@noreply.github.com>
Cc: "renn0xtek9" <renn0xtek9@laposte.net>, "Comment" <comment@noreply.github.com>
Envoyé: Dimanche 30 Septembre 2018 00:31:42
Objet: Re: [clementine-player/Clementine] core/database: configure fts3 tokenizer support (#5669)
Merged #5669 into master.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub , or mute the thread .
|
Original patch by Arfrever
This fixes #5297