SOURCES: dotnet-gtksourceview-sharp2-install.patch (NEW), dotnet-g...

freetz freetz at pld-linux.org
Wed Nov 30 17:30:19 CET 2005


Author: freetz                       Date: Wed Nov 30 16:30:19 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- from dotnet-gtksourceview DEVEL branch

---- Files affected:
SOURCES:
   dotnet-gtksourceview-sharp2-install.patch (NONE -> 1.1)  (NEW), dotnet-gtksourceview-sharp2-mint.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/dotnet-gtksourceview-sharp2-install.patch
diff -u /dev/null SOURCES/dotnet-gtksourceview-sharp2-install.patch:1.1
--- /dev/null	Wed Nov 30 17:30:19 2005
+++ SOURCES/dotnet-gtksourceview-sharp2-install.patch	Wed Nov 30 17:30:13 2005
@@ -0,0 +1,11 @@
+--- gtksourceview-sharp-2.0-0.10/configure.in.orig	2005-05-14 22:19:45.000000000 +0200
++++ gtksourceview-sharp-2.0-0.10/configure.in	2005-05-19 16:18:16.000000000 +0200
+@@ -54,7 +54,7 @@
+ 	AC_MSG_ERROR([No gacutil tool found])
+ fi
+ 
+-GACUTIL_FLAGS='/package gtksourceview-sharp-2.0 /root $(DESTDIR)$(prefix)/lib'
++GACUTIL_FLAGS='/package gtksourceview-sharp-2.0 /root $(DESTDIR)$(libdir)'
+                                      
+ AC_SUBST(RUNTIME)
+ AC_SUBST(CSC)

================================================================
Index: SOURCES/dotnet-gtksourceview-sharp2-mint.patch
diff -u /dev/null SOURCES/dotnet-gtksourceview-sharp2-mint.patch:1.1
--- /dev/null	Wed Nov 30 17:30:19 2005
+++ SOURCES/dotnet-gtksourceview-sharp2-mint.patch	Wed Nov 30 17:30:13 2005
@@ -0,0 +1,71 @@
+diff -Nuard gtksourceview-sharp-0.5.orig/configure.in gtksourceview-sharp-0.5/configure.in
+--- gtksourceview-sharp-0.5.orig/configure.in	2004-06-29 21:13:06.000000000 +0200
++++ gtksourceview-sharp-0.5/configure.in	2004-07-03 20:40:26.020454424 +0200
+@@ -12,39 +12,37 @@
+ 	AC_MSG_ERROR(['pkg-config' is not in your PATH.])
+ fi
+ 
+-AC_PATH_PROG(MONO, mono, no)
+-if test "x$PKG_CONFIG" = "xno"; then
+-	AC_MSG_ERROR(['mono' is not in your PATH.])
+-fi
+-AC_SUBST(MONO)
+-
+-PKG_CHECK_MODULES(MONO, mono >= 0.96)
+-AC_SUBST(MONO_CFLAGS)
+-AC_SUBST(MONO_LIBS)
+-
+-PKG_CHECK_MODULES(MONO_DEPENDENCY, mono, has_mono=true, has_mono=false)
++PKG_CHECK_MODULES(MONO_DEPENDENCY, mono >= 0.96, has_mono=true, has_mono=false)
++PKG_CHECK_MODULES(MONO_DEPENDENCY, mint >= 0.96, has_mint=true, has_mint=false)
+ 
+ if test "x$has_mono" = "xtrue"; then
+-if test `uname -s` = "Darwin"; then
+-    AC_PATH_PROG(RUNTIME, mint, no)
+-    AC_PATH_PROG(CSC, mcs, no)
+-    LIB_PREFIX=
+-    LIB_SUFFIX=.dylib
+-else
+-    AC_PATH_PROG(RUNTIME, mono, no)
+-    AC_PATH_PROG(CSC, mcs, no)
+-    LIB_PREFIX=.so
+-    LIB_SUFFIX=
+-fi
+-else
+-AC_PATH_PROG(CSC, csc.exe, no)
+-if test x$CSC = "xno"; then
+-    AC_MSG_ERROR([You need to install either mono or .Net])
++    if test `uname -s` = "Darwin"; then
++	AC_PATH_PROG(RUNTIME, mono, no)
++	AC_PATH_PROG(CSC, mcs, no)
++	LIB_PREFIX=
++	LIB_SUFFIX=.dylib
++    else
++	AC_PATH_PROG(RUNTIME, mono, no)
++	AC_PATH_PROG(CSC, mcs, no)
++	LIB_PREFIX=.so
++	LIB_SUFFIX=
++    fi
+ else
+-RUNTIME=
+-LIB_PREFIX=
+-LIB_SUFFIX=.dylib
+-fi
++    if test "x$has_mint" = "xtrue"; then
++	AC_PATH_PROG(RUNTIME, mint, no)
++	AC_PATH_PROG(CSC, mcs, no)
++	LIB_PREFIX=.so
++	LIB_SUFFIX=
++    else
++        AC_PATH_PROG(CSC, csc.exe, no)
++	if test x$CSC = "xno"; then
++	    AC_MSG_ERROR([You need to install either mono or .Net])
++        else
++	    RUNTIME=
++	    LIB_PREFIX=
++	    LIB_SUFFIX=.dylib
++	fi
++    fi
+ fi
+ 
+ CS="C#"
================================================================



More information about the pld-cvs-commit mailing list