Build a GnomeMusic Clone (Activity)
Casey.ellis (Talk | contribs) m (hide table of contents) |
(changed list format so its readable by this wiki (you could not follow it formerly, as everything was smashed together)) |
||
Line 24: | Line 24: | ||
=== Directions: === | === 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) | 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) | |
Revision as of 19:56, 12 February 2016
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. |
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.
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