Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-12-16 00:38:39 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-12-16 01:09:44 (GMT)
commit1751af13fafcaaf96c94b4e834e8ece36bf0a5f9 (patch)
treeaaefc784576d6bb5708e12c2f5c8c4482f7dc95e
parentc753396253364b26bc1c3e90b154c89c70c627e6 (diff)
Add a desktop file
-rw-r--r--.gitignore8
-rw-r--r--Makefile-data.am7
-rw-r--r--Makefile.am2
-rw-r--r--data/sugar-runner.desktop6
-rw-r--r--data/sugar-xo.svg7
5 files changed, 29 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 543beca..186271f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,4 +14,10 @@ depcomp
install-sh
missing
m4
-scripts/sugar-runner
+.libs
+*.gir
+*.typelib
+*.la
+*.lo
+libtool
+sugar-runner
diff --git a/Makefile-data.am b/Makefile-data.am
new file mode 100644
index 0000000..36490da
--- /dev/null
+++ b/Makefile-data.am
@@ -0,0 +1,7 @@
+applicationsdir = $(datadir)/applications
+applications_DATA = $(DATASRCDIR)/sugar-runner.desktop
+
+icondir = $(datadir)/icons/hicolor/scalable/apps
+icon_DATA = $(DATASRCDIR)/sugar-xo.svg
+
+EXTRA_DIST += $(applications_DATA) $(icon_DATA)
diff --git a/Makefile.am b/Makefile.am
index 31e0964..1667afc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,8 +1,10 @@
SCRIPTSDIR = $(top_srcdir)/scripts
LIBSRCDIR = $(top_srcdir)/lib
+DATASRCDIR = $(top_srcdir)/data
EXTRA_DIST =
CLEANFILES =
+include $(top_srcdir)/Makefile-data.am
include $(top_srcdir)/Makefile-scripts.am
include $(top_srcdir)/Makefile-lib.am
diff --git a/data/sugar-runner.desktop b/data/sugar-runner.desktop
new file mode 100644
index 0000000..482ed86
--- /dev/null
+++ b/data/sugar-runner.desktop
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Type=Application
+Name=Sugar
+Exec=sugar-runner
+Icon=sugar-xo
+Categories=Education;Teaching;
diff --git a/data/sugar-xo.svg b/data/sugar-xo.svg
new file mode 100644
index 0000000..b673179
--- /dev/null
+++ b/data/sugar-xo.svg
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?><!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd' [
+ <!ENTITY stroke_color "#010101">
+ <!ENTITY fill_color "#FFFFFF">
+]><svg enable-background="new 0 0 55 55" height="55px" version="1.1" viewBox="0 0 55 55" width="55px" x="0px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" y="0px"><g display="block" id="stock-xo_1_">
+ <path d="M33.233,35.1l10.102,10.1c0.752,0.75,1.217,1.783,1.217,2.932 c0,2.287-1.855,4.143-4.146,4.143c-1.145,0-2.178-0.463-2.932-1.211L27.372,40.961l-10.1,10.1c-0.75,0.75-1.787,1.211-2.934,1.211 c-2.284,0-4.143-1.854-4.143-4.141c0-1.146,0.465-2.184,1.212-2.934l10.104-10.102L11.409,24.995 c-0.747-0.748-1.212-1.785-1.212-2.93c0-2.289,1.854-4.146,4.146-4.146c1.143,0,2.18,0.465,2.93,1.214l10.099,10.102l10.102-10.103 c0.754-0.749,1.787-1.214,2.934-1.214c2.289,0,4.146,1.856,4.146,4.145c0,1.146-0.467,2.18-1.217,2.932L33.233,35.1z" fill="&fill_color;" stroke="&stroke_color;" stroke-width="3.5"/>
+ <circle cx="27.371" cy="10.849" fill="&fill_color;" r="8.122" stroke="&stroke_color;" stroke-width="3.5"/>
+</g></svg> \ No newline at end of file