Re: RFC: plasmoid templates in plasma-sdk

2015-11-19 Thread Aleix Pol
On Thu, Nov 19, 2015 at 5:50 PM, Marco Martin  wrote:
> On Thursday 19 November 2015, Sebastian Kügler wrote:
>> On Wednesday, November 18, 2015 11:37:16 AM Marco Martin wrote:
>> > On Monday 16 November 2015, Sebastian Kügler wrote:
>> > > > yes, makes sense, most important is to have them in places harder to
>> > > > forget about
>> > >
>> > > If in plasma-framework, it would kind of fit in with all the example
>> > > plasmoid code. Not sure if that, or plasma-sdk, both make sense to me,
>> > > perhaps plasma- sdk a bit more, even.
>> >
>> > sooo, plasma-sdk or plasma-framework? is the same for me, i have them
>> > ready,  just to push wherever
>> >
>> > the argument for plasma-framework to me is *if* other frameworks are
>> > going to  have their own templates in their repos as well
>>
>> Let's go for plasma-framework.
>
> ok then.
> now, another technical question (looking mostly at Aleix as ide-related tools
> master:p) templates right now are installed by a quite complicated cmake macro
> that is in kapptemplate as well (it creates a tarball from the sources and
> then installs the tarball)
> so..
> since frameworks can't depend from kapptemplate for said cmake macro...
>
> if many frameworks will end up having project templates, that should go in
> extra-cmake-modules? if so and is something of global frameworks interest i
> can try to go for such a global macro before pushing the rest
>
> --
> Marco Martin

Yes, I think it's the best way to go: to get the macro itself in
extra-cmake-modules. Adding as CC current maintainer of KAppTemplate.
It's with him that we discussed that.

If you want, before working on the patch, you can send an e-mail to
frameworks to agree to go at once somehow.

Cheers!
Aleix
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: RFC: plasmoid templates in plasma-sdk

2015-11-19 Thread Sebastian Kügler
On Wednesday, November 18, 2015 11:37:16 AM Marco Martin wrote:
> On Monday 16 November 2015, Sebastian Kügler wrote:
> > > yes, makes sense, most important is to have them in places harder to
> > > forget about
> >
> > 
> >
> > If in plasma-framework, it would kind of fit in with all the example
> > plasmoid code. Not sure if that, or plasma-sdk, both make sense to me,
> > perhaps plasma- sdk a bit more, even.
> 
> sooo, plasma-sdk or plasma-framework? is the same for me, i have them
> ready,  just to push wherever
> 
> the argument for plasma-framework to me is *if* other frameworks are going
> to  have their own templates in their repos as well

Let's go for plasma-framework.
-- 
sebas

http://www.kde.org | http://vizZzion.org

___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: RFC: plasmoid templates in plasma-sdk

2015-11-19 Thread Marco Martin
On Thursday 19 November 2015, Sebastian Kügler wrote:
> On Wednesday, November 18, 2015 11:37:16 AM Marco Martin wrote:
> > On Monday 16 November 2015, Sebastian Kügler wrote:
> > > > yes, makes sense, most important is to have them in places harder to
> > > > forget about
> > > 
> > > If in plasma-framework, it would kind of fit in with all the example
> > > plasmoid code. Not sure if that, or plasma-sdk, both make sense to me,
> > > perhaps plasma- sdk a bit more, even.
> > 
> > sooo, plasma-sdk or plasma-framework? is the same for me, i have them
> > ready,  just to push wherever
> > 
> > the argument for plasma-framework to me is *if* other frameworks are
> > going to  have their own templates in their repos as well
> 
> Let's go for plasma-framework.

ok then.
now, another technical question (looking mostly at Aleix as ide-related tools 
master:p) templates right now are installed by a quite complicated cmake macro 
that is in kapptemplate as well (it creates a tarball from the sources and 
then installs the tarball)
so..
since frameworks can't depend from kapptemplate for said cmake macro...

if many frameworks will end up having project templates, that should go in 
extra-cmake-modules? if so and is something of global frameworks interest i 
can try to go for such a global macro before pushing the rest

-- 
Marco Martin
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: RFC: plasmoid templates in plasma-sdk

2015-11-18 Thread Marco Martin
On Monday 16 November 2015, Sebastian Kügler wrote:
> > yes, makes sense, most important is to have them in places harder to
> > forget about
> 
> If in plasma-framework, it would kind of fit in with all the example
> plasmoid code. Not sure if that, or plasma-sdk, both make sense to me,
> perhaps plasma- sdk a bit more, even.

