summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/muine/files/muine-0.8.3-monodoc-update.diff')
-rw-r--r--media-sound/muine/files/muine-0.8.3-monodoc-update.diff79
1 files changed, 79 insertions, 0 deletions
diff --git a/media-sound/muine/files/muine-0.8.3-monodoc-update.diff b/media-sound/muine/files/muine-0.8.3-monodoc-update.diff
new file mode 100644
index 000000000000..a78bb6daa902
--- /dev/null
+++ b/media-sound/muine/files/muine-0.8.3-monodoc-update.diff
@@ -0,0 +1,79 @@
+diff -aur muine-0.8.3-orig/configure.in muine-0.8.3/configure.in
+--- muine-0.8.3-orig/configure.in 2005-05-04 10:01:12.000000000 -0700
++++ muine-0.8.3/configure.in 2006-01-21 11:58:46.000000000 -0800
+@@ -25,7 +25,7 @@
+ MONO_REQUIRED=1.0
+ GTKSHARP_REQUIRED=1.9.2
+ DBUSSHARP_REQUIRED=0.21
+-MONODOC_REQUIRED=0.16
++MONODOC_REQUIRED=1.1.8
+
+ dnl Audio backend stuff
+ AC_ARG_ENABLE(xine, [ --enable-xine=[no/yes] compile with libxine support.],,enable_xine=no)
+@@ -154,7 +154,11 @@
+ PKG_CHECK_MODULES(MONODOC, monodoc >= $MONODOC_REQUIRED, have_monodoc=yes, have_monodoc=no)
+ AM_CONDITIONAL(ENABLE_MONODOC, test "x$have_monodoc" = "xyes")
+
+-AC_PATH_PROG(MONODOC, monodoc)
++AC_PATH_PROG(MDASSEMBLER, mdassembler)
++AC_PATH_PROG(MONODOCER, monodocer)
++
++MONODOC_SOURCESDIR=`pkg-config --variable=sourcesdir monodoc`
++AC_SUBST(MONODOC_SOURCESDIR)
+
+ dnl Intl
+ ALL_LINGUAS="az bg ca cs da de en_CA en_GB es et eu fi fr hr hu is ja ko lt ms nb nl no pl pt pt_BR ro ru rw sr sr@Latn sv zh_CN"
+diff -aur muine-0.8.3-orig/doc/Makefile.am muine-0.8.3/doc/Makefile.am
+--- muine-0.8.3-orig/doc/Makefile.am 2005-01-06 19:22:19.000000000 -0800
++++ muine-0.8.3/doc/Makefile.am 2006-01-21 11:56:10.000000000 -0800
+@@ -1,34 +1,36 @@
+ if ENABLE_MONODOC
+ TARGETS = muine-docs.zip muine-docs.tree muine-docs.source
+
++ASSEMBLIES = \
++ $(top_builddir)/PluginLib/muine-plugin.dll \
++ $(top_builddir)/DBusLib/muine-dbus.dll
++
++ASSEMBLIES_BUILD = $(foreach asm,$(ASSEMBLIES),$(addprefix -assembly:,$(asm)))
++
+ install-data-local:
+- mkdir -p $(DESTDIR)/`monodoc --get-sourcesdir`
++ mkdir -p $(DESTDIR)/$(MONODOC_SOURCESDIR)
+ install -m 644 $(srcdir)/muine-docs.source \
+- $(DESTDIR)/`monodoc --get-sourcesdir`
++ $(DESTDIR)/$(MONODOC_SOURCESDIR)
+ install -m 644 muine-docs.tree \
+- $(DESTDIR)/`monodoc --get-sourcesdir`
++ $(DESTDIR)/$(MONODOC_SOURCESDIR)
+ install -m 644 muine-docs.zip \
+- $(DESTDIR)/`monodoc --get-sourcesdir`
++ $(DESTDIR)/$(MONODOC_SOURCESDIR)
+
+ uninstall-local:
+- rm -f $(DESTDIR)/`monodoc --get-sourcesdir`/muine-docs.source
+- rm -f $(DESTDIR)/`monodoc --get-sourcesdir`/muine-docs.tree
+- rm -f $(DESTDIR)/`monodoc --get-sourcesdir`/muine-docs.zip
++ rm -f $(DESTDIR)/$(MONODOC_SOURCESDIR)/muine-docs.source
++ rm -f $(DESTDIR)/$(MONODOC_SOURCESDIR)/muine-docs.tree
++ rm -f $(DESTDIR)/$(MONODOC_SOURCESDIR)/muine-docs.zip
+ else
+ TARGETS =
+ endif
+
+ noinst_DATA = $(TARGETS)
+
+-ASSEMBLER = $(MONODOC) --assemble
+-UPDATER = $(MONODOC) --update
+-
+ muine-docs.zip muine-docs.tree: $(srcdir)/en/*/*.xml $(srcdir)/en/*.xml
+- $(ASSEMBLER) --ecma $(srcdir)/en -o muine-docs
++ $(MDASSEMBLER) --ecma $(srcdir)/en -o muine-docs
+
+-update:
+- $(UPDATER) $(top_builddir)/PluginLib/muine-plugin.dll -o ./en -f
+- $(UPDATER) $(top_builddir)/DBusLib/muine-dbus.dll -o ./en -f
++update: $(ASSEMBLIES)
++ $(MONODOCER) $(ASSEMBLIES_BUILD) -path:en -updateto:en -delete
+
+ CLEANFILES = muine-docs.zip muine-docs.tree
+