Build a GnomeMusic Clone (Activity)

From Foss2Serve
Revision as of 19:06, 24 August 2015 by Mellostark (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Title Building 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.

Author Suzanne Mello-Stark, Alex Mezei
Prerequisite Knowledge Basic Linux Command line knowledge. If you need this knowledge, please complete the Linux Basic Command line activity.
Learning Objectives

Learners will gain a basic understanding of how to clone a module specifically gnome music.

Contents

Background:

To begin using the Gnome Music Application, you need to be able to clone it so you can make changes and submit.

= Directions:

1. 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. 2. 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/ . 3. At the bottom of that module-specific page there are the cloning instructions. In this case

git://git.gnome.org/gnome-musichttps://git.gnome.org/browse/gnome-music • ssh://USERNAME@git.gnome.org/git/gnome-music

4. Use the following steps: a. sudo yum-builddep gnome-music b. make [to run the make file] c. gnome-music [the gnome-music app will open and invite you to put music in a folder] d. you may first install gstreamer (using rpmfusion.org – enable RPM fusion…): sudo yum install gstreamer1-plugins-ugly 5. 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. 6. 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

7. sudo yum-builddep gnome-music 8. sudo mkdir /opt/gnome 9. Then, cd into the folder 10. Execute ./autogen.sh --prefix=/opt/gnome 11. 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 12. sudo make install


Deliverables:

Lab 3 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) a. What is a gnome-module? (5 points) b. What is the Git Repository? (5 points) c. Name three different gnome modules. (10 points) d. List the steps to build a cloned module. (20points) e. 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.


Additional Information:

Knowledge Area/Knowledge Unit Cloning Applications
Topic Cloning Gnome Music
Level of Difficulty Medium
Estimated Time to Completion 2 hours
Materials/Environment Access to a web browser/Internet. Access to the LINUX command line. This activity also works on the iOS command line.
Author Suzanne Mello-Stark, Alex Mezei
Source This is an original activity.
License Licensed CC BY-SA


Suggestions for the Open Source Project:

This activity can be used to begin to access the open source project vulnerabilities.


This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License

CC license.png

Personal tools
Namespaces
Variants
Actions
Events
Learning Resources
HFOSS Projects
Evaluation
Navigation
Toolbox