Gentoo Archives: gentoo-commits

From: "Saleem Abdulrasool (compnerd)" <compnerd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/mono-tools/files: mono-tools-1.2.6-html-renderer-fixes.patch
Date: Sun, 30 Dec 2007 21:07:05
Message-Id: E1J95N0-0006uN-Eo@stork.gentoo.org
1 compnerd 07/12/30 21:06:54
2
3 Added: mono-tools-1.2.6-html-renderer-fixes.patch
4 Log:
5 add missing patch (bug #203771)
6 (Portage version: 2.1.4_rc11)
7
8 Revision Changes Path
9 1.1 dev-util/mono-tools/files/mono-tools-1.2.6-html-renderer-fixes.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/mono-tools/files/mono-tools-1.2.6-html-renderer-fixes.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/mono-tools/files/mono-tools-1.2.6-html-renderer-fixes.patch?rev=1.1&content-type=text/plain
13
14 Index: mono-tools-1.2.6-html-renderer-fixes.patch
15 ===================================================================
16 --- configure.in.orig 2007-12-19 22:32:57.000000000 -0800
17 +++ configure.in 2007-12-19 23:10:42.000000000 -0800
18 @@ -42,30 +42,41 @@
19 AC_SUBST(GTK_SHARP_LIBS)
20
21
22 -PKG_CHECK_MODULES(GTKHTML_SHARP, gtkhtml-sharp-3.14, enable_gtkhtml=yes, enable_gtkhtml=no)
23 -if test "x$enable_gtkhtml" = "xyes"; then
24 -GTKHTMLDLLCOPY=`pkg-config --variable=Libraries gtkhtml-sharp-3.14`
25 -CSHARP_FLAGS="-d:GTKHTML_SHARP_3_14"
26 -else
27 -PKG_CHECK_MODULES(GTKHTML_SHARP, gtkhtml-sharp-2.0, enable_gtkhtml=yes, enable_gtkhtml=no)
28 -CSHARP_FLAGS=
29 -GTKHTMLDLLCOPY=
30 +dnl PKG_CHECK_MODULES(GTKHTML_SHARP, gtkhtml-sharp-3.14, enable_gtkhtml=yes, enable_gtkhtml=no)
31 +dnl if test "x$enable_gtkhtml" = "xyes"; then
32 +dnl GTKHTMLDLLCOPY=`pkg-config --variable=Libraries gtkhtml-sharp-3.14`
33 +dnl CSHARP_FLAGS="-d:GTKHTML_SHARP_3_14"
34 +dnl else
35 +AC_ARG_ENABLE(gtkhtml,
36 + AC_HELP_STRING([--enable-gtkhtml], [Use GTKHTML Browser]),,
37 + enable_gtkhtml=yes)
38 +
39 +if test "x$enable_gtkhtml" = "xyes" ; then
40 + PKG_CHECK_MODULES(GTKHTML_SHARP, gtkhtml-sharp-2.0)
41 +
42 + AC_SUBST(GTKHTML_SHARP_LIBS)
43 + AC_SUBST(GTKHTMLDLLCOPY)
44 + AC_SUBST(CSHARP_FLAGS)
45 fi
46 -AC_SUBST(GTKHTML_SHARP_LIBS)
47 -AC_SUBST(GTKHTMLDLLCOPY)
48 -AC_SUBST(CSHARP_FLAGS)
49 -AM_CONDITIONAL(ENABLE_GTKHTML, test "x$enable_gtkhtml" = "xyes")
50 +dnl fi
51
52 -PKG_CHECK_MODULES(GECKO_SHARP, gecko-sharp-2.0, enable_gecko=yes, enable_gecko=no)
53 -AC_SUBST(GECKO_SHARP_LIBS)
54 -AM_CONDITIONAL(ENABLE_GECKO, test "x$enable_gecko" = "xyes")
55 +AM_CONDITIONAL(ENABLE_GTKHTML, test "x$enable_gtkhtml" = "xyes")
56
57 -if test "x$enable_gecko" = "xyes"; then
58 - # get the mozilla home directory
59 - MOZILLA_HOME="`$PKG_CONFIG --variable=libdir mozilla-gtkmozembed`"
60 - AC_SUBST(MOZILLA_HOME)
61 +AC_ARG_ENABLE(mozilla,
62 + AC_HELP_STRING([--enable-mozilla], [Use Gecko Browser]),,
63 + enable_gecko=yes)
64 +
65 +if test "x$enable_gecko"= "xyes" ; then
66 + PKG_CHECK_MODULES(GECKO_SHARP, gecko-sharp-2.0)
67 +
68 + AC_SUBST(GECKO_SHARP_LIBS)
69 +
70 + # get the mozilla home directory
71 + MOZILLA_HOME="`$PKG_CONFIG --variable=libdir mozilla-gtkmozembed`"
72 + AC_SUBST(MOZILLA_HOME)
73 fi
74
75 +AM_CONDITIONAL(ENABLE_GECKO, test "x$enable_gecko" = "xyes")
76
77 if test "x$enable_gtkhtml$enable_gecko" = "xnono" ; then
78 AC_MSG_ERROR([no HTML display found. You need either gtkhtml or gecko])
79 --- docbrowser/monodoc.in.orig 2007-12-19 23:12:15.000000000 -0800
80 +++ docbrowser/monodoc.in 2007-12-19 23:15:03.000000000 -0800
81 @@ -85,8 +85,10 @@
82 MOZILLA_HOME=$MOZILLA_FIVE_HOME
83 elif [ $(which mozilla 2> /dev/null) ] && grep MOZILLA_FIVE_HOME= "$(which mozilla)" > /dev/null ; then
84 MOZILLA_HOME=$(grep MOZILLA_FIVE_HOME= $(which mozilla) | cut -d '"' -f 2)
85 -elif [ $(which firefox 2> /dev/null) ] && grep MOZILLA_FIVE_HOME= "$(which firefox)" > /dev/null ; then
86 - MOZILLA_HOME=$(grep MOZILLA_FIVE_HOME= $(which firefox) | cut -d '"' -f 2)
87 +elif [ $(which firefox 2> /dev/null) ] && grep MOZILLA_LIBDIR= "$(which firefox)" > /dev/null ; then
88 + MOZILLA_HOME=$(grep MOZILLA_LIBDIR= $(which firefox) | cut -d '=' -f 2)
89 +elif [ $(which seamonkey 2> /dev/null) ] && grep MOZILLA_LIBDIR= "$(which seamonkey)" > /dev/null ; then
90 + MOZILLA_HOME=$(grep MOZILLA_LIBDIR= $(which seamonkey) | cut -d '=' -f 2)
91 fi
92
93 if [ -n $LD_LIBRARY_PATH ]; then
94
95
96
97 --
98 gentoo-commits@g.o mailing list