gnome-python-extras revisited...



I prodded two of the maintainers until they came up with a/the "correct"
fix.

        http://bugzilla.gnome.org/show_bug.cgi?id=311642

Files attached below.


-Joseph


-- 
joseph_sacco [at] comcast [dot] net
-- 
joseph_sacco [at] comcast [dot] net
e57ef132930d89ec7df7751d80207eb4  download/gnome-python-extras-2.11.2.tar.bz2
4caef5b0d1077b4429ab62e2b9694cc7  download/garnome-fixes.diff
--- gnome-python-extras-2.11.2/configure-	2005-07-27 09:21:45.000000000 -0400
+++ gnome-python-extras-2.11.2/configure	2005-07-27 09:30:43.000000000 -0400
@@ -21912,14 +21912,14 @@
   if test "x$ac_cv_env_GTKMOZEMBED_CFLAGS_set" = "xset"; then
 	pkg_cv_GTKMOZEMBED_CFLAGS=$ac_cv_env_GTKMOZEMBED_CFLAGS_value
 elif test -n "$PKG_CONFIG"; then
-	if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"mozilla-gtkmozembed >= \$mozpackage_required_version,
+	if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"\$mozpackage-gtkmozembed >= \$mozpackage_required_version,
                                 gtk+-2.0            >= 2.4.0\" >/dev/null 2>&1") >&5
-  ($PKG_CONFIG --exists "mozilla-gtkmozembed >= $mozpackage_required_version,
+  ($PKG_CONFIG --exists "$mozpackage-gtkmozembed >= $mozpackage_required_version,
                                 gtk+-2.0            >= 2.4.0" >/dev/null 2>&1) 2>&5
   ac_status=$?
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }; then
-		pkg_cv_GTKMOZEMBED_CFLAGS=`$PKG_CONFIG --cflags "mozilla-gtkmozembed >= $mozpackage_required_version,
+		pkg_cv_GTKMOZEMBED_CFLAGS=`$PKG_CONFIG --cflags "$mozpackage-gtkmozembed >= $mozpackage_required_version,
                                 gtk+-2.0            >= 2.4.0" 2>/dev/null`
 	else
 		pkg_failed=yes
@@ -21938,14 +21938,14 @@
   if test "x$ac_cv_env_GTKMOZEMBED_LIBS_set" = "xset"; then
 	pkg_cv_GTKMOZEMBED_LIBS=$ac_cv_env_GTKMOZEMBED_LIBS_value
 elif test -n "$PKG_CONFIG"; then
-	if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"mozilla-gtkmozembed >= \$mozpackage_required_version,
+	if { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists \"\$mozpackage-gtkmozembed >= \$mozpackage_required_version,
                                 gtk+-2.0            >= 2.4.0\" >/dev/null 2>&1") >&5
-  ($PKG_CONFIG --exists "mozilla-gtkmozembed >= $mozpackage_required_version,
+  ($PKG_CONFIG --exists "$mozpackage-gtkmozembed >= $mozpackage_required_version,
                                 gtk+-2.0            >= 2.4.0" >/dev/null 2>&1) 2>&5
   ac_status=$?
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }; then
-		pkg_cv_GTKMOZEMBED_LIBS=`$PKG_CONFIG --libs "mozilla-gtkmozembed >= $mozpackage_required_version,
+		pkg_cv_GTKMOZEMBED_LIBS=`$PKG_CONFIG --libs "$mozpackage-gtkmozembed >= $mozpackage_required_version,
                                 gtk+-2.0            >= 2.4.0" 2>/dev/null`
 	else
 		pkg_failed=yes
@@ -21958,7 +21958,7 @@
 echo "${ECHO_T}$pkg_cv_GTKMOZEMBED_LIBS" >&6
 
 if test $pkg_failed = yes; then
-	GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mozilla-gtkmozembed >= $mozpackage_required_version,
+	GTKMOZEMBED_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$mozpackage-gtkmozembed >= $mozpackage_required_version,
                                 gtk+-2.0            >= 2.4.0"`
 	# Put the nasty error message in config.log where it belongs
 	echo "$GTKMOZEMBED_PKG_ERRORS" 1>&5
--- gnome-python-extras-2.11.2/configure.ac-	2005-07-27 09:29:20.000000000 -0400
+++ gnome-python-extras-2.11.2/configure.ac	2005-07-27 09:30:06.000000000 -0400
@@ -211,7 +211,7 @@
      *) AC_MSG_ERROR([--with-gtkmozembed argument must be either 'mozilla' or 'firefox'])
 esac
 
-PKG_CHECK_MODULES(GTKMOZEMBED, [mozilla-gtkmozembed >= $mozpackage_required_version,
+PKG_CHECK_MODULES(GTKMOZEMBED, [$mozpackage-gtkmozembed >= $mozpackage_required_version,
                                 gtk+-2.0            >= gtk_required_version],
   build_gtkmozembed=true,
   build_gtkmozembed=false)
GARNAME = gnome-python-extras
GARVERSION = 2.11.2
CATEGORIES = bindings
DISTFILES = $(GARNAME)-$(GARVERSION).tar.bz2
PATCHFILES = garnome-fixes.diff

LIBDEPS = bindings/gnome-python desktop/gtksourceview desktop/nautilus-cd-burner desktop/libgtop desktop/totem bootstrap/firefox


DESCRIPTION = gnome-python-extras
define BLURB
 #FIXME: blurb goes here
endef

CONFIGURE_SCRIPTS = $(WORKSRC)/configure
BUILD_SCRIPTS = $(WORKSRC)/Makefile
INSTALL_SCRIPTS = $(WORKSRC)/Makefile

CONFIGURE_ARGS = $(DIRPATHS) --with-gtkmozembed=firefox

include ../category.mk


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]