pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/time/wmtime wmtime: Update to 1.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1e388ebaf878
branches:  trunk
changeset: 442408:1e388ebaf878
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Nov 24 11:36:31 2020 +0000

description:
wmtime: Update to 1.4

1.4             - Released 150824
                - The dockapp wmtime uses the new version of libdockapp and do
                  not use libwmgeneral.
                - Add note about libdockapp to INSTALL.

1.3             - Released 150525
                - Update to latest version of wmgeneral library.
                - Fix typos. Ran `codespell -w`.
                - Tidy #includes based on results of include-what-you-use.
                - Add -c command line option allowing users to set color.
                - Fix overflow warning; mask bitmap should be unsigned.
                - Use #defines to avoid variable length arrays.
                - Replace C++ style comments.
                - Fix "ordered comparison of pointer with integer zero" warning.
                  Also take the opportunity to add an error message when
                  iconv_open fails.
                - Update TODO. In particular,
                  + Remove note about version 1.0 (was never released).
                  + Remove note about LED colors (implemented).
                  + Remove note about language files (unnecessary with locale
                    support).
                  + Update email address.
                - Add proper copyright header.
                - Update README. In particular,
                  + Fix typo.
                  + Mention newer command line options.
                  + Drop 17-year-old architecture information.
                - Update HINTS. In particular,
                  + Add newer command line options.
                  + Update Window Maker instructions.

1.2             - Released 150103
                - Remove unused variables.
                - Use rm -f in make clean.
                - Update FSF address.
                - Update GPLv2 from
                  http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
                - Update README contact information; remove trailing
                  whitespaces.
                - Remove trailing whitespace.
                - Remove unnecessary Imakefile.
                - Move source files to top directory.
                - Update Makefile.
                - Add -l option to specify locale.
                - Remove unnecessary references to current version number.

1.1             - Released 131013
                - Incorporated many patches from Debian, including
                  + Added manual page
                  + Added -geometry and -noseconds options
                  + Improved locale support

diffstat:

 time/wmtime/Makefile                       |  27 +++++----
 time/wmtime/PLIST                          |   4 +-
 time/wmtime/distinfo                       |  14 +---
 time/wmtime/patches/patch-aa               |  13 ----
 time/wmtime/patches/patch-ab               |  89 ------------------------------
 time/wmtime/patches/patch-ac               |  20 ------
 time/wmtime/patches/patch-wmgeneral_list.h |  17 -----
 7 files changed, 22 insertions(+), 162 deletions(-)

diffs (224 lines):

diff -r 7aa360975d54 -r 1e388ebaf878 time/wmtime/Makefile
--- a/time/wmtime/Makefile      Tue Nov 24 11:28:49 2020 +0000
+++ b/time/wmtime/Makefile      Tue Nov 24 11:36:31 2020 +0000
@@ -1,22 +1,25 @@
-# $NetBSD: Makefile,v 1.20 2012/10/23 10:24:12 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.21 2020/11/24 11:36:31 nia Exp $
 
-DISTNAME=      wmtime-1.0b2
-PKGREVISION=   1
-CATEGORIES=    x11 time
-MASTER_SITES=  http://web.cs.mun.ca/~gstarkes/wmaker/dockapps/files/
+DISTNAME=      wmtime-1.4
+CATEGORIES=    time x11
+MASTER_SITES=  https://www.dockapps.net/download/
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://www.dockapps.net/wmtime
 COMMENT=       Time/Date applet for WindowMaker
+LICENSE=       gnu-gpl-v2
+
+WRKSRC=                ${WRKDIR}/dockapps-7d1ef92
 
-WRKSRC=                ${WRKDIR}/wmtime.app
-USE_IMAKE=     YES
-CONFIGURE_DIRS=        wmtime
-BUILD_DIRS=    ${CONFIGURE_DIRS}
+MAKE_FLAGS+=   CC=${CC}
+MAKE_FLAGS+=   CFLAGS=${CFLAGS:Q}
+MAKE_FLAGS+=   PREFIX=${PREFIX}
+MAKE_FLAGS+=   MANDIR=${PREFIX}/${PKGMANDIR}/man1
 
-post-extract:
-       ${CP} ${WRKSRC}/Imakefile ${WRKSRC}/wmtime/Imakefile
+BUILD_TARGET=  wmtime
 
+BUILDLINK_API_DEPENDS.libdockapp+=     libdockapp>=0.7.0
+.include "../../devel/libdockapp/buildlink3.mk"
 .include "../../x11/libXext/buildlink3.mk"
 .include "../../x11/libXpm/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 7aa360975d54 -r 1e388ebaf878 time/wmtime/PLIST
--- a/time/wmtime/PLIST Tue Nov 24 11:28:49 2020 +0000
+++ b/time/wmtime/PLIST Tue Nov 24 11:36:31 2020 +0000
@@ -1,3 +1,3 @@
-@comment $NetBSD: PLIST,v 1.2 2003/03/12 03:56:30 jschauma Exp $
+@comment $NetBSD: PLIST,v 1.3 2020/11/24 11:36:31 nia Exp $
 bin/wmtime
-${IMAKE_MAN_DIR}/wmtime.${IMAKE_MANNEWSUFFIX}
+man/man1/wmtime.1
diff -r 7aa360975d54 -r 1e388ebaf878 time/wmtime/distinfo
--- a/time/wmtime/distinfo      Tue Nov 24 11:28:49 2020 +0000
+++ b/time/wmtime/distinfo      Tue Nov 24 11:36:31 2020 +0000
@@ -1,10 +1,6 @@
-$NetBSD: distinfo,v 1.8 2015/11/02 23:31:46 agc Exp $
+$NetBSD: distinfo,v 1.9 2020/11/24 11:36:31 nia Exp $
 
-SHA1 (wmtime-1.0b2.tar.gz) = 2a66762d548b9f91415603e8d6a37cfacb9340ad
-RMD160 (wmtime-1.0b2.tar.gz) = f267f75237c111ed336521ca175688a33f1e171a
-SHA512 (wmtime-1.0b2.tar.gz) = 00554043bdd7329386dbebb2947a520cada6d86b5228ca6a9e217dd4971b5ba8ab4aa6ca3a20ff29978bd98fd8c8796b7eeb7e35269d26cd262102c3908f3ba8
-Size (wmtime-1.0b2.tar.gz) = 20680 bytes
-SHA1 (patch-aa) = 8943b1da225f26110e52c00269e3e0c6a7651404
-SHA1 (patch-ab) = e1e4203a219b0a0d539fc4426ec3d5424e9c3962
-SHA1 (patch-ac) = 31d864557165692350436e18c1cba61b95027c2c
-SHA1 (patch-wmgeneral_list.h) = d403fc3ff2986c64680f494369dc343c20b6cc20
+SHA1 (wmtime-1.4.tar.gz) = 98bfef44e99d8bcc97aec957da0f6a3919ff08ba
+RMD160 (wmtime-1.4.tar.gz) = 0d6d59b4f7a3ea28a8b0f88f3c9e7789f44658d9
+SHA512 (wmtime-1.4.tar.gz) = 50d971394d54c97dbb839338b342b7907a4b83a5666f3eeb1710b22a21746d4a05fd45618537ede57fcd88605971d9d949921b926efa1eed36cdb20b012d4780
+Size (wmtime-1.4.tar.gz) = 19045 bytes
diff -r 7aa360975d54 -r 1e388ebaf878 time/wmtime/patches/patch-aa
--- a/time/wmtime/patches/patch-aa      Tue Nov 24 11:28:49 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2005/11/03 23:01:54 rillig Exp $
-
---- wmtime/wmtime.c            Wed May 20 06:34:53 1998
-+++ wmtime/wmtime.c.orig       Sat Nov 28 18:44:59 1998
-@@ -89,7 +89,7 @@
- char  *ProgName;
- int           digital = 0;
- char  day_of_week[7][3] = { "SU", "MO", "TU", "WE", "TH", "FR", "SA" };
--char  mon_of_year[12][4] = { "JAN", "FEB", "MAR", "APR", "MAY", "JUN", "JUL", "AUG", "SEP", "OCT", "NOW", "DEC" };
-+char  mon_of_year[12][4] = { "JAN", "FEB", "MAR", "APR", "MAY", "JUN", "JUL", "AUG", "SEP", "OCT", "NOV", "DEC" };
- 
- /* functions */
- void usage(void);
diff -r 7aa360975d54 -r 1e388ebaf878 time/wmtime/patches/patch-ab
--- a/time/wmtime/patches/patch-ab      Tue Nov 24 11:28:49 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,89 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2005/11/03 23:01:54 rillig Exp $
-
---- /dev/null  Tue Mar 11 22:46:14 2003
-+++ wmtime/wmtime.man  Tue Mar 11 22:46:07 2003
-@@ -0,0 +1,83 @@
-+.TH WMTIME 1
-+.SH NAME
-+wmtime \- WindowMaker dockapp that displays the time and date
-+.SH SYNOPSIS
-+WMTime displays the time and date and gives you some nice additional
-+features too. It is intended for docking in WindowMaker.
-+.PP
-+.B wmtime
-+[
-+.B -digital
-+]
-+[
-+.B -display
-+.I displayname
-+]
-+[
-+.B -h
-+]
-+[
-+.B -v
-+]
-+.SH DESCRIPTION
-+WMTime displays the time and date and gives you some nice additional
-+features too. It is intended for docking in WindowMaker.
-+
-+WMTime currently provides:
-+
-+  * Time and date;
-+  * Realtime morphing UI (analog <> digital mode);
-+  * Autoscaling and anti aliased hands;
-+  * Locale, can display DAY and DATE in various languages;
-+  * Can launch 3 user definable commands through ~/.wmtimerc;
-+  * Can be run multiple times;
-+  * Commandline options for help (-h), version (-v), digital
-+    clock mode (-digital) and and display (-d)
-+
-+WMTime can lauch 3 user definable commands for left, middle and
-+right mouse button clicks, which you can define in ~/.wmtimerc,
-+
-+left: mycommand-1 &
-+
-+middle: mycommand-2 &
-+
-+right: mycommand-3 &
-+
-+If wmtime detects a ~/.wmtimerc file, it will launch your defined
-+command(s) when you click in the clock display area.
-+
-+WMtime can realtime 'morph' it's UI from analog <> digital,
-+simply left click in either the DAY or DATE gadget ;-)
-+
-+Be sure to drag WMTime on it's outer edges, WMTime is a bit picky 
-+due to the large gfx pixmap it keeps ;-)
-+
-+.SH OPTIONS
-+
-+There are a few command line options.
-+.TP
-+.B \-digital
-+Displays a digital clock instead of the default analog clock.
-+.TP
-+.B \-display
-+.I displayname
-+Show the dockapp on display I<displayname>, e.g. :0.0.
-+.TP
-+.B \-h
-+Show the help screen.
-+.TP
-+.B \-v
-+Print the version number.
-+
-+.SH FILES
-+\fI~/.wmtimerc\fR  configfile
-+.SH AUTHOR
-+This manual page was written by Adriaan Peeters <apeeters%lashout.net@localhost> for the
-+.B Debian
-+system (but may be used by others). It is based on the documentation provided
-+by the original program.
-+
-+Permission is granted to copy, distribute and/or modify this document under
-+the terms of the GNU Free Documentation License, Version 1.1 or any later
-+version published by the Free Software Foundation; with no Invariant Sections,
-+no Front-Cover Texts and no Back-Cover Texts.
-\ No newline at end of file
diff -r 7aa360975d54 -r 1e388ebaf878 time/wmtime/patches/patch-ac
--- a/time/wmtime/patches/patch-ac      Tue Nov 24 11:28:49 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2007/06/12 20:56:56 joerg Exp $
-
---- wmtime/Imakefile.orig      2007-06-12 20:47:06.000000000 +0000
-+++ wmtime/Imakefile
-@@ -3,10 +3,12 @@ DEPLIBS = $(DEPXLIB)
-  
- LOCAL_LIBRARIES = $(XPMLIB) $(XLIB)
- 
-+.PATH: ../wmgeneral
-+
- SRCS = wmtime.c \
--                ../wmgeneral/wmgeneral.c \
--                ../wmgeneral/misc.c \
--                ../wmgeneral/list.c
-+                wmgeneral.c \
-+                misc.c \
-+                list.c
- 
- OBJS = wmtime.o \
-                 wmgeneral.o \
diff -r 7aa360975d54 -r 1e388ebaf878 time/wmtime/patches/patch-wmgeneral_list.h
--- a/time/wmtime/patches/patch-wmgeneral_list.h        Tue Nov 24 11:28:49 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-wmgeneral_list.h,v 1.1 2012/11/01 19:29:20 joerg Exp $
-
---- wmgeneral/list.h.orig      2012-10-30 21:09:32.000000000 +0000
-+++ wmgeneral/list.h
-@@ -29,11 +29,7 @@ Boston, MA 02111-1307, USA.  */
- #ifndef __LIST_H_
- #define __LIST_H_
- 
--#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
--# define INLINE inline
--#else
--# define INLINE
--#endif
-+#define INLINE
- 
- typedef struct LinkedList {
-   void *head;



Home | Main Index | Thread Index | Old Index