May 20, 2015
On Wed, 20 May 2015 20:57:32 +0200, Jacob Carlborg wrote:

> On 2015-05-20 15:46, ketmar wrote:
> 
>> considering unrar's license... why, 7zip is better in all ways, and it's opensource.
> 
> Doesn't matter, it's still used. BTW, I'm only interested in extracting.

`spawnProcess("unrar", "x", "uselessarchive.rar");`

May 20, 2015
On Wednesday, 20 May 2015 at 18:57:32 UTC, Jacob Carlborg wrote:
> On 2015-05-20 15:46, ketmar wrote:
>
>> considering unrar's license... why, 7zip is better in all ways, and it's
>> opensource.
>
> Doesn't matter, it's still used. BTW, I'm only interested in extracting.

who still uses rar?
May 20, 2015
On 5/20/2015 11:56 AM, Jacob Carlborg wrote:
>interested in extracting RAR archives. There are many tools that can
> extract a lot of different archives but only create a couple of them.


That's fine, as long as the licensing issue can be worked out, i.e. we can do a Boost implementation. Otherwise, Phobos won't support it, although RAR tools can be provided separately.

May 20, 2015
On 5/20/2015 12:40 PM, Liam McSherry wrote:
> On Wednesday, 20 May 2015 at 18:55:11 UTC, Jacob Carlborg wrote:
>> libarchive supports it, which has a BSD license. Yeah, I know that we most
>> likely cannot use it.
>
> If RAR support is to be had, interfacing with libarchive is probably going to be
> the best/easiest way to do it, although it would probably be better to focus on
> adding support for those archives that don't need an extra library first.

Clearly, we need a Deimos entry for libarchive.

https://github.com/d-programming-deimos
May 21, 2015
On Wednesday, 20 May 2015 at 21:01:15 UTC, weaselcat wrote:
> who still uses rar?

rar and zip are quite popular in the wild, 7zip is relatively rare (suffers a little publicity issue). And major advancement of rar over zip is unicode support.
May 21, 2015
On 2015-05-21 00:46, Walter Bright wrote:

> Clearly, we need a Deimos entry for libarchive.
>
> https://github.com/d-programming-deimos

No, it needs to be a Dub package. Can we please kill Deimos.

-- 
/Jacob Carlborg
May 21, 2015
On 2015-05-20 22:00, ketmar wrote:

> `spawnProcess("unrar", "x", "uselessarchive.rar");`

That is the ugly workaround. Which means you need to include a tool for unraring along with your own application.

-- 
/Jacob Carlborg
May 21, 2015
On Thursday, 21 May 2015 at 08:55:05 UTC, Jacob Carlborg wrote:
> On 2015-05-21 00:46, Walter Bright wrote:
>
>> Clearly, we need a Deimos entry for libarchive.
>>
>> https://github.com/d-programming-deimos
>
> No, it needs to be a Dub package. Can we please kill Deimos.

Most (all?) deimos repositories are dub packages.
May 21, 2015
On Thu, 21 May 2015 10:55:04 +0200, Jacob Carlborg wrote:

> On 2015-05-21 00:46, Walter Bright wrote:
> 
>> Clearly, we need a Deimos entry for libarchive.
>>
>> https://github.com/d-programming-deimos
> 
> No, it needs to be a Dub package. Can we please kill Deimos.

can we please kill dub instead?

May 21, 2015
On Thu, 21 May 2015 10:56:14 +0200, Jacob Carlborg wrote:

> On 2015-05-20 22:00, ketmar wrote:
> 
>> `spawnProcess("unrar", "x", "uselessarchive.rar");`
> 
> That is the ugly workaround. Which means you need to include a tool for unraring along with your own application.

or simply don't support rar archives. keep supporting that crap motivates people to create more rar archives, and the plague will not stop.