[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: CVS update: g_rc.c



  User: ahvezda 
  Date: 06/09/06 22:41:28

  Modified:    .        g_rc.c gattrib.c x_dialog.c
  Log:
  Added a #define called CUSTOM_VERSION to make creating custom version of 
  
  gEDA/gaf easier (so that they can be labeled as custom versions)
  
  
  
  
  Revision  Changes    Path
  1.4       +1 -1      eda/geda/gaf/gattrib/src/g_rc.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: g_rc.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gattrib/src/g_rc.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- g_rc.c	8 Feb 2005 12:33:11 -0000	1.3
  +++ g_rc.c	7 Sep 2006 02:41:28 -0000	1.4
  @@ -70,7 +70,7 @@
     
     if (g_strcasecmp (SCM_STRING_CHARS (version), VERSION) != 0) {
       fprintf(stderr,
  -	    "You are running gEDA version [%s],\n", VERSION);
  +	    "You are running gEDA version [%s%s],\n", VERSION, CUSTOM_VERSION);
       fprintf(stderr,
   	    "but you have a version [%s] gattribrc file:\n[%s]\n",
   	    SCM_STRING_CHARS (version), rc_filename);
  
  
  
  1.18      +2 -2      eda/geda/gaf/gattrib/src/gattrib.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: gattrib.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gattrib/src/gattrib.c,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -b -r1.17 -r1.18
  --- gattrib.c	6 Aug 2006 16:45:28 -0000	1.17
  +++ gattrib.c	7 Sep 2006 02:41:28 -0000	1.18
  @@ -135,7 +135,7 @@
     g_free (logfile);
     
     s_log_message
  -    ("gEDA/gattrib version %s\n", VERSION);
  +    ("gEDA/gattrib version %s%s\n", VERSION, CUSTOM_VERSION);
     s_log_message
       ("gEDA/gattrib comes with ABSOLUTELY NO WARRANTY; see COPYING for more details.\n");
     s_log_message
  @@ -147,7 +147,7 @@
       fflush(stderr);
       fflush(stdout);
       fprintf(stderr, 
  -	    "gEDA/gattrib version %s\n", VERSION);
  +	    "gEDA/gattrib version %s%s\n", VERSION, CUSTOM_VERSION);
       fprintf(stderr,
   	    "gEDA/gattrib comes with ABSOLUTELY NO WARRANTY; see COPYING for more details.\n");
       fprintf(stderr,
  
  
  
  1.22      +2 -2      eda/geda/gaf/gattrib/src/x_dialog.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: x_dialog.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gattrib/src/x_dialog.c,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -b -r1.21 -r1.22
  --- x_dialog.c	6 Aug 2006 16:45:28 -0000	1.21
  +++ x_dialog.c	7 Sep 2006 02:41:28 -0000	1.22
  @@ -1,4 +1,4 @@
  -/* $Id: x_dialog.c,v 1.21 2006/08/06 16:45:28 ahvezda Exp $ */
  +/* $Id: x_dialog.c,v 1.22 2006/09/07 02:41:28 ahvezda Exp $ */
   
   /* gEDA - GPL Electronic Design Automation
    * gattrib -- gEDA component and net attribute manipulation using spreadsheet.
  @@ -787,7 +787,7 @@
     gtk_box_pack_start(GTK_BOX(vbox), label, TRUE, TRUE, 5);
     gtk_widget_show(label);
     
  -  string = g_strdup_printf("Gattrib version: %s", VERSION);
  +  string = g_strdup_printf("Gattrib version: %s%s", VERSION, CUSTOM_VERSION);
     label = gtk_label_new(string);
     g_free(string);
     gtk_box_pack_start(GTK_BOX(vbox), label, TRUE, TRUE, 5);
  
  
  


_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs