Re: c++ plugins with Frameworks 5

2014-03-04 Thread Aaron J. Seigo
On Tuesday, March 4, 2014 11:52:11 David Faure wrote: > Unless someone has a plan for it, my suggestion would be, let's model it > after the upcoming app desktop cache, i.e. update it at install time. I'll This sounds perfect. In that vein, I did do some measuring of what takes time, and it reall

Re: c++ plugins with Frameworks 5

2014-03-04 Thread David Faure
On Tuesday 04 March 2014 11:21:06 Sebastian Kügler wrote: > On Tuesday, March 04, 2014 09:22:11 David Faure wrote: > > What I don't know is how much do we need support for queries that filter > > this further, and whether just reading the json from all the plugins of > > type "foo" is good enough.

Re: c++ plugins with Frameworks 5

2014-03-04 Thread Sebastian Kügler
On Tuesday, March 04, 2014 09:22:11 David Faure wrote: > What I don't know is how much do we need support for queries that filter > this further, and whether just reading the json from all the plugins of > type "foo" is good enough. In my tests it was expectedly slow: scaling linearly with number

Re: c++ plugins with Frameworks 5

2014-03-04 Thread David Faure
On Monday 03 March 2014 12:28:07 Aaron J. Seigo wrote: > do we want .desktop files as well as generated .json? > > if so, for applications that wish to put additional data in the json files, > is it expected that they continue to do this by adding more “X-Foo” > entries to the [Desktop Entry] gro

Re: c++ plugins with Frameworks 5

2014-03-03 Thread Aaron J. Seigo
On Monday, March 3, 2014 12:35:40 Alex Merry wrote: > Could we not extend scripty to do the same for the .json files? We most problably .. but I haven’t looked at scripty so do not know how much work it would be, and I try not to interfere with i18n workflows. but yes, this should be possible.

Re: c++ plugins with Frameworks 5

2014-03-03 Thread Alex Merry
On 03/03/14 11:28, Aaron J. Seigo wrote: > hello, > > over the weekend i wrote up a small tool that does what is needed for > libsprinter, which is a Qt5 library (no frameworks deps), to harvest > translations from .desktop files into .json files for inclusion in its > plugins. > > one decisio

c++ plugins with Frameworks 5

2014-03-03 Thread Aaron J. Seigo
hello, over the weekend i wrote up a small tool that does what is needed for libsprinter, which is a Qt5 library (no frameworks deps), to harvest translations from .desktop files into .json files for inclusion in its plugins. one decision i made while writing this was that .desktop files are no