Subject: pkg/17577: kdbg needs to be updated to work with kde3 for upcoming kdevelop update
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jnr@po.cwru.edu>
List: netbsd-bugs
Date: 07/12/2002 10:11:55
>Number: 17577
>Category: pkg
>Synopsis: kdbg needs to be updated to work with kde3 for upcoming kdevelop update
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jul 12 07:13:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Joe Reed
>Release: NetBSD 1.6C
>Organization:
>Environment:
System: NetBSD bork 1.6C NetBSD 1.6C (BORK) #2: Fri Jul 5 17:44:24 EST 2002 root@bork:/usr/src/sys/arch/i386/compile/BORK i386
Architecture: i386
Machine: i386
>Description:
kdbg needs to be updated to the current release in order to work with kde3. This is needed for
the upcoming update of kdevelop.
>How-To-Repeat:
>Fix:
here's the diff, it can also be downloaded at
http://deadparrot.cwru.edu/downloads/NetBSD/kdbg.diff
Index: devel/kdbg/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/kdbg/Makefile,v
retrieving revision 1.28
diff -u -r1.28 Makefile
--- Makefile 2002/03/13 17:36:50 1.28
+++ Makefile 2002/07/12 13:04:40
@@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.28 2002/03/13 17:36:50 fredb Exp $
-DISTNAME= kdbg-1.2.2
-PKGREVISION= 1
+DISTNAME= kdbg-1.2.5
CATEGORIES= devel kde
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=kdbg/} \
ftp://ftp.eudaptics.com/pub/people/jsixt/
@@ -19,9 +18,11 @@
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
-CONFIGURE_ARGS+= --with-kde-version=2
+CONFIGURE_ARGS+= --with-kde-version=3
-.include "../../x11/kde2/buildlink.mk"
-.include "../../x11/kdebase2/buildlink.mk"
+.include "../../x11/qt3-libs/buildlink.mk"
+.include "../../x11/kde3/buildlink.mk"
+.include "../../x11/kdebase3/buildlink.mk"
+.include "../../graphics/png/buildlink.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"
Index: devel/kdbg/PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/devel/kdbg/PLIST,v
retrieving revision 1.2
diff -u -r1.2 PLIST
--- PLIST 2001/12/04 20:45:31 1.2
+++ PLIST 2002/07/12 13:04:40
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2001/12/04 20:45:31 skrll Exp $
+@comment $NetBSD$
bin/kdbg
share/doc/kde/HTML/de/kdbg/argspwdenv.html
share/doc/kde/HTML/de/kdbg/breakptlist.html
@@ -77,6 +77,8 @@
share/kde/apps/kdbg/types/kdecore3.kdbgtt
share/kde/apps/kdbg/types/qt.kdbgtt
share/kde/apps/kdbg/types/qt2.kdbgtt
+share/kde/apps/kdbg/types/qt3.kdbgtt
+share/kde/apps/kdbg/types/stdc++.kdbgtt
share/kde/icons/hicolor/16x16/apps/kdbg.png
share/kde/icons/hicolor/32x32/apps/kdbg.png
share/kde/icons/locolor/16x16/apps/kdbg.png
@@ -102,50 +104,33 @@
share/kde/locale/tr/LC_MESSAGES/kdbg.mo
share/kde/locale/zh_CN.GB2312/LC_MESSAGES/kdbg.mo
@dirrm share/kde/locale/zh_CN.GB2312/LC_MESSAGES
-@dirrm share/kde/locale/zh_CN.GB2312
@dirrm share/kde/locale/tr/LC_MESSAGES
-@dirrm share/kde/locale/tr
@dirrm share/kde/locale/sv/LC_MESSAGES
-@dirrm share/kde/locale/sv
@dirrm share/kde/locale/sr/LC_MESSAGES
-@dirrm share/kde/locale/sr
@dirrm share/kde/locale/sk/LC_MESSAGES
-@dirrm share/kde/locale/sk
@dirrm share/kde/locale/ru/LC_MESSAGES
-@dirrm share/kde/locale/ru
@dirrm share/kde/locale/ro/LC_MESSAGES
-@dirrm share/kde/locale/ro
@dirrm share/kde/locale/pt/LC_MESSAGES
-@dirrm share/kde/locale/pt
@dirrm share/kde/locale/pl/LC_MESSAGES
-@dirrm share/kde/locale/pl
@dirrm share/kde/locale/no_NY/LC_MESSAGES
-@dirrm share/kde/locale/no_NY
@dirrm share/kde/locale/no/LC_MESSAGES
-@dirrm share/kde/locale/no
@dirrm share/kde/locale/ja/LC_MESSAGES
-@dirrm share/kde/locale/ja
@dirrm share/kde/locale/it/LC_MESSAGES
-@dirrm share/kde/locale/it
@dirrm share/kde/locale/hu/LC_MESSAGES
-@dirrm share/kde/locale/hu
@dirrm share/kde/locale/hr/LC_MESSAGES
-@dirrm share/kde/locale/hr
@dirrm share/kde/locale/fr/LC_MESSAGES
-@dirrm share/kde/locale/fr
@dirrm share/kde/locale/es/LC_MESSAGES
-@dirrm share/kde/locale/es
@dirrm share/kde/locale/de/LC_MESSAGES
-@dirrm share/kde/locale/de
@dirrm share/kde/locale/da/LC_MESSAGES
-@dirrm share/kde/locale/da
@dirrm share/kde/locale/cs/LC_MESSAGES
-@dirrm share/kde/locale/cs
+@dirrm share/kde/icons/locolor/32x32/apps
+@dirrm share/kde/icons/locolor/16x16/apps
+@dirrm share/kde/icons/hicolor/32x32/apps
+@dirrm share/kde/icons/hicolor/16x16/apps
@dirrm share/kde/apps/kdbg/types
@dirrm share/kde/apps/kdbg/pics
@dirrm share/kde/apps/kdbg
+@dirrm share/kde/applnk/Development
@dirrm share/doc/kde/HTML/ru/kdbg
-@dirrm share/doc/kde/HTML/ru
@dirrm share/doc/kde/HTML/en/kdbg
@dirrm share/doc/kde/HTML/de/kdbg
-@dirrm share/doc/kde/HTML/de
Index: devel/kdbg/distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/devel/kdbg/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo 2002/01/21 22:27:10 1.4
+++ distinfo 2002/07/12 13:04:40
@@ -1,7 +1,9 @@
$NetBSD: distinfo,v 1.4 2002/01/21 22:27:10 markd Exp $
-SHA1 (kdbg-1.2.2.tar.gz) = 1912f37d2fab78f9ec1ef9fe169b3426ce0e3f17
-Size (kdbg-1.2.2.tar.gz) = 466637 bytes
-SHA1 (patch-aa) = a3cc86e07f879fd2083b940f9a5011687878440b
-SHA1 (patch-ab) = b86d844c67467561e7b3a800b0bf119a06c899a4
-SHA1 (patch-ac) = a01b6c4c7a763b635692785ad731a1eb289037d0
+
+
+SHA1 (kdbg-1.2.5.tar.gz) = 687afe2781801de5ab4c810245f85d15c458be75
+Size (kdbg-1.2.5.tar.gz) = 466944 bytes
+SHA1 (patch-aa) = 4626773c1dcc2b3ea2040a9fb4fe78c096ee992f
+SHA1 (patch-ab) = b92a31ab2c58138ab079ab617b13d24e4a7c6897
+SHA1 (patch-ac) = ef7ae69e39d01db396da61cc2231b282095cd20d
Index: devel/kdbg/patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/devel/kdbg/patches/patch-aa,v
retrieving revision 1.3
diff -u -r1.3 patch-aa
--- patch-aa 2001/12/04 20:45:32 1.3
+++ patch-aa 2002/07/12 13:04:40
@@ -1,14 +1,20 @@
-$NetBSD: patch-aa,v 1.3 2001/12/04 20:45:32 skrll Exp $
-
---- configure.orig Sun Apr 29 13:25:17 2001
-+++ configure
-@@ -2622,7 +2622,7 @@
+--- configure.orig Wed Jul 3 11:16:56 2002
++++ configure Wed Jul 3 11:18:42 2002
+@@ -2507,7 +2507,7 @@
+
+
+
+-
++LIBQTMT= "-lqt-mt"
+ LIBQT=${LIBQTMT:-"-lqt"}
+ if test $kde_qtver = 2; then
+
+@@ -2603,7 +2603,7 @@
ac_libs_safe="$LIBS"
CXXFLAGS="$CXXFLAGS -I$qt_incdir $all_includes"
-LDFLAGS="-L$qt_libdir $all_libraries"
+LDFLAGS="-L$qt_libdir $all_libraries $USER_LDFLAGS"
LIBS="$LIBS $LIBQT"
-
Index: devel/kdbg/patches/patch-ab
===================================================================
RCS file: /cvsroot/pkgsrc/devel/kdbg/patches/patch-ab,v
retrieving revision 1.2
diff -u -r1.2 patch-ab
--- patch-ab 2001/03/10 00:30:06 1.2
+++ patch-ab 2002/07/12 13:04:40
@@ -1,16 +1,12 @@
-$NetBSD: patch-ab,v 1.2 2001/03/10 00:30:06 wulf Exp $
-
---- kdbg/mainwndbase.cpp.orig Wed Sep 13 03:44:40 2000
-+++ kdbg/mainwndbase.cpp Wed Feb 28 00:31:03 2001
-@@ -562,7 +562,11 @@
- */
- static const char shellScriptFmt[] =
- "tty>%s;"
+--- kdbg/ttywnd.cpp.orig Tue Jul 2 14:31:36 2002
++++ kdbg/ttywnd.cpp Tue Jul 2 14:33:00 2002
+@@ -32,6 +32,9 @@
+ #ifdef HAVE_LIBUTIL_H
+ #include <libutil.h> /* openpty on FreeBSD */
+ #endif
+#ifdef __NetBSD__
-+ "trap \"\" 2 3 18;" /* ignore various signals */
-+#else
- "trap \"\" INT QUIT TSTP;" /* ignore various signals */
++#include <util.h> /* openpty on NetBSD */
+#endif
- "exec<&-;exec>&-;" /* close stdin and stdout */
- "while :;do sleep 3600;done";
- // let config file override this script
+ #include <errno.h>
+
+ #include "mydebug.h"
Index: devel/kdbg/patches/patch-ac
===================================================================
RCS file: /cvsroot/pkgsrc/devel/kdbg/patches/patch-ac,v
retrieving revision 1.1
diff -u -r1.1 patch-ac
--- patch-ac 2002/01/21 22:27:10 1.1
+++ patch-ac 2002/07/12 13:04:40
@@ -1,14 +1,14 @@
-$NetBSD: patch-ac,v 1.1 2002/01/21 22:27:10 markd Exp $
-
---- kdbg/ttywnd.cpp.orig Mon Jan 22 03:01:20 2001
-+++ kdbg/ttywnd.cpp
-@@ -32,6 +32,9 @@
- #ifdef HAVE_LIBUTIL_H
- #include <libutil.h> /* openpty on FreeBSD */
- #endif
+--- kdbg/mainwndbase.cpp.orig Tue Jul 2 14:41:40 2002
++++ kdbg/mainwndbase.cpp Tue Jul 2 14:44:39 2002
+@@ -554,7 +554,11 @@
+ */
+ static const char shellScriptFmt[] =
+ "tty>%s;"
+#ifdef __NetBSD__
-+#include <util.h> /* openpty on NetBSD */
++ "trap \"\" 2 3 18;" /* ignore various signals */
++#else
+ "trap \"\" INT QUIT TSTP;" /* ignore various signals */
+#endif
- #include <errno.h>
-
- #include "mydebug.h"
+ "exec<&-;exec>&-;" /* close stdin and stdout */
+ "while :;do sleep 3600;done";
+ // let config file override this script
>Release-Note:
>Audit-Trail:
>Unformatted: