Okular development help

2020-06-08 Thread Matthew Taylor
Hi

I've been a web developer for about 15 years but recently I've been
learning C++ and would like a project to start developing to help myself
practice using C++.

So when it comes to systems programming I'm a novice.

I've been using okular for a number of years and like it very much.
However, I suspect it may be the cause of some system crashes I've been
experiencing recently.  So I'd like to develop my knowledge of the okular
codebase and c++ debugging to enable me to diagnose these problems if and
when they occur.  As an okular user I also have some ideas for improvements.

I'm running OpenSuse Leap 15.1 with KDE 20.04.  I've got KDevelop 5.5.1 and
I've checked out the okular sources, set up the project in KDevelop and got
it to build (after installing many packages to find cmake files!).  So I'm
linking against system libraries at the moment I assume.

What I'd like to know/understand is how I can help and what do I need to
set up (dev environment wise) in order to be useful.

Should I also have KDE/Qt sources checked out and build/link against them?
  What version of GCC/G++ do you compile using?  Is there a c++ standard
that you target C++11,14,17,20 etc

Once I've got a handle on the dev environment then, the best place to start
I imagine would be just picking up bugs.  I've found
https://phabricator.kde.org/project/view/158/ which seems to be the tasks
for the next release.  Are they just the most prioritised bugs?  If I fix
bugs which are not on the workboard will they be included?

I'm sure you are going to come back with lots of information regarding how
to develop Okular, if it doesn't already exist somewhere that I've missed
perhaps it could be updated on the https://community.kde.org/Okular page.

I'm currently hanging out on IRC #okular if you want to say hi.
Which/where is the best channel for communication with the okular devs?

Kind regards

Mat Taylor


Re: Okular development help

2020-06-08 Thread Oliver Sander
Hi Mat,

welcome to Okular development.  There is lots of fun stuff to do!

> Should I also have KDE/Qt sources checked out and build/link against them?

No, that is not necessary.

>   What version of GCC/G++ do you compile using?  Is there a c++ standard that 
> you target C++11,14,17,20 etc

Any C++14-compliant compiler should be fine.


> 
> Once I've got a handle on the dev environment then, the best place to start I 
> imagine would be just picking up bugs. 

Yes.  Look around at

  
https://bugs.kde.org/buglist.cgi?bug_status=UNCONFIRMED&bug_status=CONFIRMED&bug_status=ASSIGNED&bug_status=REOPENED&list_id=1753989&product=okular&query_format=advanced

if there is anything that strikes your fancy.


 I've found https://phabricator.kde.org/project/view/158/ which seems to be the 
tasks for the next release.  Are they just the most prioritised bugs?

That doesn't look like a very useful page, to be honest.

>  If I fix bugs which are not on the workboard will they be included?

Certainly!

> 
> I'm sure you are going to come back with lots of information regarding how to 
> develop Okular, if it doesn't already exist somewhere that I've missed 
> perhaps it could be updated on the https://community.kde.org/Okular page.
> 
> I'm currently hanging out on IRC #okular if you want to say hi.  Which/where 
> is the best channel for communication with the okular devs?

This mailing list, and the kde gitlab instance at 
https://invent.kde.org/graphics/okular/

I don't personally use IRC, so I don't really know what to expect there.

Enjoy,
Oliver

> 
> Kind regards
> 
> Mat Taylor



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Okular development help

2020-06-09 Thread Albert Astals Cid
El dimarts, 9 de juny de 2020, a les 7:46:34 CEST, Oliver Sander va escriure:
>  I've found https://phabricator.kde.org/project/view/158/ which seems to be 
> the tasks for the next release.  Are they just the most prioritised bugs?

It's not a list of prioritised bugs, it's just a list of tasks, not a 
particularly complete one.

If you don't see the difference between a task and a bug.

https://phabricator.kde.org/T4157 is clearly a task, there's no "bug" that 
would be solved from not using QWidgets in OkularCore, it would just make the 
code better.

Cheers,
  Albert




Re: Okular development help

2020-06-09 Thread Albert Astals Cid
El dilluns, 8 de juny de 2020, a les 22:59:24 CEST, Matthew Taylor va escriure:
> I'm sure you are going to come back with lots of information regarding how
> to develop Okular, if it doesn't already exist somewhere that I've missed
> perhaps it could be updated on the https://community.kde.org/Okular page.

That "Top bugs and feature requests" list on that page needs to die, it's just 
a copy of bugs.kde.org data waiting to be outdated.

Cheers,
  Albert

> 
> I'm currently hanging out on IRC #okular if you want to say hi.
> Which/where is the best channel for communication with the okular devs?
> 
> Kind regards
> 
> Mat Taylor
>