----- "Patrice Dumas" <pertusus(a)free.fr> wrote:
On Wed, Apr 22, 2009 at 06:26:07AM -0400, Michal Nowak wrote:
> Hi.
>
> When working on Minimal Platform [1] yesterday I noticed that
xarchiver
> depends on binutils, the requirement is there since ~2006.
>
> * Tue Nov 28 2006 Christoph Wickert <cwickert(a)fedoraproject.org> -
0.4.6-1
> - Update to 0.4.6.
> [...]
> - Require binutils, cpio and htmlview.
> [...]
>
> I was wondering why this change happened and of course whether we
> need that dependency nowadays. I investigated a bit Debian's
xarchiver
> page [2] and there's no requirement on binutils, nor its parts.
A guess would be that ar is used to unarchive one format.
Good point!
newman@dhcp-lab-124 xarchiver-0.5.2 $ grep -w ar -R -n src/*.c
src/deb.c:31: command = g_strconcat ("ar tv ",archive->escaped_path,NULL);
src/deb.c:133: command = g_strconcat ("ar x ",archive->escaped_path,"
",names->str,NULL);
src/main.c:372: absolute_path = g_find_program_in_path("ar");
I didn't even know xarchiver supports .deb.
I wish I can see different solution than splitting binutils, if there's
demand for getting rid of 9MB dependency from XFCE/LXDE folks.
Michal