summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-02-01 11:11:36 +0000
committerTim Harder <radhermit@gentoo.org>2011-02-01 11:11:36 +0000
commite122e581e9947e9640f1f2ce34109ae1fe2efc17 (patch)
tree4ae5cb58c7d89895edf5092329c0702b08deb50d /app-misc
parentdont inherit unused eclasses (diff)
downloadhistorical-e122e581e9947e9640f1f2ce34109ae1fe2efc17.tar.gz
historical-e122e581e9947e9640f1f2ce34109ae1fe2efc17.tar.bz2
historical-e122e581e9947e9640f1f2ce34109ae1fe2efc17.zip
Initial import.
Package-Manager: portage-2.2.0_alpha19/cvs/Linux x86_64
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/vittk/ChangeLog11
-rw-r--r--app-misc/vittk/Manifest21
-rw-r--r--app-misc/vittk/files/vittk-1.1.1-configure.patch29
-rw-r--r--app-misc/vittk/files/vittk-1.1.1-dirs.patch66
-rw-r--r--app-misc/vittk/files/vittk-1.1.1-makefile.patch81
-rw-r--r--app-misc/vittk/metadata.xml14
-rw-r--r--app-misc/vittk/vittk-1.1.1.ebuild32
7 files changed, 254 insertions, 0 deletions
diff --git a/app-misc/vittk/ChangeLog b/app-misc/vittk/ChangeLog
new file mode 100644
index 000000000000..20f27d0a52e2
--- /dev/null
+++ b/app-misc/vittk/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-misc/vittk
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/vittk/ChangeLog,v 1.1 2011/02/01 11:11:36 radhermit Exp $
+
+*vittk-1.1.1 (01 Feb 2011)
+
+ 01 Feb 2011; Tim Harder <radhermit@gentoo.org> +vittk-1.1.1.ebuild,
+ +files/vittk-1.1.1-configure.patch, +files/vittk-1.1.1-dirs.patch,
+ +files/vittk-1.1.1-makefile.patch, +metadata.xml:
+ Initial import.
+
diff --git a/app-misc/vittk/Manifest b/app-misc/vittk/Manifest
new file mode 100644
index 000000000000..07a045b0af07
--- /dev/null
+++ b/app-misc/vittk/Manifest
@@ -0,0 +1,21 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX vittk-1.1.1-configure.patch 670 RMD160 c9753f55d85b65cfd14bb743d5d23dc6555f8e87 SHA1 673477f1e819ec8fbad2aa6b10b139227848cd91 SHA256 bf63401e794b318c74335769c42130f03879eaf1c7ab145d32b56b1abd85294d
+AUX vittk-1.1.1-dirs.patch 2540 RMD160 f415d65310fcc9303fb01796f7aa840118a60b74 SHA1 5232e0bad2efc57abb627c6698c79a48b851ba09 SHA256 4f6ff22840e04b6d5b26adcd99187e927af500db34a38a5f01deeaa1d50b9ecc
+AUX vittk-1.1.1-makefile.patch 3181 RMD160 125e3d246bd3d12d6a8b7a2f8956b63a639dd967 SHA1 a8545bf89cd231f6f163904cf5e468cece504e32 SHA256 e78e6d2316777085d0c49db60e1e271e5afa03239b162d2095c7e022881aa052
+DIST vittk-1.1.1.tar.gz 65419 RMD160 e97354b9213ae4ce6f3747c24e4fbea10fec00d6 SHA1 93545d483e6b4363103dbc225e2b08f1b4a8a20e SHA256 f14f0b459c10c1772389fd5bf575b598dddc9c228029829a8fc38767ac9ba4b6
+EBUILD vittk-1.1.1.ebuild 775 RMD160 9a03674a1d0ed7c3143523e864903d095822ec9a SHA1 f55d3c29be2a6ed97abbc04f3233c96b873f2198 SHA256 da7eff45c00d6e608455531c4713be1e755b2e8d9dee7b32a6820b26242ab4ed
+MISC ChangeLog 442 RMD160 c82b37e2e7fe00668b6efed75ec7b671334a5c34 SHA1 28261d0e86ebddb0ddc376ffff236e5992bf6cfe SHA256 9c745d7e89c351f4e830a9f88bcd2e30b8c5f494385cfd85241b9045e55aa617
+MISC metadata.xml 473 RMD160 81744f5ea0b63a94610893e2a04d8d03fb6e75e6 SHA1 132eb12a6951a4b2942dc95c8cafe7260f6285e2 SHA256 72ec0de89f2d725a1a6ecfdf073d64f5ff367cafed1761a1a5b63aed055621c1
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iQEcBAEBAgAGBQJNR+pxAAoJEEqz6FtPBkyjLbgIAIdsUZsHm+s8XJlQaiL3t5T1
+8o6gsIehjyvMGKJAiEKLKJX6379riO29PALEPXdKvra4rJPdQOa395tvvs+ly/2+
+mzpclrhoQIKpld6gbr05+lKZnVANsmQrpYV0JpgzNzqXLrgIN49FBDQnGTMFnFdt
+tsO8Ld6YAmd2Is+Zu0+yAMmYrOmSVSWpkjkBbSFfo+niXZJ9bBOU22A7zOPwNECN
+uQxs6ItiuEnfYKTw1KSPcvVsvlq0zNE4L2xlr/637XQgrhuusLzzrB/8HHOQzsxr
+8Rk/WbS5wAv3jsNTVXe5++iwKp6qkQA6VgjLoaD95tMCfxX9XcexeWa763X+oHY=
+=UAfB
+-----END PGP SIGNATURE-----
diff --git a/app-misc/vittk/files/vittk-1.1.1-configure.patch b/app-misc/vittk/files/vittk-1.1.1-configure.patch
new file mode 100644
index 000000000000..43c5d775f773
--- /dev/null
+++ b/app-misc/vittk/files/vittk-1.1.1-configure.patch
@@ -0,0 +1,29 @@
+--- vittk-1.1.1/configure.in.orig
++++ vittk-1.1.1/configure.in
+@@ -14,11 +14,11 @@
+ fi
+ AC_SUBST(BASH)
+
+-AC_PATH_PROG(WISH, wish, NOT_FOUND)
+-if test "$WISH" = "NOT_FOUND"; then
++AC_PATH_PROG(TCLSH, tclsh, NOT_FOUND)
++if test "$TCLSH" = "NOT_FOUND"; then
+ AC_MSG_ERROR([can not continue: wish not found])
+ fi
+-AC_SUBST(WISH)
++AC_SUBST(TCLSH)
+
+ AC_PATH_PROG(TASK, task, NOT_FOUND)
+ if test "$TASK" = "NOT_FOUND"; then
+@@ -30,11 +30,3 @@
+ AC_SUBST(FONT)
+
+ AC_OUTPUT(vittk vittk.man Makefile)
+-chmod 755 vittk
+-
+-echo creating ./tclIndex
+-echo "auto_mkindex `pwd`; exit" | $WISH
+-
+-echo "./configure is done"
+-echo "now do \"sudo make install\" or \"make install\""
+-
diff --git a/app-misc/vittk/files/vittk-1.1.1-dirs.patch b/app-misc/vittk/files/vittk-1.1.1-dirs.patch
new file mode 100644
index 000000000000..050d1bcded01
--- /dev/null
+++ b/app-misc/vittk/files/vittk-1.1.1-dirs.patch
@@ -0,0 +1,66 @@
+--- vittk-1.1.1.orig/vittk.in
++++ vittk-1.1.1/vittk.in
+@@ -17,7 +17,7 @@
+
+ set font "@FONT@"
+ set system_task_cmd "ls"
+-set system_vittkrc "@prefix@/etc/vittkrc"
++set system_vittkrc "@sysconfdir@/vittkrc"
+ set task "@TASK@"
+ set ver "@VER@"
+
+@@ -28,8 +28,8 @@
+ source ./vars.tcl
+ set auto_path ". $auto_path"
+ } else {
+- source @prefix@/lib/vittk/vars.tcl
+- set auto_path "@prefix@/lib/vittk $auto_path"
++ source @libdir@/vittk/vars.tcl
++ set auto_path "@libdir@/vittk $auto_path"
+ }
+
+ ReadRcs
+--- vittk-1.1.1.orig/vittk.man.in
++++ vittk-1.1.1/vittk.man.in
+@@ -89,13 +89,13 @@
+ in Taskwarrior. At this time, various other parts of the VITtk color
+ scheme can only be changed system-wide by altering the variables in
+ .br
+-@prefix@/lib/vars.tcl.
++@libdir@/vars.tcl.
+ .SH FONTS
+ VITtk requires a fixed-width font for it's columns to align correctly.
+ The default font "TkFixedFont" has been set to ensure this happens. You can
+ use other Xwindows fonts by using the -fn option or your ~/.vittkrc file.
+ Instructions for browsing fixed-width fonts can be found in the
+-/usr/local/share/doc/vittk/Fonts file. If you specify a proportional font
++@docdir@/Fonts file. If you specify a proportional font
+ (you will get a warning message and) the VITtk display will probably look very
+ bad, and if you use the -fn option with the name of a non-existent font then
+ VITtk will default the default tcl/tkfont (e.g. "fixed") without warning.
+@@ -103,20 +103,20 @@
+ fixed-width, so care should be taken to specify an existing font.
+ .SH SETTINGS
+ There are a number of settings which allow you to "remotely control"
+-many aspects of VITtk. Refer to the @prefix@/etc/vittkrc file for more
++many aspects of VITtk. Refer to the @sysconfdir@/vittkrc file for more
+ information. There are also some settings which are hard-coded
+ (e.g. how long feedback messages are displayed.) These could be
+-changed sytem-wide by editing @prefix@/lib/vars.tcl.
++changed sytem-wide by editing @libdir@/vars.tcl.
+ .SH FILES
+-@prefix@/etc/vittkrc - the system-wide VITtk configuration file
++@sysconfdir@/vittkrc - the system-wide VITtk configuration file
+ .br
+ ~/.vittkrc - user VITtk configuration file
+ .br
+ /tmp/vittk-$USER.log - VITtk actions log
+ .br
+-@prefix@/share/doc/vittk/README - quick start and more information
++@docdir@/README - quick start and more information
+ .br
+-@prefix@/share/doc/vittk/Tutorial - a brief VITtk tutoral
++@docdir@/Tutorial - a brief VITtk tutoral
+ .SH CREDITS & COPYRIGHT
+ VITtk was written by Steve Rader (C) 2011.
+
diff --git a/app-misc/vittk/files/vittk-1.1.1-makefile.patch b/app-misc/vittk/files/vittk-1.1.1-makefile.patch
new file mode 100644
index 000000000000..1a7757317938
--- /dev/null
+++ b/app-misc/vittk/files/vittk-1.1.1-makefile.patch
@@ -0,0 +1,81 @@
+--- vittk-1.1.1/Makefile.in.orig
++++ vittk-1.1.1/Makefile.in
+@@ -4,44 +4,44 @@
+
+ INSTALL = ./install-sh
+
+-.PHONY: usage insall autoconf release push dogfood
++.PHONY: usage install autoconf release push dogfood
+
+ usage:
+ @echo "usage: make install"
+
+ install:
+- @if [ ! -d @prefix@/bin ]; then \
+- echo mkdir -p @prefix@/bin ; \
+- mkdir -p @prefix@/bin ; \
++ @if [ ! -d $(DESTDIR)@prefix@/bin ]; then \
++ echo mkdir -p $(DESTDIR)@prefix@/bin ; \
++ mkdir -p $(DESTDIR)@prefix@/bin ; \
+ fi
+- @if [ ! -d @prefix@/share/doc/vittk ]; then \
+- echo mkdir -p @prefix@/share/doc/vittk ; \
+- mkdir -p @prefix@/share/doc/vittk ; \
++ @if [ ! -d $(DESTDIR)@docdir@ ]; then \
++ echo mkdir -p $(DESTDIR)@docdir@ ; \
++ mkdir -p $(DESTDIR)@docdir@ ; \
+ fi
+- @echo installing documentation in @prefix@/share/doc/vittk
+- @$(INSTALL) -c -m 644 Caveats @prefix@/share/doc/vittk/Caveats
+- @$(INSTALL) -c -m 644 Fonts @prefix@/share/doc/vittk/Fonts
+- @$(INSTALL) -c -m 644 README @prefix@/share/doc/vittk/README
+- @$(INSTALL) -c -m 644 Tutorial @prefix@/share/doc/vittk/Tutorial
+- @$(INSTALL) -c -m 644 WhatsNew @prefix@/share/doc/vittk/WhatsNew
+- @echo installing man page in @prefix@/man/man1
+- @if [ ! -d @prefix@/man/man1 ]; then \
+- echo mkdir -p @prefix@/man/man1 ; \
+- mkdir -p @prefix@/man/man1 ; \
++ @echo installing documentation in $(DESTDIR)@docdir@
++ @$(INSTALL) -c -m 644 Caveats $(DESTDIR)@docdir@/Caveats
++ @$(INSTALL) -c -m 644 Fonts $(DESTDIR)@docdir@/Fonts
++ @$(INSTALL) -c -m 644 README $(DESTDIR)@docdir@/README
++ @$(INSTALL) -c -m 644 Tutorial $(DESTDIR)@docdir@/Tutorial
++ @$(INSTALL) -c -m 644 WhatsNew $(DESTDIR)@docdir@/WhatsNew
++ @echo installing man page in $(DESTDIR)@mandir@/man1
++ @if [ ! -d $(DESTDIR)@mandir@/man1 ]; then \
++ echo mkdir -p $(DESTDIR)@mandir@/man1 ; \
++ mkdir -p $(DESTDIR)@mandir@/man1 ; \
+ fi
+- @$(INSTALL) -c -m 644 vittk.man @prefix@/man/man1/vittk.1
+- @echo installing vittkrc in @prefix@/etc
+- @$(INSTALL) -c -m 644 vittkrc @prefix@/etc/vittkrc
+- @if [ ! -d @prefix@/lib/vittk ]; then \
+- echo mkdir -p @prefix@/lib/vittk ; \
+- mkdir -p @prefix@/lib/vittk ; \
++ @$(INSTALL) -c -m 644 vittk.man $(DESTDIR)@mandir@/man1/vittk.1
++ @echo installing vittkrc in $(DESTDIR)@sysconfdir@
++ @$(INSTALL) -c -m 644 vittkrc $(DESTDIR)@sysconfdir@/vittkrc
++ @if [ ! -d $(DESTDIR)@libdir@/vittk ]; then \
++ echo mkdir -p $(DESTDIR)@libdir@/vittk ; \
++ mkdir -p $(DESTDIR)@libdir@/vittk ; \
+ fi
+- @echo installing .tcl files in @prefix@/lib/vittk
+- @cp *.tcl @prefix@/lib/vittk
+- @echo creating @prefix@/lib/vittk/tclIndex
+- @(cd @prefix@/lib/vittk; echo "auto_mkindex `pwd`; exit" | @WISH@)
+- @echo installing vittk in @prefix@/bin
+- @$(INSTALL) -c -m 755 vittk @prefix@/bin/vittk
++ @echo installing .tcl files in $(DESTDIR)@libdir@/vittk
++ @cp *.tcl $(DESTDIR)@libdir@/vittk
++ @echo creating $(DESTDIR)@libdir@/vittk/tclIndex
++ @(cd $(DESTDIR)@libdir@/vittk; echo "auto_mkindex `pwd`; exit" | @TCLSH@)
++ @echo installing vittk in $(DESTDIR)@prefix@/bin
++ @$(INSTALL) -c -m 755 vittk $(DESTDIR)@prefix@/bin/vittk
+
+ autoconf:
+ @make -f .makefile autoconf
+@@ -54,3 +54,4 @@
+ dogfood:
+ @make -f .makefile dogfood
+
++check:
diff --git a/app-misc/vittk/metadata.xml b/app-misc/vittk/metadata.xml
new file mode 100644
index 000000000000..fa1550b1916b
--- /dev/null
+++ b/app-misc/vittk/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+</maintainer>
+<longdescription lang="en">
+ A comprehensive front end for Taskwarrior (<pkg>app-misc/task</pkg>) that
+ provides a fullscreen emulated terminal window with modes and commands
+ modeled after the vi editor.
+</longdescription>
+</pkgmetadata>
diff --git a/app-misc/vittk/vittk-1.1.1.ebuild b/app-misc/vittk/vittk-1.1.1.ebuild
new file mode 100644
index 000000000000..5e1a4260c898
--- /dev/null
+++ b/app-misc/vittk/vittk-1.1.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/vittk/vittk-1.1.1.ebuild,v 1.1 2011/02/01 11:11:36 radhermit Exp $
+
+EAPI=4
+
+inherit eutils autotools
+
+DESCRIPTION="A front end for Taskwarrior (app-misc/task)"
+HOMEPAGE="http://taskwarrior.org/wiki/taskwarrior/Vittk"
+SRC_URI="http://taskwarrior.org/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-lang/tcl
+ dev-lang/tk"
+RDEPEND="${DEPEND}
+ app-misc/task"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-configure.patch
+ epatch "${FILESDIR}"/${P}-makefile.patch
+ epatch "${FILESDIR}"/${P}-dirs.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf --docdir="${EPREFIX}"/usr/share/doc/${PF}
+}