Re: Fork of current version of »hfs« package

2023-05-31 Thread John Paul Adrian Glaubitz
Hi Mark! On Wed, 2023-05-31 at 14:15 +0100, Mark Cave-Ayland wrote: > Presumably this still can't be used for the Debian installer because of the > license? > Or has there been an update from Apple on this? I have not heard back from Apple yet, so there is no change in license yet. My idea was

Re: Fork of current version of »hfs« package

2023-05-31 Thread Mark Cave-Ayland
On 30/05/2023 12:24, John Paul Adrian Glaubitz wrote: Hello! I have started working on an updated »hfsprogs« packages based on the split-out version of the HFS(+) code in the »hfs« package. For this, I have forked Apple's original »hfs« package on Github [1]. Feel free to start contributing. I

Re: Fork of current version of »hfs« package

2023-05-30 Thread Jeffrey Walton
On Tue, May 30, 2023 at 11:12 PM Lennart Sorensen wrote: > > On Tue, May 30, 2023 at 09:24:42PM -0400, Jeffrey Walton wrote: > > Blocks are like C++ lamda's. ObjC folks like to use them to ensure > > cleanup in a function, like releasing a handle or free'ing memory. > > Funny how the high level de

Re: Fork of current version of »hfs« package

2023-05-30 Thread Lennart Sorensen
On Tue, May 30, 2023 at 09:24:42PM -0400, Jeffrey Walton wrote: > Blocks are like C++ lamda's. ObjC folks like to use them to ensure > cleanup in a function, like releasing a handle or free'ing memory. Funny how the high level description of them couldn't even bother so explain that. That does ma

Re: Fork of current version of »hfs« package

2023-05-30 Thread Jeffrey Walton
On Tue, May 30, 2023 at 4:40 PM Lennart Sorensen wrote: > > On Tue, May 30, 2023 at 01:24:15PM +0200, John Paul Adrian Glaubitz wrote: > > > > I have started working on an updated »hfsprogs« packages based on the > > split-out version of the HFS(+) code in the »hfs« package. For this, > > I have f

Re: Fork of current version of »hfs« package

2023-05-30 Thread John Paul Adrian Glaubitz
> On May 31, 2023, at 1:03 AM, Ken Cunningham > wrote: > > Yes, Iain Sandoe has had the blocks patches in his gcc repos for many years > now (2016 at least) but has not yet had them polished up enough to push them > to gcc mainline. > > If gcc is a hard requirement for you then no option.

Re: Fork of current version of »hfs« package

2023-05-30 Thread Ken Cunningham
Yes, Iain Sandoe has had the blocks patches in his gcc repos for many years now (2016 at least) but has not yet had them polished up enough to push them to gcc mainline. If gcc is a hard requirement for you then no option. Just trying to make this as easy as possible... K On 2023-05-30, at 2:

Re: Fork of current version of »hfs« package

2023-05-30 Thread Riccardo Mottola
Hi Lennart, Lennart Sorensen wrote: I had a poke at it, dealt with a couple of compile issues, then encountered Blocks and went WTF did Apple invent here? I don't even understand the description of their proprietary extension to C/C++/ObjC. I had never seen code with ^ prefixed to things in th

Re: Fork of current version of »hfs« package

2023-05-30 Thread John Paul Adrian Glaubitz
On Tue, 2023-05-30 at 13:53 -0700, Ken Cunningham wrote: > The blocksruntime library is easy to build and available broadly, > in case just including it becomes the easier path. > > http://ftp.debian.org/debian/pool/main/libb/libblocksruntime/libblocksruntime_0.4.1.orig.tar.gz The library has cla

Re: Fork of current version of »hfs« package

2023-05-30 Thread Ken Cunningham
The blocksruntime library is easy to build and available broadly, in case just including it becomes the easier path. http://ftp.debian.org/debian/pool/main/libb/libblocksruntime/libblocksruntime_0.4.1.orig.tar.gz Ken On 2023-05-30, at 1:48 PM, John Paul Adrian Glaubitz wrote: > Hi Lennart! >

Re: Fork of current version of »hfs« package

2023-05-30 Thread John Paul Adrian Glaubitz
Hi Lennart! On Tue, 2023-05-30 at 16:39 -0400, Lennart Sorensen wrote: > I had a poke at it, dealt with a couple of compile issues, then > encountered Blocks and went WTF did Apple invent here? I don't even > understand the description of their proprietary extension to C/C++/ObjC. > > I had neve

Re: Fork of current version of »hfs« package

2023-05-30 Thread Lennart Sorensen
On Tue, May 30, 2023 at 01:24:15PM +0200, John Paul Adrian Glaubitz wrote: > Hello! > > I have started working on an updated »hfsprogs« packages based on the > split-out version of the HFS(+) code in the »hfs« package. For this, > I have forked Apple's original »hfs« package on Github [1]. > > Fe

Fork of current version of »hfs« package

2023-05-30 Thread John Paul Adrian Glaubitz
Hello! I have started working on an updated »hfsprogs« packages based on the split-out version of the HFS(+) code in the »hfs« package. For this, I have forked Apple's original »hfs« package on Github [1]. Feel free to start contributing. It's currently work-in-progress as »fsck_hfs« does not com