[PATCH 8/8] wmcalendar: Fix capitalization in type name.

2017-02-21 Thread Doug Torrance
---
 wmcalendar/Src/calendar.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/wmcalendar/Src/calendar.c b/wmcalendar/Src/calendar.c
index 77e39df..ffadf03 100644
--- a/wmcalendar/Src/calendar.c
+++ b/wmcalendar/Src/calendar.c
@@ -313,9 +313,9 @@ int dayevents(struct icaltimetype dt, GtkWidget *table){
  -*/
 void deleteCalObjs(){
 int i;
-struct calObj* help;
+struct calobj* help;
 while(calRoot){
-   help = (struct calObj*) calRoot->next;
+   help = (struct calobj*) calRoot->next;
free(calRoot->text);
free(calRoot->comp);
free(calRoot);
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 6/8] wmcalendar: Update local headers to fix implicit declaration warnings.

2017-02-21 Thread Doug Torrance
---
 wmcalendar/Src/calendar.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/wmcalendar/Src/calendar.h b/wmcalendar/Src/calendar.h
index 89afba4..c540ff0 100644
--- a/wmcalendar/Src/calendar.h
+++ b/wmcalendar/Src/calendar.h
@@ -3,6 +3,8 @@
 #include 
 #include 
 #include 
+#include "calendarfunc.h"
+#include "settings.h"
 
 
 time_t  modtime;  /* modified time of icalendar file */
@@ -30,6 +32,7 @@ void deleteCalObjs();
 void addCalObj(struct icaltimetype start, struct icaltimetype end,
   int type, const char *text, icalcomponent * d);
 int  getDayType(struct icaltimetype dt);
+int eventOnDay(struct icaltimetype dt, struct calobj* it);
 int  calcDayType(struct icaltimetype dt);
 char* read_stream(char *s, size_t size, void *d);
 void checkicalversion();
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 4/8] wmcalendar: Properly link against libraries.

2017-02-21 Thread Doug Torrance
---
 wmcalendar/Src/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/wmcalendar/Src/Makefile b/wmcalendar/Src/Makefile
index b05ca8e..c096415 100755
--- a/wmcalendar/Src/Makefile
+++ b/wmcalendar/Src/Makefile
@@ -13,7 +13,7 @@ LIBDIR = -L/usr/lib -L${X11BASE}/lib -L/usr/local/lib
 PACKAGE = wmCalendar
 
 # for Linux
-LIBS   = $(LIBDIR) -lXpm -lical -lpthread
+LIBS   = $(LIBDIR) -lXpm -lX11 -lXext -lical -lpthread  -lm
 # for Solaris (untested!!!)
 # LIBS   = -lXpm -lX11 -lXext -lsocket -lnsl -lical
 
@@ -30,7 +30,7 @@ OBJECTS   =   wmCalendar.o \
 all:   wmCalendar.o wmCalendar
 
 wmCalendar: $(OBJECTS)
-$(CC) $(COPTS)  $(SYSTEM) $(LFLAGS) -o $@ $(OBJECTS) -o wmCalendar 
$(INCDIR)$(LIBDIR) $(LIBS)
+$(CC) $(COPTS)  $(SYSTEM) -o $@ $(OBJECTS) -o wmCalendar 
$(INCDIR)$(LIBDIR) $(LIBS) $(LFLAGS)
 
 wmCalendar.o: wmCalendar_master.xpm   wmCalendar_master2.xpm
 clean:
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 5/8] wmcalendar: Include math.h.

2017-02-21 Thread Doug Torrance
---
 wmcalendar/Src/calendarfunc.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/wmcalendar/Src/calendarfunc.h b/wmcalendar/Src/calendarfunc.h
index d8dd89b..d50ddf8 100644
--- a/wmcalendar/Src/calendarfunc.h
+++ b/wmcalendar/Src/calendarfunc.h
@@ -23,6 +23,7 @@
 #include 
 #include 
 #include 
+#include 
 #define TIMZ 3.0
 #define MINAGE 13.5
 #define SUNSET 19.5 /*approximate */
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 3/8] wmcalendar: Rename kill() to widget_kill() to avoid conflict error.

2017-02-21 Thread Doug Torrance
---
 wmcalendar/Src/calendar.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/wmcalendar/Src/calendar.c b/wmcalendar/Src/calendar.c
index fb16395..ae6d3ce 100644
--- a/wmcalendar/Src/calendar.c
+++ b/wmcalendar/Src/calendar.c
@@ -48,7 +48,7 @@ void move2(GtkWidget *widget, GdkEventMotion *event)
 
 
 
-void kill (GtkWidget * widget)
+void widget_kill (GtkWidget * widget)
 {
 gtk_widget_destroy ((GtkWidget*)gtk_widget_get_toplevel(widget));
 gtk_main_quit ();
@@ -193,7 +193,7 @@ void showDay(struct icaltimetype dt){
gtk_signal_connect(GTK_OBJECT (event_box), "button_press_event",
   GTK_SIGNAL_FUNC (move), NULL);
gtk_signal_connect(GTK_OBJECT (event_box2), "button_press_event",
-  (GtkSignalFunc) kill, GTK_OBJECT(dayView));
+  (GtkSignalFunc) widget_kill, GTK_OBJECT(dayView));
 
gtk_widget_realize(dayView);
//  gtk_window_set_position(GTK_WINDOW 
(dayView),GTK_WIN_POS_CENTER_ON_PARENT);
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 1/8] wmcalendar: Update libical include file path.

2017-02-21 Thread Doug Torrance
---
 wmcalendar/Src/calendar.h | 2 +-
 wmcalendar/Src/calendarfunc.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/wmcalendar/Src/calendar.h b/wmcalendar/Src/calendar.h
index c022fb4..89afba4 100644
--- a/wmcalendar/Src/calendar.h
+++ b/wmcalendar/Src/calendar.h
@@ -1,4 +1,4 @@
-#include 
+#include 
 #include 
 #include 
 #include 
diff --git a/wmcalendar/Src/calendarfunc.h b/wmcalendar/Src/calendarfunc.h
index 9ec86bd..d8dd89b 100644
--- a/wmcalendar/Src/calendarfunc.h
+++ b/wmcalendar/Src/calendarfunc.h
@@ -22,7 +22,7 @@
 
 #include 
 #include 
-#include 
+#include 
 #define TIMZ 3.0
 #define MINAGE 13.5
 #define SUNSET 19.5 /*approximate */
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 4/4] wmdonkeymon: Remove unused wmgeneral files list.* and misc.*.

2017-02-22 Thread Doug Torrance
Still using wmdonkeymon's version of wmgeneral.* as it adds a new function
not available in libdockapp yet.
---
 wmdonkeymon/wmdonkeymon/Makefile |   6 +-
 wmdonkeymon/wmgeneral/list.c | 169 ---
 wmdonkeymon/wmgeneral/list.h |  59 --
 wmdonkeymon/wmgeneral/misc.c | 164 -
 wmdonkeymon/wmgeneral/misc.h |   9 ---
 5 files changed, 1 insertion(+), 406 deletions(-)
 delete mode 100644 wmdonkeymon/wmgeneral/list.c
 delete mode 100644 wmdonkeymon/wmgeneral/list.h
 delete mode 100644 wmdonkeymon/wmgeneral/misc.c
 delete mode 100644 wmdonkeymon/wmgeneral/misc.h

diff --git a/wmdonkeymon/wmdonkeymon/Makefile b/wmdonkeymon/wmdonkeymon/Makefile
index 2b995ac..e97cbd7 100644
--- a/wmdonkeymon/wmdonkeymon/Makefile
+++ b/wmdonkeymon/wmdonkeymon/Makefile
@@ -1,10 +1,6 @@
 LIBDIR = -L/usr/X11R6/lib
 LIBS   = -lXpm -lXext -lX11
-OBJS =  wmdonkeymon.o \
-   ../wmgeneral/wmgeneral.o \
-   ../wmgeneral/misc.o \
-   ../wmgeneral/list.o
-
+OBJS =  wmdonkeymon.o ../wmgeneral/wmgeneral.o
 
 .c.o:
cc -c -O2 -Wall $< -o $*.o
diff --git a/wmdonkeymon/wmgeneral/list.c b/wmdonkeymon/wmgeneral/list.c
deleted file mode 100644
index d9f7329..000
--- a/wmdonkeymon/wmgeneral/list.c
+++ /dev/null
@@ -1,169 +0,0 @@
-/* Generic single linked list to keep various information
-   Copyright (C) 1993, 1994 Free Software Foundation, Inc.
-
-
-Author: Kresten Krab Thorup
-
-Many modifications by Alfredo K. Kojima
-
-
-This file is part of GNU CC.
-
-GNU CC is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU CC is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU CC; see the file COPYING.  If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA.  */
-
-/* As a special exception, if you link this library with files compiled with
-   GCC to produce an executable, this does not cause the resulting executable
-   to be covered by the GNU General Public License. This exception does not
-   however invalidate any other reasons why the executable file might be
-   covered by the GNU General Public License.  */
-
-#include "list.h"
-#ifdef HAVE_SYS_TYPES_H
-# include 
-#endif
-#include 
-
-/* Return a cons cell produced from (head . tail) */
-
-INLINE LinkedList*
-list_cons(void* head, LinkedList* tail)
-{
-  LinkedList* cell;
-
-  cell = (LinkedList*)malloc(sizeof(LinkedList));
-  cell->head = head;
-  cell->tail = tail;
-  return cell;
-}
-
-/* Return the length of a list, list_length(NULL) returns zero */
-
-INLINE int
-list_length(LinkedList* list)
-{
-  int i = 0;
-  while(list)
-{
-  i += 1;
-  list = list->tail;
-}
-  return i;
-}
-
-/* Return the Nth element of LIST, where N count from zero.  If N
-   larger than the list length, NULL is returned  */
-
-INLINE void*
-list_nth(int index, LinkedList* list)
-{
-  while(index-- != 0)
-{
-  if(list->tail)
-   list = list->tail;
-  else
-   return 0;
-}
-  return list->head;
-}
-
-/* Remove the element at the head by replacing it by its successor */
-
-INLINE void
-list_remove_head(LinkedList** list)
-{
-  if (!*list) return;
-  if ((*list)->tail)
-{
-  LinkedList* tail = (*list)->tail; /* fetch next */
-  *(*list) = *tail;/* copy next to list head */
-  free(tail);  /* free next */
-}
-  else /* only one element in list */
-{
-  free(*list);
-  (*list) = 0;
-}
-}
-
-
-/* Remove the element with `car' set to ELEMENT */
-/*
-INLINE void
-list_remove_elem(LinkedList** list, void* elem)
-{
-  while (*list)
-{
-  if ((*list)->head == elem)
-list_remove_head(list);
-  *list = (*list ? (*list)->tail : NULL);
-}
-}*/
-
-INLINE LinkedList *
-list_remove_elem(LinkedList* list, void* elem)
-{
-LinkedList *tmp;
-
-if (list) {
-   if (list->head == elem) {
-   tmp = list->tail;
-   free(list);
-   return tmp;
-   }
-   list->tail = list_remove_elem(list->tail, elem);
-   return list;
-}
-return NULL;
-}
-
-
-/* Return element that has ELEM as car */
-
-INLINE LinkedList*
-list_find(LinkedList* list, void* elem)
-{
-  while(list)
-{
-if (list->head == elem)
-  return list;
-list = list->tail;
-}
-  return NULL;
-}
-
-/* Free list (backwards recursive) */
-
-INLINE void
-list_free(LinkedList* list)
-{
-  if(list)
-{
-  list_free(list->tail);
-  free(list);
-}

[PATCH 2/4] wmcapshare: Include glib header.

2017-02-22 Thread Doug Torrance
---
 wmcapshare/obex_io.h | 2 ++
 wmcapshare/obex_put_common.h | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/wmcapshare/obex_io.h b/wmcapshare/obex_io.h
index 69bed7d..dcdc5b3 100644
--- a/wmcapshare/obex_io.h
+++ b/wmcapshare/obex_io.h
@@ -1,6 +1,8 @@
 #ifndef OBEX_IO_H
 #define OBEX_IO_H
 
+#include 
+
 /* Application defined headers */
 #define HEADER_CREATOR_ID  0xcf
 
diff --git a/wmcapshare/obex_put_common.h b/wmcapshare/obex_put_common.h
index b6e2416..34e0dcf 100644
--- a/wmcapshare/obex_put_common.h
+++ b/wmcapshare/obex_put_common.h
@@ -31,6 +31,8 @@
 #ifndef OBEX_PUT_COMMON_H
 #define OBEX_PUT_COMMON_H
 
+#include 
+
 int do_sync_request(obex_t *handle, obex_object_t *object, gint async);
 void obex_event(obex_t *handle, obex_object_t *object, gint mode, gint event, 
gint obex_cmd, gint obex_rsp);
 
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 1/4] wmcapshare: Use pkg-config instead of deprecated glib-config.

2017-02-22 Thread Doug Torrance
---
 wmcapshare/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wmcapshare/Makefile b/wmcapshare/Makefile
index 5fb3066..9fd72e8 100644
--- a/wmcapshare/Makefile
+++ b/wmcapshare/Makefile
@@ -3,7 +3,7 @@ CC = gcc
 bindir = /usr/local/bin
 
 OPENOBEX_CONFIG = /usr/local/bin/openobex-config
-GLIB_CONFIG = /usr/bin/glib-config
+GLIB_CONFIG = pkg-config glib-2.0
 
 all: wmcapshare
 
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 3/4] wmcapshare: Update libdockapp header path.

2017-02-22 Thread Doug Torrance
---
 wmcapshare/wmcapshare.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wmcapshare/wmcapshare.c b/wmcapshare/wmcapshare.c
index 8de0e19..2d4f8e7 100644
--- a/wmcapshare/wmcapshare.c
+++ b/wmcapshare/wmcapshare.c
@@ -43,7 +43,7 @@
 #include "obex_put_common.h"
 #include "obex_io.h"
 
-#include 
+#include 
 #include "xpm/base.xpm"
 #include "xpm/tstatfld.xpm"
 #include "xpm/capshare.xpm"
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 3/4] wmcp: Properly break up multiple line help text.

2017-02-20 Thread Doug Torrance
---
 wmcp/wmcp.c | 64 ++---
 1 file changed, 32 insertions(+), 32 deletions(-)

diff --git a/wmcp/wmcp.c b/wmcp/wmcp.c
index 2d30e83..5f659e8 100644
--- a/wmcp/wmcp.c
+++ b/wmcp/wmcp.c
@@ -806,38 +806,38 @@ int flush_expose(Window w) {
 void show_usage()
 {
 
-fprintf(stderr,"
-
-%s
-This software is GPL -- do as you wish with it.
-
-Origional Author:
-   Ben Cohen 
-
-Contributors:
-   Thomas Nemeth 
-   Craig Maloney 
-   Gert Beumer 
-
-
-
-usage: wmcp [-g geometry] [-d dpy] [-n workspaces] [-a alt key] [-v]
-[-c] [-w i/n/w] [-s y/n] [-x #] [-y #] [-h]
-
-
--ggeometry:ie: 64x64+10+10
--ddpy: Display. ie: 127.0.0.1:0.0
--nworkspaces:  How many buttons to start with.
--aalt key: integer 1-4 defining ModXMask (default 1 Mod1Mask).
--wi/n/w:   Window State: Iconic, Normal, Withdrawn (default Withdrawn)
--sy/n: Shaped window: yes or no (default y)
--c Sends CTRL + ALT + Key (default only sends ALT + key)
--v Verbose. 0=off, 1=on (default 0)
--x Number of buttons on the x-direction (1,2,3, or 4)
--y Number of buttons in the y-direction (1,2,3, or 4)
--h Help. This screen.
-
-
+fprintf(stderr,"\n\
+\n\
+%s\n\
+This software is GPL -- do as you wish with it.\n\
+\n\
+Origional Author:\n\
+   Ben Cohen \n\
+\n\
+Contributors:\n\
+   Thomas Nemeth \n\
+   Craig Maloney \n\
+   Gert Beumer \n\
+\n\
+\n\
+\n\
+usage: wmcp [-g geometry] [-d dpy] [-n workspaces] [-a alt key] [-v]\n\
+[-c] [-w i/n/w] [-s y/n] [-x #] [-y #] [-h]\n\
+\n\
+\n\
+-ggeometry:ie: 64x64+10+10\n\
+-ddpy: Display. ie: 127.0.0.1:0.0\n\
+-nworkspaces:  How many buttons to start with.\n\
+-aalt key: integer 1-4 defining ModXMask (default 1 Mod1Mask).\n\
+-wi/n/w:   Window State: Iconic, Normal, Withdrawn (default 
Withdrawn)\n\
+-sy/n: Shaped window: yes or no (default y)\n\
+-c Sends CTRL + ALT + Key (default only sends ALT + key)\n\
+-v Verbose. 0=off, 1=on (default 0)\n\
+-x Number of buttons on the x-direction (1,2,3, or 4)\n\
+-y Number of buttons in the y-direction (1,2,3, or 4)\n\
+-h Help. This screen.\n\
+\n\
+\n\
 ",VERSION);
 
 exit(-1);
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 4/4] wmcp: Include stdlib.h.

2017-02-20 Thread Doug Torrance
---
 wmcp/wmcp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/wmcp/wmcp.c b/wmcp/wmcp.c
index 5f659e8..603078d 100644
--- a/wmcp/wmcp.c
+++ b/wmcp/wmcp.c
@@ -26,6 +26,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 
 #include "backdrop.xpm"
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 2/4] wmcp: Add X11 directory to path of Xlib include files.

2017-02-20 Thread Doug Torrance
---
 wmcp/wmcp.c | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/wmcp/wmcp.c b/wmcp/wmcp.c
index 0028efc..2d30e83 100644
--- a/wmcp/wmcp.c
+++ b/wmcp/wmcp.c
@@ -20,11 +20,11 @@
 
 #define VERSION "Ver 1.2.8 -- May 25, 1999"
 
-#include 
-#include 
-#include 
-#include 
-#include 
+#include 
+#include 
+#include 
+#include 
+#include 
 #include 
 #include 
 
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 2/7] wmtetris: Link against Xlib.

2017-02-20 Thread Doug Torrance
---
 wmtetris/wmtetris/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wmtetris/wmtetris/Makefile b/wmtetris/wmtetris/Makefile
index 0594796..0d2fcba 100644
--- a/wmtetris/wmtetris/Makefile
+++ b/wmtetris/wmtetris/Makefile
@@ -1,5 +1,5 @@
 LIBDIR = -L/usr/X11R6/lib
-LIBS   = -lXpm -lXext
+LIBS   = -lXpm -lXext -lX11
 OBJS   =  wmtetris.o \
  ../wmgeneral/wmgeneral.o \
 
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 3/7] wmtetris: Use libdockapp for wmgeneral.

2017-02-20 Thread Doug Torrance
---
 wmtetris/wmgeneral/wmgeneral.c | 366 -
 wmtetris/wmgeneral/wmgeneral.h |  50 --
 wmtetris/wmtetris/Makefile |   5 +-
 wmtetris/wmtetris/wmtetris.c   |   2 +-
 4 files changed, 3 insertions(+), 420 deletions(-)
 delete mode 100644 wmtetris/wmgeneral/wmgeneral.c
 delete mode 100644 wmtetris/wmgeneral/wmgeneral.h

diff --git a/wmtetris/wmgeneral/wmgeneral.c b/wmtetris/wmgeneral/wmgeneral.c
deleted file mode 100644
index a4f13c1..000
--- a/wmtetris/wmgeneral/wmgeneral.c
+++ /dev/null
@@ -1,366 +0,0 @@
-/*
-   Best viewed with vim5, using ts=4
-
-   wmgeneral was taken from wmppp.
-
-   It has a lot of routines which most of the wm* programs use.
-
-   
-
-   Author: Martijn Pieterse (piete...@xs4all.nl)
-
-   ---
-   CHANGES:
-   ---
-   02/05/1998 (Martijn Pieterse, piete...@xs4all.nl)
-   * changed the read_rc_file to parse_rcfile, as suggester by 
Marcelo E. Magallon
-   * debugged the parse_rc file.
-   30/04/1998 (Martijn Pieterse, piete...@xs4all.nl)
-   * Ripped similar code from all the wm* programs,
- and put them in a single file.
-
-*/
-
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-
-#include 
-#include 
-#include 
-
-#include "wmgeneral.h"
-
-  /*/
- /* X11 Variables */
-/*/
-
-Window Root;
-intscreen;
-intx_fd;
-intd_depth;
-XSizeHints mysizehints;
-XWMHints   mywmhints;
-Pixel  back_pix, fore_pix;
-char   *Geometry = "";
-Window iconwin, win;
-GC NormalGC;
-XpmIconwmgen;
-Pixmap pixmask;
-
-  /*/
- /* Mouse Regions */
-/*/
-
-typedef struct {
-   int enable;
-   int top;
-   int bottom;
-   int left;
-   int right;
-} MOUSE_REGION;
-
-#define MAX_MOUSE_REGION (8)
-MOUSE_REGION   mouse_region[MAX_MOUSE_REGION];
-
-  /***/
- /* Function Prototypes */
-/***/
-
-static void GetXPM(XpmIcon *, char **);
-static Pixel GetColor(char *);
-void RedrawWindow(void);
-void AddMouseRegion(int, int, int, int, int);
-int CheckMouseRegion(int, int);
-
-/***\
-|* read_rc_file
   *|
-\***/
-
-void parse_rcfile(const char *filename, rckeys *keys) {
-
-   char*p;
-   chartemp[128];
-   char*tokens = " :\t\n";
-   FILE*fp;
-   int i,key;
-
-   fp = fopen(filename, "r");
-   if (fp) {
-   while (fgets(temp, 128, fp)) {
-   key = 0;
-   while (key >= 0 && keys[key].label) {
-   if ((p = strstr(temp, keys[key].label))) {
-   p += strlen(keys[key].label);
-   p += strspn(p, tokens);
-   if ((i = strcspn(p, "#\n"))) p[i] = 0;
-   free(*keys[key].var);
-   *keys[key].var = strdup(p);
-   key = -1;
-   } else key++;
-   }
-   }
-   fclose(fp);
-   }
-}
-
-
-/***\
-|* GetXPM  
   *|
-\***/
-
-static void GetXPM(XpmIcon *wmgen, char *pixmap_bytes[]) {
-
-   XWindowAttributes   attributes;
-   int err;
-
-   /* For the colormap */
-   XGetWindowAttributes(display, Root, );
-
-   wmgen->attributes.valuemask |= (XpmReturnPixels | XpmReturnExtensions);
-
-   err = XpmCreatePixmapFromData(display, Root, pixmap_bytes, 
&(wmgen->pixmap),
-   &(wmgen->mask), &(wmgen->attributes));
-   
-   if (err != XpmSuccess) {
-   fprintf(stderr, "Not enough free colorcells.\n");
-   exit(1);
-   }
-}
-
-/***\
-|* GetColor
   *|

[PATCH 1/7] wmtetris: Remove unused source files wmmon.c and wmtetris.h.

2017-02-20 Thread Doug Torrance
---
 wmtetris/wmtetris/wmmon.c| 739 ---
 wmtetris/wmtetris/wmtetris.h |  40 ---
 2 files changed, 779 deletions(-)
 delete mode 100644 wmtetris/wmtetris/wmmon.c
 delete mode 100644 wmtetris/wmtetris/wmtetris.h

diff --git a/wmtetris/wmtetris/wmmon.c b/wmtetris/wmtetris/wmmon.c
deleted file mode 100644
index da5242f..000
--- a/wmtetris/wmtetris/wmmon.c
+++ /dev/null
@@ -1,739 +0,0 @@
-/*
-   Code based on wmppp/wmifs
-
-   [Orig WMPPP comments]
-
-   This code was mainly put together by looking at the
-   following programs:
-
-   asclock
-   A neat piece of equip, used to display the date
-   and time on the screen.
-   Comes with every AfterStep installation.
-
-   Source used:
-   How do I create a not so solid window?
-   How do I open a window?
-   How do I use pixmaps?
-   
-   
-
-   Authors: Martijn Pieterse (piete...@xs4all.nl)
-Antoine Nulle (w...@xs4all.nl)
-
-   This program is distributed under the GPL license.
-   (as were asclock and pppstats)
-
-   
-   Changes:
-   
-
-   18/05/1998 (Antoine Nulle, w...@xs4all.nl)
-   * MEM/SWAP/UPTIME only updated when visible
-   * Using global file descriptors to reduce file
- system overhead, both updates are based on a diff 
- supplied by Dave Harden (dhar...@wisewire.com) 
-   15/05/1998 (Antoine Nulle, w...@xs4all.nl)
-   * Fixed memory overflow in the MEM gaugebar
-   * MEM gauge displays now real used mem
- (buffered + cached mem removed)
-   14/05/1998 (Antoine Nulle, w...@xs4all.nl)
-   * Added -i & -s kludge for selecting startupmode,
- tijno, don't hate me for this :)
-   12/05/1998 (Antoine Nulle, w...@xs4all.nl)
-   * Finetuned master-xpm, tijno don't worry, no 
- reprogramming needed this time ;-)
-   07/05/1998 (Martijn Pieterse, piete...@xs4all.nl)
-   * Added disk i/o
-   03/05/1998 (Antoine Nulle, w...@xs4all.nl)
-   * Added new master-xpm which contains the gfx
- for the upcoming SysInfo part :P
-   02/05/1998 (Martijn Pieterse, piete...@xs4all.nl)
-   * Removed a lot of code, that was put in wmgeneral
-   23/04/1998 (Martijn Pieterse, piete...@xs4all.nl)
-   * Added zombie destroying code (aka wait :) )
-   18/04/1998 (Martijn Pieterse, piete...@xs4all.nl)
-   * Added CPU-on-screen.
-   * Added -display command line
-   15/04/1998 (Martijn Pieterse, piete...@xs4all.nl)
-   * Fixed a bug in the stats routine
- (Top 3 bright pixels were not shown when 100% loaded)
-   * Changed xpm to a no-title one.
- This included the reprogramming of all positions.
- warpstah, i hate you! ;)
-   05/04/1998 (Martijn Pieterse, piete...@xs4all.nl)
-   * First Working Version
-*/
-
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-
-#include 
-#include 
-#include 
-
-#include 
-#include 
-#include 
-
-#include "../wmgeneral/wmgeneral.h"
-#include "../wmgeneral/misc.h"
-
-#include "wmmon-master.xpm"
-#include "wmmon-mask.xbm"
-
-  /***/
- /* Defines */
-/***/
-
-#define LEFT_ACTION (NULL)
-#define RIGHT_ACTION (NULL)
-#define MIDDLE_ACTION (NULL)
-
-#define WMMON_VERSION "1.0.b2"
-
-  //
- /* Global Variables */
-//
-
-char   *ProgName;
-intstat_current = 0; /* now global */
-FILE   *fp_meminfo;
-FILE   *fp_stat;
-FILE   *fp_loadavg;
-
-/* functions */
-void usage(void);
-void printversion(void);
-void DrawStats(int *, int, int, int, int);
-void DrawStats_io(int *, int, int, int, int);
-
-void wmmon_routine(int, char **);
-
-void main(int argc, char *argv[]) {
-
-   int i;
-   
-
-   /* Parse Command Line */
-
-   ProgName = argv[0];
-   if (strlen(ProgName) >= 5)
-   ProgName += (strlen(ProgName) - 5);
-   
-   for (i=1; i

[PATCH 6/7] wmtetris: Cast mask bitmap to signed char; avoids compiler warning.

2017-02-20 Thread Doug Torrance
---
 wmtetris/wmtetris/wmtetris.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wmtetris/wmtetris/wmtetris.c b/wmtetris/wmtetris/wmtetris.c
index d1335bb..3d536fc 100644
--- a/wmtetris/wmtetris/wmtetris.c
+++ b/wmtetris/wmtetris/wmtetris.c
@@ -77,7 +77,7 @@ int main(int argc, char *argv[]) {
for (x = 0; x < BOARD_WIDTH; x++)
board[x][y] = 0;
 
-   openXwindow(argc, argv, wmtetris_xpm, wmtetris_mask_bits,
+   openXwindow(argc, argv, wmtetris_xpm, (char *)wmtetris_mask_bits,
wmtetris_mask_width, wmtetris_mask_height);
copyXPMArea(64, 0, 64, 64, 0, 0);
RedrawWindow();
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 5/7] wmtetris: Remove unused variables.

2017-02-20 Thread Doug Torrance
---
 wmtetris/wmtetris/wmtetris.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/wmtetris/wmtetris/wmtetris.c b/wmtetris/wmtetris/wmtetris.c
index cd6536f..d1335bb 100644
--- a/wmtetris/wmtetris/wmtetris.c
+++ b/wmtetris/wmtetris/wmtetris.c
@@ -69,7 +69,6 @@ int main(int argc, char *argv[]) {
fig_x, fig_y, new_figure=1, figure_type, next_figure_type;
int figure[4][2] = { {0, 0}, {0, 0}, {0, 0}, {0, 0} },
next_figure[4][2] = { {0, 0}, {0, 0}, {0, 0}, {0, 0} };
-   unsigned long delay = INITIAL_DELAY, start_time;
XEvent event;
 
srand(time(NULL));
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 4/7] wmtetris: Include time.h and add argument to time().

2017-02-20 Thread Doug Torrance
---
 wmtetris/wmtetris/wmtetris.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/wmtetris/wmtetris/wmtetris.c b/wmtetris/wmtetris/wmtetris.c
index 6517575..cd6536f 100644
--- a/wmtetris/wmtetris/wmtetris.c
+++ b/wmtetris/wmtetris/wmtetris.c
@@ -2,6 +2,7 @@
 #include 
 #include 
 #include 
+#include 
 
 #include 
 #include 
@@ -71,7 +72,7 @@ int main(int argc, char *argv[]) {
unsigned long delay = INITIAL_DELAY, start_time;
XEvent event;
 
-   srand(time());
+   srand(time(NULL));
 
for (y = 0; y < BOARD_HEIGHT; y++)
for (x = 0; x < BOARD_WIDTH; x++)
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 5/6] wmmp3: Remove autotools-generated files git

2017-02-20 Thread Doug Torrance
---
 wmmp3/Makefile.in   |  321 ---
 wmmp3/aclocal.m4|  104 ---
 wmmp3/configure | 2402 ---
 wmmp3/install-sh|  251 --
 wmmp3/missing   |  190 
 wmmp3/mkinstalldirs |   40 -
 6 files changed, 3308 deletions(-)
 delete mode 100644 wmmp3/Makefile.in
 delete mode 100644 wmmp3/aclocal.m4
 delete mode 100755 wmmp3/configure
 delete mode 100755 wmmp3/install-sh
 delete mode 100755 wmmp3/missing
 delete mode 100755 wmmp3/mkinstalldirs

diff --git a/wmmp3/Makefile.in b/wmmp3/Makefile.in
deleted file mode 100644
index d3f62fd..000
--- a/wmmp3/Makefile.in
+++ /dev/null
@@ -1,321 +0,0 @@
-# Makefile.in generated automatically by automake 1.4 from Makefile.am
-
-# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-
-SHELL = @SHELL@
-
-srcdir = @srcdir@
-top_srcdir = @top_srcdir@
-VPATH = @srcdir@
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-bindir = @bindir@
-sbindir = @sbindir@
-libexecdir = @libexecdir@
-datadir = @datadir@
-sysconfdir = @sysconfdir@
-sharedstatedir = @sharedstatedir@
-localstatedir = @localstatedir@
-libdir = @libdir@
-infodir = @infodir@
-mandir = @mandir@
-includedir = @includedir@
-oldincludedir = /usr/include
-
-DESTDIR =
-
-pkgdatadir = $(datadir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-
-top_builddir = .
-
-ACLOCAL = @ACLOCAL@
-AUTOCONF = @AUTOCONF@
-AUTOMAKE = @AUTOMAKE@
-AUTOHEADER = @AUTOHEADER@
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-transform = @program_transform_name@
-
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-CC = @CC@
-MAKEINFO = @MAKEINFO@
-PACKAGE = @PACKAGE@
-VERSION = @VERSION@
-
-bin_PROGRAMS = wmmp3
-wmmp3_SOURCES = main.c mpg123ctl.c wmgeneral.c buttons.c main.h mpg123ctl.h 
wmgeneral.h buttons.h charset.xpm wmmp3.xpm song_hash.c song_hash.h
-EXTRA_DIST = sample.wmmp3
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_CLEAN_FILES =
-PROGRAMS =  $(bin_PROGRAMS)
-
-
-DEFS = @DEFS@ -I. -I$(srcdir)
-CPPFLAGS = @CPPFLAGS@
-LDFLAGS = @LDFLAGS@
-LIBS = @LIBS@
-X_CFLAGS = @X_CFLAGS@
-X_LIBS = @X_LIBS@
-X_EXTRA_LIBS = @X_EXTRA_LIBS@
-X_PRE_LIBS = @X_PRE_LIBS@
-wmmp3_OBJECTS =  main.o mpg123ctl.o wmgeneral.o buttons.o song_hash.o
-wmmp3_LDADD = $(LDADD)
-wmmp3_DEPENDENCIES =
-wmmp3_LDFLAGS =
-CFLAGS = @CFLAGS@
-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) 
$(CFLAGS)
-CCLD = $(CC)
-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
-DIST_COMMON =  README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
-Makefile.in NEWS TODO aclocal.m4 configure configure.in install-sh \
-missing mkinstalldirs
-
-
-DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
-
-TAR = gtar
-GZIP_ENV = --best
-SOURCES = $(wmmp3_SOURCES)
-OBJECTS = $(wmmp3_OBJECTS)
-
-all: all-redirect
-.SUFFIXES:
-.SUFFIXES: .S .c .o .s
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
-   cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile
-
-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
-   cd $(top_builddir) \
- && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
-
-$(ACLOCAL_M4):  configure.in
-   cd $(srcdir) && $(ACLOCAL)
-
-config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-   $(SHELL) ./config.status --recheck
-$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) 
$(CONFIGURE_DEPENDENCIES)
-   cd $(srcdir) && $(AUTOCONF)
-
-mostlyclean-binPROGRAMS:
-
-clean-binPROGRAMS:
-   -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
-
-distclean-binPROGRAMS:
-
-maintainer-clean-binPROGRAMS:
-
-install-binPROGRAMS: $(bin_PROGRAMS)
-   @$(NORMAL_INSTALL)
-   $(mkinstalldirs) $(DESTDIR)$(bindir)
-   @list='$(bin_PROGRAMS)'; for p in $$list; do \
- if test -f $$p; then \
-   echo "  $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 
's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
-$(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 
's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
- else :; fi; \
-   done
-
-uninstall-binPROGRAMS:
-   @$(NORMAL_UNINSTALL)
-   list='$(bin_PROGRAMS)'; for p in $$list; do \
- rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 

[PATCH 6/6] wmmp3: Remove AC_PATH_XTRA macro from configure.ac; caused build failure.

2017-02-20 Thread Doug Torrance
---
 wmmp3/configure.ac | 1 -
 1 file changed, 1 deletion(-)

diff --git a/wmmp3/configure.ac b/wmmp3/configure.ac
index b8229c6..b1156a3 100644
--- a/wmmp3/configure.ac
+++ b/wmmp3/configure.ac
@@ -3,7 +3,6 @@ AC_CONFIG_SRCDIR(main.c)
 AM_INIT_AUTOMAKE(foreign)
 AC_PROG_CC
 AC_PROG_INSTALL
-AC_PATH_XTRA
 
 if test "$x_includes" != "NONE"; then
 CFLAGS="$CFLAGS -I$x_includes"
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 3/6] wmmp3: Rename configure.in as configure.ac.

2017-02-20 Thread Doug Torrance
---
 wmmp3/configure.ac | 19 +++
 wmmp3/configure.in | 19 ---
 2 files changed, 19 insertions(+), 19 deletions(-)
 create mode 100644 wmmp3/configure.ac
 delete mode 100644 wmmp3/configure.in

diff --git a/wmmp3/configure.ac b/wmmp3/configure.ac
new file mode 100644
index 000..69a6c9d
--- /dev/null
+++ b/wmmp3/configure.ac
@@ -0,0 +1,19 @@
+AC_INIT(main.c)
+AM_INIT_AUTOMAKE(wmmp3,0.12)
+AC_PROG_CC
+AC_PROG_INSTALL
+AC_PATH_XTRA
+
+if test "$x_includes" != "NONE"; then
+CFLAGS="$CFLAGS -I$x_includes"
+fi
+
+if test "$x_libraries" != "NONE"; then
+LDFLAGS="$LDFLAGS -L$x_libraries"
+fi
+
+AC_CHECK_LIB(X11, XOpenDisplay)
+AC_CHECK_LIB(Xext, XShapeCombineMask)
+AC_CHECK_LIB(Xpm, XpmCreatePixmapFromData, , , $LIBS)
+
+AC_OUTPUT(Makefile)
diff --git a/wmmp3/configure.in b/wmmp3/configure.in
deleted file mode 100644
index 69a6c9d..000
--- a/wmmp3/configure.in
+++ /dev/null
@@ -1,19 +0,0 @@
-AC_INIT(main.c)
-AM_INIT_AUTOMAKE(wmmp3,0.12)
-AC_PROG_CC
-AC_PROG_INSTALL
-AC_PATH_XTRA
-
-if test "$x_includes" != "NONE"; then
-CFLAGS="$CFLAGS -I$x_includes"
-fi
-
-if test "$x_libraries" != "NONE"; then
-LDFLAGS="$LDFLAGS -L$x_libraries"
-fi
-
-AC_CHECK_LIB(X11, XOpenDisplay)
-AC_CHECK_LIB(Xext, XShapeCombineMask)
-AC_CHECK_LIB(Xpm, XpmCreatePixmapFromData, , , $LIBS)
-
-AC_OUTPUT(Makefile)
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 4/6] wmmp3: Modernize AM_INIT_AUTOMAKE

2017-02-20 Thread Doug Torrance
---
 wmmp3/configure.ac | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/wmmp3/configure.ac b/wmmp3/configure.ac
index 69a6c9d..b8229c6 100644
--- a/wmmp3/configure.ac
+++ b/wmmp3/configure.ac
@@ -1,5 +1,6 @@
-AC_INIT(main.c)
-AM_INIT_AUTOMAKE(wmmp3,0.12)
+AC_INIT(wmmp3,0.12)
+AC_CONFIG_SRCDIR(main.c)
+AM_INIT_AUTOMAKE(foreign)
 AC_PROG_CC
 AC_PROG_INSTALL
 AC_PATH_XTRA
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 2/6] wmspaceweather: Remove precompiled binary and object file from git.

2017-02-20 Thread Doug Torrance
---
 wmspaceweather/wmSpaceWeather/wmSpaceWeather   | Bin 28269 -> 0 bytes
 wmspaceweather/wmSpaceWeather/wmSpaceWeather.o | Bin 19808 -> 0 bytes
 2 files changed, 0 insertions(+), 0 deletions(-)
 delete mode 100755 wmspaceweather/wmSpaceWeather/wmSpaceWeather
 delete mode 100644 wmspaceweather/wmSpaceWeather/wmSpaceWeather.o

diff --git a/wmspaceweather/wmSpaceWeather/wmSpaceWeather 
b/wmspaceweather/wmSpaceWeather/wmSpaceWeather
deleted file mode 100755
index 
79c022acb8148eb6906e4ffab38d4ea8bfe98a47..
GIT binary patch
literal 0
HcmV?d1

literal 28269
zcmd^o4SbZ(c4jD2;7$Hk!3!L0wPk{coNC*t%ix#9n+D)M>GiT7gNli*-!+IFueiluU01)#5e_#bycY{WP
zhJhG9r

[PATCH 1/6] wmspaceweather: Use libdockapp for wmgeneral.

2017-02-20 Thread Doug Torrance
---
 wmspaceweather/wmSpaceWeather/Makefile |   5 +-
 wmspaceweather/wmSpaceWeather/wmSpaceWeather.c |   2 +-
 wmspaceweather/wmgeneral/wmgeneral.c   | 366 -
 wmspaceweather/wmgeneral/wmgeneral.h   |  50 
 wmspaceweather/wmgeneral/wmgeneral.o   | Bin 7324 -> 0 bytes
 5 files changed, 3 insertions(+), 420 deletions(-)
 delete mode 100644 wmspaceweather/wmgeneral/wmgeneral.c
 delete mode 100644 wmspaceweather/wmgeneral/wmgeneral.h
 delete mode 100644 wmspaceweather/wmgeneral/wmgeneral.o

diff --git a/wmspaceweather/wmSpaceWeather/Makefile 
b/wmspaceweather/wmSpaceWeather/Makefile
index 8c2ce30..a4ed61d 100644
--- a/wmspaceweather/wmSpaceWeather/Makefile
+++ b/wmspaceweather/wmSpaceWeather/Makefile
@@ -4,11 +4,10 @@ INCDIR = -I/usr/X11R6/include/X11
 DESTDIR= /usr/X11R6
 LIBDIR = -L/usr/X11R6/lib
 # for linux
-LIBS   = -lXpm -lX11 -lXext
+LIBS   = -lXpm -lX11 -lXext -ldockapp
 # for Solaris
 # LIBS   = -lXpm -lX11 -lXext -lsocket
-OBJS   = wmSpaceWeather.o \
- ../wmgeneral/wmgeneral.o
+OBJS   = wmSpaceWeather.o
 
 
 .c.o:
diff --git a/wmspaceweather/wmSpaceWeather/wmSpaceWeather.c 
b/wmspaceweather/wmSpaceWeather/wmSpaceWeather.c
index 5fd6a16..3016d18 100644
--- a/wmspaceweather/wmSpaceWeather/wmSpaceWeather.c
+++ b/wmspaceweather/wmSpaceWeather/wmSpaceWeather.c
@@ -72,7 +72,7 @@
 #include 
 #include 
 #include 
-#include "../wmgeneral/wmgeneral.h"
+#include 
 #include "wmSpaceWeather_master.xpm"
 #include "wmSpaceWeather_mask.xbm"
 
diff --git a/wmspaceweather/wmgeneral/wmgeneral.c 
b/wmspaceweather/wmgeneral/wmgeneral.c
deleted file mode 100644
index 645321c..000
--- a/wmspaceweather/wmgeneral/wmgeneral.c
+++ /dev/null
@@ -1,366 +0,0 @@
-/*
-   Best viewed with vim5, using ts=4
-
-   wmgeneral was taken from wmppp.
-
-   It has a lot of routines which most of the wm* programs use.
-
-   
-
-   Author: Martijn Pieterse (piete...@xs4all.nl)
-
-   ---
-   CHANGES:
-   ---
-   02/05/1998 (Martijn Pieterse, piete...@xs4all.nl)
-   * changed the read_rc_file to parse_rcfile, as suggester by 
Marcelo E. Magallon
-   * debugged the parse_rc file.
-   30/04/1998 (Martijn Pieterse, piete...@xs4all.nl)
-   * Ripped similar code from all the wm* programs,
- and put them in a single file.
-
-*/
-
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-
-#include 
-#include 
-#include 
-
-#include "wmgeneral.h"
-
-  /*/
- /* X11 Variables */
-/*/
-
-Window Root;
-intscreen;
-intx_fd;
-intd_depth;
-XSizeHints mysizehints;
-XWMHints   mywmhints;
-Pixel  back_pix, fore_pix;
-char   *Geometry = "";
-Window iconwin, win;
-GC NormalGC;
-XpmIconwmgen;
-Pixmap pixmask;
-
-  /*/
- /* Mouse Regions */
-/*/
-
-typedef struct {
-   int enable;
-   int top;
-   int bottom;
-   int left;
-   int right;
-} MOUSE_REGION;
-
-#define MAX_MOUSE_REGION (8)
-MOUSE_REGION   mouse_region[MAX_MOUSE_REGION];
-
-  /***/
- /* Function Prototypes */
-/***/
-
-static void GetXPM(XpmIcon *, char **);
-static Pixel GetColor(char *);
-void RedrawWindow(void);
-void AddMouseRegion(int, int, int, int, int);
-int CheckMouseRegion(int, int);
-
-/***\
-|* read_rc_file
   *|
-\***/
-
-void parse_rcfile(const char *filename, rckeys *keys) {
-
-   char*p;
-   chartemp[128];
-   char*tokens = " :\t\n";
-   FILE*fp;
-   int i,key;
-
-   fp = fopen(filename, "r");
-   if (fp) {
-   while (fgets(temp, 128, fp)) {
-   key = 0;
-   while (key >= 0 && keys[key].label) {
-   if ((p = strstr(temp, keys[key].label))) {
-   p += strlen(keys[key].label);
-   p += strspn(p, tokens);
-   if ((i = strcspn(p, "#\n"))) p[i] = 0;
-   free(*keys[key].var);
-   *keys[key].var = strdup(p);
-   key = -1;
-   } else key++;
-   }
-   }
-   fclose(fp);
-   }
-}
-
-

[PATCH 9/9] wmpop3lb: Use wmgeneral from libdockapp.

2017-02-23 Thread Doug Torrance
---
 wmpop3lb/wmgeneral/list.c  | 169 ---
 wmpop3lb/wmgeneral/list.h  |  59 -
 wmpop3lb/wmgeneral/misc.c  | 164 --
 wmpop3lb/wmgeneral/misc.h  |   9 -
 wmpop3lb/wmgeneral/wmgeneral.c | 480 -
 wmpop3lb/wmgeneral/wmgeneral.h |  59 -
 wmpop3lb/wmpop3/Makefile   |   9 +-
 wmpop3lb/wmpop3/Pop3Client.c   |   3 +-
 wmpop3lb/wmpop3/wmpop3.c   |   3 +-
 9 files changed, 4 insertions(+), 951 deletions(-)
 delete mode 100644 wmpop3lb/wmgeneral/list.c
 delete mode 100644 wmpop3lb/wmgeneral/list.h
 delete mode 100644 wmpop3lb/wmgeneral/misc.c
 delete mode 100644 wmpop3lb/wmgeneral/misc.h
 delete mode 100644 wmpop3lb/wmgeneral/wmgeneral.c
 delete mode 100644 wmpop3lb/wmgeneral/wmgeneral.h

diff --git a/wmpop3lb/wmgeneral/list.c b/wmpop3lb/wmgeneral/list.c
deleted file mode 100644
index d9f7329..000
--- a/wmpop3lb/wmgeneral/list.c
+++ /dev/null
@@ -1,169 +0,0 @@
-/* Generic single linked list to keep various information
-   Copyright (C) 1993, 1994 Free Software Foundation, Inc.
-
-
-Author: Kresten Krab Thorup
-
-Many modifications by Alfredo K. Kojima
-
-
-This file is part of GNU CC.
-
-GNU CC is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU CC is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU CC; see the file COPYING.  If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA.  */
-
-/* As a special exception, if you link this library with files compiled with
-   GCC to produce an executable, this does not cause the resulting executable
-   to be covered by the GNU General Public License. This exception does not
-   however invalidate any other reasons why the executable file might be
-   covered by the GNU General Public License.  */
-
-#include "list.h"
-#ifdef HAVE_SYS_TYPES_H
-# include 
-#endif
-#include 
-
-/* Return a cons cell produced from (head . tail) */
-
-INLINE LinkedList*
-list_cons(void* head, LinkedList* tail)
-{
-  LinkedList* cell;
-
-  cell = (LinkedList*)malloc(sizeof(LinkedList));
-  cell->head = head;
-  cell->tail = tail;
-  return cell;
-}
-
-/* Return the length of a list, list_length(NULL) returns zero */
-
-INLINE int
-list_length(LinkedList* list)
-{
-  int i = 0;
-  while(list)
-{
-  i += 1;
-  list = list->tail;
-}
-  return i;
-}
-
-/* Return the Nth element of LIST, where N count from zero.  If N
-   larger than the list length, NULL is returned  */
-
-INLINE void*
-list_nth(int index, LinkedList* list)
-{
-  while(index-- != 0)
-{
-  if(list->tail)
-   list = list->tail;
-  else
-   return 0;
-}
-  return list->head;
-}
-
-/* Remove the element at the head by replacing it by its successor */
-
-INLINE void
-list_remove_head(LinkedList** list)
-{
-  if (!*list) return;
-  if ((*list)->tail)
-{
-  LinkedList* tail = (*list)->tail; /* fetch next */
-  *(*list) = *tail;/* copy next to list head */
-  free(tail);  /* free next */
-}
-  else /* only one element in list */
-{
-  free(*list);
-  (*list) = 0;
-}
-}
-
-
-/* Remove the element with `car' set to ELEMENT */
-/*
-INLINE void
-list_remove_elem(LinkedList** list, void* elem)
-{
-  while (*list)
-{
-  if ((*list)->head == elem)
-list_remove_head(list);
-  *list = (*list ? (*list)->tail : NULL);
-}
-}*/
-
-INLINE LinkedList *
-list_remove_elem(LinkedList* list, void* elem)
-{
-LinkedList *tmp;
-
-if (list) {
-   if (list->head == elem) {
-   tmp = list->tail;
-   free(list);
-   return tmp;
-   }
-   list->tail = list_remove_elem(list->tail, elem);
-   return list;
-}
-return NULL;
-}
-
-
-/* Return element that has ELEM as car */
-
-INLINE LinkedList*
-list_find(LinkedList* list, void* elem)
-{
-  while(list)
-{
-if (list->head == elem)
-  return list;
-list = list->tail;
-}
-  return NULL;
-}
-
-/* Free list (backwards recursive) */
-
-INLINE void
-list_free(LinkedList* list)
-{
-  if(list)
-{
-  list_free(list->tail);
-  free(list);
-}
-}
-
-/* Map FUNCTION over all elements in LIST */
-
-INLINE void
-list_mapcar(LinkedList* list, void(*function)(void*))
-{
-  while(list)
-{
-  (*function)(list->head);
-  list = list->tail;
-}
-}
diff --git a/wmpop3lb/wmgeneral/list.h b/wmpop3lb/wmgeneral/list.h
deleted file mode 100644
index be101ef..000
--- a/wmpop3lb/wmgeneral/list.h
+++ /dev/null
@@ -1,59 

[PATCH 6/9] wmomikuzi: Use short unsigned ints for dockapp dimensions.

2017-02-23 Thread Doug Torrance
Fixes "incompatible pointer type" warnings.
---
 wmomikuzi/wmomikuzi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wmomikuzi/wmomikuzi.c b/wmomikuzi/wmomikuzi.c
index c49bc5a..56702ba 100644
--- a/wmomikuzi/wmomikuzi.c
+++ b/wmomikuzi/wmomikuzi.c
@@ -82,7 +82,7 @@ main(int argc, char **argv)
Pixmap kyou_pixmap;
Pixmap daikyou_pixmap;
 
-   int w = 64, h = 64;
+   short unsigned int w = 64, h = 64;
 
DACallbacks callbacks = {NULL,buttonPressCallback
,buttonReleaseCallback,NULL,NULL,NULL,NULL};
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 3/9] wmhexaclock: Remove precompiled binary from git.

2017-02-23 Thread Doug Torrance
---
 wmhexaclock/wmHexaClock | Bin 23868 -> 0 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)
 delete mode 100755 wmhexaclock/wmHexaClock

diff --git a/wmhexaclock/wmHexaClock b/wmhexaclock/wmHexaClock
deleted file mode 100755
index 
d026cdaa4d4078b3fd8a819bcd35367eb42c88f9..
GIT binary patch
literal 0
HcmV?d1

literal 23868
zcmeHP3v?XSc^=zi7&}X}q;jJKCmEA

[PATCH 5/9] wmomikuzi: Don't try and compile local libdockapp.

2017-02-23 Thread Doug Torrance
---
 wmomikuzi/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wmomikuzi/Makefile b/wmomikuzi/Makefile
index 9e7f0c4..95c50d9 100644
--- a/wmomikuzi/Makefile
+++ b/wmomikuzi/Makefile
@@ -13,7 +13,7 @@ CC = gcc
 OPTIMIZE = -O2
 XLIBDIR = /usr/X11R6/lib
 XLIB = -ldockapp -lXpm -lXext -lX11
-OBJ = wmomikuzi.o dockapp.o
+OBJ = wmomikuzi.o
 
 $(DEST) : $(OBJ)
$(CC) $(OBJ) -L$(XLIBDIR) $(XLIB) -o $(DEST)
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 2/9] wmfu: Indicate directory of wireless header file.

2017-02-23 Thread Doug Torrance
---
 wmfu/linux/system.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wmfu/linux/system.c b/wmfu/linux/system.c
index a5df183..a2dddc8 100644
--- a/wmfu/linux/system.c
+++ b/wmfu/linux/system.c
@@ -26,7 +26,7 @@
 #include 
 #include 
 #include 
-#include 
+#include 
 
 #include "../list.h"
 #include "../sensors.h"
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 4/9] wmmoonclock: Remove Debian directory.

2017-02-23 Thread Doug Torrance
---
 wmmoonclock/debian/README.Debian|   8 -
 wmmoonclock/debian/changelog| 285 
 wmmoonclock/debian/compat   |   1 -
 wmmoonclock/debian/control  |  17 --
 wmmoonclock/debian/copyright|  37 -
 wmmoonclock/debian/rules|  19 ---
 wmmoonclock/debian/source/format|   1 -
 wmmoonclock/debian/watch|   1 -
 wmmoonclock/debian/wmmoonclock.manpages |   1 -
 wmmoonclock/debian/wmmoonclock.menu |   2 -
 10 files changed, 372 deletions(-)
 delete mode 100644 wmmoonclock/debian/README.Debian
 delete mode 100644 wmmoonclock/debian/changelog
 delete mode 100644 wmmoonclock/debian/compat
 delete mode 100644 wmmoonclock/debian/control
 delete mode 100644 wmmoonclock/debian/copyright
 delete mode 100644 wmmoonclock/debian/rules
 delete mode 100644 wmmoonclock/debian/source/format
 delete mode 100644 wmmoonclock/debian/watch
 delete mode 100644 wmmoonclock/debian/wmmoonclock.manpages
 delete mode 100644 wmmoonclock/debian/wmmoonclock.menu

diff --git a/wmmoonclock/debian/README.Debian b/wmmoonclock/debian/README.Debian
deleted file mode 100644
index d7ae847..000
--- a/wmmoonclock/debian/README.Debian
+++ /dev/null
@@ -1,8 +0,0 @@
-The user's latitude and longitude are needed for wmMoonClock to work
-correctly. They may be found at http://www.tageo.com/, positive is north/west,
-negative is south/east. These have to be specified using the "-lat" and "-lon"
-command line arguments. For the X menu system, please copy
-"/usr/share/menu/wmmoonclock" to "/etc/menu/wmmoonclock", add latitude and
-longitude there, and call "update-menus".
-
- -- Martin A. Godisch   Sun, 25 Mar 2007 10:27:18 +0200
diff --git a/wmmoonclock/debian/changelog b/wmmoonclock/debian/changelog
deleted file mode 100644
index c159697..000
--- a/wmmoonclock/debian/changelog
+++ /dev/null
@@ -1,285 +0,0 @@
-wmmoonclock (1.28-1) unstable; urgency=low
-
-  * New upstream version 1.28 (debian patches are now in upstream)
-
- -- Rodolfo García Peñas (kix)   Tue, 20 Sep 2011 11:14:33 +0200
-
-wmmoonclock (1.27-30) unstable; urgency=low
-
-  * New maintainer (Closes: #588837)
-  * Standard version is now 3.9.2
-* Package is now lintian clean
-* new wmmoonclock.{manpages, menu} files
-  * Added text info about upstream version in watch
-  * debian/copyright is now DEP-5
-  * debian/patches are now DEP-3
-
- -- Rodolfo García Peñas (kix)   Sun, 7 Aug 2011 15:41:54 +0200
-
-wmmoonclock (1.27-29) unstable; urgency=low
-
-  * Switch to dpkg-source 3.0 (quilt) format.
-  * Bump standards version to 3.8.4.
-  * Add ${misc:Depends} to the binary dependencies.
-  * Allow Debian maintainers uploads.
-
- -- Denis Briand   Sun, 14 Mar 2010 18:30:16 +0100
-
-wmmoonclock (1.27-28) unstable; urgency=low
-
-  * Add southern hemisphere support (Closes: #537480).
-Thanks to Alvaro Steiger.
-  * Bump standards version to 3.8.2.0
-  * Add quilt patch system.
-  * Add patches:
-+ 01_all_previous_diff.diff
-+ 02_update_time.diff
-+ 03_add_southern_hemisphere_support.diff
-+ 04_fix_hyphen_used_as_minus_sign.diff
-  * Add debhelper 7 build depends.
-  * Add debian/compat file.
-  * Remove trailing whitespaces in changelog.upstream.
-  * Add an empty watch file (no upstream repository).
-  * Improve rules file by using more debhelper commands.
-  * Remove Martin A. Godisch from uploaders field
-Thanks to him to have sponsored wmmoonclock.
-
- -- Denis Briand   Sun, 26 Jul 2009 10:30:00 +0200
-
-wmmoonclock (1.27-27) unstable; urgency=low
-
-  * Add co-maintainer Martin A. Godisch.
-  * Fix versionless symlink license in debian/copyright
-
- -- Denis Briand   Fri, 10 Apr 2009 18:43:04 +0200
-
-wmmoonclock (1.27-26) unstable; urgency=low
-
-  * New maintainer, closes: #455542.
-  * ajusted nMax values, closes: #479229.
-Thanks to Joerg Dietrich
-  * Updated standards version to 3.8.1
-
- -- Denis Briand   Fri, 20 Mar 2009 17:32:50 +0100
-
-wmmoonclock (1.27-25) unstable; urgency=low
-
-  * Removed db_purge in postrm, see: #502521.
-Thanks to Cesare Tirabassi.
-  * Fixed copyright file.
-  * Updated standards version.
-
- -- Martin A. Godisch   Sun, 26 Oct 2008 10:02:17 +0100
-
-wmmoonclock (1.27-24) unstable; urgency=low
-
-  * Enhanced display refresh rate, closes: #446680.
-Thanks to Peter Colberg.
-
- -- Martin A. Godisch   Mon, 10 Dec 2007 18:25:50 +0100
-
-wmmoonclock (1.27-23) unstable; urgency=low
-
-  * Changed display refresh rate to 100 ms, closes: #440406.
-  * Updated menu section.
-  * Fixed distclean target.
-
- -- Martin A. Godisch   Sun, 07 Oct 2007 09:22:20 +0200
-
-wmmoonclock (1.27-22) unstable; urgency=low
-
-  * Fixed postrm, closes: #417144.
-
- -- Martin A. Godisch   Sun, 01 Apr 2007 19:30:02 

[PATCH 7/9] wmomikuzi: main() returns an int.

2017-02-23 Thread Doug Torrance
---
 wmomikuzi/wmomikuzi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wmomikuzi/wmomikuzi.c b/wmomikuzi/wmomikuzi.c
index 56702ba..824ab11 100644
--- a/wmomikuzi/wmomikuzi.c
+++ b/wmomikuzi/wmomikuzi.c
@@ -73,7 +73,7 @@ static DAProgramOption options[] = {
{"-d", "--displayname", "display to use.", DOString, False, {}},
 };
 
-main(int argc, char **argv)
+int main(int argc, char **argv)
 {
Pixmap daikichi_pixmap;
Pixmap chukichi_pixmap;
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 8/9] wmpop3: Use wmgeneral from libdockapp.

2017-02-23 Thread Doug Torrance
---
 wmpop3/wmgeneral/list.c  | 169 ---
 wmpop3/wmgeneral/list.h  |  59 --
 wmpop3/wmgeneral/misc.c  | 164 ---
 wmpop3/wmgeneral/misc.h  |   9 -
 wmpop3/wmgeneral/wmgeneral.c | 481 ---
 wmpop3/wmgeneral/wmgeneral.h |  59 --
 wmpop3/wmpop3/Makefile   |   9 +-
 wmpop3/wmpop3/wmpop3.c   |   4 +-
 8 files changed, 4 insertions(+), 950 deletions(-)
 delete mode 100644 wmpop3/wmgeneral/list.c
 delete mode 100644 wmpop3/wmgeneral/list.h
 delete mode 100644 wmpop3/wmgeneral/misc.c
 delete mode 100644 wmpop3/wmgeneral/misc.h
 delete mode 100644 wmpop3/wmgeneral/wmgeneral.c
 delete mode 100644 wmpop3/wmgeneral/wmgeneral.h

diff --git a/wmpop3/wmgeneral/list.c b/wmpop3/wmgeneral/list.c
deleted file mode 100644
index d9f7329..000
--- a/wmpop3/wmgeneral/list.c
+++ /dev/null
@@ -1,169 +0,0 @@
-/* Generic single linked list to keep various information
-   Copyright (C) 1993, 1994 Free Software Foundation, Inc.
-
-
-Author: Kresten Krab Thorup
-
-Many modifications by Alfredo K. Kojima
-
-
-This file is part of GNU CC.
-
-GNU CC is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU CC is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU CC; see the file COPYING.  If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA.  */
-
-/* As a special exception, if you link this library with files compiled with
-   GCC to produce an executable, this does not cause the resulting executable
-   to be covered by the GNU General Public License. This exception does not
-   however invalidate any other reasons why the executable file might be
-   covered by the GNU General Public License.  */
-
-#include "list.h"
-#ifdef HAVE_SYS_TYPES_H
-# include 
-#endif
-#include 
-
-/* Return a cons cell produced from (head . tail) */
-
-INLINE LinkedList*
-list_cons(void* head, LinkedList* tail)
-{
-  LinkedList* cell;
-
-  cell = (LinkedList*)malloc(sizeof(LinkedList));
-  cell->head = head;
-  cell->tail = tail;
-  return cell;
-}
-
-/* Return the length of a list, list_length(NULL) returns zero */
-
-INLINE int
-list_length(LinkedList* list)
-{
-  int i = 0;
-  while(list)
-{
-  i += 1;
-  list = list->tail;
-}
-  return i;
-}
-
-/* Return the Nth element of LIST, where N count from zero.  If N
-   larger than the list length, NULL is returned  */
-
-INLINE void*
-list_nth(int index, LinkedList* list)
-{
-  while(index-- != 0)
-{
-  if(list->tail)
-   list = list->tail;
-  else
-   return 0;
-}
-  return list->head;
-}
-
-/* Remove the element at the head by replacing it by its successor */
-
-INLINE void
-list_remove_head(LinkedList** list)
-{
-  if (!*list) return;
-  if ((*list)->tail)
-{
-  LinkedList* tail = (*list)->tail; /* fetch next */
-  *(*list) = *tail;/* copy next to list head */
-  free(tail);  /* free next */
-}
-  else /* only one element in list */
-{
-  free(*list);
-  (*list) = 0;
-}
-}
-
-
-/* Remove the element with `car' set to ELEMENT */
-/*
-INLINE void
-list_remove_elem(LinkedList** list, void* elem)
-{
-  while (*list)
-{
-  if ((*list)->head == elem)
-list_remove_head(list);
-  *list = (*list ? (*list)->tail : NULL);
-}
-}*/
-
-INLINE LinkedList *
-list_remove_elem(LinkedList* list, void* elem)
-{
-LinkedList *tmp;
-
-if (list) {
-   if (list->head == elem) {
-   tmp = list->tail;
-   free(list);
-   return tmp;
-   }
-   list->tail = list_remove_elem(list->tail, elem);
-   return list;
-}
-return NULL;
-}
-
-
-/* Return element that has ELEM as car */
-
-INLINE LinkedList*
-list_find(LinkedList* list, void* elem)
-{
-  while(list)
-{
-if (list->head == elem)
-  return list;
-list = list->tail;
-}
-  return NULL;
-}
-
-/* Free list (backwards recursive) */
-
-INLINE void
-list_free(LinkedList* list)
-{
-  if(list)
-{
-  list_free(list->tail);
-  free(list);
-}
-}
-
-/* Map FUNCTION over all elements in LIST */
-
-INLINE void
-list_mapcar(LinkedList* list, void(*function)(void*))
-{
-  while(list)
-{
-  (*function)(list->head);
-  list = list->tail;
-}
-}
diff --git a/wmpop3/wmgeneral/list.h b/wmpop3/wmgeneral/list.h
deleted file mode 100644
index be101ef..000
--- a/wmpop3/wmgeneral/list.h
+++ /dev/null
@@ -1,59 +0,0 @@
-/* Generic single linked list to keep various information
-   

[PATCH 5/8] wmdots: Include string.h.

2017-02-24 Thread Doug Torrance
---
 wmdots/wmdots.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wmdots/wmdots.c b/wmdots/wmdots.c
index f664209..670d538 100644
--- a/wmdots/wmdots.c
+++ b/wmdots/wmdots.c
@@ -83,7 +83,7 @@
 #include 
 #include 
 #include 
-
+#include 
 #include 
 #include 
 #include "master.xpm"
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 2/8] wmdots: Use wmgeneral from libdockapp.

2017-02-24 Thread Doug Torrance
---
 wmdots/wmdots/Makefile   |   4 +-
 wmdots/wmdots/wmdots.c   |   2 +-
 wmdots/wmgeneral/list.c  | 169 ---
 wmdots/wmgeneral/list.h  |  59 --
 wmdots/wmgeneral/misc.c  | 164 ---
 wmdots/wmgeneral/misc.h  |   9 -
 wmdots/wmgeneral/wmgeneral.c | 479 ---
 wmdots/wmgeneral/wmgeneral.h |  61 --
 8 files changed, 3 insertions(+), 944 deletions(-)
 delete mode 100644 wmdots/wmgeneral/list.c
 delete mode 100644 wmdots/wmgeneral/list.h
 delete mode 100644 wmdots/wmgeneral/misc.c
 delete mode 100644 wmdots/wmgeneral/misc.h
 delete mode 100644 wmdots/wmgeneral/wmgeneral.c
 delete mode 100644 wmdots/wmgeneral/wmgeneral.h

diff --git a/wmdots/wmdots/Makefile b/wmdots/wmdots/Makefile
index 18a9caa..46cea12 100755
--- a/wmdots/wmdots/Makefile
+++ b/wmdots/wmdots/Makefile
@@ -1,6 +1,6 @@
 LIBDIR = -L/usr/X11R6/lib
-LIBS   = -lXpm -lXext -lX11
-OBJS = wmdots.o ../wmgeneral/wmgeneral.o
+LIBS   = -lXpm -lXext -lX11 -ldockapp
+OBJS = wmdots.o
 
 .c.o:
cc -c -g -O2 -Wall $< -o $*.o
diff --git a/wmdots/wmdots/wmdots.c b/wmdots/wmdots/wmdots.c
index aff6709..f664209 100644
--- a/wmdots/wmdots/wmdots.c
+++ b/wmdots/wmdots/wmdots.c
@@ -85,7 +85,7 @@
 #include 
 
 #include 
-#include "../wmgeneral/wmgeneral.h"
+#include 
 #include "master.xpm"
 #include "sintab.c" // sin() and cos() are crap!
 
diff --git a/wmdots/wmgeneral/list.c b/wmdots/wmgeneral/list.c
deleted file mode 100644
index d9f7329..000
--- a/wmdots/wmgeneral/list.c
+++ /dev/null
@@ -1,169 +0,0 @@
-/* Generic single linked list to keep various information
-   Copyright (C) 1993, 1994 Free Software Foundation, Inc.
-
-
-Author: Kresten Krab Thorup
-
-Many modifications by Alfredo K. Kojima
-
-
-This file is part of GNU CC.
-
-GNU CC is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU CC is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU CC; see the file COPYING.  If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA.  */
-
-/* As a special exception, if you link this library with files compiled with
-   GCC to produce an executable, this does not cause the resulting executable
-   to be covered by the GNU General Public License. This exception does not
-   however invalidate any other reasons why the executable file might be
-   covered by the GNU General Public License.  */
-
-#include "list.h"
-#ifdef HAVE_SYS_TYPES_H
-# include 
-#endif
-#include 
-
-/* Return a cons cell produced from (head . tail) */
-
-INLINE LinkedList*
-list_cons(void* head, LinkedList* tail)
-{
-  LinkedList* cell;
-
-  cell = (LinkedList*)malloc(sizeof(LinkedList));
-  cell->head = head;
-  cell->tail = tail;
-  return cell;
-}
-
-/* Return the length of a list, list_length(NULL) returns zero */
-
-INLINE int
-list_length(LinkedList* list)
-{
-  int i = 0;
-  while(list)
-{
-  i += 1;
-  list = list->tail;
-}
-  return i;
-}
-
-/* Return the Nth element of LIST, where N count from zero.  If N
-   larger than the list length, NULL is returned  */
-
-INLINE void*
-list_nth(int index, LinkedList* list)
-{
-  while(index-- != 0)
-{
-  if(list->tail)
-   list = list->tail;
-  else
-   return 0;
-}
-  return list->head;
-}
-
-/* Remove the element at the head by replacing it by its successor */
-
-INLINE void
-list_remove_head(LinkedList** list)
-{
-  if (!*list) return;
-  if ((*list)->tail)
-{
-  LinkedList* tail = (*list)->tail; /* fetch next */
-  *(*list) = *tail;/* copy next to list head */
-  free(tail);  /* free next */
-}
-  else /* only one element in list */
-{
-  free(*list);
-  (*list) = 0;
-}
-}
-
-
-/* Remove the element with `car' set to ELEMENT */
-/*
-INLINE void
-list_remove_elem(LinkedList** list, void* elem)
-{
-  while (*list)
-{
-  if ((*list)->head == elem)
-list_remove_head(list);
-  *list = (*list ? (*list)->tail : NULL);
-}
-}*/
-
-INLINE LinkedList *
-list_remove_elem(LinkedList* list, void* elem)
-{
-LinkedList *tmp;
-
-if (list) {
-   if (list->head == elem) {
-   tmp = list->tail;
-   free(list);
-   return tmp;
-   }
-   list->tail = list_remove_elem(list->tail, elem);
-   return list;
-}
-return NULL;
-}
-
-
-/* Return element that has ELEM as car */
-
-INLINE LinkedList*
-list_find(LinkedList* list, void* elem)
-{
-  while(list)
-{
-if (list->head == 

[PATCH 6/8] wmdots: Rename local sincos() to avoid conflicting types warning.

2017-02-24 Thread Doug Torrance
---
 wmdots/wmdots.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/wmdots/wmdots.c b/wmdots/wmdots.c
index 670d538..28654fd 100644
--- a/wmdots/wmdots.c
+++ b/wmdots/wmdots.c
@@ -410,7 +410,7 @@ void do_trails(void)
 // ---
 // pre calculate sin and cosine values for x y and z angles of rotation
 
-void sincos(void)
+void wmdots_sincos(void)
 {
   sin_x = sin_tab[x_angle];
   sin_y = sin_tab[y_angle];
@@ -502,7 +502,7 @@ void do_frame(void)
   }
 
   do_trails();  // clear pels that are 3 frames old
-  sincos(); // calculate all sin/cos values
+  wmdots_sincos(); // calculate all sin/cos values
 
   while(i--)
   {
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 4/8] wmdots: Add -f option to rm for clean target in Makefile.

2017-02-24 Thread Doug Torrance
---
 wmdots/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/wmdots/Makefile b/wmdots/Makefile
index 46cea12..8a1c0f4 100755
--- a/wmdots/Makefile
+++ b/wmdots/Makefile
@@ -12,9 +12,9 @@ all:: wmdots
 
 clean::
for i in $(OBJS) ; do \
-   rm $$i ; \
+   rm -f $$i ; \
done
-   rm wmdots
+   rm -f wmdots
 
 install::
cp -f wmdots /usr/local/bin/
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 1/8] wmdots: Remove precompiled binary and object files.

2017-02-24 Thread Doug Torrance
---
 wmdots/wmdots/wmdots | Bin 62534 -> 0 bytes
 wmdots/wmdots/wmdots.o   | Bin 53132 -> 0 bytes
 wmdots/wmgeneral/list.o  | Bin 1436 -> 0 bytes
 wmdots/wmgeneral/misc.o  | Bin 2036 -> 0 bytes
 wmdots/wmgeneral/wmgeneral.o | Bin 7992 -> 0 bytes
 5 files changed, 0 insertions(+), 0 deletions(-)
 delete mode 100755 wmdots/wmdots/wmdots
 delete mode 100644 wmdots/wmdots/wmdots.o
 delete mode 100644 wmdots/wmgeneral/list.o
 delete mode 100644 wmdots/wmgeneral/misc.o
 delete mode 100644 wmdots/wmgeneral/wmgeneral.o

diff --git a/wmdots/wmdots/wmdots b/wmdots/wmdots/wmdots
deleted file mode 100755
index 
a4515093ddf0c45f7b48e75f7ac3a4f77deaef0c..
GIT binary patch
literal 0
HcmV?d1

literal 62534
zcmd?S3t&~nwKu-cNdf^;Q1OA!s6YV;eim>1)iw_6(G99$R9bR1qx?@ZD7RS2*8S!z13
zfT5*Hm2daZSc$f7t-0
zo510?pN@;=@kd#nfa`c%tOLsm;5rExf3tC+`p!IDlW?7ai@&+Jz97*5*`IVz@(CW;
zf|NIZ)AZ*4WjnI1kH&>2awg)+z;!CF({S;31TMDgEC%pHvpOdVmVn{&9ccVsW_
z9fvA^f_DzX$oXtghhc}}S8yy}vwic%-Eq_SpFNoA;J@#6aOhEPMvqRR4+6Kd~jk2#@M+?f2=
zb#*uvb)wPc#;#VUwYj4^8g^QHBJEwVR%c~TXK5td7z@|7uj_2=Ssdx^ENhH4Ix7{s
zq*Tfb1eE!erETHniyPMWgj>#S?`r8@TfQdT6$3HzENhSUbTqC2nBq%fu}FJUJQj{J*RHN`bF96)t2*A<6h?ik8hdQ=
zs_r#zR@IQT;j0GKciE~9ceS*4t%g{`9muGnt0xZD>rqzKQpf^D0EVA9SPcVtCZb(Fxj=bvOOAW=x#vawGoIt5`!epty?hMBw>nX-&6{3-R
zJlYWs_dr)#!jbT5Bo0SHtr658D$v^PpatuhW%=0F96!ZGmbgu*Rs?@*{I8r4KVK>$lCD;AZ8g7X3{#BN2#
z4XW`zfnh2J$5>i|7vp#1Yz*Ul=<$?F|N4L-R(nFtS99|_M}cGt1Na@@-j41p#d*Zw
zrbyWDJjrbEdl^1r90m{c)oB<&%td%Svd!WhG

[PATCH 8/8] wmfortune: Use short unsigned int for dockapp dimensions.

2017-02-24 Thread Doug Torrance
Avoids incompatible pointer type warnings.
---
 wmfortune/wmfortune.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/wmfortune/wmfortune.c b/wmfortune/wmfortune.c
index a32c380..80e0711 100644
--- a/wmfortune/wmfortune.c
+++ b/wmfortune/wmfortune.c
@@ -25,6 +25,7 @@
 
 #include 
 #include 
+#include 
 #include 
 #include "XPM/panel.xpm"
 #include "XPM/panel_button_pressed.xpm"
@@ -145,7 +146,7 @@ main(int argc, char **argv)
 {
Pixmap panel_window_pixmap;
 
-   int w = 64, h = 64;
+   short unsigned int w = 64, h = 64;
 
DACallbacks callbacks = {NULL,buttonPressCallback
,buttonReleaseCallback,NULL,NULL,NULL,NULL};
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 7/8] wmdots: Fix typo in Makefile - use correct name for binary.

2017-02-24 Thread Doug Torrance
---
 wmdots/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wmdots/Makefile b/wmdots/Makefile
index 8a1c0f4..077aba2 100755
--- a/wmdots/Makefile
+++ b/wmdots/Makefile
@@ -5,7 +5,7 @@ OBJS =  wmdots.o
 .c.o:
cc -c -g -O2 -Wall $< -o $*.o
 
-wmifs: $(OBJS)
+wmdots: $(OBJS)
cc -o wmdots $^ -lXext $(LIBDIR) $(LIBS)
 
 all:: wmdots
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH] Use wprefs_bindir output variable to set WPrefs path in menus.

2017-01-19 Thread Doug Torrance
The path to WPrefs has been hardcoded in many of the menu files to
/usr/local/GNUstep/Applications/WPrefs.app/WPrefs, which would only actually
work if the user ran something like:
 ./configure --with-gnustepdir=/usr/local/GNUstep
during build.

Instead, we add a .in extension to all menu files with this issue and use sed
to use the actual WPrefs path (given by the wprefs_bindir output variable) and
generate a new menu file.

A very similar idea is already used to generate the WMState file, which sets
WPrefs as the command for the Window Maker logo tile in the dock.

This patch fixes Debian bug #851737:
https://bugs.debian.org/851737
---
 .gitignore| 22 
 WindowMaker/Makefile.am   | 72 ---
 WindowMaker/{menu.bg => menu.bg.in}   |  2 +-
 WindowMaker/{menu.fi => menu.fi.in}   |  2 +-
 WindowMaker/{menu.fy => menu.fy.in}   |  2 +-
 WindowMaker/{menu.hu => menu.hu.in}   |  2 +-
 WindowMaker/{menu => menu.in} |  2 +-
 WindowMaker/{menu.ko => menu.ko.in}   |  2 +-
 WindowMaker/{menu.nl => menu.nl.in}   |  2 +-
 WindowMaker/{menu.ro => menu.ro.in}   |  2 +-
 WindowMaker/{menu.sk => menu.sk.in}   |  2 +-
 WindowMaker/{menu.zh_TW => menu.zh_TW.in} |  2 +-
 WindowMaker/{plmenu.bg => plmenu.bg.in}   |  2 +-
 WindowMaker/{plmenu.es => plmenu.es.in}   |  2 +-
 WindowMaker/{plmenu.fi => plmenu.fi.in}   |  2 +-
 WindowMaker/{plmenu.fy => plmenu.fy.in}   |  2 +-
 WindowMaker/{plmenu => plmenu.in} |  2 +-
 WindowMaker/{plmenu.ja => plmenu.ja.in}   |  2 +-
 WindowMaker/{plmenu.ko => plmenu.ko.in}   |  2 +-
 WindowMaker/{plmenu.nl => plmenu.nl.in}   |  2 +-
 WindowMaker/{plmenu.ro => plmenu.ro.in}   |  2 +-
 WindowMaker/{plmenu.sk => plmenu.sk.in}   |  2 +-
 WindowMaker/{plmenu.zh_TW => plmenu.zh_TW.in} |  2 +-
 23 files changed, 87 insertions(+), 49 deletions(-)
 rename WindowMaker/{menu.bg => menu.bg.in} (99%)
 rename WindowMaker/{menu.fi => menu.fi.in} (99%)
 rename WindowMaker/{menu.fy => menu.fy.in} (99%)
 rename WindowMaker/{menu.hu => menu.hu.in} (99%)
 rename WindowMaker/{menu => menu.in} (99%)
 rename WindowMaker/{menu.ko => menu.ko.in} (99%)
 rename WindowMaker/{menu.nl => menu.nl.in} (99%)
 rename WindowMaker/{menu.ro => menu.ro.in} (99%)
 rename WindowMaker/{menu.sk => menu.sk.in} (99%)
 rename WindowMaker/{menu.zh_TW => menu.zh_TW.in} (98%)
 rename WindowMaker/{plmenu.bg => plmenu.bg.in} (98%)
 rename WindowMaker/{plmenu.es => plmenu.es.in} (98%)
 rename WindowMaker/{plmenu.fi => plmenu.fi.in} (99%)
 rename WindowMaker/{plmenu.fy => plmenu.fy.in} (98%)
 rename WindowMaker/{plmenu => plmenu.in} (98%)
 rename WindowMaker/{plmenu.ja => plmenu.ja.in} (98%)
 rename WindowMaker/{plmenu.ko => plmenu.ko.in} (98%)
 rename WindowMaker/{plmenu.nl => plmenu.nl.in} (98%)
 rename WindowMaker/{plmenu.ro => plmenu.ro.in} (98%)
 rename WindowMaker/{plmenu.sk => plmenu.sk.in} (98%)
 rename WindowMaker/{plmenu.zh_TW => plmenu.zh_TW.in} (98%)

diff --git a/.gitignore b/.gitignore
index e50a2b7..f69db73 100644
--- a/.gitignore
+++ b/.gitignore
@@ -87,6 +87,28 @@ WINGs/WUtil.pc
 
 wrlib/libwraster.map
 
+WindowMaker/menu
+WindowMaker/menu.bg
+WindowMaker/menu.fi
+WindowMaker/menu.fy
+WindowMaker/menu.hu
+WindowMaker/menu.ko
+WindowMaker/menu.nl
+WindowMaker/menu.ro
+WindowMaker/menu.sk
+WindowMaker/menu.zh_TW
+WindowMaker/plmenu
+WindowMaker/plmenu.bg
+WindowMaker/plmenu.es
+WindowMaker/plmenu.fi
+WindowMaker/plmenu.fy
+WindowMaker/plmenu.ja
+WindowMaker/plmenu.ko
+WindowMaker/plmenu.nl
+WindowMaker/plmenu.ro
+WindowMaker/plmenu.sk
+WindowMaker/plmenu.zh_TW
+
 WindowMaker/Defaults/WMRootMenu
 WindowMaker/Defaults/WMState
 WindowMaker/Defaults/WMWindowAttributes
diff --git a/WindowMaker/Makefile.am b/WindowMaker/Makefile.am
index 133c797..da4dc91 100644
--- a/WindowMaker/Makefile.am
+++ b/WindowMaker/Makefile.am
@@ -1,64 +1,80 @@
-SUBDIRS = Backgrounds Defaults IconSets Icons Pixmaps Styles Themes
+SUBDIRS = Backgrounds . Defaults IconSets Icons Pixmaps Styles Themes
 
 prefsdatadir = $(pkgdatadir)
 
-prefsdata_DATA =\
-   appearance.menu\
-   autostart.sh\
-   background.menu\
-   exitscript.sh\
+wpexecbindir = @wprefs_bindir@
+
+# menus which need generated to have correct path to WPrefs
+GENERATED_MENUS =\
menu\
menu.bg\
+   menu.fi\
+   menu.fy\
+   menu.hu\
+   menu.ko\
+   menu.nl\
+   menu.ro\
+   menu.sk\
+   menu.zh_TW\
+   plmenu\
+   plmenu.bg\
+   plmenu.es\
+   plmenu.fi\
+   plmenu.fy\
+   plmenu.ja\
+   plmenu.ko\
+   plmenu.nl\
+   plmenu.ro\
+   plmenu.sk\
+   plmenu.zh_TW
+
+# menus which do not mention WPrefs
+NONGENERATED_MENUS =\
menu.ca\
menu.cz\
menu.da\
menu.de\
menu.el\
menu.es\
-   menu.fi\
menu.fr\
-   menu.fy\

[PATCH 6/7] wmappkill: Use pkg-config for glib build flags.

2017-02-27 Thread Doug Torrance
---
 wmappkill/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/wmappkill/Makefile b/wmappkill/Makefile
index 8b18e03..12a2bf0 100644
--- a/wmappkill/Makefile
+++ b/wmappkill/Makefile
@@ -1,5 +1,6 @@
-GTOP_LIBS = -lgtop -lgtop_sysdeps -lgtop_common -lXau
-GCCOPTS = -O2 -Wall -g
+GTOP_LIBS = -lgtop-2.0 `pkg-config glib-2.0 --libs`
+GCCOPTS = -O2 -Wall -g -I/usr/include/libgtop-2.0 \
+   `pkg-config glib-2.0 --cflags`
 CFLAGS=  -Wall
 LDLIBS = -lX11 -lXpm -lXext
 LDFLAGS= -L/usr/X/lib -L/usr/X11R6/lib -L/usr/X11/lib -L/usr/local/lib/X11
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 7/7] wmappkill: Use g_free from glib instead of glibtop_free.

2017-02-27 Thread Doug Torrance
gliptop_free no longer exists.
---
 wmappkill/wmAppKill.c | 11 +--
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/wmappkill/wmAppKill.c b/wmappkill/wmAppKill.c
index f38a89b..2a5e219 100644
--- a/wmappkill/wmAppKill.c
+++ b/wmappkill/wmAppKill.c
@@ -38,7 +38,6 @@
 #include 
 #include 
 #include 
-#include 
 
 #include 
 #include 
@@ -123,11 +122,11 @@ int CheckProc(pid_t pid)
unsigned int *n;
 
if ((n = glibtop_get_proclist (, GLIBTOP_KERN_PROC_PID , (int64_t)pid)) 
== NULL) {
-  glibtop_free(n);
+  g_free(n);
   return -1;
}
 
-   glibtop_free(n);
+   g_free(n);
return 0;
 }
 
@@ -175,7 +174,7 @@ _desc *GetProcList(void)   /* create a 
double linked list */
 
lastOne -> next = NULL;
lastProcPid = n[nbPr - 1];
-   glibtop_free(n);
+   g_free(n);
 
if (procBaseName && i) gNbProc = nbPr - i + 1;   /* procBase has been found 
*/
else { /* procBaseName is null or hasn't been 
found */
@@ -273,7 +272,7 @@ int CheckProcChange(void)
 
if (diffNbProc == 0 && (n[nbPr - 1] == lastProcPid)){  /* only changes 
before baseproc */
   gNbProcTotal = nbPr;
-  glibtop_free(n);
+  g_free(n);
   return 0;
}
 
@@ -287,7 +286,7 @@ int CheckProcChange(void)
CheckProcToAdd(nbPr - diffNbProc - 1, n, nbPr);
}
 
-   glibtop_free(n);
+   g_free(n);
return 1;
 }
 
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 5/6] cnslock: Add desktop entry file.

2017-02-27 Thread Doug Torrance
---
 cnslock/Makefile.am | 3 +++
 cnslock/cnslock.desktop | 8 
 2 files changed, 11 insertions(+)
 create mode 100644 cnslock/cnslock.desktop

diff --git a/cnslock/Makefile.am b/cnslock/Makefile.am
index 1103536..7139189 100644
--- a/cnslock/Makefile.am
+++ b/cnslock/Makefile.am
@@ -5,3 +5,6 @@ EXTRA_DIST = CHANGES
 
 AM_CFLAGS = $(x11_CFLAGS) $(dockapp_CFLAGS)
 LIBS += $(x11_LIBS) $(dockapp_LIBS)
+
+desktopdir = @datadir@/applications
+dist_desktop_DATA = cnslock.desktop
diff --git a/cnslock/cnslock.desktop b/cnslock/cnslock.desktop
new file mode 100644
index 000..640c890
--- /dev/null
+++ b/cnslock/cnslock.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=cnslock
+Comment=Displays the current state of the caps/num/scroll lock keys
+Exec=cnslock
+Categories=System;Monitor
+Keywords=keyboard;caps lock;num lock;scroll lock;dockapp;window maker
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 4/6] cnslock: Add manpage.

2017-02-27 Thread Doug Torrance
---
 cnslock/Makefile.am  |  1 +
 cnslock/cnslock.1.in | 21 +
 cnslock/configure.ac |  2 +-
 3 files changed, 23 insertions(+), 1 deletion(-)
 create mode 100644 cnslock/cnslock.1.in

diff --git a/cnslock/Makefile.am b/cnslock/Makefile.am
index 6404d2c..1103536 100644
--- a/cnslock/Makefile.am
+++ b/cnslock/Makefile.am
@@ -1,5 +1,6 @@
 bin_PROGRAMS = cnslock
 cnslock_SOURCES = cnslock.c kleds.c graphics/caps_num_scroll.xpm 
include/kleds.h
+dist_man_MANS = cnslock.1
 EXTRA_DIST = CHANGES
 
 AM_CFLAGS = $(x11_CFLAGS) $(dockapp_CFLAGS)
diff --git a/cnslock/cnslock.1.in b/cnslock/cnslock.1.in
new file mode 100644
index 000..e707d6d
--- /dev/null
+++ b/cnslock/cnslock.1.in
@@ -0,0 +1,21 @@
+.TH CNSLOCK "1" "February 2017" @VERSION@
+.SH NAME
+cnslock \- Window Maker dockapp that displays the various states ofthe CAPS,
+NUM and SCROLL LOCK keys.
+.SH SYNOPSIS
+.B cnslock
+[\fI\,OPTIONS\/\fR]
+.SH OPTIONS
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+show this help text and exit
+.TP
+\fB\-v\fR, \fB\-\-version\fR
+show program version and exit
+.TP
+\fB\-w\fR, \fB\-\-windowed\fR
+run the application in windowed mode
+.SH AUTHOR
+cnslock was written by Simon Hunter.  Now maintained by the Window Maker Team
+.
+
diff --git a/cnslock/configure.ac b/cnslock/configure.ac
index 7181c57..27c9468 100644
--- a/cnslock/configure.ac
+++ b/cnslock/configure.ac
@@ -4,5 +4,5 @@ AC_CONFIG_SRCDIR([configure.ac])
 AC_PROG_CC
 PKG_CHECK_MODULES([x11], [x11])
 PKG_CHECK_MODULES([dockapp], [dockapp])
-AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([Makefile cnslock.1])
 AC_OUTPUT
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 6/6] cnslock: Bump to version 1.03.

2017-02-27 Thread Doug Torrance
---
 cnslock/CHANGES  | 7 +++
 cnslock/cnslock.c| 3 ++-
 cnslock/configure.ac | 2 +-
 3 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/cnslock/CHANGES b/cnslock/CHANGES
index 4692af2..60acd5a 100644
--- a/cnslock/CHANGES
+++ b/cnslock/CHANGES
@@ -1,3 +1,10 @@
+cnslock 1.03 (27th February 2017)
+   * Complete rewrite using libdockapp.  No longer functioned as a dockapp
+ using modern GDK 2.0.
+   * Switch to autotools.
+   * Add manpage.
+   * Add desktop entry file.
+
 cnslock 1.02 (27th October 2002)
 
* Added feature to allow applet to be run in window managers such as
diff --git a/cnslock/cnslock.c b/cnslock/cnslock.c
index 6c2b951..75a7915 100644
--- a/cnslock/cnslock.c
+++ b/cnslock/cnslock.c
@@ -1,5 +1,6 @@
-/* csnlock v1.02
+/* cnslock
  * Copyright (C) 2002 Simon Hunter (li...@sprig.dyn.dhs.org)
+ * Copyright (C) 2017 Window Maker Team (wmaker-dev@lists.windowmaker.org)
  *
  * cnslock is a dock application that displays the current state of the
  * three lock keys (caps, num, and scroll)
diff --git a/cnslock/configure.ac b/cnslock/configure.ac
index 27c9468..99db453 100644
--- a/cnslock/configure.ac
+++ b/cnslock/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([cnslock], [1.02], [wmaker-dev@lists.windowmaker.org])
+AC_INIT([cnslock], [1.03], [wmaker-dev@lists.windowmaker.org])
 AM_INIT_AUTOMAKE([foreign])
 AC_CONFIG_SRCDIR([configure.ac])
 AC_PROG_CC
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 1/6] cnslock: Complete rewrite using libdockapp.

2017-02-27 Thread Doug Torrance
No longer functioned as a dockapp using modern GDK 2.0, which is what cnslock
previously used.
---
 cnslock/Makefile  |  13 +-
 cnslock/applet.c  |  83 -
 cnslock/cnslock.c | 286 +
 cnslock/graphics/caps.h   | 488 --
 cnslock/graphics/caps_num.h   | 488 --
 cnslock/graphics/caps_num_scroll.h| 488 --
 cnslock/graphics/caps_num_scroll.xpm  | 221 ++
 cnslock/graphics/caps_scroll.h| 488 --
 cnslock/graphics/master.xpm   |  71 -
 cnslock/graphics/none.h   | 488 --
 cnslock/graphics/num.h| 488 --
 cnslock/graphics/num_scroll.h | 488 --
 cnslock/graphics/pngs/caps.png| Bin 898 -> 0 bytes
 cnslock/graphics/pngs/caps_num.png| Bin 1081 -> 0 bytes
 cnslock/graphics/pngs/caps_num_scroll.png | Bin 1138 -> 0 bytes
 cnslock/graphics/pngs/caps_scroll.png | Bin 955 -> 0 bytes
 cnslock/graphics/pngs/none.png| Bin 142 -> 0 bytes
 cnslock/graphics/pngs/num.png | Bin 827 -> 0 bytes
 cnslock/graphics/pngs/num_scroll.png  | Bin 889 -> 0 bytes
 cnslock/graphics/pngs/scroll.png  | Bin 696 -> 0 bytes
 cnslock/graphics/scroll.h | 488 --
 cnslock/include/applet.h  |   2 -
 cnslock/include/cnslock.h |  35 ---
 cnslock/include/defines.h |  20 --
 cnslock/include/kleds.h   |   3 +-
 cnslock/kleds.c   |  11 +-
 26 files changed, 300 insertions(+), 4349 deletions(-)
 delete mode 100644 cnslock/applet.c
 delete mode 100644 cnslock/graphics/caps.h
 delete mode 100644 cnslock/graphics/caps_num.h
 delete mode 100644 cnslock/graphics/caps_num_scroll.h
 create mode 100644 cnslock/graphics/caps_num_scroll.xpm
 delete mode 100644 cnslock/graphics/caps_scroll.h
 delete mode 100644 cnslock/graphics/master.xpm
 delete mode 100644 cnslock/graphics/none.h
 delete mode 100644 cnslock/graphics/num.h
 delete mode 100644 cnslock/graphics/num_scroll.h
 delete mode 100644 cnslock/graphics/pngs/caps.png
 delete mode 100644 cnslock/graphics/pngs/caps_num.png
 delete mode 100644 cnslock/graphics/pngs/caps_num_scroll.png
 delete mode 100644 cnslock/graphics/pngs/caps_scroll.png
 delete mode 100644 cnslock/graphics/pngs/none.png
 delete mode 100644 cnslock/graphics/pngs/num.png
 delete mode 100644 cnslock/graphics/pngs/num_scroll.png
 delete mode 100644 cnslock/graphics/pngs/scroll.png
 delete mode 100644 cnslock/graphics/scroll.h
 delete mode 100644 cnslock/include/applet.h
 delete mode 100644 cnslock/include/cnslock.h
 delete mode 100644 cnslock/include/defines.h

diff --git a/cnslock/Makefile b/cnslock/Makefile
index 96bc22b..5827d5f 100644
--- a/cnslock/Makefile
+++ b/cnslock/Makefile
@@ -2,21 +2,18 @@ INSTALL = /usr/bin/install -m 755
 PREFIX = /usr/local
 
 VERSION = 1.02
-CFLAGS = -O3 -Wall `gtk-config --cflags` -DVERSION=$(VERSION) ${EXTRA}
+CFLAGS = -O3 -Wall -DVERSION=\"$(VERSION)\" ${EXTRA}
 CC = gcc
-OBJS = cnslock.o kleds.o applet.o
+OBJS = cnslock.o kleds.o
 
-LIBS = `gtk-config --libs | sed "s/-lgtk//g"`
+LIBS = -lX11 -ldockapp
 
 all: cnslock
 
-cnslock.o: cnslock.c include/cnslock.h include/defines.h
+cnslock.o: cnslock.c
$(CC) $(CFLAGS) -c cnslock.c -o cnslock.o
 
-applet.o: applet.c include/applet.h include/defines.h
-   gcc $(CFLAGS) -c applet.c -o applet.o
-
-kleds.o: kleds.c include/kleds.h include/defines.h
+kleds.o: kleds.c include/kleds.h
$(CC) -Wall -I/usr/X11R6/include -c kleds.c -o kleds.o
 
 cnslock: $(OBJS)
diff --git a/cnslock/applet.c b/cnslock/applet.c
deleted file mode 100644
index cec8c27..000
--- a/cnslock/applet.c
+++ /dev/null
@@ -1,83 +0,0 @@
-#include 
-
-#include "include/defines.h"
-#include "include/cnslock.h"
-#include "include/applet.h"
-
-#include "graphics/master.xpm"
-
-/* This function makes the dockapp window */
-void make_new_cnslock_dockapp(int manager_style)
-{
-#define MASK GDK_BUTTON_PRESS_MASK | GDK_ENTER_NOTIFY_MASK | 
GDK_LEAVE_NOTIFY_MASK
-
-GdkWindowAttr attr;
-GdkWindowAttr attri;
-
-Window win;
-Window iconwin;
-XWMHints wmhints;
-XSizeHints sizehints;
-
-memset(, 0, sizeof(GdkWindowAttr));
-
-attr.width = WINDOWSIZE_X;
-attr.height = WINDOWSIZE_Y;
-attr.x = 100;
-attr.y = 100;
-attr.title = "cnslockapplet";
-attr.event_mask = MASK;
-attr.wclass = GDK_INPUT_OUTPUT;
-attr.visual = gdk_visual_get_system();
-attr.colormap = gdk_colormap_get_system();
-attr.wmclass_name = "cnslockapplet";
-attr.wmclass_class = "cnslockapplet";
-attr.window_type = GDK_WINDOW_TOPLEVEL;
-
-/* make a copy for the iconwin - 

[PATCH 0/6] cnslock

2017-02-27 Thread Doug Torrance
cnslock used old-school GDK, but no longer functioned as a dockapp (e.g.,
only created a small window but could not be docked, printed out strange
"Toplevel windows must be created as children of of a window of type
GDK_WINDOW_ROOT or GDK_WINDOW_FOREIGN" warnings).

I've rewritten it using libdockapp, and now it functions as expected.

Carlos, could you tag the final commit cnslock-1.03?

Thanks!

Doug Torrance (6):
  cnslock: Complete rewrite using libdockapp.
  cnslock: Switch to autotools.
  cnslock: Update documentation.
  cnslock: Add manpage.
  cnslock: Add desktop entry file.
  cnslock: Bump to version 1.03.

 cnslock/CHANGES   |   7 +
 cnslock/INSTALL   |   5 +-
 cnslock/Makefile  |  29 --
 cnslock/Makefile.am   |  10 +
 cnslock/README|  12 +-
 cnslock/applet.c  |  83 -
 cnslock/cnslock.1.in  |  21 ++
 cnslock/cnslock.c | 289 +-
 cnslock/cnslock.desktop   |   8 +
 cnslock/configure.ac  |   8 +
 cnslock/graphics/caps.h   | 488 --
 cnslock/graphics/caps_num.h   | 488 --
 cnslock/graphics/caps_num_scroll.h| 488 --
 cnslock/graphics/caps_num_scroll.xpm  | 221 ++
 cnslock/graphics/caps_scroll.h| 488 --
 cnslock/graphics/master.xpm   |  71 -
 cnslock/graphics/none.h   | 488 --
 cnslock/graphics/num.h| 488 --
 cnslock/graphics/num_scroll.h | 488 --
 cnslock/graphics/pngs/caps.png| Bin 898 -> 0 bytes
 cnslock/graphics/pngs/caps_num.png| Bin 1081 -> 0 bytes
 cnslock/graphics/pngs/caps_num_scroll.png | Bin 1138 -> 0 bytes
 cnslock/graphics/pngs/caps_scroll.png | Bin 955 -> 0 bytes
 cnslock/graphics/pngs/none.png| Bin 142 -> 0 bytes
 cnslock/graphics/pngs/num.png | Bin 827 -> 0 bytes
 cnslock/graphics/pngs/num_scroll.png  | Bin 889 -> 0 bytes
 cnslock/graphics/pngs/scroll.png  | Bin 696 -> 0 bytes
 cnslock/graphics/scroll.h | 488 --
 cnslock/include/applet.h  |   2 -
 cnslock/include/cnslock.h |  35 ---
 cnslock/include/defines.h |  20 --
 cnslock/include/kleds.h   |   3 +-
 cnslock/kleds.c   |  11 +-
 33 files changed, 356 insertions(+), 4383 deletions(-)
 delete mode 100644 cnslock/Makefile
 create mode 100644 cnslock/Makefile.am
 delete mode 100644 cnslock/applet.c
 create mode 100644 cnslock/cnslock.1.in
 create mode 100644 cnslock/cnslock.desktop
 create mode 100644 cnslock/configure.ac
 delete mode 100644 cnslock/graphics/caps.h
 delete mode 100644 cnslock/graphics/caps_num.h
 delete mode 100644 cnslock/graphics/caps_num_scroll.h
 create mode 100644 cnslock/graphics/caps_num_scroll.xpm
 delete mode 100644 cnslock/graphics/caps_scroll.h
 delete mode 100644 cnslock/graphics/master.xpm
 delete mode 100644 cnslock/graphics/none.h
 delete mode 100644 cnslock/graphics/num.h
 delete mode 100644 cnslock/graphics/num_scroll.h
 delete mode 100644 cnslock/graphics/pngs/caps.png
 delete mode 100644 cnslock/graphics/pngs/caps_num.png
 delete mode 100644 cnslock/graphics/pngs/caps_num_scroll.png
 delete mode 100644 cnslock/graphics/pngs/caps_scroll.png
 delete mode 100644 cnslock/graphics/pngs/none.png
 delete mode 100644 cnslock/graphics/pngs/num.png
 delete mode 100644 cnslock/graphics/pngs/num_scroll.png
 delete mode 100644 cnslock/graphics/pngs/scroll.png
 delete mode 100644 cnslock/graphics/scroll.h
 delete mode 100644 cnslock/include/applet.h
 delete mode 100644 cnslock/include/cnslock.h
 delete mode 100644 cnslock/include/defines.h

-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 2/6] cnslock: Switch to autotools.

2017-02-27 Thread Doug Torrance
---
 cnslock/Makefile | 26 --
 cnslock/Makefile.am  |  6 ++
 cnslock/configure.ac |  8 
 3 files changed, 14 insertions(+), 26 deletions(-)
 delete mode 100644 cnslock/Makefile
 create mode 100644 cnslock/Makefile.am
 create mode 100644 cnslock/configure.ac

diff --git a/cnslock/Makefile b/cnslock/Makefile
deleted file mode 100644
index 5827d5f..000
--- a/cnslock/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-INSTALL = /usr/bin/install -m 755
-PREFIX = /usr/local
-
-VERSION = 1.02
-CFLAGS = -O3 -Wall -DVERSION=\"$(VERSION)\" ${EXTRA}
-CC = gcc
-OBJS = cnslock.o kleds.o
-
-LIBS = -lX11 -ldockapp
-
-all: cnslock
-
-cnslock.o: cnslock.c
-   $(CC) $(CFLAGS) -c cnslock.c -o cnslock.o
-
-kleds.o: kleds.c include/kleds.h
-   $(CC) -Wall -I/usr/X11R6/include -c kleds.c -o kleds.o
-
-cnslock: $(OBJS)
-   $(CC) -o cnslock $(OBJS) $(LIBS)
-
-clean:
-   rm -rf cnslock *.o *~ .xvpics
-
-install : cnslock
-   $(INSTALL) cnslock $(PREFIX)/bin
diff --git a/cnslock/Makefile.am b/cnslock/Makefile.am
new file mode 100644
index 000..6404d2c
--- /dev/null
+++ b/cnslock/Makefile.am
@@ -0,0 +1,6 @@
+bin_PROGRAMS = cnslock
+cnslock_SOURCES = cnslock.c kleds.c graphics/caps_num_scroll.xpm 
include/kleds.h
+EXTRA_DIST = CHANGES
+
+AM_CFLAGS = $(x11_CFLAGS) $(dockapp_CFLAGS)
+LIBS += $(x11_LIBS) $(dockapp_LIBS)
diff --git a/cnslock/configure.ac b/cnslock/configure.ac
new file mode 100644
index 000..7181c57
--- /dev/null
+++ b/cnslock/configure.ac
@@ -0,0 +1,8 @@
+AC_INIT([cnslock], [1.02], [wmaker-dev@lists.windowmaker.org])
+AM_INIT_AUTOMAKE([foreign])
+AC_CONFIG_SRCDIR([configure.ac])
+AC_PROG_CC
+PKG_CHECK_MODULES([x11], [x11])
+PKG_CHECK_MODULES([dockapp], [dockapp])
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 3/6] cnslock: Update documentation.

2017-02-27 Thread Doug Torrance
---
 cnslock/INSTALL |  5 +++--
 cnslock/README  | 12 ++--
 2 files changed, 5 insertions(+), 12 deletions(-)

diff --git a/cnslock/INSTALL b/cnslock/INSTALL
index a7c4910..5d2f8e6 100644
--- a/cnslock/INSTALL
+++ b/cnslock/INSTALL
@@ -1,7 +1,7 @@
 Requirements
 --
-   - gtk+ ( >= 2.1.x )
-   - Xlib, Xpm, gdk-pixbuf
+   - libdockapp
+   - Xlib
- root access for install
 
 Installation
@@ -10,6 +10,7 @@ Installation
$ tar zxvf cnslock-x.x.x.tar.gz
 
 2) Compilation
+   './configure'
'make'
become root (via 'su')
'make install'
diff --git a/cnslock/README b/cnslock/README
index ed5e083..552079d 100644
--- a/cnslock/README
+++ b/cnslock/README
@@ -11,8 +11,8 @@ as I have a wireless keyboard with no leds on it.
 Bugs
 
 If you discover any bug in this software, please send a
-bugreport to li...@sprig.dyn.dhs.org and describe the
-problem with as many details as possible.
+bugreport to wmaker-dev@lists.windowmaker.org and describe
+the problem with as many details as possible.
 
 Copyright
 -
@@ -27,11 +27,3 @@ Usage
 
 Simply launch:
cnslock
-
-If you have problems running it under a different window
-manager, such as fvwm or enlightenment, there is a command
-line argument that may help:
-   cnslock -w
-
-
-
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 5/7] wmail: Specify libdockapper header file directory.

2017-02-27 Thread Doug Torrance
---
 wmail/src/wmail.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wmail/src/wmail.c b/wmail/src/wmail.c
index bd2752a..28d3d41 100644
--- a/wmail/src/wmail.c
+++ b/wmail/src/wmail.c
@@ -45,7 +45,7 @@
 #include 
 #include 
 #include 
-#include 
+#include 
 #include "common.h"
 #include "config.h"
 
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 2/7] washerdryer: Use wmgeneral from libdockapp.

2017-02-27 Thread Doug Torrance
---
 washerdryer/washerDryer/Makefile  |   7 +-
 washerdryer/washerDryer/washerDryer.c |   4 +-
 washerdryer/wmgeneral/list.c  | 165 -
 washerdryer/wmgeneral/list.h  |  61 -
 washerdryer/wmgeneral/misc.c  | 229 --
 washerdryer/wmgeneral/misc.h  |   9 -
 washerdryer/wmgeneral/wmgeneral.c | 444 --
 washerdryer/wmgeneral/wmgeneral.h |  62 -
 8 files changed, 4 insertions(+), 977 deletions(-)
 delete mode 100644 washerdryer/wmgeneral/list.c
 delete mode 100644 washerdryer/wmgeneral/list.h
 delete mode 100644 washerdryer/wmgeneral/misc.c
 delete mode 100644 washerdryer/wmgeneral/misc.h
 delete mode 100644 washerdryer/wmgeneral/wmgeneral.c
 delete mode 100644 washerdryer/wmgeneral/wmgeneral.h

diff --git a/washerdryer/washerDryer/Makefile b/washerdryer/washerDryer/Makefile
index 7a56308..3bf32a7 100644
--- a/washerdryer/washerDryer/Makefile
+++ b/washerdryer/washerDryer/Makefile
@@ -1,10 +1,7 @@
 LIBDIR = -L/usr/X11R6/lib -L/usr/lib -L/opt/gnome/lib
-LIBS   = -lXpm -lXext -lX11 `pkg-config gtk+-2.0 --libs`
+LIBS   = -lXpm -lXext -lX11 `pkg-config gtk+-2.0 --libs` -ldockapp
 CFLAGS = `pkg-config gtk+-2.0 --cflags`
-OBJS = washerDryer.o \
-   ../wmgeneral/wmgeneral.o \
-   ../wmgeneral/misc.o \
-   ../wmgeneral/list.o
+OBJS = washerDryer.o
 
 .c.o:
cc -c -O2 -Wall $< -o $*.o $(CFLAGS)
diff --git a/washerdryer/washerDryer/washerDryer.c 
b/washerdryer/washerDryer/washerDryer.c
index 607b007..de4160d 100644
--- a/washerdryer/washerDryer/washerDryer.c
+++ b/washerdryer/washerDryer/washerDryer.c
@@ -6,8 +6,8 @@
 #include 
 #include 
 
-#include "../wmgeneral/wmgeneral.h"
-#include "../wmgeneral/misc.h"
+#include 
+#include 
 #include "wdryer.xpm"
 
 #define CHAR_WIDTH 5
diff --git a/washerdryer/wmgeneral/list.c b/washerdryer/wmgeneral/list.c
deleted file mode 100644
index ba1434a..000
--- a/washerdryer/wmgeneral/list.c
+++ /dev/null
@@ -1,165 +0,0 @@
-/* Generic single linked list to keep various information
-   Copyright (C) 1993, 1994 Free Software Foundation, Inc.
-
-
-   Author: Kresten Krab Thorup
-
-   Many modifications by Alfredo K. Kojima
-
-
-   This file is part of GNU CC.
-
-   GNU CC is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2, or (at your option)
-   any later version.
-
-   GNU CC is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-
-   You should have received a copy of the GNU General Public License
-   along with GNU CC; see the file COPYING.  If not, write to
-   the Free Software Foundation, 59 Temple Place - Suite 330,
-   Boston, MA 02111-1307, USA.  */
-
-/* As a special exception, if you link this library with files compiled with
-   GCC to produce an executable, this does not cause the resulting executable
-   to be covered by the GNU General Public License. This exception does not
-   however invalidate any other reasons why the executable file might be
-   covered by the GNU General Public License.  */
-
-#include "list.h"
-#ifdef HAVE_SYS_TYPES_H
-#include 
-#endif
-#include 
-
-/* Return a cons cell produced from (head . tail) */
-
-INLINE LinkedList * list_cons (void *head, LinkedList * tail)
-{
-  LinkedList *cell;
-
-  cell = (LinkedList *) malloc (sizeof (LinkedList));
-  cell->head = head;
-  cell->tail = tail;
-  return cell;
-}
-
-/* Return the length of a list, list_length(NULL) returns zero */
-
-INLINE int list_length (LinkedList * list)
-{
-  int i = 0;
-  while (list)
-{
-  i += 1;
-  list = list->tail;
-}
-  return i;
-}
-
-/* Return the Nth element of LIST, where N count from zero.  If N
-   larger than the list length, NULL is returned  */
-
-INLINE void * list_nth (int index, LinkedList * list)
-{
-  while (index-- != 0)
-{
-  if (list->tail)
-   list = list->tail;
-  else
-   return 0;
-}
-  return list->head;
-}
-
-/* Remove the element at the head by replacing it by its successor */
-
-INLINE void list_remove_head (LinkedList ** list)
-{
-  if (!*list)
-return;
-  if ((*list)->tail)
-{
-  LinkedList *tail = (*list)->tail;/* fetch next */
-  *(*list) = *tail;/* copy next to list head */
-  free (tail); /* free next */
-}
-  else
-/* only one element in list */
-{
-  free (*list);
-  (*list) = 0;
-}
-}
-
-
-/* Remove the element with `car' set to ELEMENT */
-/*
-   INLINE void
-   list_remove_elem(LinkedList** list, void* elem)
-   {
-   while (*list)
-   {
-   if ((*list)->head == elem)
-   list_remove_head(list);
-   *list = (*list ? (*list)->tail : NULL);
-   }
-   } */
-

[PATCH 4/7] wmail: Link shared lbraries in correct order.

2017-02-27 Thread Doug Torrance
---
 wmail/src/Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wmail/src/Makefile.in b/wmail/src/Makefile.in
index 1901884..2e0280e 100644
--- a/wmail/src/Makefile.in
+++ b/wmail/src/Makefile.in
@@ -10,7 +10,7 @@ CFLAGS  = @CFLAGS@ @XCFLAGS@
 default all target: wmail
 
 wmail: wmail.o common.o config.o
-   $(CC) $(CFLAGS) $(LIBS) -o $@ $^
+   $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
 
 wmail.o: wmail.c common.h config.h xpm/main.xpm xpm/symbols.xpm 
xpm/numbers.xpm xpm/button.xpm xpm/chars.xpm
$(CC) $(CFLAGS) -o $@ -c $<
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 1/7] washerdryer: Use pkg-config for GTK build flags.

2017-02-27 Thread Doug Torrance
---
 washerdryer/washerDryer/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/washerdryer/washerDryer/Makefile b/washerdryer/washerDryer/Makefile
index 49205ce..7a56308 100644
--- a/washerdryer/washerDryer/Makefile
+++ b/washerdryer/washerDryer/Makefile
@@ -1,6 +1,6 @@
 LIBDIR = -L/usr/X11R6/lib -L/usr/lib -L/opt/gnome/lib
-LIBS   = -lXpm -lXext -lX11 -lm  -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl
-CFLAGS = -I/usr/X11R6/include -I/usr/lib/glib/include 
-I/opt/gnome/include/gtk-1.2 -I/opt/gnome/include/glib-1.2 
-I/opt/gnome/lib/glib/include
+LIBS   = -lXpm -lXext -lX11 `pkg-config gtk+-2.0 --libs`
+CFLAGS = `pkg-config gtk+-2.0 --cflags`
 OBJS = washerDryer.o \
../wmgeneral/wmgeneral.o \
../wmgeneral/misc.o \
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 1/3] wmswallow: Link against libX11.

2017-02-25 Thread Doug Torrance
---
 wmswallow/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wmswallow/Makefile b/wmswallow/Makefile
index b75aa24..84e2e62 100644
--- a/wmswallow/Makefile
+++ b/wmswallow/Makefile
@@ -5,7 +5,7 @@ RM=rm -f
 X=/usr/X11R6
 INCLUDES=-I$(X)/include
 LIBPATHS=-L${X}/lib
-LIBS=-lXext
+LIBS=-lXext -lX11
 PROG=wmswallow
 OBJS=wmswallow.o
 SH=/bin/sh
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


Re: [PATCH 2/3] wmxss: Add version 0.1 to repository.

2017-02-28 Thread Doug Torrance

On 02/28/2017 09:07 AM, Nerijus Baliunas wrote:

On Thu,  1 Dec 2016 20:38:39 -0500 Doug Torrance <dtorra...@piedmont.edu> wrote:


diff --git a/wmxss/Src/.nfs3822 b/wmxss/Src/.nfs3822
new file mode 100755
index 
..73eb00946be25add536d30049983ad6f8d98a88a
GIT binary patch
literal 183024
zcmeFa3y@vMc_wxTg!r-?LJ(z9kF|$5lqt*N)nEV)2C}>YFnEwd5C92)04O=+!OX>A
zfSEgknE~<0CgxVzk)1eIuu4`G$Gd?Z_BvILOWBRHsjMxqvfi>bW>ruOBQq*hg)+6W


This file was probably added by accident.


Thanks for noticing this!  I just sent a patch deleting this file.

My initial commit for all of these dockapps is generally just the result 
of "tar -xvzf wmfoo-0.1.tar.gz".  So these sorts of files creep into git 
on occasion.


Doug


--
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH] wmxss: Delete NFS "silly rename" file.

2017-02-28 Thread Doug Torrance
These are created by NFS clients to help delete files.  See:
http://nfs.sourceforge.net/#faq_d2

We don't need this in git.

Reported-by: Nerijus Baliunas 
---
 wmxss/Src/.nfs3822 | Bin 183024 -> 0 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)
 delete mode 100755 wmxss/Src/.nfs3822

diff --git a/wmxss/Src/.nfs3822 b/wmxss/Src/.nfs3822
deleted file mode 100755
index 
73eb00946be25add536d30049983ad6f8d98a88a..
GIT binary patch
literal 0
HcmV?d1

literal 183024
zcmeFa3y@vMc_wxTg!r-?LJ(z9kF|$5lqt*N)nEV)2C}>YFnEwd5C92)04O=+!OX>A
zfSEgknE~<0CgxVzk)1eIuu4`G$Gd?Z_BvILOWBRHsjMxqvfi>bW>ruOBQq*hg)+6W
zuxc9rsd|KERipZC23lDISn2XoKq)7^jn{rCU<{W$#XbA?4y_w%`G4zL
z>+n3(8hY0kaNpWm_b0cD-`3V}>m98Rx8B!!FWk3^-w^!u-_YVB=-!1riQJ(bY
zUG90kyK91$?7H8+-r^tQn-AUVJv^P7y6!%5<%-hf7Z$JJX#osCX{m1xw0Dt^
zbe_WB1pd1CJA%Ji{2j+1|2?TU`Q7B6AH)4|{2j*MLHF)`xc`)U-j4g2d*7;U`9XKzco3mlK&?`QFM
z0Dm3)@!t#j_BVn;Q8kwcX%99yaV_{@^Yy4J>KD_J;B@cl2^F#pY9(s_j+~T
z^;^8dQ*Fr5UEgwU+8Ttv>xa%Q7yQF0{?e9
zx25;v>i!+$=RZ>S?^^u3)cprWe}i)qk4#@}-TFVU@EgV7{lNd-IrrT;_j_{gpUAms
zfBiquy9bV;*81NSdAh`Y+{tGJZp!EGmh$rum}8LP*3kPujQbCr|3?x3gK&!{ZhyBm
zH2f0C-tGJkwATNlPe=Y8xK|?g66ik%_j*VFKWVN1XMaO~=YAI9U!$9ebN(Yp@1s%t
zZE$}javy9Bz2`aP@53(qr$C?HzvbL#kiN(dZu}d9e1Dha<>WQ=pCSG0a9aBRMQcd(
zpXCMpAG(6{o{hr)1H>17b@cvw_>0~-_djk8{lxbW?-Ov}j{83c{TCzp$v!c>^Cq
z{}<@(i0HozeqW8;e}VW?ep>!R|GKsQpWXxiUvch#4}Zr0Nw|Thb&#vD
z?>lh2{I1#`;--qze!M$GfV;%JOpI(LgKBd2I4DLu@*6oBl(uZ{q!yT31y5n$1
z@?19qca;Bi&^LbmQ@9}~@BSr(r@pxISob-^0{6?2`+oxef*rx<%Vgpa*+*%a65}_
z`J?+D@B{g-clf;J{?^dDzlU;tNz4D1t*xPZrV-xh<1IT|LmL<2f6@8xMS7HvrFR7U
z?2p{D@c%;OUW7eBdM2M+F2Vl~Bme{z%{Zf3`LBQ^?QI2AAG{3;!QP{$GathT(Sl
zbIbpL{E=VkKkWT2{{-P*jl%!0aQ`rJUxWL#$PIn}M_+~8^7DVdy*qOM8S=NmyN@64
ztV}G-&!^q#)>F$X>C#GT{?hX7<<9BZ?#gm{K9N^df`Ir_~Fy(Vh4dw

Re: Window Maker generates menus it cannot parse due to an ommtted ')'

2017-02-28 Thread Doug Torrance

On 02/28/2017 04:23 AM, Cyrus Rahman wrote:

In addition the menu generated to call WPrefs should specify a
complete path, as the file is located in a directory which would not
be expected to be contained in a user's PATH.


WPrefs isn't guaranteed to be in 
/usr/local/GNUstep/Applications/WPrefs.app either.  Its installation 
path is given by the autoconf variable wprefs_bindir.


I addressed a similar problem with the default menus in the commit below:
http://repo.or.cz/wmaker-crm.git/commitdiff/d48a37060c8ba29eb07e6301497068d2ed0dbddd

Doug


--
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 0/7] wmcpuload updates

2016-10-20 Thread Doug Torrance
Here are some updates to wmcpuload.

Carlos, could you tag the first commit wmcpuload-1.1.0pre5 and the last 
wmcpuload-1.1.1?

Thanks!

Doug Torrance (7):
  wmcpuload: Bump to version 1.1.0pre5.
  wmcpuload: Restore some previous commits (COPYING update, whitespace).
  wmcpuload: Update autotools files to silence warnings.
  wmcpuload: Remove CVS cruft.
  wmcpuload: Update url and contact information.
  wmcpuload: Fix Makefile.am for automake 1.14.
  wmcpuload: Bump to version 1.1.1.

 wmcpuload/AUTHORS  |   8 +-
 wmcpuload/ChangeLog|  66 +++-
 wmcpuload/INSTALL  |   9 +-
 wmcpuload/Makefile.am  |   1 -
 wmcpuload/README   |  20 ++--
 wmcpuload/TODO |   2 +-
 wmcpuload/configure.ac |  21 ++--
 wmcpuload/contrib/Makefile.am  |   1 -
 wmcpuload/doc/Makefile.am  |   1 -
 wmcpuload/doc/wmcpuload.1  |   5 +-
 wmcpuload/libdockapp/dockapp.c |  37 +--
 wmcpuload/libdockapp/dockapp.h |   3 +-
 wmcpuload/src/Makefile.am  |  15 +--
 wmcpuload/src/cpu.h|   4 +-
 wmcpuload/src/cpu_cygwin.c |   6 +-
 wmcpuload/src/cpu_darwin.c |  58 +++
 wmcpuload/src/cpu_freebsd.c|  29 +++---
 wmcpuload/src/cpu_irix.c   |  81 +++
 wmcpuload/src/cpu_linux.c  | 231 +
 wmcpuload/src/cpu_netbsd.c |  12 +--
 wmcpuload/src/cpu_openbsd.c|  17 ++-
 wmcpuload/src/main.c   | 181 ++--
 22 files changed, 484 insertions(+), 324 deletions(-)
 create mode 100644 wmcpuload/src/cpu_darwin.c
 create mode 100644 wmcpuload/src/cpu_irix.c

-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 2/7] wmcpuload: Restore some previous commits (COPYING update, whitespace).

2016-10-20 Thread Doug Torrance
---
 wmcpuload/COPYING  | 41 -
 wmcpuload/ChangeLog|  2 +-
 wmcpuload/doc/wmcpuload.1  |  2 +-
 wmcpuload/src/cpu_irix.c   |  6 +++---
 wmcpuload/src/cpu_netbsd.c |  2 +-
 5 files changed, 26 insertions(+), 27 deletions(-)

diff --git a/wmcpuload/COPYING b/wmcpuload/COPYING
index d60c31a..d159169 100644
--- a/wmcpuload/COPYING
+++ b/wmcpuload/COPYING
@@ -1,12 +1,12 @@
-   GNU GENERAL PUBLIC LICENSE
-  Version 2, June 1991
+GNU GENERAL PUBLIC LICENSE
+   Version 2, June 1991
 
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
- 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  Everyone is permitted to copy and distribute verbatim copies
  of this license document, but changing it is not allowed.
 
-   Preamble
+Preamble
 
   The licenses for most software are designed to take away your
 freedom to share and change it.  By contrast, the GNU General Public
@@ -15,7 +15,7 @@ software--to make sure the software is free for all its 
users.  This
 General Public License applies to most of the Free Software
 Foundation's software and to any other program whose authors commit to
 using it.  (Some other Free Software Foundation software is covered by
-the GNU Library General Public License instead.)  You can apply it to
+the GNU Lesser General Public License instead.)  You can apply it to
 your programs, too.
 
   When we speak of free software, we are referring to freedom, not
@@ -55,8 +55,8 @@ patent must be licensed for everyone's free use or not 
licensed at all.
 
   The precise terms and conditions for copying, distribution and
 modification follow.
-
-   GNU GENERAL PUBLIC LICENSE
+
+GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
 
   0. This License applies to any program or other work which contains
@@ -110,7 +110,7 @@ above, provided that you also meet all of these conditions:
 License.  (Exception: if the Program itself is interactive but
 does not normally print such an announcement, your work based on
 the Program is not required to print an announcement.)
-
+
 These requirements apply to the modified work as a whole.  If
 identifiable sections of that work are not derived from the Program,
 and can be reasonably considered independent and separate works in
@@ -168,7 +168,7 @@ access to copy from a designated place, then offering 
equivalent
 access to copy the source code from the same place counts as
 distribution of the source code, even though third parties are not
 compelled to copy the source along with the object code.
-
+
   4. You may not copy, modify, sublicense, or distribute the Program
 except as expressly provided under this License.  Any attempt
 otherwise to copy, modify, sublicense or distribute the Program is
@@ -225,7 +225,7 @@ impose that choice.
 
 This section is intended to make thoroughly clear what is believed to
 be a consequence of the rest of this License.
-
+
   8. If the distribution and/or use of the Program is restricted in
 certain countries either by patents or by copyrighted interfaces, the
 original copyright holder who places the Program under this License
@@ -255,7 +255,7 @@ make exceptions for this.  Our decision will be guided by 
the two goals
 of preserving the free status of all derivatives of our free software and
 of promoting the sharing and reuse of software generally.
 
-   NO WARRANTY
+NO WARRANTY
 
   11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
@@ -277,9 +277,9 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE 
WITH ANY OTHER
 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
 POSSIBILITY OF SUCH DAMAGES.
 
-END OF TERMS AND CONDITIONS
-
-   How to Apply These Terms to Your New Programs
+ END OF TERMS AND CONDITIONS
+
+How to Apply These Terms to Your New Programs
 
   If you develop a new program, and you want it to be of the greatest
 possible use to the public, the best way to achieve this is to make it
@@ -303,17 +303,16 @@ the "copyright" line and a pointer to where the full 
notice is found.
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-
+You should have received a copy of the GNU General Public 

[PATCH 1/7] wmcpuload: Bump to version 1.1.0pre5.

2016-10-20 Thread Doug Torrance
Obtained from http://distfiles.gentoo.org/distfiles/wmcpuload-1.1.0pre5.tar.gz
---
 wmcpuload/AUTHORS  |  10 +-
 wmcpuload/COPYING  |  41 
 wmcpuload/ChangeLog|  62 ++-
 wmcpuload/INSTALL  |   9 +-
 wmcpuload/Makefile.am  |   1 +
 wmcpuload/NEWS |   2 +
 wmcpuload/README   |  18 ++--
 wmcpuload/TODO |   4 +-
 wmcpuload/configure.ac |  21 ++--
 wmcpuload/contrib/Makefile.am  |   1 +
 wmcpuload/contrib/README   |   2 +
 wmcpuload/doc/Makefile.am  |   1 +
 wmcpuload/doc/wmcpuload.1  |   8 +-
 wmcpuload/icons/Makefile.am|   2 +
 wmcpuload/icons/README |   2 +
 wmcpuload/libdockapp/dockapp.c |  39 +--
 wmcpuload/libdockapp/dockapp.h |   5 +-
 wmcpuload/src/Makefile.am  |   6 +-
 wmcpuload/src/cpu.h|   6 +-
 wmcpuload/src/cpu_bsdi.c   |   2 +
 wmcpuload/src/cpu_cygwin.c |   8 +-
 wmcpuload/src/cpu_darwin.c |  60 +++
 wmcpuload/src/cpu_freebsd.c|  31 +++---
 wmcpuload/src/cpu_irix.c   |  83 +++
 wmcpuload/src/cpu_linux.c  | 233 +
 wmcpuload/src/cpu_netbsd.c |  16 +--
 wmcpuload/src/cpu_openbsd.c|  19 ++--
 wmcpuload/src/cpu_solaris.c|   2 +
 wmcpuload/src/main.c   | 183 ++--
 29 files changed, 542 insertions(+), 335 deletions(-)
 create mode 100644 wmcpuload/src/cpu_darwin.c
 create mode 100644 wmcpuload/src/cpu_irix.c

diff --git a/wmcpuload/AUTHORS b/wmcpuload/AUTHORS
index ab1676f..0f56ca6 100644
--- a/wmcpuload/AUTHORS
+++ b/wmcpuload/AUTHORS
@@ -1,10 +1,12 @@
+$Id: AUTHORS,v 1.1.1.1 2002-10-14 09:31:17 sch Exp $
+
 Main Author:
 Seiichi SATO 
 
 Solaris port:
 Jonathan Lang 
 
-Writting manpage:
+Man-page:
 Gordon Fraser 
 
 NetBSD port:
@@ -12,3 +14,9 @@ Thomas Runge 
 
 BSDi port:
 Nicolas Belan 
+
+IRIX port:
+Jonathan C. Patschke 
+
+Darwin port:
+Landon Fuller 
diff --git a/wmcpuload/COPYING b/wmcpuload/COPYING
index d159169..d60c31a 100644
--- a/wmcpuload/COPYING
+++ b/wmcpuload/COPYING
@@ -1,12 +1,12 @@
-GNU GENERAL PUBLIC LICENSE
-   Version 2, June 1991
+   GNU GENERAL PUBLIC LICENSE
+  Version 2, June 1991
 
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+ 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  Everyone is permitted to copy and distribute verbatim copies
  of this license document, but changing it is not allowed.
 
-Preamble
+   Preamble
 
   The licenses for most software are designed to take away your
 freedom to share and change it.  By contrast, the GNU General Public
@@ -15,7 +15,7 @@ software--to make sure the software is free for all its 
users.  This
 General Public License applies to most of the Free Software
 Foundation's software and to any other program whose authors commit to
 using it.  (Some other Free Software Foundation software is covered by
-the GNU Lesser General Public License instead.)  You can apply it to
+the GNU Library General Public License instead.)  You can apply it to
 your programs, too.
 
   When we speak of free software, we are referring to freedom, not
@@ -55,8 +55,8 @@ patent must be licensed for everyone's free use or not 
licensed at all.
 
   The precise terms and conditions for copying, distribution and
 modification follow.
-
-GNU GENERAL PUBLIC LICENSE
+
+   GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
 
   0. This License applies to any program or other work which contains
@@ -110,7 +110,7 @@ above, provided that you also meet all of these conditions:
 License.  (Exception: if the Program itself is interactive but
 does not normally print such an announcement, your work based on
 the Program is not required to print an announcement.)
-
+
 These requirements apply to the modified work as a whole.  If
 identifiable sections of that work are not derived from the Program,
 and can be reasonably considered independent and separate works in
@@ -168,7 +168,7 @@ access to copy from a designated place, then offering 
equivalent
 access to copy the source code from the same place counts as
 distribution of the source code, even though third parties are not
 compelled to copy the source along with the object code.
-
+
   4. You may not copy, modify, sublicense, or distribute the Program
 except as expressly provided under this License.  Any attempt
 otherwise to copy, modify, sublicense or distribute the Program is
@@ -225,7 +225,7 @@ impose that choice.
 
 This 

[PATCH 3/7] wmcpuload: Update autotools files to silence warnings.

2016-10-20 Thread Doug Torrance
---
 wmcpuload/configure.ac| 2 +-
 wmcpuload/src/Makefile.am | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/wmcpuload/configure.ac b/wmcpuload/configure.ac
index d891f1c..26cb4f7 100644
--- a/wmcpuload/configure.ac
+++ b/wmcpuload/configure.ac
@@ -8,7 +8,7 @@ dnl AM_INIT_AUTOMAKE(wmcpuload, 0.9.0)
 AC_INIT(wmcpuload, 1.1.0pre5, ss...@sh.rim.or.jp)
 AC_CANONICAL_HOST
 AC_CANONICAL_TARGET
-AM_INIT_AUTOMAKE($PACKAGE_NAME, $PACKAGE_VERSION)
+AM_INIT_AUTOMAKE
 
 AC_CONFIG_SRCDIR(src/main.c)
 AM_CONFIG_HEADER(config.h)
diff --git a/wmcpuload/src/Makefile.am b/wmcpuload/src/Makefile.am
index de7bce0..82854d8 100644
--- a/wmcpuload/src/Makefile.am
+++ b/wmcpuload/src/Makefile.am
@@ -23,11 +23,11 @@ EXTRA_wmcpuload_SOURCES = \
 
 wmcpuload_DEPENDENCIES = ../libdockapp/dockapp.o
 
-INCLUDES = \
+AM_CPPFLAGS = \
@HEADER_SEARCH_PATH@ \
@XCFLAGS@
 
-CFLAGS = @DFLAGS@ @CFLAGS@ -I../libdockapp/
+AM_CFLAGS = @DFLAGS@ @CFLAGS@ -I../libdockapp/
 
 wmcpuload_LDADD = \
dockapp.o \
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 5/7] wmcpuload: Update url and contact information.

2016-10-20 Thread Doug Torrance
---
 wmcpuload/README   | 4 ++--
 wmcpuload/configure.ac | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/wmcpuload/README b/wmcpuload/README
index 9c89be8..0f99ee1 100644
--- a/wmcpuload/README
+++ b/wmcpuload/README
@@ -126,10 +126,10 @@ A) kapm-idled executes HLT instructions to save power.
 
 Bug reports
 ===
-Please send e-mail to ss...@sh.rim.or.jp.
+Please send e-mail to wmaker-dev@lists.windowmaker.org.
 
 
 URL
 ===
-http://www.sh.rim.or.jp/~ssato/dockapp/#wmcpuload
+http://dockapps.net/wmcpuload
 
diff --git a/wmcpuload/configure.ac b/wmcpuload/configure.ac
index b055ba2..b20ed95 100644
--- a/wmcpuload/configure.ac
+++ b/wmcpuload/configure.ac
@@ -3,7 +3,7 @@ AC_PREREQ(2.52)
 
 dnl AC_INIT(src/main.c)
 dnl AM_INIT_AUTOMAKE(wmcpuload, 0.9.0)
-AC_INIT(wmcpuload, 1.1.0pre5, ss...@sh.rim.or.jp)
+AC_INIT(wmcpuload, 1.1.0pre5, wmaker-dev@lists.windowmaker.org)
 AC_CANONICAL_HOST
 AC_CANONICAL_TARGET
 AM_INIT_AUTOMAKE
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 7/7] wmcpuload: Bump to version 1.1.1.

2016-10-20 Thread Doug Torrance
---
 wmcpuload/ChangeLog| 8 
 wmcpuload/configure.ac | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/wmcpuload/ChangeLog b/wmcpuload/ChangeLog
index 37331ee..029e92c 100644
--- a/wmcpuload/ChangeLog
+++ b/wmcpuload/ChangeLog
@@ -1,3 +1,11 @@
+2016 Oct 20
+  * Bump to version 1.1.1.
+  * Fix Makefile.am for automake 1.14.
+  * Update url and contact information.
+  * Remove CVS cruft.
+  * Update autotools files to silence warnings.
+  * Restore some previous commits (COPYING update, whitespace).
+
 2006 Jan 28
   * cpu_linux.c:
   * main.c:
diff --git a/wmcpuload/configure.ac b/wmcpuload/configure.ac
index b20ed95..9d227a8 100644
--- a/wmcpuload/configure.ac
+++ b/wmcpuload/configure.ac
@@ -3,7 +3,7 @@ AC_PREREQ(2.52)
 
 dnl AC_INIT(src/main.c)
 dnl AM_INIT_AUTOMAKE(wmcpuload, 0.9.0)
-AC_INIT(wmcpuload, 1.1.0pre5, wmaker-dev@lists.windowmaker.org)
+AC_INIT(wmcpuload, 1.1.1, wmaker-dev@lists.windowmaker.org)
 AC_CANONICAL_HOST
 AC_CANONICAL_TARGET
 AM_INIT_AUTOMAKE
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 4/7] wmcpuload: Remove CVS cruft.

2016-10-20 Thread Doug Torrance
---
 wmcpuload/AUTHORS  | 2 --
 wmcpuload/ChangeLog| 2 --
 wmcpuload/INSTALL  | 2 --
 wmcpuload/Makefile.am  | 2 --
 wmcpuload/NEWS | 2 --
 wmcpuload/README   | 2 --
 wmcpuload/TODO | 2 --
 wmcpuload/configure.ac | 2 --
 wmcpuload/contrib/Makefile.am  | 2 --
 wmcpuload/contrib/README   | 2 --
 wmcpuload/doc/Makefile.am  | 2 --
 wmcpuload/doc/wmcpuload.1  | 1 -
 wmcpuload/icons/Makefile.am| 2 --
 wmcpuload/icons/README | 2 --
 wmcpuload/libdockapp/dockapp.c | 2 --
 wmcpuload/libdockapp/dockapp.h | 2 --
 wmcpuload/src/Makefile.am  | 2 --
 wmcpuload/src/cpu.h| 2 --
 wmcpuload/src/cpu_bsdi.c   | 2 --
 wmcpuload/src/cpu_cygwin.c | 2 --
 wmcpuload/src/cpu_darwin.c | 2 --
 wmcpuload/src/cpu_freebsd.c| 2 --
 wmcpuload/src/cpu_irix.c   | 2 --
 wmcpuload/src/cpu_linux.c  | 2 --
 wmcpuload/src/cpu_netbsd.c | 2 --
 wmcpuload/src/cpu_openbsd.c| 2 --
 wmcpuload/src/cpu_solaris.c| 2 --
 wmcpuload/src/main.c   | 2 --
 28 files changed, 55 deletions(-)

diff --git a/wmcpuload/AUTHORS b/wmcpuload/AUTHORS
index 0f56ca6..dd9343c 100644
--- a/wmcpuload/AUTHORS
+++ b/wmcpuload/AUTHORS
@@ -1,5 +1,3 @@
-$Id: AUTHORS,v 1.1.1.1 2002-10-14 09:31:17 sch Exp $
-
 Main Author:
 Seiichi SATO 
 
diff --git a/wmcpuload/ChangeLog b/wmcpuload/ChangeLog
index 1a7467f..37331ee 100644
--- a/wmcpuload/ChangeLog
+++ b/wmcpuload/ChangeLog
@@ -1,5 +1,3 @@
-$Id: ChangeLog,v 1.9 2006-01-28 10:40:06 sch Exp $
-
 2006 Jan 28
   * cpu_linux.c:
   * main.c:
diff --git a/wmcpuload/INSTALL b/wmcpuload/INSTALL
index 7032bc6..7a4aa03 100644
--- a/wmcpuload/INSTALL
+++ b/wmcpuload/INSTALL
@@ -1,5 +1,3 @@
-$Id: INSTALL,v 1.2 2003-04-06 09:12:41 sch Exp $
-
 Supported Platforms:
 
 (ie: I've heard someone has compiled it on...)
diff --git a/wmcpuload/Makefile.am b/wmcpuload/Makefile.am
index e4576fe..302d32e 100644
--- a/wmcpuload/Makefile.am
+++ b/wmcpuload/Makefile.am
@@ -1,3 +1 @@
-# $Id: Makefile.am,v 1.1.1.1 2002-10-14 09:31:17 sch Exp $
-
 SUBDIRS = src libdockapp icons contrib doc
diff --git a/wmcpuload/NEWS b/wmcpuload/NEWS
index b7ed6e7..b5c3f29 100644
--- a/wmcpuload/NEWS
+++ b/wmcpuload/NEWS
@@ -1,5 +1,3 @@
-# $Id: NEWS,v 1.1.1.1 2002-10-14 09:31:17 sch Exp $
-
 Overview of Changes in WMCPULoad 0.9.0:
 
 
diff --git a/wmcpuload/README b/wmcpuload/README
index 8c6b1ea..9c89be8 100644
--- a/wmcpuload/README
+++ b/wmcpuload/README
@@ -1,5 +1,3 @@
-$Id: README,v 1.6 2003-06-29 14:34:32 sch Exp $
-
 WMCPULoad - A dockapp to monitor CPU usage
 
 General Information
diff --git a/wmcpuload/TODO b/wmcpuload/TODO
index 1cac44b..f14c2ae 100644
--- a/wmcpuload/TODO
+++ b/wmcpuload/TODO
@@ -1,5 +1,3 @@
-$Id: TODO,v 1.1.1.1 2002-10-14 09:31:17 sch Exp $
-
 * optimize drawing-routines (MIT-SHM)
 * other OS support (HP-UX, AIX ...)
 * multiprocessors support on Solaris, FreeBSD, NetBSD, OpenBSD and BSDi
diff --git a/wmcpuload/configure.ac b/wmcpuload/configure.ac
index 26cb4f7..b055ba2 100644
--- a/wmcpuload/configure.ac
+++ b/wmcpuload/configure.ac
@@ -1,5 +1,3 @@
-dnl $Id: configure.ac,v 1.6 2006-01-28 10:40:37 sch Exp $
-
 dnl Process this file with autoconf to produce a configure script.
 AC_PREREQ(2.52)
 
diff --git a/wmcpuload/contrib/Makefile.am b/wmcpuload/contrib/Makefile.am
index 7f5b131..4cf9f1e 100644
--- a/wmcpuload/contrib/Makefile.am
+++ b/wmcpuload/contrib/Makefile.am
@@ -1,4 +1,2 @@
-# $Id: Makefile.am,v 1.1.1.1 2002-10-14 09:31:17 sch Exp $
-
 EXTRA_DIST = README wmcpuload.spec.in
 
diff --git a/wmcpuload/contrib/README b/wmcpuload/contrib/README
index 13f0387..6f738f4 100644
--- a/wmcpuload/contrib/README
+++ b/wmcpuload/contrib/README
@@ -1,5 +1,3 @@
-$Id: README,v 1.1.1.1 2002-10-14 09:31:17 sch Exp $
-
 *** wmcpuload.spec
 
 author:
diff --git a/wmcpuload/doc/Makefile.am b/wmcpuload/doc/Makefile.am
index d387499..0e2308a 100644
--- a/wmcpuload/doc/Makefile.am
+++ b/wmcpuload/doc/Makefile.am
@@ -1,5 +1,3 @@
-# $Id: Makefile.am,v 1.1.1.1 2002-10-14 09:31:17 sch Exp $
-
 man_MANS = wmcpuload.1
 
 EXTRA_DIST = $(man_MANS)
diff --git a/wmcpuload/doc/wmcpuload.1 b/wmcpuload/doc/wmcpuload.1
index 8647e69..465700f 100644
--- a/wmcpuload/doc/wmcpuload.1
+++ b/wmcpuload/doc/wmcpuload.1
@@ -1,4 +1,3 @@
-.\" $Id: wmcpuload.1,v 1.2 2005-02-10 01:13:40 sch Exp $
 .\"  Hey, EMACS: -*- nroff -*-
 .\" First parameter, NAME, should be all caps
 .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
diff --git a/wmcpuload/icons/Makefile.am b/wmcpuload/icons/Makefile.am
index 2c5e30c..04e12ae 100644
--- a/wmcpuload/icons/Makefile.am
+++ b/wmcpuload/icons/Makefile.am
@@ -1,5 +1,3 @@
-# $Id: Makefile.am,v 1.1.1.1 2002-10-14 09:31:17 sch Exp $
-
 EXTRA_DIST = \
wmcpuload-16x16.xpm \
wmcpuload-32x32.xpm \
diff --git a/wmcpuload/icons/README b/wmcpuload/icons/README
index 6501406..96f2f7e 

[PATCH] wmauda: Remove from repository.

2016-11-23 Thread Doug Torrance
A newer version was released relatively recently (2012) and is available at
http://www.netswarm.net/.
---
 wmauda/AUTHORS |  18 -
 wmauda/COPYING | 339 ---
 wmauda/Makefile|  31 --
 wmauda/README  |   9 -
 wmauda/dock-master.xpm | 229 -
 wmauda/wmauda.1|  35 --
 wmauda/wmauda.c| 872 -
 wmauda/wmauda.xpm  | 186 ---
 8 files changed, 1719 deletions(-)
 delete mode 100644 wmauda/AUTHORS
 delete mode 100644 wmauda/COPYING
 delete mode 100644 wmauda/Makefile
 delete mode 100644 wmauda/README
 delete mode 100644 wmauda/dock-master.xpm
 delete mode 100644 wmauda/wmauda.1
 delete mode 100644 wmauda/wmauda.c
 delete mode 100644 wmauda/wmauda.xpm

diff --git a/wmauda/AUTHORS b/wmauda/AUTHORS
deleted file mode 100644
index 17a37e6..000
--- a/wmauda/AUTHORS
+++ /dev/null
@@ -1,18 +0,0 @@
-Michael Stewart 
-   Current Maintainer
-   GTK2 Port
-
-Christian Birchinger 
-   GTK2 Port
-   Audacious Port
-   Artwork
-
-George Averill 
-   Artwork
-
-Peter Alm
-Mikael Alm
-Olle Hallnas
-Thomas Nilsson
-4Front Technologies
-   Original wmxmms source
diff --git a/wmauda/COPYING b/wmauda/COPYING
deleted file mode 100644
index d159169..000
--- a/wmauda/COPYING
+++ /dev/null
@@ -1,339 +0,0 @@
-GNU GENERAL PUBLIC LICENSE
-   Version 2, June 1991
-
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-Preamble
-
-  The licenses for most software are designed to take away your
-freedom to share and change it.  By contrast, the GNU General Public
-License is intended to guarantee your freedom to share and change free
-software--to make sure the software is free for all its users.  This
-General Public License applies to most of the Free Software
-Foundation's software and to any other program whose authors commit to
-using it.  (Some other Free Software Foundation software is covered by
-the GNU Lesser General Public License instead.)  You can apply it to
-your programs, too.
-
-  When we speak of free software, we are referring to freedom, not
-price.  Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-this service if you wish), that you receive source code or can get it
-if you want it, that you can change the software or use pieces of it
-in new free programs; and that you know you can do these things.
-
-  To protect your rights, we need to make restrictions that forbid
-anyone to deny you these rights or to ask you to surrender the rights.
-These restrictions translate to certain responsibilities for you if you
-distribute copies of the software, or if you modify it.
-
-  For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must give the recipients all the rights that
-you have.  You must make sure that they, too, receive or can get the
-source code.  And you must show them these terms so they know their
-rights.
-
-  We protect your rights with two steps: (1) copyright the software, and
-(2) offer you this license which gives you legal permission to copy,
-distribute and/or modify the software.
-
-  Also, for each author's protection and ours, we want to make certain
-that everyone understands that there is no warranty for this free
-software.  If the software is modified by someone else and passed on, we
-want its recipients to know that what they have is not the original, so
-that any problems introduced by others will not reflect on the original
-authors' reputations.
-
-  Finally, any free program is threatened constantly by software
-patents.  We wish to avoid the danger that redistributors of a free
-program will individually obtain patent licenses, in effect making the
-program proprietary.  To prevent this, we have made it clear that any
-patent must be licensed for everyone's free use or not licensed at all.
-
-  The precise terms and conditions for copying, distribution and
-modification follow.
-
-GNU GENERAL PUBLIC LICENSE
-   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
-  0. This License applies to any program or other work which contains
-a notice placed by the copyright holder saying it may be distributed
-under the terms of this General Public License.  The "Program", below,
-refers to any such program or work, and a "work based on the Program"
-means either the Program or any derivative work under copyright law:
-that is to say, a work containing the Program or a portion of it,
-either verbatim or with modifications and/or translated into another
-language.  

[PATCH 04/11] wmhdplop: Change gkhdplop_so_LDFLAGS to gkhdplop_so_LDADD in Makefile

2016-11-24 Thread Doug Torrance
This patch prevents a "undefined symbol: imlib_image_draw_pixel" error by
placing -lImlib2 after the *.o files during make.

Patch to fix Ubuntu bug #995272.

https://bugs.launchpad.net/ubuntu/+source/wmhdplop/+bug/995272
https://sources.debian.net/src/wmhdplop/0.9.9-5/debian/patches/
  ldflags-to-ldadd.patch/
---
 wmhdplop/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wmhdplop/Makefile.am b/wmhdplop/Makefile.am
index b66692a..7870655 100644
--- a/wmhdplop/Makefile.am
+++ b/wmhdplop/Makefile.am
@@ -18,6 +18,6 @@ LIBTOOLSUX_GKHDPLOP_SRC=wmhdplop.c util.c util.h procstat.c 
procstat.h devnames.
 
 gkhdplop_so_SOURCES=$(LIBTOOLSUX_GKHDPLOP_SRC)
 gkhdplop_so_CFLAGS=-DGKRELLM -fPIC $(GTK2_CFLAGS) $(IMLIB2_CFLAGS)
-gkhdplop_so_LDFLAGS=-shared $(IMLIB2_LIBS) -lm
+gkhdplop_so_LDADD=-shared $(IMLIB2_LIBS) -lm
 
 all: @GKHDPLOP@
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 00/11] wmhdplop

2016-11-24 Thread Doug Torrance
These patches add wmhdplop to the dockapps repository, along with a
bunch of patches, mostly from the Debian package.

Carlos, could you tag the first commit wmhdplop-0.9.9 and the last
commit wmhdplop-0.9.10?

Thanks!

Doug Torrance (11):
  wmhdplop: Add version 0.9.9 to repository.
  wmhdplop: Remove autotools cruft.
  wmhdplop: Fix GCC 4.7 FTBFS -Wl needs to have values passed to it
so that it can pass those on to the linker.
  wmhdplop: Change gkhdplop_so_LDFLAGS to gkhdplop_so_LDADD in Makefile
  wmhdplop: Find disk device after /run transition
  wmhdplop: Modernize autotools.
  wmhdplop: Fix compiler warnings.
  wmhdplop: Support NVME devices
  wmhdplop: Add manpage from Debian.
  wmhdplop: Add desktop entry file.
  wmhdplop: Bump to version 0.9.10.

 wmhdplop/AUTHORS  |2 +
 wmhdplop/COPYING  |  340 ++
 wmhdplop/ChangeLog|   83 
 wmhdplop/Makefile.am  |   28 ++
 wmhdplop/NEWS |4 +
 wmhdplop/README   |   33 ++
 wmhdplop/autogen.sh   |3 +
 wmhdplop/configure.ac |  100 +
 wmhdplop/devnames.c   |  274 
 wmhdplop/devnames.h   |   34 ++
 wmhdplop/dockapp_imlib2.c |  416 +
 wmhdplop/dockapp_imlib2.h |   56 +++
 wmhdplop/gkrellm_hdplop.c |  387 
 wmhdplop/global.h |   60 +++
 wmhdplop/procstat.c   |  218 +
 wmhdplop/procstat.h   |   35 ++
 wmhdplop/util.c   |  310 +
 wmhdplop/util.h   |   68 +++
 wmhdplop/wmhdplop.1   |   22 +
 wmhdplop/wmhdplop.c   | 1077 +
 wmhdplop/wmhdplop.desktop |7 +
 wmhdplop/wmhdplop.h   |   70 +++
 22 files changed, 3627 insertions(+)
 create mode 100644 wmhdplop/AUTHORS
 create mode 100644 wmhdplop/COPYING
 create mode 100644 wmhdplop/ChangeLog
 create mode 100644 wmhdplop/Makefile.am
 create mode 100644 wmhdplop/NEWS
 create mode 100644 wmhdplop/README
 create mode 100755 wmhdplop/autogen.sh
 create mode 100644 wmhdplop/configure.ac
 create mode 100644 wmhdplop/devnames.c
 create mode 100644 wmhdplop/devnames.h
 create mode 100644 wmhdplop/dockapp_imlib2.c
 create mode 100644 wmhdplop/dockapp_imlib2.h
 create mode 100644 wmhdplop/gkrellm_hdplop.c
 create mode 100644 wmhdplop/global.h
 create mode 100644 wmhdplop/procstat.c
 create mode 100644 wmhdplop/procstat.h
 create mode 100644 wmhdplop/util.c
 create mode 100644 wmhdplop/util.h
 create mode 100644 wmhdplop/wmhdplop.1
 create mode 100644 wmhdplop/wmhdplop.c
 create mode 100644 wmhdplop/wmhdplop.desktop
 create mode 100644 wmhdplop/wmhdplop.h

-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 03/11] wmhdplop: Fix GCC 4.7 FTBFS -Wl needs to have values passed to it so that it can pass those on to the linker.

2016-11-24 Thread Doug Torrance
Patch by Paul Tagliamonte  to fix Debian bug #667415.

http://bugs.debian.org/667415
https://sources.debian.net/src/wmhdplop/0.9.9-5/debian/patches/
 fix-ftbfs-gcc-4.7-667415.patch/
---
 wmhdplop/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wmhdplop/Makefile.am b/wmhdplop/Makefile.am
index 0c655e6..b66692a 100644
--- a/wmhdplop/Makefile.am
+++ b/wmhdplop/Makefile.am
@@ -18,6 +18,6 @@ LIBTOOLSUX_GKHDPLOP_SRC=wmhdplop.c util.c util.h procstat.c 
procstat.h devnames.
 
 gkhdplop_so_SOURCES=$(LIBTOOLSUX_GKHDPLOP_SRC)
 gkhdplop_so_CFLAGS=-DGKRELLM -fPIC $(GTK2_CFLAGS) $(IMLIB2_CFLAGS)
-gkhdplop_so_LDFLAGS=-shared -Wl $(IMLIB2_LIBS) -lm
+gkhdplop_so_LDFLAGS=-shared $(IMLIB2_LIBS) -lm
 
 all: @GKHDPLOP@
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 06/11] wmhdplop: Modernize autotools.

2016-11-24 Thread Doug Torrance
In particular, fix the following errors and warnings:

 configure.ac:2: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are
 deprecated.  For more info, see:
 configure.ac:2: http://www.gnu.org/software/automake/manual/automake.html
 #Modernize-AM_005fINIT_005fAUTOMAKE-invocation

 Makefile.am:21: error: linker flags such as '-shared' belong in
 'gkhdplop_so_LDFLAGS'

 ./configure: line 2910: syntax error near unexpected token `build_old_libs,'
 ./configure: line 2910: `_LT_DECL(build_old_libs, enable_static, 0,'

 ./configure: line 2908: syntax error near unexpected token
 `build_libtool_libs,'
 ./configure: line 2908: `_LT_DECL(build_libtool_libs, enable_shared, 0,

https://sources.debian.net/src/wmhdplop/0.9.9-5/debian/patches/
  modernize_autotools.patch/
---
 wmhdplop/Makefile.am  | 3 ++-
 wmhdplop/configure.ac | 8 +++-
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/wmhdplop/Makefile.am b/wmhdplop/Makefile.am
index 7870655..61e7b54 100644
--- a/wmhdplop/Makefile.am
+++ b/wmhdplop/Makefile.am
@@ -18,6 +18,7 @@ LIBTOOLSUX_GKHDPLOP_SRC=wmhdplop.c util.c util.h procstat.c 
procstat.h devnames.
 
 gkhdplop_so_SOURCES=$(LIBTOOLSUX_GKHDPLOP_SRC)
 gkhdplop_so_CFLAGS=-DGKRELLM -fPIC $(GTK2_CFLAGS) $(IMLIB2_CFLAGS)
-gkhdplop_so_LDADD=-shared $(IMLIB2_LIBS) -lm
+gkhdplop_so_LDADD=$(IMLIB2_LIBS) -lm
+gkhdplop_so_LDFLAGS=-shared
 
 all: @GKHDPLOP@
diff --git a/wmhdplop/configure.ac b/wmhdplop/configure.ac
index 5f110c0..2bef359 100644
--- a/wmhdplop/configure.ac
+++ b/wmhdplop/configure.ac
@@ -1,5 +1,6 @@
-AC_INIT(wmhdplop.c)
-AM_INIT_AUTOMAKE(wmhdplop, 0.9.9)
+AC_INIT(wmhdplop, 0.9.9)
+AC_CONFIG_SRCDIR(wmhdplop.c)
+AM_INIT_AUTOMAKE
 AM_CONFIG_HEADER(config.h)
 
 AC_SUBST(VERSION)
@@ -9,9 +10,6 @@ AC_SUBST(ISODATE)
 
 AC_CANONICAL_HOST
 
-AM_DISABLE_STATIC
-AM_ENABLE_SHARED
-
 AC_PROG_INSTALL
 AC_PROG_CC
 AC_HEADER_STDC
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 05/11] wmhdplop: Find disk device after /run transition

2016-11-24 Thread Doug Torrance
Patch by Andre Beck  to fix Debian bug #657882.

After the recent /run transition, which also finally turned /etc/mtab into
a symlink to /proc/mounts, *hdplop (both incarnations) may fail to find a
single disk device automatically. This is likely due to the root device
now being exposed as mounted on /dev/disk/by-uuid/$UUID whereas the
former /etc/mtab as written by mount still contained a device name as
taken from /etc/fstab, which in my case could be parsed by *hdplop. It's
unclear if this wouldn't have hit other environments earlier depending
on their fstab contents, I just assume for now that I'm one of the
remaining handful of users of this tool ;)

The fundamental issue is of course the rather crude code in devnames.c's
device_id_from_name() which tries to manually resolve device symlinks,
but cannot possibly work with any symlink except those located directly
in /dev - symlinks in subdirectories of /dev will fail.

Impact on wmhdplop: Doesn't start except when called explicitely with
some "-d /dev/sda" or such option.

Impact on gkrellm-hdplop: Starts but is dazed and confused, leaving a
black window in gkrellm. Clicking on the black window will then crash
gkrellm, as it hits an assertion that the device list cannot be empty.

I've prepared a small patch that makes *hdplop work again for me, the
patch replaces the broken manual symlink resolving by a simple call
to realpath(3), hopefully not breaking other stuff. I refrained from
doing any more changes to the code, even though it looks like it needs
some love. Upstream seems to have lost interest five years ago, though...

So, without much further ado, here's my crude fix:

Don't look too closely, specifically on the strncpy(3) stuff, but I felt
this is still better than abusing snprintf(3) like the original code does
some lines above, and as I said, starting to really fix things here looks
like a bottomless pit...

Thanks,
Andre.

https://bugs.debian.org/657882
https://sources.debian.net/src/wmhdplop/0.9.9-5/debian/patches/
  find-disk-device.patch/
---
 wmhdplop/devnames.c | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/wmhdplop/devnames.c b/wmhdplop/devnames.c
index ba7b821..9e93ad2 100644
--- a/wmhdplop/devnames.c
+++ b/wmhdplop/devnames.c
@@ -186,9 +186,10 @@ int device_id_from_name(const char *devname__, unsigned 
*pmajor, unsigned *pmino
 
   if (lstat(devname,_buf)) { BLAHBLAH(1,perror(devname)); return -1; }
   if (S_ISLNK(stat_buf.st_mode)) {
-char lname[512];
-int n = readlink(devname, lname, 511); lname[n] = 0;
-snprintf(devname,512,"/dev/%s",stripdev(lname));
+devname_ = realpath(devname, NULL);
+if(!devname_) { BLAHBLAH(1,perror(devname)); return -1; }
+strncpy(devname, devname_, 512); devname[511] = 0;
+free(devname_);
 if (stat(devname,_buf)) { BLAHBLAH(1,perror(devname)); return -1; }
   }
   if (!S_ISBLK(stat_buf.st_mode)) {
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 07/11] wmhdplop: Fix compiler warnings.

2016-11-24 Thread Doug Torrance
In particular, the following:

 wmhdplop.c:451:96: warning: operation on ‘dl->touched_w’ may be undefined
 [-Wsequence-point]

 wmhdplop.c:980:44: warning: ignoring return value of ‘seteuid’, declared with
 attribute warn_unused_result [-Wunused-result]

 procstat.c:73:19: warning: variable ‘in_our_disk’ set but not used
 [-Wunused-but-set-variable]

 dockapp_imlib2.c:311:85: warning: unused parameter ‘prefs’ [-Wunused-parameter]

 gkrellm_hdplop.c:187:40: warning: unused parameter ‘widget’
 [-Wunused-parameter]

https://sources.debian.net/src/wmhdplop/0.9.9-5/debian/patches/
  fix_compiler_warnings.patch/
---
 wmhdplop/dockapp_imlib2.c |  1 +
 wmhdplop/gkrellm_hdplop.c |  1 +
 wmhdplop/procstat.c   |  5 ++---
 wmhdplop/wmhdplop.c   | 10 --
 4 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/wmhdplop/dockapp_imlib2.c b/wmhdplop/dockapp_imlib2.c
index c632b99..4d21115 100644
--- a/wmhdplop/dockapp_imlib2.c
+++ b/wmhdplop/dockapp_imlib2.c
@@ -319,6 +319,7 @@ DockImlib2* dockimlib2_gkrellm_setup(int x0, int y0, int w, 
int h, DockImlib2Pre
 #ifndef GKRELLM
   dockimlib2_xinit(dock, prefs);
 #else
+  (void) prefs;
   dockimlib2_gkrellm_xinit(dock, gkdrawable);
 #endif
   dockimlib2_setup_imlib(dock);
diff --git a/wmhdplop/gkrellm_hdplop.c b/wmhdplop/gkrellm_hdplop.c
index 42e0e5d..ed14534 100644
--- a/wmhdplop/gkrellm_hdplop.c
+++ b/wmhdplop/gkrellm_hdplop.c
@@ -185,6 +185,7 @@ static void cb_spinbutton_modified(GtkWidget *widget 
UNUSED, GtkSpinButton *spin
 }
 
 static void cb_reload_fonts(GtkWidget *widget) {
+  (void) widget;
   if (strcmp(gtk_entry_get_text(GTK_ENTRY(entry_smallfont)), 
app->current_smallfont_name) ||
   strcmp(gtk_entry_get_text(GTK_ENTRY(entry_bigfont)), 
app->current_bigfont_name)) {
 ASSIGN_STRING(Prefs.smallfontname, 
gtk_entry_get_text(GTK_ENTRY(entry_smallfont)));
diff --git a/wmhdplop/procstat.c b/wmhdplop/procstat.c
index c899435..18c74cf 100644
--- a/wmhdplop/procstat.c
+++ b/wmhdplop/procstat.c
@@ -70,7 +70,7 @@ void update_stats() {
   FILE *f;
   char line[1024];
   char hdname[200];
-  int readok = 0, in_our_disk = 0;
+  int readok = 0;
   const char *proc_fname;
   if (!use_proc_diskstats) proc_fname = "/proc/partitions";
   else proc_fname = "/proc/diskstats";
@@ -93,7 +93,6 @@ void update_stats() {
 dl->touched_r = (dl->nr - nr) ? 10 : dl->touched_r; 
 dl->touched_w = (dl->nw - nw) ? 10 : dl->touched_w; 
 dl->nr = nr; dl->nw = nw;
-if (!is_partition(major,minor)) in_our_disk = 1;
 if (is_displayed(dl->hd_id,dl->part_id) && 
 ((dl->part_id && (!find_id(dl->hd_id, 0) || 
!is_displayed(dl->hd_id, 0))) || /* partition without host disk */
  (dl->part_id == 0))) /* disk */
@@ -112,7 +111,7 @@ void update_stats() {
 }
 readok = 2;
   }
-  } else if (!is_partition(major,minor)) in_our_disk = 0;
+  }
   /*  if (in_our_disk || find_dev(major,minor))*/ {
 strlist *sl;
 for (sl = swap_list(); sl; sl=sl->next) {
diff --git a/wmhdplop/wmhdplop.c b/wmhdplop/wmhdplop.c
index f55224f..91b6d52 100644
--- a/wmhdplop/wmhdplop.c
+++ b/wmhdplop/wmhdplop.c
@@ -448,7 +448,8 @@ static void draw_hdlist(App *app) {
 imlib_image_fill_rectangle(lx+1,y-5,3,3); 
   }
   if (dl->touched_w) { 
-imlib_context_set_color(255,100-10*dl->touched_w,100-10*dl->touched_w, 
25*dl->touched_w--); 
+imlib_context_set_color(255,100-10*dl->touched_w,100-10*dl->touched_w, 
25*dl->touched_w - 1);
+dl->touched_w--;
 imlib_image_fill_rectangle(lx+1,y-9,3,3); 
   }
   x += 5;
@@ -977,7 +978,12 @@ int main(int argc, char**argv)
 int hdplop_main(int width, int height, GdkDrawable *gkdrawable)
 #endif
 {
-  euid = geteuid(); uid = getuid(); seteuid(uid);
+  int s;
+
+  euid = geteuid(); uid = getuid();
+  s = seteuid(uid);
+  if (s == -1)
+fprintf(stderr, "seteuid(uid) failed : %s\n", strerror(errno));
   ALLOC_OBJ(app);
   srand(time(NULL));
   /* Initialize options */
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 10/11] wmhdplop: Add desktop entry file.

2016-11-24 Thread Doug Torrance
---
 wmhdplop/Makefile.am  | 3 +++
 wmhdplop/wmhdplop.desktop | 7 +++
 2 files changed, 10 insertions(+)
 create mode 100644 wmhdplop/wmhdplop.desktop

diff --git a/wmhdplop/Makefile.am b/wmhdplop/Makefile.am
index 48d8a41..f015722 100644
--- a/wmhdplop/Makefile.am
+++ b/wmhdplop/Makefile.am
@@ -3,6 +3,9 @@ noinst_PROGRAMS=@GKHDPLOP@
 EXTRA_PROGRAMS=gkhdplop.so
 dist_man_MANS = wmhdplop.1
 
+desktopdir = $(datadir)/applications
+dist_desktop_DATA = wmhdplop.desktop
+
 EXTRA_DIST=autogen.sh gkrellm_hdplop.c
 
 IMLIB2_LIBS=@IMLIB2_LIBS@
diff --git a/wmhdplop/wmhdplop.desktop b/wmhdplop/wmhdplop.desktop
new file mode 100644
index 000..320618e
--- /dev/null
+++ b/wmhdplop/wmhdplop.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Type=Application
+Name=wmhdplop
+Comment=A hard drive monitor dockapp for Window Maker
+Exec=wmhdplop
+Categories=System;Monitor;
+Keywords=hard drive;monitor;dockapp;window maker;
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 08/11] wmhdplop: Support NVME devices

2016-11-24 Thread Doug Torrance
Patch by GitHub user zen2.

https://github.com/d-torrance/wmhdplop/issues/1
---
 wmhdplop/devnames.c | 8 
 1 file changed, 8 insertions(+)

diff --git a/wmhdplop/devnames.c b/wmhdplop/devnames.c
index 9e93ad2..fdade3a 100644
--- a/wmhdplop/devnames.c
+++ b/wmhdplop/devnames.c
@@ -153,6 +153,14 @@ int device_info(unsigned major, unsigned minor, char 
*name, int *hd_id, int *par
   if (part_id) *part_id = 0;
   return 9;  
 #endif
+
+#ifdef BLOCK_EXT_MAJOR
+case (BLOCK_EXT_MAJOR):
+  if (name) sprintf(name, "nvme0n%cp%s", "0123456789"[(minor/16)], 
to_num_(minor));
+  if (hd_id) *hd_id = 400 + minor;
+  if (part_id) *part_id = 0;
+  return 10;
+#endif
   }
   if (name) *name = 0;
   if (hd_id) *hd_id = -1;
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 09/11] wmhdplop: Add manpage from Debian.

2016-11-24 Thread Doug Torrance
https://sources.debian.net/src/wmhdplop/0.9.9-5/debian/wmhdplop.1/
---
 wmhdplop/Makefile.am |  1 +
 wmhdplop/wmhdplop.1  | 22 ++
 2 files changed, 23 insertions(+)
 create mode 100644 wmhdplop/wmhdplop.1

diff --git a/wmhdplop/Makefile.am b/wmhdplop/Makefile.am
index 61e7b54..48d8a41 100644
--- a/wmhdplop/Makefile.am
+++ b/wmhdplop/Makefile.am
@@ -1,6 +1,7 @@
 bin_PROGRAMS=wmhdplop
 noinst_PROGRAMS=@GKHDPLOP@
 EXTRA_PROGRAMS=gkhdplop.so
+dist_man_MANS = wmhdplop.1
 
 EXTRA_DIST=autogen.sh gkrellm_hdplop.c
 
diff --git a/wmhdplop/wmhdplop.1 b/wmhdplop/wmhdplop.1
new file mode 100644
index 000..a30d9a0
--- /dev/null
+++ b/wmhdplop/wmhdplop.1
@@ -0,0 +1,22 @@
+.TH WMHDPLOP 1 "June 25, 2004"
+.SH NAME
+wmhdplop \- hard drive monitor dockapp
+.SH SYNOPSIS
+.B wmhdplop
+.RI [ options ]
+.SH DESCRIPTION
+This manual page documents briefly the
+.B wmhdplop
+command.
+This manual page was written for the Debian distribution
+because the original program does not have a manual page.
+.PP
+\fBwmhdplop\fP is a program that monitors hard drive activity and
+displays it graphically in a dockapp.
+.SH OPTIONS
+These programs follow the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+Please run wmhdplop \-h to get a summary of options.
+.SH AUTHOR
+This manual page was written by G\[:u]rkan Seng\[:u]n ,
+for the Debian project (but may be used by others).
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 11/11] wmhdplop: Bump to version 0.9.10.

2016-11-24 Thread Doug Torrance
---
 wmhdplop/ChangeLog| 12 
 wmhdplop/configure.ac |  2 +-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/wmhdplop/ChangeLog b/wmhdplop/ChangeLog
index 46ccc9a..cedec1d 100644
--- a/wmhdplop/ChangeLog
+++ b/wmhdplop/ChangeLog
@@ -1,3 +1,15 @@
+2016-11-24 (v0.9.10)
+   Now maintained by the Window Maker Team.
+   Add desktop entry file.
+   Add manpage from Debian.
+   Support NVME devices
+   Fix compiler warnings.
+   Modernize autotools.
+   Find disk device after /run transition
+   Change gkhdplop_so_LDFLAGS to gkhdplop_so_LDADD in Makefile
+   Fix GCC 4.7 FTBFS. -Wl needs to have values passed to it so that it can
+ pass those on to the linker.
+
 2007-04-20 (v0.9.9)
   Fixed device lookup from /proc/partitions & /etc/mtab on feisty fawn.
 
diff --git a/wmhdplop/configure.ac b/wmhdplop/configure.ac
index 2bef359..3f8afc1 100644
--- a/wmhdplop/configure.ac
+++ b/wmhdplop/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT(wmhdplop, 0.9.9)
+AC_INIT(wmhdplop, 0.9.10)
 AC_CONFIG_SRCDIR(wmhdplop.c)
 AM_INIT_AUTOMAKE
 AM_CONFIG_HEADER(config.h)
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 3/3] wmjmail: Add version 1.6 to repository.

2016-11-27 Thread Doug Torrance
From:
https://web.archive.org/web/20070101114026/http://voltar.org/dockapps/wmjmail-1.6.tgz
---
 wmjmail/CHANGES|  17 ++
 wmjmail/COPYING| 339 +
 wmjmail/CREDITS|  53 ++
 wmjmail/INSTALL|  38 
 wmjmail/README |  18 ++
 wmjmail/src/Andre.Merzky.audio.patch   |  91 +
 wmjmail/src/Andre.Merzky.patch | 122 
 wmjmail/src/Jet.post-andre.patch   |  75 
 wmjmail/src/Jet.stat.patch |  45 +
 wmjmail/src/Makefile   |  60 ++
 wmjmail/src/daveressman|  12 ++
 wmjmail/src/jDockApp/Makefile  |  26 +++
 wmjmail/src/jDockApp/colors.h  |  14 ++
 wmjmail/src/jDockApp/jDockApp.c|  58 ++
 wmjmail/src/jDockApp/jDockApp.h|  41 
 wmjmail/src/jDockApp/jDockApp_main.xpm |  83 
 wmjmail/src/jDockApp/jDockApp_mask.xbm |  39 
 wmjmail/src/jDockApp/jprintf.c | 144 ++
 wmjmail/src/jDockApp/locations.h   |   1 +
 wmjmail/src/jenglish.h |  26 +++
 wmjmail/src/mailchk|  17 ++
 wmjmail/src/src/Makefile   |  39 
 wmjmail/src/wmjmail.jet|  67 +++
 wmjmail/src/xutils/Makefile|  23 +++
 wmjmail/src/xutils/xutils.c| 319 +++
 wmjmail/src/xutils/xutils.h|  47 +
 26 files changed, 1814 insertions(+)
 create mode 100644 wmjmail/CHANGES
 create mode 100644 wmjmail/COPYING
 create mode 100644 wmjmail/CREDITS
 create mode 100644 wmjmail/INSTALL
 create mode 100644 wmjmail/README
 create mode 100644 wmjmail/src/Andre.Merzky.audio.patch
 create mode 100644 wmjmail/src/Andre.Merzky.patch
 create mode 100644 wmjmail/src/Jet.post-andre.patch
 create mode 100644 wmjmail/src/Jet.stat.patch
 create mode 100644 wmjmail/src/Makefile
 create mode 100755 wmjmail/src/daveressman
 create mode 100644 wmjmail/src/jDockApp/Makefile
 create mode 100644 wmjmail/src/jDockApp/colors.h
 create mode 100644 wmjmail/src/jDockApp/jDockApp.c
 create mode 100644 wmjmail/src/jDockApp/jDockApp.h
 create mode 100644 wmjmail/src/jDockApp/jDockApp_main.xpm
 create mode 100644 wmjmail/src/jDockApp/jDockApp_mask.xbm
 create mode 100644 wmjmail/src/jDockApp/jprintf.c
 create mode 100644 wmjmail/src/jDockApp/locations.h
 create mode 100644 wmjmail/src/jenglish.h
 create mode 100755 wmjmail/src/mailchk
 create mode 100644 wmjmail/src/src/Makefile
 create mode 100644 wmjmail/src/wmjmail.jet
 create mode 100644 wmjmail/src/xutils/Makefile
 create mode 100644 wmjmail/src/xutils/xutils.c
 create mode 100644 wmjmail/src/xutils/xutils.h

diff --git a/wmjmail/CHANGES b/wmjmail/CHANGES
new file mode 100644
index 000..35286a4
--- /dev/null
+++ b/wmjmail/CHANGES
@@ -0,0 +1,17 @@
+Wed Mar 28 08:36:31 EST 2001
+  Andre sent in even more changes. :)
+  Now it plays audio files too!
+
+Wed Mar 28 07:59:14 EST 2001
+  Andre Merzky gave me a patch for some lovely changes to this little app.
+  I had requests for one of them, so I was very exicted.
+
+  The changes (including an efficiency improvement) were sufficient to 
+  warrent a version change.  Thanx Andre!
+
+Tue Aug 24 20:55:57 EDT 1999
+  Dave gave me a copy of his "Maildir/" bash script to make wmjmail work with
+  his configuration.
+
+Sun Jul 11 03:08:50 EDT 1999
+  It's new... There's no changes... besides it's existance.
diff --git a/wmjmail/COPYING b/wmjmail/COPYING
new file mode 100644
index 000..a43ea21
--- /dev/null
+++ b/wmjmail/COPYING
@@ -0,0 +1,339 @@
+   GNU GENERAL PUBLIC LICENSE
+  Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+  675 Mass Ave, Cambridge, MA 02139, USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+   Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and 

wmstpu?

2016-11-27 Thread Doug Torrance
Does anyone have a tarball of wmstpu lying around?  It apparently was a 
stopwatch dockapp.  I'm hoping to add it to the git repo and 
dockapps.net, but can't find it anywhere.


https://web.archive.org/web/20121028081641/http://dockapps.windowmaker.org/file.php/id/280

Thanks!
Doug


--
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


Re: Bug#844193: wmaker: catchXError(startup.c:118)

2016-11-13 Thread Doug Torrance

Control: forwarded -1 wmaker-dev@lists.windowmaker.org

Hi everyone,

We received the bug report below for the Debian Window Maker package. 
Any ideas?


Doug

On 11/13/2016 03:49 AM, Helge Kreutzmann wrote:

Package: wmaker
Version: 0.95.7-6+b1
Severity: minor

In the logs the following appears regularly:
Sep 27 21:01:46 samd /usr/lib/WindowMaker/wmaker[4310]: 
(catchXError(startup.c:118)): warnung: internal X error: RenderBadPicture 
(invalid Picture parameter)#012#011Request code: 139#012#011Request minor code: 
7#012#011Resource ID: 0xa01796#012#011Error serial: 74643

The date, PID, the ressource ID and the Error serial differ, the rest
is always the same.

I'm not sure it is a problem (I did not notice any visual problem),
thus severity minor.

-- System Information:
Debian Release: stretch/sid
   APT prefers testing
   APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.5.5samd.10-grsec (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to de_DE.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages wmaker depends on:
ii  libc62.24-5
ii  libfontconfig1   2.11.0-6.7
ii  libfreetype6 2.6.3-3+b1
ii  libgif7  5.1.4-0.4
ii  libjpeg62-turbo  1:1.5.1-2
ii  libpng16-16  1.6.25-2
ii  libtiff5 4.0.6-3
ii  libwings30.95.7-6+b1
ii  libwraster5  0.95.7-6+b1
ii  libwutil50.95.7-6+b1
ii  libx11-6 2:1.6.3-1
ii  libxext6 2:1.3.3-1
ii  libxinerama1 2:1.1.3-1+b1
ii  libxpm4  1:3.5.11-1+b1
ii  wmaker-common0.95.7-6

wmaker recommends no packages.

Versions of packages wmaker suggests:
pn  desktop-base   
ii  konsole [x-terminal-emulator]  4:16.08.2-1
pn  menu   
pn  wmaker-data
pn  wmaker-utils   
ii  x11-apps   7.7+6
ii  xterm [x-terminal-emulator]327-1

-- no debconf information



___
Pkg-wmaker-devel mailing list
pkg-wmaker-de...@lists.alioth.debian.org
https://lists.alioth.debian.org/mailman/listinfo/pkg-wmaker-devel



--
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH] WPrefs: Update path for Debian menu

2016-11-13 Thread Doug Torrance
---
 WPrefs.app/Menu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/WPrefs.app/Menu.c b/WPrefs.app/Menu.c
index 115bdc3..feadd5f 100644
--- a/WPrefs.app/Menu.c
+++ b/WPrefs.app/Menu.c
@@ -506,7 +506,7 @@ static void createPanel(_Panel * p)
WMSetScrollViewContentView(sview, WMWidgetView(pad));
 
data = putNewItem(panel, pad, ExternalInfo, _("Debian Menu"));
-   data->param.pipe.command = "/etc/X11/WindowMaker/menu.hook";
+   data->param.pipe.command = "/etc/GNUstep/Defaults/menu.hook";
 
data = putNewItem(panel, pad, PipeInfo, _("RedHat Menu"));
data->param.pipe.command = "wmconfig --output wmaker";
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 6/7] wmcpuload: Fix Makefile.am for automake 1.14.

2016-10-20 Thread Doug Torrance
Patch by Andreas Metzler  to fix Debian bug #724162.
---
 wmcpuload/src/Makefile.am | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/wmcpuload/src/Makefile.am b/wmcpuload/src/Makefile.am
index 3eacac1..26d1da8 100644
--- a/wmcpuload/src/Makefile.am
+++ b/wmcpuload/src/Makefile.am
@@ -1,3 +1,5 @@
+AUTOMAKE_OPTIONS = subdir-objects
+
 bin_PROGRAMS = wmcpuload
 
 wmcpuload_SOURCES = \
@@ -6,7 +8,8 @@ wmcpuload_SOURCES = \
main.c \
backlight_on.xpm \
backlight_off.xpm \
-   parts.xpm
+   parts.xpm \
+   ../libdockapp/dockapp.c ../libdockapp/dockapp.h
 
 EXTRA_wmcpuload_SOURCES = \
cpu_linux.c \
@@ -19,7 +22,6 @@ EXTRA_wmcpuload_SOURCES = \
cpu_irix.c \
cpu_darwin.c
 
-wmcpuload_DEPENDENCIES = ../libdockapp/dockapp.o
 
 AM_CPPFLAGS = \
@HEADER_SEARCH_PATH@ \
@@ -28,7 +30,6 @@ AM_CPPFLAGS = \
 AM_CFLAGS = @DFLAGS@ @CFLAGS@ -I../libdockapp/
 
 wmcpuload_LDADD = \
-   dockapp.o \
@LIBRARY_SEARCH_PATH@ \
@XLIBS@ \
@XLFLAGS@
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 2/2] washerdryer: Add version 1.1 to repository.

2016-11-26 Thread Doug Torrance
From:
https://web.archive.org/web/20021210035511/http://lucille.dhs.org/washerDryer-1.1.tar.bz2
---
 washerdryer/COPYING  |  339 
 washerdryer/Changelog|   14 +
 washerdryer/INSTALL  |   19 +
 washerdryer/README   |   67 ++
 washerdryer/washerDryer/.washerDryer.c.swp   |  Bin 0 -> 57344 bytes
 washerdryer/washerDryer/Makefile |   52 ++
 washerdryer/washerDryer/man/washerDryer.1.gz |  Bin 0 -> 772 bytes
 washerdryer/washerDryer/washerDryer.c| 1181 ++
 washerdryer/washerDryer/wdryer.xpm   |  112 +++
 washerdryer/washerDryer/wdryerrc |   24 +
 washerdryer/wmgeneral/list.c |  165 
 washerdryer/wmgeneral/list.h |   61 ++
 washerdryer/wmgeneral/misc.c |  229 +
 washerdryer/wmgeneral/misc.h |9 +
 washerdryer/wmgeneral/wmgeneral.c|  444 ++
 washerdryer/wmgeneral/wmgeneral.h|   62 ++
 16 files changed, 2778 insertions(+)
 create mode 100644 washerdryer/COPYING
 create mode 100644 washerdryer/Changelog
 create mode 100644 washerdryer/INSTALL
 create mode 100644 washerdryer/README
 create mode 100644 washerdryer/washerDryer/.washerDryer.c.swp
 create mode 100644 washerdryer/washerDryer/Makefile
 create mode 100644 washerdryer/washerDryer/man/washerDryer.1.gz
 create mode 100644 washerdryer/washerDryer/washerDryer.c
 create mode 100644 washerdryer/washerDryer/wdryer.xpm
 create mode 100644 washerdryer/washerDryer/wdryerrc
 create mode 100644 washerdryer/wmgeneral/list.c
 create mode 100644 washerdryer/wmgeneral/list.h
 create mode 100644 washerdryer/wmgeneral/misc.c
 create mode 100644 washerdryer/wmgeneral/misc.h
 create mode 100644 washerdryer/wmgeneral/wmgeneral.c
 create mode 100644 washerdryer/wmgeneral/wmgeneral.h

diff --git a/washerdryer/COPYING b/washerdryer/COPYING
new file mode 100644
index 000..a43ea21
--- /dev/null
+++ b/washerdryer/COPYING
@@ -0,0 +1,339 @@
+   GNU GENERAL PUBLIC LICENSE
+  Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+  675 Mass Ave, Cambridge, MA 02139, USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+   Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and

[PATCH] asbeats: Add version 0.2 to repository.

2016-11-26 Thread Doug Torrance
From:
https://web.archive.org/web/19991006202514/http://bohemians.org/~iznogood/asbeats/asbeats-0.2.tar.gz
---
 asbeats/CHANGES|  10 ++
 asbeats/LICENCE| 249 
 asbeats/Makefile   |  12 +++
 asbeats/README |  47 +
 asbeats/README.asclock | 126 ++
 asbeats/asbeats.c  | 277 +
 asbeats/led.xpm|  17 +++
 asbeats/mask.xbm   |  37 +++
 asbeats/mask.xpm   |  62 +++
 9 files changed, 837 insertions(+)
 create mode 100644 asbeats/CHANGES
 create mode 100644 asbeats/LICENCE
 create mode 100644 asbeats/Makefile
 create mode 100644 asbeats/README
 create mode 100644 asbeats/README.asclock
 create mode 100644 asbeats/asbeats.c
 create mode 100644 asbeats/led.xpm
 create mode 100644 asbeats/mask.xbm
 create mode 100644 asbeats/mask.xpm

diff --git a/asbeats/CHANGES b/asbeats/CHANGES
new file mode 100644
index 000..c17d140
--- /dev/null
+++ b/asbeats/CHANGES
@@ -0,0 +1,10 @@
+* Jan 03 1999 [asbeats-0.2]
+
+- Higher resolution, 3 decimals
+- Cleanup of the .xpm files
+- Added this file
+- Cleanup of README, also added TODO section
+
+* Dec 31 1998 [asbeats-0.1]
+
+- First public release
diff --git a/asbeats/LICENCE b/asbeats/LICENCE
new file mode 100644
index 000..9a17037
--- /dev/null
+++ b/asbeats/LICENCE
@@ -0,0 +1,249 @@
+
+   GNU GENERAL PUBLIC LICENSE
+Version 1, February 1989
+
+ Copyright (C) 1989 Free Software Foundation, Inc.
+675 Mass Ave, Cambridge, MA 02139, USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+   Preamble
+
+  The license agreements of most software companies try to keep users
+at the mercy of those companies.  By contrast, our General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  The
+General Public License applies to the Free Software Foundation's
+software and to any other program whose authors commit to using it.
+You can use it for your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Specifically, the General Public License is designed to make
+sure that you have the freedom to give away or sell copies of free
+software, that you receive source code or can get it if you want it,
+that you can change the software or use pieces of it in new free
+programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of a such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must tell them their rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+   GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License Agreement applies to any program or other work which
+contains a notice placed by the copyright holder saying it may be
+distributed under the terms of this General Public License.  The
+"Program", below, refers to any such program or work, and a "work based
+on the Program" means either the Program or any work containing the
+Program or a portion of it, either verbatim or with modifications.  Each
+licensee is addressed as "you".
+
+  1. You may copy and distribute verbatim copies of the Program's source
+code as you receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice and
+disclaimer of warranty; keep intact all the notices that refer to this
+General Public License and to the absence of any warranty; and give any
+other recipients of the Program a copy of this General Public License
+along with the Program.  You may charge a fee for the physical act of
+transferring a copy.
+
+  2. You may modify your copy or copies of the 

[PATCH 1/4] wmpop3: Add version 0.5.6a to repository.

2016-12-02 Thread Doug Torrance
From:
ftp://ftp.utl.pt/linuxberg/files/x11/dock/WMPop3-0.5.6a.tar.gz
---
 wmpop3/CHANGE_LOG  |  37 +++
 wmpop3/COPYING | 339 
 wmpop3/INSTALL |  40 
 wmpop3/README  |  58 +
 wmpop3/wmgeneral/list.c| 169 ++
 wmpop3/wmgeneral/list.h|  59 +
 wmpop3/wmgeneral/misc.c| 164 ++
 wmpop3/wmgeneral/misc.h|   9 +
 wmpop3/wmgeneral/wmgeneral.c   | 481 +++
 wmpop3/wmgeneral/wmgeneral.h   |  59 +
 wmpop3/wmpop3/Makefile |  48 
 wmpop3/wmpop3/Pop3Client.c | 185 +++
 wmpop3/wmpop3/Pop3Client.h |  34 +++
 wmpop3/wmpop3/wmpop3-black.xpm | 123 ++
 wmpop3/wmpop3/wmpop3.c | 502 +
 wmpop3/wmpop3/wmpop3.xpm   | 123 ++
 wmpop3/wmpop3/wmpop3rc |  11 +
 17 files changed, 2441 insertions(+)
 create mode 100644 wmpop3/CHANGE_LOG
 create mode 100644 wmpop3/COPYING
 create mode 100644 wmpop3/INSTALL
 create mode 100644 wmpop3/README
 create mode 100644 wmpop3/wmgeneral/list.c
 create mode 100644 wmpop3/wmgeneral/list.h
 create mode 100644 wmpop3/wmgeneral/misc.c
 create mode 100644 wmpop3/wmgeneral/misc.h
 create mode 100644 wmpop3/wmgeneral/wmgeneral.c
 create mode 100644 wmpop3/wmgeneral/wmgeneral.h
 create mode 100644 wmpop3/wmpop3/Makefile
 create mode 100644 wmpop3/wmpop3/Pop3Client.c
 create mode 100644 wmpop3/wmpop3/Pop3Client.h
 create mode 100644 wmpop3/wmpop3/wmpop3-black.xpm
 create mode 100644 wmpop3/wmpop3/wmpop3.c
 create mode 100644 wmpop3/wmpop3/wmpop3.xpm
 create mode 100644 wmpop3/wmpop3/wmpop3rc

