diff options
Diffstat (limited to 'cad/gwave/patches/patch-aa')
-rw-r--r-- | cad/gwave/patches/patch-aa | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/cad/gwave/patches/patch-aa b/cad/gwave/patches/patch-aa new file mode 100644 index 00000000000..e0a22e377ab --- /dev/null +++ b/cad/gwave/patches/patch-aa @@ -0,0 +1,102 @@ +$NetBSD: patch-aa,v 1.4 2003/11/05 22:31:43 dmcmahill Exp $ + +--- src/gwave.c.orig 2003-08-04 23:43:45.000000000 -0400 ++++ src/gwave.c +@@ -74,30 +74,30 @@ GtkWidget *win_xlabel_left, *win_xlabel_ + /* variables accessible from C and guile */ + + XSCM_VCELL_INIT(scm_gwave_version, "gwave-version-string", gh_str02scm(VERSION), +-"This variable is initialized to contain the version string for gwave, as +-set in configure.in."); ++"This variable is initialized to contain the version string for gwave, as" ++"set in configure.in."); + + XSCM_VCELL_INIT(scm_gwave_datadir, "gwave-datadir", gh_str02scm(DATADIR), +-"This variable is initialized to contain the compiled-in pathname to +-the installed data directory, typicaly PREFIX/share, as set by configure. +-It is used by the startup code as a default location for finding gwave's +-guile modules."); ++"This variable is initialized to contain the compiled-in pathname to" ++"the installed data directory, typicaly PREFIX/share, as set by configure." ++"It is used by the startup code as a default location for finding gwave's" ++"guile modules."); + + XSCM_VCELL_INIT(scm_gwave_bingwave, "gwave-bin-gwave-path", gh_str02scm(BINGWAVE), +-"This variable is initialized to contain the compiled-in pathname to +-the installed gwave executable, typicaly PREFIX/bin/gwave, as set by configure. +-It is used by the procedures that write out gwave configuration-restoring +-scripts so that when run from the command line command line, the scripts +-can use gwave as their interpreter."); ++"This variable is initialized to contain the compiled-in pathname to" ++"the installed gwave executable, typicaly PREFIX/bin/gwave, as set by configure." ++"It is used by the procedures that write out gwave configuration-restoring" ++"scripts so that when run from the command line command line, the scripts" ++"can use gwave as their interpreter."); + + XSCM_VCELL(scm_gwave_debug, "gwave-debug", +-"This variable is set to #t very early in gwave's startup when the -x flag +-is passed on the command line. It enables debugging output to stdout +-in the startup code and in various modules."); ++"This variable is set to #t very early in gwave's startup when the -x flag" ++"is passed on the command line. It enables debugging output to stdout" ++"in the startup code and in various modules."); + + XSCM_GLOBAL_VCELL(scm_gwave_tooltips, "gwave-tooltips", +-"This variable is a GtkTooltips object used for controlling all +-of the popup tooltips in the user interface."); ++"This variable is a GtkTooltips object used for controlling all" ++"of the popup tooltips in the user interface."); + + /* + * usage -- prints the standard switch info, then exits. +@@ -124,28 +124,28 @@ static void usage(char *fmt, ...) + /* if we don't set up some colors, users without a gwave.gtkrc get black + * waves on black background + */ +-static const gchar *gwave_base_gtkrc = " +-style 'wavecolor0' { fg[NORMAL] = {1.0, 0.0, 0.0} } +-style 'wavecolor1' { fg[NORMAL] = {1.0, 1.0, 0.0} } +-style 'wavecolor2' { fg[NORMAL] = {0.0, 1.0, 0.0} } +-style 'wavecolor3' { fg[NORMAL] = {0.4, 0.5, 1.0} } +-style 'wavecolor4' { fg[NORMAL] = {0.0, 1.0, 1.0} } +-style 'wavecolor5' { fg[NORMAL] = {1.0, 0.0, 1.0} } +-widget '*wavecolor0' style 'wavecolor0' +-widget '*wavecolor1' style 'wavecolor1' +-widget '*wavecolor2' style 'wavecolor2' +-widget '*wavecolor3' style 'wavecolor3' +-widget '*wavecolor4' style 'wavecolor4' +-widget '*wavecolor5' style 'wavecolor5' +-style 'cursor0color' { fg[NORMAL] = {1.0, 1.0, 1.0} } +-style 'cursor1color' { fg[NORMAL] = {1.0, 1.0, 0.0} } +-style 'cursorDcolor' { fg[NORMAL] = {00, 1.0, 0.0} } +-widget '*cursor1color' style 'cursor1color' +-widget '*cursor0color' style 'cursor0color' +-widget '*cursorDcolor' style 'cursorDcolor' +-style 'wavebutton' { bg[NORMAL] = { 0.25, 0.25, 0.25 } } +-widget '*wavebutton' style 'wavebutton' +-"; ++static const gchar *gwave_base_gtkrc = "" ++"style 'wavecolor0' { fg[NORMAL] = {1.0, 0.0, 0.0} }" ++"style 'wavecolor1' { fg[NORMAL] = {1.0, 1.0, 0.0} }" ++"style 'wavecolor2' { fg[NORMAL] = {0.0, 1.0, 0.0} }" ++"style 'wavecolor3' { fg[NORMAL] = {0.4, 0.5, 1.0} }" ++"style 'wavecolor4' { fg[NORMAL] = {0.0, 1.0, 1.0} }" ++"style 'wavecolor5' { fg[NORMAL] = {1.0, 0.0, 1.0} }" ++"widget '*wavecolor0' style 'wavecolor0'" ++"widget '*wavecolor1' style 'wavecolor1'" ++"widget '*wavecolor2' style 'wavecolor2'" ++"widget '*wavecolor3' style 'wavecolor3'" ++"widget '*wavecolor4' style 'wavecolor4'" ++"widget '*wavecolor5' style 'wavecolor5'" ++"style 'cursor0color' { fg[NORMAL] = {1.0, 1.0, 1.0} }" ++"style 'cursor1color' { fg[NORMAL] = {1.0, 1.0, 0.0} }" ++"style 'cursorDcolor' { fg[NORMAL] = {00, 1.0, 0.0} }" ++"widget '*cursor1color' style 'cursor1color'" ++"widget '*cursor0color' style 'cursor0color'" ++"widget '*cursorDcolor' style 'cursorDcolor'" ++"style 'wavebutton' { bg[NORMAL] = { 0.25, 0.25, 0.25 } }" ++"widget '*wavebutton' style 'wavebutton'" ++""; + + int + main(int argc, char **argv) |