Chinaunix首页 | 论坛 | 博客
  • 博客访问: 111982
  • 博文数量: 41
  • 博客积分: 2132
  • 博客等级: 大尉
  • 技术积分: 305
  • 用 户 组: 普通用户
  • 注册时间: 2009-07-16 16:08
文章分类

全部博文(41)

文章存档

2012年(5)

2011年(3)

2010年(20)

2009年(13)

我的朋友

分类: LINUX

2009-12-30 00:20:11


insight 6.8-1

A graphical interface to the GNU debugger

unsupported :: devel
Maintainer: robbel
Votes: 23

License: GPL

Last Updated: Wed, 04 Jun 2008 18:10:02 +0000
First Submitted: Mon, 26 Feb 2007 17:50:40 +0000

:: ::
This package has been flagged out of date.

Dependencies

Sources


Comment by: legolas558 on Thu, 17 Sep 2009 13:42:18 +0000
Modify line 1644 of gdb/eval.c

int subscript_array[MAX_FORTRAN_DIMS] = {0};

Now it will compile successfully
Comment by: adriaticc on Fri, 19 Jun 2009 16:52:49 +0000
I know it's bad form to reference a cvs snapshot in a static way like this, but if you need the package this PKGBUILD will work when paired with the existing insight.install and insight.profile.

pkgname=insight
pkgver=6.8.50
pkgrel=1
pkgdesc="A graphical interface to the GNU debugger"
arch=('i686')
url=""
license=('GPL')
depends=('libx11')
install=('insight.install')
source=(ftp://sourceware.org/pub/insight/snapshots/current/insight-weekly-6.8.50-20090427-tar.bz2 insight.profile)

build() {
cd $startdir/src/src
sed -ie '/@include/d' gdb/doc/all-cfg.texi
cat >>gdb/doc/all-cfg.texi < @set GDBVN 6.8.50.20090427-cvs
@set VERSION_PACKAGE (GDB)
@set BUGURL @uref{}
@set BUGURL_DEFAULT
EOF

./configure --prefix=/opt/insight --mandir=/opt/insight/share/man --infodir=/opt/insight/share/info
make || return 1
make prefix=$startdir/pkg/opt/insight mandir=$startdir/pkg/opt/insight/share/man infodir=$startdir/pkg/opt/insight/share/info install || return 1
rm -rf $startdir/pkg/opt/insight/share/info

# environment variables
mkdir -p $startdir/pkg/etc/profile.d
install -m755 $startdir/${pkgname}.profile $startdir/pkg/etc/profile.d/${pkgname}.sh
}
Comment by: joephantom on Fri, 29 May 2009 15:56:38 +0000
Getting this error:

cc1: warnings being treated as errors
eval.c: In function ‘evaluate_subexp_standard’:
eval.c:1705: error: ‘subscript_array’ may be used uninitialized in this function
make[2]: *** [eval.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/tmp/yaourt-tmp-joephantom/aur-insight/insight/src/insight-6.8/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/tmp/yaourt-tmp-joephantom/aur-insight/insight/src/insight-6.8'
make: *** [all] Error 2
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build insight package.
Comment by: firewalker on Sat, 06 Dec 2008 17:57:01 +0000
In order to work with the new xproto 7.0.14 it needs some patching.

tk.h.patch:

--- tk.h.old 2003-01-21 22:24:42.000000000 +0200
+++ insight-6.8/tk/generic/tk.h 2008-12-06 19:16:28.000000000 +0200
@@ -650,17 +650,18 @@
*
*---------------------------------------------------------------------------
*/
-#define VirtualEvent (LASTEvent)
-#define ActivateNotify (LASTEvent + 1)
-#define DeactivateNotify (LASTEvent + 2)
-#define MouseWheelEvent (LASTEvent + 3)
-#define TK_LASTEVENT (LASTEvent + 4)
+#if (TK_MAJOR_VERSION > 8)
+#error Maintenance todo: Fix GenericEvent/VirtualEvent clash. [Bug 2010422]
+#endif
+#define VirtualEvent (MappingNotify + 1)
+#define ActivateNotify (MappingNotify + 2)
+#define DeactivateNotify (MappingNotify + 3)
+#define MouseWheelEvent (MappingNotify + 4)
+#define TK_LASTEVENT (MappingNotify + 5)

#define MouseWheelMask (1L << 28)
-
#define ActivateMask (1L << 29)
#define VirtualEventMask (1L << 30)
-#define TK_LASTEVENT (LASTEvent + 4)


/*


The PKGBUILD I used:

# Contributor: Philipp Robbel

pkgname=insight
pkgver=6.8
pkgrel=1
pkgdesc="A graphical interface to the GNU debugger"
arch=('i686')
url=""
license=('GPL')
depends=('libx11')
install=('insight.install')
source=(ftp://sourceware.org/pub/insight/releases/$pkgname-$pkgver.tar.bz2 insight.profile tk.h.patch)

md5sums=('b403972b35520399663c7054e8132ca9' '16dddd252c8d64a1f4757626ee895b03'
'9D7A03AC50431B5F5C2AC3250567332C')
build() {
cd $startdir/src/
patch -p0 -i tk.h.patch
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/opt/insight --mandir=/opt/insight/share/man --infodir=/opt/insight/share/info
make || return 1
make prefix=$startdir/pkg/opt/insight mandir=$startdir/pkg/opt/insight/share/man infodir=$startdir/pkg/opt/insight/share/info install || return 1
rm -rf $startdir/pkg/opt/insight/share/info

# environment variables
mkdir -p $startdir/pkg/etc/profile.d
install -m755 $startdir/${pkgname}.profile $startdir/pkg/etc/profile.d/${pkgname}.sh
}
Comment by: GuoXi on Mon, 30 Jun 2008 09:49:57 +0000
i get a error:
"can't create dir “/home/guoxi/src/insight/pkg/opt/insight/share/itcl3.2”: file exist"
the original error message is chinese, i translate it into english.
Thank you~~~
Comment by: robbel on Wed, 04 Jun 2008 18:10:45 +0000
Version bump to 6.8
Comment by: robbel on Sat, 17 Nov 2007 20:44:06 +0000
Version bump to 6.7.1
Comment by: robbel on Mon, 26 Feb 2007 17:50:57 +0000
Initial release.

阅读(2236) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~