Package: score-reading-trainer
Version: 0.1.4-1
Tags: patch
User: [email protected]
UserTags: debian-edu
In a Debian Edu Squeeze installation, score-reading-trainer is the
only application showing up in the non-translated and "Edutainment"
KDE menu section. The section also is missing a section icon, making
me believe it is a obsolete or non-official section.
A lot of other programs show up in the norwegian "Opplæring" section
(english Education). For example the GNU solfege package show up in
Opplæring->Diverse (Education->Miscellaneous), which seem like a
Opplæring->sensible place to find score-reading-trainer too. The
Opplæring->solfege desktop file is installed in
Opplæring->/usr/share/applications/, which I believe is the new place
Opplæring->to store desktop files.
The following untested patch should solve the issue. The categories
list was copied from solfege after removing the GNOME entry.
Please get this fix implemented in time before Squeeze freezes to
allow us to clean up the default Debian Edu menu slightly.
diff -ur score-reading-trainer-0.1.4/debian/rules
score-reading-trainer-0.1.4-pere/debian/rules
--- score-reading-trainer-0.1.4/debian/rules 2010-01-24 21:26:20.000000000
+0100
+++ score-reading-trainer-0.1.4-pere/debian/rules 2010-01-24
21:26:57.000000000 +0100
@@ -11,7 +11,7 @@
common-install-arch:: debian/score-reading-trainer.xpm
install -D -m 644 debian/score-reading-trainer.xpm
debian/score-reading-trainer/usr/share/pixmaps/score-reading-trainer.xpm
mv debian/score-reading-trainer/usr/bin/ScoreReadingTrainer
debian/score-reading-trainer/usr/bin/score-reading-trainer
- sed -i
$(DEB_DESTDIR)/usr/share/applnk/Edutainment/Miscellaneous/ScoreReadingTrainer.desktop
-e '/^Exec=/s/ScoreReadingTrainer/score-reading-trainer/'
+ sed -i
$(DEB_DESTDIR)/usr/share/applications/ScoreReadingTrainer.desktop -e
'/^Exec=/s/ScoreReadingTrainer/score-reading-trainer/'
chrpath -d $(DEB_DESTDIR)/usr/bin/score-reading-trainer
clean::
diff -ur score-reading-trainer-0.1.4/src/Makefile.am
score-reading-trainer-0.1.4-pere/src/Makefile.am
--- score-reading-trainer-0.1.4/src/Makefile.am 2007-08-25 21:51:03.000000000
+0200
+++ score-reading-trainer-0.1.4-pere/src/Makefile.am 2010-01-24
21:25:10.000000000 +0100
@@ -27,9 +27,9 @@
KDE_ICON = ScoreReadingTrainer
-# this is where the kdelnk file will go
-kdelnkdir = $(kde_appsdir)/Edutainment/Miscellaneous
-kdelnk_DATA = ScoreReadingTrainer.desktop
+# this is where the desktop file will go
+desktopdir = $(datadir)/applications
+desktop_DATA = ScoreReadingTrainer.desktop
# this is where the XML-GUI resource file goes
rcdir = $(kde_datadir)/ScoreReadingTrainer
diff -ur score-reading-trainer-0.1.4/src/ScoreReadingTrainer.desktop
score-reading-trainer-0.1.4-pere/src/ScoreReadingTrainer.desktop
--- score-reading-trainer-0.1.4/src/ScoreReadingTrainer.desktop 2007-08-25
21:51:03.000000000 +0200
+++ score-reading-trainer-0.1.4-pere/src/ScoreReadingTrainer.desktop
2010-01-24 21:21:25.000000000 +0100
@@ -9,3 +9,4 @@
Comment=Improve scoring reading skills.
Comment[es]=Mejorá tu habilidad para leer partituras.
Terminal=0
+Categories=Application;AudioVideo;Audio;Education;
Happy hacking,
--
Petter Reinholdtsen
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]