pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/doc Update devel/readline to 5.0. Changes from versio...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1e9fd401d544
branches:  trunk
changeset: 483520:1e9fd401d544
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Nov 14 06:16:49 2004 +0000

description:
Update devel/readline to 5.0.  Changes from version 4.3 include:

* Improved compatibility with BSD csh modifiers.
* Improved vi editing mode.
* History files include timestamp information.

diffstat:

 devel/readline/DESCR            |   6 +-
 devel/readline/Makefile         |  20 +++------
 devel/readline/buildlink3.mk    |   8 +-
 devel/readline/distinfo         |  18 +------
 devel/readline/patches/patch-ae |  85 +++++++++++++++++++++-------------------
 doc/CHANGES                     |   3 +-
 6 files changed, 64 insertions(+), 76 deletions(-)

diffs (237 lines):

diff -r 6e998c89febd -r 1e9fd401d544 devel/readline/DESCR
--- a/devel/readline/DESCR      Sun Nov 14 04:05:16 2004 +0000
+++ b/devel/readline/DESCR      Sun Nov 14 06:16:49 2004 +0000
@@ -1,3 +1,3 @@
-This is the GNU readline library, which can be linked into
-applications, allowing them to re-use previously typed input, and,
-additionally, edit it.
+This is the GNU readline library, which can be linked into applications,
+allowing them to re-use previously typed input and additionally to
+edit it.
diff -r 6e998c89febd -r 1e9fd401d544 devel/readline/Makefile
--- a/devel/readline/Makefile   Sun Nov 14 04:05:16 2004 +0000
+++ b/devel/readline/Makefile   Sun Nov 14 06:16:49 2004 +0000
@@ -1,16 +1,10 @@
-# $NetBSD: Makefile,v 1.32 2004/10/03 00:13:33 tv Exp $
+# $NetBSD: Makefile,v 1.33 2004/11/14 06:16:49 jlam Exp $
 #
 
-DISTNAME=      readline-4.3
-PKGNAME=       ${DISTNAME}pl5
-PKGREVISION=   2
+DISTNAME=      readline-5.0
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GNU:=readline/}
 
-PATCH_SITES=   ${MASTER_SITES:=${DISTNAME}-patches/}
-PATCHFILES=    readline43-001 readline43-002 readline43-003 readline43-004 \
-               readline43-005
-
 MAINTAINER=    tech-pkg%NetBSD.org@localhost
 HOMEPAGE=      http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
 COMMENT=       GNU library that can recall and edit previous input
@@ -18,12 +12,12 @@
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 
 USE_BUILDLINK3=                yes
-GNU_CONFIGURE=         # defined
-USE_LIBTOOL=           # defined
+GNU_CONFIGURE=         yes
+USE_LIBTOOL=           yes
 
-ALL_TARGET=            all-la
-INSTALL_TARGET=                install-la
+ALL_TARGET=            all-libtool
+INSTALL_TARGET=                install-libtool
 
-INFO_FILES=            readline.info history.info rluserman.info
+INFO_FILES=            history.info readline.info rluserman.info
 
 .include "../../mk/bsd.pkg.mk"
diff -r 6e998c89febd -r 1e9fd401d544 devel/readline/buildlink3.mk
--- a/devel/readline/buildlink3.mk      Sun Nov 14 04:05:16 2004 +0000
+++ b/devel/readline/buildlink3.mk      Sun Nov 14 06:16:49 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.18 2004/10/03 00:13:33 tv Exp $
+# $NetBSD: buildlink3.mk,v 1.19 2004/11/14 06:16:49 jlam Exp $
 
 BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
 READLINE_BUILDLINK3_MK:=       ${READLINE_BUILDLINK3_MK}+
@@ -11,9 +11,9 @@
 BUILDLINK_PACKAGES+=   readline
 
 .if !empty(READLINE_BUILDLINK3_MK:M+)
-BUILDLINK_DEPENDS.readline+=   readline>=2.2
-BUILDLINK_RECOMMENDED.readline+=       readline>=4.3pl5nb2
-BUILDLINK_PKGSRCDIR.readline?= ../../devel/readline
+BUILDLINK_DEPENDS.readline+=           readline>=2.2
+BUILDLINK_RECOMMENDED.readline+=       readline>=5.0
+BUILDLINK_PKGSRCDIR.readline?=         ../../devel/readline
 
 BUILDLINK_FILES.readline+=     include/history.h
 BUILDLINK_FILES.readline+=     include/readline.h
diff -r 6e998c89febd -r 1e9fd401d544 devel/readline/distinfo
--- a/devel/readline/distinfo   Sun Nov 14 04:05:16 2004 +0000
+++ b/devel/readline/distinfo   Sun Nov 14 06:16:49 2004 +0000
@@ -1,15 +1,5 @@
-$NetBSD: distinfo,v 1.8 2004/08/20 17:32:50 tv Exp $
+$NetBSD: distinfo,v 1.9 2004/11/14 06:16:49 jlam Exp $
 
