libicu dependancy

2023-09-17 Thread Michael Reeves
Is libicu in the CI images already?


Re: libicu dependancy

2023-09-17 Thread christoph

On 2023-09-17 20:59, Michael Reeves wrote:

Is libicu in the CI images already?


Hi,

i assume for Qt it is there, but is there a need to use it directly?

Qt should provide a lot of stuff that allows to skip that.

Greetings
Christoph


Re: libicu dependancy

2023-09-17 Thread Ingo Klöcker
On Sonntag, 17. September 2023 20:59:12 CEST Michael Reeves wrote:
> Is libicu in the CI images already?

Yes, look at the output of a job that builds a CI image to see what's 
installed in the image:
https://invent.kde.org/sysadmin/ci-images/-/jobs
Click Finished to hide jobs that didn't run.

For example https://invent.kde.org/sysadmin/ci-images/-/jobs/1193867 shows 
that libicu-devel is installed in the suse-qt65 image.

Regards,
Ingo


signature.asc
Description: This is a digitally signed message part.


Re: KCoreDirLister::setMimeExcludeFilter()

2023-09-17 Thread Albert Astals Cid
El diumenge, 16 de juliol de 2023, a les 8:46:44 (CEST), Albert Astals Cid va 
escriure:
> El dissabte, 29 d’abril de 2023, a les 12:17:06 (CEST), Albert Astals Cid va
> escriure:
> > El dimecres, 26 d’abril de 2023, a les 18:09:44 (CEST), Jonathan Marten va
> > 
> > escriure:
> > > Hello,
> > > 
> > > This has been deprecated in 5.100 with the comment "no known users".
> > > Unfortunately there is a use in Kooka, where it is used to configure a
> > > KDirOperator (via its KDirLister) to only show files and not
> > > directories.  This happens at
> > > 
> > > https://invent.kde.org/graphics/kooka/-/blob/master/app/thumbview.cpp#L8
> > > 4
> > > 
> > > Although KDirOperator has setMode(KFile::Modes), setting this to
> > > KFile::File or KFile::Files seems to only affect the selection mode and
> > > does not stop directories from being shown.
> > > 
> > > The API doc for KCoreDirLister::setMimeExcludeFilter() says "Filtering
> > > should be done with KFileFilter", but from the current KFileFilter doc
> > > it appears that this will only be able to be an "include this file or
> > > MIME type type" filter, not an "exclude" one.
> > > 
> > > Is there currently - or will there be in the future - a way to configure
> > > a KDirOperator in a "files only" mode, in the same way as "directories
> > > only" is currently supported?  If it turns out that
> > > KDirOperator::setMode()
> > > is intended to be have that effect, then I'd be happy to investigate why
> > > it doesn't.
> > 
> > I guess we should report that deprecation since the assumpion of the
> > deprecation is just wrong.
> > 
> > Nico any reason against bringing it back?
> 
> Please see https://invent.kde.org/frameworks/kio/-/merge_requests/1300

We have now brought it back both in kf6 and kf5 branches.

Cheers,
  Albert

> 
> Cheers,
>   Albert
> 
> > Cheers,
> > 
> >   Albert
> >   
> > > Best regards,