pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/doc Update chmlib to 0.35.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9c4e777d2212
branches:  trunk
changeset: 482587:9c4e777d2212
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sat Oct 30 07:11:18 2004 +0000

description:
Update chmlib to 0.35.

Changes:
    - UTF-8 filenames, while still not handled correctly, are handled a little
      more gracefully.  That is to say, the library doesn't fail to open files
      with filenames using characters outside the ASCII subset.  I'm very
      interested in any information as to the "right" way to handle filenames
      of this sort.
    - Files not containing a compressed section are handled properly, such as
      .chw files.  These files seem to contain information about compression,
      but the information is invalid or empty.  The library deals gracefully
      with this now.
    - Files compressed with different options were not being decompressed
      properly.  In particular, if the "reset interval" for the compressed
      section was other than 2 block sizes, it could fail to read some of the
      files.
    - The caching system was improved slightly, in conjunction with this
      previous bugfix.

diffstat:

 devel/chmlib/Makefile         |  15 ++++++++++-----
 devel/chmlib/distinfo         |   6 +++---
 devel/chmlib/patches/patch-aa |  20 --------------------
 doc/CHANGES                   |   3 ++-
 4 files changed, 15 insertions(+), 29 deletions(-)

diffs (85 lines):

diff -r c46d68c5a8d3 -r 9c4e777d2212 devel/chmlib/Makefile
--- a/devel/chmlib/Makefile     Sat Oct 30 07:10:00 2004 +0000
+++ b/devel/chmlib/Makefile     Sat Oct 30 07:11:18 2004 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2004/10/03 00:13:25 tv Exp $
+# $NetBSD: Makefile,v 1.5 2004/10/30 07:11:18 minskim Exp $
 #
 
-DISTNAME=      chmlib-0.31
-PKGREVISION=   1
+DISTNAME=      chmlib-0.35
 CATEGORIES=    devel
 MASTER_SITES=  http://66.93.236.84/%7Ejedwin/projects/chmlib/
 EXTRACT_SUFX=  .tbz
@@ -14,12 +13,18 @@
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 
 USE_BUILDLINK3=                yes
+GNU_CONFIGURE=         yes
 USE_GNU_TOOLS+=                make
 USE_LIBTOOL=           yes
 
+CONFIGURE_ARGS+=       --disable-io64
+
 INSTALLATION_DIRS=     include lib
 
-PTHREAD_OPTS=          require
+.include "../../mk/pthread.buildlink3.mk"
 
-.include "../../mk/pthread.buildlink3.mk"
+.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none"
+CONFIGURE_ARGS+=       --disable-pthread
+.endif
+
 .include "../../mk/bsd.pkg.mk"
diff -r c46d68c5a8d3 -r 9c4e777d2212 devel/chmlib/distinfo
--- a/devel/chmlib/distinfo     Sat Oct 30 07:10:00 2004 +0000
+++ b/devel/chmlib/distinfo     Sat Oct 30 07:11:18 2004 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2004/01/27 14:18:20 xtraeme Exp $
+$NetBSD: distinfo,v 1.3 2004/10/30 07:11:18 minskim Exp $
 
-SHA1 (chmlib-0.31.tbz) = 4d6be22cb408695c7e8ef6933b46e5cd46d13048
-Size (chmlib-0.31.tbz) = 40810 bytes
+SHA1 (chmlib-0.35.tbz) = 645bd23e1e8b2e930b971524b1f3561c02ae1609
+Size (chmlib-0.35.tbz) = 264006 bytes
 SHA1 (patch-aa) = 39ab703763c7a0aa63e3e90142879a803952fbb4
diff -r c46d68c5a8d3 -r 9c4e777d2212 devel/chmlib/patches/patch-aa
--- a/devel/chmlib/patches/patch-aa     Sat Oct 30 07:10:00 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2004/01/27 14:18:21 xtraeme Exp $
-
---- Makefile.orig      Wed Oct  9 23:25:54 2002
-+++ Makefile
-@@ -7,11 +7,10 @@
- # Note: LDFLAGS must contain -lpthread if you are using -DCHM_MT.
- #
- #CFLAGS=-DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64
--CFLAGS=-DCHM_MT -DCHM_USE_PREAD -DCHM_USE_IO64 -g -DDMALLOC_DISABLE
--LDFLAGS=-lpthread
--INSTALLPREFIX=/usr/local/
--CC=gcc-3.2
--LD=gcc-3.2
-+CFLAGS+=-DCHM_MT -DDMALLOC_DISABLE
-+LDFLAGS+=${PTHREAD_LDFLAGS}
-+INSTALLPREFIX=${PREFIX}
-+LD=${CC}
- LIBTOOL=libtool
- CP=/bin/cp
- EXAMPLES=test_chmLib enum_chmLib enumdir_chmLib chm_http extract_chmLib
diff -r c46d68c5a8d3 -r 9c4e777d2212 doc/CHANGES
--- a/doc/CHANGES       Sat Oct 30 07:10:00 2004 +0000
+++ b/doc/CHANGES       Sat Oct 30 07:11:18 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.7616 2004/10/30 07:05:51 xtraeme Exp $
+$NetBSD: CHANGES,v 1.7617 2004/10/30 07:11:18 minskim Exp $
 
 Changes to the packages collection and infrastructure in 2004:
 
@@ -4980,3 +4980,4 @@
        Updated docbook-simple to 1.1rc2 [minskim 2004-10-30]
        Updated octave-forge to 2004.09.09 [dmcmahill 2004-10-30]
        Updated swapd to 1.0.1 [xtraeme 2004-10-30]
+       Updated chmlib to 0.35 [minskim 2004-10-30]



Home | Main Index | Thread Index | Old Index