gnome menu entry installation added (may be buggy)
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 20 May 2001 20:16:52 +0000 (20:16 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 20 May 2001 20:16:52 +0000 (20:16 +0000)
ChangeLog.claws
Makefile.am
configure.in
sylpheed.desktop [new file with mode: 0644]
sylpheed.png [new file with mode: 0644]

index 73d5190..36ffd22 100644 (file)
@@ -1,3 +1,13 @@
+2001-05-20 [alfons]
+
+       Added installation of gnome specific things:
+
+       * Makefile.am: gnome conditional
+
+       * configure.in: check for installed gnome
+
+       * added sylpheed.png, sylpheed.desktop
+
 2001-05-20 [sergey]
 
        * src/pixmaps/stock_mail_reply_to_author.xpm: new file.
index 23a482d..8202bfb 100644 (file)
@@ -7,7 +7,21 @@ EXTRA_DIST = \
        TODO.jp \
        sylpheed.spec \
        sylpheed.spec.in \
-       autogen.sh
+       autogen.sh \
+       sylpheed.png \
+       sylpheed.desktop
+
+if SYLPHEED_GNOME
+pixmapdir=$(gnomedir)/share/pixmaps
+pixmap_DATA=sylpheed.png
+gnomapdir=$(gnomedir)/share/gnome/apps/Internet
+gnomap_DATA=sylpheed.desktop
+else
+pixmapdir=
+pixmap_DATA=
+gnomapdir=
+gnomap_DATA=
+endif
 
 BZIP2_ENV =
 
index 12bf7f0..9651452 100644 (file)
@@ -16,6 +16,14 @@ AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define)
 AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
 AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
 
+dnl GNOME installed?
+AC_PATH_PROG(GNOME_CONFIG, gnome-config, false)
+if test "$GNOME_CONFIG" != false; then
+       gnomedir="`gnome-config --prefix`"
+       AC_SUBST(gnomedir)
+fi
+AM_CONDITIONAL(SYLPHEED_GNOME, test -d "$gnomedir")
+
 dnl libtool versioning
 LT_RELEASE=$MAJOR_VERSION.$MINOR_VERSION
 LT_CURRENT=`expr $MICRO_VERSION - $INTERFACE_AGE`
diff --git a/sylpheed.desktop b/sylpheed.desktop
new file mode 100644 (file)
index 0000000..fa7ef91
--- /dev/null
@@ -0,0 +1,7 @@
+[desktop Entry]
+Name=Sylpheed
+Comment=Hello World
+Exec=sylpheed
+Icon=sylpheed.png
+Terminal=0
+Type=Application
diff --git a/sylpheed.png b/sylpheed.png
new file mode 100644 (file)
index 0000000..8a63447
Binary files /dev/null and b/sylpheed.png differ