Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
9d1432e
Remove new activities before creating new Makefiles.
oleastre Aug 14, 2012
d37e8ca
Temporary solution: solve geography build problem.
oleastre Aug 14, 2012
a2ec494
Add explore activity build files.
oleastre Aug 14, 2012
770a9ab
Build explore activity.
oleastre Aug 14, 2012
252a213
Added note_names activity build files.
oleastre Aug 14, 2012
a92e3eb
Build note_names activity.
oleastre Aug 14, 2012
e0c2c85
Added piano_composition build files, and modified existing one to inc…
oleastre Aug 14, 2012
ca7834a
Build piano_composition activity.
oleastre Aug 14, 2012
93e610f
Added/modified play_rhythm activity build files.
oleastre Aug 14, 2012
133db54
Build play_rythm activity
oleastre Aug 14, 2012
4af6dcd
Build play_piano activity.
oleastre Aug 14, 2012
518ed39
Install the eggs in the nest and hope easter will come.
oleastre Aug 20, 2012
6fa20bc
Temporary solution: install melodies.desktop.in
oleastre Aug 21, 2012
06dc2a6
Use path relative to gcompris installation (and not gcompris source)
oleastre Aug 21, 2012
323f8a6
Updated explore world music build files.
oleastre Aug 21, 2012
3a2a500
Build explore world music activity.
oleastre Aug 21, 2012
0eedccd
Added/updated explore farm animals activity.
oleastre Aug 21, 2012
0867cfb
Build explore farm animals activity.
oleastre Aug 21, 2012
0d3e1aa
Added/updated explore world animals activity build files.
oleastre Aug 21, 2012
2dcd3b4
Build explore world animals activity.
oleastre Aug 21, 2012
4f1a817
Remove deleted files from makefiles.
oleastre Aug 22, 2012
17ebf6d
synchronize installed files with Bruno's changes.
oleastre Aug 26, 2012
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 34 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ AC_SUBST(CFLAGS)
AC_SUBST(LIBS)

