[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/gnue-common setup.py etc/sample-windows.gn...
From: |
Jason Cater |
Subject: |
gnue/gnue-common setup.py etc/sample-windows.gn... |
Date: |
Fri, 02 Nov 2001 18:14:08 -0500 |
CVSROOT: /home/cvs
Module name: gnue
Changes by: Jason Cater <address@hidden> 01/11/02 18:14:08
Modified files:
gnue-common : setup.py
gnue-common/etc: sample-windows.gnue.conf
Log message:
win32 fixes; gnuef works under Win32 again :)
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/setup.py.diff?cvsroot=OldCVS&tr1=1.23&tr2=1.24&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/etc/sample-windows.gnue.conf.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
Patches:
Index: gnue/gnue-common/etc/sample-windows.gnue.conf
diff -u gnue/gnue-common/etc/sample-windows.gnue.conf:1.1
gnue/gnue-common/etc/sample-windows.gnue.conf:1.2
--- gnue/gnue-common/etc/sample-windows.gnue.conf:1.1 Sat Jun 30 14:37:32 2001
+++ gnue/gnue-common/etc/sample-windows.gnue.conf Fri Nov 2 18:14:08 2001
@@ -1,95 +1,113 @@
-#
-# Options for GNUe
-#
-# Copyright 2000,2001 Free Software Foundation
-#
-# This file is part of GNU Enterprise.
-#
-# GNU Enterprise 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.
-#
-# GNU Enterprise 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 program; see the file COPYING. If not,
-# write to the Free Software Foundation, Inc., 59 Temple Place
-# - Suite 330, Boston, MA 02111-1307, USA.
-
-[forms]
-prefix=C:\python20
-FormDir =%(prefix)s/forms
-
-# Create new records in blocks automagically when you hit the bottom
-autoCreate = 1
-
-# Hack for db encoding
-Encoding=DEFAULT
-
-# Startup graphic
-splashScreenPNG=%(prefix)s/shared/images/gnue-splash.png
-
-#GNUe Tool Bar Buttons
-tb_commit=%(prefix)s/shared/images/tb_save.png
-tb_insert=%(prefix)s/shared/images/tb_new.png
-tb_rollback=%(prefix)s/shared/images/tb_undo.png
-tb_delete=%(prefix)s/shared/images/tb_trash.png
-tb_previous=%(prefix)s/shared/images/tb_left_arrow.png
-tb_next=%(prefix)s/shared/images/tb_right_arrow.png
-tb_query_prep=%(prefix)s/shared/images/tb_preferences.png
-tb_query=%(prefix)s/shared/images/tb_search.png
-tb_help=%(prefix)s/shared/images/tb_help.png
-
-#GNUe Menu/Toolbar Status Bar Messages
-msg_commit=Save all changes to database.
-msg_rollback=Discard all changes.
-msg_exit=Leave the application.
-msg_next=Navigate to next record in memory.
-msg_previous=Navigate to previous record in memory.
-msg_insert=Create a new record for data input.
-msg_delete=Mark record for removal at next commit.
-msg_next_block=Navigate to next data block.
-msg_previous_block=Navigate to previous data block.
-msg_query_prep=Switch to input query mask mode.
-msg_query=Execute query using current mask.
-msg_help=Display info about GNUe Forms.
-
-#
-GEASDIR=/usr/local/
-
-# GNUe logo
-smallPNG=%(prefix)s/shared/images/gnue.png
-
-# Might need altered but I doubt it
-# The default height of widgets for widgets that don't specify height in .gfd
file
-widgetHeight=1
-# The default width of widgets for widgets that don't specify width in .gfd
file
-widgetWidth =10
-
-# The next 2 options are only used by the wxPython clients
-# Normally, default font style and size is used, according to the active theme
-# Set this to 1 if you want fixed width fonts
-fixedWidthFont = 1
-
-# Font size if fixedWidthFont = 1 (ignored otherwise)
-pointSize = 14
-
-# Do not alter below here unless you really, really want to (and you know what
you are doing)
-
-DEBUG = 0
-
-_msgNOTSAVED = Data not saved. Commit or rollback changes.
-_msgDETAILNOTSAVED = This record's detail information is not saved.
-
-# Fudge factor for altering widget size - should no longer be needed
-borderPercentage = 100
-textPercentage = 100
-
-# Version
-VERSION = pre-0.0.8
-
-
+#
+# Options for GNUe
+#
+# Copyright 2000,2001 Free Software Foundation
+#
+# This file is part of GNU Enterprise.
+#
+# GNU Enterprise 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.
+#
+# GNU Enterprise 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 program; see the file COPYING. If not,
+# write to the Free Software Foundation, Inc., 59 Temple Place
+# - Suite 330, Boston, MA 02111-1307, USA.
+
+[forms]
+prefix=C:\python21
+FormDir =%(prefix)s/forms
+
+# Create new records in blocks automagically when you hit the bottom
+autoCreate = 1
+
+# Remember last query entered. (if enabled, then the last values entered
+# for a query can be retrieved by doing an Enter-Query twice)
+RememberLastQuery = 1
+
+# Detail data caching behavior:
+#
+# If set to true (default), then always cache detail data in a master/detail
+# set. The benefits of this method is performance. The downsize to this method
+# is that records are cached so any changes made elsewhere are not reflected
+# in the cached records.
+#
+# If set to false, then only cache detail data if it has unposted changes.
+# The benefits of this method are that if another user modifies data and
+# saves, then it will be available to your form much quicker.
+CacheDetailRecords = 1
+
+# Hack for db encoding
+Encoding=DEFAULT
+
+# Startup graphic
+splashScreenPNG=%(prefix)s/shared/images/gnue-splash.png
+
+#GNUe Tool Bar Buttons
+tb_commit=%(prefix)s/shared/images/tb_save.png
+tb_insert=%(prefix)s/shared/images/tb_new.png
+tb_rollback=%(prefix)s/shared/images/tb_undo.png
+tb_delete=%(prefix)s/shared/images/tb_trash.png
+tb_previous=%(prefix)s/shared/images/tb_left_arrow.png
+tb_next=%(prefix)s/shared/images/tb_right_arrow.png
+tb_query_prep=%(prefix)s/shared/images/tb_preferences.png
+tb_query=%(prefix)s/shared/images/tb_search.png
+tb_help=%(prefix)s/shared/images/tb_help.png
+
+#GNUe Menu/Toolbar Status Bar Messages
+msg_commit=Save all changes to database.
+msg_rollback=Discard all changes.
+msg_exit=Leave the application.
+msg_next=Navigate to next record in memory.
+msg_previous=Navigate to previous record in memory.
+msg_insert=Create a new record for data input.
+msg_delete=Mark record for removal at next commit.
+msg_next_block=Navigate to next data block.
+msg_previous_block=Navigate to previous data block.
+msg_query_prep=Switch to input query mask mode.
+msg_query=Execute query using current mask.
+msg_help=Display info about GNUe Forms.
+msg_jump=Prompts for a record number to which the system should jump.
+msg_print=Perform print routine for this form
+
+#
+GEASDIR=/usr/local/
+
+# GNUe logo
+smallPNG=%(prefix)s/shared/images/gnue.png
+
+# Might need altered but I doubt it
+# The default height of widgets for widgets that don't specify height in .gfd
file
+widgetHeight=1
+# The default width of widgets for widgets that don't specify width in .gfd
file
+widgetWidth =10
+
+# The next 2 options are only used by the wxPython clients
+# Normally, default font style and size is used, according to the active theme
+# Set this to 1 if you want fixed width fonts
+fixedWidthFont = 1
+
+# Font size if fixedWidthFont = 1 (ignored otherwise)
+pointSize = 14
+
+# Do not alter below here unless you really, really want to (and you know what
you are doing)
+
+DEBUG = 0
+
+_msgNOTSAVED = Data not saved. Commit or rollback changes.
+_msgDETAILNOTSAVED = This record's detail information is not saved.
+
+# Fudge factor for altering widget size - should no longer be needed
+borderPercentage = 100
+textPercentage = 100
+
+# Version
+VERSION = 0.1.0
+
+
Index: gnue/gnue-common/setup.py
diff -u gnue/gnue-common/setup.py:1.23 gnue/gnue-common/setup.py:1.24
--- gnue/gnue-common/setup.py:1.23 Fri Nov 2 18:00:29 2001
+++ gnue/gnue-common/setup.py Fri Nov 2 18:14:08 2001
@@ -111,7 +111,7 @@
sys.path.append(dict['install_lib'][1])
except KeyError:
if sys.platform == 'win32':
- options.append('%s = r"%s"' % sys.prefix)
+ options.append('install_lib = r"%s"' % sys.prefix)
for key in dict.keys():
options.append('%s = "%s"' % (key,
string.replace(dict[key][1],'"','\\"')))
@@ -201,14 +201,13 @@
if sys.platform != 'win32':
os.remove ("setup.cfg")
-if 'install' in sys.argv:
# This is a nasty hack to get GNUe.py (and only GNUe.py)
# to install to site_packages
file = open ("setup.cfg","w")
file.write ("[build]\n"
- "build_base=build.3\n"
+ "build_base=build.1\n"
"[install_lib]\n"
- "build_dir=build.3\n")
+ "build_dir=build.1\n")
file.close()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue/gnue-common setup.py etc/sample-windows.gn...,
Jason Cater <=