Locale compare

This fixes the sorting issues with umlauts on Ubuntu. 
It registers a custom collation function directly to sqlite. 
This will only work, if the libsqlite shares the same version with the sqlite implementation in Qt. 

To fix the search issue, we need to override the "LIKE" operator. 

Clementine has used this solution as well, but it was removed from the source. I have not figured out why.  
Sounds good -- default on linux and optional on others.
On Sep 23, 2014 2:58 AM, "Daniel Schürmann" <notifications@github.com>
wrote:

> In build/features.py:
>
> > @@ -1311,3 +1311,32 @@ def configure(self, build, conf):
> >          if not self.enabled(build):
> >              return
> >          build.env.Append(CPPDEFINES='__MACAPPSTORE__')
> > +
> > +class LocaleCompare(Feature):
> > +    def description(self):
> > +        return "Locale Aware Compare for Sqlite"
> > +
> > +    def default(self, build):
> > +        return 1
>
> I think we can go the risk on Linux, since all known distros uses Qt with
> the systems sqlite lib.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/mixxxdj/mixxx/pull/256/files#r17893944>.
>