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-misc/devtodo |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/devtodo')
-rw-r--r-- | app-misc/devtodo/Manifest | 9 | ||||
-rw-r--r-- | app-misc/devtodo/devtodo-0.1.20-r3.ebuild | 70 | ||||
-rw-r--r-- | app-misc/devtodo/files/devtodo-0.1.20-bashcom_spaces.patch | 32 | ||||
-rw-r--r-- | app-misc/devtodo/files/devtodo-0.1.20-gcc43.patch | 10 | ||||
-rw-r--r-- | app-misc/devtodo/files/devtodo-0.1.20-gentoo.diff | 85 | ||||
-rw-r--r-- | app-misc/devtodo/files/devtodo.bash-completion | 43 | ||||
-rw-r--r-- | app-misc/devtodo/metadata.xml | 8 |
7 files changed, 257 insertions, 0 deletions
diff --git a/app-misc/devtodo/Manifest b/app-misc/devtodo/Manifest new file mode 100644 index 000000000000..8b4894ba9ac7 --- /dev/null +++ b/app-misc/devtodo/Manifest @@ -0,0 +1,9 @@ +AUX devtodo-0.1.20-bashcom_spaces.patch 1077 SHA256 12f8052ee77ef30454e7137a43ea07e5729d6b89ba26ca885c324619609f4e0f SHA512 8e2934b40fba0397fc21ca9084ddb0c6f65fd9715656dd520fd90ece7c04be2d5733e52a568d1786e9a7fea3dc58f4eb4ce988ace6dc8fa23a8b9a192b6fa54b WHIRLPOOL ded05bdebde748ace4d735f643d8e43ffe39cf22876969220ce1cb336bd5676d59cf6be39009408b6bcb629658bc3e89a240330fa136f5cbef683298d65c379c +AUX devtodo-0.1.20-gcc43.patch 217 SHA256 79411f409ef0b23c24dcdc8405b9ccf7b227cfcd4a20689738c279ca4da9da56 SHA512 2a34a52467f61704031dc1ab568c5909fa165d6f4fcf007726611e80437b805fe70a16d3ed6080d5ad83dd934a05fdf3de46a0a84e5679efbdd0ca2e41b8a99c WHIRLPOOL c6119d0716bfc772821951f46eb25fa1502cc60384ea7a9d176276fd3777dcef8a1fe5375a17f7ec7130aa73043e9dd0659e34eda98bc25e27fe97e08eef0a92 +AUX devtodo-0.1.20-gentoo.diff 3744 SHA256 a9295879eb5395d0528a86dc685cd4d6986d59f205187a7eec800488377e1d3d SHA512 f2a6de30807c2ec718725491d92f4906c50b944eff389e15d17cb2982127112d443e08096b6923ca76ca720832afc1fd561bd55a327ffa435e1e21abda07abbb WHIRLPOOL c7ab20cfb4ba394357644c98432d75df244278114fd8a038d72a7268507281ea4219b06cb7e0b5ba93efbf7b7a147e3ed80f7142887392ad9a6450cf48a18c3f +AUX devtodo.bash-completion 1424 SHA256 d01efa706f01fd716b624dd89c76b4d3e1c38ed13b230a98c337e76c05035b46 SHA512 6139218a2bc4d06f2af23fc04247e8fa3d70eaf3affe326dbb8b1bbbb880f2534f1c1bf4c54079231bed7c1c64465705deb5a5cb1a0f4ca5415ccddae726b20b WHIRLPOOL 5e212281add9d45eb4e2cb73d3ca0037bcf7e8b3c8bc1c90054f21efc16682aa48ed66e1b2d79b42610c7d9eb98a9f93ee15d8462928ffa4be4001ceae1fa2a7 +DIST devtodo-0.1.20.tar.gz 390935 SHA256 379c6ac4499fc97e9676075188f7217e324e7ece3fb6daeda7bf7969c7093e09 SHA512 58cff0455c735af4530fc9321d1eade8272dd5759eeb8a688a641c9be11830b87be116801e3cd1d90a27e070775fa00d7b4d6b3399eba7aad5c752bfda9c28fb WHIRLPOOL f34a354eda2968684c87b5f8586315de6aeafce62ea7859f028b00a28a383dd5b887841cb26c25d549cbf1eb2dad811a8017a65cc4976ba737d5921096274d5b +EBUILD devtodo-0.1.20-r3.ebuild 1678 SHA256 029ce0eb285e3412a36dfc287cfd1f6783cb73b9b6e03904bc88fcec22cec221 SHA512 4f5de8e5e1c034cba934df1e488e86933b118d5288ea6a17863d5ef297050dabc5928424746d28096087e8666b617ed99cab4cbcd701924830775cf09b1dd714 WHIRLPOOL 19aaa8ce909c1bea19b87e9e183039de8827dfde8233b93bbea107f730741663be6d474980f3a56d1a3e8f925f447fb25e5977e243b6e579456f74bcb44b0ebc +MISC ChangeLog 3049 SHA256 f7efc3edbfa35641f7c76a5e60e1179b5e869ee9e157c826f1ef08fc13a35f5a SHA512 e68f78bb667d692cc94d8eaf9c79f775ac1ffd0efe2f241c7b3794f14309e2918f38cd200e2021530c2919aae680738f3eef228c43d48b6184bcc6056f735140 WHIRLPOOL 9a239880ec0ef493a860452080e130c52427a8eb9bf7e9d5f1a6e3775167e0547af99f9355ebcb23bbc940a92e8d5f8cd6a9984104b0be057867f4b7dd8fa662 +MISC ChangeLog-2015 15622 SHA256 bd1885fd31b764ea7654ab4941f9f3f6e5e00b73925c0686b5314dbb2c255fc1 SHA512 c9c6a8c41d3916b6ccd79f12e8c17a528c4459388c9b721c3523d8e323552a964c38d0a4e9bc7be465005698fd2c45f477e1f1de8dd46786bbae4f52e4efb702 WHIRLPOOL 82e08d3ef9e5cc888209a03d792502c3819e50eaad930c52f6097d43147fda80b7ebd0b29cc0bf10447a2b52282c691b51d6d64da0938b09dd0f0a65d6ccb582 +MISC metadata.xml 271 SHA256 fb77ec802242340d65f4f1cf61787ffa6fb4d57ed02f61feebeed67d2dfb5467 SHA512 3e98f5382cf789992bdfc0f32e6e36eba31944be654c03f2ed9bd00baf56c8b768c256c4f8778d5775d6df38da4afcf8e32b6e6495a1ecfc8e7982c7c8943b1b WHIRLPOOL d6212acd36a69fee56b014b2e1724369857e776204569ac774915e589fd2242b3cd961226d9f125eed452d6c420468e60f038c9b49d1d2a8827d13766918f872 diff --git a/app-misc/devtodo/devtodo-0.1.20-r3.ebuild b/app-misc/devtodo/devtodo-0.1.20-r3.ebuild new file mode 100644 index 000000000000..41dc7c7ac58b --- /dev/null +++ b/app-misc/devtodo/devtodo-0.1.20-r3.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_AUTORECONF=1 +AUTOTOOLS_IN_SOURCE_BUILD=1 + +inherit autotools-utils bash-completion-r1 eutils flag-o-matic toolchain-funcs + +DESCRIPTION="A nice command line todo list for developers" +HOMEPAGE="http://swapoff.org/DevTodo" +SRC_URI="http://swapoff.org/files/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="" + +RDEPEND=" + >=sys-libs/ncurses-5.2:0= + >=sys-libs/readline-4.1:0=" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS ChangeLog QuickStart README doc/scripts.sh doc/scripts.tcsh doc/todorc.example ) + +PATCHES=( + "${FILESDIR}"/${P}-gentoo.diff + "${FILESDIR}"/${P}-gcc43.patch + "${FILESDIR}"/${P}-bashcom_spaces.patch +) + +src_prepare() { + # fix regex.h issue on case-insensitive file-systems #332235 + sed \ + -e 's/Regex.h/DTRegex.h/' \ + -i util/Lexer.h util/Makefile.{am,in} util/Regex.cc || die + mv util/{,DT}Regex.h || die + + sed \ + -e "/^LIBS/s:$: $($(tc-getPKG_CONFIG) --libs ncursesw):g" \ + -i src/Makefile.am || die + + autotools-utils_src_prepare +} + +src_configure() { + replace-flags -O[23] -O1 + + local myeconfargs=( + --sysconfdir="${EPREFIX}/etc/devtodo" + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + + newbashcomp contrib/${PN}.bash-completion ${PN} + rm contrib/${PN}.bash-completion || die 'rm failed' + + bashcomp_alias devtodo tda tdd tde tdr todo + + dodoc -r contrib +} + +pkg_postinst() { + elog "Because of a conflict with app-misc/tdl, the tdl symbolic link" + elog "and manual page have been removed." +} diff --git a/app-misc/devtodo/files/devtodo-0.1.20-bashcom_spaces.patch b/app-misc/devtodo/files/devtodo-0.1.20-bashcom_spaces.patch new file mode 100644 index 000000000000..8567ab4b0562 --- /dev/null +++ b/app-misc/devtodo/files/devtodo-0.1.20-bashcom_spaces.patch @@ -0,0 +1,32 @@ + contrib/devtodo.bash-completion | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/contrib/devtodo.bash-completion b/contrib/devtodo.bash-completion +index 07139b0..c058dad 100644 +--- a/contrib/devtodo.bash-completion ++++ b/contrib/devtodo.bash-completion +@@ -15,20 +15,20 @@ _devtodo() { + --purge" + + if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then +- COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) ++ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 + fi + + case "${prev}" in + -p|--priority) + COMPREPLY=( $(compgen -W "default veryhigh high medium low verylow" \ +- -- ${cur}) ) ++ -- "${cur}") ) + ;; + --database-loaders) +- COMPREPLY=( $(compgen -W "xml binary" -- ${cur}) ) ++ COMPREPLY=( $(compgen -W "xml binary" -- "${cur}") ) + ;; + -l|--link|--*database) +- COMPREPLY=( $(compgen -f -- ${cur}) ) ++ _filedir + ;; + *) + COMPREPLY=() diff --git a/app-misc/devtodo/files/devtodo-0.1.20-gcc43.patch b/app-misc/devtodo/files/devtodo-0.1.20-gcc43.patch new file mode 100644 index 000000000000..f9f920545805 --- /dev/null +++ b/app-misc/devtodo/files/devtodo-0.1.20-gcc43.patch @@ -0,0 +1,10 @@ +--- devtodo-0.1.20.orig/src/todoterm.cc ++++ devtodo-0.1.20/src/todoterm.cc +@@ -2,6 +2,7 @@ + #include "todoterm.h" + + #ifdef USETERMCAP ++#include <cstdlib> + #include <iostream> + #include <string> + #include <stdexcept> diff --git a/app-misc/devtodo/files/devtodo-0.1.20-gentoo.diff b/app-misc/devtodo/files/devtodo-0.1.20-gentoo.diff new file mode 100644 index 000000000000..05c36a31880c --- /dev/null +++ b/app-misc/devtodo/files/devtodo-0.1.20-gentoo.diff @@ -0,0 +1,85 @@ +--- devtodo-0.1.20.orig/doc/devtodo.1.in 2004-12-17 10:21:09.135350872 -0500 ++++ devtodo-0.1.20/doc/devtodo.1.in 2004-12-17 10:21:34.050210242 -0500 +@@ -20,9 +20,6 @@ + .TP + \fBtdd \fI<indices>\fP\fP + Mark the specified items as being done. +-.TP +-\fBtdl [\-g \fI<index>\fP] \fI<database>\fP\fP +-Link the specified devtodo database into the current one, optionally grafting it as a child of the specified index. + .SH "DESCRIPTION" + .LP + \fBtodo\fP is a program aimed specifically at programmers (but usable by anybody at the terminal) to aid in day\-to\-day development. +@@ -372,6 +369,10 @@ + .TP + \fB~/.todorc\fR + User-specific options are specified in this file. Please refer to the section \fBTODORC\fR for more information. ++.SH "BUGS" ++.LP ++Because of a conflict with app-misc/tdl, the tdl symbolic link and the tdl manual page have been removed. ++See \fIhttp://bugs.gentoo.org/show_bug.cgi?id=55371\fR for more information. + .SH "AUTHORS" + .LP + Alec Thomas \fI<alec@swapoff.org>\fR +--- devtodo-0.1.20.orig/doc/Makefile.am 2004-12-17 10:21:09.135350872 -0500 ++++ devtodo-0.1.20/doc/Makefile.am 2004-12-17 10:21:34.050210242 -0500 +@@ -1,5 +1,5 @@ + man_MANS=devtodo.1 +-manlinks=tda tdr tdd tde tdl todo ++manlinks=tda tdr tdd tde todo + + install-data-local: + mkdir -p $(DESTDIR)$(mandir)/man1 +--- devtodo-0.1.20.orig/src/TodoDB.cc 2004-12-17 10:21:09.136350706 -0500 ++++ devtodo-0.1.20/src/TodoDB.cc 2004-12-17 10:21:34.054209577 -0500 +@@ -949,7 +948,11 @@ + if (out.bad()) + throw exception("couldn't open TODO for generation"); + +- if (titleText != "") wraptext(out, titleText, 0, options.columns); ++ if (titleText != "") { ++ wraptext(out, titleText, 0, options.columns); ++ out << endl << endl; ++ } ++ + if (options.verbose > 1) + cout << "todo: generating using format '" << options.format["verbose-generated"] << "'" << endl; + filterView(); +--- devtodo-0.1.20/contrib/devtodo.bash-completion {cset 9b4d9f02-fdb7-4641-b07f-7359b794d6b0} ++++ devtodo-0.1.20/contrib/devtodo.bash-completion {local clone} +@@ -35,6 +35,6 @@ _devtodo() { + ;; + esac + } +-complete -o filenames -F _devtodo devtodo todo tda tde tdr tdd tdl ++complete -o filenames -F _devtodo devtodo todo tda tde tdr tdd + + # vim: set ft=sh tw=80 sw=4 et : +--- devtodo-0.1.20/src/support.cc {cset 5f5bd9cb-18fb-4046-bff5-4f3dbd781e47} ++++ devtodo-0.1.20/src/support.cc {local clone} +@@ -289,11 +289,10 @@ enum { Help = -100, Remove, Version, Tit + << "Where <arguments> can be any of the following:" << endl; + args.displayHelp(cout, options.columns); + cout << endl +- << "In addition, there are five convenience symlinks. These are 'tda', 'tdr'," << endl +- << "'tdd', 'tde', and 'tdl'. For 'tde', 'tdd' and 'tdr' supply an index to edit," << endl ++ << "In addition, there are four convenience symlinks. These are 'tda', 'tdr'," << endl ++ << "'tdd', and 'tde'. For 'tde', 'tdd' and 'tdr' supply an index to edit," << endl + << "mark done and remove respectively. For 'tda' supply the text of the todo item" << endl +- << "item and optionally the priority. For 'tdl' supply the path to another todo" << endl +- << "file to link in to the current todo file." << endl ++ << "item and optionally the priority." << endl + << "eg. tde 1" << endl; + exit(0); + break; +--- devtodo-0.1.20/src/Makefile.am 2007-09-17 12:12:55.000000000 +0200 ++++ devtodo-0.1.20/src/Makefile.am 2007-09-17 12:13:43.000000000 +0200 +@@ -1,7 +1,7 @@ + bin_PROGRAMS=devtodo + devtodo_SOURCES=Todo.cc Todo.h TodoDB.cc TodoDB.h support.cc support.h \ + main.cc todoterm.cc todoterm.h Loaders.cc Loaders.h todorl.h +-binlinks=tda tdr tdd tdl tde todo ++binlinks=tda tdr tdd tde todo + + devtodo_LDADD=../util/libutil.la + INCLUDES=-I../util diff --git a/app-misc/devtodo/files/devtodo.bash-completion b/app-misc/devtodo/files/devtodo.bash-completion new file mode 100644 index 000000000000..9e2869a9e5d6 --- /dev/null +++ b/app-misc/devtodo/files/devtodo.bash-completion @@ -0,0 +1,43 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# bash command-line completion for devtodo +# Author: Aaron Walker <ka0ttic@gentoo.org> + +_devtodo() { + local cur prev opts + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + opts="-v --verbose -a --add -g --graft -l --link -R --reparent + -p --priority -e --edit --remove -d --done -D --not-done + --global-database -G --global --database -T --TODO -A --all + -f --filter --colour --force-colour --mono --help --version + --title --date-format --format --use-format --sort --paranoid + --database-loaders --backup -s --summary -c --comment --timeout + --purge" + + if [[ "${cur}" == -* || ${COMP_CWORD} -eq 1 ]] ; then + COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) + return 0 + fi + + case "${prev}" in + -p|--priority) + COMPREPLY=( $(compgen -W "default veryhigh high medium low verylow" \ + -- ${cur}) ) + ;; + --database-loaders) + COMPREPLY=( $(compgen -W "xml binary" -- ${cur}) ) + ;; + -l|--link|--*database) + COMPREPLY=( $(compgen -f -- ${cur}) ) + ;; + *) + COMPREPLY=() + ;; + esac +} +complete -o filenames -F _devtodo devtodo todo tda tde tdr tdd + +# vim: set ft=sh tw=80 sw=4 et : diff --git a/app-misc/devtodo/metadata.xml b/app-misc/devtodo/metadata.xml new file mode 100644 index 000000000000..3e927f8d7480 --- /dev/null +++ b/app-misc/devtodo/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>shell-tools@gentoo.org</email> + <name>Gentoo Shell Tools Project</name> + </maintainer> +</pkgmetadata> |