Build a GnomeMusic Clone (Activity)
Revision as of 16:10, 5 February 2017
Title |
Build a Cloned Module - Gnome Music App |
---|---|
Overview |
Gnome project comes with many different modules and gnome developers constantly add new modules to them. In order to become familiar with a particular module, you need to clone the module on your virtual machine. This lab is designed to go through the cloning process for the application, Gnome Music. |
Prerequisites |
|
Learning Objectives |
After successfully completing this activity, the learner should be able to:
|
Process Skills Practiced |
Background
To begin using the Gnome Music Application, you need to be able to clone it so you can make changes and submit.
Directions
- Open a browser and go to https://git.gnome.org/browse/ , the gnome Git Repository, which gives you a web interface for all gnome modules.
- Pick a module such as gnome-music and click on it. You should get a link like this https://git.gnome.org/browse/gnome-music/ .
- At the bottom of that module-specific page there are the cloning instructions. In this case
- git://git.gnome.org/gnome-music
- https://git.gnome.org/browse/gnome-music
- ssh://USERNAME@git.gnome.org/git/gnome-music
- Use the following steps:
- sudo yum-builddep gnome-music
- make [to run the make file]
- gnome-music [the gnome-music app will open and invite you to put music in a folder]
- you may first install gstreamer (using rpmfusion.org – enable RPM fusion…): sudo yum install gstreamer1-plugins-ugly
- For this lab, you can use the git clone. Before cloning the module, create a folder and cd to that folder. In this case, we create a folder called gnome-music in the home directory.
- Change the directory into the cloned folder. You can use one of the above commands such a , git://git.gnome.org/gnome-music to get the cloned module. The rest of the steps are the building steps. You have to make sure that you can build the cloned module and execute it. In order to build the module, or any other module you must be sure you have the build dependencies
- sudo yum-builddep gnome-music
- sudo mkdir /opt/gnome
- Then, cd into the folder
- Execute ./autogen.sh --prefix=/opt/gnome
- If you have any build issues, you need to install any missing build dependencies and redo step 8. For example, if you are missing foo, try yum search foo. In fedora, what you usually want in that circumstance is the package ending with devel . Then, you can install it with sudo yum install foo-devel
- sudo make install
Deliverables
Lab Rubric (100 points)
Screenshots (50 points)
- Cloning the module (15 points)
- Building the cloned module (20 points)
- Execute the cloned module (15 points)
Lab Questions (50 points)
- What is a gnome-module? (5 points)
- What is the Git Repository? (5 points)
- Name three different gnome modules. (10 points)
- List the steps to build a cloned module. (20points)
- List the commands to get the missing dependencies. (10 points)
Assessment
Verify the above rubric
Comments
Disclaimer. The tools used in this assessment are to be used responsibly. lawfully and ethically.
ACM BoK Area & Unit(s) |
|
---|---|
ACM BoK Topic(s) |
|
Difficulty |
Medium |
Estimated Time to Complete |
2 hours |
Environment / Materials |
|
Author(s) |
Suzanne Mello-Stark, Alex Mezei |
Source | |
License |
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License |
Suggestions for the Open Source Project
This activity can be used to begin to access the open source project vulnerabilities.