gnome-subtitles r972 - in trunk/src: . GnomeSubtitles/Execution



Author: pcastro
Date: Sun Mar  9 13:58:35 2008
New Revision: 972
URL: http://svn.gnome.org/viewvc/gnome-subtitles?rev=972&view=rev

Log:
Now uses a config file to set external library versions.

Added:
   trunk/src/GnomeSubtitles/Execution/gnome-subtitles.exe.config
Modified:
   trunk/src/Makefile.am

Added: trunk/src/GnomeSubtitles/Execution/gnome-subtitles.exe.config
==============================================================================
--- (empty file)
+++ trunk/src/GnomeSubtitles/Execution/gnome-subtitles.exe.config	Sun Mar  9 13:58:35 2008
@@ -0,0 +1,4 @@
+<configuration>
+	<dllmap dll="libenchant" target="libenchant.so.1" />
+	<dllmap dll="libgtkspell" target="libgtkspell.so.0" />
+</configuration>

Modified: trunk/src/Makefile.am
==============================================================================
--- trunk/src/Makefile.am	(original)
+++ trunk/src/Makefile.am	Sun Mar  9 13:58:35 2008
@@ -1,9 +1,10 @@
 gnomesubtitlesdir = $(pkglibdir)
-gnomesubtitles_DATA = $(ASSEMBLY)
+gnomesubtitles_DATA = $(ASSEMBLY) $(ASSEMBLY_CONFIG)
 GS_BUILDDIR = $(srcdir)/../build
 GS_DATADIR = $(srcdir)/../data
 
 ASSEMBLY = $(GS_BUILDDIR)/gnome-subtitles.exe
+ASSEMBLY_CONFIG = $(ASSEMBLY).config
 SUBLIB = $(GS_BUILDDIR)/sublib.dll
 GSTPB = $(GS_BUILDDIR)/GStreamerPlaybin.dll
 
@@ -46,6 +47,9 @@
 $(ASSEMBLY): $(GS_SOURCES) $(GS_RESOURCES)
 	$(MCS) $(MCS_FLAGS) -target:winexe -out:$(ASSEMBLY) $(GS_SYSTEM_REFERENCES:%=-r:%) $(GTKSHARP_LIBS) $(GS_RESOURCES:%=-resource:%) $(GS_SOURCES)
 
+$(ASSEMBLY_CONFIG):
+	cp -f $(srcdir)/GnomeSubtitles/Execution/gnome-subtitles.exe.config $(GS_BUILDDIR)
+
 bin_SCRIPTS = $(srcdir)/GnomeSubtitles/Execution/gnome-subtitles
 
 CLEANFILES = $(bin_SCRIPTS) $(ASSEMBLY) $(ASSEMBLY).mdb



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]