diff --git a/ChangeLog b/ChangeLog index 565c750..d6578bd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 2018-06-07 Danilo Chang + * Bump version to 0.5 * Fix tkvlc::init Tcl_WrongNumArgs incorrect parameter * Bump version to 0.4 * Update source code, use LIBVLC_VERSION_INT to check VLC version diff --git a/Makefile b/Makefile index df87204..5ef5c91 100644 --- a/Makefile +++ b/Makefile @@ -57,8 +57,8 @@ PKG_HEADERS = # configuration options) composed of the named objects. #======================================================================== -PKG_LIB_FILE = libtkvlc0.4.so -PKG_STUB_LIB_FILE = libtkvlcstub0.4.a +PKG_LIB_FILE = libtkvlc0.5.so +PKG_STUB_LIB_FILE = libtkvlcstub0.5.a lib_BINARIES = $(PKG_LIB_FILE) BINARIES = $(lib_BINARIES) @@ -94,7 +94,7 @@ INSTALL_SCRIPT = ${INSTALL} INSTALL_LIBRARY = ${INSTALL_DATA} PACKAGE_NAME = tkvlc -PACKAGE_VERSION = 0.4 +PACKAGE_VERSION = 0.5 CC = gcc CFLAGS_DEFAULT = -O2 -fomit-frame-pointer -DNDEBUG CFLAGS_WARNING = -Wall @@ -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=\"tkvlc\" -DPACKAGE_TARNAME=\"tkvlc\" -DPACKAGE_VERSION=\"0.4\" -DPACKAGE_STRING=\"tkvlc\ 0.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_tkvlc=/\*\*/ -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=\"tkvlc\" -DPACKAGE_TARNAME=\"tkvlc\" -DPACKAGE_VERSION=\"0.4\" -DPACKAGE_STRING=\"tkvlc\ 0.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_tkvlc=/\*\*/ -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=\"tkvlc\" -DPACKAGE_TARNAME=\"tkvlc\" -DPACKAGE_VERSION=\"0.5\" -DPACKAGE_STRING=\"tkvlc\ 0.5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_tkvlc=/\*\*/ -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=\"tkvlc\" -DPACKAGE_TARNAME=\"tkvlc\" -DPACKAGE_VERSION=\"0.5\" -DPACKAGE_STRING=\"tkvlc\ 0.5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_tkvlc=/\*\*/ -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 diff --git a/config.status b/config.status index 6140b00..e32d51f 100755 --- a/config.status +++ b/config.status @@ -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 tkvlc $as_me 0.4, which was +This file was extended by tkvlc $as_me 0.5, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -419,7 +419,7 @@ Report bugs to the package provider." ac_cs_config="" ac_cs_version="\ -tkvlc config.status 0.4 +tkvlc config.status 0.5 configured by ./configure, generated by GNU Autoconf 2.69, with options \"$ac_cs_config\" @@ -668,8 +668,8 @@ S["PKG_HEADERS"]="" S["PKG_TCL_SOURCES"]="" S["PKG_STUB_OBJECTS"]="" S["PKG_STUB_SOURCES"]="" -S["PKG_STUB_LIB_FILE"]="libtkvlcstub0.4.a" -S["PKG_LIB_FILE"]="libtkvlc0.4.so" +S["PKG_STUB_LIB_FILE"]="libtkvlcstub0.5.a" +S["PKG_LIB_FILE"]="libtkvlc0.5.so" S["EXEEXT"]="" S["CYGPATH"]="echo" S["target_alias"]="" @@ -679,7 +679,7 @@ S["LIBS"]="" S["ECHO_T"]="" S["ECHO_N"]="-n" S["ECHO_C"]="" -S["DEFS"]="-DPACKAGE_NAME=\\\"tkvlc\\\" -DPACKAGE_TARNAME=\\\"tkvlc\\\" -DPACKAGE_VERSION=\\\"0.4\\\" -DPACKAGE_STRING=\\\"tkvlc\\ 0.4\\\" -DPACKAGE_BUGREPORT=\\\"\\\" -DPACKAGE_UR"\ +S["DEFS"]="-DPACKAGE_NAME=\\\"tkvlc\\\" -DPACKAGE_TARNAME=\\\"tkvlc\\\" -DPACKAGE_VERSION=\\\"0.5\\\" -DPACKAGE_STRING=\\\"tkvlc\\ 0.5\\\" -DPACKAGE_BUGREPORT=\\\"\\\" -DPACKAGE_UR"\ "L=\\\"\\\" -DBUILD_tkvlc=/\\*\\*/ -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"\ @@ -708,8 +708,8 @@ S["prefix"]="/usr" S["exec_prefix"]="/usr" S["PACKAGE_URL"]="" S["PACKAGE_BUGREPORT"]="" -S["PACKAGE_STRING"]="tkvlc 0.4" -S["PACKAGE_VERSION"]="0.4" +S["PACKAGE_STRING"]="tkvlc 0.5" +S["PACKAGE_VERSION"]="0.5" S["PACKAGE_TARNAME"]="tkvlc" S["PACKAGE_NAME"]="tkvlc" S["PATH_SEPARATOR"]=":" diff --git a/configure b/configure index 0d42c39..95d3abc 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for tkvlc 0.4. +# Generated by GNU Autoconf 2.69 for tkvlc 0.5. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -577,8 +577,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='tkvlc' PACKAGE_TARNAME='tkvlc' -PACKAGE_VERSION='0.4' -PACKAGE_STRING='tkvlc 0.4' +PACKAGE_VERSION='0.5' +PACKAGE_STRING='tkvlc 0.5' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1299,7 +1299,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 tkvlc 0.4 to adapt to many kinds of systems. +\`configure' configures tkvlc 0.5 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1360,7 +1360,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of tkvlc 0.4:";; + short | recursive ) echo "Configuration of tkvlc 0.5:";; esac cat <<\_ACEOF @@ -1463,7 +1463,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -tkvlc configure 0.4 +tkvlc configure 0.5 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1828,7 +1828,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 tkvlc $as_me 0.4, which was +It was created by tkvlc $as_me 0.5, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -9384,7 +9384,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 tkvlc $as_me 0.4, which was +This file was extended by tkvlc $as_me 0.5, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -9437,7 +9437,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="\\ -tkvlc config.status 0.4 +tkvlc config.status 0.5 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index 9e9a961..5b853af 100644 --- a/configure.ac +++ b/configure.ac @@ -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([tkvlc], [0.4]) +AC_INIT([tkvlc], [0.5]) #-------------------------------------------------------------------- # Call TEA_INIT as the first TEA_ macro to set up initial vars. diff --git a/pkgIndex.tcl b/pkgIndex.tcl index f627f1f..1f6e9f8 100644 --- a/pkgIndex.tcl +++ b/pkgIndex.tcl @@ -1,5 +1,5 @@ # # Tcl package index file # -package ifneeded tkvlc 0.4 \ - [list load [file join $dir libtkvlc0.4.so] tkvlc] +package ifneeded tkvlc 0.5 \ + [list load [file join $dir libtkvlc0.5.so] tkvlc] diff --git a/tkvlc_SUSE.spec b/tkvlc_SUSE.spec index f6041f5..aa1bec5 100644 --- a/tkvlc_SUSE.spec +++ b/tkvlc_SUSE.spec @@ -4,7 +4,7 @@ Name: tkvlc Summary: A demo to embed libVLC to Tk toolkit widget -Version: 0.4 +Version: 0.5 Release: 0 License: MIT Group: Development/Libraries/Tcl