Package Details: tclx 8.4.4-4

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: 2021-11-07 08:59 (UTC)

Latest Comments

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.

x4fyr commented on 2019-11-21 11:00 (UTC)

Why does version 8.4.3 produce libtclx8.6so in an tclx8.6 folder? What does the version 8.4.3 mean in this context?

ivanovp commented on 2019-10-09 16:34 (UTC)

ybfen: not enough information, any other error message?

ybfen commented on 2019-10-06 15:07 (UTC)

==> ERROR: A failure occurred in package(). Aborting... ==> ERROR: Makepkg was unable to build tclx.

ivanovp commented on 2019-07-13 09:41 (UTC)

@PanisSupraOmnia: thanks, fixed.

PanisSupraOmnia commented on 2019-07-12 21:50 (UTC)

Hi, I see that you've switched the package source to the FlightAware repo, but the upstream URL is still set to the old SourceForge location. Would be great if you could update it. Thanks!

test0 commented on 2019-06-15 09:03 (UTC) (edited on 2019-06-15 09:04 (UTC) by test0)

@ivanovp: here it seems to be saying that: https://wiki.tcl-lang.org/page/TclX

ivanovp commented on 2019-06-13 04:31 (UTC)

@test0: yes, we can switch to it, if it is the official repo...

test0 commented on 2019-06-11 08:04 (UTC)

Shouldn't this package source be switched to https://github.com/flightaware/tclx?

ivanovp commented on 2018-07-02 10:37 (UTC)

@GPereira: Yes, you can!

GPereira commented on 2018-07-02 10:35 (UTC)

Hi, this is not building, can I be a comaintainer?

ivanovp commented on 2017-12-14 05:25 (UTC)

@red-code: which file is not found?

meijin commented on 2017-09-09 18:28 (UTC)

yes, thanks.

ivanovp commented on 2017-09-01 10:30 (UTC)

@meijin: you mean armv7h? I've just added it.

meijin commented on 2017-08-31 19:15 (UTC)

Please add supported platform arm7h

ivanovp commented on 2017-08-21 08:03 (UTC)

@test0: Ok, adapted to tcl 8.6.7.

test0 commented on 2017-08-21 06:48 (UTC)

Now is in Extra. ;)

ivanovp commented on 2017-08-20 18:01 (UTC)

@test0: probably, but tcl 8.6.7-1 is still in testing.

test0 commented on 2017-08-20 07:06 (UTC)

tclx: installing tcl (8.6.7-1) breaks dependency 'tcl=8.6.6'

commented on 2017-08-19 22:37 (UTC)

Can't build. make: *** No targets specified and no makefile found. Stop.

ivanovp commented on 2016-08-16 04:37 (UTC)

@anish: You could copy this package and name it tclx-git.

anish commented on 2016-08-14 17:42 (UTC)

There is a better maintained fork of tclx, any chance you can use that as your source instead ? https://github.com/flightaware/tclx/

ivanovp commented on 2016-08-02 16:52 (UTC)

Before flagging out-of-date, please, try to recompile tclx... Thanks

ivanovp commented on 2016-05-30 05:23 (UTC)

Updated to tclx 8.4.1

oberon2007 commented on 2016-05-29 19:37 (UTC)

Shouldn't it infact be updated to 8.4.1 ? See https://sourceforge.net/projects/tclx/files/TclX/8.4.1/

anish commented on 2015-08-09 21:45 (UTC)

Thanks !

ivanovp commented on 2015-05-12 15:47 (UTC)

@anish: done.

anish commented on 2015-05-12 06:24 (UTC)

This is required to compile piaware-git and compiles fine on/for a raspberry-pi. Can you add 'armv6h' to the arch array ?

ivanovp commented on 2015-04-05 06:42 (UTC)

Updated to use tcl 8.6.4.

ivanovp commented on 2015-03-20 17:43 (UTC)

Working PKGBUILD can be found here: http://pastebin.com/3RTJeJqt

Svenw commented on 2015-02-20 14:05 (UTC)

Latest version of tcl is 8.6.3 (at least that installed from extra). Probably need to update your PKGBUILD with new source; db382feca91754b7f93da16dc4cdad1f is the new md5sum for tcl8.6.3-src.tar.gz

71GA commented on 2015-02-13 06:46 (UTC)

Why is there tclx=8.6.2? I fixed that to tclx...

ringulreith commented on 2014-09-01 17:57 (UTC)

Patched the sourcecode to fix a compilation error, and updated the PKGBUILD to build properly with the latest tcl version.

phairland commented on 2013-08-29 07:41 (UTC)

Change PKGBUILD as suggested by medgar123 but still not working. I think better option is installing it from source.

commented on 2013-08-15 19:34 (UTC)

PKGBUILD is out of date (and builds empty install bundles). Fix is: s:$startdir/src/:$srcdir/:g s:$startdir/pkg/:$pkgdir/:g