Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/devhelp/files: devhelp-0.21-xulrunner19.patch
Date: Sat, 21 Mar 2009 22:13:50
Message-Id: E1Ll9Rs-0001hi-H6@stork.gentoo.org
1 eva 09/03/21 22:13:48
2
3 Added: devhelp-0.21-xulrunner19.patch
4 Log:
5 Bump to 0.21-r1. Allow to build against libxul, bug #250306. Add a warning for gedit plugin, bug #245235.
6 (Portage version: 2.2_rc25/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 dev-util/devhelp/files/devhelp-0.21-xulrunner19.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/devhelp/files/devhelp-0.21-xulrunner19.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/devhelp/files/devhelp-0.21-xulrunner19.patch?rev=1.1&content-type=text/plain
13
14 Index: devhelp-0.21-xulrunner19.patch
15 ===================================================================
16 # https://bugs.gentoo.org/show_bug.cgi?id=250306
17 # Allow to build xulrunner with libxul in place of libxul-embedding
18 --- a/configure.in 2008-09-22 16:43:15.000000000 +0300
19 +++ b/configure.in 2009-03-16 20:32:14.000000000 +0200
20 @@ -88,13 +88,16 @@
21 *) AC_MSG_ERROR([$gecko_cv_gecko is not supported])
22 esac
23
24 -if test $GECKO = libxul-embedding; then
25 - GECKO_CFLAGS=`pkg-config --cflags libxul-embedding '>=' $gecko_min_version $gecko_cv_extra_pkg_dependencies`
26 - GECKO_LIBS=`pkg-config --libs libxul-embedding '>=' $gecko_min_version $gecko_cv_extra_pkg_dependencies`
27 -else
28 - GECKO_CFLAGS=`pkg-config --cflags ${GECKO}-xpcom '>=' $gecko_min_version $GECKO_EXTRA_PKG_DEPENDENCIES`
29 - GECKO_LIBS=`pkg-config --libs ${GECKO}-xpcom '>=' $gecko_min_version $GECKO_EXTRA_PKG_DEPENDENCIES`
30 -fi
31 +case "$GECKO" in
32 +libxul*)
33 + GECKO_CFLAGS=`pkg-config --cflags ${GECKO} '>=' $gecko_min_version $gecko_cv_extra_pkg_dependencies`;
34 + GECKO_LIBS=`pkg-config --libs ${GECKO} '>=' $gecko_min_version $gecko_cv_extra_pkg_dependencies`;
35 + ;;
36 +*)
37 + GECKO_CFLAGS=`pkg-config --cflags ${GECKO}-xpcom '>=' $gecko_min_version $GECKO_EXTRA_PKG_DEPENDENCIES`;
38 + GECKO_LIBS=`pkg-config --libs ${GECKO}-xpcom '>=' $gecko_min_version $GECKO_EXTRA_PKG_DEPENDENCIES`;
39 + ;;
40 +esac
41
42 AC_SUBST([GECKO_CFLAGS])
43 AC_SUBST([GECKO_LIBS])