pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases Update to Metakit 2.4.9.7:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e751dd210f3b
branches:  trunk
changeset: 554267:e751dd210f3b
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Feb 11 21:00:13 2009 +0000

description:
Update to Metakit 2.4.9.7:
- better UTF8 support in file & property names
- bugfixes
- Python 2.5 support for 64bit platforms

diffstat:

 databases/metakit-lib/Makefile         |  11 +++++++----
 databases/metakit-lib/distinfo         |  12 +++++-------
 databases/metakit-lib/patches/patch-aa |  23 -----------------------
 databases/metakit-lib/patches/patch-ab |   6 +++---
 databases/metakit-lib/patches/patch-ac |  19 -------------------
 databases/py-metakit/Makefile          |  11 ++++++++---
 databases/py-metakit/patches/patch-aa  |  34 ----------------------------------
 databases/py-metakit/patches/patch-ab  |  30 ------------------------------
 8 files changed, 23 insertions(+), 123 deletions(-)

diffs (233 lines):

diff -r 2fd99840f4cc -r e751dd210f3b databases/metakit-lib/Makefile
--- a/databases/metakit-lib/Makefile    Wed Feb 11 20:37:13 2009 +0000
+++ b/databases/metakit-lib/Makefile    Wed Feb 11 21:00:13 2009 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.19 2007/12/02 13:04:08 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2009/02/11 21:00:13 joerg Exp $
 #
 
-DISTNAME=      metakit-2.4.9.5
-PKGNAME=       metakit-lib-2.4.9.5
+VERSION=       2.4.9.7
+DISTNAME=      metakit-${VERSION}
+PKGNAME=       metakit-lib-${VERSION}
 CATEGORIES=    databases
 MASTER_SITES=  http://www.equi4.com/pub/mk/
 
@@ -10,6 +11,8 @@
 HOMEPAGE=      http://www.equi4.com/metakit/
 COMMENT=       Embedded database library
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 GNU_CONFIGURE= yes
 CONFIGURE_DIRS=        builds
 CONFIGURE_SCRIPT= ../unix/configure
@@ -20,6 +23,6 @@
 TEST_TARGET=   test
 
 post-install:
-       ${INSTALL_DATA} ${WRKSRC}/include/mk4io.h ${PREFIX}/include
+       ${INSTALL_DATA} ${WRKSRC}/include/mk4io.h ${DESTDIR}${PREFIX}/include
 
 .include "../../mk/bsd.pkg.mk"
diff -r 2fd99840f4cc -r e751dd210f3b databases/metakit-lib/distinfo
--- a/databases/metakit-lib/distinfo    Wed Feb 11 20:37:13 2009 +0000
+++ b/databases/metakit-lib/distinfo    Wed Feb 11 21:00:13 2009 +0000
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.7 2008/08/02 21:32:30 dholland Exp $
+$NetBSD: distinfo,v 1.8 2009/02/11 21:00:13 joerg Exp $
 
-SHA1 (metakit-2.4.9.5.tar.gz) = 26f693c857ef530988a927bd3c964a4e9e60ce9b
-RMD160 (metakit-2.4.9.5.tar.gz) = 330cd3e096b7492bd6eda1b1682277dfe06311f0
-Size (metakit-2.4.9.5.tar.gz) = 877426 bytes
-SHA1 (patch-aa) = 07b31ce305aeececb5403f1707d54f2a2a87f338
-SHA1 (patch-ab) = 920485d14cfac6f10d1cb52332c54b1800d22d97
-SHA1 (patch-ac) = f16a3fd5c1e8ac435c49c5e1c430978b1e29a6bb
+SHA1 (metakit-2.4.9.7.tar.gz) = 1b75400038fcad941886deb0748e669c224bc995
+RMD160 (metakit-2.4.9.7.tar.gz) = e563c2187e66ed7a8ea0e9a16971e6ce777e3088
+Size (metakit-2.4.9.7.tar.gz) = 868310 bytes
+SHA1 (patch-ab) = 74a987a807844460cee9b13cd06578529911c68e
diff -r 2fd99840f4cc -r e751dd210f3b databases/metakit-lib/patches/patch-aa
--- a/databases/metakit-lib/patches/patch-aa    Wed Feb 11 20:37:13 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-$NetBSD
-
---- python/PyView.cpp~ 2005-04-15 02:27:22.000000000 -0400
-+++ python/PyView.cpp  2008-08-02 17:32:18.000000000 -0400
-@@ -977,15 +977,15 @@ static void PyView_dealloc(PyView *o) {
- }
- 
- static int PyView_print(PyView *o, FILE *f, int) {
--  fprintf(f, "<PyView object at %x>", (int)o);
-+  fprintf(f, "<PyView object at %p>", o);
-   return 0;
- }
- static int PyViewer_print(PyView *o, FILE *f, int) {
--  fprintf(f, "<PyViewer object at %x>", (int)o);
-+  fprintf(f, "<PyViewer object at %p>", o);
-   return 0;
- }
- static int PyROViewer_print(PyView *o, FILE *f, int) {
--  fprintf(f, "<PyROViewer object at %x>", (int)o);
-+  fprintf(f, "<PyROViewer object at %p>", o);
-   return 0;
- }
- 
diff -r 2fd99840f4cc -r e751dd210f3b databases/metakit-lib/patches/patch-ab
--- a/databases/metakit-lib/patches/patch-ab    Wed Feb 11 20:37:13 2009 +0000
+++ b/databases/metakit-lib/patches/patch-ab    Wed Feb 11 21:00:13 2009 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.2 2006/03/02 19:19:43 drochner Exp $
+$NetBSD: patch-ab,v 1.3 2009/02/11 21:00:13 joerg Exp $
 
