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

List:       kopete-devel
Subject:    Re: [kopete-devel] Setting up a environment to develop kopete
From:       "=?ISO-8859-1?Q?Andr=E9_Oriani?=" <aoriani () gmail ! com>
Date:       2008-04-03 11:43:34
Message-ID: 7f47da080804030443y37faf9fera174b2618103b1f () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Thanks all, I managed to compile kopete albeit I have used the Fedora's
packages. Now I modified the kopete api to generate a doxygen in order to
catch up with the code. I hope I come out with something soon.

Regards,
André Oriani

On Wed, Apr 2, 2008 at 11:41 AM, Oleg Girko
<ol+kde@infoserver.ru<ol%2Bkde@infoserver.ru>>
wrote:

> On Wednesday 02 April 2008, Matt Rogers wrote:
>
> > On Tuesday 01 April 2008 06:35:53 André Oriani wrote:
> > > Hi all,
> > >
> > >
> > > I'm having some trouble to starting to developing for kopete. I am a
> > > Fedora 8 user.  That distribution does not come with KDE4 yet (FC9
> will).
> > > Despite of that , they provide three packages ( and their respective
> > > devel packages) to code for KDE4 : kdebase4,kdelibs4 and kdepimlibs.
> That
> > > seems not be enough as it was pointed out by cmake. Has someone set up
> > > Fedora 8 and could give some tips?
> [skipped]
> >
> > I run Fedora 8. You won't want to use Fedora's packages, as tempting as
> it
> > is. Why? Because developing Kopete in trunk against a 4.0.x will cause
> you
> > problems and you will end up having to follow SVN trunk anyways. It's
> not
> > because Fedora's packages are bad. :)
> [skipped]
>
> However, I still use KDE4.0 environment from Fedora 8 to build Kopete, and
> it
> works. Actually, Kopete is the only program from kdenetwork which still
> builds against KDE4.0 libraries. And it can change at any moment, because
> nobody guarantees that no features from KDE4.1 absent in KDE4.0 will be
> used
> in nearby future.
>
> First, check out kdenetwork package from Subversion repository.
> Then create build directory. Run cmake.
>
> I use the following script to invoke cmake:
>
> #!/bin/sh
>
> INSTALL_PREFIX="$HOME/kde"
>
> QTDIR=/usr/lib64/qt4 \
> PATH=/usr/lib64/qt4/bin:$PATH \
> cmake \
>        -DLIB_SUFFIX=64 \
>        -DCMAKE_BUILD_TYPE=Debug \
>        -DCMAKE_INSTALL_PREFIX="$INSTALL_PREFIX" \
>        -DLIB_INSTALL_DIR="$INSTALL_PREFIX/lib64" \
>        "$@"
>
> This will build files installable to your "$HOME/kde" subdirectory.
> (Please note that I have 64-bit Linux install.)
>
> The cmake can complain that some crucial packages are missing. Install all
> necessary RPM packages (don't forget that the development package names
> usually have "-devel" suffix, like "soprano-devel"). The best way to
> install
> missing packages is yum.
>
> After all necessary packages installed, cmake will complain about just 2
> optional packages missing: Decibel and Plasma. This means that you're
> ready
> to build Kopete.
>
> Just run the following command: "make -C kopete install"
> Don't try to build other programs from kdenetwork. They will fail.
>
> -- Oleg Girko, http://www.infoserver.ru/~ol/<http://www.infoserver.ru/%7Eol/>
> _______________________________________________
> kopete-devel mailing list
> kopete-devel@kde.org
> https://mail.kde.org/mailman/listinfo/kopete-devel
>

