[Kde-imaging] extragear/libs/kipi-plugins/cdarchiving

Caulier Gilles caulier.gilles at free.fr
Sat Sep 10 11:15:54 CEST 2005


Le Jeudi 8 Septembre 2005 20:20, Angelo Naselli a écrit :
> Alle 21:49, mercoledì 7 settembre 2005, Tom Albers ha scritto:
> > Op dinsdag 6 september 2005 14:08, schreef Angelo Naselli:
> > > Hi,
> > >
> > > > -    QString K3bCommandLine = m_K3bBinPathName + " " + m_tmpFolder +
> > > > "/KIPICDArchiving.xml";
> > > > +    QString K3bCommandLine = m_K3bBinPathName + " --nofork " +
> > > > m_tmpFolder + "/KIPICDArchiving.xml";
> > > >      kdDebug(51000) << "K3b is started : " << K3bCommandLine.ascii()
> > > > << endl;
> > >
> > > Are you sure that works? I released it in mandriva package as first
> > > solution, but reporters said it din't work. K3b showed the project,
> > > but missed some data, IIRC.
> > >
> > > Angelo
> >
> > someone able to test the current svn kipi cd archiving plugin?
> >
> > Tom
>
> It doesn't work :(
>
> KIPI (general): K3b is started : /usr/bin/k3b --nofork
> /home/diabolik/tmp/kde-diabolik/kipi-cdarchivingplugin-25773//KIPICDArchivi
>ng.xml KIPI (general): K3b is done !!! Removing temporary folder...
> kbuildsycoca running...
> call failed
>
> And at this time i can see k3b saying it's impossible open the document.
>
> I fixed the problem (in mandriva package) with a script
> kipi-plugins-k3b.sh containing:
> #!/bin/sh
> /usr/bin/k3b $* --nofork
>
> and attached patch, but once a gain i don't like it and it seems not to
> work on mandrva 2005 LE where i have to put back k3b as default.

No need to use a script to do it. Look like you have put the "--nofork" at end 
on command line and me, i have put this option between "k3b" and the "project 
file name". If this is the problem, we need to fix only the KProcess command 
line in plugin.

Someone, can check it please ?

Gilles

>
> Regards,
>    Angelo
>
>
> --- kipi-plugins/cdarchiving/cdarchivingdialog.cpp    2005-01-13
> 13:48:00.000000000 +0100 +++
> kipi-plugins/cdarchiving/cdarchivingdialog.cpp.new        2005-08-21
> 22:22:57.000000000 +0200 @@ -507,7 +507,7 @@ void
> CDArchivingDialog::setupBurning(voi
>      label = new QLabel(i18n("&K3b binary path:"), page_burning);
>      vlay->addWidget( label );
>
> -    m_K3bBinPath = new KURLRequester( "/usr/bin/k3b", page_burning);
> +    m_K3bBinPath = new KURLRequester( "/usr/bin/kipi-plugins-k3b.sh",
> page_burning); label->setBuddy( m_K3bBinPath );
>      vlay->addWidget(m_K3bBinPath);
>
> --- kipi-plugins/cdarchiving/cdarchiving.cpp    2005-01-13
> 13:48:00.000000000 +0100 +++ kipi-plugins/cdarchiving/cdarchiving.cpp.new  
>      2005-08-29 19:47:17.000000000 +0200 @@ -196,7 +196,7 @@ void
> CDArchiving::readSettings(void)
>
>      // Misc dialogbox setup tab
>b
> -    m_configDlg->setK3bBinPathName( m_config->readEntry("K3bBinPath",
> "/usr/bin/k3b") ); +    m_configDlg->setK3bBinPathName(
> m_config->readEntry("K3bBinPath", "/usr/bin/kipi-plugins-k3b.sh") );
> m_configDlg->setUseUseOnTheFly( m_config->readBoolEntry("UseOnTheFly",
> "true") ); m_configDlg->setUseCheckCD(
> m_config->readBoolEntry("UseCheckCD", "true") );
> m_configDlg->setUseStartBurningProcess(
> m_config->readBoolEntry("UseStartWrintingProcess", "false") );


More information about the Kde-imaging mailing list