[Pkg-wmaker-commits] [wmacpi] 20/105: wmacpi: Bump to version 2.2a1.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Tue Aug 18 01:13:41 UTC 2015


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

dtorrance-guest pushed a commit to branch master
in repository wmacpi.

commit c753c7d094472cc7950717bc090139facb86979d
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Mon Aug 18 17:56:26 2014 -0500

    wmacpi: Bump to version 2.2a1.
    
    Source obtained from http://sourceforge.net/projects/wmacpi/files/.
    
    2007 January 10 2.2a1
    	Added a patch from Patrice Dumas to support newer versions of
    	libdockapp.
    
    	Updated email address in AUTHORS and manpages.
---
 AUTHORS   | 2 +-
 ChangeLog | 6 ++++++
 wmacpi.1  | 4 ++--
 wmacpi.c  | 9 ++++++++-
 4 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/AUTHORS b/AUTHORS
index 6f804d2..b04df42 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -1,4 +1,4 @@
-Simon Fowler <simon at dreamcraft.com.au>
+Simon Fowler <simon at himi.or>
  Complete rewriting of the code from wmacpi-1.34. 
 
  timecop
diff --git a/ChangeLog b/ChangeLog
index dfa719f..46925c6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007 January 10 2.2a1
+	Added a patch from Patrice Dumas to support newer versions of
+	libdockapp.
+
+	Updated email address in AUTHORS and manpages.
+
 2005 February 2 2.1
 	Finalised libdockapp-0.5.0 port - no changes from 2.1rc1.
 	
diff --git a/wmacpi.1 b/wmacpi.1
index 47c02c5..362606c 100644
--- a/wmacpi.1
+++ b/wmacpi.1
@@ -156,10 +156,10 @@ Display help.
 .SH AUTHOR
 .B wmacpi
 was originally written by Tim Copperfield <timecop at japan.co.jp>, then
-completely rewritten after 1.34 by Simon Fowler <simon at dreamcraft.com.au>.
+completely rewritten after 1.34 by Simon Fowler <simon at himi.org>.
 .PP
 This manual page was originally written by Simon Richter
 <sjr at debian.org> for the Debian GNU/Linux system, and then updated by
 Simon Fowler. 
 .br
-Last modification by Simon Fowler <simon at dreamcraft.com.au>, 2004-08-15.
+Last modification by Simon Fowler <simon at himi.org>, 2007-01-10.
diff --git a/wmacpi.c b/wmacpi.c
index 5d44550..622b36f 100644
--- a/wmacpi.c
+++ b/wmacpi.c
@@ -137,7 +137,14 @@ static void redraw_window(void)
 static void new_window(char *display, char *name, int argc, char **argv)
 {
     /* Initialise the dockapp window and appicon */
-    DAInitialize(display, name, 64, 64, argc, argv);
+    /* we don't want libdocapp to parse the command line, but we have to
+       initialize it with DAParseArguments, so we set argc to 1 */
+    DAParseArguments(1, argv, NULL, 0, 
+       "help option done", "version option done");
+    /* deprecated
+       DAInitialize(display, name, 64, 64, argc, argv); */
+    DAOpenDisplay(display, argc, argv);
+    DACreateIcon(name, 64, 64, argc, argv);
     dockapp->display = DADisplay;
     dockapp->win = DAWindow;
 

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



More information about the Pkg-wmaker-commits mailing list