From f3888ab567f7ebc681134c6685820efcf4f73ab9 Mon Sep 17 00:00:00 2001 From: wulf Date: Thu, 6 May 2004 13:41:45 +0000 Subject: Updated xlog to 0.9.3: Several bug fixes Changes for xlog version 0.9.3 * Fixed a crash at startup, when xlog is run for the very first time. This only occured on NetBSD. This fix submitted by Berndt Josef Wulf, VK5ABN. * The log-editor would behave badly for some people, caused by a wrong implementation of qsort. Reported by VK5ABN and Tony May, KG6SXY. * This version should compile both with version 2.2 and 2.4 of the GTK+ version 2 libraries. * Update spanish translations by Jaime, EA4TV. * If using the log-editor and a column is added or deleted, the log is marked as changed. * Dupe checking has been fixed in case we have multiple logs open. * If you compile xlog against version 2.4.0 or higher of GTK+, you will benefit from much faster log loading. As a consequence, columns have been set to a fixed width. --- ham/xlog/Makefile | 6 +++--- ham/xlog/PLIST | 15 +++++---------- ham/xlog/distinfo | 9 +++------ ham/xlog/patches/patch-ab | 13 ------------- ham/xlog/patches/patch-ad | 14 -------------- ham/xlog/patches/patch-ae | 14 -------------- 6 files changed, 11 insertions(+), 60 deletions(-) delete mode 100644 ham/xlog/patches/patch-ab delete mode 100644 ham/xlog/patches/patch-ad delete mode 100644 ham/xlog/patches/patch-ae (limited to 'ham') diff --git a/ham/xlog/Makefile b/ham/xlog/Makefile index 06e773f0690..10152099370 100644 --- a/ham/xlog/Makefile +++ b/ham/xlog/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.8 2004/04/11 08:54:13 snj Exp $ +# $NetBSD: Makefile,v 1.9 2004/05/06 13:41:45 wulf Exp $ # -DISTNAME= xlog-0.9.1 -PKGREVISION= 1 +DISTNAME= xlog-0.9.3 CATEGORIES= ham MASTER_SITES= http://www.qsl.net/pg4i/download/ @@ -12,6 +11,7 @@ COMMENT= Amateur Radio logging program GNU_CONFIGURE= yes USE_BUILDLINK3= yes +USE_PKGLOCALDIR=yes USE_GNU_TOOLS+= make CONFIGURE_ARGS= --enable-hamlib diff --git a/ham/xlog/PLIST b/ham/xlog/PLIST index 04c87d10f11..ddda64f0b68 100644 --- a/ham/xlog/PLIST +++ b/ham/xlog/PLIST @@ -1,9 +1,9 @@ -@comment $NetBSD: PLIST,v 1.2 2004/02/18 06:04:44 wulf Exp $ +@comment $NetBSD: PLIST,v 1.3 2004/05/06 13:41:45 wulf Exp $ bin/xlog -share/locale/da/LC_MESSAGES/xlog.mo -share/locale/nl/LC_MESSAGES/xlog.mo -share/locale/fr/LC_MESSAGES/xlog.mo -share/locale/es/LC_MESSAGES/xlog.mo +${PKGLOCALEDIR}/locale/da/LC_MESSAGES/xlog.mo +${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/xlog.mo +${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/xlog.mo +${PKGLOCALEDIR}/locale/es/LC_MESSAGES/xlog.mo share/xlog/pixmaps/book.xpm share/xlog/pixmaps/mini-clock.xpm share/xlog/pixmaps/mini-trx.xpm @@ -25,10 +25,6 @@ share/xlog/pixmaps/xlog.png share/xlog/pixmaps/xlog.xpm share/xlog/dxcc/cty.dat share/xlog/dxcc/xlog.dat -share/xlog/remote/Makefile -share/xlog/remote/README -share/xlog/remote/fromxlog.c -share/xlog/remote/sendtoxlog.c share/xlog/AUTHORS share/xlog/FAQ share/xlog/MANUAL @@ -39,5 +35,4 @@ share/xlog/qsllabels.glabels man/man1/xlog.1 @dirrm share/xlog/dxcc @dirrm share/xlog/pixmaps -@dirrm share/xlog/remote @dirrm share/xlog diff --git a/ham/xlog/distinfo b/ham/xlog/distinfo index b33dcef51d4..0d9cd80a529 100644 --- a/ham/xlog/distinfo +++ b/ham/xlog/distinfo @@ -1,7 +1,4 @@ -$NetBSD: distinfo,v 1.4 2004/04/11 08:54:13 snj Exp $ +$NetBSD: distinfo,v 1.5 2004/05/06 13:41:45 wulf Exp $ -SHA1 (xlog-0.9.1.tar.gz) = 30d9bb55dbd4661a3c174c150e6b82de123dd9d9 -Size (xlog-0.9.1.tar.gz) = 430371 bytes -SHA1 (patch-ab) = 214fd2e598bd347db546250c91bfdb1c05562585 -SHA1 (patch-ad) = d33e37caa1aa633a0e5f298ff4f882f7db495233 -SHA1 (patch-ae) = c02a9d5fbdae0a3666caa9160576159683ee136f +SHA1 (xlog-0.9.3.tar.gz) = 1c333afa06312cae50abb4f933b558a8feef7490 +Size (xlog-0.9.3.tar.gz) = 424933 bytes diff --git a/ham/xlog/patches/patch-ab b/ham/xlog/patches/patch-ab deleted file mode 100644 index bc834d5a223..00000000000 --- a/ham/xlog/patches/patch-ab +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ab,v 1.2 2004/02/18 06:04:44 wulf Exp $ - ---- src/hamlib-utils.c.orig 2004-02-01 16:21:58.000000000 +1030 -+++ src/hamlib-utils.c 2004-02-01 16:22:07.000000000 +1030 -@@ -604,7 +604,7 @@ - if (preferences.round == 0) - g_string_printf (digits, "%Ld", state.rigfrequency); - else -- g_string_printf (digits, "%Ld", (long long) rintl (state.rigfrequency / -+ g_string_printf (digits, "%Ld", (long long) rint (state.rigfrequency / - pow (10, preferences.round))); - g_string_insert_c (digits, (digits->len) - 6 + preferences.round, '.'); - g_strstrip (digits->str); diff --git a/ham/xlog/patches/patch-ad b/ham/xlog/patches/patch-ad deleted file mode 100644 index 7e6b8b5c745..00000000000 --- a/ham/xlog/patches/patch-ad +++ /dev/null @@ -1,14 +0,0 @@ -$NetBSD: patch-ad,v 1.1 2004/02/18 22:18:28 wulf Exp $ - ---- src/callbacks_otherdialogs.c.orig 2004-01-12 00:54:45.000000000 +1030 -+++ src/callbacks_otherdialogs.c 2004-02-19 09:40:49.000000000 +1030 -@@ -1748,7 +1748,9 @@ - fclose (finfo.fd); - dup2 (saved_fd, STDERR_FILENO); - close (saved_fd); -+#ifndef __NetBSD__ - stderr = fdopen (STDERR_FILENO, "w"); -+#endif - hamlibresult = start_hamlib (preferences.radio, preferences.device, - RIG_DEBUG_NONE, preferences.polltime); - #endif /* WANT_HAMLIB */ diff --git a/ham/xlog/patches/patch-ae b/ham/xlog/patches/patch-ae deleted file mode 100644 index 0c1c3744889..00000000000 --- a/ham/xlog/patches/patch-ae +++ /dev/null @@ -1,14 +0,0 @@ -$NetBSD: patch-ae,v 1.1 2004/04/11 01:28:00 wulf Exp $ - ---- src/Makefile.in.orig 2004-01-12 00:54:46.000000000 +1030 -+++ src/Makefile.in 2004-04-11 10:42:56.000000000 +0930 -@@ -145,8 +145,7 @@ - @PACKAGE_CFLAGS@ -I.. \ - -DG_DISABLE_DEPRECATED \ - -DGDK_DISABLE_DEPRECATED \ -- -DGDK_PIXBUF_DISABLE_DEPRECATED \ -- -DGTK_DISABLE_DEPRECATED -+ -DGDK_PIXBUF_DISABLE_DEPRECATED - - - CLEANFILES = *~ -- cgit v1.2.3