-SHA1 (readline-4.3.tar.gz) = 4e226fd5f6f919707f11b9e28d47b5487448895d
-Size (readline-4.3.tar.gz) = 961662 bytes
-SHA1 (readline43-001) = 23a75df0b127ec1e29e627471cdf5618862dc9b2
-Size (readline43-001) = 1126 bytes
-SHA1 (readline43-002) = 4500d4ee9d447c6e35569bb965ecf2905aa2b11e
-Size (readline43-002) = 738 bytes
-SHA1 (readline43-003) = e68ff498502ab28ec12826c97fdc87249f0af874
-Size (readline43-003) = 2202 bytes
-SHA1 (readline43-004) = 24bef0b7bda1cafd0475098ed7a01f45a58765e6
-Size (readline43-004) = 3140 bytes
-SHA1 (readline43-005) = a022e113b8ad603d1020e99308de0a917626d1e1
-Size (readline43-005) = 1056 bytes
-SHA1 (patch-ae) = 89d95180051bb4d9db9336fbac236ab083cf83e9
+SHA1 (readline-5.0.tar.gz) = 9b9959c3f62e3e82d3edd604c0bf6124d5256c9e
+Size (readline-5.0.tar.gz) = 1808946 bytes
+SHA1 (patch-ae) = 92a6249e51d8e0cb0e159862a383ba7b785a33c0
diff -r 6e998c89febd -r 1e9fd401d544 devel/readline/patches/patch-ae
--- a/devel/readline/patches/patch-ae   Sun Nov 14 04:05:16 2004 +0000
+++ b/devel/readline/patches/patch-ae   Sun Nov 14 06:16:49 2004 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ae,v 1.10 2004/08/20 17:32:50 tv Exp $
+$NetBSD: patch-ae,v 1.11 2004/11/14 06:16:49 jlam Exp $
 
---- Makefile.in.orig   Thu Jan 24 16:15:24 2002
+--- Makefile.in.orig   2004-04-22 16:44:37.000000000 -0400
 +++ Makefile.in
 @@ -18,6 +18,9 @@
  RL_LIBRARY_VERSION = @LIBVERSION@
@@ -9,16 +9,18 @@
 +SHLIB_MAJOR = @SHLIB_MAJOR@
 +SHLIB_MINOR = @SHLIB_MINOR@
 +
