summaryrefslogtreecommitdiff
path: root/grc
diff options
context:
space:
mode:
authorjblum2008-09-30 23:56:59 +0000
committerjblum2008-09-30 23:56:59 +0000
commit3c593c11e470e92372cb0d8d9b28f0eb8a62b22a (patch)
tree8422f03a5f7638847b752896871997b30cfdc051 /grc
parentdf8ac9fe97f632b7ebe4d0f087f07ccf6c09383d (diff)
downloadgnuradio-3c593c11e470e92372cb0d8d9b28f0eb8a62b22a.tar.gz
gnuradio-3c593c11e470e92372cb0d8d9b28f0eb8a62b22a.tar.bz2
gnuradio-3c593c11e470e92372cb0d8d9b28f0eb8a62b22a.zip
robust check for xdg-utils
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9686 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'grc')
-rw-r--r--grc/Makefile.am7
-rw-r--r--grc/freedesktop/README20
2 files changed, 26 insertions, 1 deletions
diff --git a/grc/Makefile.am b/grc/Makefile.am
index 8b77fc31a..7f62f39b6 100644
--- a/grc/Makefile.am
+++ b/grc/Makefile.am
@@ -21,8 +21,13 @@
include $(top_srcdir)/grc/Makefile.inc
-SUBDIRS = $(XDG_UTILS) \
+SUBDIRS = \
data \
examples \
scripts \
src
+
+## append freedesktop to the list of subdirs when xdg utils are present
+if XDG_UTILS
+SUBDIRS += freedesktop
+endif
diff --git a/grc/freedesktop/README b/grc/freedesktop/README
new file mode 100644
index 000000000..0857ecc22
--- /dev/null
+++ b/grc/freedesktop/README
@@ -0,0 +1,20 @@
+##################################################
+# Freedesktop Notes
+##################################################
+
+This directory contains icons, a mime type, and menu files for grc.
+Installation of these files requires a set of tools called xdg-utils.
+xdg-utils will install files in a standard way according to the freedesktop.org standards.
+
+Desktop enviroments that implement these standards are gnome, kde, xfce, and others.
+If you have one of these desktop enviroments, xdg-utils should come installed.
+If xdg-utils is not installed, then this directory will be ignored by the build.
+
+The gtk IconTheme module locates the installed icons for use inside the grc app.
+On recent versions of gtk, IconTheme ignores the icons installed into the default theme.
+This presents a problem for the gnome file system browser, nautilus, and the grc app.
+As a solution, icons are also installed under the gnome theme.
+
+*.png files - these are the icons of various sizes
+*.desktop files - these are the menu items for grc executables
+*.xml file - this is the mime type for the saved flow graphs