sooo, plasma-sdk or plasma-framework? is the same for me, i have them ready, 
just to push wherever ;)

the argument for plasma-framework to me is *if* other frameworks are going to 
have their own templates in their repos as well

-- 
Marco Martin
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: RFC: plasmoid templates in plasma-sdk

2015-11-16 Thread Sebastian Kügler
On Friday, November 13, 2015 02:42:30 PM Marco Martin wrote:
> On Friday 13 November 2015 14:05:50 Aleix Pol wrote:
> > > I'm planning to move it to plasma-sdk (together with a new one for an
> > > hybrid QML/C++)  that it gets a bit less forgotten than the
> > > long-forgotten kapptemplate
> > >
> > > 
> > >
> > > thoughts?
> >
> > 
> >
> > Maybe it should be installed by plasma-framework?
> 
> I tought about plasma-sdk because is the general repository of things you
> need  to develop plasma things and you don't need otherwise
> 
> not sure putting it in plasma-framework, would it always be installed? or 
> installed in the -devel package? (they are tarballs, are they generally 
> allowed in distros  in -devel packages?)
> 
> > The plan in general is to remove a place for templates and have them
> > offered by the projects as an upstream. i.e. Calligra for their
> > template, maybe also KParts, etc.
> > This way the template would be installed together with the -dev distro
> > packages.
> 
> yes, makes sense, most important is to have them in places harder to forget 
> about

If in plasma-framework, it would kind of fit in with all the example plasmoid 
code. Not sure if that, or plasma-sdk, both make sense to me, perhaps plasma-
sdk a bit more, even.
-- 
sebas

http://www.kde.org | http://vizZzion.org
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


RFC: plasmoid templates in plasma-sdk

2015-11-13 Thread Marco Martin
Hi,
After someone again asked how to make a new plasmoid, i rememebered
there used to be a plasmoid template for kapptemplate/kdevelop, but
while it's ported to kf5, it's a bit abandoned.
I'm planning to move it to plasma-sdk (together with a new one for an
hybrid QML/C++)  that it gets a bit less forgotten than the
long-forgotten kapptemplate

thoughts?

--
Marco Martin
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: RFC: plasmoid templates in plasma-sdk

2015-11-13 Thread Aleix Pol
On Fri, Nov 13, 2015 at 1:24 PM, Marco Martin  wrote:
> Hi,
> After someone again asked how to make a new plasmoid, i rememebered
> there used to be a plasmoid template for kapptemplate/kdevelop, but
> while it's ported to kf5, it's a bit abandoned.
> I'm planning to move it to plasma-sdk (together with a new one for an
> hybrid QML/C++)  that it gets a bit less forgotten than the
> long-forgotten kapptemplate
>
> thoughts?

Maybe it should be installed by plasma-framework?

The plan in general is to remove a place for templates and have them
offered by the projects as an upstream. i.e. Calligra for their
template, maybe also KParts, etc.
This way the template would be installed together with the -dev distro packages.

Aleix
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: RFC: plasmoid templates in plasma-sdk

2015-11-13 Thread Luca Beltrame
In data venerdì 13 novembre 2015 14:05:50 CET, Aleix Pol ha scritto:

> This way the template would be installed together with the -dev distro
> packages.

+1 to that. As a packager, that would probably make things easier.

-- 
Luca Beltrame - KDE Forums team
KDE Science supporter
GPG key ID: A29D259B

signature.asc
Description: This is a digitally signed message part.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: RFC: plasmoid templates in plasma-sdk

2015-11-13 Thread Marco Martin
On Friday 13 November 2015 14:05:50 Aleix Pol wrote:
> > I'm planning to move it to plasma-sdk (together with a new one for an
> > hybrid QML/C++)  that it gets a bit less forgotten than the
> > long-forgotten kapptemplate
> > 
> > thoughts?
> 
> Maybe it should be installed by plasma-framework?

I tought about plasma-sdk because is the general repository of things you need 
to develop plasma things and you don't need otherwise

not sure putting it in plasma-framework, would it always be installed? or 
installed in the -devel package? (they are tarballs, are they generally 
allowed in distros  in -devel packages?)

> The plan in general is to remove a place for templates and have them
> offered by the projects as an upstream. i.e. Calligra for their
> template, maybe also KParts, etc.
> This way the template would be installed together with the -dev distro
> packages.

yes, makes sense, most important is to have them in places harder to forget 
about

-- 
Marco Martin
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel