mail-archives/monodevelop-patches-list/2004-March/000827.html

149 строки
5.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Monodevelop-patches-list] r1220 - trunk/MonoDevelop
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:monodevelop-patches-list%40lists.ximian.com?Subject=%5BMonodevelop-patches-list%5D%20r1220%20-%20trunk/MonoDevelop&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="000826.html">
<LINK REL="Next" HREF="000828.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Monodevelop-patches-list] r1220 - trunk/MonoDevelop</H1>
<B>commit-watcher at mono-cvs.ximian.com</B>
<A HREF="mailto:monodevelop-patches-list%40lists.ximian.com?Subject=%5BMonodevelop-patches-list%5D%20r1220%20-%20trunk/MonoDevelop&In-Reply-To="
TITLE="[Monodevelop-patches-list] r1220 - trunk/MonoDevelop">commit-watcher at mono-cvs.ximian.com
</A><BR>
<I>Sun Mar 21 16:27:11 EST 2004</I>
<P><UL>
<LI>Previous message: <A HREF="000826.html">[Monodevelop-patches-list] r1219 - trunk/MonoDevelop/gdldock/sources/gdl
</A></li>
<LI>Next message: <A HREF="000828.html">[Monodevelop-patches-list] r1221 - trunk/MonoDevelop
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#827">[ date ]</a>
<a href="thread.html#827">[ thread ]</a>
<a href="subject.html#827">[ subject ]</a>
<a href="author.html#827">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Author: jluke
Date: 2004-03-21 16:27:11 -0500 (Sun, 21 Mar 2004)
New Revision: 1220
Modified:
trunk/MonoDevelop/ChangeLog
trunk/MonoDevelop/Makefile.am
trunk/MonoDevelop/configure.in
Log:
+ * Makefile.am: support GNOME2.6 and fd.o way of mimetypes
+ and make it conditional on if update-mime-databade is installed
+ * monodevelop.xml: new mime file
Modified: trunk/MonoDevelop/ChangeLog
===================================================================
--- trunk/MonoDevelop/ChangeLog 2004-03-21 21:16:48 UTC (rev 1219)
+++ trunk/MonoDevelop/ChangeLog 2004-03-21 21:27:11 UTC (rev 1220)
@@ -2,6 +2,9 @@
* docs/WritingAddins.html: initial addin quick guide
* configure.in: Gtk# 0.18 is actually required
+ * Makefile.am: support GNOME2.6 and fd.o way of mimetypes
+ and make it conditional on if update-mime-databade is installed
+ * monodevelop.xml: new mime file
2004-03-21 John BouAntoun &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/monodevelop-patches-list">jba-mono at optusnet.com.au</A>&gt;
Modified: trunk/MonoDevelop/Makefile.am
===================================================================
--- trunk/MonoDevelop/Makefile.am 2004-03-21 21:16:48 UTC (rev 1219)
+++ trunk/MonoDevelop/Makefile.am 2004-03-21 21:27:11 UTC (rev 1220)
@@ -14,12 +14,28 @@
pixmapdir = $(gnome_data)/pixmaps
pixmap_DATA = monodevelop.png
+if ENABLE_XDGMIME
+
+# need to respect $XDG_DATA_DIR probably
+xdgmimedir = $(gnome_data)/mime/packages
+xdgmime_DATA = monodevelop.xml
+
+install-data-hook:
+ update-mime-database $(gnome_data)/mime
+
+uninstall-hook:
+ update-mime-database $(gnome_data)/mime
+
+else
+
mimeinfodir = $(gnome_data)/mime-info
mimeinfo_DATA = monodevelop.mime monodevelop.keys
applicationdir = $(gnome_data)/application-registry
application_DATA = monodevelop.applications
+endif
+
run: runmd
runmd: $(PROGRAM)
@@ -37,5 +53,5 @@
cd build/bin &amp;&amp; mono -O=inline --profile MonoPad.exe
EXTRA_DIST = $(bin_SCRIPTS) $(desktop_DATA) \
- $(mimeinfo_DATA) $(pixmap_DATA) $(application_DATA) KNOWN_ISSUES
+ $(mimeinfo_DATA) $(pixmap_DATA) $(application_DATA) $(xdgmime_DATA)
Modified: trunk/MonoDevelop/configure.in
===================================================================
--- trunk/MonoDevelop/configure.in 2004-03-21 21:16:48 UTC (rev 1219)
+++ trunk/MonoDevelop/configure.in 2004-03-21 21:27:11 UTC (rev 1220)
@@ -8,6 +8,7 @@
AC_PATH_PROG(MONO, mono)
AC_PATH_PROG(MCS, mcs)
+AC_PATH_PROG(XDGMIME, update-mime-database, no)
if test &quot;x$MONO&quot; = &quot;x&quot; ; then
AC_MSG_ERROR([Can't find &quot;mono&quot; in your PATH])
fi
@@ -94,6 +95,7 @@
AC_SUBST(gnome_prefix)
AM_CONDITIONAL(ENABLE_DEBUGGER, test &quot;x$enable_debugger&quot; = &quot;xyes&quot;)
+AM_CONDITIONAL(ENABLE_XDGMIME, test &quot;x$XDGMIME&quot;)
AC_OUTPUT([
Makefile
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="000826.html">[Monodevelop-patches-list] r1219 - trunk/MonoDevelop/gdldock/sources/gdl
</A></li>
<LI>Next message: <A HREF="000828.html">[Monodevelop-patches-list] r1221 - trunk/MonoDevelop
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#827">[ date ]</a>
<a href="thread.html#827">[ thread ]</a>
<a href="subject.html#827">[ subject ]</a>
<a href="author.html#827">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/monodevelop-patches-list">More information about the Monodevelop-patches-list
mailing list</a><br>
</body></html>