---- unix/Makefile.in.orig      2005-11-22 20:12:28.000000000 +0100
+--- unix/Makefile.in.orig      2007-06-16 02:23:25.000000000 +0200
 +++ unix/Makefile.in
 @@ -36,8 +36,7 @@ tclsh = tclsh
  tclincludedir = @TCL_INCLUDE_DIR@
@@ -54,7 +54,7 @@
        test -d tests || mkdir tests
 @@ -106,9 +107,9 @@ install-tcl: Mk4tcl$(LIBEXT)
        if [ '${LIBEXT}' = '.a' ]; then ranlib $(DESTDIR)$(tcllibdir)/Mk4tcl/Mk4tcl.a; fi
-       echo 'package ifneeded Mk4tcl 2.4.9.5 [list load [file join $$dir Mk4tcl$(LIBEXT)] Mk4tcl]' >$(DESTDIR)$(tcllibdir)/Mk4tcl/pkgIndex.tcl
+       echo 'package ifneeded Mk4tcl 2.4.9.7 [list load [file join $$dir Mk4tcl$(LIBEXT)] Mk4tcl]' >$(DESTDIR)$(tcllibdir)/Mk4tcl/pkgIndex.tcl
  
 -install-python: Mk4py$(LIBEXT)
 -      $(INSTALL_PROGRAM) Mk4py$(LIBEXT) $(DESTDIR)$(pylibdir)
diff -r 2fd99840f4cc -r e751dd210f3b databases/metakit-lib/patches/patch-ac
--- a/databases/metakit-lib/patches/patch-ac    Wed Feb 11 20:37:13 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2008/08/02 21:32:30 dholland Exp $
-
---- python/PyRowRef.cpp~       2004-04-26 06:18:13.000000000 -0400
-+++ python/PyRowRef.cpp        2008-08-02 17:28:54.000000000 -0400
-@@ -24,12 +24,12 @@ static void PyRowRef_dealloc(PyRowRef *o
- }
- 
- static int PyRowRef_print(PyRowRef *o, FILE *f, int) {
--  fprintf(f, "<PyRowRef object at %x>", (int)o);
-+  fprintf(f, "<PyRowRef object at %p>", o);
-   return 0;
- }
- 
- static int PyRORowRef_print(PyRowRef *o, FILE *f, int) {
--  fprintf(f, "<PyRORowRef object at %x>", (int)o);
-+  fprintf(f, "<PyRORowRef object at %p>", o);
-   return 0;
- }
- 
diff -r 2fd99840f4cc -r e751dd210f3b databases/py-metakit/Makefile
--- a/databases/py-metakit/Makefile     Wed Feb 11 20:37:13 2009 +0000
+++ b/databases/py-metakit/Makefile     Wed Feb 11 21:00:13 2009 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.21 2007/12/02 13:04:08 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2009/02/11 21:00:49 joerg Exp $
 #
 
-DISTNAME=      metakit-2.4.9.5
+DISTNAME=      metakit-2.4.9.7
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases python
 MASTER_SITES=  http://www.equi4.com/pub/mk/ \
@@ -11,8 +11,11 @@
 HOMEPAGE=      http://www.equi4.com/metakit/
 COMMENT=       Embedded database library
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 PATCHDIR=      ${.CURDIR}/../metakit-lib/patches
 DISTINFO_FILE= ${.CURDIR}/../metakit-lib/distinfo
