From 19e671918aeef6102e9bbe839a5f3df1ea116fe1 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Wed, 11 Aug 2010 08:36:32 +0000 Subject: Install site-init file with autoloads. Add ~amd64 keyword. Remove old. Package-Manager: portage-2.1.8.3/cvs/Linux x86_64 --- app-emacs/google-c-style/ChangeLog | 9 +++++++- app-emacs/google-c-style/Manifest | 15 ++++++++++++-- .../files/50google-c-style-gentoo.el | 5 +++++ .../google-c-style-20091009-r1.ebuild | 24 ++++++++++++++++++++++ .../google-c-style/google-c-style-20091009.ebuild | 24 ---------------------- 5 files changed, 50 insertions(+), 27 deletions(-) create mode 100644 app-emacs/google-c-style/files/50google-c-style-gentoo.el create mode 100644 app-emacs/google-c-style/google-c-style-20091009-r1.ebuild delete mode 100644 app-emacs/google-c-style/google-c-style-20091009.ebuild (limited to 'app-emacs') diff --git a/app-emacs/google-c-style/ChangeLog b/app-emacs/google-c-style/ChangeLog index 333f301bdd9e..0ceedee8543d 100644 --- a/app-emacs/google-c-style/ChangeLog +++ b/app-emacs/google-c-style/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-emacs/google-c-style # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/google-c-style/ChangeLog,v 1.1 2010/08/11 03:31:35 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/google-c-style/ChangeLog,v 1.2 2010/08/11 08:36:31 ulm Exp $ + +*google-c-style-20091009-r1 (11 Aug 2010) + + 11 Aug 2010; Ulrich Mueller + +files/50google-c-style-gentoo.el, -google-c-style-20091009.ebuild, + +google-c-style-20091009-r1.ebuild: + Install site-init file with autoloads. Add ~amd64 keyword. Remove old. *google-c-style-20091009 (11 Aug 2010) diff --git a/app-emacs/google-c-style/Manifest b/app-emacs/google-c-style/Manifest index 28f9ee626c4f..e6bd55d1951b 100644 --- a/app-emacs/google-c-style/Manifest +++ b/app-emacs/google-c-style/Manifest @@ -1,4 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX 50google-c-style-gentoo.el 258 RMD160 3565e5a7c733cef9c979fe14bdc7e4ecb0edff7d SHA1 436c1a9d8d6ee2395a9539543bbf9a97625eea23 SHA256 57875bd3f405baf13eff7a1b486755d7d9525d2477904a4b7e05e8aa252fdc97 DIST google-c-style-20091009.tar.bz2 2178 RMD160 07d2f593df435e5b58e2c043f87c34fb07c2f049 SHA1 14b7a71aeb335a8dd6b9334de764fcf1502bb0da SHA256 58606847b01df277055d48ae8f013e3302bd22eebf067ad47aad289ed92da47b -EBUILD google-c-style-20091009.ebuild 721 RMD160 344d71a66aff7c17c3139c22091f0a1756f8a99e SHA1 f7f95e77934835c2a07e7da3dc6b05cf6f4b2a19 SHA256 0dfdc6b236095d721e81a0d322870caf18c17847d68d2b3a819182782c1326b4 -MISC ChangeLog 389 RMD160 3ed9c33e9ca00cbad2fa89b511b5935fb3e6631c SHA1 4c52c81ceaa6b0e34764538da9899c7a6408e3ee SHA256 c724b3f0f093b77ed0956ec7bc4c2d25211dee70bbc90f77d5988ebc5a5ed3ab +EBUILD google-c-style-20091009-r1.ebuild 719 RMD160 41b2dcdc91b0d9bf56a00151d03b187df0829ac5 SHA1 d81b5aa727ee4a4724c8016180caf18068ae74b3 SHA256 1ff4cf15772183c7226fe25e1efc3d4a0c24ee4f706ee01bb298cc2345055733 +MISC ChangeLog 654 RMD160 e720309f8c3ad5a61d8dd45d70e9433177bf8739 SHA1 a7e2b10651cb7cd8f0354f1e5542c046a7d7f0e4 SHA256 0353d8023e03980bdd7d2f84554069ff06a34e8765329061de9004c0b1751f29 MISC metadata.xml 182 RMD160 36af2e0ef7f6c67b47c47c42abd651161ebfe608 SHA1 cad4d006628b8a13821991a7156dd63fbf92392f SHA256 c1323d71731c95b358007af7f8ade2b017ada43eb7a5ce285ccc97bb5673d8c7 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.16 (GNU/Linux) + +iEYEARECAAYFAkxiYcoACgkQOeoy/oIi7uxPdQCgu7pr1zLk8l9d734pyF11uNTx +uRAAoMEhHsPt+wx61o2GhWMVi7iGJbYu +=k0eQ +-----END PGP SIGNATURE----- diff --git a/app-emacs/google-c-style/files/50google-c-style-gentoo.el b/app-emacs/google-c-style/files/50google-c-style-gentoo.el new file mode 100644 index 000000000000..3e9768b65db7 --- /dev/null +++ b/app-emacs/google-c-style/files/50google-c-style-gentoo.el @@ -0,0 +1,5 @@ +(add-to-list 'load-path "@SITELISP@") +(autoload 'google-set-c-style "google-c-style" + "Set the current buffer's c-style to Google C/C++ Programming Style." t) +(autoload 'google-make-newline-indent "google-c-style" + "Sets up preferred newline behavior." t) diff --git a/app-emacs/google-c-style/google-c-style-20091009-r1.ebuild b/app-emacs/google-c-style/google-c-style-20091009-r1.ebuild new file mode 100644 index 000000000000..5d99987fb527 --- /dev/null +++ b/app-emacs/google-c-style/google-c-style-20091009-r1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/google-c-style/google-c-style-20091009-r1.ebuild,v 1.1 2010/08/11 08:36:31 ulm Exp $ + +inherit elisp + +DESCRIPTION="Provides the google C/C++ coding style" +HOMEPAGE="http://code.google.com/p/google-styleguide/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +SITEFILE="50${PN}-gentoo.el" + +pkg_postinst() { + elisp-site-regen + + einfo "Example usage (.emacs):" + einfo " (add-hook 'c-mode-common-hook 'google-set-c-style)" + einfo " (add-hook 'c-mode-common-hook 'google-make-newline-indent)" +} diff --git a/app-emacs/google-c-style/google-c-style-20091009.ebuild b/app-emacs/google-c-style/google-c-style-20091009.ebuild deleted file mode 100644 index 6cecb6904336..000000000000 --- a/app-emacs/google-c-style/google-c-style-20091009.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/google-c-style/google-c-style-20091009.ebuild,v 1.1 2010/08/11 03:31:35 phajdan.jr Exp $ - -inherit elisp - -IUSE="" - -DESCRIPTION="Provides the google C/C++ coding style." -HOMEPAGE="http://code.google.com/p/google-styleguide/" -SRC_URI="mirror://gentoo/${P}.tar.bz2" -LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )" -SLOT="0" -KEYWORDS="~x86" - -DEPEND="" -RDEPEND="" - -pkg_postinst() { - einfo "Example usage (.emacs):" - einfo "(require 'google-c-style)" - einfo "(add-hook 'c-mode-common-hook 'google-set-c-style)" - einfo "(add-hook 'c-mode-common-hook 'google-make-newline-indent)" -} -- cgit v1.2.3-65-gdbad