[Pkg-wmaker-commits] [wmbutton] 05/25: wmbutton: Version simplification

Doug Torrance dtorrance-guest at moszumanska.debian.org
Sun Jul 16 23:38:09 UTC 2017


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch upstream
in repository wmbutton.

commit 7ca6d621b05c2a79db6938818be13199eaa6bacd
Author: Rodolfo García Peñas (kix) <kix at kix.es>
Date:   Mon Aug 20 20:30:46 2012 +0200

    wmbutton: Version simplification
    
    This patch is based in the code wrote by Christian Aichinger
    for the Debian distribution.
    
    The patch simplify the version number in the code.
---
 wmb_libs.c | 2 +-
 wmbutton.h | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/wmb_libs.c b/wmb_libs.c
index 3661f03..0d8daad 100644
--- a/wmb_libs.c
+++ b/wmb_libs.c
@@ -107,7 +107,7 @@ void show_usage() {
   fprintf(stderr,"usage: %s [-g geom] [-d dpy] [-f cfgfile] [-b btnfile] "\
 	  "[-F <font>] [-v] [-s] [-n]\n",app_name);
   fprintf(stderr,"\n");
-  fprintf(stderr," wmbutton Ver %d Rel %d\n",VER,REL);
+  fprintf(stderr," wmbutton version %s\n", VER_STR);
   fprintf(stderr,"\n");
   fprintf(stderr,"-g <geometry>  Window Geometry - ie: 64x64+10+10\n");
   fprintf(stderr,"-d <display>   Display -  ie: 127.0.0.1:0.0\n"); 
diff --git a/wmbutton.h b/wmbutton.h
index 1b99abf..ebf62ff 100644
--- a/wmbutton.h
+++ b/wmbutton.h
@@ -20,8 +20,7 @@
 #define BUTTONFILENAME "/.wmbutton.xpm"
 
 /******  Version Number *************************************************/
-#define VER           0     /* Version Number */     
-#define REL           6     /* Release Number */
+#define VER_STR       "0.6.1"     /* Version Number String */
 
 /******  Define Error Codes *********************************************/
 #define FAILDISP      20

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbutton.git



More information about the Pkg-wmaker-commits mailing list