diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-emacs/css-mode |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-emacs/css-mode')
-rw-r--r-- | app-emacs/css-mode/Manifest | 7 | ||||
-rw-r--r-- | app-emacs/css-mode/css-mode-0.11-r1.ebuild | 28 | ||||
-rw-r--r-- | app-emacs/css-mode/files/50css-mode-gentoo.el | 3 | ||||
-rw-r--r-- | app-emacs/css-mode/files/css-mode-0.11-no-compat-kbd.patch | 24 | ||||
-rw-r--r-- | app-emacs/css-mode/metadata.xml | 8 |
5 files changed, 70 insertions, 0 deletions
diff --git a/app-emacs/css-mode/Manifest b/app-emacs/css-mode/Manifest new file mode 100644 index 000000000000..4e34469c5ece --- /dev/null +++ b/app-emacs/css-mode/Manifest @@ -0,0 +1,7 @@ +AUX 50css-mode-gentoo.el 171 SHA256 1f48e8d470f9a8e8de545a5c10529beb7a9265f17671bd45018455783d1ec8d2 SHA512 18713c42439aa4d076b7154035ba369060bfc8a0e98e845b7140e137b05ed0aacc2a25ec93612e950fe930c5605d6ea909d5d1ed79433d1472f357bc272ce96e WHIRLPOOL c9c97b77bd3f8aa00522be5f7b6e752ad2061f5c32bf6d2d5813fa2e8cc5862e93795fa442f9934272bf70499b2679d204ed11b373bf541499db68e25fddc8ff +AUX css-mode-0.11-no-compat-kbd.patch 875 SHA256 7147b881d77e7af38d84e5ff679a1614f7a9e5e9a6967dc17d11fdb6bddc195a SHA512 27f298f89cc15c2104fe27712f0a02676074fcdd8417ec8cc515ab461e27aec63d6325fdfe4c269c4212fa4c2e12975dcfe7d7eb345b2f31a4d12dc0189c523b WHIRLPOOL 06bec50319f8b7df3d23a895658c5cfa2a92515e320485b4740d00d401703297d9f4aada7489c86af8cfe313817bb1eff6bf1520dc8ff264a59912d6b9301168 +DIST css-mode-0.11.tar.bz2 6848 SHA256 f7980d13a2d5ba2ac6873fdc2c7b54db5c13e93294a2c1068b4b04e7b6a2f7d4 SHA512 b93574fde8bb24ffc4dac6ddda20db3ec3c1834c1201f250f24805d31c7972edc2ffc157e7717327e7baac5c71a1d943a9d80bc7bec96be99c44cd2ab16e0e03 WHIRLPOOL e9036b4ef8604025aa123fc56c51b2171f0027d493134b89a96d2eceef3b0de3668c5ced5396c684b3ff8cfa595eb21d3ddd491a3c2b45f486955cee4f020b30 +EBUILD css-mode-0.11-r1.ebuild 653 SHA256 db105e707c27ba05340bd2d48e3be9d2a88e85649367db85f97e66bc53ad874e SHA512 e9ac0302ff44318e44a3ea22df34d08371ca8920151ebec9681d4341a93bdbc1cb4327437bdfafa28b6eb4c97318cc934cdf189b60c592e2e8a0940154051519 WHIRLPOOL e01c11beb5f8bdb76cc04c205a55a3189c76845a5159b0863181fc81ffd32978c801bdd7d5d8ed04a1ded75e18414da954803e15bc0d443410cd124213f984ae +MISC ChangeLog 2395 SHA256 875193dfb9fce68aed33a5d5dad311e61edfcbfbda073137977c3412157cc628 SHA512 094950029e8de29a2a77eed0a406ce23534bae61808d235c3bf2d1f3eadd96f7767da33b7204d0fe3cf6c0b3013aa86f2f2e2607a7db677af63c78277c73a150 WHIRLPOOL 3d0af3f2b7fec66c590dab8774bab8663675d395b2bdc5710c42b5469f84c583d81b1f01b55c8d0e122b4007633d2ba111191b22ea2f4f80fbca58cd9f04b242 +MISC ChangeLog-2015 1888 SHA256 d0706da158c5c022d98120897f256d4768c5b2aeee76ad224405591eb687abf8 SHA512 d2c64499db25e342753df58f0955cc582a20af21cb5458e1524aefffeba042c21a3b14b9b01e6642cb8ae32b2eed2a20fa81ad92ed2af0fe9c74f30bc3aefd14 WHIRLPOOL ca4747da184793b7a3e5a79dd4e4d84193b24002496f2673c0e9cbed029e4169942f80e77d7c398b5191fc066402bf6f830880568ced10c3919c1706d7c5d870 +MISC metadata.xml 259 SHA256 4d59c14917cb31648858cb06bc3c7f224cf1c3906dc3166f8f0d8b8e02970928 SHA512 9a5c456aae7919a4cdbb10b67a27c232daf2ec6db4202e04ba6d5873242fc982a659410443dd6fb4498d42af00b495acc51a6a2cbe12aeab91b585dfac7233a3 WHIRLPOOL 08c68f505a8cc685c52f3a54a07582b64ff7c0b4682c8f9333286fbb5caf4a8d406933c7937fe8c9611f456b5a549ee100657a1c9dc766c8965772f277bf31fb diff --git a/app-emacs/css-mode/css-mode-0.11-r1.ebuild b/app-emacs/css-mode/css-mode-0.11-r1.ebuild new file mode 100644 index 000000000000..25c3581915e4 --- /dev/null +++ b/app-emacs/css-mode/css-mode-0.11-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit elisp + +DESCRIPTION="A major mode for editing Cascading Style Sheets (CSS)" +HOMEPAGE="http://www.garshol.priv.no/download/software/css-mode/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd" + +ELISP_PATCHES="${P}-no-compat-kbd.patch" +SITEFILE="50${PN}-gentoo.el" + +src_prepare() { + elisp_src_prepare + # Fix documentation + sed -i -e 's,HREF="/visuals/standard.css",HREF="standard.css",' doco.html +} + +src_install() { + elisp_src_install + dohtml -A css doco.html standard.css +} diff --git a/app-emacs/css-mode/files/50css-mode-gentoo.el b/app-emacs/css-mode/files/50css-mode-gentoo.el new file mode 100644 index 000000000000..8559be036db5 --- /dev/null +++ b/app-emacs/css-mode/files/50css-mode-gentoo.el @@ -0,0 +1,3 @@ +(add-to-list 'load-path "@SITELISP@") +(add-to-list 'auto-mode-alist '("\\.css\\'" . css-mode)) +(autoload 'css-mode "css-mode" "Mode for editing Cascading Style Sheets" t) diff --git a/app-emacs/css-mode/files/css-mode-0.11-no-compat-kbd.patch b/app-emacs/css-mode/files/css-mode-0.11-no-compat-kbd.patch new file mode 100644 index 000000000000..858cb238bf3c --- /dev/null +++ b/app-emacs/css-mode/files/css-mode-0.11-no-compat-kbd.patch @@ -0,0 +1,24 @@ +Function "apropos-macrop" apparently no longer exists in Emacs 24.4. +Simply remove the code using it, since it was only needed for backwards +compatibility with Emacs 19 (the "kbd" macro appeared in Emacs 20.1). +https://bugs.gentoo.org/532358 + +--- css-mode-0.11-orig/css-mode.el ++++ css-mode-0.11/css-mode.el +@@ -166,16 +166,6 @@ + (define-key cssm-mode-map (read-kbd-macro "}") 'cssm-insert-right-brace-and-indent) + (define-key cssm-mode-map (read-kbd-macro "M-TAB") 'cssm-complete-property)) + +-;;; Cross-version compatibility layer +- +-(when (not (or (apropos-macrop 'kbd) +- (fboundp 'kbd))) +- (defmacro kbd (keys) +- "Convert KEYS to the internal Emacs key representation. +-KEYS should be a string constant in the format used for +-saving keyboard macros (see `insert-kbd-macro')." +- (read-kbd-macro keys))) +- + ;;; Auto-indentation support + + ; internal diff --git a/app-emacs/css-mode/metadata.xml b/app-emacs/css-mode/metadata.xml new file mode 100644 index 000000000000..c438baf3b326 --- /dev/null +++ b/app-emacs/css-mode/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gnu-emacs@gentoo.org</email> + <name>Gentoo GNU Emacs project</name> +</maintainer> +</pkgmetadata> |