pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/finance/xquote Update to 2.6.9, requested in PR 28394.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/15fd1388c6f6
branches:  trunk
changeset: 484046:15fd1388c6f6
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Nov 23 17:07:35 2004 +0000

description:
Update to 2.6.9, requested in PR 28394.

Xquote 2.6.9 is a stable pre-release of Xquote.

The version number bump from 2.3 is caused by a simultaneous release of
Xinvest, Xquote, and QuoteFilter.

Xquote is now released under a completely free license: the BSD license.

Xquote now uses the XbaeMatrix widget to display its information in a
nicely laid out tabular format.

Basic functionality remains unchanged, but there have been quite a number
of small changes :
- use of XbaeMatrix
- simplified widget tree
- source code cleanup
- update of the user interface after each individual quote query
  (so you can see the table contents change as the information comes in)
- use of BSD license
- user interface changes (don't show the version number in the status field)
- remove sessionXq.c, merge with the Xinvest version of the same file.
- do more effort to read info from an HTTP server when it returns 400 replies.
- Figure out whether the site is using European (on hundred is 100,00) or
  American (100.00) punctuation to forward the right format to Xinvest
  in a live update.
- Avoid crashes when xquote-rc file contains invalid data.
- Fix a problem with the type list not being taken fully into account for
  other than the first server.
- Allow running Xquote 24 hours per day by setting start and end time to
  the same value.
- Document "-restore" option in the syntax() error message.
- Make the help window resizable, and respond to a single click.

diffstat:

 finance/xquote/Makefile         |  15 +++++++--------
 finance/xquote/distinfo         |  12 ++++--------
 finance/xquote/patches/patch-aa |  31 ++++++++++++++++++++++---------
 finance/xquote/patches/patch-ab |  12 ------------
 finance/xquote/patches/patch-ac |  12 ------------
 finance/xquote/patches/patch-ad |  12 ------------
 finance/xquote/patches/patch-ae |  12 ------------
 7 files changed, 33 insertions(+), 73 deletions(-)

diffs (153 lines):

diff -r ac2a60c39af7 -r 15fd1388c6f6 finance/xquote/Makefile
--- a/finance/xquote/Makefile   Tue Nov 23 17:04:15 2004 +0000
+++ b/finance/xquote/Makefile   Tue Nov 23 17:07:35 2004 +0000
@@ -1,23 +1,22 @@
-# $NetBSD: Makefile,v 1.9 2004/10/03 00:14:41 tv Exp $
+# $NetBSD: Makefile,v 1.10 2004/11/23 17:07:35 wiz Exp $
 
-DISTNAME=              xquote-2.2
-PKGREVISION=   1
+DISTNAME=              xquote-2.6.9
 CATEGORIES=            finance x11
-MASTER_SITES=          http://sunsite.dk/xinvest/ \
-                       ${MASTER_SITE_XCONTRIB:=applications/}
+MASTER_SITES=          http://xinvest.sunsite.dk/
 
 MAINTAINER=            root%garbled.net@localhost
-HOMEPAGE=              http://sunsite.dk/xinvest/xquote.html
+HOMEPAGE=              http://xinvest.sunsite.dk/xquote.html
 COMMENT=               WWW ticker symbol quote retrieval program
 
 USE_BUILDLINK3=                YES
 USE_IMAKE=             YES
 NO_INSTALL_MANPAGES=   YES
 
-post-patch:
-       ${TOUCH} ${WRKSRC}/Xquote.man
+# needs a symbol that appeared after 4.9.1
+BUILDLINK_DEPENDS.Xbae+=        Xbae>=4.50
 
 .include "../../graphics/xpm/buildlink3.mk"
+.include "../../x11/Xbae/buildlink3.mk"
 .include "../../mk/motif.buildlink3.mk"
 
 .include "../../mk/bsd.pkg.mk"
diff -r ac2a60c39af7 -r 15fd1388c6f6 finance/xquote/distinfo
--- a/finance/xquote/distinfo   Tue Nov 23 17:04:15 2004 +0000
+++ b/finance/xquote/distinfo   Tue Nov 23 17:07:35 2004 +0000
@@ -1,9 +1,5 @@
-$NetBSD: distinfo,v 1.4 2002/10/08 12:35:16 jlam Exp $
+$NetBSD: distinfo,v 1.5 2004/11/23 17:07:35 wiz Exp $
 
-SHA1 (xquote-2.2.tar.gz) = 2b32bfe25f826e9ae0bb28ee608ccbeae39350a6
-Size (xquote-2.2.tar.gz) = 82814 bytes
-SHA1 (patch-aa) = f3a8209dd3d25e1ec6b85a3d5c42ecd85e9f380a
-SHA1 (patch-ab) = 26c943dc5e22ea91641503cb7da35e6eeb47cec4
-SHA1 (patch-ac) = 2d9b18f22724f2ba92931077cafca38115a10eb4
-SHA1 (patch-ad) = 36f3d15cddd53b4cf0de17a96213a6fee84c38a2
-SHA1 (patch-ae) = 4aeb6076e76b40bd07d29530a5d2ed029bff7a63
+SHA1 (xquote-2.6.9.tar.gz) = 8dbe8e7eb1b3447098a88000f6a3ad8416a6529e
+Size (xquote-2.6.9.tar.gz) = 97913 bytes
+SHA1 (patch-aa) = 16262c1f2412a5fd686cc0a294811a948bdefdc1
diff -r ac2a60c39af7 -r 15fd1388c6f6 finance/xquote/patches/patch-aa
--- a/finance/xquote/patches/patch-aa   Tue Nov 23 17:04:15 2004 +0000
+++ b/finance/xquote/patches/patch-aa   Tue Nov 23 17:07:35 2004 +0000
@@ -1,12 +1,25 @@
-$NetBSD: patch-aa,v 1.1 2000/12/28 03:54:58 fredb Exp $
+$NetBSD: patch-aa,v 1.2 2004/11/23 17:07:35 wiz Exp $
 
---- file.c.orig        Mon Nov 20 18:20:39 2000
-+++ file.c     Wed Dec 27 20:25:21 2000
-@@ -24,6 +24,7 @@
- */
+--- Imakefile.orig     2004-05-01 16:45:28.000000000 +0200
++++ Imakefile
+@@ -13,16 +13,16 @@ XCOMM price communication.
+ 
+ DEFINES = -DSHAPE -DXQUOTE
+ INCLUDES = -I$(INCROOT)/X11
+-SYS_LIBRARIES = -lXm -lXpm $(XMULIB) $(XTOOLLIB) -lXext $(XLIB) -lm
++SYS_LIBRARIES = -lXbae -lXm -lXpm $(XMULIB) $(XTOOLLIB) -lXext $(XLIB) -lm
+ DEPLIBS = 
  
- #include <errno.h>
-+#include <stdio.h>
- #include <sys/stat.h>
+ SRCS =  about.c color.c fileXq.c help.c optdetail.c option.c optnet.c \
+       opttick.c optupdate.c parse.c pixmap.c remoteXq.c server.c session.c \
+-      sessionXq.c status.c tape.c util.c view.c xquote.c xutil.c
++      sessionXi.c status.c tape.c util.c view.c xquote.c xutil.c
  
- #include <Xm/XmAll.h>
+ OBJS =  about.o color.o fileXq.o help.o optdetail.o option.o optnet.o \
+       opttick.o optupdate.o parse.o pixmap.o remoteXq.o server.o session.o \
+-      sessionXq.o status.o tape.o util.o view.o xquote.o xutil.o
++      sessionXi.o status.o tape.o util.o view.o xquote.o xutil.o
+ 
+-ComplexProgramTarget(Xquote)
++ComplexProgramTargetNoMan(Xquote)
+ InstallAppDefaults(Xquote)
diff -r ac2a60c39af7 -r 15fd1388c6f6 finance/xquote/patches/patch-ab
--- a/finance/xquote/patches/patch-ab   Tue Nov 23 17:04:15 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2000/12/28 03:54:58 fredb Exp $
-
---- optdetail.c.orig   Mon Nov 20 18:20:39 2000
-+++ optdetail.c        Wed Dec 27 21:35:04 2000
-@@ -23,6 +23,7 @@
- */
- 
- #include <stdlib.h>
-+#include <stdio.h>
- #include <string.h>
- #include <time.h>
- 
diff -r ac2a60c39af7 -r 15fd1388c6f6 finance/xquote/patches/patch-ac
--- a/finance/xquote/patches/patch-ac   Tue Nov 23 17:04:15 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2000/12/28 03:54:58 fredb Exp $
-
---- option.c.orig      Mon Nov 20 18:20:39 2000
-+++ option.c   Wed Dec 27 21:40:15 2000
-@@ -24,6 +24,7 @@
- */
- 
- #include <stdlib.h>
-+#include <stdio.h>
- #include <string.h>
- 
- #include <Xm/XmAll.h>
diff -r ac2a60c39af7 -r 15fd1388c6f6 finance/xquote/patches/patch-ad
--- a/finance/xquote/patches/patch-ad   Tue Nov 23 17:04:15 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-$NetBSD: patch-ad,v 1.1 2000/12/28 03:54:58 fredb Exp $
-
---- optnet.c.orig      Mon Nov 20 18:20:39 2000
-+++ optnet.c   Wed Dec 27 21:45:08 2000
-@@ -25,6 +25,7 @@
- 
- #include <sys/types.h>
- #include <stdlib.h>
-+#include <stdio.h>
- #include <arpa/inet.h>
- #include <netinet/in.h>
- #include <sys/socket.h>
diff -r ac2a60c39af7 -r 15fd1388c6f6 finance/xquote/patches/patch-ae
--- a/finance/xquote/patches/patch-ae   Tue Nov 23 17:04:15 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-$NetBSD: patch-ae,v 1.1 2000/12/28 03:54:59 fredb Exp $
-
---- status.c.orig      Mon Nov 20 18:20:40 2000
-+++ status.c   Wed Dec 27 21:47:06 2000
-@@ -23,6 +23,7 @@
- */
- 
- #include <stdlib.h>
-+#include <stdio.h>
- 
- #include <Xm/DialogS.h>
- #include <Xm/Form.h>



Home | Main Index | Thread Index | Old Index