[Xfce4-commits] r22552 - xarchiver/branches/xarchiver-psybsd/libxarchiver
psybsd at gmail.com
Tue Aug 1 22:15:23 CEST 2006
On 7/28/06, Benedikt Meurer <benedikt.meurer at unix-ag.uni-siegen.de> wrote:
> The library is under a BSD license, so you can easily include it in
> xarchiver tarball and use the included version if the system is missing
> a copy of libarchive or its header files.
With some small modifications to libxarchiver (a support-object must
be able to handle multiple archive-types), i should be able to create
a libarchive support object. This way it is possible to choose between
both approaches. If you do not want it's dependency (more
specifically, the libbz2 dependency, which is not installed by default
on most systems), it won't use it (for *.bz2) and it will fall back to
it's current behaviour.
For the rest of the application the interface remains the same.
Though i am not sure it is a good practice to stick to libxarchiver.
It has tackled most design issues coming from the use of external
archivers, but with the introduction of libarchive it might be too
Do you have any suggestions about this?
More information about the Xfce4-dev