From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [IPv6:2a01:e0c:1:1599::11]) by sourceware.org (Postfix) with ESMTPS id 0D8D03857C44 for ; Sat, 18 Jul 2020 10:27:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0D8D03857C44 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=free.fr Authentication-Results: sourceware.org; spf=none smtp.mailfrom=macniaque@free.fr Received: from macniaque-zotac (unknown [89.156.193.35]) (Authenticated sender: macniaque@free.fr) by smtp2-g21.free.fr (Postfix) with ESMTPSA id E21A2200415 for ; Sat, 18 Jul 2020 12:27:35 +0200 (CEST) Date: Sat, 18 Jul 2020 14:25:33 +0200 From: macniaque To: insight@sourceware.org Subject: Inssight : conflict on debug package Message-ID: <20200718122533.76008928.macniaque@free.fr> Organization: MacNiaque MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/tH0Wc._cL2CdKllPott_8vM" X-Spam-Status: No, score=-8.9 required=5.0 tests=BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_NONE, SPF_NONE, SPOOFED_FREEMAIL autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: insight@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Insight mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Jul 2020 10:27:43 -0000 --MP_/tH0Wc._cL2CdKllPott_8vM Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I was working on creating an Insight package for Arch linux, with some patch on m4 files (to right find the include folders on Arch) and configure.ac (all included in the mail) , there's one big problem that should be corrected on the sources. Insight provide on libgui/library/debug.tcl and libgui/library/pkgIndex.tcl a package named debug which conflict with tcllib which already provide a standard package named debug ( https://core.tcl-lang.org/tcllib/doc/tcllib-1-20/embedded/md/tcllib/files/m= odules/debug/debug.md ). To test, I changed name of the package from debug to libgui_debug and it's all working. I joined the patch files to that mail (debug.tcl.patch and pkgIndex.tcl.patch) . Could you change that in the Insight sources ? Another point, it will be great if you could do a new release (6.9 or 7.0) of Insight for package creation. Kind regards. --=20 G=C3=A9ballin --MP_/tH0Wc._cL2CdKllPott_8vM Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=pkgIndex.tcl.patch diff --git a/libgui/library/pkgIndex.tcl b/libgui/library/pkgIndex.tcl index 975ae94..9cd0a98 100644 --- a/libgui/library/pkgIndex.tcl +++ b/libgui/library/pkgIndex.tcl @@ -9,4 +9,4 @@ # full path name of this file's directory. package ifneeded combobox 2.3 [list source [file join $dir combobox.tcl]] -package ifneeded debug 1.0 [list source [file join $dir debug.tcl]] +package ifneeded libgui_debug 1.0 [list source [file join $dir debug.tcl]] --MP_/tH0Wc._cL2CdKllPott_8vM Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=debug.tcl.patch diff --git a/libgui/library/debug.tcl b/libgui/library/debug.tcl index 11dfc7d..7e854c6 100644 --- a/libgui/library/debug.tcl +++ b/libgui/library/debug.tcl @@ -14,7 +14,7 @@ # # ----------------------------------------------------------------------------- -package provide debug 1.0 +package provide libgui_debug 1.0 namespace eval ::debug { namespace export debug dbug --MP_/tH0Wc._cL2CdKllPott_8vM Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=configure.ac.patch --- ../configure.ac 2020-03-31 21:04:23.921049403 +0200 +++ ./configure.ac 2020-04-08 16:42:00.463683714 +0200 @@ -60,9 +60,9 @@ else mkdir bundle fi -dnl Was "cp -a -T binutils-gdb bundle", but the following tar-based tree copy +dnl Was "cp -a -T binut;5Dils-gdb bundle", but the following tar-based tree copy dnl is much faster on MinGW. -(cd binutils-gdb; tar cf - *) | (cd bundle; tar xpf - --same-owner) +cp -a -T binutils-gdb bundle cp -a gdbtk bundle/gdb/ cp -a testsuite bundle/gdb/ --MP_/tH0Wc._cL2CdKllPott_8vM Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=gdb_acinclude.m4.patch diff --git a/gdb/acinclude.m4 b/gdb/acinclude.m4 index 11cc0bc241..ad150bac3c 100644 --- a/binutils-gdb/gdb/acinclude.m4 +++ b/binutils-gdb/gdb/acinclude.m4 @@ -258,7 +258,7 @@ dnl Note: you must use first use SC_LOAD_TCLCONFIG! AC_DEFUN([CY_AC_TCL_PRIVATE_HEADERS], [ AC_MSG_CHECKING([for Tcl private headers]) private_dir="" - dir=`echo ${TCL_INCLUDE_SPEC}/tcl-private/generic | sed -e s/-I//` + dir=`echo ${TCL_INCLUDE_SPEC} | sed -e s/-I//` if test -f ${dir}/tclInt.h ; then private_dir=${dir} fi --MP_/tH0Wc._cL2CdKllPott_8vM Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=libgui_acinclude.m4.patch diff --git a/libgui/acinclude.m4 b/libgui/acinclude.m4 index 1b5a83b..082a49c 100644 --- a/libgui/acinclude.m4 +++ b/libgui/acinclude.m4 @@ -8,8 +8,7 @@ dnl Note: you must use first use SC_LOAD_TCLCONFIG! AC_DEFUN([CY_AC_TCL_PRIVATE_HEADERS], [ AC_MSG_CHECKING([for Tcl private headers]) private_dir="" - for dir in "${TCL_INCLUDE_SPEC}/tcl-private" "${TCL_SRC_DIR}"; do - dir=`echo "${dir}/generic" | sed -e s/-I//` + for dir in "${TCL_INCLUDE_SPEC}" "${TCL_SRC_DIR}"; do if test -f "${dir}/tclInt.h"; then private_dir="${dir}" break --MP_/tH0Wc._cL2CdKllPott_8vM--