[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:29

  Modified:    .        g_rc.c gschem.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.41      +2 -2      eda/geda/gaf/gschem/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/gschem/src/g_rc.c,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -b -r1.40 -r1.41
  --- g_rc.c	30 Aug 2006 11:06:16 -0000	1.40
  +++ g_rc.c	7 Sep 2006 02:41:28 -0000	1.41
  @@ -103,8 +103,8 @@
   
     if (g_strcasecmp (SCM_STRING_CHARS (version), VERSION) != 0) {
       fprintf(stderr,
  -            _("Found a version [%s] gschemrc file:\n[%s]\n"),
  -            SCM_STRING_CHARS (version), rc_filename);
  +            _("Found a version [%s%s] gschemrc file:\n[%s]\n"),
  +            SCM_STRING_CHARS (version), CUSTOM_VERSION, rc_filename);
       fprintf(stderr,
               _("While gschem is in ALPHA, "
               "please be sure that you have the latest rc file.\n"));
  
  
  
  1.35      +2 -2      eda/geda/gaf/gschem/src/gschem.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: gschem.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/gschem.c,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -b -r1.34 -r1.35
  --- gschem.c	6 Aug 2006 16:45:29 -0000	1.34
  +++ gschem.c	7 Sep 2006 02:41:28 -0000	1.35
  @@ -138,7 +138,7 @@
   #endif
   	
     s_log_message(
  -                _("gEDA/gschem version %s\n"), VERSION);
  +                _("gEDA/gschem version %s%s\n"), VERSION, CUSTOM_VERSION);
     s_log_message(
                   _("gEDA/gschem comes with ABSOLUTELY NO WARRANTY; see COPYING for more details.\n"));
     s_log_message(
  @@ -148,7 +148,7 @@
   
     if (!quiet_mode) {
       fprintf(stderr, 
  -            _("gEDA/gschem version %s\n"), VERSION);
  +            _("gEDA/gschem version %s%s\n"), VERSION, CUSTOM_VERSION);
       fprintf(stderr, 
               _("gEDA/gschem comes with ABSOLUTELY NO WARRANTY; see COPYING for more details.\n"));
       fprintf(stderr, 
  
  
  
  1.60      +1 -1      eda/geda/gaf/gschem/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/gschem/src/x_dialog.c,v
  retrieving revision 1.59
  retrieving revision 1.60
  diff -u -b -r1.59 -r1.60
  --- x_dialog.c	30 Aug 2006 11:06:16 -0000	1.59
  +++ x_dialog.c	7 Sep 2006 02:41:28 -0000	1.60
  @@ -2520,7 +2520,7 @@
                          label, TRUE, TRUE, 5);
       gtk_widget_show (label);
   
  -    string = g_strdup_printf(_("gschem version %s"), VERSION);
  +    string = g_strdup_printf(_("gschem version %s%s"), VERSION, CUSTOM_VERSION);
       label = gtk_label_new (string);
       g_free(string);
       gtk_box_pack_start(
  
  
  


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