[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    Re: Unable to compile Koffice 1.2 beta2 on Debian
From:       Thomas Zander <zander () planescape ! com>
Date:       2002-07-03 14:13:11
[Download RAW message or body]

On Wed, Jul 03, 2002 at 01:37:07PM +0200, David Faure wrote:
> On Wednesday 03 July 2002 12:49, Laurent Montel wrote:
> > Le Wednesday 03 July 2002 11:52, David Faure a écrit :
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > > 
> > > On Tuesday 02 July 2002 23:09, Josep Febrer wrote:
> > > > I have KDE 3.0.2 on Debian Sid with the Debian packages and I can compile
> > > > most of the kde3 applications but I couldn't with Koffice 1.2beta2 for
> > > > KDE3.. My compiler is GCC 2.95.4. And also I have all the kde3-devel
> > > > packages.
> > > 
> > > This patch should fix the problem.
> > > (However I'm not sure why this Copy%1-%2 code replaces %2 with "" - this is
> > > going to look odd, having a '-' at the end, no? Laurent? (cvs ann blames
> > > you:))
> > 
> > > ))))
> > Good question ....
> > I didn't remember when I change it.
> > I don't know why ....
> > 
> > I think that it's for having a '-' at the end of string ...
> 
> Ok, sorry, I misread the results of cvs annotate. Going back to an older
> version shows:
> 
> 1.300        (zander   27-Nov-01):             do {
> 1.300        (zander   27-Nov-01):                 newName=oldName;
> 1.300        (zander   27-Nov-01):                 \
> newName.replace(searcher,i18n("Copy%1-%2").arg(count > 0? \
> QString("%1").arg(count):" ").arg(""));
> 1.300        (zander   27-Nov-01):                 count++;
> 
> And re-reading the code... I understand what happens. It replaces
> blah- with bleh-, that's why it looks like it's terminated with a '-',
> but in fact the rest of the string is still there.
> The arg("") business is simply about reusing the same i18n() string.
> Ok, case closed. Will commit compilation fix.

Hihi, yeah. Sorry about the confusion.  Cool stuff eh? B-)

-- 
Thomas Zander                                           zander@planescape.com
                                                 We are what we pretend to be


[Attachment #3 (application/pgp-signature)]
____________________________________
koffice mailing list
koffice@mail.kde.org
To unsubscribe please visit:
http://mail.kde.org/mailman/listinfo/koffice

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic