pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/time/wmitime wmitime: Update to 0.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/077171499486
branches:  trunk
changeset: 442404:077171499486
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Nov 24 11:18:21 2020 +0000

description:
wmitime: Update to 0.5

0.5             * wmitime uses now the new library libdockapp that includes the
                  old wmgeneral library.
                * Add note about libdockapp to README.

0.4             * Update GPL text and Free Software Foundation address.
                * Remove trailing whitespace.
                * Allow -display option with no argument.  Previously, if a user
                  ran wmitime with the -display option and no argument, a
                  segmentation fault would occur. Print a warning instead.
                  (Patch from Debian to fix bug #716466.)
                * Update Makefile.  In particular,
                  - Remove reference to deprecated X11R6 directory.
                  - Replace FLAGS variable with CFLAGS, CPPFLAGS, and LDFLAGS.
                  - Honor CC, PREFIX, and DESTDIR variables.
                  - Use INSTALL instead of cp for installation.
                  - Remove redundant -lXext flag.
                  - Move contents of wmitime directory to top directory to ease
                    the building process.
                * Improve locale support.  Previously, wmitime only had support
                  for English, French, and (in Debian only) Hungarian.  In
                  addition, the choice was made at compile time.
                  Add run-time support for any language using the Latin
                  alphabet.  The locale is determined by the user's environment
                  or may be specified on the command line with the "-l" option.
                  Note that users whose environment specifies a non-Latin locale
                  may wish to use, e.g., "-l C", as otherwise no date will
                  appear.
                  Note that, for simplicity, the month and day are now displayed
                  as "01 JAN" as opposed to "JAN 01".  (Previously, the former
                  format was used for English and the latter for French.)
                * Remove C++ style comments.
                * Remove references to config file in source; nonexistent
                  feature.
                * Update contact information.  wmitime is now maintained by the
                  Window Maker Developers Team
                  <wmaker-dev%lists.windowmaker.org@localhost>.
                * Add manpage and desktop file, both adapted from Debian.
                * Remove wmitime-master-led.xpm; unused duplicate file.
                * Do not include or compile unused wmgeneral files.

diffstat:

 time/wmitime/Makefile                          |  23 ++++++++------
 time/wmitime/PLIST                             |   4 +-
 time/wmitime/distinfo                          |  12 +++----
 time/wmitime/patches/patch-.._wmgeneral_list.h |  17 -----------
 time/wmitime/patches/patch-aa                  |  40 --------------------------
 5 files changed, 21 insertions(+), 75 deletions(-)

diffs (132 lines):

diff -r 1ee4c774940b -r 077171499486 time/wmitime/Makefile
--- a/time/wmitime/Makefile     Tue Nov 24 11:13:42 2020 +0000
+++ b/time/wmitime/Makefile     Tue Nov 24 11:18:21 2020 +0000
@@ -1,24 +1,27 @@
-# $NetBSD: Makefile,v 1.2 2013/11/06 00:40:15 khorben Exp $
-#
+# $NetBSD: Makefile,v 1.3 2020/11/24 11:18:21 nia Exp $
 
-DISTNAME=      wmitime-0.3
-PKGREVISION=   3
-CATEGORIES=    x11 time
-MASTER_SITES=  http://www.neotokyo.org/illusion/downloads/
+DISTNAME=      wmitime-0.5
+CATEGORIES=    time x11
+MASTER_SITES=  https://www.dockapps.net/download/
 
 MAINTAINER=    poff%sixbit.org@localhost
-HOMEPAGE=      http://www.neotokyo.org/illusion/dock_apps.html
+HOMEPAGE=      https://www.dockapps.net/wmitime
 COMMENT=       Windowmaker dockapp for time/date/itime
-
 LICENSE=       gnu-gpl-v2
 
+WRKSRC=                ${WRKDIR}/dockapps-26db447
+
 MAKE_FLAGS+=   PREFIX=${PREFIX}
-MAKE_FLAGS+=   DESTDIR=${DESTDIR}
+MAKE_FLAGS+=   CFLAGS=${CFLAGS:Q}
+MAKE_FLAGS+=   MANDIR=${PREFIX}/${PKGMANDIR}/man1
 
-WRKSRC=                ${WRKDIR}/wmitime/wmitime
+BUILD_TARGET=  wmitime
 
 USE_TOOLS+=    gmake
 
+BUILDLINK_API_DEPENDS.libdockapp+=     libdockapp>=0.7.0
+.include "../../devel/libdockapp/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../x11/libXpm/buildlink3.mk"
 .include "../../x11/libXext/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 1ee4c774940b -r 077171499486 time/wmitime/PLIST
--- a/time/wmitime/PLIST        Tue Nov 24 11:13:42 2020 +0000
+++ b/time/wmitime/PLIST        Tue Nov 24 11:18:21 2020 +0000
@@ -1,2 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2013/11/06 00:35:19 khorben Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/11/24 11:18:21 nia Exp $
 bin/wmitime
+man/man1/wmitime.1
+share/applications/wmitime.desktop
diff -r 1ee4c774940b -r 077171499486 time/wmitime/distinfo
--- a/time/wmitime/distinfo     Tue Nov 24 11:13:42 2020 +0000
+++ b/time/wmitime/distinfo     Tue Nov 24 11:18:21 2020 +0000
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.4 2015/11/02 23:31:46 agc Exp $
+$NetBSD: distinfo,v 1.5 2020/11/24 11:18:21 nia Exp $
 
-SHA1 (wmitime-0.3.tar.gz) = 64bb07c5eccce5592088cfccc87836f66695e07c
-RMD160 (wmitime-0.3.tar.gz) = b2301a15ef159d2d55418ae5fbf914bedc388478
-SHA512 (wmitime-0.3.tar.gz) = 69506d7619008bdc169f64326cb185a714055d4f030cd583f39144379cb35ed07959e1a09b3a4da33483f337ed8afb4761f34b6d6a5a28a06eff98a9bf14efc7
-Size (wmitime-0.3.tar.gz) = 21442 bytes
-SHA1 (patch-.._wmgeneral_list.h) = 3833c707c4eaf8ef8297eb5b5658db14d70e24ee
-SHA1 (patch-aa) = e3dfcd4a36cb282a80f63534222d727d4a73f891
+SHA1 (wmitime-0.5.tar.gz) = 5ac2c9c16284660cf8f2f9dc313692f331bc5aa4
+RMD160 (wmitime-0.5.tar.gz) = d37bcec96e732f5c1faa57a2181330c07f289f4a
+SHA512 (wmitime-0.5.tar.gz) = 8fe05c7cf1a0ccb2172845ab74a298f01eaff3dfc536bbf363f26253a9d12d0fa3f514e24e71c5b186ff38dd5e1faf1152203443e473509ce5df243fd9623144
+Size (wmitime-0.5.tar.gz) = 15099 bytes
diff -r 1ee4c774940b -r 077171499486 time/wmitime/patches/patch-.._wmgeneral_list.h
--- a/time/wmitime/patches/patch-.._wmgeneral_list.h    Tue Nov 24 11:13:42 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-.._wmgeneral_list.h,v 1.1 2013/11/07 00:49:46 joerg Exp $
-
---- ../wmgeneral/list.h.orig   2013-11-07 00:24:26.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;
diff -r 1ee4c774940b -r 077171499486 time/wmitime/patches/patch-aa
--- a/time/wmitime/patches/patch-aa     Tue Nov 24 11:13:42 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2015/08/06 21:41:43 khorben Exp $
-
-- implements PKG_DESTDIR_SUPPORT
-- adds support for CFLAGS
-- removes duplicate library while linking
-
---- Makefile.orig      1999-03-29 03:51:39.000000000 +0000
-+++ Makefile
-@@ -1,7 +1,7 @@
--#LANG = fr
--LIBDIR = -L/usr/X11R6/lib
-+LANG = en 
-+LIBDIR = ${LDFLAGS} 
- LIBS   = -lXpm -lXext -lX11 -lm
--FLAGS = -O2
-+FLAGS = ${BUILDLINK_CPPFLAGS} ${CFLAGS}
- OBJS =        wmitime.o \
-               ../wmgeneral/wmgeneral.o \
-               ../wmgeneral/misc.o \
-@@ -12,7 +12,7 @@ OBJS =       wmitime.o \
-       cc -I/usr/X11R6/share/include $(FLAGS) -D$(LANG) -c -Wall $< -o $*.o
- 
- wmtime: $(OBJS)
--      cc $(FLAGS) -D$(LANG) -o wmitime $^ -lXext $(LIBDIR) $(LIBS)
-+      cc $(FLAGS) -D$(LANG) -o wmitime $^ $(LIBDIR) $(LIBS)
- 
- all:: wmtime
- 
-@@ -24,9 +24,8 @@ clean::
-       rm -f *~
- 
- install:: wmitime
--      cp -f wmitime /usr/local/bin/
--      chmod 755 /usr/local/bin/wmitime
--      chown root:root /usr/local/bin/wmitime
-+      mkdir -p $(DESTDIR)$(PREFIX)/bin
-+      install -m 755 wmitime $(DESTDIR)$(PREFIX)/bin/wmitime
- #     cp wminetrc $(HOME)/.wminetrc
- #     chmod 600 $(HOME)/.wminetrc
- #     cp wminetrc /etc/wminetrc



Home | Main Index | Thread Index | Old Index