This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Get Hot New Stuff 1

Tags: ghns, course ghns, course ghns, course
(comma "," separated)
User avatar
frederik
Moderator
Posts
37
Karma
0
OS

Re: Get Hot New Stuff 1

Mon Feb 15, 2010 6:18 pm
Hi, dear all :)
I think we have a good number of people by now, so I think it's time to get started. I don't see a problem with starting with some more students, since there seem to be enough applications.
Now I'd like to sort out the few organizational things - mostly the "who does what" part, so we can actually start around Wednesday.
I'm happy that there were so many nice replies in such a short time!

I won't recommend any particular distribution, I personally like to look around and have used several different distributions for KDE development.
All big distributions should work, in the worst case compiling kdelibs by hand is needed. For someone new to development having kdelibs-dev packages around will make getting started easier. All big distributions provide the development packages. (I currently run opensuse and debian, but that should not influence your decision much - if you have some distribution set up, I'd say stick with it)

I don't expect this course to chew up all of our spare time ;)
The first goal is really to get the source from svn and get the apps compiled.
Next comes writing the actual patch. For someone experience, this wouldn't take much time, but the goal is to learn, not to hurry. I'm happy about any kind of question you have.

The actual programming will not take much time. I guess between 1 hour if you are fast and 5 hours in case of trouble. Of course we'll stumble over unexpected hindrances, fight dragons and have fun along the way.
User avatar
frederik
Moderator
Posts
37
Karma
0
OS

Re: Get Hot New Stuff 1

Mon Feb 15, 2010 6:19 pm
Here is who will participate as far as I can see:

Hans: Step and Kopete
briank: Okular and Plasma Weather
lliehu: KCMs (color, splash), KWordQuiz, KAnagram
_eti_: Kalzium, edu
deltaecho: Kalzium, Okular (Cantor is ported already)
ComaWhite: KStars and Marble
Dynamite: KDM and Style
aronasorman: Granatier
Daniel84: KCMs

There are several games left, so could either _eti_ or deltaecho imagin moving a bit in that direction?
Daniel84, can you check what KCMs need porting and choose two to begin with?
Daniel84
Registered Member
Posts
3
Karma
0
OS

Re: Get Hot New Stuff 1

Mon Feb 15, 2010 8:42 pm
Hello all, too.

Thx, frederik, for your initiative to support us to get into kde-devel.
I am currently compiling trunk and looking forward to get started.

Maybe also interesting for others:
Code: Select all
KDE/kdebase$ grep "KNewStuff" **/*.knsrc
apps/dolphin/src/khns/servicemenu.knsrc:[KNewStuff2]
runtime/kcontrol/emoticons/emoticons.knsrc:[KNewStuff2]
runtime/kcontrol/icons/icons.knsrc:[KNewStuff2]
runtime/knewstuff/khotnewstuff.knsrc:[KNewStuff3]
runtime/knewstuff/khotnewstuff_upload.knsrc:[KNewStuff3]
workspace/kcontrol/colors/colorschemes.knsrc:[KNewStuff2]
workspace/kcontrol/kdm/background/background.knsrc:[KNewStuff2]
workspace/kcontrol/kdm/kdm.knsrc:[KNewStuff2]
workspace/ksplash/kcm/ksplash.knsrc:[KNewStuff2]
workspace/ksysguard/gui/ksysguard.knsrc:[KNewStuff2]
workspace/kwin/clients/aurorae/src/aurorae.knsrc:[KNewStuff2]
workspace/plasma/desktop/shell/data/plasma-themes.knsrc:[KNewStuff2]
workspace/plasma/generic/wallpapers/image/wallpaper.knsrc:[KNewStuff3]


I'll take emoticons and icons to get started.
Wow, wait a moment: dolphin/servicemenu has a Khotnewstuff extension - cool, never seen it sofar.
If it has to be ported too, and if I'll get mine two others finished, I'd like to give this a try too. If no one else want to take it.

ciao, Daniel
briank
Registered Member
Posts
7
Karma
0
OS

Re: Get Hot New Stuff 1

Mon Feb 15, 2010 9:29 pm
Frederik
First, thank you for doing this, I've been wanting to get involved with KDE for a while now but never knew where to start.

Second, is there a way to change the install directory of things downloaded by kns3? looking throught the docs I only see 2 options: StandardResource and Target directory, which both put your download in a hidden directory .kde/share/apps/okular/ in my case. Which is a bit out of the way for an ebook. Otherwise would "Entry::List DownloadDialog::installedEntries ()" allow me to make a list of installed ebooks in a menu like the recent files menu?

I did a little playing around this morning and quickly switched the kns2 code in okular to kns3. Patch is here: http://okular_kns3.pastebin.com/m33c4fe60 generated with svn diff.
deltaecho
Registered Member
Posts
18
Karma
0
OS

Re: Get Hot New Stuff 1

Tue Feb 16, 2010 3:21 am
frederik wrote:There are several games left, so could either _eti_ or deltaecho imagin moving a bit in that direction?


Sure. Since @briank has already submitted a patch for Okular, I will begin working on Kalzium, and then knock out the remaining games.


"Many of life's failures are people who did not realize how close they were to success when they gave up."
Thomas Edison
User avatar
frederik
Moderator
Posts
37
Karma
0
OS

Re: Get Hot New Stuff 1

Tue Feb 16, 2010 1:25 pm
briank wrote:Second, is there a way to change the install directory of things downloaded by kns3? looking throught the docs I only see 2 options: StandardResource and Target directory, which both put your download in a hidden directory .kde/share/apps/okular/ in my case. Which is a bit out of the way for an ebook. Otherwise would "Entry::List DownloadDialog::installedEntries ()" allow me to make a list of installed ebooks in a menu like the recent files menu?

Right now there is no other option to install the files.
I wonder if the recent files menu is the right place to put the files.
It would also be possible to open each downloaded file automatically after download.

Indeed, you could use DownloadDialog::installedEntries() to find which files were installed. With KMimeType to figure out if the file is appropriate it can be opened with Okular.

For the path, you could test if setting
Code: Select all
InstallPath=Documents

in the knsrc file lets you install into /home/user/Documents/ for example.

I was reluctant to put this option into the official documentation since it was not used anywhere so far. If it works, maybe it's worth including it officially.

briank wrote:I did a little playing around this morning and quickly switched the kns2 code in okular to kns3. Patch is here: http://okular_kns3.pastebin.com/m33c4fe60 generated with svn diff.

Good job! I didn't test the patch yet.
I just spoke with Pino who used to be one of the Okular maintainers. So far get hot new stuff was disabled in Okular because they didn't have a good server to host the files. We'll work something out.
User avatar
frederik
Moderator
Posts
37
Karma
0
OS

Re: Get Hot New Stuff 1

Tue Feb 16, 2010 1:32 pm
Ok, so everybody that is not briank, don't be scared now, I didn't expect one of you just going ahead and doing everything in one day ;)

We'll just take our time.
If you want to chat, many KDE developers use IRC. You can ask questions regarding development in #kde-devel on freenode.

That channel is rather big and so for this course we'll meet up in #ghns on freenode. If you want to talk a bit or have specific questions, I'll be there :) (my nick is fregl).

And of course, please feel free to just post in this thread also. If we have interesting discussions on IRC, we'll put up a summary in the forums afterwards.
User avatar
frederik
Moderator
Posts
37
Karma
0
OS

Re: Get Hot New Stuff 1

Tue Feb 16, 2010 2:44 pm
Something that just came up on irc and might be relevant later:
openDesktop.org uses a REST API (documented here: http://www.freedesktop.org/wiki/Specifications/open-collaboration-services) and using a browser you can for example check the available categories - this is a very simple form of debugging. We found out that the Color Schemes are not in the list yet, so this will be fixed. Here is the list of categories:
http://api.opendesktop.org/v1/content/categories
briank
Registered Member
Posts
7
Karma
0
OS

Re: Get Hot New Stuff 1

Tue Feb 16, 2010 6:07 pm
updated okular diff, now saves to /home/usr/documents
http://okular_kns3.pastebin.com/d6e0754cc
_eti_
Registered Member
Posts
8
Karma
0
OS

Re: Get Hot New Stuff 1

Tue Feb 16, 2010 6:09 pm
deltaecho wrote:Sure. Since @briank has already submitted a patch for Okular, I will begin working on Kalzium, and then knock out the remaining games.

Then i will take Marble and KStars to start with.

As a sidequest i will try to compile kalzium with everything (equationsolver, avogadro). I didn't quit get it the first time.

Update: Uuups, just saw that Marble and KStar have alredy somebody... ther rest of kdeedu then!
_eti_
Registered Member
Posts
8
Karma
0
OS

Re: Get Hot New Stuff 1

Tue Feb 16, 2010 10:13 pm
@ComaWhite: Sorry, i just ported Marble. It was the only one i was able to compile :<

http://marblekns3.pastebin.com/m628ef4f
ruediger
Registered Member
Posts
1
Karma
0
OS

Re: Get Hot New Stuff 1

Tue Feb 16, 2010 10:19 pm
I also ported Marble :D . Didn't know about this session going on :-/.

http://codepad.org/wzFy1Ktc
http://mail.kde.org/pipermail/marble-de ... 00698.html
briank
Registered Member
Posts
7
Karma
0
OS

Re: Get Hot New Stuff 1

Wed Feb 17, 2010 3:58 am
Looks like okular is out, they had disabled kns2 as they felt it was outside the scope of what they wanted to build. Time to start on Plasma Weather I guess. :)
briank
Registered Member
Posts
7
Karma
0
OS

Re: Get Hot New Stuff 1

Wed Feb 17, 2010 5:37 am
And it looks like I'm late by 13 hours for Plasma weather as well: Revision 1091046: Use KNS3.

Anyone who's working might want to post to the project mailing lists to double check that the projects are interested and not already working on porting themselves if you haven't already.

Mailing Lists are here: https://mail.kde.org/mailman/listinfo/
User avatar
ComaWhite
KDE Developer
Posts
100
Karma
0
OS

Re: Get Hot New Stuff 1

Wed Feb 17, 2010 6:56 am
Oh don't worry about it. I wasn't about to since I had to fly across the country for a family thing.


Image
KDE Version: 4.6 (Beta 2) | Qt Version: 4.7.1
Aki IRC Developer http://www.akiirc.org/


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kesang, Sogou [Bot], Yahoo [Bot]