]> git.pld-linux.org Git - packages/dotnet-gnome-sharp.git/blame - dotnet-gnome-sharp-mint.patch
- fine-grained split (separate art, gconf, gconf-sharp-peditors, gnome-vfs bindings)
[packages/dotnet-gnome-sharp.git] / dotnet-gnome-sharp-mint.patch
CommitLineData
6db3765c
MB
1diff -urN gnome-sharp-2.24.2/configure.in gnome-sharp-2.24.2.new//configure.in
2--- gnome-sharp-2.24.2/configure.in 2010-10-09 21:42:55.000000000 +0200
3+++ gnome-sharp-2.24.2.new//configure.in 2010-10-23 15:49:01.620369916 +0200
4@@ -98,6 +98,15 @@
5 fi
6 fi
2ab7186f 7
2ab7186f 8+PKG_CHECK_MODULES(MINT_DEPENDENCY, mint >= $MONO_REQUIRED_VERSION, has_mint=true, has_mint=false)
6db3765c
MB
9+if test "x$has_mint" = "xfalse" ; then
10+ MONO_REQUIRED_VERSION=1.0
11+ PKG_CHECK_MODULES(MINT_DEPENDENCY, mint >= $MONO_REQUIRED_VERSION, has_mint=true, has_mint=false)
12+ if test "x$has_mint" = "xtrue" ; then
13+ enable_monogetoptions=yes
14+ fi
15+fi
16+
2ab7186f 17 AC_PATH_PROG(GACUTIL, gacutil, no)
18 if test "x$GACUTIL" = "xno" ; then
6db3765c
MB
19 AC_MSG_ERROR([No gacutil tool found. You need to install either the mono or .Net SDK.])
20@@ -126,6 +135,20 @@
21 LIB_PREFIX=.so
22 LIB_SUFFIX=
2ab7186f 23 fi
24+elif test "x$has_mint" = "xtrue"; then
25+dnl use mint if mono is not found
26+GACUTIL_FLAGS='/package $(PACKAGE_VERSION) /root $(DESTDIR)$(prefix)/lib'
27+GENERATED_SOURCES=generated/*.cs
28+AC_PATH_PROG(RUNTIME, mint, no)
29+AC_PATH_PROG(CSC, mcs, no)
30+LIB_PREFIX=.so
31+LIB_SUFFIX=
32+SDCHECK="`$GACUTIL /l |grep ^System.Drawing, | head -n1 |cut -f1 -d','`"
33+if test "x$SDCHECK" = "xSystem.Drawing"; then
6db3765c 34+ enable_dotnet=yes
2ab7186f 35+else
6db3765c 36+ enable_dotnet=no
2ab7186f 37+fi
38 else
39 AC_PATH_PROG(CSC, csc.exe, no)
40 GACUTIL_FLAGS=
This page took 0.036906 seconds and 4 git commands to generate.