1 |
pacho 11/11/26 15:51:01 |
2 |
|
3 |
Added: gtk+extra-3.0.1-fix-configure.patch |
4 |
Log: |
5 |
Version bump. |
6 |
|
7 |
(Portage version: 2.1.10.37/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 x11-libs/gtk+extra/files/gtk+extra-3.0.1-fix-configure.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gtk+extra/files/gtk+extra-3.0.1-fix-configure.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/gtk+extra/files/gtk+extra-3.0.1-fix-configure.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: gtk+extra-3.0.1-fix-configure.patch |
16 |
=================================================================== |
17 |
--- configure.in 2011/05/01 09:17:38 1.14 |
18 |
+++ configure.in 2011/11/26 10:39:19 1.15 |
19 |
@@ -1,4 +1,13 @@ |
20 |
# Process this file with autoconf to produce a configure script. |
21 |
+# |
22 |
+# Help for autoconf: |
23 |
+# - http://www.linuxselfhelp.com/gnu/autoconf/html_chapter/autoconf_toc.html |
24 |
+# Option Syntax: |
25 |
+# - http://www.linuxselfhelp.com/gnu/autoconf/html_chapter/autoconf_12.html |
26 |
+# Printing Messages: |
27 |
+# - http://www.linuxselfhelp.com/gnu/autoconf/html_chapter/autoconf_7.html |
28 |
+# |
29 |
+ |
30 |
AC_INIT(gtkextra,3.0.1) |
31 |
AC_LANG([C]) |
32 |
|
33 |
@@ -109,12 +118,15 @@ |
34 |
AM_CONDITIONAL(MS_LIB_AVAILABLE, test x$ms_librarian = xyes) |
35 |
|
36 |
# --enable-debug option |
37 |
-dnl Check if we have enable debug support. |
38 |
-AC_MSG_CHECKING(whether to enable debugging) |
39 |
-debug_default="no" |
40 |
+ |
41 |
+AC_MSG_CHECKING([whether to enable debugging]) |
42 |
+ |
43 |
AC_ARG_ENABLE(debug, |
44 |
- [ --enable-debug=[no/yes] turn on debugging [default=no]],, |
45 |
- enable_debug=$debug_default) |
46 |
+ AC_HELP_STRING( |
47 |
+ [--enable-debug=[no/yes]], |
48 |
+ [turn on debugging [default=no]]), |
49 |
+ , |
50 |
+ enable_debug=no) |
51 |
|
52 |
if test "x$enable_debug" = "xyes"; then |
53 |
test "$cflags_set" = set || CFLAGS="$CFLAGS -g -DDEBUG" |
54 |
@@ -237,31 +249,57 @@ |
55 |
|
56 |
# --enable-man option |
57 |
|
58 |
+AC_MSG_CHECKING([whether to enable man pages]) |
59 |
+ |
60 |
AC_ARG_ENABLE(man, |
61 |
- [AC_HELP_STRING([--enable-man], |
62 |
- [regenerate man pages from Docbook [default=no]])],enable_man=yes, |
63 |
- enable_man=no) |
64 |
+ AC_HELP_STRING( |
65 |
+ [--enable-man], |
66 |
+ [regenerate man pages from Docbook [default=no]])], |
67 |
+ , |
68 |
+ enable_man=no) |
69 |
|
70 |
if test "${enable_man}" != no; then |
71 |
- dnl |
72 |
- dnl Check for xsltproc |
73 |
- dnl |
74 |
- AC_PATH_PROG([XSLTPROC], [xsltproc]) |
75 |
- if test -z "$XSLTPROC"; then |
76 |
- enable_man=no |
77 |
- fi |
78 |
+ AC_MSG_RESULT(yes) |
79 |
|
80 |
- dnl check for DocBook DTD and stylesheets in the local catalog. |
81 |
- JH_CHECK_XML_CATALOG([-//OASIS//DTD DocBook XML V4.1.2//EN], |
82 |
- [DocBook XML DTD V4.1.2],,enable_man=no) |
83 |
- JH_CHECK_XML_CATALOG([http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl], |
84 |
- [DocBook XSL Stylesheets],,enable_man=no) |
85 |
+ AC_PATH_PROG([XSLTPROC], [xsltproc]) |
86 |
+ if test -z "$XSLTPROC"; then |
87 |
+ enable_man=no |
88 |
+ fi |
89 |
+ |
90 |
+ if test "$enable_man" = "no" ; then |
91 |
+ AC_MSG_WARN([xsltproc is missing - disabling man pages]) |
92 |
+ fi |
93 |
+ |
94 |
+ #check for DocBook DTD and stylesheets in the local catalog |
95 |
+ |
96 |
+ JH_CHECK_XML_CATALOG( |
97 |
+ [-//OASIS//DTD DocBook XML V4.1.2//EN], |
98 |
+ [DocBook XML DTD V4.1.2], |
99 |
+ , |
100 |
+ enable_man=no) |
101 |
+ |
102 |
+ if test "$enable_man" = "no" ; then |
103 |
+ AC_MSG_WARN([missing DocBook DTD - disabling man pages]) |
104 |
+ fi |
105 |
+ |
106 |
+ JH_CHECK_XML_CATALOG( |
107 |
+ [http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl], |
108 |
+ [DocBook XSL Stylesheets], |
109 |
+ , |
110 |
+ enable_man=no) |
111 |
+ |
112 |
+ if test "$enable_man" = "no" ; then |
113 |
+ AC_MSG_WARN([missing DocBook XML stylesheets - disabling man pages]) |
114 |
+ fi |
115 |
+else |
116 |
+ AC_MSG_RESULT(no) |
117 |
fi |
118 |
AM_CONDITIONAL(ENABLE_MAN, test x$enable_man != xno) |
119 |
|
120 |
-dnl |
121 |
-dnl Start of pkg-config checks |
122 |
-dnl |
123 |
+ |
124 |
+################################################## |
125 |
+# Start of pkg-config checks |
126 |
+################################################## |
127 |
|
128 |
PKG_PROG_PKG_CONFIG |
129 |
|
130 |
@@ -275,13 +313,18 @@ |
131 |
|
132 |
# --enable-glade option |
133 |
|
134 |
+AC_MSG_CHECKING([whether to enable glade integration]) |
135 |
+ |
136 |
AC_ARG_ENABLE(glade, |
137 |
- [AC_HELP_STRING([--enable-glade], |
138 |
- [build glade integration files [default=no]])], |
139 |
- enable_glade=yes, |
140 |
+ AC_HELP_STRING( |
141 |
+ [--enable-glade], |
142 |
+ [build glade integration files [default=no]]), |
143 |
+ , |
144 |
enable_glade=no) |
145 |
|
146 |
if test "x$enable_glade" != xno; then |
147 |
+ AC_MSG_RESULT(yes) |
148 |
+ |
149 |
PKG_CHECK_MODULES([GLADE], [gladeui-1.0 >= 3.6]) |
150 |
|
151 |
AC_SUBST(GLADE_CATALOG_DIR, `$PKG_CONFIG --variable=catalogdir gladeui-1.0`) |
152 |
@@ -290,24 +333,32 @@ |
153 |
|
154 |
#You must define GETTEXT_PACKAGE before including gi18n-lib.h |
155 |
GETTEXT_PACKAGE=AC_PACKAGE_NAME |
156 |
- AC_SUBST(GETTEXT_PACKAGE) |
157 |
- AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Name of the gettext package.]) |
158 |
+ AC_SUBST(GETTEXT_PACKAGE) |
159 |
+ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", |
160 |
+ [Name of the gettext package.]) |
161 |
AM_GLIB_GNU_GETTEXT |
162 |
+else |
163 |
+ AC_MSG_RESULT(no) |
164 |
fi |
165 |
AM_CONDITIONAL(ENABLE_GLADE, test x$enable_glade != xno) |
166 |
|
167 |
|
168 |
# --enable-introspection |
169 |
|
170 |
+AC_MSG_CHECKING([whether to enable gobject-introspection]) |
171 |
+ |
172 |
AC_ARG_ENABLE(introspection, |
173 |
- [AC_HELP_STRING([--enable-introspection], |
174 |
- [build gobject-introspection [default=no]])], |
175 |
- enable_introspection=yes, |
176 |
+ AC_HELP_STRING( |
177 |
+ [--enable-introspection], |
178 |
+ [build gobject-introspection [default=no]]), |
179 |
+ , |
180 |
enable_introspection=no) |
181 |
|
182 |
if test "x$enable_introspection" != xno; then |
183 |
+ AC_MSG_RESULT(yes) |
184 |
GOBJECT_INTROSPECTION_CHECK([0.6.14]) |
185 |
else |
186 |
+ AC_MSG_RESULT(no) |
187 |
AM_CONDITIONAL(HAVE_INTROSPECTION, test 1=0) |
188 |
fi |
189 |
AM_CONDITIONAL(ENABLE_INTROSPECTION, test x$enable_introspection != xno) |