- srcdir = @srcdir@
- VPATH = .:@srcdir@
- top_srcdir = @top_srcdir@
-@@ -80,11 +83,12 @@ GCC_LINT_CFLAGS = $(XCCFLAGS) $(GCC_LINT
+ PACKAGE = @PACKAGE_NAME@
+ VERSION = @PACKAGE_VERSION@
  
- .c.o:
+@@ -92,9 +95,15 @@ GCC_LINT_CFLAGS = $(XCCFLAGS) $(GCC_LINT
        ${RM} $@
--      $(CC) -c $(CCFLAGS) $<
+       $(CC) -c $(CCFLAGS) $<
+ 
++.SUFFIXES: .lo
++.c.lo:
++      ${RM} $@
 +      $(LIBTOOL) --mode=compile $(CC) -c $(CCFLAGS) $<
- 
++
  # The name of the main library target.
  LIBRARY_NAME = libreadline.a
  STATIC_LIBS = libreadline.a libhistory.a
@@ -26,56 +28,57 @@
  
  # The C code source files for this library.
  CSOURCES = $(srcdir)/readline.c $(srcdir)/funmap.c $(srcdir)/keymaps.c \
-@@ -133,6 +137,8 @@ INSTALL_TARGETS = @STATIC_INSTALL_TARGET
+@@ -143,6 +152,8 @@ INSTALL_TARGETS = @STATIC_INSTALL_TARGET
  
  all: $(TARGETS)
  
-+all-la: $(LIBTOOL_LIBS)
++all-libtool: $(LIBTOOL_LIBS)
 +
  everything: all examples
  
  static: $(STATIC_LIBS)
-@@ -142,6 +148,12 @@ libreadline.a: $(OBJECTS)
+@@ -152,17 +163,31 @@ libreadline.a: $(OBJECTS)
        $(AR) $(ARFLAGS) $@ $(OBJECTS)
        -test -n "$(RANLIB)" && $(RANLIB) $@
  
-+libreadline.la: $(OBJECTS)
-+      ${LIBTOOL} --mode=uninstall ${RM} $@
-+      ${LIBTOOL} --mode=link ${CC} -o $@ ${OBJECTS:.o=.lo}            \
-+              -rpath $(libdir)                                        \
-+              -version-info ${SHLIB_MAJOR}:${SHLIB_MINOR}
++libreadline.la: $(OBJECTS:.o=.lo)
++      $(LIBTOOL) --mode=clean $(RM) $@
++      $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS:.o=.lo) \
++              -rpath $(libdir) -version-info $(SHLIB_MAJOR):$(SHLIB_MINOR)
 +
  libhistory.a: $(HISTOBJ) xmalloc.o
        $(RM) $@
        $(AR) $(ARFLAGS) $@ $(HISTOBJ) xmalloc.o
-@@ -151,13 +163,27 @@ libhistory.a: $(HISTOBJ) xmalloc.o
+       -test -n "$(RANLIB)" && $(RANLIB) $@
+ 
++libhistory.la: $(HISTOBJ:.o=.lo) xmalloc.lo
++      $(LIBTOOL) --mode=clean $(RM) $@
++      $(LIBTOOL) --mode=link $(CC) -o $@ $(HISTOBJ:.o=.lo) xmalloc.lo \
++              -rpath $(libdir) -version-info $(SHLIB_MAJOR):$(SHLIB_MINOR)
++
+ # Since tilde.c is shared between readline and bash, make sure we compile
  # it with the right flags when it's built as part of readline
  tilde.o:      tilde.c
        rm -f $@
--      $(CC) $(CCFLAGS) -DREADLINE_LIBRARY -c $(srcdir)/tilde.c
-+      $(LIBTOOL) --mode=compile $(CC) $(CCFLAGS) -DREADLINE_LIBRARY -c $(srcdir)/tilde.c
+       $(CC) $(CCFLAGS) -DREADLINE_LIBRARY -c $(srcdir)/tilde.c
  
--readline: $(OBJECTS) readline.h rldefs.h chardefs.h ./libreadline.a
--      $(CC) $(CCFLAGS) -o $@ ./examples/rl.c ./libreadline.a ${TERMCAP_LIB}
-+libhistory.la: $(HISTOBJ) xmalloc.o
-+      ${LIBTOOL} --mode=uninstall $(RM) $@
-+      ${LIBTOOL} --mode=link ${CC} -o $@ ${HISTOBJ:.o=.lo} xmalloc.lo \
-+              -rpath $(libdir)                                        \
-+              -version-info ${SHLIB_MAJOR}:${SHLIB_MINOR}
++tilde.lo:     tilde.c
++      $(LIBTOOL) --mode=clean rm -f $@
++      $(LIBTOOL) --mode=compile $(CC) $(CCFLAGS) -DREADLINE_LIBRARY -c $(srcdir)/tilde.c
 +
-+readline: $(OBJECTS) readline.h rldefs.h chardefs.h ./$(LIBRARY_NAME)
-+      ${LIBTOOL} $(CC) $(CCFLAGS) $(LDFLAGS) -o $@ ./examples/rl.c ./$(LIBRARY_NAME) ${TERMCAP_LIB}
+ readline: $(OBJECTS) readline.h rldefs.h chardefs.h ./libreadline.a
+       $(CC) $(CCFLAGS) -o $@ ./examples/rl.c ./libreadline.a ${TERMCAP_LIB}
  
- lint: force
-       $(MAKE) $(MFLAGS) CCFLAGS='$(GCC_LINT_CFLAGS)' static
+@@ -241,6 +266,12 @@ install-shared: installdirs install-head
+ uninstall-shared: maybe-uninstall-headers
+       -( cd shlib; ${MAKE} ${MFLAGS} DESTDIR=${DESTDIR} uninstall )
+ 
++install-libtool: installdirs $(LIBTOOL_LIBS) install-headers install-doc
++      -$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(libdir)/libreadline.la
++      $(LIBTOOL) --mode=install $(INSTALL) libreadline.la $(DESTDIR)$(libdir)
++      -$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(libdir)/libhistory.la
++      $(LIBTOOL) --mode=install $(INSTALL) libhistory.la $(DESTDIR)$(libdir)
 +
-+install-la: installdirs $(LIBTOOL_LIBS) install-headers
-+      ${LIBTOOL} --mode=install ${BSD_INSTALL_LIB} libreadline.la $(libdir)
-+      ${LIBTOOL} --mode=install ${BSD_INSTALL_LIB} libhistory.la $(libdir)
-+      -( if test -d doc ; then \
-+              cd doc && \
-+              ${MAKE} ${MFLAGS} infodir=$(infodir) install; \
-+        fi )
- 
- Makefile makefile: config.status $(srcdir)/Makefile.in
-       CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
+ install-doc:  installdirs
+       -( if test -d doc ; then \
+               cd doc && \
diff -r 6e998c89febd -r 1e9fd401d544 doc/CHANGES
--- a/doc/CHANGES       Sun Nov 14 04:05:16 2004 +0000
+++ b/doc/CHANGES       Sun Nov 14 06:16:49 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.7847 2004/11/13 18:35:03 tron Exp $
+$NetBSD: CHANGES,v 1.7848 2004/11/14 06:16:51 jlam Exp $
 
 Changes to the packages collection and infrastructure in 2004:
 
@@ -5266,3 +5266,4 @@
        Updated p5-Archive-Tar to 1.21 [seb 2004-11-13]
        Updated p5-Archive-Zip to 1.14 [seb 2004-11-13]
        Updated kphone to 4.0.5 [tron 2004-11-13]
+       Updated readline to 5.0 [jlam 2004-11-14]



Home | Main Index | Thread Index | Old Index