summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2007-07-04 09:29:29 +0000
committerChristian Faulhammer <fauli@gentoo.org>2007-07-04 09:29:29 +0000
commit10afc8053675cf207a79234b07235b670c9543a9 (patch)
treed5aae4c4efd7c08f7dd5119816f8e6bb287be8b7 /app-emacs/doxymacs
parentVersion bump thanks to David Morton. Fixes bug #166608 (diff)
downloadhistorical-10afc8053675cf207a79234b07235b670c9543a9.tar.gz
historical-10afc8053675cf207a79234b07235b670c9543a9.tar.bz2
historical-10afc8053675cf207a79234b07235b670c9543a9.zip
don't create autoloads as they are not sufficient; instead load doxymacs when a C mode is entered; kill the font-lock in the site-init; fixes bug 184175, reported by Anders Bach Nielsen <abachn@daimi.au.dk>
Package-Manager: portage-2.1.2.9
Diffstat (limited to 'app-emacs/doxymacs')
-rw-r--r--app-emacs/doxymacs/ChangeLog10
-rw-r--r--app-emacs/doxymacs/Manifest37
-rw-r--r--app-emacs/doxymacs/doxymacs-1.8.0-r1.ebuild44
-rw-r--r--app-emacs/doxymacs/doxymacs-1.8.0.ebuild9
-rw-r--r--app-emacs/doxymacs/files/50doxymacs-gentoo.el8
-rw-r--r--app-emacs/doxymacs/files/digest-doxymacs-1.8.0-r13
6 files changed, 87 insertions, 24 deletions
diff --git a/app-emacs/doxymacs/ChangeLog b/app-emacs/doxymacs/ChangeLog
index c3345ca4bacc..f1bb2d5baa07 100644
--- a/app-emacs/doxymacs/ChangeLog
+++ b/app-emacs/doxymacs/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-emacs/doxymacs
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/doxymacs/ChangeLog,v 1.1 2007/07/02 06:44:23 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/doxymacs/ChangeLog,v 1.2 2007/07/04 09:29:29 opfer Exp $
+
+*doxymacs-1.8.0-r1 (04 Jul 2007)
+
+ 04 Jul 2007; Christian Faulhammer <opfer@gentoo.org>
+ files/50doxymacs-gentoo.el, +doxymacs-1.8.0-r1.ebuild:
+ don't create autoloads as they are not sufficient; instead load doxymacs
+ when a C mode is entered; kill the font-lock in the site-init; fixes bug
+ 184175, reported by Anders Bach Nielsen <abachn@daimi.au.dk>
*doxymacs-1.8.0 (02 Jul 2007)
diff --git a/app-emacs/doxymacs/Manifest b/app-emacs/doxymacs/Manifest
index a553d22067b9..5fb17fa6e852 100644
--- a/app-emacs/doxymacs/Manifest
+++ b/app-emacs/doxymacs/Manifest
@@ -1,19 +1,23 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX 50doxymacs-gentoo.el 345 RMD160 021d2153335eb36b411b2f792127ecaa3b5f515b SHA1 0e088c03ba5b2e3713eb7362836980e03a30baef SHA256 60c0905b5636ea7f934906dc0bbb2da627cc98c7702e528826567244ecddcdda
-MD5 36629f827eadd8729b9ed78e3c94f0b8 files/50doxymacs-gentoo.el 345
-RMD160 021d2153335eb36b411b2f792127ecaa3b5f515b files/50doxymacs-gentoo.el 345
-SHA256 60c0905b5636ea7f934906dc0bbb2da627cc98c7702e528826567244ecddcdda files/50doxymacs-gentoo.el 345
+AUX 50doxymacs-gentoo.el 132 RMD160 6987cf8af5dabe5c7ed2d18e2e2854fd2b6a1659 SHA1 d43beb194cb4d2bf76c5fc2e060348468de3cb4c SHA256 55e391adc590c91c6d50c9e4287945cdca42467a86edf8de1f738ef59b5f9c56
+MD5 701e01375df6f105bf4219b7cf5be5b8 files/50doxymacs-gentoo.el 132
+RMD160 6987cf8af5dabe5c7ed2d18e2e2854fd2b6a1659 files/50doxymacs-gentoo.el 132
+SHA256 55e391adc590c91c6d50c9e4287945cdca42467a86edf8de1f738ef59b5f9c56 files/50doxymacs-gentoo.el 132
DIST doxymacs-1.8.0.tar.gz 133600 RMD160 f7a0657251d9220d75aec08dd796dbba3cfe99a5 SHA1 b2aafb4f2d20ceb63614c2b9f06d79dd484d8e2e SHA256 a23fd833bc3c21ee5387c62597610941e987f9d4372916f996bf6249cc495afa
-EBUILD doxymacs-1.8.0.ebuild 1083 RMD160 7d286c7b1e35023b89a78f611f6cdf7223371178 SHA1 6de71564053e5ce9cbdcc99f5b056e6dc5226b59 SHA256 d2f5d6d522f2a79d9569cbd507064effd3a0952385ea0297ffa63a8e1fbe042e
-MD5 a2dd76492a864ec3ca9a8473f0c3b34b doxymacs-1.8.0.ebuild 1083
-RMD160 7d286c7b1e35023b89a78f611f6cdf7223371178 doxymacs-1.8.0.ebuild 1083
-SHA256 d2f5d6d522f2a79d9569cbd507064effd3a0952385ea0297ffa63a8e1fbe042e doxymacs-1.8.0.ebuild 1083
-MISC ChangeLog 520 RMD160 062c780046a50c34fb62c58fc36753a5037ffa43 SHA1 350f591732fbb2ef66f68b6f1aa66ddf01a0ae52 SHA256 f7b204a8675bb178ae3e84e2f6c7130da10fb15ed2fac1637b150b73749839a3
-MD5 034090d0c9a28ce4f2bd17173fd68617 ChangeLog 520
-RMD160 062c780046a50c34fb62c58fc36753a5037ffa43 ChangeLog 520
-SHA256 f7b204a8675bb178ae3e84e2f6c7130da10fb15ed2fac1637b150b73749839a3 ChangeLog 520
+EBUILD doxymacs-1.8.0-r1.ebuild 995 RMD160 8a1b9da6d3ebf19bc4d64756fdb506735061bb18 SHA1 0e1f5bd8e631eca50f0d73cfa81bd1f3e7ca8770 SHA256 7bdfd49e0e44cdd732fe0dc073ae6ebf139b653282e082f4d0af867632a17143
+MD5 9cd577346f929a7d958f3f7435cb59af doxymacs-1.8.0-r1.ebuild 995
+RMD160 8a1b9da6d3ebf19bc4d64756fdb506735061bb18 doxymacs-1.8.0-r1.ebuild 995
+SHA256 7bdfd49e0e44cdd732fe0dc073ae6ebf139b653282e082f4d0af867632a17143 doxymacs-1.8.0-r1.ebuild 995
+EBUILD doxymacs-1.8.0.ebuild 1268 RMD160 b795011a6c92d4eb13bf5bd4b6ab96d18196997a SHA1 2d4ae140bc4d903033bbb874369df1ca822f55ef SHA256 040df0ff1b9ac28d39b3766e73297adb2331ba07eacc5f4a0c3b17acba6d1570
+MD5 c9768c21f6e1aae5bd5099a3bde9d48b doxymacs-1.8.0.ebuild 1268
+RMD160 b795011a6c92d4eb13bf5bd4b6ab96d18196997a doxymacs-1.8.0.ebuild 1268
+SHA256 040df0ff1b9ac28d39b3766e73297adb2331ba07eacc5f4a0c3b17acba6d1570 doxymacs-1.8.0.ebuild 1268
+MISC ChangeLog 880 RMD160 926a2dd6fc418fef34769dcd1606ed317cc5cd32 SHA1 8094cbca6b7393556aac1a800fa887b8c011ef4f SHA256 97cf30859212c32d3c64c26f1c9ff0980ed62eb1ad4f4792474b3d7a4d7e9575
+MD5 03d7ca56ab94030656e2d16ae20240dd ChangeLog 880
+RMD160 926a2dd6fc418fef34769dcd1606ed317cc5cd32 ChangeLog 880
+SHA256 97cf30859212c32d3c64c26f1c9ff0980ed62eb1ad4f4792474b3d7a4d7e9575 ChangeLog 880
MISC metadata.xml 158 RMD160 415d172437ca754d24fc5ab186ba8e77934d96e4 SHA1 61f6eff9729cd87a725c2a70c81aca4270a17fc4 SHA256 1393bdef3a74343fdb40a112c7096a1af16f67e7a43413250de28dfe73810eab
MD5 fcd33d07e4ee719b01157946734f4fe8 metadata.xml 158
RMD160 415d172437ca754d24fc5ab186ba8e77934d96e4 metadata.xml 158
@@ -21,10 +25,13 @@ SHA256 1393bdef3a74343fdb40a112c7096a1af16f67e7a43413250de28dfe73810eab metadata
MD5 1281572aced6584885a5de380cfa8e3d files/digest-doxymacs-1.8.0 244
RMD160 f2d491e92ebe01d080c020ebd526677cb7bd91e4 files/digest-doxymacs-1.8.0 244
SHA256 9ed9153a14169bf5e0ba0ab9a23bc007438295fadfa2eea1f1ba0bb0d35e2c1f files/digest-doxymacs-1.8.0 244
+MD5 1281572aced6584885a5de380cfa8e3d files/digest-doxymacs-1.8.0-r1 244
+RMD160 f2d491e92ebe01d080c020ebd526677cb7bd91e4 files/digest-doxymacs-1.8.0-r1 244
+SHA256 9ed9153a14169bf5e0ba0ab9a23bc007438295fadfa2eea1f1ba0bb0d35e2c1f files/digest-doxymacs-1.8.0-r1 244
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
-iD8DBQFGiJ7ONQqtfCuFneMRAoS4AKCJkjM9c7bSZMQGc0Ouu5CiiNpTxwCdFJUz
-wyJkBeSHtvdtKJ+4MpLQULw=
-=Xz+m
+iD8DBQFGi2h/NQqtfCuFneMRAu9cAJ9lbggwx5ke+ao6Wsck+ijUOYhI9ACfc7Qd
+5v/MXbMEQJacyfMP6ZYJzJQ=
+=p16B
-----END PGP SIGNATURE-----
diff --git a/app-emacs/doxymacs/doxymacs-1.8.0-r1.ebuild b/app-emacs/doxymacs/doxymacs-1.8.0-r1.ebuild
new file mode 100644
index 000000000000..263b8eef5056
--- /dev/null
+++ b/app-emacs/doxymacs/doxymacs-1.8.0-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/doxymacs/doxymacs-1.8.0-r1.ebuild,v 1.1 2007/07/04 09:29:29 opfer Exp $
+
+NEED_EMACS=22
+
+inherit elisp
+
+DESCRIPTION="Doxygen editing minor mode"
+HOMEPAGE="http://doxymacs.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=dev-libs/libxml2-2.6.13"
+RDEPEND="${DEPEND}"
+
+SITEFILE="50doxymacs-gentoo.el"
+DOCS="AUTHORS ChangeLog NEWS README TODO"
+
+src_compile() {
+ econf \
+ --with-datadir="${SITELISP}/${PN}" \
+ --with-lispdir="${SITELISP}/${PN}" \
+ || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake \
+ prefix="${D}/usr" \
+ datadir="${D}/${SITELISP}/${PN}" \
+ lispdir="${D}/${SITELISP}/${PN}" \
+ install \
+ || die "emake install failed"
+
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+
+ dodoc ${DOCS} || die "dodoc failed"
+}
diff --git a/app-emacs/doxymacs/doxymacs-1.8.0.ebuild b/app-emacs/doxymacs/doxymacs-1.8.0.ebuild
index c01d6db1631a..18d3d3d9398e 100644
--- a/app-emacs/doxymacs/doxymacs-1.8.0.ebuild
+++ b/app-emacs/doxymacs/doxymacs-1.8.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/doxymacs/doxymacs-1.8.0.ebuild,v 1.1 2007/07/02 06:44:23 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/doxymacs/doxymacs-1.8.0.ebuild,v 1.2 2007/07/04 09:29:29 opfer Exp $
NEED_EMACS=22
@@ -44,3 +44,10 @@ src_install() {
dodoc ${DOCS} || die "dodoc failed"
}
+
+pkg_postinst() {
+ elisp-site-regen
+ elog "doxymacs is loaded for all C modes"
+ elog "if you need it in other situations, please add (require 'doxmacs)"
+ elog "to your ~/.emacs file"
+}
diff --git a/app-emacs/doxymacs/files/50doxymacs-gentoo.el b/app-emacs/doxymacs/files/50doxymacs-gentoo.el
index 08f4affa7ac3..5a179c63415f 100644
--- a/app-emacs/doxymacs/files/50doxymacs-gentoo.el
+++ b/app-emacs/doxymacs/files/50doxymacs-gentoo.el
@@ -1,11 +1,5 @@
-
;;; doxymacs site-lisp configuration
(add-to-list 'load-path "@SITELISP@")
-(load "doxymacs-autoloads" nil t)
-(add-hook 'c-mode-common-hook 'doxymacs-mode)
-(defun my-doxymacs-font-lock-hook ()
- (if (or (eq major-mode 'c-mode) (eq major-mode 'c++-mode))
- (doxymacs-font-lock)))
-(add-hook 'font-lock-mode-hook 'my-doxymacs-font-lock-hook)
+(add-hook 'c-mode-common-hook (load "doxymacs" nil t))
diff --git a/app-emacs/doxymacs/files/digest-doxymacs-1.8.0-r1 b/app-emacs/doxymacs/files/digest-doxymacs-1.8.0-r1
new file mode 100644
index 000000000000..0bb51ca72d8f
--- /dev/null
+++ b/app-emacs/doxymacs/files/digest-doxymacs-1.8.0-r1
@@ -0,0 +1,3 @@
+MD5 a2c1750efdec955f42e410a18ebd4eb8 doxymacs-1.8.0.tar.gz 133600
+RMD160 f7a0657251d9220d75aec08dd796dbba3cfe99a5 doxymacs-1.8.0.tar.gz 133600
+SHA256 a23fd833bc3c21ee5387c62597610941e987f9d4372916f996bf6249cc495afa doxymacs-1.8.0.tar.gz 133600