trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: September 2015

Re: [trinity-users] TQString::vsprintf

From: Slávek Banko <slavek.banko@...>
Date: Thu, 17 Sep 2015 13:45:28 +0200
On Thursday 17 of September 2015 10:42:13 Jerry Nettrouer II wrote:
> On 09/17/2015 03:54 AM, Jerry Nettrouer II wrote:
> > On 09/17/2015 03:14 AM, Sl�vek Banko wrote:
> >> On Thursday 17 of September 2015 07:16:18 Jerry Nettrouer II wrote:
> >>> I tried compiling tde-suite-r14.0.1 from the source code online and
> >>> tqt3-r14.0.1 is missing a call declaration called TQString::vsprintf
> >>> that is needed to compile tdenetwork-r14.0.1.
> >>>
> >>>    The function TQString::vsprintf is found in tqt3-r14.1.0, but when I
> >>> compile it, and upgrade my system to tqt3-r14.1.0, the desktop still
> >>> works but it changes the entire look of my applications to a very look,
> >>> similar to an lod gtk look.
> >>>
> >>> I checked both tqt3, and tdenetwork commits to see if / or when
> >>> TQString::vsprintf was added to the r14.0.1 build or if
> >>> TQString::vsprintf was known by some other name, in a previous commit
> >>> of tdenetwork ...
> >>>
> >>> Anyway to  get to the point comparing tqt3-r14.1.0 and tqt3-14.0.1 the
> >>> file src/tools/qstring.cpp r14.01 is missing  the function
> >>> TQString::vsprintf. so would it be safe to just copy it from the
> >>> tqt3-14.1.0/src/tools/qstring.cpp to the
> >>> tqt3-14.0.1/src/tools/qstring.cpp... what would be the best way to fix
> >>> the problem, so tdenetwork-r14.0.1 will successfully build, and my
> >>> desktop will not lose it's Trinity desktop look, to an almost generic
> >>> gtk desktop look.  Currently tqt3-r14.1.0 is the only r14.1.0 package,
> >>> and all the others are r14.0.1 packages, and by using tqt3-r14.1.0
> >>> tdenetwork-r14.0.1 successfully compiled.
> >>
> >> So watch it! In tdenetwork r14.0.1 is never used TQString::vsprintf. If
> >> in your source code tdenetwork is used, then there is something
> >> fundamentally wrong. Do a simple check: you have in the root tdenetwork
> >> folder libtdevnc? If so, you have tdenetwork-r14.1.0~pre and not
> >> r14.0.1!
> >
> > If you download
> > http://tde-mirror.yosemite.net/trinity/releases/R14.0.1/tdenetwork-R14.0.
> >1.tar.bz2 untar the package and goto tdenetwork/krdc/vnc/threads.cpp and
> > goto line 112 you will see the following.
> >
> >     TQString message;
> >     message.vsprintf(format, args);
> >
> > ... So your telling me that the package label
> > tdenetwork-r14.0.1.tar.bz2 is not the source code for
> > tdenetwork-r14.0.1 but rather another development version? eg,
> > r14.1.0-pre?
>
> OK, I'm downloading the tdenetwork file from
> https://git.trinitydesktop.org/cgit/tdenetwork/snapshot/r14.0.1.tar.gz
> hoping it will be the source for tdenetwork-r14.0.1 :-)

Caution: When downloading tarball from CGIT submodules are not included.

You can download "orig.tar.xz" from debian / ubuntu apt repository:
http://tde-mirror.yosemite.net/trinity/trinity-r14.0.0/debian/pool/main/t/tdenetwork-trinity/

-- 
Sl�vek