commit-gnue
[Top][All Lists]
Advanced

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

[gnue] r10119 - in trunk/gnue-common: etc utils


From: reinhard
Subject: [gnue] r10119 - in trunk/gnue-common: etc utils
Date: Thu, 10 Dec 2009 04:24:04 -0600 (CST)

Author: reinhard
Date: 2009-12-10 04:24:04 -0600 (Thu, 10 Dec 2009)
New Revision: 10119

Removed:
   trunk/gnue-common/etc/gnue.conf
Modified:
   trunk/gnue-common/utils/generate-gnue-config.py
   trunk/gnue-common/utils/release
   trunk/gnue-common/utils/update-tool-docs
Log:
Create gnue.conf on the fly.


Deleted: trunk/gnue-common/etc/gnue.conf
===================================================================
--- trunk/gnue-common/etc/gnue.conf     2009-12-10 10:04:34 UTC (rev 10118)
+++ trunk/gnue-common/etc/gnue.conf     2009-12-10 10:24:04 UTC (rev 10119)
@@ -1,315 +0,0 @@
-# Options for GNUe
-#
-# Copyright 2001-2009 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 3, 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.
-#
-#
-# Note: pointers to files and dirs are relative to the installation
-#       location of GNUe.
-
-
-##############################################################################
-# Common Configuration Options for GNUe                                      #
-##############################################################################
-[common]
-# Encoding for XML headers and for fonts in forms. Like iso8859-1, iso8859-13.
-;textEncoding = ANSI_X3.4-1968
-
-# A comma-separated list of directories to be added to the python search 
-# path to add custom functionality.
-;ImportPath = 
-
-# If set to true, then store trigger definitions in <![CDATA[ .. ]]> blocks, 
-# instead of encoding with &lt; etc.
-;StoreTriggersAsCDATA = True
-
-
-
-##############################################################################
-# Configuration Options for GNUe Forms Client                                #
-##############################################################################
-[forms]
-# The default user interface driver to use if not specified on the command 
-# line.
-# Valid options / examples:
-#   curses
-#   wx26
-#   gtk2
-#   qt3
-#   html
-#   win32
-;DefaultUI = wx26
-
-# The default value stored in the database for True values (usual values are 
-# 1 or Y).
-;checkboxTrue = Y
-
-# The default value stored in the database for false values (usual values 
-# are 0 or N).
-;checkboxFalse = N
-
-# Set to "True" if you want <ENTER> to insert newlines in multirow entries.
-# Even if set to false, Shift+Enter will insert a newline.
-;EnterIsNewLine = True
-
-# Enable caching of detail data.
-# 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 = True
-
-# Mask for viewing date fields (without quotes).
-;DateMask = %x
-
-# Mask for editing date fields (without quotes).
-;DateEditMask = %x
-
-# Mask for viewing time fields (without quotes).
-;DateMask_Time = %X
-
-# Mask for editing time fields (without quotes).
-;DateEditMask_Time = %X
-
-# Mask for viewing timestamp fields (without quotes).
-;DateMask_Timestamp = %x %X
-
-# Mask for editing timestamp fields (without quotes).
-;DateEditMask_Timestamp = %x %X
-
-# Grouping pattern used for thousands separating and definition of the 
-# decimal point. Format: <thousand separator><number of digits><decimal 
-# separator>.  The pair <thousand separator><number of ditigs> can be 
-# repeated multiple times. Example: ,3.
-;numeric_grouping = 
-
-# Location of startup graphic (PNG format)
-;SplashScreenPNG = gnue-splash.png
-
-# Disable the startup splashscreen.
-;DisableSplash = False
-
-# Location of GNUe login logo (PNG format).
-;loginPNG = gnue.png
-
-# Location of GNUe login logo (BMP format). The win32 uidriver accepts only 
-# BMP format.
-;loginBMP = gnue.bmp
-
-# 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 3 options are only used by the wxPython and theWin32 clients.
-# Normally, default font style and size is used, according to the active 
-# theme.
-# Set to true if wxWidgets or Win32 clients should use a fixed width font.
-;fixedWidthFont = False
-
-# If fixedWidthFont is set to true, then this is the point size used for 
-# fonts.
-;pointSize = 0
-
-# If fixedWidthFont is set to true, then this is the face name used for fonts.
-;faceName = 
-
-# The color of a highlighted (ie focused) widget. Leave empty if you don't 
-# want highlight. Format is: "RRGGBB", each digit being hexadecimal.
-;focusColor = 
-
-# The color of even rows in a grid widget. Format is either "RRGGBB", each 
-# digit being hexadecimal or a color name as specified in wx.lib.colourdb.
-;grid_color_even = PALE TURQUOISE
-
-# The color of odd rows in a grid widget. Format is either "RRGGBB", each 
-# digit being hexadecimal or a color name as specified in wx.lib.colourdb.
-;grid_color_odd = LIGHT STEEL BLUE
-
-# Text used to concatenation dropdown descriptions (when multiple 
-# description fields are used)
-;DropdownSeparator = , 
-
-# The default icon set.
-;IconSet = auto
-
-# Use asterisk (*) for wildcards in addition to percent (%)
-;AsteriskWildcard = True
-
-# Change all non-ASCII-characters in a query into a "_"
-;fake_ascii_query = False
-
-# Set path for include files for HTML UI driver for GNUe Forms
-;htmlui_include_path = Z:X:
-
-
-
-##############################################################################
-# Configuration Options for GNUe Reports                                     #
-##############################################################################
-[reports]
-# The default location for filter files.
-;FiltersDir = filters
-
-# The default location for grd files.
-;filters = report-filters.conf
-
-# The default destination type if none specified on command line.
-;DefaultDestinationType = file
-
-# The default destination if none specified on command line.
-;DefaultDestination = -
-
-# The default filter if none specified on command line.
-;DefaultFilter = raw
-
-# The default adapter for -D file.
-;FileAdapter = text
-
-# The default adapter for -D email.
-;EmailAdapter = sendmail
-
-# The default adapter for -D printer.
-;PrinterAdapter = bsd
-
-# The default adapter for -D fax.
-;FaxAdapter = hylafax
-
-# The sendmail binary name.
-;SendmailBin = sendmail
-
-# The email address to put in the "From" line of generated email
-;SendmailFrom = GNUe Reports <address@hidden>
-
-# The text to put in the Subject line of generated email.
-;SendmailSubject = Your Requested Report
-
-# The commandline to be run when sending report output to a fax.
-;HylafaxCommand = sendfax -d %s
-
-# The commandline to be run when sending report output to a printer.
-#  (%s will be replaced with the printer name.)
-# Valid options / examples:
-#   LprCommand = /usr/bin/lpr -P%s
-#   LprCommand = print /d:%s #Windows
-;LprCommand = /usr/bin/lpr -h -P%s
-
-
-
-##############################################################################
-# Configuration Options for GNUe Navigator                                   #
-##############################################################################
-[navigator]
-# Command to execute on .gfd files.
-;RunFormCommand = gnue-forms
-
-# Command to execute on .grd files.
-;RunReportCommand = gnue-reports
-
-# Directory to search for .gfd files.
-;FormDir = forms
-
-# Directory to search for .grd files.
-;ReportDir = reports
-
-# Directory to search for .gpd files.
-;ProcessDir = navigator
-
-# Do not open separate window to display a GNUe Form.
-;embedForms = True
-
-# The number of seconds to display the hourglass when launching a program.
-;hourglassDelay = 5
-
-
-
-##############################################################################
-# Configuration Options for GNUe Application Server                          #
-##############################################################################
-[appserver]
-# Depreciated: Name of the database connection appserver is using. Use 
-# connection instead.
-;database = 
-
-# Name of the database connection appserver is using
-;connection = gnue
-
-# RPC Interface Type appserver is providing
-;rpctype = xmlrpc
-
-# Port (if needed) for RPC Interface
-;rpcport = 8765
-
-# Hosts which are allowed to access appserver
-;allowed_hosts = 
-
-# Hostname of the interface to bind services to
-;bindto = 
-
-# Null values appear first in ascending sort
-;null_first_asc = True
-
-# Null values appear first in descending sort
-;null_first_dsc = True
-
-# Semicolon-separated list of paths to load modules from
-;modulepath = /home/reinhard/gnue/share/gnue/appserver
-
-# Type of UUID to use. Can be 'time' or 'random'
-;uuidtype = time
-
-# Directory for webfrontend http documents
-;httpdir = /this_dir_shouldn't exist.
-
-# Type of the HTTP server to use. Can be 'threading' or 'forking'
-;servertype = forking
-
-
-
-##############################################################################
-# Configuration Options for GNUe Designer                                    #
-##############################################################################
-[designer]
-# Automatically log in to needed connections to do schema.
-;AutoConnect = True
-
-# Use syntax highlighting in the trigger editor.
-;ColorizeCode = True
-
-# Use the basic editor for triggers.
-;ForceSimpleEditor = False
-
-# Fudge factor for altering widget size
-;BorderPercentage = 100.0
-
-# Fudge factor for altering text size
-;TextPercentage = 100.0
-
-# Location of "Insert" toolbar icon (PNG format)
-;tb_insert = /tb_new.png
-
-# Location of "Delete" toolbar icon (PNG format)
-;tb_delete = tb_trash.png
-

