List Info

Thread: KDE: ark




KDE: ark
user name
2006-03-22 09:09:48
Am Mittwoch, 22. März 2006 08:57 schrieb Marc Espie:
> 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...
Yes, it looks like i was a little hasty, hardcoding is of
course bad.
I will look a little closer the next days (i managed to f*
up my ports tree so 
i can't get kdeutils to compile at the moment).
The GNU-stuff expected from tar are at least
"--delete", 
"--use-compress-program=" and a
"k"-flag which we don't have. 
But i have to look closer at this.

Alf


KDE: ark
user name
2006-03-22 09:31:03

On Wed, 22 Mar 2006, Alf Schlichting wrote:

> Yes, it looks like i was a little hasty, hardcoding is
of course bad.
> I will look a little closer the next days (i managed to
f* up my ports tree so 
> i can't get kdeutils to compile at the moment).
> The GNU-stuff expected from tar are at least
"--delete", 
> "--use-compress-program=" and a
"k"-flag which we don't have. 
> But i have to look closer at this.

We do have -k

	-Otto

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )