Bug 334594 - Cannot build package without Baloo
Summary: Cannot build package without Baloo
Status: RESOLVED FIXED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 4.13.0
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-11 00:56 UTC by ash
Modified: 2017-08-17 20:22 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ash 2014-05-11 00:56:05 UTC
The code cannot be compiled while skipping baloo support, to allow it to run on a system without baloo installed

The baloo part should be made possible to remove automatically by the config or by a DCMAKE flag

Reproducible: Always

Steps to Reproduce:
1. compile code
Actual Results:  
-----------------------------------------------------------------------------
-- The following REQUIRED packages could NOT be located on your system.
-- You must install these packages before continuing.
-----------------------------------------------------------------------------
   * Baloo Core Libraries  <https://projects.kde.org/projects/kde/kdelibs/baloo>
     Desktop-wide semantic information support

-----------------------------------------------------------------------------

CMake Error at /usr/share/apps/cmake/modules/MacroLogFeature.cmake:152 (MESSAGE):
  Exiting: Missing Requirements
Call Stack (most recent call first):
  CMakeLists.txt:101 (macro_display_feature_log)


-- Configuring incomplete, errors occurred!
See also "/home/ash/system/gwenview/src/build/CMakeFiles/CMakeOutput.log".
See also "/home/ash/system/gwenview/src/build/CMakeFiles/CMakeError.log".


Expected Results:  
Able to compile without depending on baloo
Comment 1 Christoph Feck 2014-05-16 21:11:17 UTC
Why? You do not complain that Gwenview needs the KDE libraries, which are much bigger than the baloo core library.
Comment 2 Christoph Feck 2014-06-08 12:44:02 UTC
If you can provide the information requested in comment #1, please add it.
Comment 3 ash 2014-06-12 07:37:57 UTC
Gwenview uses KDElibs, Qt, Libjpeg etc for its most basic functionality : Open/save dialogs, Drawing the UI, Decoding picture files. Each of those is essential for a program which purpose is a picture viewer

Gwenview uses Baloo to index or search for pictures based on semantic data. This is not in any way required for basic functionality, but only for the users who actually do use the semantic search features

In many other cases the semantic search functionality can be a problem - in many possible scenarios which are not the standard case of a private personal computer. Just a few examples include :

School or library computers where many students enter their private email etc all with the same OS user account, and do not expect the picture viewer to store any trace behind

IT department computer being used to rescue a valuable picture from a hard drive in its 5 last minutes of life, and requiring any effort to minimize disk access

Forensics lab computer which is not supposed to store any information of what it sees - not on the drive under investigation and not on its own drive



Gwenview without semantic search features is a fully functional picture viewer/manager without semantic search features. There is need to be able to build a baloo-less version

Gwenview can work without Baloo (i found a patch which another uses wrote, which just comments every refecence to Baloo functions. I compiled Baloo this way for my purposes), In contrast, it would not be possible to comment KDELibs functions and expect Gwenview to even work without them

In many KDE and generalli Linux programs, it is a set norm that when program A can work with program/library B installed providing extra functionality, yet it may be fully functional without the features provided by B, then B is made an optional dependency of A

What i am asking for in this bug report is, to let Gwenview function (less the semantic search) in a system in which Baloo is removed completly (which might be for purposes not related to Gwenview)
Comment 4 Rex Dieter 2014-06-13 13:10:07 UTC
baloo fileindexing is already possible to be disabled (or packaging-wise, can be split between the support libraries and the indexer itself).  making the gwenview baloo support optional at buildtime will only overly complicate matters further for little gain.

(if not obvious, hence, I think it's ok to close this wontfix)
Comment 5 ash 2014-06-16 08:08:45 UTC
What use are the support libraries without the indexer ?
Comment 6 Rex Dieter 2014-06-16 11:48:30 UTC
That's one current (and imo good) way of making the support modular
Comment 7 ash 2014-06-17 19:41:13 UTC
I mean this :

What does Gwenview with the Baloo libs when the separate package of Baloo binaries is not installed ?

Does it perform some sort of indexing or matching in its own right ?
Comment 8 Rex Dieter 2014-06-17 20:20:23 UTC
nothing, no, respectively.
Comment 9 ash 2014-06-19 07:33:06 UTC
Then what is the sense in making it hard-depend on the presence of Baloo libraries like it is now ?
Comment 10 c3767438 2014-07-09 22:11:27 UTC
I too would like to see Baloo (and Akonadi) gone entirely rather soon than later from my system. It just makes no sense that those 2 are so deep connected to KDE while most users either don't use them or want them gone for good. Therefore I too kindly ask that Baloo should be at most optional.
Comment 11 dE 2016-07-24 03:14:12 UTC
I would also request the same.

Can the version be changed to KDE 5?