Plasma/Plasma Media Center/getting started with PMC: Difference between revisions

From KDE Community Wiki
(Initial wiki of getting started with PMC)
 
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== 1. Introduction ==
== Introduction ==
Plasma media Center (PMC) is KDE's Media Center which allow you to play your favourite songs, view lovely pictures and watch viedos together at one place.
Plasma media Center (PMC) is KDE's Media Center which allow you to play your favourite songs, view lovely pictures and watch viedos together at one place.


This wiki page is created mainly tell how and from where a person should start with in order to contribute into this project.
This wiki page is created mainly tell how and from where a person should start with in order to contribute into this project. Our main wiki page related to Plasma Media Center is available at http://community.kde.org/Plasma/Plasma_Media_Center


== 2. Source Code==
== Source Code==
You can browse Plasma Media center source code at https://projects.kde.org/projects/extragear/multimedia/plasma-mediacenter/repository
You can browse Plasma Media center source code at https://projects.kde.org/projects/extragear/multimedia/plasma-mediacenter/repository


To do git clone source, you can use following in your terminal
To get the current source code from git, you can use following in your terminal
$ git clone git://anongit.kde.org/plasma-mediacenter
    $ git clone git://anongit.kde.org/plasma-mediacenter


== 3. Package dependency ==
== Package dependency ==
You need to install follwoing package before compiling PMC source code
Please install package dependency according to what distro you are using from  http://sinny.io/2012/10/24/pmcinstall/
* Following Required devel pacakge:  
 
    * kde-workspace
== Building source ==
    * qt-mobility
*Go inside plasma-mediacenter folder
    * taglib
      $ cd plasma-mediacenter
    * nepomuk-core
*Now, create a build directory. build directory will contain all binaries, libraries generated by make
* kffmpegthumbnailer as optional
      $ mkdir build
* Enter into build directory
      $ cd build
* Run cmake in source directory, you can also provide custom path in option -DCMAKE_INSTALL_PREFIX to tell where your final binary should get installed
      $ cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
* Run make command to generate binaries
      $ make or,
      $ make -j(n+1)        # here, n = number of CPU available in your system
* Now, install binaries to path mentioned in option -DCMAKE_INSTALL_PREFIX
      $ sudo make install
* Now, run kbuildsycoca4 in order to get plugins loaded
      $ kbuildsycoca4
 
-  You can also take help from blog  http://sinny.in/2012/10/24/pmcinstall/
 
== Bug report and fixes ==
Once you are done with successful installation, run plasma-mediacenter and it should launch.
* You can file bug related to PMC at https://bugs.kde.org/enter_bug.cgi?product=plasma-mediacenter&format=guided
* You can also take a look at existing bugs in PMC https://bugs.kde.org/component-report.cgi?product=plasma-mediacenter  and can try to fix them
 
== Submitting patch ==
Done some fixes in code? You can send us your patch for getting reviewed
* Goto url https://git.reviewboard.kde.org/ 
* upload patch
* Update required information along with summary
* In group section, add group as "plasma"
* In case you want your code reviewed by specifice people, enter corresponding email id in people section
 
== Getting Help  ==
If you have any question or need any kind of help then
* You can send email on plasma-devel Mailing List https://mail.kde.org/mailman/listinfo/plasma-devel . We would love to help you :)
* You can also ping us on IRC channel #plasma on freenode

Latest revision as of 13:09, 6 August 2015

Introduction

Plasma media Center (PMC) is KDE's Media Center which allow you to play your favourite songs, view lovely pictures and watch viedos together at one place.

This wiki page is created mainly tell how and from where a person should start with in order to contribute into this project. Our main wiki page related to Plasma Media Center is available at http://community.kde.org/Plasma/Plasma_Media_Center

Source Code

You can browse Plasma Media center source code at https://projects.kde.org/projects/extragear/multimedia/plasma-mediacenter/repository

To get the current source code from git, you can use following in your terminal

    $ git clone git://anongit.kde.org/plasma-mediacenter

Package dependency

Please install package dependency according to what distro you are using from http://sinny.io/2012/10/24/pmcinstall/

Building source

  • Go inside plasma-mediacenter folder
     $ cd plasma-mediacenter
  • Now, create a build directory. build directory will contain all binaries, libraries generated by make
     $ mkdir build
  • Enter into build directory
     $ cd build
  • Run cmake in source directory, you can also provide custom path in option -DCMAKE_INSTALL_PREFIX to tell where your final binary should get installed
     $ cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
  • Run make command to generate binaries
     $ make or,
     $ make -j(n+1)         # here, n = number of CPU available in your system
  • Now, install binaries to path mentioned in option -DCMAKE_INSTALL_PREFIX
      $ sudo make install
  • Now, run kbuildsycoca4 in order to get plugins loaded
      $ kbuildsycoca4

- You can also take help from blog http://sinny.in/2012/10/24/pmcinstall/

Bug report and fixes

Once you are done with successful installation, run plasma-mediacenter and it should launch.

Submitting patch

Done some fixes in code? You can send us your patch for getting reviewed

  • Goto url https://git.reviewboard.kde.org/
  • upload patch
  • Update required information along with summary
  • In group section, add group as "plasma"
  • In case you want your code reviewed by specifice people, enter corresponding email id in people section

Getting Help

If you have any question or need any kind of help then