diff --git a/wmpop3/CHANGE_LOG b/wmpop3/CHANGE_LOG
new file mode 100644
index 000..32e3604
--- /dev/null
+++ b/wmpop3/CHANGE_LOG
@@ -0,0 +1,37 @@
+WMPOP3 CHANGE_LOG
+
+Version 0.5.6a : Minor additions
+* Added extra checking when connecting to pop-server.
+* Fixed some variable addressing problems.
+* updated the version number int the source.. :) oops.
+
+Version 0.5.5a : Minor additions
+* Fixed Pop3Client, it now closes the socket after use.
+* Fixed Comment missing in the default config file.
+
+Version 0.5.0a : Minor additions
+* Added arrows to left toggle button. ( very minor ).
+
+Version 0.4.2a : Minor Fixes and additions
+   * Fixed the problem with "::error::" not being properly removed
+  from the display after refresh.
+* Added the optional ability for unread and read messages to
+  be shown. ( uuu/rrr ).
+   * WMPop3 will now check the pop server 30 sec's after a mail
+  browser has been activated using Wmpop3. ( This will give
+  the mail browser a chance to download messages from the
+  server).
+
+Version 0.4.1a : Minor Fixes and additions
+* Fixed the problem with the right button showing "AC" when
+  pressed.
+
+Version 0.4.0a : Minor Fixes and additions
+   * Messages shown are now unread messages instead total messages
+
+Version 0.3.5a : Minor Fixes and additions
+* Fixed messages reading 3 when not connected to the net.
+  Now shows up as "::Error::" when something is wrong.
+* Added ability to enable/disable autochecking at program
+  startup.
+* Added text to the "Check Now" and "autochecking" buttons
diff --git a/wmpop3/COPYING b/wmpop3/COPYING
new file mode 100644
index 000..a43ea21
--- /dev/null
+++ b/wmpop3/COPYING
@@ -0,0 +1,339 @@
+   GNU GENERAL PUBLIC LICENSE
+  Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+  675 Mass Ave, Cambridge, MA 02139, USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+   Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to 

[PATCH 2/4] wmgrabimage: Add version 0.72 to repository.

2016-12-02 Thread Doug Torrance
From:
https://web.archive.org/web/20040722180350/http://nis-www.lanl.gov/~mgh/WindowMaker/wmGrabImage-0.72.tgz
---
 wmgrabimage/BUGS   |   1 +
 wmgrabimage/CHANGES|  45 ++
 wmgrabimage/COPYING| 339 +
 wmgrabimage/HINTS  |  38 ++
 wmgrabimage/INSTALL|  29 ++
 wmgrabimage/TODO   |  15 +
 wmgrabimage/wmGrabImage/GrabImage  |  69 +++
 wmgrabimage/wmGrabImage/Makefile   |  34 ++
 wmgrabimage/wmGrabImage/wmGrabImage.1  |  56 +++
 wmgrabimage/wmGrabImage/wmGrabImage.c  | 637 +
 wmgrabimage/wmGrabImage/wmGrabImage_mask.xbm   |  38 ++
 wmgrabimage/wmGrabImage/wmGrabImage_master.xpm | 211 
 wmgrabimage/wmgeneral/wmgeneral.c  | 363 ++
 wmgrabimage/wmgeneral/wmgeneral.h  |  54 +++
 14 files changed, 1929 insertions(+)
 create mode 100644 wmgrabimage/BUGS
 create mode 100644 wmgrabimage/CHANGES
 create mode 100644 wmgrabimage/COPYING
 create mode 100644 wmgrabimage/HINTS
 create mode 100644 wmgrabimage/INSTALL
 create mode 100644 wmgrabimage/TODO
 create mode 100755 wmgrabimage/wmGrabImage/GrabImage
 create mode 100644 wmgrabimage/wmGrabImage/Makefile
 create mode 100644 wmgrabimage/wmGrabImage/wmGrabImage.1
 create mode 100644 wmgrabimage/wmGrabImage/wmGrabImage.c
 create mode 100644 wmgrabimage/wmGrabImage/wmGrabImage_mask.xbm
 create mode 100644 wmgrabimage/wmGrabImage/wmGrabImage_master.xpm
 create mode 100644 wmgrabimage/wmgeneral/wmgeneral.c
 create mode 100644 wmgrabimage/wmgeneral/wmgeneral.h

diff --git a/wmgrabimage/BUGS b/wmgrabimage/BUGS
new file mode 100644
index 000..32f5c37
--- /dev/null
+++ b/wmgrabimage/BUGS
@@ -0,0 +1 @@
+Please send bug reports to mghender...@lanl.gov
diff --git a/wmgrabimage/CHANGES b/wmgrabimage/CHANGES
new file mode 100644
index 000..ecaa95a
--- /dev/null
+++ b/wmgrabimage/CHANGES
@@ -0,0 +1,45 @@
+wmGrabImage
+
+Version Description
+-
+Version 0.70  - March 28, 1999.
+   Added support for local images (e.g. file:///home/mgh/junk.gif.)
+
+Version 0.66  - February 23, 1999.
+   Added help line for -delay option. And added a man page.
+
+Version 0.65  - February 11, 1999.
+   Now starts netscape if not already running...
+
+Version 0.64  - February 9, 1999.
+   Added command-line option for "Time between updates"
+
+Version 0.63  - February 9, 1999.
+   Fixed (potential) memory leak in the ShapeMask Pixmap
+   (gets returned only if color None is used in xpm file)
+   Added XFreeColors call.
+
+Version 0.62  - February 4, 1999.
+   buf fixes. Added -c option to center vertically.
+
+
+Version 0.61  - February 2, 1999.
+   Added Attributes support for Xpm Creation.
+   Also, added a kludge to GrabImage to stream edit
+   any "Transparent" colors that may get generated. (Change them
+   to black.)
+
+Version 0.6   - February 2, 1999.
+   Some bug fixes. Added Double click support.
+   Now, DoubleClick's do the following:
+   
+   Button1: display original size image via xv.
+
+   Button2: send another URL (specified with the -http
+   command line option) to netscape.
+
+   Button3: Force Update.
+
+
+Version 0.5   - initial (very) beta release February 1, 1999.
+
diff --git a/wmgrabimage/COPYING b/wmgrabimage/COPYING
new file mode 100644
index 000..a43ea21
--- /dev/null
+++ b/wmgrabimage/COPYING
@@ -0,0 +1,339 @@
+   GNU GENERAL PUBLIC LICENSE
+  Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+  675 Mass Ave, Cambridge, MA 02139, USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+   Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge 

[PATCH 4/4] wmfortune: Add version 0.241 to repository.

2016-12-03 Thread Doug Torrance
From:
http://gentoo.osuosl.org/distfiles/wmfortune-0.241.tar.gz
---
 wmfortune/CHANGES  |   34 +
 wmfortune/INSTALL  |   17 +
 wmfortune/Makefile |   35 +
 wmfortune/README   |   28 +
 wmfortune/TODO |2 +
 wmfortune/XPM/panel.xpm| 1143 
 wmfortune/XPM/panel_button_pressed.xpm | 1083 ++
 wmfortune/XPM/panel_window.xpm |   70 ++
 wmfortune/dockapp.c|  565 
 wmfortune/dockapp.h|  230 +++
 wmfortune/wmfortune.c  |  222 +++
 11 files changed, 3429 insertions(+)
 create mode 100644 wmfortune/CHANGES
 create mode 100644 wmfortune/INSTALL
 create mode 100644 wmfortune/Makefile
 create mode 100644 wmfortune/README
 create mode 100644 wmfortune/TODO
 create mode 100644 wmfortune/XPM/panel.xpm
 create mode 100644 wmfortune/XPM/panel_button_pressed.xpm
 create mode 100644 wmfortune/XPM/panel_window.xpm
 create mode 100644 wmfortune/dockapp.c
 create mode 100644 wmfortune/dockapp.h
 create mode 100644 wmfortune/wmfortune.c

diff --git a/wmfortune/CHANGES b/wmfortune/CHANGES
new file mode 100644
index 000..0feeb3c
--- /dev/null
+++ b/wmfortune/CHANGES
@@ -0,0 +1,34 @@
+
+RCS file: RCS/wmfortune.c,v
+Working file: wmfortune.c
+head: 0.24
+branch:
+locks: strict
+access list:
+symbolic names:
+keyword substitution: kv
+total revisions: 5;selected revisions: 5
+description:
+wmfortune: DockApp that shows the fortune messages.
+
+revision 0.24
+date: 2000/03/28 01:49:58;  author: sugano;  state: Exp;  lines: +4 -2
+found the small bug arround the button press.
+
+revision 0.23
+date: 2000/03/27 00:18:55;  author: sugano;  state: Exp;  lines: +6 -6
+changed the UI a little.
+
+revision 0.22
+date: 2000/03/26 23:39:58;  author: sugano;  state: Exp;  lines: +30 -27
+very stable, but UI's not finished.
+
+revision 0.21
+date: 2000/03/25 17:03:52;  author: sugano;  state: Exp;  lines: +136 -87
+beautifulized the code a little.
+much better to read.
+
+revision 0.20
+date: 2000/03/25 14:50:27;  author: sugano;  state: Exp;
+Started using the RCS.
+=
diff --git a/wmfortune/INSTALL b/wmfortune/INSTALL
new file mode 100644
index 000..5039c03
--- /dev/null
+++ b/wmfortune/INSTALL
@@ -0,0 +1,17 @@
+WMFORTUNE INSTALLATION
+
+Before installation.
+
+Make sure fortune command is in your path.
+
+
+To compile and install wmfortune.
+
+(1) Edit Makefile as you like.
+(2) Type "make"
+(3) Then type "make install"
+
+
+To uninstall.
+
+ Just type "make uninstall".
diff --git a/wmfortune/Makefile b/wmfortune/Makefile
new file mode 100644
index 000..000cd71
--- /dev/null
+++ b/wmfortune/Makefile
@@ -0,0 +1,35 @@
+### Edit here as you like :)
+BINDIR = /usr/local/bin
+
+
+DEST = wmfortune
+
+# Programs used to move the binary to the proper place.
+INSTALL = /usr/bin/install
+INSTALL_PROGRAM = ${INSTALL} -m 755
+UNINSTALL_PROGRAM = rm -f
+
+CC = gcc
+OPTIMIZE = -O2
+XLIBDIR = /usr/X11R6/lib
+#XLIB = -ldockapp -lXpm -lXext -lX11
+XLIB = -lXpm -lXext -lX11
+OBJ = wmfortune.o dockapp.o
+
+$(DEST) : $(OBJ)
+   $(CC) $(OBJ) -L$(XLIBDIR) $(XLIB) -o $(DEST)
+
+dockapp.o: dockapp.c
+   $(CC) $(OPTIMIZE) $< -c
+
+wmfortune.o: wmfortune.c
+   $(CC) $(OPTIMIZE) $< -c
+
+install:
+   $(INSTALL_PROGRAM) ./$(DEST) $(BINDIR)/$(DEST)
+
+uninstall:
+   $(UNINSTALL_PROGRAM) $(BINDIR)/$(DEST)
+
+clean:
+   rm -rf $(DEST) $(OBJ) *~
diff --git a/wmfortune/README b/wmfortune/README
new file mode 100644
index 000..71472e2
--- /dev/null
+++ b/wmfortune/README
@@ -0,0 +1,28 @@
+
+   WMFORTUNE
+  Copyrigth(C) 2000, Makoto SUGANO.
+(m-sug...@01.246.ne.jp)
+
+
+What is this?
+
+
+   It's a dock-app that shows you forune messages.
+
+   The latest version will be in available in:
+   http://www.01.246.ne.jp/~m-sugano/apps.html
+
+
+
+How I install it?
+=
+
+   Read INSTALL files.
+
+
+License?
+
+
+   wmfortune is based on GPL'ed software.
+   This program is distributed under the GPL license.
+
diff --git a/wmfortune/TODO b/wmfortune/TODO
new file mode 100644
index 000..9b6653d
--- /dev/null
+++ b/wmfortune/TODO
@@ -0,0 +1,2 @@
+2000 JAN 25
+   ...
diff --git a/wmfortune/XPM/panel.xpm b/wmfortune/XPM/panel.xpm
new file mode 100644
index 000..f13b989
--- /dev/null
+++ b/wmfortune/XPM/panel.xpm
@@ -0,0 +1,1143 @@
+/* XPM */
+static char * panel_xpm[] = {
+"64 64 1076 2",
+"  c None",
+". c #00",
+"+ c #FF",
+"@ c #55",
+"# c #E7C69A",

[PATCH 3/4] wmcapshare: Add version 0.1 to repository.

2016-12-03 Thread Doug Torrance
From:
https://web.archive.org/web/20061215141801/http://www.netjunki.org/projects/wmcapshare-0.1.tar.gz
---
 wmcapshare/AUTHORS  |   6 +
 wmcapshare/COPYING  | 340 
 wmcapshare/ChangeLog|   4 +
 wmcapshare/INSTALL  |   7 +
 wmcapshare/Makefile |  26 +++
 wmcapshare/NEWS |   1 +
 wmcapshare/README   |  12 ++
 wmcapshare/TODO |   9 ++
 wmcapshare/obex_io.c| 241 
 wmcapshare/obex_io.h|  24 +++
 wmcapshare/obex_put_common.c| 255 ++
 wmcapshare/obex_put_common.h|  37 +
 wmcapshare/version.h|   1 +
 wmcapshare/wmcapshare.c | 233 +++
 wmcapshare/wmcapshare.h |   9 ++
 wmcapshare/xpm/base.xpm |  66 
 wmcapshare/xpm/blank.xpm|  13 ++
 wmcapshare/xpm/capshare.xpm |  36 +
 wmcapshare/xpm/connected.xpm|  21 +++
 wmcapshare/xpm/disconnected.xpm |  21 +++
 wmcapshare/xpm/lcdchars.xpm |  15 ++
 wmcapshare/xpm/lcdchars2.xpm|  15 ++
 wmcapshare/xpm/lcdnums.xpm  |  15 ++
 wmcapshare/xpm/plane.xcf| Bin 0 -> 9399 bytes
 wmcapshare/xpm/plane00.xpm  |  34 
 wmcapshare/xpm/plane01.xpm  |  35 +
 wmcapshare/xpm/plane02.xpm  |  35 +
 wmcapshare/xpm/plane03.xpm  |  35 +
 wmcapshare/xpm/plane04.xpm  |  35 +
 wmcapshare/xpm/plane05.xpm  |  35 +
 wmcapshare/xpm/plane06.xpm  |  35 +
 wmcapshare/xpm/plane07.xpm  |  35 +
 wmcapshare/xpm/plane08.xpm  |  35 +
 wmcapshare/xpm/plane09.xpm  |  35 +
 wmcapshare/xpm/plane10.xpm  |  35 +
 wmcapshare/xpm/plane11.xpm  |  35 +
 wmcapshare/xpm/plane12.xpm  |  35 +
 wmcapshare/xpm/plane13.xpm  |  35 +
 wmcapshare/xpm/plane14.xpm  |  35 +
 wmcapshare/xpm/plane15.xpm  |  35 +
 wmcapshare/xpm/plane16.xpm  |  35 +
 wmcapshare/xpm/plane17.xpm  |  35 +
 wmcapshare/xpm/plane18.xpm  |  35 +
 wmcapshare/xpm/plane19.xpm  |  34 
 wmcapshare/xpm/test.gif | Bin 0 -> 20335 bytes
 wmcapshare/xpm/transfering.xpm  |  21 +++
 wmcapshare/xpm/tstatfield.xpm   |  13 ++
 wmcapshare/xpm/tstatfld.xpm |  13 ++
 48 files changed, 2152 insertions(+)
 create mode 100644 wmcapshare/AUTHORS
 create mode 100644 wmcapshare/COPYING
 create mode 100644 wmcapshare/ChangeLog
 create mode 100644 wmcapshare/INSTALL
 create mode 100644 wmcapshare/Makefile
 create mode 100644 wmcapshare/NEWS
 create mode 100644 wmcapshare/README
 create mode 100644 wmcapshare/TODO
 create mode 100644 wmcapshare/obex_io.c
 create mode 100644 wmcapshare/obex_io.h
 create mode 100644 wmcapshare/obex_put_common.c
 create mode 100644 wmcapshare/obex_put_common.h
 create mode 100644 wmcapshare/version.h
 create mode 100644 wmcapshare/wmcapshare.c
 create mode 100644 wmcapshare/wmcapshare.h
 create mode 100644 wmcapshare/xpm/base.xpm
 create mode 100644 wmcapshare/xpm/blank.xpm
 create mode 100644 wmcapshare/xpm/capshare.xpm
 create mode 100644 wmcapshare/xpm/connected.xpm
 create mode 100644 wmcapshare/xpm/disconnected.xpm
 create mode 100644 wmcapshare/xpm/lcdchars.xpm
 create mode 100644 wmcapshare/xpm/lcdchars2.xpm
 create mode 100644 wmcapshare/xpm/lcdnums.xpm
 create mode 100644 wmcapshare/xpm/plane.xcf
 create mode 100644 wmcapshare/xpm/plane00.xpm
 create mode 100644 wmcapshare/xpm/plane01.xpm
 create mode 100644 wmcapshare/xpm/plane02.xpm
 create mode 100644 wmcapshare/xpm/plane03.xpm
 create mode 100644 wmcapshare/xpm/plane04.xpm
 create mode 100644 wmcapshare/xpm/plane05.xpm
 create mode 100644 wmcapshare/xpm/plane06.xpm
 create mode 100644 wmcapshare/xpm/plane07.xpm
 create mode 100644 wmcapshare/xpm/plane08.xpm
 create mode 100644 wmcapshare/xpm/plane09.xpm
 create mode 100644 wmcapshare/xpm/plane10.xpm
 create mode 100644 wmcapshare/xpm/plane11.xpm
 create mode 100644 wmcapshare/xpm/plane12.xpm
 create mode 100644 wmcapshare/xpm/plane13.xpm
 create mode 100644 wmcapshare/xpm/plane14.xpm
 create mode 100644 wmcapshare/xpm/plane15.xpm
 create mode 100644 wmcapshare/xpm/plane16.xpm
 create mode 100644 wmcapshare/xpm/plane17.xpm
 create mode 100644 wmcapshare/xpm/plane18.xpm
 create mode 100644 wmcapshare/xpm/plane19.xpm
 create mode 100644 wmcapshare/xpm/test.gif
 create mode 100644 wmcapshare/xpm/transfering.xpm
 create mode 100644 wmcapshare/xpm/tstatfield.xpm
 create mode 100644 wmcapshare/xpm/tstatfld.xpm

diff --git a/wmcapshare/AUTHORS b/wmcapshare/AUTHORS
new file mode 100644
index 000..f7158b1
--- /dev/null
+++ b/wmcapshare/AUTHORS
@@ -0,0 +1,6 @@
+Ben Moore 
+
+Code Samples:
+  Pontus Fuchs  (openobex communication)
+  A.Sleep  (libdockapp example)
+  Stephen Crane  (character set from wmseti)
diff --git a/wmcapshare/COPYING b/wmcapshare/COPYING
new 

[PATCH 1/4] wmappkill: Add version 0.2 to repository.

2016-12-03 Thread Doug Torrance
From:
http://www.sourcefiles.org/Utilities/GUI/wmappkill-0.2.tar.gz
---
 wmappkill/COPYING   | 340 +++
 wmappkill/ChangeLog |  10 +
 wmappkill/INSTALL   |  12 +
 wmappkill/Makefile  |  20 ++
 wmappkill/README|  21 ++
 wmappkill/fond.xbm  |  47 
 wmappkill/wmAppKill.c   | 611 
 wmappkill/wmAppKill.h   |  54 +
 wmappkill/wmAppKill.xpm | 375 +
 9 files changed, 1490 insertions(+)
 create mode 100644 wmappkill/COPYING
 create mode 100644 wmappkill/ChangeLog
 create mode 100644 wmappkill/INSTALL
 create mode 100644 wmappkill/Makefile
 create mode 100644 wmappkill/README
 create mode 100644 wmappkill/fond.xbm
 create mode 100644 wmappkill/wmAppKill.c
 create mode 100644 wmappkill/wmAppKill.h
 create mode 100644 wmappkill/wmAppKill.xpm

diff --git a/wmappkill/COPYING b/wmappkill/COPYING
new file mode 100644
index 000..a3f6b12
--- /dev/null
+++ b/wmappkill/COPYING
@@ -0,0 +1,340 @@
+   GNU GENERAL PUBLIC LICENSE
+  Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+  59 Temple Place - Suite 330, Boston, MA
+  02111-1307, USA.
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+   Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+   GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language.  (Hereinafter, translation is included without limitation in
+the term "modification".)  Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running the Program is not restricted, and the output from the Program
+is covered only 

[PATCH 3/3] wmhexaclock: Add version 0.1 to repository.

2016-12-01 Thread Doug Torrance
From:
http://www.sourcefiles.org/Toys/Clocks/wmHexaClock0.1.tar.gz
---
 wmhexaclock/AUTHORS | Bin 0 -> 22696 bytes
 wmhexaclock/INSTALL |  23 +++
 wmhexaclock/LICENSE | 339 
 wmhexaclock/Makefile|  44 ++
 wmhexaclock/README  |  47 ++
 wmhexaclock/src/.main.c.swp | Bin 0 -> 16384 bytes
 wmhexaclock/src/main.c  | 285 +
 wmhexaclock/src/pixmaps.h   | 178 +++
 wmhexaclock/src/wmgeneral.c | 180 +++
 wmhexaclock/src/wmgeneral.h |  25 
 wmhexaclock/wmHexaClock | Bin 0 -> 23868 bytes
 11 files changed, 1121 insertions(+)
 create mode 100644 wmhexaclock/AUTHORS
 create mode 100644 wmhexaclock/INSTALL
 create mode 100644 wmhexaclock/LICENSE
 create mode 100644 wmhexaclock/Makefile
 create mode 100644 wmhexaclock/README
 create mode 100644 wmhexaclock/src/.main.c.swp
 create mode 100644 wmhexaclock/src/main.c
 create mode 100644 wmhexaclock/src/pixmaps.h
 create mode 100644 wmhexaclock/src/wmgeneral.c
 create mode 100644 wmhexaclock/src/wmgeneral.h
 create mode 100755 wmhexaclock/wmHexaClock

diff --git a/wmhexaclock/AUTHORS b/wmhexaclock/AUTHORS
new file mode 100644
index 
..c9417bae7dfefbcda7d0ad9ac0c16fb4ee8a4c6e
GIT binary patch
literal 22696
zcmZ^ILzFHItYn+FZQr(S-?qQDZQHhO+qP}nwrzL6|IKdBnK`LN7M1LhN}UiyLIH_T
z58(VNC_8yKDGOt4$Ql8;b>`p-Pa~X~+Ro^7`#c|Rw%Yn|aP#{*`n&}4eJYke@HbaVmp>ys?!s!GAndA}O1-Kg
zKCS*}VW!eOQ9xoeOevYiSDr%hOY){ySG$~>WU8y4LpCld=VJ_;WSXd`UM`(it9!9h
zS1P_XDroS#JM64BZm(SU(j=HRbqv5uXl#fmCvkUWs*+7FdJQ9dZO&%7h-lN%X$jRn>85;I%_`1ki>m-8ehJb2M!=9o`2{?B*7n9xJ`xs|0T6_nwEtP9!t=dL-
zt~=+Plt@<(D$2U1*HC@Dy*G>@p8;bA@apXM38uDu9>CY$>;8~kXS<4Qx5wxhtsMQL
zUg$zzyh~(zPNX@{BW*UQC7To`MHrWiniy`|k858!8KjoXQ0@HfX>o~U+7`^A^g+mV
zrh91gcqni=j;vBky8`F)0XA6vZC&{JJpH{owQ%CZl@0a1z}kKNt<}x$<_-My{eJmc
zUcY3g*G>E{KY8x`{?)yI1dEZrj6LN3w&%bHK+<-{tcNt=*8b9kvR`R1d=hW3+5N^K5uxY$19G_+udh2Rag-r8FU)z
z<`!~M>jj-_U4D$T}xs}g=?yJ)U^j@(xE?(oG8m0cI#Bh^c3tRsWf@(C}H>1
zyVXe$&?)Xll%**gxgpow+)As3$>@g(cE$<^1HTrPes)*AbChQA81uC0RhLkPe6B
zw6WGg-b;hfsXjON#QCXXLw<}2H1=89NF|<2F~wnBTP?7e2kl
z6qr)YeSL8T3l}Ud7e50}>q3gnY4lJ8M>RR%>S^b4#B(i^%0Mnmxn#;~9qYmV)cvti
zRaB~^jDi4xbnJ;9ckSroHiioN(AS=uac-uQ6x##x@Jp_6A>xa3Vj{);TgzLLoIOd4
zXf0J|+oR~eu6o{86!$hZP2r}I_$1r>6F||+z^Us}8jNYuUAiU^ATm#0{od8m?gM1l
zy5dD@!=MUE%IhJFn(SgenUJr51hz(;t+a`JdKkjK_QPR(^Y7IlJtLw?usT`{Bi=>0
zg_z9oUoPK$hhmKy8tNv>(jLCprPH|EDWUV_qK+f#O+(#z_jMnS84{zFvA$(8485TF
zz3CHG^?k<1{7ArjHbgXRegfOLvkgJePT#9*fv|pOt^57lRVKrXW0dh@vf(+<=KeCw
zo{V&8ca~xK5!->WdAK6%0ulLUAl4&`yqt=I?2vS(=i6xL7(ke#yy=rF7A8SbB198n
zE?n80HPMx;w66#+kHEI4j#R*0qkeeMDaXV-*@Iu08&+~jAJCjHvwWwz*
z0>MqM7c1bmyYAr3rADW!8JY|qyBuwP4cjMF$fClwj}hC8I!q7ez^!1F9LNbA
z;h}@1J08VyZlPNhwY#lo+SOnPddXUWUXGDdA^uo53q&U9}Eo{7;FHV5l=<
zV6U}FNr1&@@Fgwf-)&`c4gTN737hTNkE5@o!-Sv-y4C!Yi=$)8H%RVR3uKX!P-mDD
z{o;`*kgQ!`<3dnTOP;vB?xS=)gf!
zO+z`iTDu4=8zIyh347p@hauJiMAr-qx85R(rbFU)mux*yfv6Nn#*lE?b%evm=wd~y
z6B0}-f5f}6yP-hk9nChiz<)IuSYhr^6a6r#23*-{|477L8}Mi1sO95;i4iy0aiu1S
z$}t2XAd$$SQLKShv*OPpyBbp;?$5B$tu7;oqsk^BJ+iJnyu`0^!ip^5#Qo=@8xe29
zQ_%#Wc6T60X?bfXW(04?S{oqS=@*0_EFWTuw=jWe%0NX#F-wt3*y9x
zhO_X(aToT|@kyJ|JKFUuA1OT>;eJFg8~)9A_PA!uK`UT{r6-4S_Ao;GW6ikp2J89v
z#-;6c^~;5qm8e#m;@iZfj*bq!nq=$itsr1pNj=!oq#i2z<3y|$@s7*c1?pV(bk$JL
zw*=<_AHDzc^nNC|KmcaSnF}EXR-9y`0Rv|D3mSV$QihU`P3K|1@U#SzEjnTU!v{i6dG0zls~<-HOXt!_E-a3)dJbW$u?a(k2RV8(5!#Ht(!D}8>NY}AKva?U0
z$88emLcPQ+G20HD52{Vx+E8s7R22qi|1~Lrc*8MfpAAbj2hjznh~oYcN}E6@=~=R)
z3P`NT&@}BGCpX>JBh+xI_p>@sj7?Hi6|~KwP7DCrzO>y)K`k8Y)Ek)5fF~5FN
zOky{pL*V3#LT=L9cEoz9U%PSEm!O3A`Qz!W
zb=*=pn!)XiYP4#7#PyR~|Ccx~NXQ!BaebCM#K~)hBLVqudkK6NfM;
zJSDGIk~}ynOSl;9f;WXVZKsCiXXbxc)|*}N@?Gyf#3|B0CbOxT>C3tt^HSyDfNr9j
z3rHMbO$#|@zQL=f%`?Ghq_0T=%@_`urb)c$`ZP^wZp2Tnm1AD*j#Sr6gkr|O&~u5o
z!4Q(5`l~GpSnaT5GZkkU)
zy7k-#rnWNdzThz@|zu4+Q5-VdSl%^*r<3M;rzy!}yFX;iGPPS?UAl~rZ
z23pWcnc~(Vji6Mr$sq%XUs1h0xU{%dNhmPX5@PR!%I1_s5cJaM0u`gRVmM6VPjHy!
zjLG3F%=mxEL-OcI$#oOtfRe=XMRFgy%J#L(pw0pra70EA?;w5xM;
zJ%IgLKlZEtotf!ySi_=gX>UozElN=o2y}*rx%4ZrA`q;BaC2kAumcHoEl0VSV
z4sc`nXsWrW@+Gvo>Kfq6V9t?5eQ*50e5`L*>
zrzix(ENkYT!wF_XEWj_aFm>?D>ent4@
zi^(*O+J{>pI2H`H5slhtO^})?F$r4PL(;mSuZVewLUP2uvhCgT9_yp23t9ydsSEO0
z74TLV+E;gUoBGeK#Lbp8oyN88=x^=JD>>Cvo`5%(I?Y%S)nJm>ggQ#wGbUsd)u1RX
z`N+lR*nx3)*DxB@Y=!iRW{srG_!6kCf@$&-;i5K!JOlZUCCYn$ANdscCj6qj`

[PATCH 2/3] wmxss: Add version 0.1 to repository.

2016-12-01 Thread Doug Torrance
From:
http://www.cs.mun.ca/~gstarkes/wmaker/dockapps/files/wmxss-0.1.tar.gz
---
 wmxss/COPYING  | 339 +++
 wmxss/Src/.nfs3822 | Bin 0 -> 183024 bytes
 wmxss/Src/Makefile |  36 +
 wmxss/Src/Makefile.sgi |  36 +
 wmxss/Src/Makefile.solaris |  36 +
 wmxss/Src/wmxss| Bin 0 -> 13292 bytes
 wmxss/Src/wmxss.c  | 338 +++
 wmxss/Src/wmxss.o  | Bin 0 -> 5284 bytes
 wmxss/Src/wmxss_mask.xbm   |  38 +
 wmxss/Src/wmxss_master.xpm |  73 ++
 wmxss/Src/xutils.c | 354 +
 wmxss/Src/xutils.h |  48 ++
 wmxss/Src/xutils.o | Bin 0 -> 6724 bytes
 13 files changed, 1298 insertions(+)
 create mode 100644 wmxss/COPYING
 create mode 100755 wmxss/Src/.nfs3822
 create mode 100644 wmxss/Src/Makefile
 create mode 100644 wmxss/Src/Makefile.sgi
 create mode 100644 wmxss/Src/Makefile.solaris
 create mode 100755 wmxss/Src/wmxss
 create mode 100644 wmxss/Src/wmxss.c
 create mode 100644 wmxss/Src/wmxss.o
 create mode 100644 wmxss/Src/wmxss_mask.xbm
 create mode 100644 wmxss/Src/wmxss_master.xpm
 create mode 100644 wmxss/Src/xutils.c
 create mode 100644 wmxss/Src/xutils.h
 create mode 100644 wmxss/Src/xutils.o

diff --git a/wmxss/COPYING b/wmxss/COPYING
new file mode 100644
index 000..a43ea21
--- /dev/null
+++ b/wmxss/COPYING
@@ -0,0 +1,339 @@
+   GNU GENERAL PUBLIC LICENSE
+  Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+  675 Mass Ave, Cambridge, MA 02139, USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+   Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+   GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications 

[PATCH 1/3] wmymail: Add version 0.3 to repository.

2016-12-01 Thread Doug Torrance
From:
http://distro.ibiblio.org/amigolinux/download/DockApps/wmymail-0.3/wmymail-0.3.tar.bz2
---
 wmymail/ChangeLog|  49 +
 wmymail/Makefile |  50 +
 wmymail/README   |  75 +++
 wmymail/README.old   |  66 ++
 wmymail/VERSION  |   1 +
 wmymail/lsm.in   |  12 ++
 wmymail/raw-envelope.jpg | Bin 0 -> 40702 bytes
 wmymail/wmymail-0.3.lsm  |  13 ++
 wmymail/wmymail.c| 545 +++
 wmymail/xpm/main.xpm | 142 
 wmymail/xpm/mbox_1.xpm   | 182 
 wmymail/xpm/mbox_2.xpm   | 254 ++
 wmymail/xpm/mbox_3.xpm   | 292 +
 wmymail/xpm/numbers.xpm  |  16 ++
 wmymail/xpm/unumbers.xpm |  16 ++
 15 files changed, 1713 insertions(+)
 create mode 100644 wmymail/ChangeLog
 create mode 100644 wmymail/Makefile
 create mode 100644 wmymail/README
 create mode 100644 wmymail/README.old
 create mode 100644 wmymail/VERSION
 create mode 100644 wmymail/lsm.in
 create mode 100644 wmymail/raw-envelope.jpg
 create mode 100644 wmymail/wmymail-0.3.lsm
 create mode 100644 wmymail/wmymail.c
 create mode 100644 wmymail/xpm/main.xpm
 create mode 100644 wmymail/xpm/mbox_1.xpm
 create mode 100644 wmymail/xpm/mbox_2.xpm
 create mode 100644 wmymail/xpm/mbox_3.xpm
 create mode 100644 wmymail/xpm/numbers.xpm
 create mode 100644 wmymail/xpm/unumbers.xpm

diff --git a/wmymail/ChangeLog b/wmymail/ChangeLog
new file mode 100644
index 000..b99dbac
--- /dev/null
+++ b/wmymail/ChangeLog
@@ -0,0 +1,49 @@
+ChangeLog for wmymail
+-
+
+2004-06-11  Joshua Swink 
+
+  * Version 0.3
+
+  * Documentation (code comments, README, LSM file)
+
+2002-08-28  Thomas Nemeth 
+
+  * Added -m/--mailbox option for specifying mailbox when no $MAIL
+variable is available
+
+  * Corrected the misbehavior about zombie child process
+
+2002-03-27  Joshua Swink  
+
+  * Change error message about unset MAIL variable
+
+2001-07-26  Joshua Swink  
+
+  * Version 0.2
+
+  * Changed -f (for fetchmail) to -F
+
+  * Added -n/--newcommand option for something to run when new mail
+is received
+
+  * Added -c/--command option for something to run when clicked
+
+  * Reduced xpm file sizes by reducing their colors in the Gimp
+
+  * checkfetchmail() - use mkstemp()
+
+  * Add -Wall to Makefile's CFLAGS (and fix resulting warnings)
+
+  * Remove code that futzes with the mail file's access time
+
+  * parseMailFile() - less likely to misinterpret a message with long lines
+
+2001-06-06  Joshua Swink  
+
+  * Version 0.1
+
+  * Change lots of stuff
+
+  * Fork from wmail
+
diff --git a/wmymail/Makefile b/wmymail/Makefile
new file mode 100644
index 000..d9812c2
--- /dev/null
+++ b/wmymail/Makefile
@@ -0,0 +1,50 @@
+#
+# Makefile for wmymail
+#
+
+
+PROGRAM=wmymail
+
+VERSION=$(shell cat VERSION)
+DISTDIR=$(PROGRAM)-$(VERSION)
+TARBALL=$(PROGRAM)-$(VERSION).tar.gz
+LSM=$(PROGRAM)-$(VERSION).lsm
+
+CC  = cc
+LIBS= -L/usr/X11R6/lib -lX11 -lXpm -lXext -ldockapp
+CFLAGS  = -O2 -I/usr/X11R6/include -Wall
+XPMS = xpm/main.xpm xpm/mbox_1.xpm xpm/mbox_2.xpm xpm/mbox_3.xpm \
+  xpm/numbers.xpm xpm/unumbers.xpm
+DISTFILES = Makefile README README.old ChangeLog wmymail.c \
+  raw-envelope.jpg lsm.in VERSION
+
+default all target: wmymail
+
+wmymail: wmymail.o
+   $(CC) $< $(CFLAGS) $(LIBS) -o $@
+
+wmymail.o: wmymail.c $(XPMS)
+   $(CC) $(CFLAGS) $(MY_INCS) -o $@ -c $<
+
+clean:
+   rm -f wmymail wmymail.o $(LSM) $(TARBALL)
+   rm -fr $(DISTDIR)
+
+dist: $(TARBALL)
+
+lsm: $(LSM)
+
+$(LSM):
+   make-lsm
+
+$(TARBALL): $(DISTFILES) $(LSM)
+   rm -fr $(DISTDIR)
+   mkdir -p $(DISTDIR)/xpm
+   cp $(DISTFILES) $(DISTDIR)
+   cp $(XPMS) wmymail-$(VERSION)/xpm
+   rm -f wmymail-$(VERSION).tar.gz
+   tar -c $(DISTDIR) | gzip > $(TARBALL)
+   make-lsm
+   cp $(LSM) $(DISTDIR)
+   tar -c $(DISTDIR) | gzip > $(TARBALL)
+
diff --git a/wmymail/README b/wmymail/README
new file mode 100644
index 000..4c93881
--- /dev/null
+++ b/wmymail/README
@@ -0,0 +1,75 @@
+
+readme for wmymail - mail checker dock application
+
+wmymail is a dock application that shows how many messages are in your
+mailbox, and how many of them are unread.  When there are new messages,
+it displays one or more brightly colored envelopes.  Otherwise, it
+displays a dull, gray envelope.
+
+
+BEHAVIOR
+
+
+mbox (local mail file) (default)
+
+
+By default, it will check your mailbox file about once per second to
+see if it has changed. If it has changed, wmymail reads it to see how
+many messages are inside, and how many have been read, and displays
+the current counts.
+
+  * It looks at the filename specified in the $MAIL environment
+variable.
+
+  * You can tell it to look in a different file by using the -m
+option, e.g.  

[PATCH 1/3] wmbiff: Use unsigned data type for port number.

2016-11-30 Thread Doug Torrance
---
 wmbiff/wmbiff/Client.h | 7 ---
 wmbiff/wmbiff/socket.c | 4 ++--
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/wmbiff/wmbiff/Client.h b/wmbiff/wmbiff/Client.h
index b3a048c..cd89496 100644
--- a/wmbiff/wmbiff/Client.h
+++ b/wmbiff/wmbiff/Client.h
@@ -18,6 +18,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 
 #ifdef HAVE_GCRYPT_H
@@ -78,8 +79,8 @@ typedef struct _mbox_t {
char password[BUF_SMALL];
char userName[BUF_BIG];
char serverName[BUF_BIG];
-   int serverPort;
-   int localPort;
+   uint16_t serverPort;
+   uint16_t localPort;
char authList[100];
unsigned int dossl:1;   /* use tls. */
/* prompt the user if we can't login / password is 
empty */
@@ -113,7 +114,7 @@ int shellCreate( /*@notnull@ */ Pop3 pc, const char *str);
 int mboxCreate( /*@notnull@ */ Pop3 pc, const char *str);
 int maildirCreate( /*@notnull@ */ Pop3 pc, const char *str);
 
-int sock_connect(const char *hostname, int port);
+int sock_connect(const char *hostname, uint16_t port);
 FILE *openMailbox(Pop3 pc, const char *mbox_filename);
 
 /* backtickExpand returns null on failure */
diff --git a/wmbiff/wmbiff/socket.c b/wmbiff/wmbiff/socket.c
index 7f7a9ec..87d0732 100644
--- a/wmbiff/wmbiff/socket.c
+++ b/wmbiff/wmbiff/socket.c
@@ -48,7 +48,7 @@ static int sanity_check_hostname(const char *hostname)
|| inet_aton(hostname, ));
 }
 
