diff options
author | Ciaran McCreesh <ciaranm@gentoo.org> | 2004-10-02 00:13:54 +0000 |
---|---|---|
committer | Ciaran McCreesh <ciaranm@gentoo.org> | 2004-10-02 00:13:54 +0000 |
commit | 1c9120c14cc477e1e74980432daa2adffe7933ee (patch) | |
tree | 5701628023928d5f638655803de21153e8fc7b24 /app-vim/cream | |
parent | Patch Makefile.am for -lsdp bug (Manifest recommit) (diff) | |
download | gentoo-2-1c9120c14cc477e1e74980432daa2adffe7933ee.tar.gz gentoo-2-1c9120c14cc477e1e74980432daa2adffe7933ee.tar.bz2 gentoo-2-1c9120c14cc477e1e74980432daa2adffe7933ee.zip |
Ebuilds are bash files too. Bug #66052
Diffstat (limited to 'app-vim/cream')
-rw-r--r-- | app-vim/cream/ChangeLog | 8 | ||||
-rw-r--r-- | app-vim/cream/Manifest | 31 | ||||
-rw-r--r-- | app-vim/cream/cream-0.30-r3.ebuild | 114 | ||||
-rw-r--r-- | app-vim/cream/files/cream-0.30-ebuilds.patch | 12 | ||||
-rw-r--r-- | app-vim/cream/files/digest-cream-0.30-r3 | 5 |
5 files changed, 150 insertions, 20 deletions
diff --git a/app-vim/cream/ChangeLog b/app-vim/cream/ChangeLog index b660947b3ac6..fc6628aec4ea 100644 --- a/app-vim/cream/ChangeLog +++ b/app-vim/cream/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-vim/cream # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-vim/cream/ChangeLog,v 1.17 2004/09/11 00:20:16 ciaranm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-vim/cream/ChangeLog,v 1.18 2004/10/02 00:13:54 ciaranm Exp $ + +*cream-0.30-r3 (02 Oct 2004) + + 02 Oct 2004; Ciaran McCreesh <ciaranm@gentoo.org> + +files/cream-0.30-ebuilds.patch, +cream-0.30-r3.ebuild: + Ebuilds are bash files too. Bug #66052 11 Sep 2004; Ciaran McCreesh <ciaranm@gentoo.org> cream-0.30-r2.ebuild: Added in help text and moved the einfo things around, bug #63318. diff --git a/app-vim/cream/Manifest b/app-vim/cream/Manifest index 30eb96ea9b56..3d0ce167e03c 100644 --- a/app-vim/cream/Manifest +++ b/app-vim/cream/Manifest @@ -1,25 +1,18 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 5bc4b841f09feb3e97091cb1767a36b2 cream-0.30-r1.ebuild 2120 -MD5 b5480467d60a7baef45eaf6e1e89f6e2 cream-0.29-r1.ebuild 2048 -MD5 136e4386b2e7808c1421c67f99135359 ChangeLog 2862 -MD5 0f44d41b4361ca8e1412c3d395cc3923 metadata.xml 434 MD5 ed33e142107e0ad62a7ee9dbb65faf99 cream-0.28.ebuild 838 +MD5 136e4386b2e7808c1421c67f99135359 ChangeLog 2862 +MD5 b5480467d60a7baef45eaf6e1e89f6e2 cream-0.29-r1.ebuild 2048 MD5 572d8dd576f8be48dc53efd4ec231bc2 cream-0.30-r2.ebuild 3161 -MD5 72e0247891a704fa4cbe72a221b62a56 files/cream-0.29-ctags.patch 825 +MD5 0f44d41b4361ca8e1412c3d395cc3923 metadata.xml 434 +MD5 5bc4b841f09feb3e97091cb1767a36b2 cream-0.30-r1.ebuild 2120 +MD5 4b3b72c6475de732f00eaf5af1318ac6 cream-0.30-r3.ebuild 3242 +MD5 11a37b610fef3f6de7fca7058b1432e2 files/cream-0.29-paths.patch 1801 MD5 305830ed8a287efa536fb2a951a75c7f files/digest-cream-0.30-r2 347 -MD5 305830ed8a287efa536fb2a951a75c7f files/digest-cream-0.30-r1 347 +MD5 130945b9ad1e1413be8ede26054e2a91 files/cream-0.29-desktop.patch 313 MD5 dec23f9499a37ffb1aa3f2204db69611 files/cream-0.30-autocmd.patch 1489 -MD5 94138ab0e32dfd93c1412066535c1edf files/digest-cream-0.29-r1 347 -MD5 11a37b610fef3f6de7fca7058b1432e2 files/cream-0.29-paths.patch 1801 MD5 a4b3168e3d6553e216fece5e86da946d files/cream.sh 128 +MD5 d58213aa7bec744ebf8f3ac25e264c24 files/cream-0.30-ebuilds.patch 435 MD5 b805bdc2fd56028f6182d4fe44cfb033 files/digest-cream-0.28 62 -MD5 130945b9ad1e1413be8ede26054e2a91 files/cream-0.29-desktop.patch 313 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.4 (GNU/Linux) - -iD8DBQFBQkQXLLFUmVNQ7rkRAjbWAJ4z04abOjBDQ+YIKMz01AMfrPfaCACfb/ZZ -Ph3QQL8QJkd1Ow1ToG5MHY0= -=c9wi ------END PGP SIGNATURE----- +MD5 94138ab0e32dfd93c1412066535c1edf files/digest-cream-0.29-r1 347 +MD5 305830ed8a287efa536fb2a951a75c7f files/digest-cream-0.30-r3 347 +MD5 72e0247891a704fa4cbe72a221b62a56 files/cream-0.29-ctags.patch 825 +MD5 305830ed8a287efa536fb2a951a75c7f files/digest-cream-0.30-r1 347 diff --git a/app-vim/cream/cream-0.30-r3.ebuild b/app-vim/cream/cream-0.30-r3.ebuild new file mode 100644 index 000000000000..63a40fcfe15f --- /dev/null +++ b/app-vim/cream/cream-0.30-r3.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-vim/cream/cream-0.30-r3.ebuild,v 1.1 2004/10/02 00:13:54 ciaranm Exp $ + +inherit vim-plugin eutils + +DESCRIPTION="Cream is an easy-to-use configuration of the GVim text editor" +HOMEPAGE="http://cream.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz + linguas_en? ( ${HOMEPAGE}/cream-spell-dict-eng-l.zip ) + linguas_fr? ( ${HOMEPAGE}/cream-spell-dict-fre-l.zip ) + linguas_es? ( ${HOMEPAGE}/cream-spell-dict-spa-l.zip ) + linguas_de? ( ${HOMEPAGE}/cream-spell-dict-ger-l.zip )" + +IUSE="" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 sparc ~ppc mips ~amd64" + +DEPEND="" +RDEPEND=">=app-editors/gvim-6.2 + dev-util/ctags" + +VIM_PLUGIN_HELPTEXT=\ +"Cream is completly independent from the rest of your Vim/GVim setup. +To launch GVim in Cream mode, use this wrapper script: +\ % cream [filename...] + +Cream's documentation has been installed in ${ROOT}usr/share/doc/${PF} +In particular, you may want to read: + +\ - the Cream features list: +file://${ROOT}usr/share/doc/${PF}/html/features.html + +\ - the Cream shortcuts list: +file://${ROOT}usr/share/doc/${PF}/html/keyboardshortcuts.html + +\ - the Cream FAQ: +file://${ROOT}usr/share/doc/${PF}/html/faq.html" + +src_unpack() { + mkdir -p ${S}/spelldicts + + # install spell dictionaries into ${S}/spelldicts + local my_a + for my_a in ${A} ; do + if [ -z ${my_a/*spell-dict*/} ] ; then + cd ${S}/spelldicts + unpack ${my_a} + else + cd ${WORKDIR} + unpack ${my_a} + fi + done + + # change installation path + fix the wrapper command (disable plugins) + cd ${S} + cat >cream <<EOF +#!/bin/sh +gvim -u NONE -U "\\\$VIM/cream/creamrc" "\$@" +EOF + sed -i "/let \$CREAM/s:VIMRUNTIME:VIM:" creamrc || die "sed #1 broke" + + # fix up evil autocmd behaviour, bug #61158 + epatch ${FILESDIR}/${P}-autocmd.patch + + # make taglist ebuild aware, bug #66052 + epatch ${FILESDIR}/${P}-ebuilds.patch +} + +src_install() { + # install launcher and menu entry + dobin cream + insinto /usr/share/applications + doins cream.desktop + insinto /usr/share/icons + doins cream.svg cream.png + + # install shared vim files + insinto /usr/share/vim/cream + doins *.vim creamrc + local dir + for dir in addons bitmaps spelldicts ; do + cp -R ${dir} ${D}/usr/share/vim/cream + done + dodir /usr/share/vim/vimfiles + cp -R help ${D}/usr/share/vim/vimfiles/doc + + # install docs + dodoc docs/* + dohtml docs-html/* +} + +pkg_setup() { + einfo "Cream comes with several dictionaries for spell checking. In" + einfo "all cases, at least a small English dictionary will be installed." + einfo " " + einfo "To specify which optional dictionaries are installed, set the" + einfo "LINGUAS variable in /etc/make.conf. For example, to install full" + einfo "English and French dictionaries, use:" + einfo " LINGUAS=\"en fr\"" + einfo " " + einfo "Available dictionaries are:" + for dict in "English en" "French fr" "German de" "Spanish es" ; do + # portage bug: shouldn't get a QA notice for linguas stuff... + einfo " ${dict% *} \t(${dict#* }) $( ( \ + use linguas_${dict#* } &>/dev/null && \ + echo '(Will be installed)' ) || echo '(Will not be installed)' )" + done + einfo " " + # give the user time to cancel if necessary + epause +} + diff --git a/app-vim/cream/files/cream-0.30-ebuilds.patch b/app-vim/cream/files/cream-0.30-ebuilds.patch new file mode 100644 index 000000000000..30e310387005 --- /dev/null +++ b/app-vim/cream/files/cream-0.30-ebuilds.patch @@ -0,0 +1,12 @@ +--- cream-0.30/taglist.vim.orig 2004-10-02 00:12:58.400215576 +0100 ++++ cream-0.30/taglist.vim 2004-10-02 00:26:28.535056360 +0100 +@@ -205,6 +205,9 @@ + let s:tlist_def_cobol_settings = 'cobol;d:data;f:file;g:group;p:paragraph;' . + \ 'P:program;s:section' + ++" ebuilds ++let s:tlist_def_ebuild_settings = 'sh;f:function' ++ + " eiffel language + let s:tlist_def_eiffel_settings = 'eiffel;c:class;f:feature' + diff --git a/app-vim/cream/files/digest-cream-0.30-r3 b/app-vim/cream/files/digest-cream-0.30-r3 new file mode 100644 index 000000000000..3c95c534df46 --- /dev/null +++ b/app-vim/cream/files/digest-cream-0.30-r3 @@ -0,0 +1,5 @@ +MD5 3da73a680131457aa91d69937bbc8834 cream-0.30.tar.gz 851705 +MD5 0feced056ac9b8da47a9b6f5dcbcbe79 cream-spell-dict-eng-l.zip 993303 +MD5 605681995cb3efc34b6bbe9a14ed5697 cream-spell-dict-fre-l.zip 814327 +MD5 d8ee68a5976d7aa3ac8f958a10d716d7 cream-spell-dict-spa-l.zip 1027692 +MD5 e3b5c16aeac644800be7e36fc13c03bf cream-spell-dict-ger-l.zip 836992 |