Build a GnomeMusic Clone (Activity)

From Foss2Serve
Jump to: navigation, search


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
  • Basic Linux Command line knowledge. If you need this, please complete the Linux Basic Command line activity.
Learning
Objectives
After successfully completing this activity, the learner should be able to:
  • Understand how to clone a module specifically gnome music.
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

  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
  4. 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
  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 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
  • Access to a web browser/Internet.
  • Access to the LINUX command line. This activity also works on the iOS command line.
Author(s)

Suzanne Mello-Stark, Alex Mezei

Source
License

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

CC license.png


Suggestions for the Open Source Project

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

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