[banshee/gtk3] build: Don't copy gio-sharp-3.0 during installation



commit 0e2ba8988c79df85ac8ee8d8b19d9c11beae8ecd
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Sun Dec 4 15:44:36 2011 +0100

    build: Don't copy gio-sharp-3.0 during installation
    
    The assemblies for gio-sharp-3.0 are in the GAC, so we don't need to
    make a private copy during "make install".

 build/m4/banshee/gio.m4              |   14 --------------
 src/Backends/Banshee.Gio/Makefile.am |   14 --------------
 2 files changed, 0 insertions(+), 28 deletions(-)
---
diff --git a/build/m4/banshee/gio.m4 b/build/m4/banshee/gio.m4
index 412e138..cb9e3e6 100644
--- a/build/m4/banshee/gio.m4
+++ b/build/m4/banshee/gio.m4
@@ -1,7 +1,5 @@
 AC_DEFUN([BANSHEE_CHECK_GIO_SHARP],
 [
-	GNOMESHARP_REQUIRED=2.8
-	
 	AC_ARG_ENABLE(gio, AC_HELP_STRING([--disable-gio], [Disable GIO for IO operations]), ,enable_gio="yes")
 	AC_ARG_ENABLE(gio_hardware, AC_HELP_STRING([--disable-gio-hardware], [Disable GIO Hardware backend]), ,enable_gio_hardware="yes")
 	
@@ -10,18 +8,6 @@ AC_DEFUN([BANSHEE_CHECK_GIO_SHARP],
 			gio-sharp-3.0 >= 2.99,
 			enable_gio="$enable_gio", enable_gio=no)
 
-		asms="`$PKG_CONFIG --variable=Libraries gio-sharp-3.0`"
-		for asm in $asms; do
-			FILENAME=`basename $asm`
-			if [[ "`echo $SEENBEFORE | grep $FILENAME`" = "" ]]; then
-				GIOSHARP_ASSEMBLIES="$GIOSHARP_ASSEMBLIES $asm"
-				[[ -r "$asm.config" ]] && GIOSHARP_ASSEMBLIES="$GIOSHARP_ASSEMBLIES $asm.config"
-				[[ -r "$asm.mdb" ]] && GIOSHARP_ASSEMBLIES="$GIOSHARP_ASSEMBLIES $asm.mdb"
-				SEENBEFORE="$SEENBEFORE $FILENAME"
-			fi
-		done
-		AC_SUBST(GIOSHARP_ASSEMBLIES)
-
 		if test "x$enable_gio_hardware" = "xyes"; then
 			PKG_CHECK_MODULES(GUDEV_SHARP,
 				gudev-sharp-3.0 >= 0.2,
diff --git a/src/Backends/Banshee.Gio/Makefile.am b/src/Backends/Banshee.Gio/Makefile.am
index 1291cc8..5ae768e 100644
--- a/src/Backends/Banshee.Gio/Makefile.am
+++ b/src/Backends/Banshee.Gio/Makefile.am
@@ -36,22 +36,8 @@ SOURCES =  \
 
 RESOURCES = Banshee.Gio.addin.xml
 
-EXTRA_BUNDLE = $(GIOSHARP_ASSEMBLIES)
-
 if ENABLE_GIO
 include $(top_srcdir)/build/build.mk
-
-define EXTRA_INSTALL_DATA_HOOK
-	for ASM in $(GIOSHARP_ASSEMBLIES); do \
-		$(INSTALL) -m 0755 $$ASM $(DESTDIR)$(moduledir); \
-	done;
-endef
-
-define EXTRA_UNINSTALL_HOOK
-	for ASM in $(GIOSHARP_ASSEMBLIES); do \
-		rm -f $(DESTDIR)$(moduledir)/`basename $$ASM`; \
-	done;
-endef
 else
 EXTRA_DIST = $(SOURCES) $(RESOURCES)
 endif



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