- Reorganize sources to split them across three parts:
- The main program, the frontend - A pyton loader library - The backend library Happy hacking. git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@240 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
cc7851daf9
commit
420a7f0e95
56
ChangeLog
56
ChangeLog
|
@ -1,3 +1,59 @@
|
|||
2006-01-27 15:33 tchernobog
|
||||
|
||||
* trunk/doc/sgpem2dman.texi: - Fix grammar and form in chapter
|
||||
"2.Writing documentation"
|
||||
|
||||
2006-01-27 15:04 tchernobog
|
||||
|
||||
* trunk/src/gtkgui/Makefile.am,
|
||||
trunk/src/gtkgui/graphicalterminalio.cc,
|
||||
trunk/src/gtkgui/graphicalterminalio.hh,
|
||||
trunk/src/gtkgui/iomanager.hh: - Start adding interface for the
|
||||
frontend IO section. Should we use namespaces?
|
||||
|
||||
2006-01-27 14:29 tchernobog
|
||||
|
||||
* trunk/doc/fdl.texi: - Fix appendixsubsec -> appendixsec (else it
|
||||
has no father section)
|
||||
|
||||
2006-01-27 14:19 tchernobog
|
||||
|
||||
* trunk/doc/sgpem2dman.texi: - Fix overfull box in PDF output
|
||||
|
||||
2006-01-27 14:11 tchernobog
|
||||
|
||||
* trunk/doc/sgpem2dman.texi: - Add section about reporting anomalies
|
||||
|
||||
2006-01-27 10:04 tchernobog
|
||||
|
||||
* trunk/src/gtkgui/mainwindow.cc, trunk/src/gtkgui/startgui.cc,
|
||||
trunk/src/parseopts.cc: - Put opening braces on a newline, as per
|
||||
coding-style rules
|
||||
|
||||
2006-01-27 00:17 tchernobog
|
||||
|
||||
* trunk/doc/sgpem2dman.texi: - Change Subsections of Chapter 5 into
|
||||
Sections to preserve right gerarchy
|
||||
|
||||
2006-01-26 23:56 elvez
|
||||
|
||||
* trunk/doc/sgpem2dman.texi: Added two points to coding rules. See
|
||||
changelog for details.
|
||||
|
||||
2006-01-26 23:06 tchernobog
|
||||
|
||||
* trunk/src/gtkgui/mainwindow.cc, trunk/src/gtkgui/startgui.cc: -
|
||||
Show an example of the use of a signal, and basic packing, for the
|
||||
developer
|
||||
|
||||
2006-01-26 22:41 tchernobog
|
||||
|
||||
* trunk/ChangeLog, trunk/config/Doxyfile.in, trunk/doc/Makefile.am,
|
||||
trunk/m4/Makefile.am, trunk/src/gtkgui/mainwindow.hh,
|
||||
trunk/src/gtkgui/startgui.hh, trunk/src/parseopts.hh: - Small
|
||||
fixes to class documentation - Now distcheck works correctly,
|
||||
including a copy of the API documentation in the built dist tar.
|
||||
|
||||
2006-01-26 21:41 tchernobog
|
||||
|
||||
* trunk/Makefile.am, trunk/doc/Makefile.am, trunk/m4/Makefile.am: -
|
||||
|
|
|
@ -148,8 +148,8 @@ doc/Makefile
|
|||
m4/Makefile
|
||||
po/Makefile.in
|
||||
src/Makefile
|
||||
src/backend/Makefile
|
||||
src/builtin-policies/Makefile
|
||||
src/gtkgui/Makefile
|
||||
src/pyloader/Makefile
|
||||
src/testsuite/Makefile
|
||||
])
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
# along with SGPEMv2; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
SUBDIRS = builtin-policies gtkgui pyloader testsuite
|
||||
SUBDIRS = backend builtin-policies pyloader testsuite
|
||||
|
||||
#additional rules:
|
||||
%_wrap.cc : %.i
|
||||
|
@ -36,16 +36,26 @@ localedir = @datadir@/locale
|
|||
sgpemv2_CPPFLAGS = -I@top_srcdir@ \
|
||||
-DPYCDIR="\"$(pycdir)\"" \
|
||||
-DMODDIR="\"$(moddir)\"" \
|
||||
-DLOCALEDIR="\"$(localedir)\""
|
||||
sgpemv2_LDFLAGS = -L@builddir@/gtkgui -L@builddir@/pyloader
|
||||
sgpemv2_LDADD = -lgtkgui -lpyloader
|
||||
-DLOCALEDIR="\"$(localedir)\"" \
|
||||
$(CAIRO_CFLAGS) \
|
||||
$(GTKMM_CFLAGS)
|
||||
sgpemv2_LDFLAGS = -L@builddir@/backend -L@builddir@/pyloader
|
||||
sgpemv2_LDADD = -lbackend -lpyloader \
|
||||
$(CAIRO_LIBS) \
|
||||
$(GTKMM_LIBS)
|
||||
|
||||
# Please keep this in sorted order:
|
||||
sgpemv2_SOURCES = \
|
||||
graphicalterminalio.cc \
|
||||
main.cc \
|
||||
parseopts.cc
|
||||
mainwindow.cc \
|
||||
parseopts.cc \
|
||||
startgui.cc
|
||||
|
||||
noinst_HEADERS = \
|
||||
iomanager.hh \
|
||||
main.hh \
|
||||
mainwindow.hh \
|
||||
startgui.hh \
|
||||
graphicalterminalio.hh \
|
||||
parseopts.hh
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# src/gtkgui/Makefile.am - Copyright 2005, 2006, University
|
||||
# src/backend/Makefile.am - Copyright 2005, 2006, University
|
||||
# of Padova, dept. of Pure and Applied
|
||||
# Mathematics
|
||||
#
|
||||
|
@ -18,11 +18,15 @@
|
|||
# along with SGPEMv2; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
# If needed, setup testsuite for this component
|
||||
# you'll want to setup a testsuite for this component, sooner or later.
|
||||
#SUBDIRS = testsuite
|
||||
|
||||
#additional rules:
|
||||
%_wrap.cc : %.i
|
||||
$(SWIG) $(SWIG_PYTHON_OPT) -o $@ $<
|
||||
|
||||
# Program & library names
|
||||
pkglib_LTLIBRARIES = libgtkgui.la
|
||||
pkglib_LTLIBRARIES = libbackend.la
|
||||
|
||||
# Other directories
|
||||
sharedir = @datadir@/sgpemv2
|
||||
|
@ -30,25 +34,22 @@ pycdir = $(sharedir)/policies
|
|||
moddir = $(sharedir)/modules
|
||||
localedir = @datadir@/locale
|
||||
|
||||
libgtkgui_la_CPPFLAGS = -I@top_srcdir@ \
|
||||
libbackend_la_CPPFLAGS = -I@top_srcdir@ \
|
||||
-DPYCDIR="\"$(pycdir)\"" \
|
||||
-DMODDIR="\"$(moddir)\"" \
|
||||
-DLOCALEDIR="\"$(localedir)\""
|
||||
libgtkgui_la_CXXFLAGS = \
|
||||
$(CAIRO_CFLAGS) \
|
||||
$(GTKMM_CFLAGS)
|
||||
libgtkgui_la_LIBADD = \
|
||||
$(CAIRO_LIBS) \
|
||||
$(GTKMM_LIBS)
|
||||
-DLOCALEDIR="\"$(localedir)\"" \
|
||||
$(PYTHON_CPPFLAGS)
|
||||
libbackend_la_LIBADD = $(PYTHON_LDFLAGS) \
|
||||
$(PYTHON_EXTRA_LIBS)
|
||||
libbackend_la_LDFLAGS = $(PYTHON_EXTRA_LDFLAGS)
|
||||
|
||||
# Please keep this in sorted order:
|
||||
libgtkgui_la_SOURCES = \
|
||||
graphicalterminalio.cc \
|
||||
mainwindow.cc \
|
||||
startgui.cc
|
||||
libbackend_la_SOURCES = empty.cc
|
||||
|
||||
noinst_HEADERS =
|
||||
|
||||
# !! temp file for debug, will be deleted as soon as
|
||||
# !! source's in place
|
||||
empty.cc :
|
||||
echo "int main() {}" > @builddir@/$@
|
||||
|
||||
noinst_HEADERS = \
|
||||
iomanager.hh \
|
||||
mainwindow.hh \
|
||||
startgui.hh \
|
||||
graphicalterminalio.hh
|
|
@ -1,4 +1,4 @@
|
|||
// src/gtkgui/graphicalterminalio.cc - Copyright 2005, 2006, University
|
||||
// src/graphicalterminalio.cc - Copyright 2005, 2006, University
|
||||
// of Padova, dept. of Pure and Applied
|
||||
// Mathematics
|
||||
//
|
|
@ -1,4 +1,4 @@
|
|||
// src/gtkgui/graphicalterminalio.hh - Copyright 2005, 2006, University
|
||||
// src/graphicalterminalio.hh - Copyright 2005, 2006, University
|
||||
// of Padova, dept. of Pure and Applied
|
||||
// Mathematics
|
||||
//
|
||||
|
@ -18,8 +18,8 @@
|
|||
// along with SGPEMv2; if not, write to the Free Software
|
||||
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
#ifndef GTKGUI_GRAPHICALTERMINALIO_HH
|
||||
#define GTKGUI_GRAPHICALTERMINALIO_HH 1
|
||||
#ifndef GRAPHICALTERMINALIO_HH
|
||||
#define GRAPHICALTERMINALIO_HH 1
|
||||
|
||||
#include "config.h"
|
||||
#include "gettext.h"
|
|
@ -1,4 +1,4 @@
|
|||
// src/gtkgui/iomanager.hh - Copyright 2005, 2006, University
|
||||
// src/iomanager.hh - Copyright 2005, 2006, University
|
||||
// of Padova, dept. of Pure and Applied
|
||||
// Mathematics
|
||||
//
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include "main.hh"
|
||||
#include "parseopts.hh"
|
||||
#include "gtkgui/startgui.hh"
|
||||
#include "startgui.hh"
|
||||
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#ifndef MAIN_HH
|
||||
#define MAIN_HH 1
|
||||
|
||||
// found in gtkgui/mainwindow.hh
|
||||
// found in mainwindow.hh
|
||||
extern void build_gui(int argc, char** argv);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// src/gtkgui/mainwindow.cc - Copyright 2005, 2006, University
|
||||
// src/mainwindow.cc - Copyright 2005, 2006, University
|
||||
// of Padova, dept. of Pure and Applied
|
||||
// Mathematics
|
||||
//
|
|
@ -1,4 +1,4 @@
|
|||
// src/gtkgui/mainwindow.hh - Copyright 2005, 2006, University
|
||||
// src/mainwindow.hh - Copyright 2005, 2006, University
|
||||
// of Padova, dept. of Pure and Applied
|
||||
// Mathematics
|
||||
//
|
|
@ -1,4 +1,4 @@
|
|||
// src/gtkgui/startgui.cc - Copyright 2005, 2006, University
|
||||
// src/startgui.cc - Copyright 2005, 2006, University
|
||||
// of Padova, dept. of Pure and Applied
|
||||
// Mathematics
|
||||
//
|
|
@ -1,4 +1,4 @@
|
|||
// src/gtkgui/startgui.hh - Copyright 2005, 2006, University
|
||||
// src/startgui.hh - Copyright 2005, 2006, University
|
||||
// of Padova, dept. of Pure and Applied
|
||||
// Mathematics
|
||||
//
|
Loading…
Reference in New Issue