[Attachment #5 (text/html)]

Thanks all, I managed to compile kopete albeit I have used the Fedora&#39;s packages. \
Now I modified the kopete api to generate a doxygen in order to catch up with the \
code. I hope I come out with something soon.<br><br>Regards,<br> André \
Oriani<br><br><div class="gmail_quote">On Wed, Apr 2, 2008 at 11:41 AM, Oleg Girko \
&lt;<a href="mailto:ol%2Bkde@infoserver.ru">ol+kde@infoserver.ru</a>&gt; \
wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, \
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div class="Ih2E3d">On \
Wednesday 02 April 2008, Matt Rogers wrote:<br> <br>
&gt; On Tuesday 01 April 2008 06:35:53 André Oriani wrote:<br>
&gt; &gt; Hi all,<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; I&#39;m having some trouble to starting to developing for kopete. I am \
a<br> &gt; &gt; Fedora 8 user. &nbsp;That distribution does not come with KDE4 yet \
(FC9 will).<br> &gt; &gt; Despite of that , they provide three packages ( and their \
respective<br> &gt; &gt; devel packages) to code for KDE4 : kdebase4,kdelibs4 and \
kdepimlibs. That<br> &gt; &gt; seems not be enough as it was pointed out by cmake. \
Has someone set up<br> &gt; &gt; Fedora 8 and could give some tips?<br>
</div>[skipped]<br>
<div class="Ih2E3d">&gt;<br>
&gt; I run Fedora 8. You won&#39;t want to use Fedora&#39;s packages, as tempting as \
it<br> &gt; is. Why? Because developing Kopete in trunk against a 4.0.x will cause \
you<br> &gt; problems and you will end up having to follow SVN trunk anyways. \
It&#39;s not<br> &gt; because Fedora&#39;s packages are bad. :)<br>
</div>[skipped]<br>
<br>
However, I still use KDE4.0 environment from Fedora 8 to build Kopete, and it<br>
works. Actually, Kopete is the only program from kdenetwork which still<br>
builds against KDE4.0 libraries. And it can change at any moment, because<br>
nobody guarantees that no features from KDE4.1 absent in KDE4.0 will be used<br>
in nearby future.<br>
<br>
First, check out kdenetwork package from Subversion repository.<br>
Then create build directory. Run cmake.<br>
<br>
I use the following script to invoke cmake:<br>
<br>
#!/bin/sh<br>
<br>
INSTALL_PREFIX=&quot;$HOME/kde&quot;<br>
<br>
QTDIR=/usr/lib64/qt4 \<br>
PATH=/usr/lib64/qt4/bin:$PATH \<br>
cmake \<br>
 &nbsp; &nbsp; &nbsp; &nbsp;-DLIB_SUFFIX=64 \<br>
 &nbsp; &nbsp; &nbsp; &nbsp;-DCMAKE_BUILD_TYPE=Debug \<br>
 &nbsp; &nbsp; &nbsp; &nbsp;-DCMAKE_INSTALL_PREFIX=&quot;$INSTALL_PREFIX&quot; \<br>
 &nbsp; &nbsp; &nbsp; &nbsp;-DLIB_INSTALL_DIR=&quot;$INSTALL_PREFIX/lib64&quot; \<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&quot;$@&quot;<br>
<br>
This will build files installable to your &quot;$HOME/kde&quot; subdirectory.<br>
(Please note that I have 64-bit Linux install.)<br>
<br>
The cmake can complain that some crucial packages are missing. Install all<br>
necessary RPM packages (don&#39;t forget that the development package names<br>
usually have &quot;-devel&quot; suffix, like &quot;soprano-devel&quot;). The best way \
to install<br> missing packages is yum.<br>
<br>
After all necessary packages installed, cmake will complain about just 2<br>
optional packages missing: Decibel and Plasma. This means that you&#39;re ready<br>
to build Kopete.<br>
<br>
Just run the following command: &quot;make -C kopete install&quot;<br>
Don&#39;t try to build other programs from kdenetwork. They will fail.<br>
<font color="#888888"><br>
-- Oleg Girko, <a href="http://www.infoserver.ru/%7Eol/" \
target="_blank">http://www.infoserver.ru/~ol/</a><br> </font><div><div></div><div \
class="Wj3C7c">_______________________________________________<br> kopete-devel \
mailing list<br> <a href="mailto:kopete-devel@kde.org">kopete-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kopete-devel" \
target="_blank">https://mail.kde.org/mailman/listinfo/kopete-devel</a><br> \
</div></div></blockquote></div><br>



_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel


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

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