On Wed Sep 06, 2023 at 02:16:29PM +0200, Antoine Jacoutot wrote:
> On Wed, Sep 06, 2023 at 12:52:35PM +0200, Rafael Sadowski wrote:
> > Stop staring baloo indexer in XDG based setup. Baloo can be a pain when
> > you have a lot of files to index in your $HOME. kn@ has found it the
> > hard way.
> > 
> > OK?
> 
> Woulnd't OnlyShowIn work in this case?

Good point, maybe. After a short research I would prefer the way Debian
is going and disable indexing by default:

https://salsa.debian.org/qt-kde-team/kde/baloo/-/blob/master/debian/patches/Disable-the-file-indexer-by-default.patch

Objections, Opinions?

> This way we can keep installing the @sample and let the admin change the 
> global
> default if wanted (and the user still has the ability to turn it on or off).
> 
> > Index: Makefile
> > ===================================================================
> > RCS file: /cvs/ports/devel/kf5/baloo/Makefile,v
> > retrieving revision 1.37
> > diff -u -p -u -p -r1.37 Makefile
> > --- Makefile        2 Sep 2023 21:18:26 -0000       1.37
> > +++ Makefile        6 Sep 2023 10:48:50 -0000
> > @@ -2,7 +2,7 @@ COMMENT =   KDE file search and metadata h
> >  DISTNAME = baloo-${VERSION}
> >  PKGNAME =  kf5-${DISTNAME}
> >  EPOCH =            0
> > -REVISION = 0
> > +REVISION = 1
> >  
> >  SHARED_LIBS +=  KF5Baloo                  5.0 # 4.0
> >  SHARED_LIBS +=  KF5BalooEngine            7.0 # 5.0
> > Index: pkg/PLIST
> > ===================================================================
> > RCS file: /cvs/ports/devel/kf5/baloo/pkg/PLIST,v
> > retrieving revision 1.26
> > diff -u -p -u -p -r1.26 PLIST
> > --- pkg/PLIST       2 Sep 2023 21:18:26 -0000       1.26
> > +++ pkg/PLIST       6 Sep 2023 10:48:50 -0000
> > @@ -61,7 +61,7 @@ share/examples/kf5-baloo/xdg/
> >  share/examples/kf5-baloo/xdg/autostart/
> >  @sample ${SYSCONFDIR}/xdg/autostart/
> >  share/examples/kf5-baloo/xdg/autostart/baloo_file.desktop
> > -@sample ${SYSCONFDIR}/xdg/autostart/baloo_file.desktop
> > +@comment @sample ${SYSCONFDIR}/xdg/autostart/baloo_file.desktop
> >  share/kf5/mkspecs/qt_Baloo.pri
> >  share/locale/ar/LC_MESSAGES/baloo_file5.mo
> >  share/locale/ar/LC_MESSAGES/baloo_file_extractor5.mo
> > 
> 
> -- 
> Antoine
> 

Reply via email to