Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Dec 2001 20:27:00 +0900 (JST)
From:      Kimura Fuyuki <fuyuki@mj.0038.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/33297: New port: editors/speedbar
Message-ID:  <20011229112701853.SWAG.30377.t-mta8.odn.ne.jp@mta8.odn.ne.jp>

next in thread | raw e-mail | index | archive | help

>Number:         33297
>Category:       ports
>Synopsis:       New port: editors/speedbar
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 29 03:30:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Kimura Fuyuki
>Release:        FreeBSD 4.5-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD ns.test 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #3: Mon Dec 24 14:54:22 JST 2001 root@ns.test:/sack/obj/usr/src/sys/NS i386

>Description:
Speedbar is an Emacs Lisp program which allows you to create a special
skinny frame with a specialized directory listing in it. This listing
will have both directories and filtered files in it. You can then load
files into your emacs frame, or expand the files to display all the
tags that are in them and jump to those tags. You can also expand
multiple directories into your speedbar frame.

WWW: http://cedet.sourceforge.net/speedbar.shtml

--
Note:

 - emacs20/21 has already included speedbar, but too old to run the
   JDE.

 - This port raises a info file conflict with emacs21. I couldn't fix
   it.

 - Newer speedbar has incompatible changes so we need to recompile
   some el's included in emacs20/21. Very ugly.

 - speedbar-emacs20 isn't well-tested.

>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	speedbar
#	speedbar/files
#	speedbar/files/patch-aa
#	speedbar/files/patch-ab
#	speedbar/distinfo
#	speedbar/pkg-plist
#	speedbar/Makefile
#	speedbar/pkg-comment
#	speedbar/pkg-descr
#
echo c - speedbar
mkdir -p speedbar > /dev/null 2>&1
echo c - speedbar/files
mkdir -p speedbar/files > /dev/null 2>&1
echo x - speedbar/files/patch-aa
sed 's/^X//' >speedbar/files/patch-aa << 'END-of-speedbar/files/patch-aa'
X--- speedbar.texi.orig	Mon Dec 10 11:33:16 2001
X+++ speedbar.texi	Mon Dec 10 11:53:31 2001
X@@ -26,9 +26,10 @@
X
X @ifinfo
X @format
X-START-INFO-DIR-ENTRY
X+@dircategory The Emacs editor and associated tools
X+@direntry
X * Speedbar: (speedbar).	File/Tag summarizing utility.
X-END-INFO-DIR-ENTRY
X+@end direntry
X @end format
X @end ifinfo
X
END-of-speedbar/files/patch-aa
echo x - speedbar/files/patch-ab
sed 's/^X//' >speedbar/files/patch-ab << 'END-of-speedbar/files/patch-ab'
X--- speedbar.el.orig	Sat Dec 29 19:10:04 2001
X+++ speedbar.el	Sat Dec 29 19:12:09 2001
X@@ -948,6 +948,8 @@
X     (speedbar-reconfigure-keymaps)
X     (speedbar-update-contents)
X     (speedbar-set-timer dframe-update-speed)
X+    (if (not window-system)
X+	(select-frame speedbar-frame))
X     )
X   (set (make-local-variable 'automatic-hscrolling) nil) ; Emacs 21
X   ;; reset the selection variable
END-of-speedbar/files/patch-ab
echo x - speedbar/distinfo
sed 's/^X//' >speedbar/distinfo << 'END-of-speedbar/distinfo'
XMD5 (speedbar-0.13a.tar.gz) = 5f405fba3618be0c60125982e30c2b82
END-of-speedbar/distinfo
echo x - speedbar/pkg-plist
sed 's/^X//' >speedbar/pkg-plist << 'END-of-speedbar/pkg-plist'
X@unexec install-info --delete %D/info/speedbar.info %D/info/dir
Xinfo/speedbar.info
X@exec install-info %D/info/speedbar.info %D/info/dir
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/bigclock.el
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/dframe.el
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/dframe.elc
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/gud.el
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/gud.elc
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/info.el
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/info.elc
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/rmail.el
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/rmail.elc
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/rpm.el
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/sb-dir-minus.xpm
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/sb-dir-plus.xpm
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/sb-dir.xpm
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/sb-gud.el
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/sb-image.el
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/sb-info.el
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/sb-mail.xpm
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/sb-pg-minus.xpm
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/sb-pg-plus.xpm
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/sb-pg.xpm
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/sb-rmail.el
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/sb-tag-gt.xpm
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/sb-tag-minus.xpm
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/sb-tag-plus.xpm
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/sb-tag-type.xpm
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/sb-tag-v.xpm
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/sb-tag.xpm
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/sb-texinfo.el
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/sb-w3.el
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/speedbar.el
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/speedbar.elc
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/vhdl-mode.el
X%%EMACS_VERSION_SITE_LISPDIR%%/speedbar/vhdl-mode.elc
X@dirrm %%EMACS_VERSION_SITE_LISPDIR%%/speedbar
END-of-speedbar/pkg-plist
echo x - speedbar/Makefile
sed 's/^X//' >speedbar/Makefile << 'END-of-speedbar/Makefile'
X# New ports collection makefile for:   speedbar
X# Date created:                29 December 2001
X# Whom:                        Kimura Fuyuki <fuyuki@mj.0038.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	speedbar
XPORTVERSION=	0.13a
XCATEGORIES=	editors elisp
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	cedet
XPKGNAMESUFFIX=	-${EMACS_PORT_NAME}
X
XMAINTAINER=	fuyuki@mj.0038.net
X
XEMACS_PORT_NAME?=	emacs21
X
XUSE_GMAKE=	yes
XMAKE_ARGS=	LOADPATH=.
X
XLISPDIR=	${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/speedbar
X
X# We need to recompile these el's because of some incompatible changes
X# in speedbar.
XMUST_BE_RECOMPILED=	gud.el info.el rmail.el vhdl-mode.el
X
XEMACS_ARGS=	 -batch -l speedbar-compile-script -f batch-byte-compile
X
Xpre-build:
X.for i in ${MUST_BE_RECOMPILED}
X	${CP} `${FIND} ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/lisp -name ${i}` \
X		${WRKSRC}
X	${PERL} -pi -e 's/speedbar-attached-frame/dframe-attached-frame/' \
X		${WRKSRC}/${i}
X.endfor
X
Xpost-build:
X	cd ${WRKSRC}; ${EMACS_CMD} ${EMACS_ARGS} ${MUST_BE_RECOMPILED}
X
Xdo-install:
X	${MKDIR} ${LISPDIR}
X.for i in *.el *.elc *.xpm
X	${INSTALL_DATA} ${WRKSRC}/${i} ${LISPDIR}
X.endfor
X	${INSTALL_DATA} ${WRKSRC}/speedbar.info ${PREFIX}/info
X	install-info ${PREFIX}/info/speedbar.info ${PREFIX}/info/dir
X
X.include <bsd.port.mk>
END-of-speedbar/Makefile
echo x - speedbar/pkg-comment
sed 's/^X//' >speedbar/pkg-comment << 'END-of-speedbar/pkg-comment'
XQuick access to files and tags in an Emacs frame
END-of-speedbar/pkg-comment
echo x - speedbar/pkg-descr
sed 's/^X//' >speedbar/pkg-descr << 'END-of-speedbar/pkg-descr'
XSpeedbar is an Emacs Lisp program which allows you to create a special
Xskinny frame with a specialized directory listing in it. This listing
Xwill have both directories and filtered files in it. You can then load
Xfiles into your emacs frame, or expand the files to display all the
Xtags that are in them and jump to those tags. You can also expand
Xmultiple directories into your speedbar frame.
X
XWWW: http://cedet.sourceforge.net/speedbar.shtml
X
X- Kimura Fuyuki
Xfuyuki@mj.0038.net
END-of-speedbar/pkg-descr
exit

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	speedbar-emacs20
#	speedbar-emacs20/Makefile
#
echo c - speedbar-emacs20
mkdir -p speedbar-emacs20 > /dev/null 2>&1
echo x - speedbar-emacs20/Makefile
sed 's/^X//' >speedbar-emacs20/Makefile << 'END-of-speedbar-emacs20/Makefile'
X# New ports collection makefile for:   speedbar for emacs20
X# Date created:                29 December 2001
X# Whom:                        Kimura Fuyuki <fuyuki@mj.0038.net>
X#
X# $FreeBSD$
X#
X
XMASTERDIR=	${.CURDIR}/../../editors/speedbar
X
XEMACS_PORT_NAME=	emacs20
X
X.include <${MASTERDIR}/Makefile>
END-of-speedbar-emacs20/Makefile
exit


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011229112701853.SWAG.30377.t-mta8.odn.ne.jp>