Skip to content

Commit

Permalink
Bump to version 0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
ray2501 committed Jul 11, 2018
1 parent b8af68f commit 0a2868a
Show file tree
Hide file tree
Showing 15 changed files with 39 additions and 33 deletions.
8 changes: 7 additions & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
CHANGES for 0.6 2018/07/11 -------------------------------------------------

* Fix GDBM_UNKNOWN_ERROR error
* Try to fix build failed in Ubuntu 14.04
* Remove _ANSI_ARGS_

CHANGES for 0.5 again 2005/04/14 -------------------------------------------

* added some changes from Thomas Maeder
Expand Down Expand Up @@ -38,4 +44,4 @@ CHANGES for 0.4 ------------------------------------------------------------
package require gdbm

you should change this to
package require tgdbm
package require tgdbm
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ PKG_HEADERS =
# configuration options) composed of the named objects.
#========================================================================

PKG_LIB_FILE = libtgdbm0.5.so
PKG_STUB_LIB_FILE = libtgdbmstub0.5.a
PKG_LIB_FILE = libtgdbm0.6.so
PKG_STUB_LIB_FILE = libtgdbmstub0.6.a

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

PACKAGE_NAME = tgdbm
PACKAGE_VERSION = 0.5
PACKAGE_VERSION = 0.6
CC = gcc
CFLAGS_DEFAULT = -O2 -fomit-frame-pointer -DNDEBUG
CFLAGS_WARNING = -Wall
Expand Down Expand Up @@ -154,8 +154,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.5\" -DPACKAGE_STRING=\"tgdbm\ 0.5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_tgdbm=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -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 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 $(PKG_CFLAGS)
DEFS = -DPACKAGE_NAME=\"tgdbm\" -DPACKAGE_TARNAME=\"tgdbm\" -DPACKAGE_VERSION=\"0.5\" -DPACKAGE_STRING=\"tgdbm\ 0.5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_tgdbm=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -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 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 $(PKG_CFLAGS)
#DEFS = $(TCL_DEFS) -DPACKAGE_NAME=\"tgdbm\" -DPACKAGE_TARNAME=\"tgdbm\" -DPACKAGE_VERSION=\"0.6\" -DPACKAGE_STRING=\"tgdbm\ 0.6\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_tgdbm=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -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 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 $(PKG_CFLAGS)
DEFS = -DPACKAGE_NAME=\"tgdbm\" -DPACKAGE_TARNAME=\"tgdbm\" -DPACKAGE_VERSION=\"0.6\" -DPACKAGE_STRING=\"tgdbm\ 0.6\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_tgdbm=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -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 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 $(PKG_CFLAGS)

# Move pkgIndex.tcl to 'BINARIES' var if it is generated in the Makefile
CONFIG_CLEAN_FILES = Makefile pkgIndex.tcl
Expand Down
14 changes: 7 additions & 7 deletions config.status
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,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.5, which was
This file was extended by tgdbm $as_me 0.6, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -419,7 +419,7 @@ Report bugs to the package provider."

ac_cs_config=""
ac_cs_version="\
tgdbm config.status 0.5
tgdbm config.status 0.6
configured by ./configure, generated by GNU Autoconf 2.69,
with options \"$ac_cs_config\"
Expand Down Expand Up @@ -665,8 +665,8 @@ S["PKG_HEADERS"]=""
S["PKG_TCL_SOURCES"]=" qgdbm.tcl"
S["PKG_STUB_OBJECTS"]=""
S["PKG_STUB_SOURCES"]=""
S["PKG_STUB_LIB_FILE"]="libtgdbmstub0.5.a"
S["PKG_LIB_FILE"]="libtgdbm0.5.so"
S["PKG_STUB_LIB_FILE"]="libtgdbmstub0.6.a"
S["PKG_LIB_FILE"]="libtgdbm0.6.so"
S["EXEEXT"]=""
S["CYGPATH"]="echo"
S["target_alias"]=""
Expand All @@ -676,7 +676,7 @@ S["LIBS"]=""
S["ECHO_T"]=""
S["ECHO_N"]="-n"
S["ECHO_C"]=""
S["DEFS"]="-DPACKAGE_NAME=\\\"tgdbm\\\" -DPACKAGE_TARNAME=\\\"tgdbm\\\" -DPACKAGE_VERSION=\\\"0.5\\\" -DPACKAGE_STRING=\\\"tgdbm\\ 0.5\\\" -DPACKAGE_BUGREPORT=\\\"\\\" -DPACKAGE_UR"\
S["DEFS"]="-DPACKAGE_NAME=\\\"tgdbm\\\" -DPACKAGE_TARNAME=\\\"tgdbm\\\" -DPACKAGE_VERSION=\\\"0.6\\\" -DPACKAGE_STRING=\\\"tgdbm\\ 0.6\\\" -DPACKAGE_BUGREPORT=\\\"\\\" -DPACKAGE_UR"\
"L=\\\"\\\" -DBUILD_tgdbm=/\\*\\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_S"\
"TRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THR"\
"EAD_SAFE=1 -DTCL_THREADS=1 -DUSE_TCL_STUBS=1 -DUSE_TCLOO_STUBS=1 -DMODULE_SCOPE=extern\\ __attribute__\\(\\(__visibility__\\(\\\"hidden\\\"\\)\\)\\) -DHAVE_HID"\
Expand Down Expand Up @@ -705,8 +705,8 @@ S["prefix"]="/usr"
S["exec_prefix"]="/usr"
S["PACKAGE_URL"]=""
S["PACKAGE_BUGREPORT"]=""
S["PACKAGE_STRING"]="tgdbm 0.5"
S["PACKAGE_VERSION"]="0.5"
S["PACKAGE_STRING"]="tgdbm 0.6"
S["PACKAGE_VERSION"]="0.6"
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.69 for tgdbm 0.5.
# Generated by GNU Autoconf 2.69 for tgdbm 0.6.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
Expand Down Expand Up @@ -577,8 +577,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='tgdbm'
PACKAGE_TARNAME='tgdbm'
PACKAGE_VERSION='0.5'
PACKAGE_STRING='tgdbm 0.5'
PACKAGE_VERSION='0.6'
PACKAGE_STRING='tgdbm 0.6'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''

Expand Down Expand Up @@ -1295,7 +1295,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.5 to adapt to many kinds of systems.
\`configure' configures tgdbm 0.6 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
Expand Down Expand Up @@ -1356,7 +1356,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of tgdbm 0.5:";;
short | recursive ) echo "Configuration of tgdbm 0.6:";;
esac
cat <<\_ACEOF
Expand Down Expand Up @@ -1458,7 +1458,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
tgdbm configure 0.5
tgdbm configure 0.6
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
Expand Down Expand Up @@ -1823,7 +1823,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.5, which was
It was created by tgdbm $as_me 0.6, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
Expand Down Expand Up @@ -9240,7 +9240,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.5, which was
This file was extended by tgdbm $as_me 0.6, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -9293,7 +9293,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
tgdbm config.status 0.5
tgdbm config.status 0.6
configured by $0, generated by GNU Autoconf 2.69,
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.5])
AC_INIT([tgdbm], [0.6])

#--------------------------------------------------------------------
# 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.5"
#define TGDBM_VERSION "0.6"

/* 0x10 */
#define GDBM_SETVAR TCL_TRACE_READS
Expand Down
6 changes: 3 additions & 3 deletions pkgIndex.tcl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# Tcl package index file
#
package ifneeded tgdbm 0.5 \
[list load [file join $dir libtgdbm0.5.so] tgdbm]
package ifneeded qgdbm 0.5 \
package ifneeded tgdbm 0.6 \
[list load [file join $dir libtgdbm0.6.so] tgdbm]
package ifneeded qgdbm 0.6 \
[list source [file join $dir qgdbm.tcl]]
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.5
package require -exact tgdbm 0.6

set qgdbm_version 0.5
set qgdbm_version 0.6
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.5
package require -exact qgdbm 0.6

# 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.5
package require -exact tgdbm 0.6

# 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
4 changes: 2 additions & 2 deletions 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.5
Version: 0.6
Release: 0
License: GPL
Group: Development/Libraries/Tcl
Expand All @@ -23,7 +23,7 @@ This is a Tcl-Wrapper for the famous gdbm (the GNU-Version of dbm) and
a small database-utility "Qgdbm".

%prep
%setup -q -n %{packagename}
%setup -q -n %{packagename}-%{version}

%build
./configure \
Expand Down

0 comments on commit 0a2868a

Please sign in to comment.