On Tue, Mar 21, 2006 at 02:50:30PM +0100, Alf Schlichting wrote:
> Hello!
>
> The following diff makes the ark archiver from kdeutils3 use gtar instead of
> OpenBSDs native tar(1).
> With our native tar(1) ark errors out because arks wants to use some
> GNU-extensions. While it would be possible to fix ark to use the native
> tar(1), i think it makes more sense to default to GNU-tar. The user should
> not need to care about the underlying OS when using KDE.
>
> Alf
>
> --- w-kdeutils-3.5.1p1/kdeutils-3.5.1/ark/tar.cpp.orig Tue Mar 21
> 14:35:12
> 2006
> +++ w-kdeutils-3.5.1p1/kdeutils-3.5.1/ark/tar.cpp Tue Mar 21 14:35:10 2006
> @@ -81,7 +81,7 @@
> m_dotslash( false ), m_listingThread( 0 )
> {
> m_filesToAdd = m_filesToRemove = QStringList();
> - m_archiver_program = ArkSettings::tarExe();
> + m_archiver_program = "gtar";
> m_unarchiver_program = QString::null;
> verifyUtilityIsAvailable(m_archiver_program, m_unarchiver_program);
No, I disagree.
I haven't had time to test all of kde. since you have looked at this code,
where are the gnu-tar extensions ? we can probably work around most of
them, you know...