Skip to content

Commit

Permalink
Bump to version 0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
ray2501 committed Dec 12, 2023
1 parent a32a702 commit 14f4e76
Show file tree
Hide file tree
Showing 15 changed files with 40 additions and 36 deletions.
4 changes: 4 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
CHANGES for 0.7 2023/12/12 -------------------------------------------------

* Update tclconfig files

CHANGES for 0.6 2018/07/11 -------------------------------------------------

* Fix GDBM_UNKNOWN_ERROR error
Expand Down
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ PKG_HEADERS =
# configuration options) composed of the named objects.
#========================================================================

PKG_LIB_FILE = libtgdbm0.6.so
PKG_LIB_FILE8 = libtgdbm0.6.so
PKG_LIB_FILE9 = libtcl9tgdbm0.6.so
PKG_STUB_LIB_FILE = libtgdbmstub0.6.a
PKG_LIB_FILE = libtgdbm0.7.so
PKG_LIB_FILE8 = libtgdbm0.7.so
PKG_LIB_FILE9 = libtcl9tgdbm0.7.so
PKG_STUB_LIB_FILE = libtgdbmstub0.7.a

lib_BINARIES = $(PKG_LIB_FILE)
BINARIES = $(lib_BINARIES)
Expand Down Expand Up @@ -97,7 +97,7 @@ INSTALL_SCRIPT = ${INSTALL} -m 755
INSTALL_LIBRARY = ${INSTALL} -m 644

PACKAGE_NAME = tgdbm
PACKAGE_VERSION = 0.6
PACKAGE_VERSION = 0.7
CC = gcc
CCLD = @CCLD@
CFLAGS_DEFAULT = -O2 -fomit-frame-pointer -DNDEBUG
Expand Down Expand Up @@ -156,8 +156,8 @@ PKG_CFLAGS =
# that your library may use. TCL_DEFS can actually be a problem if
# you do not compile with a similar machine setup as the Tcl core was
# compiled with.
#DEFS = $(TCL_DEFS) -DPACKAGE_NAME=\"tgdbm\" -DPACKAGE_TARNAME=\"tgdbm\" -DPACKAGE_VERSION=\"0.6\" -DPACKAGE_STRING=\"tgdbm\ 0.6\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_tgdbm=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DTcl_Size=int -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DUSE_TCL_STUBS=1 -DUSE_TCLOO_STUBS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -DHAVE_STDBOOL_H=1 -DTCL_WIDE_INT_IS_LONG=1 -DTCL_CFG_OPTIMIZED=1 -DTCL_MAJOR_VERSION=8 $(PKG_CFLAGS)
DEFS = -DPACKAGE_NAME=\"tgdbm\" -DPACKAGE_TARNAME=\"tgdbm\" -DPACKAGE_VERSION=\"0.6\" -DPACKAGE_STRING=\"tgdbm\ 0.6\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_tgdbm=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DTcl_Size=int -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DUSE_TCL_STUBS=1 -DUSE_TCLOO_STUBS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -DHAVE_STDBOOL_H=1 -DTCL_WIDE_INT_IS_LONG=1 -DTCL_CFG_OPTIMIZED=1 -DTCL_MAJOR_VERSION=8 $(PKG_CFLAGS)
#DEFS = $(TCL_DEFS) -DPACKAGE_NAME=\"tgdbm\" -DPACKAGE_TARNAME=\"tgdbm\" -DPACKAGE_VERSION=\"0.7\" -DPACKAGE_STRING=\"tgdbm\ 0.7\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_tgdbm=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DTcl_Size=int -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DUSE_TCL_STUBS=1 -DUSE_TCLOO_STUBS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -DHAVE_STDBOOL_H=1 -DTCL_WIDE_INT_IS_LONG=1 -DTCL_CFG_OPTIMIZED=1 -DTCL_MAJOR_VERSION=8 $(PKG_CFLAGS)
DEFS = -DPACKAGE_NAME=\"tgdbm\" -DPACKAGE_TARNAME=\"tgdbm\" -DPACKAGE_VERSION=\"0.7\" -DPACKAGE_STRING=\"tgdbm\ 0.7\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_tgdbm=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DTcl_Size=int -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DUSE_TCL_STUBS=1 -DUSE_TCLOO_STUBS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -DHAVE_STDBOOL_H=1 -DTCL_WIDE_INT_IS_LONG=1 -DTCL_CFG_OPTIMIZED=1 -DTCL_MAJOR_VERSION=8 $(PKG_CFLAGS)

