r22642 - gnucash/trunk - Remove unused guile references in various source files

Geert Janssens gjanssens at code.gnucash.org
Wed Dec 12 12:43:18 EST 2012


Author: gjanssens
Date: 2012-12-12 12:43:18 -0500 (Wed, 12 Dec 2012)
New Revision: 22642
Trac: http://svn.gnucash.org/trac/changeset/22642

Removed:
   gnucash/trunk/lib/libc/scm_strptime.c
Modified:
   gnucash/trunk/configure.ac
   gnucash/trunk/lib/libc/Makefile.am
   gnucash/trunk/src/backend/xml/sixtp-dom-generators.c
   gnucash/trunk/src/backend/xml/sixtp-utils.c
   gnucash/trunk/src/backend/xml/test/test-xml-commodity.c
   gnucash/trunk/src/business/business-ledger/Makefile.am
   gnucash/trunk/src/business/business-ledger/gncEntryLedgerLoad.c
   gnucash/trunk/src/gnc/CMakeLists.txt
   gnucash/trunk/src/gnc/main.cpp
   gnucash/trunk/src/gnome-search/gncmod-gnome-search.c
   gnucash/trunk/src/gnome-utils/gnc-file.c
   gnucash/trunk/src/gnome-utils/gnc-gnome-utils.c
   gnucash/trunk/src/gnome/dialog-new-user.c
   gnucash/trunk/src/gnome/dialog-print-check.c
   gnucash/trunk/src/gnome/dialog-print-check.h
   gnucash/trunk/src/gnome/gnc-plugin-page-budget.c
   gnucash/trunk/src/gnome/gnc-split-reg.c
   gnucash/trunk/src/gnome/gnc-split-reg2.c
   gnucash/trunk/src/html/gnc-html.c
   gnucash/trunk/src/import-export/CMakeLists.txt
   gnucash/trunk/src/import-export/Makefile.am
   gnucash/trunk/src/import-export/gncmod-generic-import.c
   gnucash/trunk/src/import-export/log-replay/Makefile.am
   gnucash/trunk/src/import-export/log-replay/gnc-log-replay.c
   gnucash/trunk/src/import-export/log-replay/gncmod-log-replay.c
   gnucash/trunk/src/import-export/ofx/Makefile.am
   gnucash/trunk/src/import-export/ofx/gnc-ofx-import.c
   gnucash/trunk/src/plugins/customer_import/libgncmod-customer_import.c
   gnucash/trunk/src/register/register-core/gncmod-register-core.c
   gnucash/trunk/src/register/register-gnome/Makefile.am
   gnucash/trunk/src/register/register-gnome/table-gnome.c
Log:
Remove unused guile references in various source files

Modified: gnucash/trunk/configure.ac
===================================================================
--- gnucash/trunk/configure.ac	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/configure.ac	2012-12-12 17:43:18 UTC (rev 22642)
@@ -1055,8 +1055,6 @@
     ;;
 esac
 
-#AC_REPLACE_FUNCS(scm_strptime)
-
 if test x$am_cv_val_LC_MESSAGES = "xno"; then
   LC_MESSAGES_ENUM="LC_ALL"
 else

Modified: gnucash/trunk/lib/libc/Makefile.am
===================================================================
--- gnucash/trunk/lib/libc/Makefile.am	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/lib/libc/Makefile.am	2012-12-12 17:43:18 UTC (rev 22642)
@@ -29,10 +29,6 @@
   AM_CPPFLAGS = -DOS_WIN32
 endif
 
-# Not currently used.  If added to AC_REPLACE_FUNCS then this line
-# should be removed.
-EXTRA_DIST = scm_strptime.c
-
 print_libobjs: Makefile
 	@echo "LIBOBJS = $(LIBOBJS)"
 	@echo "LTLIBOBJS = $(LTLIBOBJS)"