-static int ipv4_sock_connect(struct in_addr *address, short port)
+static int ipv4_sock_connect(struct in_addr *address, uint16_t port)
 {
struct sockaddr_in addr;
int fd, i;
@@ -82,7 +82,7 @@ static int ipv4_sock_connect(struct in_addr *address, short 
port)
 /* 1 June 2002; incorporated IPv6 support by
Jun-ichiro itojun Hagino , thanks! */
 
-int sock_connect(const char *hostname, int port)
+int sock_connect(const char *hostname, uint16_t port)
 {
 #ifdef HAVE_GETADDRINFO
struct addrinfo hints, *res, *res0;
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 0/3] wmbiff

2016-11-30 Thread Doug Torrance
Here's a few small patches for wmbiff.  Carlos, could you tag the last
commit wmbiff-0.4.30?

Thanks!

Doug Torrance (3):
  wmbiff: Use unsigned data type for port number.
  wmbiff: Add #define _GNU_SOURCE to avoid "implicit declaration"
warnings.
  wmbiff: Bump to verson 0.4.30.

 wmbiff/ChangeLog| 23 +++
 wmbiff/NEWS |  6 ++
 wmbiff/configure.ac |  2 +-
 wmbiff/wmbiff/Client.h  |  7 ---
 wmbiff/wmbiff/Imap4Client.c |  2 ++
 wmbiff/wmbiff/ShellClient.c |  2 ++
 wmbiff/wmbiff/passwordMgr.c |  2 ++
 wmbiff/wmbiff/socket.c  |  4 ++--
 wmbiff/wmbiff/test_wmbiff.c |  2 ++
 9 files changed, 44 insertions(+), 6 deletions(-)

-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


Re: mailing lists archives

2017-01-03 Thread Doug Torrance

On 01/01/2017 12:52 PM, Christian wrote:

I want to update the NEWS page, still showing 0.95.6 NEWS ;)


The 0.95.7 section of NEWS seems pretty thorough...

http://repo.or.cz/wmaker-crm.git/blob/HEAD:/NEWS


--
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 1/4] wmomikuzi: Add version 0.122 to repository.

2016-12-18 Thread Doug Torrance
From:
http://ftp.vinelinux.org/pub/Vine/VineSeed/SRPMS.orphaned/wmomikuzi-0.122-0vl1.src.rpm
---
 wmomikuzi/INSTALL|  10 +
 wmomikuzi/Makefile   |  35 +++
 wmomikuzi/README |  87 ++
 wmomikuzi/TODO   |   2 +
 wmomikuzi/XPM/back.xpm   | 651 ++
 wmomikuzi/XPM/button_pressed.xpm | 657 +++
 wmomikuzi/XPM/chukichi.xpm   | 341 
 wmomikuzi/XPM/daikichi.xpm   | 361 +
 wmomikuzi/XPM/daikyou.xpm| 416 +
 wmomikuzi/XPM/kyou.xpm   | 302 ++
 wmomikuzi/XPM/shoukichi.xpm  | 329 
 wmomikuzi/XPM/suekichi.xpm   | 394 +++
 wmomikuzi/dockapp.c  | 565 +
 wmomikuzi/dockapp.h  | 230 ++
 wmomikuzi/wmomikuzi.c| 166 ++
 15 files changed, 4546 insertions(+)
 create mode 100644 wmomikuzi/INSTALL
 create mode 100644 wmomikuzi/Makefile
 create mode 100644 wmomikuzi/README
 create mode 100644 wmomikuzi/TODO
 create mode 100644 wmomikuzi/XPM/back.xpm
 create mode 100644 wmomikuzi/XPM/button_pressed.xpm
 create mode 100644 wmomikuzi/XPM/chukichi.xpm
 create mode 100644 wmomikuzi/XPM/daikichi.xpm
 create mode 100644 wmomikuzi/XPM/daikyou.xpm
 create mode 100644 wmomikuzi/XPM/kyou.xpm
 create mode 100644 wmomikuzi/XPM/shoukichi.xpm
 create mode 100644 wmomikuzi/XPM/suekichi.xpm
 create mode 100644 wmomikuzi/dockapp.c
 create mode 100644 wmomikuzi/dockapp.h
 create mode 100644 wmomikuzi/wmomikuzi.c

diff --git a/wmomikuzi/INSTALL b/wmomikuzi/INSTALL
new file mode 100644
index 000..9512ea1
--- /dev/null
+++ b/wmomikuzi/INSTALL
@@ -0,0 +1,10 @@
+WMOMIKUZI INSTALLATION
+
+To compile and install wmbbs.
+
+(1) Edit Makefile as you like.
+(2) Type "make"
+(3) Then type "make install"
+
+To uninstall.
+ Just type "make uninstall".
diff --git a/wmomikuzi/Makefile b/wmomikuzi/Makefile
new file mode 100644
index 000..aa8769b
--- /dev/null
+++ b/wmomikuzi/Makefile
@@ -0,0 +1,35 @@
+### Edit here as you like :)
+BINDIR = /usr/local/bin
+###
+
+DEST = wmomikuzi
+
+# Programs used to move the binary to the proper place.
+INSTALL = /usr/bin/install
+INSTALL_PROGRAM = ${INSTALL} -m 755
+UNINSTALL_PROGRAM = rm -rf
+
+CC = gcc
+OPTIMIZE = -O2
+XLIBDIR = /usr/X11R6/lib
+#XLIB = -ldockapp -lXpm -lXext -lX11
+XLIB = -lXpm -lXext -lX11
+OBJ = wmomikuzi.o dockapp.o
+
+$(DEST) : $(OBJ)
+   $(CC) $(OBJ) -L$(XLIBDIR) $(XLIB) -o $(DEST)
+
+dockapp.o: dockapp.c
+   $(CC) $(OPTIMIZE) $< -c
+
+wmomikuzi.o: wmomikuzi.c
+   $(CC) $(OPTIMIZE) $< -c
+
+install:
+   $(INSTALL_PROGRAM) ./$(DEST) $(BINDIR)/$(DEST)
+
+uninstall:
+   $(UNINSTALL_PROGRAM) $(BINDIR)/$(DEST)
+
+clean:
+   rm -rf $(DEST) $(OBJ) *~
diff --git a/wmomikuzi/README b/wmomikuzi/README
new file mode 100644
index 000..28b260a
--- /dev/null
+++ b/wmomikuzi/README
@@ -0,0 +1,87 @@
+
+  WMOMIKUZI version 0.122
+  Copyrigth(C) 1999, Makoto SUGANO.
+(m-sug...@01.246.ne.jp)
+
+
+What is this?
+
+
+   It's a dock-app that predicts your luck (without any basis)
+ in traditional Japanese Style. "omikuzi" means "written orale" or
+ "fortune telling" in Japanese.
+
+   The latest version will be in available in:
+   http://www.01.246.ne.jp/~m-sugano/apps.html
+
+
+How I install it?
+=
+
+   Please read INSTALL file.
+
+
+License?
+
+
+   wmomikuzi is based on libdock and other GPL'ed software. 
+   This program is distributed under the GPL license.
+
+
+How do I read the messages?
+===
+
+Messages shown in wmomikuzi are combination of characters below.
+
+
+   charcter pronunciation meaning
+
+   @
+@@@   DAI   big
+   @
+  @ @
+ @   @
+@ @
+
+
+   @
+@@@   CHU   medium
+@  @  @
+@@@
+   @
+   @
+
+
+   @
+   @  SHOU  small
+@  @  @
+   @   @   @
+   @
+   @
+
+
+   @
+   @  SUE   afterwards
+   @  
+@@@
+  @@@
+ @ @ @
+@  @  @
+
+
+   @
+@@@   KICHI good luck
+   @  
+ @
+
+ @
+ @   @
+ @
+
+
+   @ @ @
+   @ @  @  @  KYOU  bad luck
+   @   @   @
+   @  @  @ @
+   @ @ @
+   @
diff --git a/wmomikuzi/TODO b/wmomikuzi/TODO
new file mode 100644
index 000..da8e6f4
--- /dev/null
+++ b/wmomikuzi/TODO
@@ -0,0 +1,2 @@
+2000 19 JAN
+   merge all the xpm's into a file.
diff --git a/wmomikuzi/XPM/back.xpm b/wmomikuzi/XPM/back.xpm
new file mode 100644
index 000..665f74c
--- /dev/null
+++ 

[PATCH 4/4] wmtetris: Add wmtetris version 0.1 to repository.

2016-12-18 Thread Doug Torrance
From:
http://www.cs.mun.ca/~gstarkes/wmaker/dockapps/files/wmtetris-0.1.tar.gz
---
 wmtetris/README |  22 ++
 wmtetris/wmgeneral/wmgeneral.c  | 366 ++
 wmtetris/wmgeneral/wmgeneral.h  |  50 +++
 wmtetris/wmtetris/Makefile  |  16 +
 wmtetris/wmtetris/wmmon.c   | 739 
 wmtetris/wmtetris/wmtetris-mask.xbm |  46 +++
 wmtetris/wmtetris/wmtetris.c| 302 +++
 wmtetris/wmtetris/wmtetris.h|  40 ++
 wmtetris/wmtetris/wmtetris.xpm  | 532 ++
 9 files changed, 2113 insertions(+)
 create mode 100644 wmtetris/README
 create mode 100644 wmtetris/wmgeneral/wmgeneral.c
 create mode 100644 wmtetris/wmgeneral/wmgeneral.h
 create mode 100644 wmtetris/wmtetris/Makefile
 create mode 100644 wmtetris/wmtetris/wmmon.c
 create mode 100644 wmtetris/wmtetris/wmtetris-mask.xbm
 create mode 100644 wmtetris/wmtetris/wmtetris.c
 create mode 100644 wmtetris/wmtetris/wmtetris.h
 create mode 100644 wmtetris/wmtetris/wmtetris.xpm

diff --git a/wmtetris/README b/wmtetris/README
new file mode 100644
index 000..96923b7
--- /dev/null
+++ b/wmtetris/README
@@ -0,0 +1,22 @@
+Here it is, just what you always wanted -- tetris for the dock.
+
+To install, type make or something.
+
+I started with the wmapm code and made just enough changes to make it
+play tetris and not show your laptop's battery status. So if you want
+actual documentation, refer to the files that come with wmapm.
+
+This is commercial software. If you decide to keep it after your 21 day
+evaluation period, you are required by law to send me the registration
+fee of $899 U.S. Failure to promptly transfer these funds may result in
+criminal prosecution for violation of U.S. copyright law and Bill Gates
+will shake is finger at you and condemn you as a thief of "intellectual
+property".
+
+WMTETRIS IS PROVIDED "AS IS", AND COMES WITH NO WARRANTY WHATSOEVER,
+INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTEES OF NOT MAKING YOU
+FEEL LIKE A JERK FOR DOWNLOADING CRAPPY SOFTWARE, AND OF NOT CAUSING A
+CULT FOLLOWING TO DEVELOP ;-). 
+
+Comments, questions, and psychiatric referrals to sr...@cornell.edu.
+
diff --git a/wmtetris/wmgeneral/wmgeneral.c b/wmtetris/wmgeneral/wmgeneral.c
new file mode 100644
index 000..a4f13c1
--- /dev/null
+++ b/wmtetris/wmgeneral/wmgeneral.c
@@ -0,0 +1,366 @@
+/*
+   Best viewed with vim5, using ts=4
+
+   wmgeneral was taken from wmppp.
+
+   It has a lot of routines which most of the wm* programs use.
+
+   
+
+   Author: Martijn Pieterse (piete...@xs4all.nl)
+
+   ---
+   CHANGES:
+   ---
+   02/05/1998 (Martijn Pieterse, piete...@xs4all.nl)
+   * changed the read_rc_file to parse_rcfile, as suggester by 
Marcelo E. Magallon
+   * debugged the parse_rc file.
+   30/04/1998 (Martijn Pieterse, piete...@xs4all.nl)
+   * Ripped similar code from all the wm* programs,
+ and put them in a single file.
+
+*/
+
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+
+#include 
+#include 
+#include 
+
+#include "wmgeneral.h"
+
+  /*/
+ /* X11 Variables */
+/*/
+
+Window Root;
+intscreen;
+intx_fd;
+intd_depth;
+XSizeHints mysizehints;
+XWMHints   mywmhints;
+Pixel  back_pix, fore_pix;
+char   *Geometry = "";
+Window iconwin, win;
+GC NormalGC;
+XpmIconwmgen;
+Pixmap pixmask;
+
+  /*/
+ /* Mouse Regions */
+/*/
+
+typedef struct {
+   int enable;
+   int top;
+   int bottom;
+   int left;
+   int right;
+} MOUSE_REGION;
+
+#define MAX_MOUSE_REGION (8)
+MOUSE_REGION   mouse_region[MAX_MOUSE_REGION];
+
+  /***/
+ /* Function Prototypes */
+/***/
+
+static void GetXPM(XpmIcon *, char **);
+static Pixel GetColor(char *);
+void RedrawWindow(void);
+void AddMouseRegion(int, int, int, int, int);
+int CheckMouseRegion(int, int);
+
+/***\
+|* read_rc_file
   *|
+\***/
+
+void parse_rcfile(const char *filename, rckeys *keys) {
+
+   char*p;
+   chartemp[128];
+   char*tokens = " :\t\n";
+   FILE*fp;
+   int i,key;
+
+   fp = fopen(filename, "r");
+   if (fp) {
+   while (fgets(temp, 128, fp)) {
+   key = 0;
+   while (key >= 0 && keys[key].label) {
+   

[PATCH 3/4] wmswallow: Add version 0.6.1 to repository.

2016-12-18 Thread Doug Torrance
From:
http://ponce.cc/slackware/sources/repo/wmswallow.tar.Z
---
 wmswallow/CHANGELOG  |  67 +
 wmswallow/INSTALL|  34 +++
 wmswallow/LICENCE| 341 
 wmswallow/Makefile   |  45 
 wmswallow/README | 160 +++
 wmswallow/README.solaris |  16 ++
 wmswallow/todo   | 130 +
 wmswallow/version.h  |   1 +
 wmswallow/wmswallow.c| 678 +++
 wmswallow/wmswallow.spec |  56 
 10 files changed, 1528 insertions(+)
 create mode 100644 wmswallow/CHANGELOG
 create mode 100644 wmswallow/INSTALL
 create mode 100644 wmswallow/LICENCE
 create mode 100644 wmswallow/Makefile
 create mode 100644 wmswallow/README
 create mode 100644 wmswallow/README.solaris
 create mode 100644 wmswallow/todo
 create mode 100644 wmswallow/version.h
 create mode 100644 wmswallow/wmswallow.c
 create mode 100644 wmswallow/wmswallow.spec

diff --git a/wmswallow/CHANGELOG b/wmswallow/CHANGELOG
new file mode 100644
index 000..413e394
--- /dev/null
+++ b/wmswallow/CHANGELOG
@@ -0,0 +1,67 @@
+   -*- text -*-
+Time-stamp: <00/05/15 23:33:49 friedel>
+
+(Note: don't get confused, the dates in this file are in german-locale (de_DE),
+   because i was too lazy to use something else than 
+   ctrl-u meta-! date... but the timestamp is in C locale...)
+
+0.6.1: 
+Fixed eternal loop under openwindows (solaris-x86)
+  
+Added wmswallow.spec for easy building of rpm :-)
+   
+
+0.6: 
+Celebrated first wmswallow version without my favorite bug, with a beer :-)
+Made the switches work :-)
+   
+Added commandline switches -managed -unmanaged. -managed is the default
+behaviour, we wait for the Window to be reparented.
+  
+Added code from Jason Lowdermilk to listen to CreateWindow Events, after the
+app has been started. Then i modified it heavily, because i found it was still
+too unreliable. Now wmswallow Listens for ReparentNotify events. So, we rely
+on WindowMaker first reparenting the windows, then sleep just a second and can
+be sure that everything worked! And i don't think that the Windowmaker
+behaviour (or any other windowmanager) will change in that respect :-) Well,
+this might not work for xteddy (or other apps that are ignored by the
+windowmanager)
+   
+Put code to check window for WM_CLASS and WM_NAME in extra function.
+
+
+0.5.3: 
+Fixed a nasty bug that i introduced by modyfying Jason's patch incorrectly and
+some tiny cleanups.
+  
+Added thanks to the contributors to README
+  
+Incorporated patch from Jason Lowdermilk  to enable
+finding windows by WM_NAME (i confused WM_NAME with the name part of the
+property returned by XGetClassHint. The patch fixes some memory leaks as well.
+Jason says, this helps with some Java-Applications.
+
+
+
+0.5.2: 
+Modified README
+New switch: -focus/-nofocus, to make focus-handling enabled only on demand,
+more fixes  to focus-handling (this time for real...)
+   
+Small code cleanups, fixes for focus handling (windows could "lose" focus)
+   
+Keyboard focus works now.
+   
+Makefile modified, new target xfree tested under linux and freebsd
+   
+
+0.5.1: 
+softenwindows() is superfluous, removed
+chidren_return is now XFree'd in findnamedwindowacc()
+
+0.5: 
+Initial beta release, all functionality present, some small bugs, some small
+shortcomings.
+
+Shortly after freshmeat announcement i discovered a small bug in the Makefile,
+but that was fixed before the news got out.
diff --git a/wmswallow/INSTALL b/wmswallow/INSTALL
new file mode 100644
index 000..8120116
--- /dev/null
+++ b/wmswallow/INSTALL
@@ -0,0 +1,34 @@
+INSTALLATION:
++
+untar the sources by typing something along the lines of
+
+zcat wmswallow.tar.Z|tar cvf -
+cd wmswallow
+make 
+
+where platform is currently one out of
+xfree, solaris, solaris-gcc
+
+The xfree target works under linux and freebsd.
+
+Linux is tested best, since i'm hacking this stuff under linux (at
+home). I have access to several Solaris Workstations (some sparcs, and
+2 pcs) whith quite different Installations which i regularly use, so
+the solaris target will at least get some attention. Solaris users
+please read README.solaris for some hints.
+
+Other Unices might or might not get happy with the xfree target or
+some or other... I really think using autoconf/automake for this small
+app would be overkill. If you devise a proper patch for a different
+Unix-flavour, i will include it, but i might not be able to test it.
+(I have currently access to FreeBSD and AIX, in addition to my
+"home-platforms")
+
+After compilation put the binary somewhere you like (e.g. in 
/usr/local/bin)
+and in case you want to delete the Sourcetree, you might 

[PATCH 4/9] wmlongrun: Add template to AC_DEFINE to avoid autoheader warning.

2016-12-23 Thread Doug Torrance
---
 wmlongrun/configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wmlongrun/configure.ac b/wmlongrun/configure.ac
index 3b48676..ce483a8 100644
--- a/wmlongrun/configure.ac
+++ b/wmlongrun/configure.ac
@@ -86,7 +86,7 @@ case ${host_os} in
 linux*)
   SETUID_FLAGS="-m 4755 -o root -g root"
   OS=linux
-  AC_DEFINE(LINUX)
+  AC_DEFINE([LINUX], [1], [use Linux specific code])
   ;;
 freebsd*)
   OS=freebsd
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 5/9] wmlongrun: Modernize AM_INIT_AUTOMAKE call.

2016-12-23 Thread Doug Torrance
---
 wmlongrun/configure.ac | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/wmlongrun/configure.ac b/wmlongrun/configure.ac
index ce483a8..3e43a40 100644
--- a/wmlongrun/configure.ac
+++ b/wmlongrun/configure.ac
@@ -1,7 +1,7 @@
 dnl Process this file with autoconf to produce a configure script.
-AC_INIT(src/main.c)
-
-AM_INIT_AUTOMAKE(wmlongrun, 0.3.0pre1)
+AC_INIT([wmlongrun], [0.3.0pre1], [wmaker-dev@lists.windowmaker.org])
+AC_CONFIG_SRCDIR([src/main.c])
+AM_INIT_AUTOMAKE
 AM_CONFIG_HEADER(config.h)
 
 dnl Checks for programs.
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


[PATCH 9/9] wmlongrun: Bump to version 0.3.1.

2016-12-23 Thread Doug Torrance
---
 wmlongrun/ChangeLog| 11 +++
 wmlongrun/configure.ac |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/wmlongrun/ChangeLog b/wmlongrun/ChangeLog
index d615618..eda37c6 100644
--- a/wmlongrun/ChangeLog
+++ b/wmlongrun/ChangeLog
@@ -1,3 +1,14 @@
+2016 December 23
+  * Version 0.3.1 released.
+  * Now maintained by the Window Maker Developers Team.
+  * Rename configure.in to configure.ac.
+  * Remove trailing whitespace.
+  * Add template to AC_DEFINE to avoid autoheader warning.
+  * Modernize AM_INIT_AUTOMAKE call.
+  * Replace INCLUDES and CPPFLAGS with AM_CPPFLAGS to fix warnings.
+  * Detect GNU/kFreeBSD during build.
+  * Update README with new contact info and url.
+
 2002 March 23
   * version 0.2.0 released
   * longrun_linux.c longrun_freebsd.c: renamed get_longrun_stat() as
diff --git a/wmlongrun/configure.ac b/wmlongrun/configure.ac
index 7fd96b8..311be1d 100644
--- a/wmlongrun/configure.ac
+++ b/wmlongrun/configure.ac
@@ -1,5 +1,5 @@
 dnl Process this file with autoconf to produce a configure script.
-AC_INIT([wmlongrun], [0.3.0pre1], [wmaker-dev@lists.windowmaker.org])
+AC_INIT([wmlongrun], [0.3.1], [wmaker-dev@lists.windowmaker.org])
 AC_CONFIG_SRCDIR([src/main.c])
 AM_INIT_AUTOMAKE
 AM_CONFIG_HEADER(config.h)
-- 
2.7.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.


<    3   4   5   6   7   8   9   10   >