Modified: trunk/gnue-common/utils/generate-gnue-config.py
===================================================================
--- trunk/gnue-common/utils/generate-gnue-config.py     2009-12-10 10:04:34 UTC 
(rev 10118)
+++ trunk/gnue-common/utils/generate-gnue-config.py     2009-12-10 10:24:04 UTC 
(rev 10119)
@@ -44,33 +44,13 @@
 
 licenseString = '''# Options for GNUe
 #
-# Copyright 2001-2009 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 3, 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.
-#
-#
 # Note: pointers to files and dirs are relative to the installation
 #       location of GNUe.
 '''
 
 class GenerateConf:
     def __init__(self):
-        self._file = open('gnue.conf', 'w')
+        self._file = open('etc/gnue.conf', 'w')
         
     def printFileHeader(self):
         self._file.write(licenseString)

Modified: trunk/gnue-common/utils/release
===================================================================
--- trunk/gnue-common/utils/release     2009-12-10 10:04:34 UTC (rev 10118)
+++ trunk/gnue-common/utils/release     2009-12-10 10:24:04 UTC (rev 10119)
@@ -27,12 +27,6 @@
 echo "$(date --iso-8601=seconds) Updating translation files"
 (cd po; make update-po gmo)
 
-# Rebuild gnue.conf if we're building common
-if [ "$package" == "common" ]; then
-  echo "$(date --iso-8601=seconds) Updating sample configuration file"
-  (cd etc; LANG=C gcvs ../utils/generate-gnue-config.py)
-fi
-
 # Wait for firewall
 sleep 20
 