Deleted: gnucash/trunk/lib/libc/scm_strptime.c
===================================================================
--- gnucash/trunk/lib/libc/scm_strptime.c	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/lib/libc/scm_strptime.c	2012-12-12 17:43:18 UTC (rev 22642)
@@ -1,183 +0,0 @@
-/* Copyright (C) 1995,1996,1997,1998, 1999, 2000 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this software; see the file COPYING.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301 USA
- *
- * As a special exception, the Free Software Foundation gives permission
- * for additional uses of the text contained in its release of GUILE.
- *
- * The exception is that, if you link the GUILE library with other files
- * to produce an executable, this does not by itself cause the
- * resulting executable to be covered by the GNU General Public License.
- * Your use of that executable is in no way restricted on account of
- * linking the GUILE library code into it.
- *
- * This exception does not however invalidate any other reasons why
- * the executable file might be covered by the GNU General Public License.
- *
- * This exception applies only to the code released by the
- * Free Software Foundation under the name GUILE.  If you copy
- * code from other Free Software Foundation releases into a copy of
- * GUILE, as the General Public License permits, the exception does
- * not apply to the code that you add in this way.  To avoid misleading
- * anyone as to the status of such modified files, you must delete
- * this exception notice from them.
- *
- * If you write modifications of your own for GUILE, it is your choice
- * whether to permit this exception to apply to your modifications.
- * If you do not wish that, delete this exception notice.  */
-
-/* Software engineering face-lift by Greg J. Badros, 11-Dec-1999,
-   gjb at cs.washington.edu, http://www.cs.washington.edu/homes/gjb */
-
-

-
-#include <stdio.h>
-#include "libguile/__scm.h"
-#include "libguile.h"
-
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-
-

-# ifdef HAVE_SYS_TYPES_H
-#  include <sys/types.h>
-# endif
-
-# ifdef TIME_WITH_SYS_TIME
-#  include <sys/time.h>
-#  include <time.h>
-# else
-#  ifdef HAVE_SYS_TIME_H
-#   include <sys/time.h>
-#  else
-#   ifdef HAVE_TIME_H
-#    include <time.h>
-#   endif
-#  endif
-# endif
-
-#ifdef HAVE_SYS_TIMES_H
-# include <sys/times.h>
-#endif
-
-#ifdef HAVE_SYS_TIMEB_H
-# include <sys/timeb.h>
-#endif
-
-#ifndef tzname /* For SGI.  */
-extern char *tzname[]; /* RS6000 and others reject char **tzname.  */
-#endif
-
-#ifdef MISSING_STRPTIME_DECL
-extern char *strptime ();
-#endif
-
-/* This should be figured out by autoconf.  */
-#if ! defined(CLKTCK) && defined(CLK_TCK)
-#  define CLKTCK CLK_TCK
-#endif
-#if ! defined(CLKTCK) && defined(CLOCKS_PER_SEC)
-#  define CLKTCK CLOCKS_PER_SEC
-#endif
-#if ! defined(CLKTCK)
-#  define CLKTCK 60
-#endif
-
-#include "strptime.h"
-
-#ifdef __STDC__
-# define timet time_t
-#else
-# define timet long
-#endif
-static SCM
-filltime (struct tm *bd_time, int zoff, char *zname);
-
-static SCM
-filltime (struct tm *bd_time, int zoff, char *zname)
-{
-    SCM result = scm_make_vector (SCM_MAKINUM(11), SCM_UNDEFINED);
-
-    SCM_VELTS (result)[0] = SCM_MAKINUM (bd_time->tm_sec);
-    SCM_VELTS (result)[1] = SCM_MAKINUM (bd_time->tm_min);
-    SCM_VELTS (result)[2] = SCM_MAKINUM (bd_time->tm_hour);
-    SCM_VELTS (result)[3] = SCM_MAKINUM (bd_time->tm_mday);
-    SCM_VELTS (result)[4] = SCM_MAKINUM (bd_time->tm_mon);
-    SCM_VELTS (result)[5] = SCM_MAKINUM (bd_time->tm_year);
-    SCM_VELTS (result)[6] = SCM_MAKINUM (bd_time->tm_wday);
-    SCM_VELTS (result)[7] = SCM_MAKINUM (bd_time->tm_yday);
-    SCM_VELTS (result)[8] = SCM_MAKINUM (bd_time->tm_isdst);
-    SCM_VELTS (result)[9] = SCM_MAKINUM (zoff);
-    SCM_VELTS (result)[10] = zname ? scm_makfrom0str (zname) : SCM_BOOL_F;
-    return result;
-}
-
-#ifndef HAVE_STRPTIME
-SCM_DEFINE (scm_strptime, "strptime", 2, 0, 0,
-            (SCM format, SCM string),
-            "Performs the reverse action to @code{strftime}, parsing @var{string}\n"
-            "according to the specification supplied in @var{template}.  The\n"
-            "interpretation of month and day names is dependent on the current\n"
-            "locale.  The\n"
-            "value returned is a pair.  The CAR has an object with time components \n"
-            "in the form returned by @code{localtime} or @code{gmtime},\n"
-            "but the time zone components\n"
-            "are not usefully set.\n"
-            "The CDR reports the number of characters from @var{string} which\n"
-            "vwere used for the conversion.")
-#define FUNC_NAME s_scm_strptime
-{
-    struct tm t;
-    char *fmt, *str, *rest;
-
-    SCM_VALIDATE_ROSTRING (1, format);
-    SCM_VALIDATE_ROSTRING (2, string);
-
-    SCM_COERCE_SUBSTR (format);
-    SCM_COERCE_SUBSTR (string);
-    fmt = SCM_ROCHARS (format);
-    str = SCM_ROCHARS (string);
-
-    /* initialize the struct tm */
-#define tm_init(field) t.field = 0
-    tm_init (tm_sec);
-    tm_init (tm_min);
-    tm_init (tm_hour);
-    tm_init (tm_mday);
-    tm_init (tm_mon);
-    tm_init (tm_year);
-    tm_init (tm_wday);
-    tm_init (tm_yday);
-#undef tm_init
-
-    t.tm_isdst = -1;
-    SCM_DEFER_INTS;
-    if ((rest = strptime (str, fmt, &t)) == NULL)
-        SCM_SYSERROR;
-
-    SCM_ALLOW_INTS;
-    return scm_cons (filltime (&t, 0, NULL),  SCM_MAKINUM (rest - str));
-}
-#undef FUNC_NAME
-#endif /* HAVE_STRPTIME */
-
-/*
-  Local Variables:
-  c-file-style: "gnu"
-  End:
-*/
-