# Move pkgIndex.tcl to 'BINARIES' var if it is generated in the Makefile
CONFIG_CLEAN_FILES = Makefile pkgIndex.tcl
Expand Down
18 changes: 9 additions & 9 deletions config.status
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ exec 6>&1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by tgdbm $as_me 0.6, which was
This file was extended by tgdbm $as_me 0.7, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -412,7 +412,7 @@ Report bugs to the package provider."

ac_cs_config=''
ac_cs_version="\
tgdbm config.status 0.6
tgdbm config.status 0.7
configured by ./configure, generated by GNU Autoconf 2.71,
with options \"$ac_cs_config\"
Expand Down Expand Up @@ -580,7 +580,7 @@ S["TCLSH_PROG"]="/usr/bin/tclsh8.6"
S["VC_MANIFEST_EMBED_EXE"]=""
S["VC_MANIFEST_EMBED_DLL"]=""
S["RANLIB_STUB"]="ranlib"
S["PKG_STUB_LIB_FILE"]="libtgdbmstub0.6.a"
S["PKG_STUB_LIB_FILE"]="libtgdbmstub0.7.a"
S["MAKE_STUB_LIB"]="${STLIB_LD} $@ $(PKG_STUB_OBJECTS)"
S["MAKE_STATIC_LIB"]="${STLIB_LD} $@ $(PKG_OBJECTS)"
S["MAKE_SHARED_LIB"]="${SHLIB_LD} ${LDFLAGS} ${LDFLAGS_DEFAULT} -o $@ $(PKG_OBJECTS) ${SHLIB_LD_LIBS}"
Expand Down Expand Up @@ -659,9 +659,9 @@ S["PKG_HEADERS"]=""
S["PKG_TCL_SOURCES"]=" qgdbm.tcl"
S["PKG_STUB_OBJECTS"]=""
S["PKG_STUB_SOURCES"]=""
S["PKG_LIB_FILE9"]="libtcl9tgdbm0.6.so"
S["PKG_LIB_FILE8"]="libtgdbm0.6.so"
S["PKG_LIB_FILE"]="libtgdbm0.6.so"
S["PKG_LIB_FILE9"]="libtcl9tgdbm0.7.so"
S["PKG_LIB_FILE8"]="libtgdbm0.7.so"
S["PKG_LIB_FILE"]="libtgdbm0.7.so"
S["EXEEXT"]=""
S["CYGPATH"]="echo"
S["target_alias"]=""
Expand All @@ -671,7 +671,7 @@ S["LIBS"]=""
S["ECHO_T"]=""
S["ECHO_N"]="-n"
S["ECHO_C"]=""
S["DEFS"]="-DPACKAGE_NAME=\\\"tgdbm\\\" -DPACKAGE_TARNAME=\\\"tgdbm\\\" -DPACKAGE_VERSION=\\\"0.6\\\" -DPACKAGE_STRING=\\\"tgdbm\\ 0.6\\\" -DPACKAGE_BUGREPORT=\\\"\\\" -DPACKAGE_UR"\
S["DEFS"]="-DPACKAGE_NAME=\\\"tgdbm\\\" -DPACKAGE_TARNAME=\\\"tgdbm\\\" -DPACKAGE_VERSION=\\\"0.7\\\" -DPACKAGE_STRING=\\\"tgdbm\\ 0.7\\\" -DPACKAGE_BUGREPORT=\\\"\\\" -DPACKAGE_UR"\
"L=\\\"\\\" -DBUILD_tgdbm=/\\*\\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS"\
"_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DTcl_Size=int -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS="\
"1 -DUSE_TCL_STUBS=1 -DUSE_TCLOO_STUBS=1 -DMODULE_SCOPE=extern\\ __attribute__\\(\\(__visibility__\\(\\\"hidden\\\"\\)\\)\\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNIO"\
Expand Down Expand Up @@ -701,8 +701,8 @@ S["prefix"]="/usr"
S["exec_prefix"]="/usr"
S["PACKAGE_URL"]=""
S["PACKAGE_BUGREPORT"]=""
S["PACKAGE_STRING"]="tgdbm 0.6"
S["PACKAGE_VERSION"]="0.6"
S["PACKAGE_STRING"]="tgdbm 0.7"
S["PACKAGE_VERSION"]="0.7"
S["PACKAGE_TARNAME"]="tgdbm"
S["PACKAGE_NAME"]="tgdbm"
S["PATH_SEPARATOR"]=":"
Expand Down
18 changes: 9 additions & 9 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.71 for tgdbm 0.6.
# Generated by GNU Autoconf 2.71 for tgdbm 0.7.
#
#
# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
Expand Down Expand Up @@ -608,8 +608,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='tgdbm'
PACKAGE_TARNAME='tgdbm'
PACKAGE_VERSION='0.6'
PACKAGE_STRING='tgdbm 0.6'
PACKAGE_VERSION='0.7'
PACKAGE_STRING='tgdbm 0.7'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''

