openoffice.org patch for CUPS printing

Duane Whitty duane at greenmeadow.ca
Fri Mar 24 10:23:20 UTC 2006


Hi,

I am having trouble getting openoffice.org 2.0.2
on FreeBSD 6.0-p6 to recognize my CUPS based
printer.  My printer installation is working for
other apps.  spadmin does not allow me to import
my usr/local/share/ppd/HP/HP-PSC_1310-hpijs.ppd
driver file.  When I click on OK nothing happens.

After some research I found this patch (see below) but I don't
understand how to apply it as I cannot find a
config.in file under files.  I have saved this patch as patch-cups
under files

Any advice would be appreciated.

Sincerely,

--Duane Whitty

___________________________________

--- config_office/configure	2006-02-24 23:17:16.000000000 +0100
+++ config_office/configure	2006-02-25 08:53:26.000000000 +0100
@@ -19833,13 +19833,13 @@
 echo "$as_me:$LINENO: checking whether to include PPDs" >&5
 echo $ECHO_N "checking whether to include PPDs... $ECHO_C" >&6
 if test "$without_ppds" = "yes"; then
-  echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6
-else
   echo "$as_me:$LINENO: result: no" >&5
 echo "${ECHO_T}no" >&6
   WITHOUT_PPDS=YES
   SCPDEFS="$SCPDEFS -DWITHOUT_PPDS"
+else
+  echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6
 fi
 
 
@@ -19847,13 +19847,13 @@
 echo "$as_me:$LINENO: checking whether to include AFMs" >&5
 echo $ECHO_N "checking whether to include AFMs... $ECHO_C" >&6
 if test "$without_afms" = "yes"; then
-  echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6
-else
   echo "$as_me:$LINENO: result: no" >&5
 echo "${ECHO_T}no" >&6
   WITHOUT_AFMS=YES
   SCPDEFS="$SCPDEFS -DWITHOUT_AFMS"
+else
+  echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6
 fi
 
 
--- config_office/configure.in	2006-02-24 23:17:16.000000000 +0100
+++ config_office/configure.in	2006-02-25 08:52:23.000000000 +0100
@@ -4172,22 +4172,22 @@
 
 AC_MSG_CHECKING([whether to include PPDs])
 if test "$without_ppds" = "yes"; then
-  AC_MSG_RESULT([yes])
-else
   AC_MSG_RESULT([no])
   WITHOUT_PPDS=YES
   SCPDEFS="$SCPDEFS -DWITHOUT_PPDS"
+else
+  AC_MSG_RESULT([yes])
 fi
 AC_SUBST(WITHOUT_PPDS)
 AC_SUBST(SCPDEFS)
 
 AC_MSG_CHECKING([whether to include AFMs])
 if test "$without_afms" = "yes"; then
-  AC_MSG_RESULT([yes])
-else
   AC_MSG_RESULT([no])
   WITHOUT_AFMS=YES
   SCPDEFS="$SCPDEFS -DWITHOUT_AFMS"
+else
+  AC_MSG_RESULT([yes])
 fi
 AC_SUBST(WITHOUT_AFMS)
 AC_SUBST(SCPDEFS)



More information about the freebsd-openoffice mailing list