+
 GNU_CONFIGURE= yes
 CONFIGURE_DIRS=        builds
 CONFIGURE_SCRIPT= ../unix/configure
@@ -26,11 +29,13 @@
 
 PYCOMPILEALL=  ${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/compileall.py
 
+INSTALLATION_DIRS+=    ${PYSITELIB}
+
 post-build:
        cd ${WRKSRC}/python && ${PYTHONBIN} ${PYCOMPILEALL} .
 
 post-install:
-       ${INSTALL_DATA} ${WRKSRC}/python/metakit.pyc ${PREFIX}/${PYSITELIB}
+       ${INSTALL_DATA} ${WRKSRC}/python/metakit.pyc ${DESTDIR}${PREFIX}/${PYSITELIB}
 
 .include "../../databases/metakit-lib/buildlink3.mk"
 .include "../../lang/python/extension.mk"
diff -r 2fd99840f4cc -r e751dd210f3b databases/py-metakit/patches/patch-aa
--- a/databases/py-metakit/patches/patch-aa     Wed Feb 11 20:37:13 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2004/04/16 15:39:27 drochner Exp $
-
---- ../unix/Makefile.in.orig   2004-01-26 10:54:45.000000000 +0100
-+++ ../unix/Makefile.in        2004-04-16 16:45:19.000000000 +0200
-@@ -76,7 +76,6 @@
-                       -I$(tclincludedir)/generic \
-                       -I$(tclincludedir)
- CXX_SWITCHES_PY   = $(CPPFLAGS) $(CXXFLAGS) \
--                      -I$(srcdir)/../include \
-                       -I$(srcdir)/../python/scxx \
-                       -I$(pyincludedir)
- CXX_SWITCHES_LUA  = $(CPPFLAGS) $(CXXFLAGS) \
-@@ -124,7 +123,7 @@
- 
- install-python: Mk4py@MODULE_SUFFIX@
-       $(INSTALL_PROGRAM) Mk4py@MODULE_SUFFIX@ $(DESTDIR)$(pylibdir)
--      $(INSTALL_PROGRAM) $(srcdir)/../python/metakit.py $(DESTDIR)$(pylibdir)
-+      $(INSTALL_DATA) $(srcdir)/../python/metakit.py $(DESTDIR)$(pylibdir)
- 
- clean:
-       $L rm -f *.la *.o *.lo
-@@ -162,10 +161,10 @@
-       cp .libs/libmk4py@MODULE_SUFFIX@ $@
-       -strip $(STRIP_FLAGS) $@ 2>/dev/null
- 
--libmk4py.la: $(PYOBJS) $(LOBJS)
-+libmk4py.la: $(PYOBJS)
-       $L --mode=link $(CXX) -o $@ $(CXX_SWITCHES) $(LIBTOOL_MODULE_FLAGS) \
-               -avoid-version -rpath $(libdir) \
--              $(SPYOBJS) $(SHLOBJS)
-+              $(SPYOBJS) -L${prefix}/lib -lmk4
- 
- Mk4lua@SHLIB_SUFFIX@: mk4lua.o libmk4.la
-       $(CXX) -o $@ $(CXX_SWITCHES) -shared mk4lua.lo $(SHLOBJS) \
diff -r 2fd99840f4cc -r e751dd210f3b databases/py-metakit/patches/patch-ab
--- a/databases/py-metakit/patches/patch-ab     Wed Feb 11 20:37:13 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2006/05/10 14:31:08 joerg Exp $
-
---- ../unix/configure.orig     2006-05-10 14:21:36.000000000 +0000
-+++ ../unix/configure
-@@ -3414,13 +3414,13 @@ else
-   LIBEXT=$LIB_SUFFIX
- fi
- 
--echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
--echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6
-+echo "$as_me:$LINENO: checking for pthread_mutex_init in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}" >&5
-+echo $ECHO_N "checking for pthread_mutex_init in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}... $ECHO_C" >&6
- if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
-   echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-   ac_check_lib_save_LIBS=$LIBS
--LIBS="-lpthread  $LIBS"
-+LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}  $LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h.  */
- _ACEOF
-@@ -3479,7 +3479,7 @@ fi
- echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
- echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6
- if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
--  LIBS="$LIBS -lpthread"
-+  LIBS="$LIBS ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
- fi
- 
- 



Home | Main Index | Thread Index | Old Index