commit-gnue
[Top][All Lists]
Advanced

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

gnue/gnuef AUTHORS INSTALL src/UIwxpython.py


From: James Thompson
Subject: gnue/gnuef AUTHORS INSTALL src/UIwxpython.py
Date: Wed, 15 Nov 2000 08:57:54 -0800

CVSROOT:        /cvs
Module name:    gnue
Changes by:     James Thompson <address@hidden> 00/11/15 08:57:53

Modified files:
        gnuef          : AUTHORS INSTALL 
        gnuef/src      : UIwxpython.py 

Log message:
        Performance changes
        Added Georg Lehner's detailed INSTALL doc
        Clean up

CVSWeb URLs:
http://subversions.gnu.org/cgi-bin/cvsweb/gnue/gnuef/AUTHORS.diff?r1=1.5&r2=1.6
http://subversions.gnu.org/cgi-bin/cvsweb/gnue/gnuef/INSTALL.diff?r1=1.2&r2=1.3
http://subversions.gnu.org/cgi-bin/cvsweb/gnue/gnuef/src/UIwxpython.py.diff?r1=1.31&r2=1.32

Patches:
Index: gnue/gnuef/AUTHORS
diff -u gnue/gnuef/AUTHORS:1.5 gnue/gnuef/AUTHORS:1.6
--- gnue/gnuef/AUTHORS:1.5      Tue Oct 24 17:28:00 2000
+++ gnue/gnuef/AUTHORS  Wed Nov 15 08:57:53 2000
@@ -13,3 +13,8 @@
 
 Chris Spence <>
   GFParser.py code
+
+Georg Lehner <address@hidden>
+  new INSTALL document
+
+If we've missed anyone please let us know.
Index: gnue/gnuef/INSTALL
diff -u gnue/gnuef/INSTALL:1.2 gnue/gnuef/INSTALL:1.3
--- gnue/gnuef/INSTALL:1.2      Fri Oct 27 12:59:26 2000
+++ gnue/gnuef/INSTALL  Wed Nov 15 08:57:53 2000
@@ -1 +1,258 @@
-Please read the README, README.wxwindows, and README.developers
+Installation instructions for GNUe-Forms, LEG14112000
+
+General information:
+====================
+
+GNUe-Forms needs some prerequisites to work. You need a database
+managment system, a user-interface library, python as programming
+language and a xml-handling library.
+
+Later there will be available interoperability for a variety of
+database systems via libgda and GNUe-forms itself is a wrapper around
+a variety of user-interface libraries.
+
+Actually the only database systems supported are MySQL and
+PostgreSQL. Only the latter will be treated in this document.
+
+Also there is only one functional user-interface available at the time
+of writing via wxWindows. We will concentrate on the GTK Version of
+wxWindows which is available for X-Windows.
+
+The (wx-)GNUe-forms client which interpret the forms definition is
+written in Python. It works with python 1.5 and is not compatible with
+python 2.0.
+
+The rest of the document describes the steps to install GNUe-forms on
+a Debian 2.2, i386 platform.
+
+
+Debian packages to be installed:
+================================
+
+python-dev     The python interpreter and environment (1.5.2)
+libgtk1.2.7-devel Development files for the GIMP Toolkit needed for
+               wxGTK. 
+postgresql-dev postgresql-devel Version 6.5.3-23 Header files for
+               libpq (postgresql library)  
+libtools       required for gnuef compilation (not really, but...).
+cvs            required for gnuef-"download".
+
+There will eventually be a bunch of dependend packages that will
+be installed automatically too.
+
+
+Other software to be installed:
+===============================
+
+All the following files have to be downloaded and installed. I will
+give short installation instructions and a compact list of the needed
+files and sites at the bottom for convenient reference for
+download. Space requirements are 6856 KByte for the downloaded files
+and 79680 KByte for the fully built directories, plus the space of the
+installed binaries. If you follow the described sequence you can
+delete each directory in turn after having installed the respective
+software.
+
+Distutils-1.0.1.tar.gz:                 www.python.org 
+       Untar in some place (e.g. /usr/local/src). Enter in the
+       directory Distutils-1.0.1, issue "./setup.py build" and as
+       root "./setup.py install".
+
+PyGreSQL.tgz:                   www.druid.net/pygresql         
+       Untar in some place. Enter in the directory PyGreSQL-3.0,
+       issue "./setup.py build".
+       PyGreSQL needs to find the postgres header files in other
+       place then debian installs them. One workaround is
+       "ln -s /usr/include/postgresql /usr/include/pgsql".
+       As root issue finally "./setup.py install".
+
+PyXML-0.6.1.tar.gz:      pyxml.sourceforge.net/topics/download.html
+  ->sourceforge.net/project/showfiles.php?group_id=6473&release_id=13315
+       Untar in some place. Enter in the directory PyXML-0.6.1, issue
+       "python setup.py build" and as root "python setup.py install".
+
+wxGTK-2.2.2.tar.gz:     www.freiburg.linux.de/~wxxt/download.htm 
+        Untar in some place. Enter in the directory wxGTK, issue
+        "./configure", "make" - this will run looong time, and then
+       "make install" as root.
+
+wxPython-2.2.2.tar.gz: www.wxpython.org/download.php
+       Untar in some place. Enter in the directory wxPython-2.2.2,
+       edit setup.py and change the following variables to the
+       indicated value (if not you get a compile time error):
+
+       BUILD_GLCANVAS = 0
+
+       issue "./setup.py build" - this will run long time, and as
+       root "./setup.py install"
+
+If you want to play with the curses-client you can download:
+
+pyncurses-0.3.tar.gz:   pyncurses.sourceforge.net
+        Untar in some place. Enter in the directory pyncurses-0.3,
+        issue "debian/apply-patch.sh", "python setup.py build" and as
+        root "python setup.py install".
+
+
+Download table:
+===============
+
+Distutils-1.0.1.tar.gz:          www.python.org 
+PyGreSQL.tgz:            www.druid.net/pygresql                
+PyXML-0.6.1.tar.gz:      pyxml.sourceforge.net/topics/download.html
+                         ->sourceforge.net/project/showfiles.php\
+                           ?group_id=6473&release_id=13315
+wxGTK-2.2.2.tar.gz:      www.freiburg.linux.de/~wxxt/download.htm 
+wxPython-2.2.2.tar.gz:   www.wxpython.org/download.php
+[pyncurses-0.3.tar.gz:   pyncurses.sourceforge.net]
+
+
+Download GNUe-Forms:
+====================
+
+By now I recommend anonymous cvs, so you need to have installed the
+cvs package. You can also download the corresponding tarball and untar
+it "in some place".
+
+If you connect the first time to the gnue cvs server issue:
+
+"cvs -d :pserver:address@hidden:/home/cvs login"
+
+You will be asked for a password. Just hit Enter.
+
+Every time you want to download (checkout) the actual version of gnue
+issue:
+
+"cvs -d :pserver:address@hidden:/home/cvs co gnue"
+
+If you want to update a yet checked out version issue:
+
+"cvs -d :pserver:address@hidden:/home/cvs update gnue"
+
+
+Enter in the gnue/gnuef directory. Issue "./setup.py build" and as
+root "./setyp.py install".
+
+Now you can run your first sample: "gfclient samples/form.gfd".
+
+Open Questions:
+===============
+
+Q: What about other linuxes or other *n*x platforms?
+
+A: Well! What about them? Tell me!
+
+   Some core developers use RedHat Linux, so it works. They had some
+   trouble with some libraries and a fix was on the mailing list, look
+   at the archive.
+   If you manage to install gnue(f) on another platform please publish
+   the recipe to the gnue mailing-list or as a last resort to me
+   (address@hidden).
+
+   Platforms gnuef is known to work on:
+     RedHat Linux
+     Debian GNU/Linux
+     Solaris 2.5.1  
+
+Q: What do I do if I cannot become root on the computer I am using?
+
+A: Short answer: not even try it!  
+
+   Longer answer: gnuef needs some "modules" installed and I don't
+   know how to twist python to find them in a local directory, python
+   experts could give advice but you still need to twist three other
+   python packages and one C++ package into a local
+   installation. Don't even speaking about debian packages. But maybe
+   if you are very nice to your system administrator...
+
+
+Q: I don't have version x.ww.zzz of software foo installed. Will it
+   work or do I need to install the version you mentioned.
+
+A: Short answer: try it out.
+
+   Longer answer: better don't try it out and follow my way :-)
+
+   Long answer: wxGTK says that libgtk >= 1.2.3 is required,
+   python 2.0 did definitly not work for me, further more its license
+   status is not clear. With all the other packages I did not even
+   check the docs. If you have some positive experience (version x.y.z
+   WORKS) let me know it and I will put it here. Oh', glibc2 is also
+   required, but I think that almost nothing works yet without it.
+
+
+Q: I ran all the samples but a lot of them give me nasty errors and no
+   windows pop up on the display!? Some ask me for a username and a
+   password?
+
+A: You have to set up a sample database to use some of the forms. For
+   this you must be registered as a postgres user. You must have the
+   rights to create a database.
+
+   Create a database with name gnue (issue "createdb gnue") and
+   another with name test. Enter in the directory
+   gnue/gnuef/samples/zipcode and issue "psql -f pg__zip_code.sql
+   gnue". Make sure that in all .gfd files where databases are used
+   the attribute "host" is set to "localhost" or your hostname.
+
+   Note: Maybe postgres has to be run over TCP/IP and not only locally
+   but I don't know exactly.
+
+   There are still bugs in the wx client, but I won't list them
+   here. Ask the list, the FAQ or the Bug-report system on the gnue
+   website. 
+
+
+Q: What about the curses client? Other clients?
+
+A: The curses client does not work and its development status is
+   unclear.
+
+   The (my) wishlist for clients contains a html-client to which you
+   can point any web-browser. Nothing about such a client or other
+   clients is heard about.
+
+
+Q: I have installed all the stuff and now?
+
+A: GNUe-forms is very incomplete by now. Please help development by
+   reporting any bugs you find. If you write any succesful forms
+   please donate them to the samples pool. Contact:
+
+   http://www.gnue.org
+   address@hidden
+
+   Last resort: address@hidden
+
+
+Q: I want a more actual version of gnue. I don't want to download the
+   whole gnue repository but only gnue-forms.
+
+A: Look at the chapter "Download GNUe-Forms" how to cvs-update
+   gnue. With "update" you download only the changes from your version
+   to the actual verson of the archives.
+   You can issue "... co gnue/gnuef" if you only want to download that
+   subdirectory.
+
+
+Copyright:
+==========
+
+The author of this document is Georg Lehner. You can reach me at
address@hidden or better via the mailing list
address@hidden
+
+This document may be redistributed freely within the terms of the Gnu
+Document Public License, look at www.gnu.org for further reference.
+
+If you do not have access to the internet the person who gave this
+document to you has to provide you with the license text also.
+
+Correctright:
+=============
+
+You have the right to correct this document as it contains a lot of
+typing and gramatic and stylistic errors and all other kind of ugly
+bugs. But please be kind and tell us all about the corrections so we
+can correct them too and spare other people linguistic and cultural
+shocks ;->
Index: gnue/gnuef/src/UIwxpython.py
diff -u gnue/gnuef/src/UIwxpython.py:1.31 gnue/gnuef/src/UIwxpython.py:1.32
--- gnue/gnuef/src/UIwxpython.py:1.31   Tue Nov 14 20:04:39 2000
+++ gnue/gnuef/src/UIwxpython.py        Wed Nov 15 08:57:53 2000
@@ -192,10 +192,8 @@
     # fill currently indexed spot
     if style == 'dropdown':
       value = event.data.allowedValues()[event.data.getValue()]
-      print "Drop Value: ", value
     else:
       value = event.data.getValue()
-      print "Value: ", value
     
     self.formToUI[event.data][0][index].SetEvtHandlerEnabled(FALSE)
     self.formToUI[event.data][0][index].SetValue(value)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]