dnl Autoconf output
AC_OUTPUT([ src/piano_player-activity/Makefile src/name_identification-activity-activity/Makefile src/note_names-activity/Makefile src/world_music-activity/Makefile src/explore_world_template-activity/Makefile src/world_explore_template-activity/Makefile src/intro_gravity-activity/Makefile src/explore_world_music-activity/Makefile src/explore-activity/Makefile src/explore-activity/Makefile src/explore_world_animals-activity/Makefile src/new-activity/Makefile src/explore_world_animals-activity/Makefile src/explore_world_animals-activity/Makefile src/play_piano-activity/Makefile src/play_rhythm-activity/Makefile src/piano_composition-activity/Makefile src/explore_farm_animals-activity/Makefile src/explore_farm_animals-activity/Makefile src/justtesting-activity/Makefile
AC_OUTPUT([
Makefile
Makefile.mingw
autopackage/Makefile
Expand Down Expand Up @@ -656,6 +656,18 @@ src/erase-activity/resources/Makefile
src/erase-activity/resources/erase/Makefile
src/erase_2clic-activity/Makefile
src/erase_clic-activity/Makefile
src/explore-activity/Makefile
src/explore-activity/resources/Makefile
src/explore-activity/resources/explore/Makefile
src/explore_farm_animals-activity/Makefile
src/explore_farm_animals-activity/resources/Makefile
src/explore_farm_animals-activity/resources/explore_farm_animals/Makefile
src/explore_world_animals-activity/Makefile
src/explore_world_animals-activity/resources/Makefile
src/explore_world_animals-activity/resources/explore_world_animals/Makefile
src/explore_world_music-activity/Makefile
src/explore_world_music-activity/resources/Makefile
src/explore_world_music-activity/resources/explore_world_music/Makefile
src/fifteen-activity/Makefile
src/fifteen-activity/resources/Makefile
src/fifteen-activity/resources/fifteen/Makefile
Expand Down Expand Up @@ -792,6 +804,7 @@ src/money_cents-activity/Makefile
src/mosaic-activity/Makefile
src/mosaic-activity/resources/Makefile
src/mosaic-activity/resources/mosaic/Makefile
src/note_names-activity/Makefile
src/paintings-activity/Makefile
src/paintings-activity/resources/Makefile
src/paintings-activity/resources/paintings/Makefile
Expand All @@ -804,9 +817,29 @@ src/penalty-activity/resources/penalty/Makefile
src/photohunter-activity/Makefile
src/photohunter-activity/resources/Makefile
src/photohunter-activity/resources/photohunter/Makefile
src/piano_composition-activity/Makefile
src/piano_composition-activity/resources/Makefile
src/piano_composition-activity/resources/piano_composition/Makefile
src/piano_composition-activity/resources/piano_composition/bass_pitches/Makefile
src/piano_composition-activity/resources/piano_composition/bass_pitches/1/Makefile
src/piano_composition-activity/resources/piano_composition/bass_pitches/2/Makefile
src/piano_composition-activity/resources/piano_composition/bass_pitches/4/Makefile
src/piano_composition-activity/resources/piano_composition/bass_pitches/8/Makefile
src/piano_composition-activity/resources/piano_composition/buttons/Makefile
src/piano_composition-activity/resources/piano_composition/playActivities/Makefile
src/piano_composition-activity/resources/piano_composition/playActivities/background/Makefile
src/piano_composition-activity/resources/piano_composition/treble_pitches/Makefile
src/piano_composition-activity/resources/piano_composition/treble_pitches/1/Makefile
src/piano_composition-activity/resources/piano_composition/treble_pitches/2/Makefile
src/piano_composition-activity/resources/piano_composition/treble_pitches/4/Makefile
src/piano_composition-activity/resources/piano_composition/treble_pitches/8/Makefile
src/planegame-activity/Makefile
src/planegame-activity/resources/Makefile
src/planegame-activity/resources/planegame/Makefile
src/play_piano-activity/Makefile
src/play_rhythm-activity/Makefile
src/play_rhythm-activity/resources/Makefile
src/play_rhythm-activity/resources/play_rhythm/Makefile
src/pythontemplate-activity/Makefile
src/pythontest-activity/Makefile
src/railroad-activity/Makefile
Expand Down
10 changes: 9 additions & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
install-activity:
for i in $(SUBDIRS); do $(MAKE) -C $$i $@ || break 0; done

SUBDIRS = justtesting-activity explore_farm_animals-activity explore_farm_animals-activity piano_composition-activity play_rhythm-activity play_piano-activity got_rhythm-activity explore_world_animals-activity explore_world_animals-activity new-activity explore_world_animals-activity explore-activity explore-activity explore_world_music-activity intro_gravity-activity world_explore_template-activity explore_world_template-activity world_music-activity note_names-activity name_identification-activity-activity piano_player-activity \
SUBDIRS = \
administration-activity \
advanced_colors-activity \
algebra_by-activity \
Expand Down Expand Up @@ -45,6 +45,10 @@ SUBDIRS = justtesting-activity explore_farm_animals-activity explore_farm_animal
erase-activity \
erase_2clic-activity \
erase_clic-activity \
explore-activity \
explore_farm_animals-activity \
explore_world_animals-activity \
explore_world_music-activity \
fifteen-activity \
findit-activity \
followline-activity \
Expand Down Expand Up @@ -104,11 +108,15 @@ SUBDIRS = justtesting-activity explore_farm_animals-activity explore_farm_animal
money_back_cents-activity \
money_cents-activity \
mosaic-activity \
note_names-activity \
paintings-activity \
paratrooper-activity \
penalty-activity \
photohunter-activity \
piano_composition-activity \
planegame-activity \
play_piano-activity \
play_rhythm-activity \
pythontemplate-activity \
pythontest-activity \
railroad-activity \
Expand Down
10 changes: 10 additions & 0 deletions src/explore-activity/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Passthrough, do not break uplevel make rule
install-activity:

SUBDIRS = resources

pythondir = $(PYTHON_PLUGIN_DIR)

dist_python_DATA= explore.py

EXTRA_DIST = init_path.sh
6 changes: 5 additions & 1 deletion src/explore-activity/explore.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@
RECORD_LOCATIONS = False
# -----------------------------------------------------------------------------

ExploreActivityResourcesFilepath = '..//src/explore-activity/resources/explore/'
ExploreActivityResourcesFilepath = "%s/explore/" % gcompris.DATA_DIR

#Uncomment following line to run gcompris in the build folder.
#ExploreActivityResourcesFilepath = '..//src/explore-activity/resources/explore/'

class Gcompris_explore:

def __init__(self, gcomprisBoard):
Expand Down
14 changes: 14 additions & 0 deletions src/explore-activity/resources/explore/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/explore
img_DATA = \
border.png \
defaultCompletedLocationPic.png \
defaultLocationPic.png \
default.png \
happyFace.png \
playbutton.png \
ribbon.png \
sadFace.png \
star.png \
winner.png

EXTRA_DIST = $(img_DATA)
8 changes: 1 addition & 7 deletions src/explore_farm_animals-activity/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
# Passthrough, do not break uplevel make rule
install-activity:

SUBDIRS =

pythondir = $(PYTHON_PLUGIN_DIR)

dist_python_DATA= explore_farm_animals.py


SUBDIRS = resources

xmldir = $(pkgdatadir)/@PACKAGE_DATA_DIR@

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/explore_farm_animals
img_DATA = \
cat.jpg\
cat.ogg\
chicken.jpg\
chickens.ogg\
content.desktop.in\
cow.jpg\
cow.ogg\
dog.jpg\
dog.ogg\
duck.jpg\
duck.ogg\
farm-animals.jpg\
horse.jpg\
horse.ogg\
owl.jpg\
owl.ogg\
pig.jpg\
pig.ogg\
questionpic.png\
rooster.jpg\
rooster.ogg

EXTRA_DIST = $(img_DATA)
8 changes: 1 addition & 7 deletions src/explore_world_animals-activity/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
# Passthrough, do not break uplevel make rule
install-activity:

SUBDIRS =

pythondir = $(PYTHON_PLUGIN_DIR)

dist_python_DATA= explore_world_animals.py


SUBDIRS = resources

xmldir = $(pkgdatadir)/@PACKAGE_DATA_DIR@

Expand Down
1 change: 1 addition & 0 deletions src/explore_world_animals-activity/resources/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SUBDIRS = explore_world_animals
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/explore_world_animals
img_DATA = \
bison.jpg\
content.desktop.in\
giraffe.jpg\
hedgy.jpg\
jaggy.jpg\
narwhal.jpg\
tux.png\
world.jpg

EXTRA_DIST = $(img_DATA)
8 changes: 1 addition & 7 deletions src/explore_world_music-activity/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
# Passthrough, do not break uplevel make rule
install-activity:

SUBDIRS =

pythondir = $(PYTHON_PLUGIN_DIR)

dist_python_DATA= explore_world_music.py


SUBDIRS = resources

xmldir = $(pkgdatadir)/@PACKAGE_DATA_DIR@

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/explore_world_music
img_DATA = \
africa.jpg\
africa.ogg\
america.jpg\
america.ogg\
australia.jpg\
australia.ogg\
beethoven.ogg\
content.desktop.in\
dancingWorld.png\
ireland.jpg\
ireland.ogg\
italy.jpg\
italy.ogg\
japan.jpg\
japan.ogg\
mexico.jpg\
mexico.ogg\
middleeast.jpg\
middleeast.ogg\
orchestra.jpg\
suitcase.png\
worldmap.jpg

EXTRA_DIST = $(img_DATA)
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ img_DATA = \
portugal.png \
romania.png \
russia.png \
serbia.png \
montenegro.png \
serbia_montenegro.png \
slovakia.png \
slovenia.png \
spain.png \
Expand Down
1 change: 1 addition & 0 deletions src/note_names-activity/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
note_names.xml
35 changes: 35 additions & 0 deletions src/note_names-activity/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Passthrough, do not break uplevel make rule
install-activity:

SUBDIRS =

pythondir = $(PYTHON_PLUGIN_DIR)

dist_python_DATA= note_names.py



xmldir = $(pkgdatadir)/@PACKAGE_DATA_DIR@

xml_in_files = \
note_names.xml.in


xml_DATA = $(xml_in_files:.xml.in=.xml)

# Do not use the INTLTOOL_XML_RULE, we don't need to embed the translations
# in the file themselves. GCompris pick the translations from the po file at
# runtime.
#
$(xml_DATA): %.xml: %.xml.in
sed -e "s/\(<\{1\}\/*\)_/\1/g" $< > $@

# Use this directive and instead of the one above to embed the translations
# in the xml files directly, this is needed for the tool gcompris2spip
#@INTLTOOL_XML_RULE@

icondir = $(pkgdatadir)/@PACKAGE_DATA_DIR@
icon_DATA = note_names.svg

EXTRA_DIST = $(icon_DATA) ${xml_in_files} init_path.sh
CLEANFILES = $(xml_DATA)
2 changes: 0 additions & 2 deletions src/note_names-activity/resources/Makefile.am

This file was deleted.

4 changes: 2 additions & 2 deletions src/piano_composition-activity/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Passthrough, do not break uplevel make rule
install-activity:

SUBDIRS =
SUBDIRS = resources

pythondir = $(PYTHON_PLUGIN_DIR)

dist_python_DATA= piano_composition.py
dist_python_DATA= piano_composition.py gcomprismusic.py



Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
SUBDIRS = bass_pitches buttons playActivities treble_pitches

imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/piano_composition
img_DATA = \
bach.jpg\
banana.png\
bassClef.png\
blackflat.png\
blacksharp.png\
eighthNote.png\
flag.png\
gsoc2012.jpg\
halfNote.png\
happyNote.png\
keyboard.png\
load.png\
melodies.desktop.in\
mozart.jpg\
note_highlight.png\
quarterNote.png\
sadNote.png\
save.png\
trebleClef.png\
wholeNote.png



EXTRA_DIST = $(img_DATA)
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/piano_composition/bass_pitches/1
img_DATA = \
\-1.wav \
1.wav \
\-2.wav \
2.wav \
\-3.wav \
3.wav \
\-4.wav \
4.wav \
\-5.wav \
5.wav \
6.wav \
7.wav \
8.wav

EXTRA_DIST = $(img_DATA)

Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/piano_composition/bass_pitches/2
img_DATA = \
\-1.wav \
1.wav \
\-2.wav \
2.wav \
\-3.wav \
3.wav \
\-4.wav \
4.wav \
\-5.wav \
5.wav \
6.wav \
7.wav \
8.wav

EXTRA_DIST = $(img_DATA)

Loading