1 |
I studied this problem with Suominen help and I got these conclusions: |
2 |
|
3 |
1) sqlite2 should stay bundled since it is used just to backport old digikam database (< 0.8.0) to new database based on sqlite3. |
4 |
|
5 |
2) I can't unbundled lprof because all of the three available versions can't be installed on my system (AMD64). |
6 |
|
7 |
3) I also can't unbundled clapack, because the portage package that I suppose to provide clapack, lapack-atlas, depends on blas-atlas that I can't install on my system due to compilations errors. |
8 |
|
9 |
4) libjpeg doesn't seem to be bundled since the original configuration script checks for it. But, the source code on libs/jpegutils seems to use headers from libjpeg-6b. At portage, we have libjpeg-7, so Souminen alerted me that it could have some incompatibility. If it was confirmed, we shall write an e-mail to digikam devs asking them to update it. |
10 |
|
11 |
5) The only library that I successfully unbundled was libpgf that was recently added to portage. Nevertheless, the current portage ebuild installs a wrong libpgf.pc, because it states that the include directory is /usr/include but it really is /usr/include/libpgf (can anyone fix it or should I open a bug?). |
12 |
|
13 |
Original line: includedir=${prefix}/include |
14 |
Modification that should be maid: includedir=${prefix}/include/libpgf |
15 |
|
16 |
ONLY WITH THIS MODIFICATION, my patch and ebuild that I attached works. This patch unbundled libpgf. |
17 |
Obs.: The patch can be easily modified to overcome this error on libpgf.pc, but I think it is more adequate correct it first. |
18 |
|
19 |
I emerged digikam-1.0.0 with this ebuild and everything that I tested works perfectly. I also verify that PGF support is working and I checked that it is really dynamically linked to the library libpgf (when I remove it, digikam doesn't start saying that libpgf wasn't found). |
20 |
|
21 |
Since it was the first time that I have done something like it, I'm asking for help to avoid any mistakes, that's why I won't send this patch to bug 295459 by now. |
22 |
|
23 |
Regards, |
24 |
-- |
25 |
Ronan Arraes Jardim Chagas |
26 |
Control and Automation Engineer |
27 |
Gentoo Foundation Member |
28 |
|
29 |
Em Segunda-feira 21 Dezembro 2009, às 11:46:51, Samuli Suominen escreveu: |
30 |
> media-gfx/digikam is rotting outdated in tree with copies of *dozen* |
31 |
> internal libraries, like *five* copies of sqlite, including sqlite-2. |
32 |
> |
33 |
> Anyone intrested in maintaining it & unbundling the libraries? |
34 |
> |
35 |
> |
36 |
> -- |
37 |
> Bundling internal copies of libraries, |
38 |
> |
39 |
> https://bugs.gentoo.org/show_bug.cgi?id=206934 |
40 |
> https://bugs.gentoo.org/show_bug.cgi?id=258463 |
41 |
> |
42 |
> But above doesn't cover them all, it's coming also with copy of e.g. |
43 |
> media-libs/jpeg-6b and several others. |
44 |
> |
45 |
> Version 1.0.0 final been released, |
46 |
> |
47 |
> https://bugs.gentoo.org/show_bug.cgi?id=295459 |
48 |
> -- |
49 |
> |
50 |
> |
51 |
> Thanks, Samuli |
52 |
> |
53 |
> |