summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-08-03 17:18:56 +0000
committerTim Harder <radhermit@gentoo.org>2011-08-03 17:18:56 +0000
commit29b0bbe9e048cdc9082dbda9faf3b6754be09bf5 (patch)
treeb2481a6f04da41b7bbeeb21fee9c914335db6394 /app-misc/task
parentapp-portage/elogv: Bump to 0.7.5 (bug #317361) (diff)
downloadhistorical-29b0bbe9e048cdc9082dbda9faf3b6754be09bf5.tar.gz
historical-29b0bbe9e048cdc9082dbda9faf3b6754be09bf5.tar.bz2
historical-29b0bbe9e048cdc9082dbda9faf3b6754be09bf5.zip
Revision bump and remove old. Apply upstream patch to fix ssh syncing issue (bug #377451).
Package-Manager: portage-2.2.0_alpha47/cvs/Linux x86_64
Diffstat (limited to 'app-misc/task')
-rw-r--r--app-misc/task/ChangeLog10
-rw-r--r--app-misc/task/Manifest19
-rw-r--r--app-misc/task/files/0001-Merge-Uri-support.patch28
-rw-r--r--app-misc/task/files/task-1.9.2-configure.patch79
-rw-r--r--app-misc/task/task-1.9.3-r1.ebuild62
-rw-r--r--app-misc/task/task-1.9.4-r1.ebuild66
6 files changed, 114 insertions, 150 deletions
diff --git a/app-misc/task/ChangeLog b/app-misc/task/ChangeLog
index 5c7242773f83..5090dd41d6c7 100644
--- a/app-misc/task/ChangeLog
+++ b/app-misc/task/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-misc/task
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/task/ChangeLog,v 1.16 2011/06/14 19:29:57 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/task/ChangeLog,v 1.17 2011/08/03 17:18:56 radhermit Exp $
+
+*task-1.9.4-r1 (03 Aug 2011)
+
+ 03 Aug 2011; Tim Harder <radhermit@gentoo.org>
+ +files/0001-Merge-Uri-support.patch, -files/task-1.9.2-configure.patch,
+ -task-1.9.3-r1.ebuild, +task-1.9.4-r1.ebuild:
+ Revision bump and remove old. Apply upstream patch to fix ssh syncing issue
+ (bug #377451).
14 Jun 2011; Markus Meier <maekke@gentoo.org> task-1.9.4.ebuild:
x86 stable, bug #370431
diff --git a/app-misc/task/Manifest b/app-misc/task/Manifest
index 030cea7f5703..7a6ce3ec21bd 100644
--- a/app-misc/task/Manifest
+++ b/app-misc/task/Manifest
@@ -1,20 +1,23 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA512
-AUX task-1.9.2-configure.patch 2396 RMD160 b9baa279b777bb8dab9c3eb1324a81b2478d63eb SHA1 49e843a16eb3d51123be5e966703e9bdd0add9bd SHA256 fde3e622da34a58319e822f5ab845c79d46be6827c7a2d9cfc0b356af4372538
+AUX 0001-Merge-Uri-support.patch 778 RMD160 31a236a04afd5741305d826fa7a95800f9a3fe21 SHA1 db4c81a13f7ff07d304b5f73aa2cb8d67a5fa729 SHA256 ca9a0637756f0e4c9137a7f25edf28190265cc2c31e296977071f6f578add79c
AUX task-1.9.4-lua-automagic.patch 907 RMD160 4898aede6ad624eaaa2cf1268c100333b4518b67 SHA1 97bddfe68524fe11a0b7535ab814aaa96f15c834 SHA256 8e42b81c13030fb40342e127906ea528265bde9da61d7a48b67de56ef115f7cd
AUX task-1.9.4-rcdir.patch 1585 RMD160 d7b50c3485e45cd628f38176eadc3a1984f9899c SHA1 163b9df7428b3422657f52dea84938898bab36b5 SHA256 e49f6a0a1ee5fd71a2bb0b3650f4196bd172128751fee7f2a00c32cbef5dde02
AUX task-1.9.4-remove-ncurses.patch 701 RMD160 37ed0ee3e9997d5f9fda441626b78e77577ff01b SHA1 03be8ea636fd92db6dd2c4edffc7491de605bc3f SHA256 196c93c304077aac9e0be4644e29c3ae0c01b7a3b7eb9aec96d1f1e60c658d57
-DIST task-1.9.3.tar.gz 314687 RMD160 4d7b838c483b7776cb91c4c121907c58d958e0f7 SHA1 997aeb6bee5785b2148ad8fb665551d320114cea SHA256 66f3a85475984a54a457d2aefefb0896710cd656853fc3fc46455753958dbeca
DIST task-1.9.4.tar.gz 479079 RMD160 4f17bfd08d94fc2c9c2da74a2fe0a7322d15623d SHA1 b9bae255f4fa03970eced3ac0876935271d1d7a1 SHA256 1020621c9bf885c3216a5c11cacced3c916b6495e0d09846b7438a152618d34a
-EBUILD task-1.9.3-r1.ebuild 1670 RMD160 6024fc1d78ffcd407a240408da88cdf004c70438 SHA1 1f8b839418e6efe56241370cf3ff8d38c8a3c2ad SHA256 b13c006cc4a63570f30ac07a41fa44c959d3ddc28c0cd2beb4dca4a3ed7d7e8c
+EBUILD task-1.9.4-r1.ebuild 1711 RMD160 3f87991713d26c1ed662099384dd030f8f9fc0d7 SHA1 0ce7a24461570644ee70efef32af3a020c3fc6c8 SHA256 f561054df06d0b6e4931d263a1bbcc746eadea078f108164fa85e940bf6ae231
EBUILD task-1.9.4.ebuild 1656 RMD160 4106bb57c48074c8cf00f880cfa8ca142f7730b3 SHA1 db302b79cdcafe515214a22b70883127cec0ef23 SHA256 8f77a90bc9dc8f79e87ebd95b8cc269ae8b2204fbec7d966a07e6836bbcaf290
-MISC ChangeLog 2786 RMD160 a2a703654dd82f8ec35f9209f173fd6175c2443d SHA1 c5f609ab29cac63d740c624b4bd9658fbab3607e SHA256 97f1a6708af34f275d977b4816cdc003e5be1120699ee7de762aa4835292c4b1
+MISC ChangeLog 3086 RMD160 30abcf8118e83c4da5c5d3ab0b8b3afcbbb51132 SHA1 79420697706dc96ed1e119975a490afd774fcd44 SHA256 173f06b953829abdfe86cb78e07f4ad1581503233c3b752fc9efb00d51541d3c
MISC metadata.xml 249 RMD160 a5babf138125425341877a815124eb64b960822d SHA1 d8d6a882d321d9f63e39129680cf4e6ce6dd5b6d SHA256 3ff4375deaa1a580af26f45c44db59c83418083f469e1c94a3e21a72d5001347
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk33ts0ACgkQkKaRLQcq0GKVYgCgpKhrtaiwsdgG9pZq4wCqSSX/
-aH4AnAnqixxr/R9GIBesoMmy48nG1v4l
-=WN5o
+iQEcBAEBCgAGBQJOOYMJAAoJEEqz6FtPBkyjbPIH/iiSzhsP7vLW3JzXVvXQc033
+PGRhj+0KzIlvBPJ2W9KS0oE8+RCMFFL80Tvwsc8G99UZV/fetiqCnUjlj+ZMo551
+w2p6W9oNLyvLok0ZG7beKN1WJJ5Y6oE2x9mbrLD0ANsVKhyqPFqpQf41/nK0Izk8
+p/bZXbAp0f9KKOGp7MaFdEbFrmZ0Bx4OfSEtxP6kyMX5AYRZjbb5PD1331mdM5EA
+lwCzQWjjufAj5R/BcyG0RoMaW9+zf0an4EOWoM5ErnrlO5ouzkQbRoiK9xsoLnXL
+qzzSTf5T6kJKgYxJgFjzXyMMJgUOftDnrKUgQvHn9o1UQmiI3lszOsdP/d3gHps=
+=L2uJ
-----END PGP SIGNATURE-----
diff --git a/app-misc/task/files/0001-Merge-Uri-support.patch b/app-misc/task/files/0001-Merge-Uri-support.patch
new file mode 100644
index 000000000000..8e3d68529ed5
--- /dev/null
+++ b/app-misc/task/files/0001-Merge-Uri-support.patch
@@ -0,0 +1,28 @@
+From 13f456a5763cd6f5f95b661c3034ddd844feb088 Mon Sep 17 00:00:00 2001
+Message-Id: <13f456a5763cd6f5f95b661c3034ddd844feb088.1299803526.git.johannes@schlatow.name>
+From: Johannes Schlatow <johannes@schlatow.name>
+Date: Fri, 11 Mar 2011 00:54:43 +0100
+Subject: [PATCH] Merge/Uri support
+
+- fixed autopush bug where e.g. 'ssh://' was omitted
+ (Uri::parse() was wrongly modifying the data member)
+---
+ src/Uri.cpp | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/Uri.cpp b/src/Uri.cpp
+index 6695b94..36791ff 100644
+--- a/src/Uri.cpp
++++ b/src/Uri.cpp
+@@ -198,7 +198,7 @@ void Uri::parse ()
+ }
+
+ std::string::size_type pos;
+- std::string uripart;
++ std::string data = this->data;
+ std::string pathDelimiter = "/";
+
+ user = "";
+--
+1.7.4.1
+
diff --git a/app-misc/task/files/task-1.9.2-configure.patch b/app-misc/task/files/task-1.9.2-configure.patch
deleted file mode 100644
index 1a19c933956a..000000000000
--- a/app-misc/task/files/task-1.9.2-configure.patch
+++ /dev/null
@@ -1,79 +0,0 @@
---- task-1.9.3/configure.ac.orig 2010-11-20 12:50:26.249141946 -0800
-+++ task-1.9.3/configure.ac 2010-11-20 12:51:13.939550053 -0800
-@@ -29,8 +29,8 @@
- CXXFLAGS="$CXXFLAGS -Wall -pedantic -ggdb3 -DDEBUG"
- AC_MSG_RESULT(yes)
- else
-- CFLAGS="$CFLAGS -Wall -pedantic -O3"
-- CXXFLAGS="$CXXFLAGS -Wall -pedantic -O3"
-+ CFLAGS="$CFLAGS -Wall -pedantic"
-+ CXXFLAGS="$CXXFLAGS -Wall -pedantic"
- AC_MSG_RESULT(no)
- fi
-
-@@ -66,31 +66,10 @@
-
- # ncurses enabled by default.
- AC_ARG_WITH([ncurses],
-- [AS_HELP_STRING([--without-ncurses], [disable support for ncurses])],
-- [with_ncurses=no],
-- [with_ncurses=yes])
--
--AC_ARG_WITH([ncurses-inc],
-- [AS_HELP_STRING ([--with-ncurses-inc=DIR], [ncurses include files are in DIR])],
-- [ncurses_inc=$withval],
-- [ncurses_inc=''])
--
--AC_ARG_WITH([ncurses-lib],
-- [AS_HELP_STRING ([--with-ncurses-lib=DIR], [ncurses lib files are in DIR])],
-- [ncurses_lib=$withval],
-- [ncurses_lib=''])
-+ AS_HELP_STRING([--without-ncurses], [disable support for ncurses]))
-
- if test "x$with_ncurses" = "xyes" ; then
- AC_DEFINE([HAVE_LIBNCURSES], [1], [Defined if you have libncurses])
-- if test -n "$ncurses_inc"; then
-- CFLAGS="$CFLAGS -I$ncurses_inc"
-- CXXFLAGS="$CXXFLAGS -I$ncurses_inc"
-- fi
--
-- if test -n "$ncurses_lib"; then
-- LDFLAGS="$LDFLAGS -L$ncurses_lib"
-- fi
--
- AC_CHECK_LIB([ncurses],[main])
- fi
-
-@@ -128,31 +107,10 @@
-
- # Lua disabled by default.
- AC_ARG_WITH([lua],
-- [AS_HELP_STRING([--with-lua], [enable support for lua])],
-- [with_lua=yes],
-- [with_lua=no])
--
--AC_ARG_WITH([lua-inc],
-- [AS_HELP_STRING ([--with-lua-inc=DIR], [lua include files are in DIR])],
-- [lua_inc=$withval],
-- [lua_inc=''])
--
--AC_ARG_WITH([lua-lib],
-- [AS_HELP_STRING ([--with-lua-lib=DIR], [lua lib files are in DIR])],
-- [lua_lib=$withval],
-- [lua_lib=''])
-+ AS_HELP_STRING([--with-lua], [enable support for lua]))
-
- if test "x$with_lua" = "xyes" ; then
- AC_DEFINE([HAVE_LIBLUA], [1], [Defined if you have liblua])
-- if test -n "$lua_inc"; then
-- CFLAGS="$CFLAGS -I$lua_inc"
-- CXXFLAGS="$CXXFLAGS -I$lua_inc"
-- fi
--
-- if test -n "$lua_lib"; then
-- LDFLAGS="$LDFLAGS -L$lua_lib"
-- fi
--
- AC_CHECK_LIB([lua],[main])
- fi
-
diff --git a/app-misc/task/task-1.9.3-r1.ebuild b/app-misc/task/task-1.9.3-r1.ebuild
deleted file mode 100644
index f2bfe0e30d30..000000000000
--- a/app-misc/task/task-1.9.3-r1.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/task/task-1.9.3-r1.ebuild,v 1.3 2011/02/11 00:06:38 hwoarang Exp $
-
-EAPI=3
-
-inherit eutils autotools
-
-DESCRIPTION="A task management tool with a command-line interface"
-HOMEPAGE="http://taskwarrior.org/projects/show/taskwarrior/"
-SRC_URI="http://taskwarrior.org/download/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="bash-completion debug lua +ncurses vim-syntax zsh-completion"
-
-DEPEND="lua? ( dev-lang/lua )
- ncurses? ( sys-libs/ncurses )"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-1.9.2-configure.patch
-
- # Use the correct directory locations
- sed -i -e "s:/usr/local/share/doc/task/rc:/usr/share/task/rc:" src/Config.cpp \
- doc/man/taskrc.5 doc/man/task-tutorial.5 doc/man/task-color.5 || die "sed failed"
- sed -i -e "s:/usr/local/bin:/usr/bin:" doc/man/task-faq.5 || die "sed failed"
-
- eautoreconf
-}
-
-src_configure() {
- econf \
- --disable-dependency-tracking \
- --docdir="/usr/share/doc/${PF}" \
- $(use_enable debug ) \
- $(use_with lua) \
- $(use_with ncurses)
-}
-
-src_install() {
- emake DESTDIR="${D}" rcfiledir="/usr/share/task/rc" i18ndir="/usr/share/task" \
- bashscriptsdir="" vimscriptsdir="" zshscriptsdir="" \
- install || die "emake install failed"
-
- if use bash-completion ; then
- insinto /usr/share/bash-completion
- doins scripts/bash/*
- fi
-
- if use vim-syntax ; then
- rm scripts/vim/README
- insinto /usr/share/vim/vimfiles
- doins -r scripts/vim/*
- fi
-
- if use zsh-completion ; then
- insinto /usr/share/zsh/site-functions
- doins scripts/zsh/*
- fi
-}
diff --git a/app-misc/task/task-1.9.4-r1.ebuild b/app-misc/task/task-1.9.4-r1.ebuild
new file mode 100644
index 000000000000..8be791658208
--- /dev/null
+++ b/app-misc/task/task-1.9.4-r1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/task/task-1.9.4-r1.ebuild,v 1.1 2011/08/03 17:18:56 radhermit Exp $
+
+EAPI=4
+
+inherit eutils cmake-utils
+
+DESCRIPTION="A task management tool with a command-line interface"
+HOMEPAGE="http://taskwarrior.org/projects/show/taskwarrior/"
+SRC_URI="http://taskwarrior.org/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bash-completion lua vim-syntax zsh-completion"
+
+DEPEND="lua? ( dev-lang/lua )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # Use the correct directory locations
+ sed -i -e "s:/usr/local/share/doc/task/rc:/usr/share/task/rc:" src/Config.cpp \
+ doc/man/taskrc.5.in doc/man/task-tutorial.5.in doc/man/task-color.5.in
+ sed -i -e "s:/usr/local/bin:/usr/bin:" doc/man/task-faq.5.in scripts/add-ons/*
+
+ # Don't automatically install scripts
+ sed -i -e '/scripts/d' CMakeLists.txt
+
+ epatch "${FILESDIR}"/${P}-rcdir.patch \
+ "${FILESDIR}"/${P}-lua-automagic.patch \
+ "${FILESDIR}"/${P}-remove-ncurses.patch \
+ "${FILESDIR}"/0001-Merge-Uri-support.patch
+}
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_enable lua LUA)
+ -DTASK_DOCDIR=/usr/share/doc/${PF}
+ )
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ if use bash-completion ; then
+ insinto /usr/share/bash-completion
+ newins scripts/bash/task_completion.sh task
+ fi
+
+ if use vim-syntax ; then
+ rm scripts/vim/README
+ insinto /usr/share/vim/vimfiles
+ doins -r scripts/vim/*
+ fi
+
+ if use zsh-completion ; then
+ insinto /usr/share/zsh/site-functions
+ doins scripts/zsh/*
+ fi
+
+ exeinto /usr/share/${PN}/scripts
+ doexe scripts/add-ons/*
+}