Expand Down Expand Up @@ -1331,7 +1331,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures tgdbm 0.6 to adapt to many kinds of systems.
\`configure' configures tgdbm 0.7 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
Expand Down Expand Up @@ -1393,7 +1393,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of tgdbm 0.6:";;
short | recursive ) echo "Configuration of tgdbm 0.7:";;
esac
cat <<\_ACEOF
Expand Down Expand Up @@ -1495,7 +1495,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
tgdbm configure 0.6
tgdbm configure 0.7
generated by GNU Autoconf 2.71
Copyright (C) 2021 Free Software Foundation, Inc.
Expand Down Expand Up @@ -1794,7 +1794,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by tgdbm $as_me 0.6, which was
It was created by tgdbm $as_me 0.7, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ $0$ac_configure_args_raw
Expand Down Expand Up @@ -9473,7 +9473,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by tgdbm $as_me 0.6, which was
This file was extended by tgdbm $as_me 0.7, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -9528,7 +9528,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
tgdbm config.status 0.6
tgdbm config.status 0.7
configured by $0, generated by GNU Autoconf 2.71,
with options \\"\$ac_cs_config\\"
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dnl to configure the system for the local environment.
# so that we create the export library with the dll.
#-----------------------------------------------------------------------

AC_INIT([tgdbm], [0.6])
AC_INIT([tgdbm], [0.7])

#--------------------------------------------------------------------
# Call TEA_INIT as the first TEA_ macro to set up initial vars.
Expand Down
2 changes: 1 addition & 1 deletion generic/tgdbm.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ extern "C" {
//extern const char* gdbm_version;
//extern gdbm_error gdbm_errno;

#define TGDBM_VERSION "0.6"
#define TGDBM_VERSION "0.7"

/* 0x10 */
#define GDBM_SETVAR TCL_TRACE_READS
Expand Down
8 changes: 4 additions & 4 deletions pkgIndex.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# Tcl package index file, version 1.1
#
if {[package vsatisfies [package provide Tcl] 9.0-]} {
package ifneeded tgdbm 0.6 \
[list load [file join $dir libtcl9tgdbm0.6.so] [string totitle tgdbm]]
package ifneeded tgdbm 0.7 \
[list load [file join $dir libtcl9tgdbm0.7.so] [string totitle tgdbm]]
} else {
package ifneeded tgdbm 0.6 \
[list load [file join $dir libtgdbm0.6.so] [string totitle tgdbm]]
package ifneeded tgdbm 0.7 \
[list load [file join $dir libtgdbm0.7.so] [string totitle tgdbm]]
}
4 changes: 2 additions & 2 deletions qgdbm.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
# 20.02.2000: 0.3 initial official version
# 09.07.2000: fixed renaming of gdbm to tgdbm

package require -exact tgdbm 0.6
package require -exact tgdbm 0.7

set qgdbm_version 0.6
set qgdbm_version 0.7
package provide qgdbm $qgdbm_version


Expand Down
Binary file modified tests/artest.gdbm
Binary file not shown.
2 changes: 1 addition & 1 deletion tests/qgdbm.test
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

# extend auto-loader-path, to avoid interference by installed versions
set auto_path [concat .. $auto_path]
package require -exact qgdbm 0.6
package require -exact qgdbm 0.7

# standard insert-data
set stdInsert [list "anna schatzi [clock scan 09/09/1972] 1.80 62" \
Expand Down
Binary file modified tests/strange.gdbm
Binary file not shown.
Binary file modified tests/test.gdbm
Binary file not shown.
Binary file modified tests/test1.gdbm
Binary file not shown.
2 changes: 1 addition & 1 deletion tests/tgdbm.test
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ verbose error

# extend auto-loader-path, to avoid interference by installed versions
set auto_path [concat .. $auto_path]
package require -exact tgdbm 0.6
package require -exact tgdbm 0.7

# just to be sure delete the created test-files
catch {file delete -force test.gdbm test1.gdbm strange.gdbm junk_n_copy.gdbm artest.gdbm}
Expand Down
2 changes: 1 addition & 1 deletion tgdbm.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Name: tcl-tgdbm
Summary: Tcl interface to the Gdbm
Version: 0.6
Version: 0.7
Release: 0
License: GPL-2.0-only
Group: Development/Libraries/Tcl
Expand Down

0 comments on commit 14f4e76

Please sign in to comment.