Subject: Re: kdevelop-20000322
To: None <mcmahill@mtl.mit.edu>
From: Berndt Josef Wulf <wulf@ping.net.au>
List: tech-pkg
Date: 03/26/2000 08:34:55
mcmahill@mtl.mit.edu wrote
> > 
> > Hmm, would you have time to look at the pkgsrc for KDevelop on
> > cvs.netbsd.org/~wulf? 
> > 
> > What do I need to do? Is it enough to supply the configure arguments
> > 
> > --with-qt-include=${X11BASE}/include/qt1 etc.... ?
> 
> for most of the kde* pkgs, I had to:
> 
> 1) modify the pkg Makefile as you noted
> 
> 2) edit the configure script and change
>     moc -> moc1
>     -lqt -> -lqt1
> 
> for kdevelop I also had to edit
> pkgsrc/devel/kdevelop/work.i386/kdevelop-1.0/kdevelop/Makefile.in
> 
> and change "-lqt" to "-lqt1"
> 
> I have to admit that I'm not a KDE user at all.  My only interest is to be
> able to upgrate Qt since cad/vipec needs the newer Qt.  But I couldn't
> justify breaking KDE for that.

This is easy enough to implement, the problem is that in case of
Kdevelop all project templates using the qt stuff will nolonger work.
They are all packed up in tar.gz archives and using project templates
is what make KDevelop so powerful.

/usr/X11R6/share/kde/apps/kdevelop/templates/c.tar.gz
/usr/X11R6/share/kde/apps/kdevelop/templates/cpp.tar.gz
/usr/X11R6/share/kde/apps/kdevelop/templates/kdemdi.tar.gz
/usr/X11R6/share/kde/apps/kdevelop/templates/mini.tar.gz
/usr/X11R6/share/kde/apps/kdevelop/templates/mini2.tar.gz
/usr/X11R6/share/kde/apps/kdevelop/templates/normal.tar.gz
/usr/X11R6/share/kde/apps/kdevelop/templates/normal2.tar.gz
/usr/X11R6/share/kde/apps/kdevelop/templates/normalogl.tar.gz
/usr/X11R6/share/kde/apps/kdevelop/templates/qextmdi.tar.gz
/usr/X11R6/share/kde/apps/kdevelop/templates/qt.tar.gz
/usr/X11R6/share/kde/apps/kdevelop/templates/qt2.tar.gz
/usr/X11R6/share/kde/apps/kdevelop/templates/qtmdi.tar.gz

I can't see an easy way of fixing this.

In hinsight, wouldn't it be easier to call the new qt-2.x stuff
libqt2 and moc2 and left libqt stuff alone? 

cheerio Berndt
-- 
Name    : Berndt Josef Wulf            | +++ With BSD on Packet Radio +++
E-Mail  : wulf@ping.net.au             |    tfkiss, tnt, dpbox, wampes
ICQ     : 18196098                     |  VK5ABN, Nairne, South Australia 
URL     : http://www.ping.net.au/~wulf | MBOX : vk5abn@vk5abn.#lmr.#sa.au.oc
Sysinfo : DEC AXPpci33+, NetBSD-1.4    | BBS  : vk5abn.#lmr.#sa.aus.oc