Package Details: hfsutils 3.2.6_p15-2

Git Clone URL: https://aur.archlinux.org/hfsutils.git (read-only, click to copy)
Package Base: hfsutils
Description: HFS Access utils
Upstream URL: https://www.mars.org/home/rob/proj/hfs/
Licenses: GPL2
Submitter: codyps
Maintainer: codyps (micwoj92, ajacocks)
Last Packager: ajacocks
Votes: 7
Popularity: 1.08
First Submitted: 2020-10-06 04:01 (UTC)
Last Updated: 2024-03-24 05:57 (UTC)

Latest Comments

VorpalWay commented on 2024-03-25 19:09 (UTC)

The latest update breaks building in minimal chroots (e.g. with aurutils), since the optdep will never be installed in the chroot. You need to add tcl/tk in makedepends still for that use case.

micwoj92 commented on 2024-03-25 03:48 (UTC)

And the other alternative is to always build with --with-tcl --with-tk with tk/tcl being in both make and optdepends, many packages also do this approach.

micwoj92 commented on 2024-03-25 03:47 (UTC)

It would still be 1 package. Here is what I mean, splitting like this

pkgbase=hfsutils
pkgname=('hfsutils' 'hfsutils-tcltk')

Then in build you would only have:

build() {
    cd "${pkgname}-${pkgver%_p*}"
    autoreconf -fi
    ./configure --with-tcl --with-tk
    make prefix=/usr
    make -C hfsck prefix=/usr
}

And package would be split into 2 section with:

package_hfsutils() {
}

package_hfsutils-tcltk() {
depends=('tcl' 'tk')
}

ajacocks commented on 2024-03-24 21:27 (UTC)

I suppose that we could split it, but then it's 2 packages to maintain. The TCL/TK interface is actually rather useful, or I wouldn't bother.

micwoj92 commented on 2024-03-24 13:34 (UTC)

I mean to only build 1 variant, with --with. This way you need it in makedeps to build it. Alternatively a split package with programs that require tcl/tk just like debian does.

ajacocks commented on 2024-03-24 13:24 (UTC)

I already added them to optdepends. The problem is that the configure script isn’t smart enough to use tcl and tk without the —with logic.

micwoj92 commented on 2024-03-24 10:54 (UTC)

I think it would be better to add tcl,tk to makedepends and optdepends instead of relying on this logic.

ajacocks commented on 2024-03-24 05:55 (UTC)

the patch is no longer needed, as it seems that Debian already added it. I just added some logic to the build to configure with tcl and tk if present.

micwoj92 commented on 2024-02-19 16:58 (UTC)

@ajacocks post patch here then i can add it.

ajacocks commented on 2021-11-06 03:14 (UTC)

Would you like to add the ability to build the tcl/tk GUI for this package? I have a small patch to make it build with modern versions.