Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > a864210633b68772804582d263edda6d > files > 1

etoys-5.0.2408-5.mga5.src.rpm

--- etoys-4.0.2229/configure.ac.orig	2009-08-05 17:57:36.000000000 +0000
+++ etoys-4.0.2229/configure.ac	2009-08-05 17:59:06.000000000 +0000
@@ -7,5 +7,6 @@
 AC_CONFIG_FILES([Makefile],      [chmod a-w Makefile])
 AC_CONFIG_FILES([etoys],         [chmod a-w etoys])
 AC_CONFIG_FILES([activity.info], [chmod a-w activity.info])
+AC_CONFIG_FILES([etoys.desktop], [chmod a-w etoys.desktop])
 
 AC_OUTPUT
--- /dev/null	2009-08-03 05:42:32.268034811 +0000
+++ etoys-4.0.2229/etoys.desktop.in	2009-08-05 17:59:26.000000000 +0000
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Etoys
+GenericName=An educational tool for teaching children powerful ideas
+Exec=@bindir@/etoys
+Type=Application
+Icon=@datadir@/etoys/activity-etoys.svg
+Categories=Education;Science;ComputerScience;
--- etoys-4.0.2229/Makefile.in.orig	2009-07-07 20:16:08.000000000 +0000
+++ etoys-4.0.2229/Makefile.in	2009-08-05 18:06:47.000000000 +0000
@@ -96,6 +96,9 @@
 		install -v -m 644 $$f $(etoysdir)/$$dir ; \
 	done
 	install -v -m 644 etoys.xml $(mimedir)
+	install -v -m 644 activity-etoys.svg $(etoysdir)
+	mkdir -p $(datadir)/applications
+	install -v -m 644 etoys.desktop $(datadir)/applications
 
 
 # install activity - only used from sugar-jhbuild