[Pkg-ace-commits] [pkg-ace] r557 - trunk/debian/patches

tgg at alioth.debian.org tgg at alioth.debian.org
Mon Mar 3 22:39:55 UTC 2008


Author: tgg
Date: 2008-03-03 22:39:54 +0000 (Mon, 03 Mar 2008)
New Revision: 557

Added:
   trunk/debian/patches/05-autoconf-fox.dpatch
Log:
new patch to add Fox support (submitted as bz#3147)


Added: trunk/debian/patches/05-autoconf-fox.dpatch
===================================================================
--- trunk/debian/patches/05-autoconf-fox.dpatch	                        (rev 0)
+++ trunk/debian/patches/05-autoconf-fox.dpatch	2008-03-03 22:39:54 UTC (rev 557)
@@ -0,0 +1,76 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 05-autoconf-fox.dpatch by Thomas Girard <thomas.g.girard at free.fr>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: add autoconf support for Fox
+
+ at DPATCH@
+--- ACE_wrappers.orig/m4/ace.m4
++++ ACE_wrappers/m4/ace.m4
+@@ -501,6 +501,7 @@
+  ACE_ENABLE_QT_REACTOR
+  ACE_ENABLE_TK_REACTOR
+  ACE_ENABLE_XT_REACTOR
++ ACE_ENABLE_FOX_REACTOR
+ 
+  # placeholder for WxWindows/wxWidgets support
+  AM_CONDITIONAL([BUILD_WXWINDOWS], false)
+@@ -1543,4 +1544,58 @@
+                [test X$ace_user_enable_xt_reactor = Xyes])
+ ])
+ 
++# ACE_PATH_FOX
++#---------------------------------------------------------------------------
++AC_DEFUN([ACE_PATH_FOX],
++[AC_ARG_WITH([fox-config],
++ AS_HELP_STRING([--with-fox-config=DIR],
++                [path to fox-config [[automatic]]]),
++ [ ac_fox_config_dir="${withval}" ])
++ if test X"${ac_fox_config_dir}" = X; then
++   AC_PATH_PROG([FOXCONFIG], [fox-config], [], [])
++ else
++  AC_MSG_CHECKING([whether fox-config exists in ${ac_fox_config_dir}])
++   if test -f "${ac_fox_config_dir}/fox-config"; then
++     FOXCONFIG="${ac_fox_config_dir}/fox-config"
++     AC_MSG_RESULT([yes])
++   else
++     AC_MSG_RESULT([no])
++   fi
++ fi
++ if test X"${FOXCONFIG}" != X; then
++   ACE_FOX_CPPFLAGS=`$FOXCONFIG --cflags 2>/dev/null`
++   ACE_FOX_LIBS=`$FOXCONFIG --libs 2>/dev/null`
++   AC_SUBST(ACE_FOX_CPPFLAGS)
++   AC_SUBST(ACE_FOX_LIBS)
++ fi
++])
+ 
++# ACE_ENABLE_FOX_REACTOR
++#---------------------------------------------------------------------------
++AC_DEFUN([ACE_ENABLE_FOX_REACTOR],
++[AC_REQUIRE([ACE_PATH_FOX])
++AC_ARG_ENABLE([fox-reactor],
++               AS_HELP_STRING([--enable-fox-reactor],
++                              [build support for the FoxReactor [[no]]]),
++               [case "${enableval}" in
++                 yes)
++                   AS_IF([test X"${FOXCONFIG}" != X],
++                         [ace_user_enable_fox_reactor=yes],
++                         [AC_MSG_ERROR([ACE_FoxReactor cannot be enabled: fox-config not found.])])
++                   ;;
++                 no)
++                   ace_user_enable_fox_reactor=no
++                   ;;
++                 *)
++                   AC_MSG_ERROR([bad value ${enableval} for --enable-fox-reactor])
++		   ;;
++	       esac],
++               [
++                 ace_user_enable_fox_reactor=no
++               ])
++AM_CONDITIONAL([BUILD_FOX], [test X$ace_user_enable_fox_reactor = Xyes])
++AM_CONDITIONAL([BUILD_ACE_FOXREACTOR],
++               [test X$ace_user_enable_fox_reactor = Xyes])
++AM_CONDITIONAL([BUILD_TAO_FOXRESOURCE],
++               [test X$ace_user_enable_fox_reactor = Xyes])
++])


Property changes on: trunk/debian/patches/05-autoconf-fox.dpatch
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-ace-commits mailing list