Modified: trunk/gnue-common/utils/update-tool-docs
===================================================================
--- trunk/gnue-common/utils/update-tool-docs    2009-12-10 10:04:34 UTC (rev 
10118)
+++ trunk/gnue-common/utils/update-tool-docs    2009-12-10 10:24:04 UTC (rev 
10119)
@@ -21,11 +21,13 @@
   (cd gnue-reports/doc/man && grdcvs --selfdoc manpage --selfdoc-file 
gnue-reports-server.1)
 }
 
-build_docs_schema() {
+build_docs_common() {
+  (cd gnue-common && gcvs utils/generate-gnue-config.py)
   gcvs $GDTD schema    gnue-common/doc/gnue-schema.dtd
   mkdir -p gnue-common/doc/man
   (cd gnue-common/doc/man && gsscvs --selfdoc manpage --selfdoc-file 
gnue-schema.1)
 }
+
 build_docs_designer() {
   mkdir -p gnue-designer/doc/man
   (cd gnue-designer/doc/man && gdes --selfdoc manpage --selfdoc-file 
gnue-designer.1)
@@ -47,21 +49,17 @@
   (cd gnue-navigator/doc/man && gncvs --selfdoc manpage --selfdoc-file 
gnue-navigator.1)
 }
 
-build_docs_common() {
-  build_docs_schema
-}
-
 build_changelog() {
   (cd "gnue-$1"; ../gnue-common/utils/changelog.py)
 }
 
 case "$1" in
-  forms|reports|schema|designer|appserver|navigator|common)
+  forms|reports|designer|appserver|navigator|common)
     build_docs_$1
     build_changelog $1
     ;;
   *)
-    for name in forms reports schema designer navigator
+    for name in forms reports common designer navigator
       do 
         echo Building docs for $name.....
         build_docs_$name





reply via email to

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