Bug 99474 - digikam: allow build with a sqlite installation outside the digikam source
Summary: digikam: allow build with a sqlite installation outside the digikam source
Status: RESOLVED INTENTIONAL
Alias: None
Product: digikam
Classification: Applications
Component: Database-Sqlite (show other bugs)
Version: 0.7.0
Platform: unspecified Linux
: LO wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-15 20:19 UTC by Achim Bohnet
Modified: 2022-01-14 14:16 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.5.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Achim Bohnet 2005-02-15 20:19:43 UTC
Version:           0.7 (using KDE 3.3.2,  (3.1))
Compiler:          gcc version 3.3.5 (Debian 1:3.3.5-6)
OS:                Linux (i686) release 2.6.10-1-686

Wish:

using a sqlite already on the system
makes digikam (pkgs) smaller and is
easier to handle in case of sqlite
bugs/security fixes.

(Think about the mess the xdpf bugs,
were several pkgs had to be updated
because the used a xdpf source copy;)

Achim
Comment 1 Mikolaj Machowski 2005-02-16 01:26:08 UTC
> using a sqlite already on the system
> makes digikam (pkgs) smaller and is
> easier to handle in case of sqlite
> bugs/security fixes.

As was eplained in thread on kde-devel, not always external packages
have all features of sqlite needed by digikam. Moreover - for example
Mandrake doesn't include Qt sqlite interface into main distro packages.
Also digiKam development is moving quite fast and not everywhere is 
already sqlite3.


Comment 2 Achim Bohnet 2005-02-16 12:15:09 UTC
Hi Mikolaj,

> As was eplained in thread on kde-devel, not always external packages
> have all features of sqlite needed by digikam. Moreover - for example

sorry for not being precise enough.  I didn't want to replace it, only
a possibility to use it alternatively with default use included sqlite
(I also changed the prio of the wish to low).

Renchi mentioned that SuSE uses a patch to use an external sqlite.
The topic is low prioity (even for me) but maybe I'll try it one day.

AFAIU Renchi he does like to support a --with-included-sqlite[=yes]
configure switch (he knows for sure better the possible troubles
that can happen!).

It's fine with me to keep this wishlist open just as a reminder
and if sqlite things settle reconsider an optional switch for
external sqlite usage.

> Mandrake doesn't include Qt sqlite interface into main distro packages.
> Also digiKam development is moving quite fast and not everywhere is 
> already sqlite3.

Absolutely off topci but related ;) just saw this when I upgraded my
debian sarge system today ;)

...
amorak 1.1.1-2
...
    + SQLite 3 is now in the archive:
      - changed Build-Depends on libsqlite0-dev to libsqlite3-dev.
      - pass --without-included-sqlite to ./configure.
      - patch configure.in to check for sqlite3 (>= 3.0). Upstream forgot to
        update this check in the 1.1 series. [sqlite3_in_configure.in.patch]
...

;)
Achim
Comment 3 Renchi Raju 2005-03-06 18:18:51 UTC
i think you have misunderstood me. i'm _not_ in favor of including external sqlite support for reasons of a) thread-support b) utf-8 support not being available in many external sqlite libraries. 
suse does make use of a patch to support external sqlite. its for the packagers to decide whether they want to do the same. but it will not be a supported option from within digikam