Package Details: tclx 8.6.2-1

Git Clone URL: https://aur.archlinux.org/tclx.git (read-only, click to copy)
Package Base: tclx
Description: Provides OS primitives, file scanning, data records etc. for Tcl
Upstream URL: https://github.com/flightaware/tclx
Licenses: BSD
Submitter: None
Maintainer: ivanovp
Last Packager: ivanovp
Votes: 33
Popularity: 0.000000
First Submitted: 2006-01-15 16:59 (UTC)
Last Updated: 2023-06-25 08:12 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

jfcandidofilho commented on 2022-11-23 04:38 (UTC)

A message saying "can't find necessary packages" appears after trying to install it (dependency for another thing). It requests TCL 8.6.12 while the extra/TCL is 8.6.13-1. What to do?

happyarchlinuser commented on 2021-11-07 07:00 (UTC)

broken for me since tcl package update yesterday

dvzrv commented on 2021-07-09 20:22 (UTC)

@ivanovp: Hi! Please make sure, that the downloaded sources are unique.

Please also quote all variables that represent directories which may have whitespaces in them (e.g. "${srcdir}" and "${pkgdir}"), or just remove the use of "${srcdir}".

The lines for the source array do not need to be broken (i.e. remove \).

There were a few other things wrong with the PKGBUILD and I have fixed them:

diff --git i/PKGBUILD w/PKGBUILD
index 84a203c..3a11b8c 100644
--- i/PKGBUILD
+++ w/PKGBUILD
@@ -1,42 +1,30 @@
 # Maintainer: Peter Ivanov <ivanovp@gmail.com>
 # Contributor: Hussain Jasim <hussainmkj@gmail.com>
 # Contributors: Flemming Madsen (arch at themadsens dot dk), Sébastien Duquette <ekse.0x@gmail.com>
+
 pkgname=tclx
 pkgver=8.4.4
-_tclsrcver=8.6.11
-pkgrel=3
+pkgrel=4
 pkgdesc="Provides OS primitives, file scanning, data records etc. for Tcl"
 url="https://github.com/flightaware/tclx"
 arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
 license=('BSD')
-depends=('tcl=8.6.11' 'tk' 'libtirpc')
-source=("https://github.com/flightaware/tclx/archive/v${pkgver}.tar.gz" \
-        "http://downloads.sourceforge.net/sourceforge/tcl/tcl${_tclsrcver}-src.tar.gz" \
-        "interperrorline.patch")
-md5sums=('7ab5ccc83a46b41e0f9e757d04001ecd'
-         '8a4c004f48984a03a7747e9ba06e4da4'
-         '3254188674bfa4cdf58605d0d69586d0')
-
-#prepare() {
-#  patch -d $srcdir/${pkgname}8.4/generic < interperrorline.patch
-#}
+depends=('tcl' 'tk' 'libtirpc')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/flightaware/tclx/archive/v${pkgver}.tar.gz")
+sha512sums=('dcf9cbd08eae0cc4901e8e871a440e6c85d7d5ac923306206afaf0a1d931866ce3b91177d7b3a37e87a5cdcccb068ed7b9c76cb1a71a13f4f26cf204b8c42090')
+b2sums=('50123f95ed780c28dae9e2f0db956b81b559ee9ea33563b999f33a727c451374a63c0cba3012d4dd46df020426c7fdb3b04f932fc5b6ec742156e9dad81a7d3b')

 build() {
-  cd $srcdir/${pkgname}-${pkgver}
-  ./configure
-  cp /usr/lib/tclConfig.sh $srcdir
-  echo "TCL_SRC_DIR=$startdir/tcl$_tclsrcver" >> ../tclConfig.sh
-  [ "$NOEXTRACT" == 1 ] || ./configure --prefix=/usr --enable-share \
-                           --enable-gcc --with-tcl=$srcdir
-  _tclsrc="TCL_SRC_DIR=$srcdir/tcl$_tclsrcver \
-           TCL_TOP_DIR_NATIVE=$srcdir/tcl$_tclsrcver"
-  CPPFLAGS+=" -I/usr/include/tirpc/"
-  LDFLAGS+=" -ltirpc"
-  make $_tclsrc || return 1
+  cd "${pkgname}-${pkgver}"
+  ./configure --prefix=/usr \
+              --enable-share \
+              --enable-gcc
+  make
 }

 package() {
-  cd $srcdir/${pkgname}-${pkgver}
-  make $_tclsrc DESTDIR="$pkgdir" mandir="/usr/share/man" install
-  install -D -m644 license.terms "$pkgdir/usr/share/licenses/$pkgname/license.terms"
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="$pkgdir" mandir="/usr/share/man" install
+  rm -frv "${pkgdir}/usr/bin"
+  install -vDm 644 license.terms -t "$pkgdir/usr/share/licenses/$pkgname/"
}

ivanovp commented on 2020-11-27 19:07 (UTC)

aarch64 architecture was added.

taittech commented on 2020-11-27 18:46 (UTC)

I have compiled this successfully on the aarch64 architechture with no changes to source code or build options. It would be very convenient if this could be updated in the MAKEPKG for building emacspeak (which depends on tclx) on the raspberry pi 4.

Willing to submit pull request, etc. if necessary.

AntiComposite commented on 2020-07-23 17:37 (UTC)

http://downloads.sourceforge.net/sourceforge/tcl/tcl8.6.10-src.tar.gz was not working for me, but changing the source to https://downloads.sourceforge.net/project/tcl/Tcl/${_tclsrcver}/tcl${_tclsrcver}-src.tar.gz worked.

ivanovp commented on 2020-01-17 05:32 (UTC)

@Eothred: yeah, sorry, I missed that one.

Eothred commented on 2020-01-16 14:53 (UTC)

Please bump the pkgrel variable as well next time the tcl version (or other stuff) changes.

ivanovp commented on 2020-01-10 08:12 (UTC)

@wingsuit: maybe you did not notice that the PKGBUILD contains md5sum of TCL 8.6.10. How do you handle different source versions? I don't think that ignoring MD5 sum is a good idea.

wingsuit commented on 2020-01-09 02:45 (UTC) (edited on 2020-01-09 02:45 (UTC) by wingsuit)

Can the tcl dependency be changed to tcl>=8.6.9? It makes updating harder if you have hardcoded versions like this.