Modified: gnucash/trunk/src/backend/xml/sixtp-dom-generators.c
===================================================================
--- gnucash/trunk/src/backend/xml/sixtp-dom-generators.c	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/src/backend/xml/sixtp-dom-generators.c	2012-12-12 17:43:18 UTC (rev 22642)
@@ -226,21 +226,8 @@
 double_to_string(double value)
 {
     gchar *numstr;
-#ifdef USE_GUILE_FOR_DOUBLE_CONVERSION
-    numstr = gh_scm2newstr(scm_call_1(scm_c_eval_string("number->string"),
-                                      scm_make_real(value)),
-                           NULL);
-
-#else /* don't USE_GUILE_FOR_DOUBLE_CONVERSION */
-    /*
-     * we're just going to use plain-old libc for the double conversion.
-     * There was some question as to whether libc is accurate enough
-     * in its printf function for doubles, but I don't understand
-     * how it couldn't be ...
-     */
     numstr = g_strdup_printf ("%24.18g", value);
 
-#endif /* USE_GUILE_FOR_DOUBLE_CONVERSION */
     if (!numstr)
     {
         return NULL;

Modified: gnucash/trunk/src/backend/xml/sixtp-utils.c
===================================================================
--- gnucash/trunk/src/backend/xml/sixtp-utils.c	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/src/backend/xml/sixtp-utils.c	2012-12-12 17:43:18 UTC (rev 22642)
@@ -141,67 +141,19 @@
 
 /*********/
 /* double
-
-   RLB writes:
-   We have to use guile because AFAICT, libc, and C in general isn't
-   smart enough to actually parse it's own output, especially not
-   portably (big surprise).
-
-   Linas writes:
-   I don't understand the claim; I'm just going to use
-   atof or strtod to accomplish this.
-
-   RLB writes: FIXME: OK, but at the very least this may cause a
-   locale dependency.  Whoever fixes that, please delete this whole
-   comment block.
-
  */
 
 gboolean
 string_to_double(const char *str, double *result)
 {
+    char *endptr = 0x0;
+
     g_return_val_if_fail(str, FALSE);
     g_return_val_if_fail(result, FALSE);
 
-#ifdef USE_GUILE_FOR_DOUBLE_CONVERSION
-    {
-        /* FIXME: NOT THREAD SAFE - USES STATIC DATA */
-        static SCM string_to_number;
-        static gboolean ready = FALSE;
+    *result = strtod (str, &endptr);
+    if (endptr == str) return (FALSE);
 
-        SCM conversion_result;
-
-        if (!ready)
-        {
-            string_to_number = scm_c_eval_string("string->number");
-            scm_gc_protect_object(string_to_number);
-            ready = TRUE;
-        }
-
-        conversion_result = scm_call_1(string_to_number, scm_makfrom0str(str));
-        if (!conversion_result == SCM_BOOL_F)
-        {
-            return(FALSE);
-        }
-
-        *result = scm_num2dbl(conversion_result, G_STRFUNC);
-    }
-
-#else /* don't USE_GUILE_FOR_DOUBLE_CONVERSION */
-    {
-        char *endptr = 0x0;
-
-        /* We're just going to use plain-old libc for the double conversion.
-         * There was some question as to whether libc is accurate enough
-         * in its printf function for doubles, but I don't understand
-         * how it couldn't be ...
-         */
-
-        *result = strtod (str, &endptr);
-        if (endptr == str) return (FALSE);
-    }
-#endif /* USE_GUILE_FOR_DOUBLE_CONVERSION */
-
     return(TRUE);
 }
 

Modified: gnucash/trunk/src/backend/xml/test/test-xml-commodity.c
===================================================================
--- gnucash/trunk/src/backend/xml/test/test-xml-commodity.c	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/src/backend/xml/test/test-xml-commodity.c	2012-12-12 17:43:18 UTC (rev 22642)
@@ -2,7 +2,6 @@
 
 #include <glib.h>
 #include <glib/gstdio.h>
-#include <libguile.h>
 #include <stdlib.h>
 #include <unistd.h>
 

Modified: gnucash/trunk/src/business/business-ledger/Makefile.am
===================================================================
--- gnucash/trunk/src/business/business-ledger/Makefile.am	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/src/business/business-ledger/Makefile.am	2012-12-12 17:43:18 UTC (rev 22642)
@@ -26,7 +26,6 @@
   ${top_builddir}/src/core-utils/libgnc-core-utils.la \
   ${top_builddir}/src/libqof/qof/libgnc-qof.la \
   ${GTK_LIBS} \
-  ${GUILE_LIBS} \
   ${GLIB_LIBS}
 
 AM_CPPFLAGS = \
@@ -38,7 +37,6 @@
   -I${top_srcdir}/src/gnome-utils \
   -I${top_srcdir}/src/register/register-core \
   -I${top_srcdir}/src/libqof/qof \
-  ${GUILE_INCS} \
   ${GCONF_CFLAGS} \
   ${GTK_CFLAGS} \
   ${GLIB_CFLAGS}

Modified: gnucash/trunk/src/business/business-ledger/gncEntryLedgerLoad.c
===================================================================
--- gnucash/trunk/src/business/business-ledger/gncEntryLedgerLoad.c	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/src/business/business-ledger/gncEntryLedgerLoad.c	2012-12-12 17:43:18 UTC (rev 22642)
@@ -25,7 +25,6 @@
 
 #include <glib.h>
 #include <glib/gi18n.h>
-#include <libguile.h>
 
 #include "Account.h"
 #include "account-quickfill.h"

Modified: gnucash/trunk/src/gnc/CMakeLists.txt
===================================================================
--- gnucash/trunk/src/gnc/CMakeLists.txt	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/src/gnc/CMakeLists.txt	2012-12-12 17:43:18 UTC (rev 22642)
@@ -7,7 +7,6 @@
   ${GOBJECT_LIBRARY_DIRS}
   ${GTHREAD_LIBRARY_DIRS}
   ${GCONF2_LIBRARY_DIRS}
-  ${GUILE_LIBRARY_DIRS}
   ${GLIBMM_LIBRARY_DIRS}
 #  ${GWENHYWFAR_LIBRARY_DIRS}
 #  ${AQBANKING_LIBRARY_DIRS}
@@ -81,7 +80,6 @@
 INCLUDE_DIRECTORIES (${GLIBMM_INCLUDE_DIRS})
 INCLUDE_DIRECTORIES (${LIBINTL_INCLUDE_PATH})
 INCLUDE_DIRECTORIES (${REGEX_INCLUDE_PATH})
-INCLUDE_DIRECTORIES (${GUILE_INCLUDE_DIRS})
 INCLUDE_DIRECTORIES (${CMAKE_BINARY_DIR}/src ) # for config.h
 INCLUDE_DIRECTORIES (${CMAKE_SOURCE_DIR}/src ) # for gnc-ui.h
 INCLUDE_DIRECTORIES (${CMAKE_SOURCE_DIR}/src/libqof/qof) # for qof.h
@@ -121,7 +119,6 @@
 TARGET_LINK_LIBRARIES (cutecash ${GLIBMM_LIBRARIES})
 TARGET_LINK_LIBRARIES (cutecash ${GCONF2_LIBRARIES})
 TARGET_LINK_LIBRARIES (cutecash ${GTHREAD_LIBRARIES} ${GOBJECT_LIBRARIES} ${GMODULE_LIBRARIES} ${GLIB2_LIBRARIES})
-TARGET_LINK_LIBRARIES (cutecash ${GUILE_LIBRARIES})
 TARGET_LINK_LIBRARIES (cutecash ${LIBXML2_LIBRARIES})
 TARGET_LINK_LIBRARIES (cutecash ${ZLIB_LIBRARIES})
 IF (WIN32)

Modified: gnucash/trunk/src/gnc/main.cpp
===================================================================
--- gnucash/trunk/src/gnc/main.cpp	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/src/gnc/main.cpp	2012-12-12 17:43:18 UTC (rev 22642)
@@ -26,7 +26,6 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
-#include <libguile.h>
 #include <glib/gi18n.h>
 #include <glib.h>
 extern "C"

Modified: gnucash/trunk/src/gnome/dialog-new-user.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-new-user.c	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/src/gnome/dialog-new-user.c	2012-12-12 17:43:18 UTC (rev 22642)
@@ -24,7 +24,6 @@
 
 #include <gtk/gtk.h>
 #include <glib/gi18n.h>
-#include <libguile.h>
 
 #include "dialog-new-user.h"
 #include "dialog-utils.h"

Modified: gnucash/trunk/src/gnome/dialog-print-check.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-print-check.c	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/src/gnome/dialog-print-check.c	2012-12-12 17:43:18 UTC (rev 22642)
@@ -33,7 +33,6 @@
 #include <gtk/gtk.h>
 #include <glib/gi18n.h>
 #include <stdio.h>
-#include <libguile.h>
 #include <locale.h>
 #include <math.h>
 

Modified: gnucash/trunk/src/gnome/dialog-print-check.h
===================================================================
--- gnucash/trunk/src/gnome/dialog-print-check.h	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/src/gnome/dialog-print-check.h	2012-12-12 17:43:18 UTC (rev 22642)
@@ -24,8 +24,6 @@
 #ifndef DIALOG_PRINT_CHECK_H
 #define DIALOG_PRINT_CHECK_H
 
-#include <libguile.h>
-
 #include "print-session.h"
 
 typedef struct _print_check_dialog PrintCheckDialog;

Modified: gnucash/trunk/src/gnome/gnc-plugin-page-budget.c
===================================================================
--- gnucash/trunk/src/gnome/gnc-plugin-page-budget.c	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/src/gnome/gnc-plugin-page-budget.c	2012-12-12 17:43:18 UTC (rev 22642)
@@ -59,7 +59,6 @@
 #include "gnc-ui.h"
 #include "gnc-ui-util.h"
 #include "option-util.h"
-#include "libguile.h"
 #include "gnc-main-window.h"
 #include "gnc-component-manager.h"
 

Modified: gnucash/trunk/src/gnome/gnc-split-reg.c
===================================================================
--- gnucash/trunk/src/gnome/gnc-split-reg.c	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/src/gnome/gnc-split-reg.c	2012-12-12 17:43:18 UTC (rev 22642)
@@ -52,7 +52,6 @@
 #include "gnucash-sheet.h"
 #include "table-allgui.h"
 
-#include <libguile.h>
 #include "dialog-utils.h"
 
 // static QofLogModule log_module = GNC_MOD_SX;

Modified: gnucash/trunk/src/gnome/gnc-split-reg2.c
===================================================================
--- gnucash/trunk/src/gnome/gnc-split-reg2.c	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/src/gnome/gnc-split-reg2.c	2012-12-12 17:43:18 UTC (rev 22642)
@@ -55,7 +55,6 @@
 
 #include "gnc-tree-view-split-reg.h"
 
-#include <libguile.h>
 #include "dialog-utils.h"
 
 #define GCONF_SECTION "window/pages/register2"

Modified: gnucash/trunk/src/gnome-search/gncmod-gnome-search.c
===================================================================
--- gnucash/trunk/src/gnome-search/gncmod-gnome-search.c	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/src/gnome-search/gncmod-gnome-search.c	2012-12-12 17:43:18 UTC (rev 22642)
@@ -28,7 +28,6 @@
 
 #include <gtk/gtk.h>
 #include <gmodule.h>
-#include <libguile.h>
 
 #include "gnc-module.h"
 #include "gnc-module-api.h"

Modified: gnucash/trunk/src/gnome-utils/gnc-file.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-file.c	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/src/gnome-utils/gnc-file.c	2012-12-12 17:43:18 UTC (rev 22642)
@@ -24,7 +24,6 @@
 #include <gtk/gtk.h>
 #include <glib/gi18n.h>
 #include <errno.h>
-#include <libguile.h>
 #include <string.h>
 
 #include "dialog-utils.h"

Modified: gnucash/trunk/src/gnome-utils/gnc-gnome-utils.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-gnome-utils.c	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/src/gnome-utils/gnc-gnome-utils.c	2012-12-12 17:43:18 UTC (rev 22642)
@@ -24,7 +24,6 @@
 #include "config.h"
 
 #include <glib/gi18n.h>
-#include <libguile.h>
 #include <gconf/gconf.h>
 #ifdef HAVE_X11_XLIB_H
 # include <X11/Xlib.h>

Modified: gnucash/trunk/src/html/gnc-html.c
===================================================================
--- gnucash/trunk/src/html/gnc-html.c	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/src/html/gnc-html.c	2012-12-12 17:43:18 UTC (rev 22642)
@@ -38,7 +38,6 @@
 #include <fcntl.h>
 #include <unistd.h>
 #include <regex.h>
-#include <libguile.h>
 
 #include "Account.h"
 #include "print-session.h"

Modified: gnucash/trunk/src/import-export/CMakeLists.txt
===================================================================
--- gnucash/trunk/src/import-export/CMakeLists.txt	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/src/import-export/CMakeLists.txt	2012-12-12 17:43:18 UTC (rev 22642)
@@ -12,7 +12,6 @@
 INCLUDE_DIRECTORIES (${GCONF2_INCLUDE_DIRS})
 #INCLUDE_DIRECTORIES (${LIBINTL_INCLUDE_PATH})
 #INCLUDE_DIRECTORIES (${REGEX_INCLUDE_PATH})
-#INCLUDE_DIRECTORIES (${GUILE_INCLUDE_DIRS})
 INCLUDE_DIRECTORIES (${CMAKE_BINARY_DIR}/src ) # for config.h
 INCLUDE_DIRECTORIES (${CMAKE_SOURCE_DIR}/lib/libc) # for pow.h
 INCLUDE_DIRECTORIES (${CMAKE_SOURCE_DIR}/src ) # for gnc-ui.h

Modified: gnucash/trunk/src/import-export/Makefile.am
===================================================================
--- gnucash/trunk/src/import-export/Makefile.am	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/src/import-export/Makefile.am	2012-12-12 17:43:18 UTC (rev 22642)
@@ -63,7 +63,6 @@
   -I${top_srcdir}/src/gnome-utils \
   -I${top_srcdir}/src/libqof/qof \
   ${GCONF_CFLAGS} \
-  ${GUILE_INCS} \
   ${GTK_CFLAGS} \
   ${GLIB_CFLAGS}
 

Modified: gnucash/trunk/src/import-export/gncmod-generic-import.c
===================================================================
--- gnucash/trunk/src/import-export/gncmod-generic-import.c	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/src/import-export/gncmod-generic-import.c	2012-12-12 17:43:18 UTC (rev 22642)
@@ -6,7 +6,6 @@
 
 #include "config.h"
 #include <gmodule.h>
-#include <libguile.h>
 #include <glib/gi18n.h>
 
 #include "dialog-preferences.h"
@@ -24,8 +23,6 @@
 int libgncmod_generic_import_gnc_module_revision = 0;
 int libgncmod_generic_import_gnc_module_age      = 0;
 
-/*static GNCModule engine; NOTUSED */
-
 char *
 libgncmod_generic_import_gnc_module_path(void)
 {

Modified: gnucash/trunk/src/import-export/log-replay/Makefile.am
===================================================================
--- gnucash/trunk/src/import-export/log-replay/Makefile.am	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/src/import-export/log-replay/Makefile.am	2012-12-12 17:43:18 UTC (rev 22642)
@@ -35,7 +35,6 @@
   -I${top_srcdir}/src/import-export \
   -I${top_srcdir}/src/libqof/qof \
   ${GCONF_CFLAGS} \
-  ${GUILE_INCS} \
   ${GTK_CFLAGS} \
   ${GLIB_CFLAGS}
 

Modified: gnucash/trunk/src/import-export/log-replay/gnc-log-replay.c
===================================================================
--- gnucash/trunk/src/import-export/log-replay/gnc-log-replay.c	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/src/import-export/log-replay/gnc-log-replay.c	2012-12-12 17:43:18 UTC (rev 22642)
@@ -30,7 +30,6 @@
 #include <glib/gstdio.h>
 #include <string.h>
 #include <sys/time.h>
-#include <libguile.h>
 #include <errno.h>
 
 #include "Account.h"

Modified: gnucash/trunk/src/import-export/log-replay/gncmod-log-replay.c
===================================================================
--- gnucash/trunk/src/import-export/log-replay/gncmod-log-replay.c	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/src/import-export/log-replay/gncmod-log-replay.c	2012-12-12 17:43:18 UTC (rev 22642)
@@ -26,7 +26,6 @@
 #include "config.h"
 
 #include <gmodule.h>
-#include <libguile.h>
 
 #include "gnc-log-replay.h"
 #include "gnc-module.h"

Modified: gnucash/trunk/src/import-export/ofx/Makefile.am
===================================================================
--- gnucash/trunk/src/import-export/ofx/Makefile.am	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/src/import-export/ofx/Makefile.am	2012-12-12 17:43:18 UTC (rev 22642)
@@ -37,7 +37,6 @@
   -I${top_srcdir}/src/import-export \
   -I${top_srcdir}/src/libqof/qof \
   ${GCONF_CFLAGS} \
-  ${GUILE_INCS} \
   ${GTK_CFLAGS} \
   ${GLIB_CFLAGS} \
   ${LIBOFX_CFLAGS} 

Modified: gnucash/trunk/src/import-export/ofx/gnc-ofx-import.c
===================================================================
--- gnucash/trunk/src/import-export/ofx/gnc-ofx-import.c	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/src/import-export/ofx/gnc-ofx-import.c	2012-12-12 17:43:18 UTC (rev 22642)
@@ -30,7 +30,6 @@
 #include <stdio.h>
 #include <string.h>
 #include <sys/time.h>
-#include <libguile.h>
 #include <math.h>
 
 #include <libofx/libofx.h>

Modified: gnucash/trunk/src/plugins/customer_import/libgncmod-customer_import.c
===================================================================
--- gnucash/trunk/src/plugins/customer_import/libgncmod-customer_import.c	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/src/plugins/customer_import/libgncmod-customer_import.c	2012-12-12 17:43:18 UTC (rev 22642)
@@ -31,7 +31,6 @@
 #include <gmodule.h>
 #include <gtk/gtk.h>
 #include <glib/gi18n.h>
-#include <libguile.h>
 
 #include "gnc-hooks.h"
 #include "gnc-module.h"

Modified: gnucash/trunk/src/register/register-core/gncmod-register-core.c
===================================================================
--- gnucash/trunk/src/register/register-core/gncmod-register-core.c	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/src/register/register-core/gncmod-register-core.c	2012-12-12 17:43:18 UTC (rev 22642)
@@ -7,7 +7,6 @@
 
 #include "config.h"
 #include <gmodule.h>
-#include <libguile.h>
 
 #include "gnc-module.h"
 #include "gnc-module-api.h"

Modified: gnucash/trunk/src/register/register-gnome/Makefile.am
===================================================================
--- gnucash/trunk/src/register/register-gnome/Makefile.am	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/src/register/register-gnome/Makefile.am	2012-12-12 17:43:18 UTC (rev 22642)
@@ -62,7 +62,6 @@
   -I${top_srcdir}/src/register/ledger-core \
   -I${top_srcdir}/src/register/register-core \
   -I${top_srcdir}/src/libqof/qof \
-  ${GUILE_INCS} \
   ${GLIB_CFLAGS} \
   ${GCONF_CFLAGS} \
   ${GTK_XIM_FLAGS} \

Modified: gnucash/trunk/src/register/register-gnome/table-gnome.c
===================================================================
--- gnucash/trunk/src/register/register-gnome/table-gnome.c	2012-12-12 17:43:04 UTC (rev 22641)
+++ gnucash/trunk/src/register/register-gnome/table-gnome.c	2012-12-12 17:43:18 UTC (rev 22642)
@@ -39,7 +39,6 @@
 
 #include "config.h"
 
-#include <libguile.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>



More information about the gnucash-changes mailing list