]> Pileus Git - aweather/commitdiff
Add desktop files and pixmaps
authorAndy Spencer <andy753421@gmail.com>
Sat, 24 Oct 2009 18:21:15 +0000 (18:21 +0000)
committerAndy Spencer <andy753421@gmail.com>
Sat, 24 Oct 2009 18:21:15 +0000 (18:21 +0000)
data/.gitignore
data/Makefile.am
data/aweather.desktop [new file with mode: 0644]
data/aweather.svg [new file with mode: 0644]

index 13c906e0a3edc76b6e832ece17e82a7a1ed74bc8..0d9808b1be4fce9d07376031fd4773b7c35f4bbd 100644 (file)
@@ -1 +1,2 @@
 aweather
+*.png
index 79d45bb3786337fcb11b2af7b82d2af1674d725c..6aa6e4fe8a5b8d4627bbd10d996f4f5a6f63eb9a 100644 (file)
@@ -4,5 +4,14 @@ dist_gtkbuilder_DATA = main.ui
 configdir = $(datadir)/aweather/
 dist_config_DATA = defaults.ini
 
+desktopdir = $(datadir)/applications
+dist_desktop_DATA = aweather.desktop
+
+pixmapdir = $(datadir)/pixmaps
+dist_pixmap_DATA = aweather.png
+
+.svg.png:
+       convert $< $@
+
 maintainer-clean-local:
        rm -f Makefile.in
diff --git a/data/aweather.desktop b/data/aweather.desktop
new file mode 100644 (file)
index 0000000..7019aca
--- /dev/null
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+Name=AWeather
+Comment=Advanced weather reporting program
+Exec=aweather
+Terminal=false
+Icon=aweather.png
+Categories=Education;Science;Geoscience
diff --git a/data/aweather.svg b/data/aweather.svg
new file mode 100644 (file)
index 0000000..f5dadbd
--- /dev/null
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg xmlns="http://www.w3.org/2000/svg" width="150" height="150">
+
+       <title>thundery showers</title>
+
+       <rect width="150" height="150" fill="#3be" stroke="none"/>
+
+       <g style="stroke-width:7;stroke:#ff0">
+               <line x1="2" y1="67" x2="19" y2="67" transform="rotate(-20, 55, 67)" />
+               <line x1="2" y1="67" x2="19" y2="67" transform="rotate(4, 55, 67)" />
+               <line x1="2" y1="67" x2="19" y2="67" transform="rotate(28, 55, 67)" />
+               <line x1="2" y1="67" x2="19" y2="67" transform="rotate(52, 55, 67)" />
+               <line x1="2" y1="67" x2="19" y2="67" transform="rotate(76, 55, 67)" />
+       </g>
+
+
+       <g fill="none" stroke-width="12" stroke-linecap="round" stroke="#666" >
+               <path d="M 75 55 A 23 23, 0, 1, 0 55,90 L 60,90"/>
+               <path d="M 110,90 115,90 A 21 21, 0, 1, 0 115,45" />
+               <path d="M 105 60 A 25 25, 0, 1, 0 65,45 "  />
+       </g>
+
+       <polygon points="82,110 67,110 82,80 97,80 87,100 102,100 67,150" stroke="none" fill="#dee" />
+
+</svg>